be-components 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/ApiOverrides/index.js +18 -0
- package/lib/commonjs/ApiOverrides/index.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +113 -0
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -0
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +238 -71
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/commonjs/Authenticator/index.js +7 -4
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/Checkout/api/index.js.map +1 -1
- package/lib/commonjs/Checkout/index.js.map +1 -1
- package/lib/commonjs/Competition/api/index.js +655 -0
- package/lib/commonjs/Competition/api/index.js.map +1 -0
- package/lib/commonjs/Competition/components/AthleteMarketCard.js +168 -0
- package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionCard.js +180 -0
- package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +264 -0
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +281 -0
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionPlay.js +1269 -0
- package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +111 -0
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionSelector.js +122 -0
- package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js +380 -0
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -0
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +237 -0
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -0
- package/lib/commonjs/Competition/components/LeaderPicks.js +322 -0
- package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -0
- package/lib/commonjs/Competition/components/ManageSeasonForm.js +605 -0
- package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +1 -0
- package/lib/commonjs/Competition/components/MarketsCard.js +148 -0
- package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -0
- package/lib/commonjs/Competition/components/MatchMarketCard.js +199 -0
- package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -0
- package/lib/commonjs/Competition/components/NavOutPrompt.js +159 -0
- package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -0
- package/lib/commonjs/Competition/components/SeasonInfoModal.js +400 -0
- package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +1 -0
- package/lib/commonjs/Competition/components/TeamEventCard.js +217 -0
- package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -0
- package/lib/commonjs/Competition/components/WagerPickForm.js +278 -0
- package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -0
- package/lib/commonjs/Competition/index.js +42 -0
- package/lib/commonjs/Competition/index.js.map +1 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/Jerseys.js +713 -0
- package/lib/commonjs/Components/Jerseys.js.map +1 -0
- package/lib/commonjs/Components/LinearDiagnal.js +1 -1
- package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
- package/lib/commonjs/Components/Switch.js +81 -0
- package/lib/commonjs/Components/Switch.js.map +1 -0
- package/lib/commonjs/Components/index.js +14 -0
- package/lib/commonjs/Components/index.js.map +1 -1
- package/lib/commonjs/Poll/api/index.js +277 -0
- package/lib/commonjs/Poll/api/index.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignPlay.js +553 -0
- package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignProgressBar.js +118 -0
- package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignResult.js +382 -0
- package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignSelector.js +124 -0
- package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -0
- package/lib/commonjs/Poll/components/PollCampaignCard.js +66 -0
- package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollCard.js +480 -0
- package/lib/commonjs/Poll/components/PollCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollOptionCard.js +158 -0
- package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollSelectCard.js +189 -0
- package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -0
- package/lib/commonjs/Poll/components/ResponseTimer.js +48 -0
- package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -0
- package/lib/commonjs/Poll/components/WidgetHeader.js +83 -0
- package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -0
- package/lib/commonjs/Poll/flashmarket/index.js +354 -0
- package/lib/commonjs/Poll/flashmarket/index.js.map +1 -0
- package/lib/commonjs/Poll/index.js +46 -0
- package/lib/commonjs/Poll/index.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +3 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +5 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/index.js +2 -0
- package/lib/commonjs/ProfileManager/index.js.map +1 -1
- package/lib/commonjs/Wallet/api/index.js +4 -1
- package/lib/commonjs/Wallet/api/index.js.map +1 -1
- package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/commonjs/Wallet/index.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +18 -0
- package/lib/module/ApiOverrides/index.js.map +1 -1
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +106 -0
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -0
- package/lib/module/Authenticator/Components/StrategyForm.js +239 -72
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/module/Authenticator/index.js +7 -4
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/Checkout/api/index.js.map +1 -1
- package/lib/module/Checkout/index.js.map +1 -1
- package/lib/module/Competition/api/index.js +649 -0
- package/lib/module/Competition/api/index.js.map +1 -0
- package/lib/module/Competition/components/AthleteMarketCard.js +161 -0
- package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionCard.js +173 -0
- package/lib/module/Competition/components/CompetitionCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionInfoCard.js +257 -0
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionLeaderboard.js +272 -0
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionPlay.js +1260 -0
- package/lib/module/Competition/components/CompetitionPlay.js.map +1 -0
- package/lib/module/Competition/components/CompetitionSeasonCard.js +104 -0
- package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionSelector.js +113 -0
- package/lib/module/Competition/components/CompetitionSelector.js.map +1 -0
- package/lib/module/Competition/components/CompetitionTypeCard.js +371 -0
- package/lib/module/Competition/components/CompetitionTypeCard.js.map +1 -0
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +228 -0
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -0
- package/lib/module/Competition/components/LeaderPicks.js +313 -0
- package/lib/module/Competition/components/LeaderPicks.js.map +1 -0
- package/lib/module/Competition/components/ManageSeasonForm.js +596 -0
- package/lib/module/Competition/components/ManageSeasonForm.js.map +1 -0
- package/lib/module/Competition/components/MarketsCard.js +139 -0
- package/lib/module/Competition/components/MarketsCard.js.map +1 -0
- package/lib/module/Competition/components/MatchMarketCard.js +192 -0
- package/lib/module/Competition/components/MatchMarketCard.js.map +1 -0
- package/lib/module/Competition/components/NavOutPrompt.js +152 -0
- package/lib/module/Competition/components/NavOutPrompt.js.map +1 -0
- package/lib/module/Competition/components/SeasonInfoModal.js +391 -0
- package/lib/module/Competition/components/SeasonInfoModal.js.map +1 -0
- package/lib/module/Competition/components/TeamEventCard.js +210 -0
- package/lib/module/Competition/components/TeamEventCard.js.map +1 -0
- package/lib/module/Competition/components/WagerPickForm.js +269 -0
- package/lib/module/Competition/components/WagerPickForm.js.map +1 -0
- package/lib/module/Competition/index.js +33 -0
- package/lib/module/Competition/index.js.map +1 -0
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/Jerseys.js +705 -0
- package/lib/module/Components/Jerseys.js.map +1 -0
- package/lib/module/Components/LinearDiagnal.js +2 -3
- package/lib/module/Components/LinearDiagnal.js.map +1 -1
- package/lib/module/Components/Switch.js +74 -0
- package/lib/module/Components/Switch.js.map +1 -0
- package/lib/module/Components/index.js +3 -1
- package/lib/module/Components/index.js.map +1 -1
- package/lib/module/Poll/api/index.js +271 -0
- package/lib/module/Poll/api/index.js.map +1 -0
- package/lib/module/Poll/components/CampaignPlay.js +545 -0
- package/lib/module/Poll/components/CampaignPlay.js.map +1 -0
- package/lib/module/Poll/components/CampaignProgressBar.js +110 -0
- package/lib/module/Poll/components/CampaignProgressBar.js.map +1 -0
- package/lib/module/Poll/components/CampaignResult.js +374 -0
- package/lib/module/Poll/components/CampaignResult.js.map +1 -0
- package/lib/module/Poll/components/CampaignSelector.js +115 -0
- package/lib/module/Poll/components/CampaignSelector.js.map +1 -0
- package/lib/module/Poll/components/PollCampaignCard.js +59 -0
- package/lib/module/Poll/components/PollCampaignCard.js.map +1 -0
- package/lib/module/Poll/components/PollCard.js +472 -0
- package/lib/module/Poll/components/PollCard.js.map +1 -0
- package/lib/module/Poll/components/PollOptionCard.js +149 -0
- package/lib/module/Poll/components/PollOptionCard.js.map +1 -0
- package/lib/module/Poll/components/PollSelectCard.js +182 -0
- package/lib/module/Poll/components/PollSelectCard.js.map +1 -0
- package/lib/module/Poll/components/ResponseTimer.js +39 -0
- package/lib/module/Poll/components/ResponseTimer.js.map +1 -0
- package/lib/module/Poll/components/WidgetHeader.js +76 -0
- package/lib/module/Poll/components/WidgetHeader.js.map +1 -0
- package/lib/module/Poll/flashmarket/index.js +345 -0
- package/lib/module/Poll/flashmarket/index.js.map +1 -0
- package/lib/module/Poll/index.js +37 -0
- package/lib/module/Poll/index.js.map +1 -0
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js +3 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js +5 -0
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/index.js +2 -0
- package/lib/module/ProfileManager/index.js.map +1 -1
- package/lib/module/Wallet/api/index.js +4 -1
- package/lib/module/Wallet/api/index.js.map +1 -1
- package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/module/Wallet/components/AddressManager.js.map +1 -1
- package/lib/module/Wallet/components/DepositCard.js.map +1 -1
- package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/module/Wallet/components/MyBalance.js.map +1 -1
- package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/module/Wallet/index.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts +1 -0
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts +11 -0
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +4 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/api/index.d.ts +2 -2
- package/lib/typescript/src/Authenticator/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/index.d.ts +2 -1
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/api/index.d.ts +1 -2
- package/lib/typescript/src/Checkout/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/api/index.d.ts +128 -0
- package/lib/typescript/src/Competition/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts +19 -0
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts +12 -0
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts +16 -0
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +14 -0
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts +20 -0
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts +10 -0
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts +11 -0
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts +14 -0
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts +16 -0
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +22 -0
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +10 -0
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts +15 -0
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts +21 -0
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts +23 -0
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +14 -0
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts +17 -0
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +15 -0
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -0
- package/lib/typescript/src/Competition/index.d.ts +11 -0
- package/lib/typescript/src/Competition/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/Jerseys.d.ts +16 -0
- package/lib/typescript/src/Components/Jerseys.d.ts.map +1 -0
- package/lib/typescript/src/Components/LinearDiagnal.d.ts.map +1 -1
- package/lib/typescript/src/Components/Switch.d.ts +9 -0
- package/lib/typescript/src/Components/Switch.d.ts.map +1 -0
- package/lib/typescript/src/Components/index.d.ts +3 -1
- package/lib/typescript/src/Components/index.d.ts.map +1 -1
- package/lib/typescript/src/Poll/api/index.d.ts +65 -0
- package/lib/typescript/src/Poll/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts +14 -0
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts +12 -0
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts +13 -0
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts +9 -0
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts +10 -0
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollCard.d.ts +16 -0
- package/lib/typescript/src/Poll/components/PollCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts +14 -0
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts +16 -0
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts +9 -0
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts +13 -0
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts.map +1 -0
- package/lib/typescript/src/Poll/flashmarket/index.d.ts +10 -0
- package/lib/typescript/src/Poll/flashmarket/index.d.ts.map +1 -0
- package/lib/typescript/src/Poll/index.d.ts +13 -0
- package/lib/typescript/src/Poll/index.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +9 -2
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts +10 -3
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts +2 -2
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/api/index.d.ts +2 -2
- package/lib/typescript/src/ProfileManager/api/index.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/index.d.ts +9 -2
- package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/api/index.d.ts +2 -3
- package/lib/typescript/src/Wallet/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/index.d.ts +1 -2
- package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ApiOverrides/index.ts +19 -0
- package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +72 -0
- package/src/Authenticator/Components/StrategyForm.tsx +208 -53
- package/src/Authenticator/api/index.ts +2 -2
- package/src/Authenticator/api/types.d.ts +3 -26
- package/src/Authenticator/index.tsx +10 -4
- package/src/Checkout/api/index.tsx +1 -2
- package/src/Checkout/index.tsx +1 -2
- package/src/Competition/api/index.ts +568 -0
- package/src/Competition/components/AthleteMarketCard.tsx +116 -0
- package/src/Competition/components/CompetitionCard.tsx +82 -0
- package/src/Competition/components/CompetitionInfoCard.tsx +149 -0
- package/src/Competition/components/CompetitionLeaderboard.tsx +183 -0
- package/src/Competition/components/CompetitionPlay.tsx +936 -0
- package/src/Competition/components/CompetitionSeasonCard.tsx +48 -0
- package/src/Competition/components/CompetitionSelector.tsx +91 -0
- package/src/Competition/components/CompetitionTypeCard.tsx +211 -0
- package/src/Competition/components/EnterCompetitionPrompt.tsx +127 -0
- package/src/Competition/components/LeaderPicks.tsx +214 -0
- package/src/Competition/components/ManageSeasonForm.tsx +271 -0
- package/src/Competition/components/MarketsCard.tsx +108 -0
- package/src/Competition/components/MatchMarketCard.tsx +126 -0
- package/src/Competition/components/NavOutPrompt.tsx +87 -0
- package/src/Competition/components/SeasonInfoModal.tsx +212 -0
- package/src/Competition/components/TeamEventCard.tsx +136 -0
- package/src/Competition/components/WagerPickForm.tsx +114 -0
- package/src/Competition/index.tsx +36 -0
- package/src/Components/Icons.tsx +0 -2
- package/src/Components/Jerseys.tsx +268 -0
- package/src/Components/LinearDiagnal.tsx +2 -3
- package/src/Components/Switch.tsx +55 -0
- package/src/Components/index.tsx +5 -1
- package/src/Poll/api/index.ts +212 -0
- package/src/Poll/components/CampaignPlay.tsx +407 -0
- package/src/Poll/components/CampaignProgressBar.tsx +70 -0
- package/src/Poll/components/CampaignResult.tsx +180 -0
- package/src/Poll/components/CampaignSelector.tsx +96 -0
- package/src/Poll/components/PollCampaignCard.tsx +35 -0
- package/src/Poll/components/PollCard.tsx +335 -0
- package/src/Poll/components/PollOptionCard.tsx +110 -0
- package/src/Poll/components/PollSelectCard.tsx +106 -0
- package/src/Poll/components/ResponseTimer.tsx +37 -0
- package/src/Poll/components/WidgetHeader.tsx +46 -0
- package/src/Poll/flashmarket/index.tsx +231 -0
- package/src/Poll/index.tsx +45 -0
- package/src/ProfileManager/Components/BasicInfoManager.tsx +1 -1
- package/src/ProfileManager/Components/BasicStatus.tsx +1 -2
- package/src/ProfileManager/Components/CodeRedeem.tsx +10 -3
- package/src/ProfileManager/Components/DOBManager.tsx +1 -1
- package/src/ProfileManager/Components/EmailManager.tsx +1 -1
- package/src/ProfileManager/Components/PasswordManager.tsx +2 -1
- package/src/ProfileManager/Components/PhoneManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfilePicManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfileWelcome.tsx +1 -2
- package/src/ProfileManager/Components/ProfileWizard.tsx +14 -3
- package/src/ProfileManager/Components/SettingsManager.tsx +2 -2
- package/src/ProfileManager/Components/VouchCard.tsx +1 -2
- package/src/ProfileManager/api/index.ts +2 -2
- package/src/ProfileManager/api/types.d.ts +0 -35
- package/src/ProfileManager/index.tsx +11 -3
- package/src/Wallet/api/index.ts +6 -4
- package/src/Wallet/components/ACHAddCard.tsx +1 -2
- package/src/Wallet/components/AddressManager.tsx +1 -2
- package/src/Wallet/components/DepositCard.tsx +1 -2
- package/src/Wallet/components/FundAccountCard.tsx +1 -2
- package/src/Wallet/components/ManageAccountCard.tsx +1 -2
- package/src/Wallet/components/ManualACHAdd.tsx +1 -2
- package/src/Wallet/components/ManualCardAdd.tsx +1 -2
- package/src/Wallet/components/MyBalance.tsx +1 -2
- package/src/Wallet/components/WalletActionSelector.tsx +1 -2
- package/src/Wallet/components/WalletSettings.tsx +1 -2
- package/src/Wallet/components/WalletSetup.tsx +1 -2
- package/src/Wallet/components/WithdrawCard.tsx +1 -2
- package/src/Wallet/index.tsx +1 -2
- package/src/index.tsx +5 -2
- package/src/types.d.ts +486 -1
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _momentMini = _interopRequireDefault(require("moment-mini"));
|
|
10
|
+
var _Components = require("../../Components");
|
|
11
|
+
var _api = require("../api");
|
|
12
|
+
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
13
|
+
var _Observer = require("../../Observer");
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
const CompetitionInfoCard = ({
|
|
16
|
+
player,
|
|
17
|
+
competition,
|
|
18
|
+
competition_type,
|
|
19
|
+
onViewEvents,
|
|
20
|
+
onEnter,
|
|
21
|
+
onLeave,
|
|
22
|
+
can_leave,
|
|
23
|
+
onViewRules
|
|
24
|
+
}) => {
|
|
25
|
+
const handleShare = async () => {
|
|
26
|
+
let redirect_url = `https://app.bettoredge.com/competition/play/${competition.competition_id}`;
|
|
27
|
+
if (player) {
|
|
28
|
+
const {
|
|
29
|
+
player_referral
|
|
30
|
+
} = await _api.CompetitionApi.getMyReferralCode();
|
|
31
|
+
redirect_url += `?refer=${player_referral.referral_code}`;
|
|
32
|
+
}
|
|
33
|
+
const {
|
|
34
|
+
url
|
|
35
|
+
} = await _Observer.BELinkApi.generateShortLink({
|
|
36
|
+
generator: 'player',
|
|
37
|
+
link_type: 'user_generated_link',
|
|
38
|
+
link_sub_type: 'competition_link',
|
|
39
|
+
type_id: competition.competition_id,
|
|
40
|
+
status: 'active',
|
|
41
|
+
redirect_url
|
|
42
|
+
});
|
|
43
|
+
_Observer.BELinkApi.share(competition.competition_name, undefined, url);
|
|
44
|
+
};
|
|
45
|
+
const can_enter = (0, _momentMini.default)().isBefore((0, _momentMini.default)(competition.scheduled_datetime));
|
|
46
|
+
const cl = competition.market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
47
|
+
let potential_winnings = competition.ticket_revenue;
|
|
48
|
+
if (competition.promo_payout) {
|
|
49
|
+
potential_winnings += competition.promo_payout;
|
|
50
|
+
}
|
|
51
|
+
if (competition.guaranteed_payout) {
|
|
52
|
+
if (potential_winnings < competition.guaranteed_payout) {
|
|
53
|
+
potential_winnings = competition.guaranteed_payout;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
57
|
+
nativeID: "competition_info"
|
|
58
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
59
|
+
style: {
|
|
60
|
+
padding: 10
|
|
61
|
+
}
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
63
|
+
size: 16,
|
|
64
|
+
color: _colors.default.shades.white,
|
|
65
|
+
weight: "bold",
|
|
66
|
+
textAlign: "center"
|
|
67
|
+
}, competition.competition_name), competition_type ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
68
|
+
style: {
|
|
69
|
+
flexDirection: 'row',
|
|
70
|
+
justifyContent: 'center',
|
|
71
|
+
padding: 10
|
|
72
|
+
}
|
|
73
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
74
|
+
style: {
|
|
75
|
+
padding: 10,
|
|
76
|
+
marginRight: 4,
|
|
77
|
+
justifyContent: 'center',
|
|
78
|
+
backgroundColor: _api.CompetitionHelpers.getCompTypeColor(competition_type),
|
|
79
|
+
borderRadius: 4
|
|
80
|
+
}
|
|
81
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
82
|
+
size: 12,
|
|
83
|
+
color: _colors.default.shades.white,
|
|
84
|
+
weight: "semibold"
|
|
85
|
+
}, competition_type.type_label)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
86
|
+
style: {
|
|
87
|
+
flexDirection: 'row',
|
|
88
|
+
alignItems: 'center',
|
|
89
|
+
padding: 10,
|
|
90
|
+
marginLeft: 4,
|
|
91
|
+
backgroundColor: _colors.default.shades.white,
|
|
92
|
+
borderRadius: 4
|
|
93
|
+
}
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
95
|
+
style: {
|
|
96
|
+
marginRight: 5
|
|
97
|
+
},
|
|
98
|
+
size: 12,
|
|
99
|
+
color: _colors.default.brand.midnight,
|
|
100
|
+
weight: "semibold"
|
|
101
|
+
}, competition.invite_only ? 'Private' : 'Public'), competition.invite_only ? /*#__PURE__*/_react.default.createElement(_Components.Icons.EyeOffIcon, {
|
|
102
|
+
color: _colors.default.brand.midnight,
|
|
103
|
+
size: 14
|
|
104
|
+
}) : /*#__PURE__*/_react.default.createElement(_Components.Icons.EyeOnIcon, {
|
|
105
|
+
color: _colors.default.brand.midnight,
|
|
106
|
+
size: 14
|
|
107
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
108
|
+
style: {
|
|
109
|
+
flexDirection: 'row',
|
|
110
|
+
alignItems: 'center',
|
|
111
|
+
padding: 10,
|
|
112
|
+
marginLeft: 8,
|
|
113
|
+
backgroundColor: _colors.default.incentive.gold,
|
|
114
|
+
borderRadius: 4
|
|
115
|
+
},
|
|
116
|
+
onPress: () => onViewRules ? onViewRules() : console.log('')
|
|
117
|
+
}, competition.prize_image ? /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
118
|
+
source: {
|
|
119
|
+
uri: competition.prize_image.url
|
|
120
|
+
},
|
|
121
|
+
style: {
|
|
122
|
+
height: 20,
|
|
123
|
+
width: 20,
|
|
124
|
+
marginRight: 10
|
|
125
|
+
},
|
|
126
|
+
resizeMode: "center"
|
|
127
|
+
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
128
|
+
size: 12,
|
|
129
|
+
color: _colors.default.shades.white,
|
|
130
|
+
weight: "semibold"
|
|
131
|
+
}, "VIEW RULES"))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
132
|
+
style: {
|
|
133
|
+
flexDirection: 'row',
|
|
134
|
+
padding: 10,
|
|
135
|
+
justifyContent: 'center'
|
|
136
|
+
}
|
|
137
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
138
|
+
style: {
|
|
139
|
+
padding: 10,
|
|
140
|
+
borderRightWidth: 1,
|
|
141
|
+
borderColor: _colors.default.shades.shade600
|
|
142
|
+
}
|
|
143
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
144
|
+
color: _colors.default.shades.white,
|
|
145
|
+
size: 16,
|
|
146
|
+
weight: "bold",
|
|
147
|
+
textAlign: "center"
|
|
148
|
+
}, cl, potential_winnings.toFixed(2)), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
149
|
+
style: {
|
|
150
|
+
marginTop: 3
|
|
151
|
+
},
|
|
152
|
+
color: _colors.default.shades.white,
|
|
153
|
+
size: 12,
|
|
154
|
+
textAlign: "center"
|
|
155
|
+
}, "POT")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
156
|
+
style: {
|
|
157
|
+
padding: 10,
|
|
158
|
+
borderRightWidth: 1,
|
|
159
|
+
borderColor: _colors.default.shades.shade600
|
|
160
|
+
}
|
|
161
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
162
|
+
color: _colors.default.shades.white,
|
|
163
|
+
size: 16,
|
|
164
|
+
weight: "bold",
|
|
165
|
+
textAlign: "center"
|
|
166
|
+
}, competition.tickets_sold, " / ", competition.available_tickets), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
167
|
+
style: {
|
|
168
|
+
marginTop: 3
|
|
169
|
+
},
|
|
170
|
+
color: _colors.default.shades.white,
|
|
171
|
+
size: 12,
|
|
172
|
+
textAlign: "center"
|
|
173
|
+
}, "ENTRIES")), competition_type?.type == 'pick' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
174
|
+
style: {
|
|
175
|
+
padding: 10
|
|
176
|
+
}
|
|
177
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
178
|
+
color: _colors.default.shades.white,
|
|
179
|
+
size: 16,
|
|
180
|
+
weight: "bold",
|
|
181
|
+
textAlign: "center"
|
|
182
|
+
}, competition.max_pick_count), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
183
|
+
style: {
|
|
184
|
+
marginTop: 3
|
|
185
|
+
},
|
|
186
|
+
color: _colors.default.shades.white,
|
|
187
|
+
size: 12,
|
|
188
|
+
textAlign: "center"
|
|
189
|
+
}, "PICKS")) : competition_type?.type == 'wager' ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
190
|
+
style: {
|
|
191
|
+
padding: 10
|
|
192
|
+
}
|
|
193
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
194
|
+
color: _colors.default.shades.white,
|
|
195
|
+
size: 16,
|
|
196
|
+
weight: "bold",
|
|
197
|
+
textAlign: "center"
|
|
198
|
+
}, competition.initial_balance), /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
199
|
+
style: {
|
|
200
|
+
marginTop: 3
|
|
201
|
+
},
|
|
202
|
+
color: _colors.default.shades.white,
|
|
203
|
+
size: 12,
|
|
204
|
+
textAlign: "center"
|
|
205
|
+
}, "INIT. BALANCE")) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
206
|
+
nativeID: "competition_actions",
|
|
207
|
+
style: {
|
|
208
|
+
flexDirection: 'row',
|
|
209
|
+
padding: 10
|
|
210
|
+
}
|
|
211
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
212
|
+
style: {
|
|
213
|
+
padding: 10,
|
|
214
|
+
borderRadius: 22,
|
|
215
|
+
borderWidth: 1,
|
|
216
|
+
borderColor: _colors.default.shades.white,
|
|
217
|
+
marginRight: 10,
|
|
218
|
+
justifyContent: 'center',
|
|
219
|
+
alignItems: 'center'
|
|
220
|
+
},
|
|
221
|
+
onPress: () => handleShare()
|
|
222
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Icons.ShareIcon, {
|
|
223
|
+
size: 14,
|
|
224
|
+
color: _colors.default.shades.white
|
|
225
|
+
})), /*#__PURE__*/_react.default.createElement(_Components.Button, {
|
|
226
|
+
title: competition.entered ? can_leave ? 'Leave' : 'My Picks' : 'Preview Events',
|
|
227
|
+
padding: 10,
|
|
228
|
+
style: {
|
|
229
|
+
flex: 1,
|
|
230
|
+
marginRight: 3
|
|
231
|
+
},
|
|
232
|
+
title_color: can_leave ? _colors.default.utility.error : _colors.default.shades.white,
|
|
233
|
+
onPress: () => {
|
|
234
|
+
if (can_leave && onLeave) {
|
|
235
|
+
return onLeave();
|
|
236
|
+
}
|
|
237
|
+
return onViewEvents();
|
|
238
|
+
},
|
|
239
|
+
borderRadius: 22,
|
|
240
|
+
borderWidth: 1,
|
|
241
|
+
backgroundColor: "transparent",
|
|
242
|
+
borderColor: can_leave ? _colors.default.utility.error : _colors.default.shades.white
|
|
243
|
+
}), /*#__PURE__*/_react.default.createElement(_Components.Button, {
|
|
244
|
+
title: competition.entered || !can_enter ? 'In Progress' : 'Enter Competition',
|
|
245
|
+
padding: 10,
|
|
246
|
+
disabled: competition.entered || !can_enter,
|
|
247
|
+
style: {
|
|
248
|
+
flex: 1,
|
|
249
|
+
marginLeft: 3
|
|
250
|
+
},
|
|
251
|
+
title_color: _colors.default.shades.white,
|
|
252
|
+
onPress: () => {
|
|
253
|
+
if (competition.entered) {
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
return onEnter(competition.competition_id);
|
|
257
|
+
},
|
|
258
|
+
borderRadius: 22,
|
|
259
|
+
backgroundColor: competition.entered ? _colors.default.accents.accent100 : _colors.default.utility.success,
|
|
260
|
+
borderWidth: 1
|
|
261
|
+
})));
|
|
262
|
+
};
|
|
263
|
+
var _default = exports.default = CompetitionInfoCard;
|
|
264
|
+
//# sourceMappingURL=CompetitionInfoCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_momentMini","_Components","_api","_colors","_Observer","obj","__esModule","default","CompetitionInfoCard","player","competition","competition_type","onViewEvents","onEnter","onLeave","can_leave","onViewRules","handleShare","redirect_url","competition_id","player_referral","CompetitionApi","getMyReferralCode","referral_code","url","BELinkApi","generateShortLink","generator","link_type","link_sub_type","type_id","status","share","competition_name","undefined","can_enter","moment","isBefore","scheduled_datetime","cl","market_type","potential_winnings","ticket_revenue","promo_payout","guaranteed_payout","createElement","View","nativeID","style","padding","Text","size","color","Colors","shades","white","weight","textAlign","flexDirection","justifyContent","marginRight","backgroundColor","CompetitionHelpers","getCompTypeColor","borderRadius","type_label","alignItems","marginLeft","brand","midnight","invite_only","Icons","EyeOffIcon","EyeOnIcon","TouchableOpacity","incentive","gold","onPress","console","log","prize_image","Image","source","uri","height","width","resizeMode","Fragment","borderRightWidth","borderColor","shade600","toFixed","marginTop","tickets_sold","available_tickets","type","max_pick_count","initial_balance","borderWidth","ShareIcon","Button","title","entered","flex","title_color","utility","error","disabled","accents","accent100","success","_default","exports"],"sourceRoot":"../../../../src","sources":["Competition/components/CompetitionInfoCard.tsx"],"mappings":";;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6C,YAAY,EAAE,EAAG;IACjBH,eAAe,EAAGnD,WAAW,CAAC4F,OAAO,GAAGjD,eAAM,CAACuD,OAAO,CAACC,SAAS,GAAGxD,eAAM,CAACoD,OAAO,CAACK,OAAQ;IAC1FZ,WAAW,EAAE;EAAE,CAClB,CACC,CACJ,CAAC;AAEf,CAAC;AAAA,IAAAa,QAAA,GAAAC,OAAA,CAAAzG,OAAA,GAEcC,mBAAmB","ignoreList":[]}
|
|
@@ -0,0 +1,281 @@
|
|
|
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 _api = require("../api");
|
|
10
|
+
var _Components = require("../../Components");
|
|
11
|
+
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
const CompetitionLeaderboard = ({
|
|
16
|
+
competition,
|
|
17
|
+
competition_type,
|
|
18
|
+
height,
|
|
19
|
+
viewer_id,
|
|
20
|
+
view_mode,
|
|
21
|
+
onSeeFull,
|
|
22
|
+
onLeaderSelect
|
|
23
|
+
}) => {
|
|
24
|
+
const [data, setData] = (0, _react.useState)({
|
|
25
|
+
loading: false,
|
|
26
|
+
competition_results: [],
|
|
27
|
+
competition_records: [],
|
|
28
|
+
players: [],
|
|
29
|
+
offset: 0
|
|
30
|
+
});
|
|
31
|
+
const {
|
|
32
|
+
loading,
|
|
33
|
+
competition_results,
|
|
34
|
+
competition_records,
|
|
35
|
+
players
|
|
36
|
+
} = data;
|
|
37
|
+
let results = [...competition_results];
|
|
38
|
+
if (view_mode == 'short') {
|
|
39
|
+
results = results.filter((r, i) => r ? i < 3 : i < 3);
|
|
40
|
+
}
|
|
41
|
+
let viewer = players.find(p => p.player_id == viewer_id);
|
|
42
|
+
let viewer_result = competition_results.find(r => r.player_id == viewer_id);
|
|
43
|
+
let viewer_record = competition_records.find(r => r.player_id == viewer_id);
|
|
44
|
+
const cl = competition?.market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
45
|
+
(0, _react.useEffect)(() => {
|
|
46
|
+
if (!competition) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
getLeaderboardFromServer(competition.competition_id, 0);
|
|
50
|
+
}, [competition]);
|
|
51
|
+
const getLeaderboardFromServer = async (competition_id, offset) => {
|
|
52
|
+
setData({
|
|
53
|
+
...data,
|
|
54
|
+
loading: true
|
|
55
|
+
});
|
|
56
|
+
const result_response = await _api.CompetitionResultApi.getResultsByCompetition(competition_id, offset);
|
|
57
|
+
let player_ids = result_response.competition_results.map(cr => cr.player_id);
|
|
58
|
+
let players = [];
|
|
59
|
+
if (player_ids.length > 0) {
|
|
60
|
+
players = await _api.CompetitionApi.getPlayersByPlayerIds(player_ids);
|
|
61
|
+
}
|
|
62
|
+
setData({
|
|
63
|
+
...data,
|
|
64
|
+
players,
|
|
65
|
+
competition_records: result_response.competition_records,
|
|
66
|
+
competition_results: result_response.competition_results,
|
|
67
|
+
offset
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
const renderResults = data => {
|
|
71
|
+
let player = players.find(p => p.player_id == data.item.player_id);
|
|
72
|
+
let record = competition_records.find(r => r.player_id == data.item.player_id);
|
|
73
|
+
if (!player || !record) {
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
75
|
+
}
|
|
76
|
+
//let roi = 0
|
|
77
|
+
//if(record.completed_stakes > 0){
|
|
78
|
+
// roi = record.earnings / record.completed_stakes
|
|
79
|
+
//}
|
|
80
|
+
const is_pacer = competition.pacer_id == data.item.player_id ? true : false;
|
|
81
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
82
|
+
onPress: () => onLeaderSelect(player),
|
|
83
|
+
style: {
|
|
84
|
+
flexDirection: 'row',
|
|
85
|
+
margin: 5,
|
|
86
|
+
alignItems: 'center',
|
|
87
|
+
borderRadius: 22,
|
|
88
|
+
backgroundColor: is_pacer ? _colors.default.highlights.highlight400Faded : _colors.default.shades.white,
|
|
89
|
+
padding: 8,
|
|
90
|
+
paddingLeft: 15,
|
|
91
|
+
paddingRight: 15
|
|
92
|
+
}
|
|
93
|
+
}, is_pacer ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
94
|
+
nativeID: "pacer",
|
|
95
|
+
style: {}
|
|
96
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Icons.PacerCarIcon, {
|
|
97
|
+
size: 28
|
|
98
|
+
})) : /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
99
|
+
nativeID: "place",
|
|
100
|
+
style: {
|
|
101
|
+
padding: 5
|
|
102
|
+
}
|
|
103
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
104
|
+
size: 12,
|
|
105
|
+
color: _colors.default.brand.midnight,
|
|
106
|
+
weight: "bold"
|
|
107
|
+
}, data.item.place)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
108
|
+
nativeID: "image",
|
|
109
|
+
style: {
|
|
110
|
+
paddingLeft: 10,
|
|
111
|
+
paddingRight: 10
|
|
112
|
+
}
|
|
113
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
114
|
+
source: {
|
|
115
|
+
uri: player.profile_pic
|
|
116
|
+
},
|
|
117
|
+
style: {
|
|
118
|
+
height: 30,
|
|
119
|
+
width: 30,
|
|
120
|
+
borderRadius: 100
|
|
121
|
+
},
|
|
122
|
+
resizeMode: "cover"
|
|
123
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
124
|
+
nativeID: "details",
|
|
125
|
+
style: {
|
|
126
|
+
flex: 1
|
|
127
|
+
}
|
|
128
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
129
|
+
size: 12,
|
|
130
|
+
color: _colors.default.brand.midnight,
|
|
131
|
+
weight: "semibold"
|
|
132
|
+
}, player.username), competition_type?.type == 'wager' ? /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
133
|
+
style: {
|
|
134
|
+
marginTop: 3
|
|
135
|
+
},
|
|
136
|
+
size: 12,
|
|
137
|
+
color: _colors.default.brand.midnight,
|
|
138
|
+
weight: "regular"
|
|
139
|
+
}, record.earnings.toFixed(2), " Earned (", record.remaining_stakes.toFixed(2), " at risk)") : /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
140
|
+
style: {
|
|
141
|
+
marginTop: 3
|
|
142
|
+
},
|
|
143
|
+
size: 12,
|
|
144
|
+
color: _colors.default.brand.midnight,
|
|
145
|
+
weight: "regular"
|
|
146
|
+
}, record.wins, " - ", record.losses, " - ", record.draws, " (", record.remaining_picks, " Remaining)")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
147
|
+
nativeID: "winnings"
|
|
148
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
149
|
+
size: 12,
|
|
150
|
+
color: _colors.default.brand.slate,
|
|
151
|
+
weight: "regular"
|
|
152
|
+
}, cl, data.item.winnings.toFixed(2))));
|
|
153
|
+
};
|
|
154
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
155
|
+
style: {
|
|
156
|
+
flex: 1,
|
|
157
|
+
height,
|
|
158
|
+
backgroundColor: _colors.default.shades.shade100
|
|
159
|
+
}
|
|
160
|
+
}, view_mode == 'full' && viewer_record && viewer_result && viewer ? /*#__PURE__*/_react.default.createElement(_reactNative.View, null, competition ? /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
161
|
+
style: {
|
|
162
|
+
padding: 20
|
|
163
|
+
},
|
|
164
|
+
size: 18,
|
|
165
|
+
color: _colors.default.brand.midnight,
|
|
166
|
+
weight: "bold",
|
|
167
|
+
textAlign: "center"
|
|
168
|
+
}, competition.competition_name) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
169
|
+
style: {
|
|
170
|
+
backgroundColor: _colors.default.brand.midnight,
|
|
171
|
+
padding: 10,
|
|
172
|
+
marginBottom: 10
|
|
173
|
+
}
|
|
174
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
175
|
+
size: 18,
|
|
176
|
+
color: _colors.default.shades.white,
|
|
177
|
+
weight: "bold",
|
|
178
|
+
textAlign: "center"
|
|
179
|
+
}, "Your Position"), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
180
|
+
style: {
|
|
181
|
+
flexDirection: 'row',
|
|
182
|
+
marginTop: 15,
|
|
183
|
+
marginBottom: 10,
|
|
184
|
+
alignItems: 'center',
|
|
185
|
+
borderRadius: 22,
|
|
186
|
+
backgroundColor: _colors.default.shades.white,
|
|
187
|
+
padding: 8,
|
|
188
|
+
paddingLeft: 15,
|
|
189
|
+
paddingRight: 15
|
|
190
|
+
}
|
|
191
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
192
|
+
nativeID: "place",
|
|
193
|
+
style: {
|
|
194
|
+
padding: 5
|
|
195
|
+
}
|
|
196
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
197
|
+
size: 12,
|
|
198
|
+
color: _colors.default.brand.midnight,
|
|
199
|
+
weight: "bold"
|
|
200
|
+
}, viewer_result.place)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
201
|
+
nativeID: "image",
|
|
202
|
+
style: {
|
|
203
|
+
paddingLeft: 10,
|
|
204
|
+
paddingRight: 10
|
|
205
|
+
}
|
|
206
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
207
|
+
source: {
|
|
208
|
+
uri: viewer.profile_pic
|
|
209
|
+
},
|
|
210
|
+
style: {
|
|
211
|
+
height: 30,
|
|
212
|
+
width: 30,
|
|
213
|
+
borderRadius: 100
|
|
214
|
+
},
|
|
215
|
+
resizeMode: "cover"
|
|
216
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
217
|
+
nativeID: "details",
|
|
218
|
+
style: {
|
|
219
|
+
flex: 1
|
|
220
|
+
}
|
|
221
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
222
|
+
size: 12,
|
|
223
|
+
color: _colors.default.brand.midnight,
|
|
224
|
+
weight: "semibold"
|
|
225
|
+
}, viewer.username), competition_type?.type == 'wager' ? /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
226
|
+
style: {
|
|
227
|
+
marginTop: 3
|
|
228
|
+
},
|
|
229
|
+
size: 12,
|
|
230
|
+
color: _colors.default.brand.midnight,
|
|
231
|
+
weight: "regular"
|
|
232
|
+
}, viewer_record.earnings.toFixed(2), " Earned (", viewer_record.remaining_stakes.toFixed(2), " at risk)") : /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
233
|
+
style: {
|
|
234
|
+
marginTop: 3
|
|
235
|
+
},
|
|
236
|
+
size: 12,
|
|
237
|
+
color: _colors.default.brand.midnight,
|
|
238
|
+
weight: "regular"
|
|
239
|
+
}, viewer_record.wins, " - ", viewer_record.losses, " - ", viewer_record.draws, " (", viewer_record.remaining_picks, " Remaining)")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
240
|
+
nativeID: "winnings"
|
|
241
|
+
}, /*#__PURE__*/_react.default.createElement(_Components.Text, {
|
|
242
|
+
size: 12,
|
|
243
|
+
color: _colors.default.brand.slate,
|
|
244
|
+
weight: "regular"
|
|
245
|
+
}, cl, viewer_result.winnings.toFixed(2)))))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, null, loading ? /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
|
|
246
|
+
style: {
|
|
247
|
+
alignSelf: 'center',
|
|
248
|
+
padding: 10
|
|
249
|
+
},
|
|
250
|
+
size: "large",
|
|
251
|
+
color: _colors.default.brand.midnight
|
|
252
|
+
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null), /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
|
|
253
|
+
data: results,
|
|
254
|
+
renderItem: renderResults,
|
|
255
|
+
keyExtractor: (item, index) => item.competition_result_id ? item.competition_result_id.toString() : index.toString()
|
|
256
|
+
})), view_mode == 'short' ? /*#__PURE__*/_react.default.createElement(_Components.Button, {
|
|
257
|
+
style: {
|
|
258
|
+
backgroundColor: undefined
|
|
259
|
+
},
|
|
260
|
+
title: "See Full Leaderboard",
|
|
261
|
+
title_color: _colors.default.brand.electric,
|
|
262
|
+
title_size: 14,
|
|
263
|
+
title_weight: "regular",
|
|
264
|
+
onPress: () => onSeeFull()
|
|
265
|
+
}) : /*#__PURE__*/_react.default.createElement(_Components.Button, {
|
|
266
|
+
style: {
|
|
267
|
+
margin: 10
|
|
268
|
+
},
|
|
269
|
+
title: "Close",
|
|
270
|
+
title_color: _colors.default.brand.electric,
|
|
271
|
+
borderWidth: 1,
|
|
272
|
+
borderRadius: 22,
|
|
273
|
+
padding: 15,
|
|
274
|
+
borderColor: _colors.default.brand.electric,
|
|
275
|
+
title_size: 14,
|
|
276
|
+
title_weight: "regular",
|
|
277
|
+
onPress: () => onSeeFull()
|
|
278
|
+
}));
|
|
279
|
+
};
|
|
280
|
+
var _default = exports.default = CompetitionLeaderboard;
|
|
281
|
+
//# sourceMappingURL=CompetitionLeaderboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_api","_Components","_colors","_interopRequireDefault","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CompetitionLeaderboard","competition","competition_type","height","viewer_id","view_mode","onSeeFull","onLeaderSelect","data","setData","useState","loading","competition_results","competition_records","players","offset","results","filter","viewer","find","p","player_id","viewer_result","viewer_record","cl","market_type","useEffect","getLeaderboardFromServer","competition_id","result_response","CompetitionResultApi","getResultsByCompetition","player_ids","map","cr","length","CompetitionApi","getPlayersByPlayerIds","renderResults","player","item","record","createElement","Fragment","is_pacer","pacer_id","TouchableOpacity","onPress","style","flexDirection","margin","alignItems","borderRadius","backgroundColor","Colors","highlights","highlight400Faded","shades","white","padding","paddingLeft","paddingRight","View","nativeID","Icons","PacerCarIcon","size","Text","color","brand","midnight","weight","place","Image","source","uri","profile_pic","width","resizeMode","flex","username","type","marginTop","earnings","toFixed","remaining_stakes","wins","losses","draws","remaining_picks","slate","winnings","shade100","textAlign","competition_name","marginBottom","ScrollView","ActivityIndicator","alignSelf","FlatList","renderItem","keyExtractor","index","competition_result_id","toString","Button","undefined","title","title_color","electric","title_size","title_weight","borderWidth","borderColor","_default","exports"],"sourceRoot":"../../../../src","sources":["Competition/components/CompetitionLeaderboard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,G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