be-components 3.3.6 → 3.3.8
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/Authenticator/Components/AuthStrategyIdentifier.js +27 -36
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/LoginForm.js +103 -124
- package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +254 -347
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/commonjs/Authenticator/index.js +22 -32
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/Competition/components/AthleteMarketCard.js +39 -26
- package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +115 -175
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +97 -95
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionPlay.js +99 -113
- package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +56 -75
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/commonjs/Competition/components/LeaderPicks.js +4 -4
- package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/commonjs/Competition/components/MarketsCard.js +22 -12
- package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
- package/lib/commonjs/Competition/components/TeamEventCard.js +46 -37
- package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/commonjs/Competition/components/WagerPickForm.js +73 -85
- package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/commonjs/Competition/index.js +236 -216
- package/lib/commonjs/Competition/index.js.map +1 -1
- package/lib/commonjs/Components/Button.js +49 -6
- package/lib/commonjs/Components/Button.js.map +1 -1
- package/lib/commonjs/Components/ConfirmationModal.js +29 -29
- package/lib/commonjs/Components/ConfirmationModal.js.map +1 -1
- package/lib/commonjs/Components/Themed.js +281 -0
- package/lib/commonjs/Components/Themed.js.map +1 -0
- package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js +43 -52
- package/lib/commonjs/MarketComponents/components/AthleteMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js +50 -61
- package/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/EventMarket/index.js +48 -54
- package/lib/commonjs/MarketComponents/components/EventMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js +2 -3
- package/lib/commonjs/MarketComponents/components/MarketButton/api/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MarketButton/index.js +22 -22
- package/lib/commonjs/MarketComponents/components/MarketButton/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/MatchMarket/index.js +53 -63
- package/lib/commonjs/MarketComponents/components/MatchMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js +239 -220
- package/lib/commonjs/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js +48 -57
- package/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js +203 -131
- package/lib/commonjs/MarketComponents/components/TournamentMarket/index.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +49 -55
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js +55 -88
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +94 -121
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/DOBManager.js +42 -46
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/EmailManager.js +66 -86
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js +60 -78
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js +62 -81
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +19 -27
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +31 -48
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +69 -92
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js +63 -65
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js +106 -132
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/index.js +29 -31
- package/lib/commonjs/ProfileManager/index.js.map +1 -1
- package/lib/commonjs/Share/api/index.js +13 -6
- package/lib/commonjs/Share/api/index.js.map +1 -1
- package/lib/commonjs/Share/index.js +11 -11
- package/lib/commonjs/Share/index.js.map +1 -1
- package/lib/commonjs/Squares/components/BidForm.js +142 -120
- package/lib/commonjs/Squares/components/BidForm.js.map +1 -1
- package/lib/commonjs/Squares/components/BidToggle.js +10 -11
- package/lib/commonjs/Squares/components/BidToggle.js.map +1 -1
- package/lib/commonjs/Squares/components/BoardStats.js +63 -47
- package/lib/commonjs/Squares/components/BoardStats.js.map +1 -1
- package/lib/commonjs/Squares/components/EventCard.js +48 -29
- package/lib/commonjs/Squares/components/EventCard.js.map +1 -1
- package/lib/commonjs/Squares/components/MySquaresCard.js +48 -31
- package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -1
- package/lib/commonjs/Squares/components/MyStatsCard.js +155 -121
- package/lib/commonjs/Squares/components/MyStatsCard.js.map +1 -1
- package/lib/commonjs/Squares/components/OfferForm.js +32 -32
- package/lib/commonjs/Squares/components/OfferForm.js.map +1 -1
- package/lib/commonjs/Squares/components/PrizeCard.js +44 -35
- package/lib/commonjs/Squares/components/PrizeCard.js.map +1 -1
- package/lib/commonjs/Squares/components/ResultsCard.js +37 -24
- package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOffersCard.js +20 -13
- package/lib/commonjs/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquareOwners.js +44 -38
- package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresBoard.js +77 -59
- package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/commonjs/Squares/components/SquaresDetails.js +46 -36
- package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -1
- package/lib/commonjs/Squares/index.js +207 -150
- package/lib/commonjs/Squares/index.js.map +1 -1
- package/lib/commonjs/constants/colors.js +18 -3
- package/lib/commonjs/constants/colors.js.map +1 -1
- package/lib/commonjs/constants/styles.js +72 -2
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/constants/useColors.js +153 -0
- package/lib/commonjs/constants/useColors.js.map +1 -0
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +21 -30
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/module/Authenticator/Components/LoginForm.js +61 -82
- package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/module/Authenticator/Components/StrategyForm.js +234 -326
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/module/Authenticator/index.js +16 -26
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/Competition/components/AthleteMarketCard.js +28 -15
- package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionInfoCard.js +82 -141
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js +68 -66
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionPlay.js +65 -79
- package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +35 -54
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/module/Competition/components/LeaderPicks.js +4 -4
- package/lib/module/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/module/Competition/components/MarketsCard.js +15 -5
- package/lib/module/Competition/components/MarketsCard.js.map +1 -1
- package/lib/module/Competition/components/TeamEventCard.js +24 -15
- package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/module/Competition/components/WagerPickForm.js +44 -56
- package/lib/module/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/module/Competition/index.js +215 -195
- package/lib/module/Competition/index.js.map +1 -1
- package/lib/module/Components/Button.js +49 -6
- package/lib/module/Components/Button.js.map +1 -1
- package/lib/module/Components/ConfirmationModal.js +21 -21
- package/lib/module/Components/ConfirmationModal.js.map +1 -1
- package/lib/module/Components/Themed.js +269 -0
- package/lib/module/Components/Themed.js.map +1 -0
- package/lib/module/MarketComponents/components/AthleteMarket/index.js +29 -38
- package/lib/module/MarketComponents/components/AthleteMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js +36 -47
- package/lib/module/MarketComponents/components/AthleteTournamentMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/EventMarket/index.js +35 -41
- package/lib/module/MarketComponents/components/EventMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MarketButton/api/index.js +2 -3
- package/lib/module/MarketComponents/components/MarketButton/api/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MarketButton/index.js +17 -17
- package/lib/module/MarketComponents/components/MarketButton/index.js.map +1 -1
- package/lib/module/MarketComponents/components/MatchMarket/index.js +35 -45
- package/lib/module/MarketComponents/components/MatchMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TeamEventMarket/index.js +176 -157
- package/lib/module/MarketComponents/components/TeamEventMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js +34 -43
- package/lib/module/MarketComponents/components/TeamTournamentMarket/index.js.map +1 -1
- package/lib/module/MarketComponents/components/TournamentMarket/index.js +172 -100
- package/lib/module/MarketComponents/components/TournamentMarket/index.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicInfoManager.js +28 -34
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js +28 -61
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js +55 -81
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js +27 -31
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js +42 -61
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js +36 -54
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js +37 -56
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js +10 -18
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js +21 -38
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js +42 -65
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/module/ProfileManager/Components/SettingsManager.js +45 -47
- package/lib/module/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js +69 -95
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/index.js +18 -20
- package/lib/module/ProfileManager/index.js.map +1 -1
- package/lib/module/Share/api/index.js +11 -6
- package/lib/module/Share/api/index.js.map +1 -1
- package/lib/module/Share/index.js +13 -13
- package/lib/module/Share/index.js.map +1 -1
- package/lib/module/Squares/components/BidForm.js +138 -116
- package/lib/module/Squares/components/BidForm.js.map +1 -1
- package/lib/module/Squares/components/BidToggle.js +6 -7
- package/lib/module/Squares/components/BidToggle.js.map +1 -1
- package/lib/module/Squares/components/BoardStats.js +44 -27
- package/lib/module/Squares/components/BoardStats.js.map +1 -1
- package/lib/module/Squares/components/EventCard.js +34 -15
- package/lib/module/Squares/components/EventCard.js.map +1 -1
- package/lib/module/Squares/components/MySquaresCard.js +36 -19
- package/lib/module/Squares/components/MySquaresCard.js.map +1 -1
- package/lib/module/Squares/components/MyStatsCard.js +98 -64
- package/lib/module/Squares/components/MyStatsCard.js.map +1 -1
- package/lib/module/Squares/components/OfferForm.js +12 -12
- package/lib/module/Squares/components/OfferForm.js.map +1 -1
- package/lib/module/Squares/components/PrizeCard.js +25 -16
- package/lib/module/Squares/components/PrizeCard.js.map +1 -1
- package/lib/module/Squares/components/ResultsCard.js +27 -14
- package/lib/module/Squares/components/ResultsCard.js.map +1 -1
- package/lib/module/Squares/components/SquareOffersCard.js +16 -9
- package/lib/module/Squares/components/SquareOffersCard.js.map +1 -1
- package/lib/module/Squares/components/SquareOwners.js +35 -28
- package/lib/module/Squares/components/SquareOwners.js.map +1 -1
- package/lib/module/Squares/components/SquaresBoard.js +52 -34
- package/lib/module/Squares/components/SquaresBoard.js.map +1 -1
- package/lib/module/Squares/components/SquaresDetails.js +30 -19
- package/lib/module/Squares/components/SquaresDetails.js.map +1 -1
- package/lib/module/Squares/index.js +206 -149
- package/lib/module/Squares/index.js.map +1 -1
- package/lib/module/constants/colors.js +18 -3
- package/lib/module/constants/colors.js.map +1 -1
- package/lib/module/constants/styles.js +71 -1
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/constants/useColors.js +145 -0
- package/lib/module/constants/useColors.js.map +1 -0
- package/lib/typescript/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts +2 -2
- package/lib/typescript/lib/commonjs/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts +2 -4
- package/lib/typescript/lib/commonjs/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Authenticator/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts +1 -3
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Button.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Themed.d.ts +6 -0
- package/lib/typescript/lib/commonjs/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts +2 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -2
- package/lib/typescript/lib/commonjs/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts +1 -2
- package/lib/typescript/lib/commonjs/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Share/api/index.d.ts +1 -1
- package/lib/typescript/lib/commonjs/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts +1 -2
- package/lib/typescript/lib/commonjs/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Squares/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/constants/colors.d.ts +9 -0
- package/lib/typescript/lib/commonjs/constants/styles.d.ts +95 -8
- package/lib/typescript/lib/commonjs/constants/useColors.d.ts +58 -0
- package/lib/typescript/lib/commonjs/constants/useColors.d.ts.map +1 -0
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -2
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +3 -4
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +3 -6
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/index.d.ts +4 -4
- package/lib/typescript/lib/module/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +2 -5
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts +2 -4
- package/lib/typescript/lib/module/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/index.d.ts +1 -2
- package/lib/typescript/lib/module/Competition/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Button.d.ts +2 -1
- package/lib/typescript/lib/module/Components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Spring.d.ts +1 -1
- package/lib/typescript/lib/module/Components/Themed.d.ts +9 -0
- package/lib/typescript/lib/module/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts +1 -2
- package/lib/typescript/lib/module/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +3 -3
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +3 -3
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts +3 -4
- package/lib/typescript/lib/module/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts +4 -3
- package/lib/typescript/lib/module/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts +2 -4
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts +1 -2
- package/lib/typescript/lib/module/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts +1 -4
- package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/index.d.ts +2 -4
- package/lib/typescript/lib/module/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Share/api/index.d.ts +1 -1
- package/lib/typescript/lib/module/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Share/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BidForm.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +2 -4
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/index.d.ts +1 -2
- package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/constants/colors.d.ts +9 -0
- package/lib/typescript/lib/module/constants/styles.d.ts +95 -8
- package/lib/typescript/lib/module/constants/useColors.d.ts +57 -0
- package/lib/typescript/lib/module/constants/useColors.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +2 -2
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +2 -3
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/index.d.ts +2 -2
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -1
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -1
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -1
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/src/Competition/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Button.d.ts +2 -1
- package/lib/typescript/src/Components/Button.d.ts.map +1 -1
- package/lib/typescript/src/Components/ConfirmationModal.d.ts.map +1 -1
- package/lib/typescript/src/Components/Themed.d.ts +38 -0
- package/lib/typescript/src/Components/Themed.d.ts.map +1 -0
- package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/AthleteMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/AthleteTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/EventMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts +2 -2
- package/lib/typescript/src/MarketComponents/components/MarketButton/api/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MarketButton/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts +2 -1
- package/lib/typescript/src/MarketComponents/components/TeamTournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts +3 -1
- package/lib/typescript/src/MarketComponents/components/TournamentMarket/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/index.d.ts +15 -7
- package/lib/typescript/src/MarketComponents/index.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +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.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/index.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Share/api/index.d.ts +1 -1
- package/lib/typescript/src/Share/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Share/index.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/MyStatsCard.d.ts +1 -1
- package/lib/typescript/src/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOffersCard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/src/Squares/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/colors.d.ts +9 -0
- package/lib/typescript/src/constants/colors.d.ts.map +1 -1
- package/lib/typescript/src/constants/styles.d.ts +55 -1
- package/lib/typescript/src/constants/styles.d.ts.map +1 -1
- package/lib/typescript/src/constants/useColors.d.ts +57 -0
- package/lib/typescript/src/constants/useColors.d.ts.map +1 -0
- package/package.json +2 -1
- package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +41 -41
- package/src/Authenticator/Components/LoginForm.tsx +54 -56
- package/src/Authenticator/Components/StrategyForm.tsx +138 -147
- package/src/Authenticator/index.tsx +16 -18
- package/src/Competition/components/AthleteMarketCard.tsx +19 -17
- package/src/Competition/components/CompetitionInfoCard.tsx +48 -138
- package/src/Competition/components/CompetitionLeaderboard.tsx +65 -57
- package/src/Competition/components/CompetitionPlay.tsx +55 -48
- package/src/Competition/components/EnterCompetitionPrompt.tsx +30 -39
- package/src/Competition/components/LeaderPicks.tsx +5 -5
- package/src/Competition/components/MarketsCard.tsx +14 -10
- package/src/Competition/components/TeamEventCard.tsx +24 -23
- package/src/Competition/components/WagerPickForm.tsx +35 -41
- package/src/Competition/index.tsx +162 -125
- package/src/Components/Button.tsx +50 -6
- package/src/Components/ConfirmationModal.tsx +13 -21
- package/src/Components/Themed.tsx +233 -0
- package/src/MarketComponents/components/AthleteMarket/index.tsx +21 -26
- package/src/MarketComponents/components/AthleteTournamentMarket/index.tsx +24 -32
- package/src/MarketComponents/components/EventMarket/index.tsx +25 -33
- package/src/MarketComponents/components/MarketButton/api/index.ts +2 -3
- package/src/MarketComponents/components/MarketButton/index.tsx +16 -15
- package/src/MarketComponents/components/MatchMarket/index.tsx +50 -59
- package/src/MarketComponents/components/TeamEventMarket/index.tsx +160 -139
- package/src/MarketComponents/components/TeamTournamentMarket/index.tsx +24 -30
- package/src/MarketComponents/components/TournamentMarket/index.tsx +117 -107
- package/src/ProfileManager/Components/BasicInfoManager.tsx +26 -29
- package/src/ProfileManager/Components/BasicStatus.tsx +29 -36
- package/src/ProfileManager/Components/CodeRedeem.tsx +50 -60
- package/src/ProfileManager/Components/DOBManager.tsx +25 -30
- package/src/ProfileManager/Components/EmailManager.tsx +37 -45
- package/src/ProfileManager/Components/PasswordManager.tsx +36 -40
- package/src/ProfileManager/Components/PhoneManager.tsx +36 -43
- package/src/ProfileManager/Components/ProfilePicManager.tsx +10 -16
- package/src/ProfileManager/Components/ProfileWelcome.tsx +19 -25
- package/src/ProfileManager/Components/ProfileWizard.tsx +42 -46
- package/src/ProfileManager/Components/SettingsManager.tsx +41 -45
- package/src/ProfileManager/Components/VouchCard.tsx +50 -59
- package/src/ProfileManager/index.tsx +16 -13
- package/src/Share/api/index.ts +9 -3
- package/src/Share/index.tsx +13 -12
- package/src/Squares/components/BidForm.tsx +85 -62
- package/src/Squares/components/BidToggle.tsx +8 -9
- package/src/Squares/components/BoardStats.tsx +28 -28
- package/src/Squares/components/EventCard.tsx +33 -31
- package/src/Squares/components/MySquaresCard.tsx +24 -23
- package/src/Squares/components/MyStatsCard.tsx +66 -68
- package/src/Squares/components/OfferForm.tsx +15 -15
- package/src/Squares/components/PrizeCard.tsx +21 -18
- package/src/Squares/components/ResultsCard.tsx +21 -18
- package/src/Squares/components/SquareOffersCard.tsx +12 -10
- package/src/Squares/components/SquareOwners.tsx +24 -23
- package/src/Squares/components/SquaresBoard.tsx +39 -42
- package/src/Squares/components/SquaresDetails.tsx +25 -24
- package/src/Squares/index.tsx +196 -144
- package/src/constants/colors.ts +55 -47
- package/src/constants/styles.ts +37 -1
- package/src/constants/useColors.tsx +131 -0
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
|
-
import { FlatList, Image,
|
|
2
|
+
import { FlatList, Image, ActivityIndicator } from "react-native";
|
|
3
3
|
import { CompetitionApi, CompetitionHelpers, CompetitionResultApi } from "../api";
|
|
4
|
-
import {
|
|
4
|
+
import { Icons } from "../../Components";
|
|
5
5
|
import Colors from "../../constants/colors";
|
|
6
6
|
import { view_styles } from "../../constants/styles";
|
|
7
|
+
import { Button, Text, View } from "../../Components/Themed";
|
|
8
|
+
import { useColors } from "../../constants/useColors";
|
|
7
9
|
const CompetitionLeaderboard = ({
|
|
8
10
|
competition,
|
|
9
11
|
competition_type,
|
|
10
|
-
width,
|
|
11
|
-
height,
|
|
12
12
|
viewer_id,
|
|
13
13
|
view_mode,
|
|
14
14
|
onSeeFull,
|
|
15
15
|
onClose,
|
|
16
16
|
onLeaderSelect
|
|
17
17
|
}) => {
|
|
18
|
+
const C = useColors();
|
|
18
19
|
const [expanded, setExpanded] = useState(false);
|
|
19
20
|
const [data, setData] = useState({
|
|
20
21
|
loading: false,
|
|
@@ -70,33 +71,34 @@ const CompetitionLeaderboard = ({
|
|
|
70
71
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
71
72
|
}
|
|
72
73
|
const is_pacer = competition.pacer_id == data.item.player_id ? true : false;
|
|
73
|
-
return /*#__PURE__*/React.createElement(
|
|
74
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
75
|
+
float: true,
|
|
74
76
|
onPress: () => onLeaderSelect(player),
|
|
75
77
|
style: {
|
|
76
78
|
flexDirection: 'row',
|
|
77
|
-
margin: 5,
|
|
78
79
|
alignItems: 'center',
|
|
80
|
+
margin: 3,
|
|
79
81
|
borderRadius: 22,
|
|
80
|
-
|
|
81
|
-
padding: 8,
|
|
82
|
+
padding: 12,
|
|
82
83
|
paddingLeft: 15,
|
|
83
84
|
paddingRight: 15
|
|
84
85
|
}
|
|
85
86
|
}, is_pacer ? /*#__PURE__*/React.createElement(View, {
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
transparent: true,
|
|
88
|
+
nativeID: "pacer"
|
|
88
89
|
}, /*#__PURE__*/React.createElement(Icons.PacerCarIcon, {
|
|
89
|
-
size: 28
|
|
90
|
+
size: 28,
|
|
91
|
+
color: C.text.h1
|
|
90
92
|
})) : /*#__PURE__*/React.createElement(View, {
|
|
93
|
+
transparent: true,
|
|
91
94
|
nativeID: "place",
|
|
92
95
|
style: {
|
|
93
96
|
padding: 5
|
|
94
97
|
}
|
|
95
98
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
96
|
-
|
|
97
|
-
color: Colors.brand.midnight,
|
|
98
|
-
weight: "bold"
|
|
99
|
+
theme: "description"
|
|
99
100
|
}, CompetitionHelpers.formatPlace(data.item.place))), /*#__PURE__*/React.createElement(View, {
|
|
101
|
+
transparent: true,
|
|
100
102
|
nativeID: "image",
|
|
101
103
|
style: {
|
|
102
104
|
paddingLeft: 10,
|
|
@@ -113,29 +115,26 @@ const CompetitionLeaderboard = ({
|
|
|
113
115
|
},
|
|
114
116
|
resizeMode: "cover"
|
|
115
117
|
})), /*#__PURE__*/React.createElement(View, {
|
|
118
|
+
transparent: true,
|
|
116
119
|
nativeID: "details",
|
|
117
120
|
style: {
|
|
118
121
|
flex: 1
|
|
119
122
|
}
|
|
120
123
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
121
124
|
size: 12,
|
|
122
|
-
|
|
123
|
-
weight: "semibold"
|
|
125
|
+
theme: "h2"
|
|
124
126
|
}, player.username), competition_type?.type == 'wager' ? /*#__PURE__*/React.createElement(Text, {
|
|
125
127
|
style: {
|
|
126
128
|
marginTop: 3
|
|
127
129
|
},
|
|
128
|
-
|
|
129
|
-
color: Colors.brand.midnight,
|
|
130
|
-
weight: "regular"
|
|
130
|
+
theme: "description"
|
|
131
131
|
}, record.earnings.toFixed(2), " Earned (", record.remaining_stakes.toFixed(2), " at risk)") : /*#__PURE__*/React.createElement(Text, {
|
|
132
132
|
style: {
|
|
133
133
|
marginTop: 3
|
|
134
134
|
},
|
|
135
|
-
|
|
136
|
-
color: Colors.brand.midnight,
|
|
137
|
-
weight: "regular"
|
|
135
|
+
theme: "description"
|
|
138
136
|
}, record.wins, " - ", record.losses, " - ", record.draws, " (", record.remaining_picks, " Remaining)")), /*#__PURE__*/React.createElement(View, {
|
|
137
|
+
transparent: true,
|
|
139
138
|
nativeID: "winnings"
|
|
140
139
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
141
140
|
size: 12,
|
|
@@ -144,73 +143,76 @@ const CompetitionLeaderboard = ({
|
|
|
144
143
|
}, cl, data.item.winnings.toFixed(2))));
|
|
145
144
|
};
|
|
146
145
|
return /*#__PURE__*/React.createElement(View, {
|
|
146
|
+
float: true,
|
|
147
|
+
nativeID: "leaderboard"
|
|
148
|
+
}, view_mode == 'short' ? /*#__PURE__*/React.createElement(Button, {
|
|
147
149
|
style: {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}, view_mode == 'short' ? /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
155
|
-
style: view_styles.section_header,
|
|
150
|
+
flexDirection: 'row',
|
|
151
|
+
alignItems: 'center',
|
|
152
|
+
borderBottomWidth: expanded ? 1 : 0,
|
|
153
|
+
borderColor: C.borders.light
|
|
154
|
+
},
|
|
155
|
+
transparent: true,
|
|
156
156
|
onPress: () => setExpanded(!expanded)
|
|
157
|
-
}, /*#__PURE__*/React.createElement(Icons.
|
|
157
|
+
}, /*#__PURE__*/React.createElement(Icons.SettingsIcon, {
|
|
158
158
|
size: 18,
|
|
159
|
-
color:
|
|
159
|
+
color: C.text.h1
|
|
160
160
|
}), /*#__PURE__*/React.createElement(View, {
|
|
161
|
+
transparent: true,
|
|
161
162
|
style: {
|
|
162
163
|
flex: 1,
|
|
163
164
|
marginLeft: 10
|
|
164
165
|
}
|
|
165
166
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
166
|
-
theme: "
|
|
167
|
+
theme: "h1"
|
|
167
168
|
}, "COMPETITION LEADERBOARD"), /*#__PURE__*/React.createElement(Text, {
|
|
168
169
|
style: {
|
|
169
170
|
marginTop: 4
|
|
170
171
|
},
|
|
171
|
-
theme: "
|
|
172
|
+
theme: "description"
|
|
172
173
|
}, "Leaderboard showing current standings")), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
173
174
|
direction: expanded ? 'up' : 'down',
|
|
174
|
-
color:
|
|
175
|
+
color: C.text.h1,
|
|
175
176
|
size: 8
|
|
176
177
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null), expanded || view_mode == 'full' ? /*#__PURE__*/React.createElement(View, {
|
|
178
|
+
transparent: true,
|
|
179
|
+
type: "body"
|
|
180
|
+
}, viewer_record && viewer_result && viewer ? /*#__PURE__*/React.createElement(View, {
|
|
181
|
+
transparent: true,
|
|
177
182
|
style: {
|
|
178
|
-
...view_styles.section_body
|
|
179
|
-
}
|
|
180
|
-
}, viewer_record && viewer_result && viewer ? /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
181
|
-
style: {
|
|
182
|
-
backgroundColor: Colors.brand.midnight,
|
|
183
183
|
padding: 10,
|
|
184
184
|
marginBottom: 10,
|
|
185
185
|
borderTopRightRadius: 8,
|
|
186
|
-
borderTopLeftRadius: 8
|
|
186
|
+
borderTopLeftRadius: 8,
|
|
187
|
+
borderBottomWidth: 1,
|
|
188
|
+
borderColor: C.borders.light
|
|
187
189
|
}
|
|
188
190
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
189
191
|
size: 14,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
theme: "h1"
|
|
193
|
+
}, "MY RESULTS"), /*#__PURE__*/React.createElement(Button, {
|
|
194
|
+
float: true,
|
|
193
195
|
style: {
|
|
194
196
|
flexDirection: 'row',
|
|
195
197
|
marginTop: 10,
|
|
196
198
|
marginBottom: 10,
|
|
197
199
|
alignItems: 'center',
|
|
198
200
|
borderRadius: 22,
|
|
199
|
-
|
|
200
|
-
padding: 8,
|
|
201
|
+
padding: 12,
|
|
201
202
|
paddingLeft: 15,
|
|
202
203
|
paddingRight: 15
|
|
203
204
|
}
|
|
204
205
|
}, /*#__PURE__*/React.createElement(View, {
|
|
206
|
+
transparent: true,
|
|
205
207
|
nativeID: "place",
|
|
206
208
|
style: {
|
|
207
209
|
padding: 5
|
|
208
210
|
}
|
|
209
211
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
210
212
|
size: 12,
|
|
211
|
-
|
|
212
|
-
weight: "bold"
|
|
213
|
+
theme: "h2"
|
|
213
214
|
}, CompetitionHelpers.formatPlace(viewer_result.place))), /*#__PURE__*/React.createElement(View, {
|
|
215
|
+
transparent: true,
|
|
214
216
|
nativeID: "image",
|
|
215
217
|
style: {
|
|
216
218
|
paddingLeft: 10,
|
|
@@ -227,39 +229,34 @@ const CompetitionLeaderboard = ({
|
|
|
227
229
|
},
|
|
228
230
|
resizeMode: "cover"
|
|
229
231
|
})), /*#__PURE__*/React.createElement(View, {
|
|
232
|
+
transparent: true,
|
|
230
233
|
nativeID: "details",
|
|
231
234
|
style: {
|
|
232
235
|
flex: 1
|
|
233
236
|
}
|
|
234
237
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
235
238
|
size: 12,
|
|
236
|
-
|
|
237
|
-
weight: "semibold"
|
|
239
|
+
theme: "h2"
|
|
238
240
|
}, viewer.username), competition_type?.type == 'wager' ? /*#__PURE__*/React.createElement(Text, {
|
|
239
241
|
style: {
|
|
240
242
|
marginTop: 3
|
|
241
243
|
},
|
|
242
|
-
|
|
243
|
-
color: Colors.brand.midnight,
|
|
244
|
-
weight: "regular"
|
|
244
|
+
theme: "description"
|
|
245
245
|
}, viewer_record.earnings.toFixed(2), " Earned (", viewer_record.remaining_stakes.toFixed(2), " at risk)") : /*#__PURE__*/React.createElement(Text, {
|
|
246
246
|
style: {
|
|
247
247
|
marginTop: 3
|
|
248
248
|
},
|
|
249
|
-
|
|
250
|
-
color: Colors.brand.midnight,
|
|
251
|
-
weight: "regular"
|
|
249
|
+
theme: "description"
|
|
252
250
|
}, viewer_record.wins, " - ", viewer_record.losses, " - ", viewer_record.draws, " (", viewer_record.remaining_picks, " Remaining)")), /*#__PURE__*/React.createElement(View, {
|
|
253
251
|
nativeID: "winnings"
|
|
254
252
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
255
253
|
size: 12,
|
|
256
|
-
|
|
257
|
-
weight: "
|
|
258
|
-
}, cl, viewer_result.winnings.toFixed(2)))))
|
|
254
|
+
theme: "light",
|
|
255
|
+
weight: "bold"
|
|
256
|
+
}, cl, viewer_result.winnings.toFixed(2))))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
257
|
+
transparent: true,
|
|
259
258
|
style: {
|
|
260
|
-
|
|
261
|
-
borderBottomRightRadius: 8,
|
|
262
|
-
borderBottomLeftRadius: 8
|
|
259
|
+
padding: 10
|
|
263
260
|
}
|
|
264
261
|
}, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
265
262
|
style: {
|
|
@@ -267,8 +264,14 @@ const CompetitionLeaderboard = ({
|
|
|
267
264
|
padding: 10
|
|
268
265
|
},
|
|
269
266
|
size: "large",
|
|
270
|
-
color:
|
|
271
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(
|
|
267
|
+
color: C.text.h1
|
|
268
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Text, {
|
|
269
|
+
size: 14,
|
|
270
|
+
theme: "h1",
|
|
271
|
+
style: {
|
|
272
|
+
marginBottom: 10
|
|
273
|
+
}
|
|
274
|
+
}, "MY RESULTS"), /*#__PURE__*/React.createElement(FlatList, {
|
|
272
275
|
data: results,
|
|
273
276
|
renderItem: renderResults,
|
|
274
277
|
keyExtractor: (item, index) => item.competition_result_id ? item.competition_result_id.toString() : index.toString()
|
|
@@ -277,8 +280,7 @@ const CompetitionLeaderboard = ({
|
|
|
277
280
|
backgroundColor: undefined
|
|
278
281
|
},
|
|
279
282
|
title: "View Full Leaderboard",
|
|
280
|
-
|
|
281
|
-
title_size: 14,
|
|
283
|
+
type: "text",
|
|
282
284
|
onPress: () => onSeeFull()
|
|
283
285
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onClose ? /*#__PURE__*/React.createElement(View, {
|
|
284
286
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","FlatList","Image","ScrollView","TouchableOpacity","View","ActivityIndicator","CompetitionApi","CompetitionHelpers","CompetitionResultApi","Button","Icons","Text","Colors","view_styles","CompetitionLeaderboard","competition","competition_type","width","height","viewer_id","view_mode","onSeeFull","onClose","onLeaderSelect","expanded","setExpanded","data","setData","loading","competition_results","competition_records","players","offset","results","filter","r","i","viewer","find","p","player_id","viewer_result","viewer_record","cl","market_type","getLeaderboardFromServer","competition_id","result_response","getResultsByCompetition","player_ids","map","cr","length","getPlayersByPlayerIds","renderResults","player","item","record","createElement","Fragment","is_pacer","pacer_id","onPress","style","flexDirection","margin","alignItems","borderRadius","backgroundColor","highlights","highlight400Faded","shades","white","padding","paddingLeft","paddingRight","nativeID","PacerCarIcon","size","color","brand","midnight","weight","formatPlace","place","source","uri","profile_pic","resizeMode","flex","username","type","marginTop","earnings","toFixed","remaining_stakes","wins","losses","draws","remaining_picks","slate","winnings","section","minWidth","undefined","section_header","PodiumIcon","marginLeft","theme","ChevronIcon","direction","section_body","marginBottom","borderTopRightRadius","borderTopLeftRadius","shade100","borderBottomRightRadius","borderBottomLeftRadius","alignSelf","renderItem","keyExtractor","index","competition_result_id","toString","title","title_color","electric","title_size","float","justifyContent","utility","error"],"sourceRoot":"../../../../src","sources":["Competition/components/CompetitionLeaderboard.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,QAAQ,EAAEC,KAAK,EAAEC,UAAU,EAAEC,gBAAgB,EAAEC,IAAI,EAAEC,iBAAiB,QAAQ,cAAc;AAErG,SAASC,cAAc,EAAEC,kBAAkB,EAAEC,oBAAoB,QAAQ,QAAQ;AACjF,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,QAAQ,kBAAkB;AACtD,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,WAAW,QAAQ,wBAAwB;AAcpD,MAAMC,sBAAsB,GAAGA,CAAC;EAAEC,WAAW;EAAEC,gBAAgB;EAAEC,KAAK;EAAEC,MAAM;EAAEC,SAAS;EAAEC,SAAS;EAAEC,SAAS;EAAEC,OAAO;EAAEC;AAA2C,CAAC,KAAK;EACvK,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAG1B,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM,CAAE2B,IAAI,EAAEC,OAAO,CAAE,GAAG5B,QAAQ,CAM/B;IACC6B,OAAO,EAAC,KAAK;IACbC,mBAAmB,EAAC,EAAE;IACtBC,mBAAmB,EAAC,EAAE;IACtBC,OAAO,EAAC,EAAE;IACVC,MAAM,EAAC;EACX,CAAC,CAAC;EAEF,MAAM;IAAEJ,OAAO;IAAEC,mBAAmB;IAAEC,mBAAmB;IAAEC,OAAO;IAAEC;EA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I,MAAC,CAAC,eACRP,KAAA,CAAA6D,aAAA,CAACjD,MAAM;IACHmH,KAAK,EAAC,MAAM;IACZC,WAAW,EAAEjH,MAAM,CAACoE,KAAK,CAAC8C,QAAS;IACnC1D,eAAe,EAAC,aAAa;IAC7BN,OAAO,EAAEA,CAAA,KAAMjB,wBAAwB,CAAC9B,WAAW,CAAC+B,cAAc,EAAEd,MAAM,GAAG,CAAC;EAAE,CACnF,CACC,CAAC,eACPnC,KAAA,CAAA6D,aAAA,CAACjD,MAAM;IACHmH,KAAK,EAAC,OAAO;IACb7D,KAAK,EAAE;MAAEU,OAAO,EAAC;IAAG,CAAE;IACtBoD,WAAW,EAAEjH,MAAM,CAAC2D,MAAM,CAACC,KAAM;IACjCJ,eAAe,EAAExD,MAAM,CAACsH,OAAO,CAACC,KAAM;IACtCrE,OAAO,EAAEA,CAAA,KAAMxC,OAAO,CAAC;EAAE,CAC5B,CACC,CAAC,gBACNzB,KAAA,CAAA6D,aAAA,CAAA7D,KAAA,CAAA8D,QAAA,MAAI,CACC,CAAC,gBACN9D,KAAA,CAAA6D,aAAA,CAAA7D,KAAA,CAAA8D,QAAA,MAAI,CAEH,CAAC;AAEf,CAAC;AAED,eAAe7C,sBAAsB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","FlatList","Image","ActivityIndicator","CompetitionApi","CompetitionHelpers","CompetitionResultApi","Icons","Colors","view_styles","Button","Text","View","useColors","CompetitionLeaderboard","competition","competition_type","viewer_id","view_mode","onSeeFull","onClose","onLeaderSelect","C","expanded","setExpanded","data","setData","loading","competition_results","competition_records","players","offset","results","filter","r","i","viewer","find","p","player_id","viewer_result","viewer_record","cl","market_type","getLeaderboardFromServer","competition_id","result_response","getResultsByCompetition","player_ids","map","cr","length","getPlayersByPlayerIds","renderResults","player","item","record","createElement","Fragment","is_pacer","pacer_id","float","onPress","style","flexDirection","alignItems","margin","borderRadius","padding","paddingLeft","paddingRight","transparent","nativeID","PacerCarIcon","size","color","text","h1","theme","formatPlace","place","source","uri","profile_pic","height","width","resizeMode","flex","username","type","marginTop","earnings","toFixed","remaining_stakes","wins","losses","draws","remaining_picks","brand","slate","weight","winnings","borderBottomWidth","borderColor","borders","light","SettingsIcon","marginLeft","ChevronIcon","direction","marginBottom","borderTopRightRadius","borderTopLeftRadius","alignSelf","renderItem","keyExtractor","index","competition_result_id","toString","backgroundColor","undefined","title","justifyContent","title_color","electric","shades","white","utility","error"],"sourceRoot":"../../../../src","sources":["Competition/components/CompetitionLeaderboard.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,QAAQ,EAAEC,KAAK,EAAEC,iBAAiB,QAAQ,cAAc;AAEjE,SAASC,cAAc,EAAEC,kBAAkB,EAAEC,oBAAoB,QAAQ,QAAQ;AACjF,SAASC,KAAK,QAAQ,kBAAkB;AACxC,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,WAAW,QAAQ,wBAAwB;AACpD,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,SAAS,QAAQ,2BAA2B;AAcrD,MAAMC,sBAAsB,GAAGA,CAAC;EAAEC,WAAW;EAAEC,gBAAgB;EAAEC,SAAS;EAAEC,SAAS;EAAEC,SAAS;EAAEC,OAAO;EAAEC;AAA2C,CAAC,KAAK;EACxJ,MAAMC,CAAC,GAAGT,SAAS,CAAC,CAAC;EACrB,MAAM,CAAEU,QAAQ,EAAEC,WAAW,CAAE,GAAGxB,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM,CAAEyB,IAAI,EAAEC,OAAO,CAAE,GAAG1B,QAAQ,CAM/B;IACC2B,OAAO,EAAC,KAAK;IACbC,mBAAmB,EAAC,EAAE;IACtBC,mBAAmB,EAAC,EAAE;IACtBC,OAAO,EAAC,EAAE;IACVC,MAAM,EAAC;EACX,CAAC,CAAC;EAEF,MAAM;IAAEJ,OAAO;IAAEC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AAA,MAAI,CACC,CAAC,gBACN5D,KAAA,CAAA2D,aAAA,CAAA3D,KAAA,CAAA4D,QAAA,MAAI,CAEH,CAAC;AAEf,CAAC;AAED,eAAe5C,sBAAsB","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FlatList
|
|
2
|
+
import { FlatList } from "react-native";
|
|
3
3
|
import Colors from '../../constants/colors';
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
import TeamEventCard from './TeamEventCard';
|
|
@@ -8,8 +8,10 @@ import MatchMarketCard from './MatchMarketCard';
|
|
|
8
8
|
import moment from "moment-mini";
|
|
9
9
|
import { view_styles } from "../../constants/styles";
|
|
10
10
|
import { LinearGradient } from "expo-linear-gradient";
|
|
11
|
-
import { Icons
|
|
11
|
+
import { Icons } from "../../Components";
|
|
12
12
|
import LinearDiagnal from "../../Components/LinearDiagnal";
|
|
13
|
+
import { Button, Text, View } from '../../Components/Themed';
|
|
14
|
+
import { useColors } from '../../constants/useColors';
|
|
13
15
|
const CompetitionPlay = ({
|
|
14
16
|
authenticated_competition_player,
|
|
15
17
|
pick_loading,
|
|
@@ -27,6 +29,7 @@ const CompetitionPlay = ({
|
|
|
27
29
|
player_id,
|
|
28
30
|
player_picks
|
|
29
31
|
}) => {
|
|
32
|
+
const C = useColors();
|
|
30
33
|
//const [ complete_loaded, setCompleteLoaded ] = useState(false);
|
|
31
34
|
const [contest_view, setContestView] = useState('upcoming');
|
|
32
35
|
//const [ show_completed, setShowCompleted ] = useState(false);
|
|
@@ -70,16 +73,12 @@ const CompetitionPlay = ({
|
|
|
70
73
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
71
74
|
}
|
|
72
75
|
return /*#__PURE__*/React.createElement(View, {
|
|
76
|
+
float: true,
|
|
77
|
+
transparent: true,
|
|
73
78
|
style: {
|
|
74
79
|
minWidth: 150,
|
|
75
|
-
flex: 1,
|
|
76
|
-
flexGrow: 1,
|
|
77
80
|
margin: 5,
|
|
78
|
-
|
|
79
|
-
borderColor: Colors.shades.shade600,
|
|
80
|
-
borderRadius: 8,
|
|
81
|
-
backgroundColor: Colors.shades.white,
|
|
82
|
-
...view_styles.float
|
|
81
|
+
flex: 1
|
|
83
82
|
}
|
|
84
83
|
}, /*#__PURE__*/React.createElement(AthleteMarketCard, {
|
|
85
84
|
event: event,
|
|
@@ -105,9 +104,8 @@ const CompetitionPlay = ({
|
|
|
105
104
|
const event_picks = player_picks.filter(pp => pp.competition_match_id == data.item.competition_match_id);
|
|
106
105
|
const isLoading = pick_loading == data.item.competition_match_id ? true : false;
|
|
107
106
|
return /*#__PURE__*/React.createElement(View, {
|
|
107
|
+
transparent: true,
|
|
108
108
|
style: {
|
|
109
|
-
flex: 1,
|
|
110
|
-
flexGrow: 1,
|
|
111
109
|
margin: 5
|
|
112
110
|
}
|
|
113
111
|
}, /*#__PURE__*/React.createElement(TeamEventCard, {
|
|
@@ -138,7 +136,6 @@ const CompetitionPlay = ({
|
|
|
138
136
|
style: {
|
|
139
137
|
flexDirection: 'row',
|
|
140
138
|
flexWrap: 'wrap',
|
|
141
|
-
justifyContent: 'center',
|
|
142
139
|
paddingTop: 10,
|
|
143
140
|
paddingBottom: 10
|
|
144
141
|
}
|
|
@@ -271,27 +268,15 @@ const CompetitionPlay = ({
|
|
|
271
268
|
const team_primary_matches = competition_matches.filter(cm => cm.event_type == 'team' && cm.event_id == data.item && !cm.market_id_override);
|
|
272
269
|
const non_primary_markets = [...new Set(competition_matches.filter(cm => cm.event_type == 'team' && cm.event_id == data.item && cm.market_id_override).map(cm => cm.market_id_override ?? ''))];
|
|
273
270
|
const expanded = expanded_markets.includes(data.item) ? true : false;
|
|
274
|
-
return /*#__PURE__*/React.createElement(
|
|
275
|
-
|
|
276
|
-
x: 0,
|
|
277
|
-
y: 0
|
|
278
|
-
},
|
|
279
|
-
end: {
|
|
280
|
-
x: 1,
|
|
281
|
-
y: 0
|
|
282
|
-
},
|
|
283
|
-
colors: [Colors.shades.white, '#F8F8F8'],
|
|
271
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
272
|
+
float: true,
|
|
284
273
|
style: {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
flexGrow: 1,
|
|
288
|
-
margin: 10,
|
|
289
|
-
borderWidth: 1,
|
|
290
|
-
borderColor: Colors.shades.shade100,
|
|
291
|
-
borderRadius: 8,
|
|
292
|
-
...view_styles.float
|
|
274
|
+
margin: 5,
|
|
275
|
+
borderRadius: 8
|
|
293
276
|
}
|
|
294
277
|
}, /*#__PURE__*/React.createElement(View, {
|
|
278
|
+
transparent: true,
|
|
279
|
+
type: "header",
|
|
295
280
|
style: {
|
|
296
281
|
padding: 10,
|
|
297
282
|
flexDirection: 'row',
|
|
@@ -300,19 +285,15 @@ const CompetitionPlay = ({
|
|
|
300
285
|
}
|
|
301
286
|
}, league ? /*#__PURE__*/React.createElement(Text, {
|
|
302
287
|
size: 14,
|
|
303
|
-
|
|
304
|
-
weight: "bold"
|
|
288
|
+
theme: "h1"
|
|
305
289
|
}, league.league_name, ": ") : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Text, {
|
|
306
290
|
style: {
|
|
307
291
|
flex: 1
|
|
308
292
|
},
|
|
309
|
-
|
|
310
|
-
color: Colors.brand.midnight,
|
|
311
|
-
weight: "bold"
|
|
293
|
+
theme: "h2"
|
|
312
294
|
}, event.event_title), /*#__PURE__*/React.createElement(Text, {
|
|
313
295
|
size: 14,
|
|
314
|
-
|
|
315
|
-
weight: "regular"
|
|
296
|
+
theme: "description"
|
|
316
297
|
}, event.time_detail == 'scheduled' ? moment(event.scheduled_datetime).format('MM/DD @ hh:mm a') : event.time_detail)), /*#__PURE__*/React.createElement(LinearDiagnal, {
|
|
317
298
|
label_size: 12,
|
|
318
299
|
label: "Primary Markets",
|
|
@@ -324,18 +305,22 @@ const CompetitionPlay = ({
|
|
|
324
305
|
index: i
|
|
325
306
|
});
|
|
326
307
|
}), non_primary_markets.length > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
308
|
+
transparent: true,
|
|
327
309
|
style: {
|
|
328
310
|
borderBottomRightRadius: 8,
|
|
329
311
|
borderBottomLeftRadius: 8
|
|
330
312
|
}
|
|
331
|
-
}, expanded ? /*#__PURE__*/React.createElement(View,
|
|
313
|
+
}, expanded ? /*#__PURE__*/React.createElement(View, {
|
|
314
|
+
transparent: true
|
|
315
|
+
}, non_primary_markets.map((id, i) => {
|
|
332
316
|
return renderNonPrimaryMarkets({
|
|
333
317
|
item: id,
|
|
334
318
|
index: i,
|
|
335
319
|
event_id: data.item,
|
|
336
320
|
event_type: 'team'
|
|
337
321
|
});
|
|
338
|
-
})) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(
|
|
322
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Button, {
|
|
323
|
+
transparent: true,
|
|
339
324
|
style: {
|
|
340
325
|
flexDirection: 'row',
|
|
341
326
|
alignItems: 'center',
|
|
@@ -348,64 +333,62 @@ const CompetitionPlay = ({
|
|
|
348
333
|
style: {
|
|
349
334
|
flex: 1
|
|
350
335
|
},
|
|
351
|
-
|
|
352
|
-
color: Colors.brand.midnight,
|
|
353
|
-
weight: "semibold"
|
|
336
|
+
theme: "h2"
|
|
354
337
|
}, expanded ? 'Hide Markets' : `${non_primary_markets.length} More Markets`), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
355
338
|
direction: expanded ? 'up' : 'down',
|
|
356
|
-
color:
|
|
339
|
+
color: C.text.h1,
|
|
357
340
|
size: 8
|
|
358
341
|
}))) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
359
342
|
};
|
|
360
343
|
return /*#__PURE__*/React.createElement(View, {
|
|
344
|
+
float: true,
|
|
345
|
+
nativeID: "competition_play"
|
|
346
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
361
347
|
style: {
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
348
|
+
flexDirection: 'row',
|
|
349
|
+
alignItems: 'center',
|
|
350
|
+
borderBottomWidth: expanded ? 1 : 0,
|
|
351
|
+
borderColor: C.borders.light
|
|
352
|
+
},
|
|
353
|
+
transparent: true,
|
|
367
354
|
onPress: () => setExpanded(!expanded)
|
|
368
|
-
}, /*#__PURE__*/React.createElement(Icons.
|
|
355
|
+
}, /*#__PURE__*/React.createElement(Icons.SettingsIcon, {
|
|
369
356
|
size: 18,
|
|
370
|
-
color:
|
|
357
|
+
color: C.text.h1
|
|
371
358
|
}), /*#__PURE__*/React.createElement(View, {
|
|
359
|
+
transparent: true,
|
|
372
360
|
style: {
|
|
373
361
|
flex: 1,
|
|
374
362
|
marginLeft: 10
|
|
375
363
|
}
|
|
376
364
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
377
|
-
theme: "
|
|
365
|
+
theme: "h1"
|
|
378
366
|
}, "MANAGE MY ", competition_type.type == 'pick' ? 'PICKS' : 'WAGERS'), /*#__PURE__*/React.createElement(Text, {
|
|
379
367
|
style: {
|
|
380
368
|
marginTop: 4
|
|
381
369
|
},
|
|
382
|
-
theme: "
|
|
370
|
+
theme: "description"
|
|
383
371
|
}, "Make ", competition_type.type == 'pick' ? 'Picks' : 'Wagers', " from the available contests.")), /*#__PURE__*/React.createElement(View, {
|
|
372
|
+
transparent: true,
|
|
384
373
|
style: {
|
|
385
|
-
|
|
386
|
-
marginRight: 8,
|
|
387
|
-
borderRadius: 100,
|
|
388
|
-
height: 24,
|
|
389
|
-
width: 24,
|
|
390
|
-
backgroundColor: picks_completed ? Colors.utility.success : Colors.highlights.highlight200,
|
|
391
|
-
justifyContent: 'center',
|
|
392
|
-
alignItems: 'center'
|
|
374
|
+
margin: 10
|
|
393
375
|
}
|
|
394
376
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
395
|
-
size:
|
|
396
|
-
color:
|
|
397
|
-
weight: "bold"
|
|
398
|
-
textAlign: "center"
|
|
377
|
+
size: 16,
|
|
378
|
+
color: picks_completed ? C.text.success : C.text.warning,
|
|
379
|
+
weight: "bold"
|
|
399
380
|
}, player_picks.filter(pp => pp.status != 'deleted').length)), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
400
381
|
direction: expanded ? 'up' : 'down',
|
|
401
|
-
color:
|
|
382
|
+
color: C.text.h1,
|
|
402
383
|
size: 8
|
|
403
384
|
})), expanded ? /*#__PURE__*/React.createElement(View, {
|
|
385
|
+
transparent: true,
|
|
404
386
|
style: {
|
|
405
387
|
...view_styles.section_body,
|
|
406
|
-
padding:
|
|
388
|
+
padding: 10
|
|
407
389
|
}
|
|
408
390
|
}, /*#__PURE__*/React.createElement(View, {
|
|
391
|
+
transparent: true,
|
|
409
392
|
style: {
|
|
410
393
|
flexDirection: 'row',
|
|
411
394
|
backgroundColor: Colors.shades.white,
|
|
@@ -415,7 +398,8 @@ const CompetitionPlay = ({
|
|
|
415
398
|
borderWidth: 4,
|
|
416
399
|
borderColor: Colors.shades.shade100
|
|
417
400
|
}
|
|
418
|
-
}, /*#__PURE__*/React.createElement(
|
|
401
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
402
|
+
transparent: true,
|
|
419
403
|
style: {
|
|
420
404
|
flex: 1,
|
|
421
405
|
flexDirection: 'row',
|
|
@@ -445,7 +429,8 @@ const CompetitionPlay = ({
|
|
|
445
429
|
weight: "bold",
|
|
446
430
|
size: 12,
|
|
447
431
|
color: contest_view == 'upcoming' ? Colors.brand.midnight : Colors.shades.white
|
|
448
|
-
}, ip_unique_team_events.length))), /*#__PURE__*/React.createElement(
|
|
432
|
+
}, ip_unique_team_events.length))), /*#__PURE__*/React.createElement(Button, {
|
|
433
|
+
transparent: true,
|
|
449
434
|
style: {
|
|
450
435
|
flex: 1,
|
|
451
436
|
flexDirection: 'row',
|
|
@@ -463,6 +448,7 @@ const CompetitionPlay = ({
|
|
|
463
448
|
color: contest_view == 'closed' ? Colors.shades.white : Colors.brand.midnight,
|
|
464
449
|
weight: contest_view == 'closed' ? 'bold' : 'semibold'
|
|
465
450
|
}, "CLOSED CONTESTS"), /*#__PURE__*/React.createElement(View, {
|
|
451
|
+
transparent: true,
|
|
466
452
|
style: {
|
|
467
453
|
borderRadius: 100,
|
|
468
454
|
justifyContent: 'center',
|
|
@@ -476,11 +462,13 @@ const CompetitionPlay = ({
|
|
|
476
462
|
size: 12,
|
|
477
463
|
color: contest_view == 'closed' ? Colors.brand.midnight : Colors.shades.white
|
|
478
464
|
}, closed_unique_team_events.length)))), /*#__PURE__*/React.createElement(View, {
|
|
465
|
+
transparent: true,
|
|
479
466
|
nativeID: "picks",
|
|
480
467
|
style: {
|
|
481
468
|
marginTop: 15
|
|
482
469
|
}
|
|
483
470
|
}, /*#__PURE__*/React.createElement(View, {
|
|
471
|
+
transparent: true,
|
|
484
472
|
style: {
|
|
485
473
|
flexDirection: 'row',
|
|
486
474
|
alignItems: 'center',
|
|
@@ -488,13 +476,14 @@ const CompetitionPlay = ({
|
|
|
488
476
|
marginBottom: 15
|
|
489
477
|
}
|
|
490
478
|
}, /*#__PURE__*/React.createElement(View, {
|
|
479
|
+
transparent: true,
|
|
491
480
|
style: {
|
|
492
481
|
flex: 1,
|
|
493
482
|
flexDirection: 'row',
|
|
494
|
-
alignItems: 'center'
|
|
495
|
-
backgroundColor: Colors.shades.shade100
|
|
483
|
+
alignItems: 'center'
|
|
496
484
|
}
|
|
497
485
|
}, /*#__PURE__*/React.createElement(View, {
|
|
486
|
+
transparent: true,
|
|
498
487
|
style: {
|
|
499
488
|
flex: 1,
|
|
500
489
|
flexDirection: 'row',
|
|
@@ -503,23 +492,20 @@ const CompetitionPlay = ({
|
|
|
503
492
|
}
|
|
504
493
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
505
494
|
size: 16,
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
495
|
+
theme: "h1"
|
|
496
|
+
}, contest_view.toUpperCase(), " CONTESTS")), authenticated_competition_player ? /*#__PURE__*/React.createElement(View, {
|
|
497
|
+
transparent: true
|
|
498
|
+
}, competition_type?.type == 'wager' ? /*#__PURE__*/React.createElement(Text, {
|
|
509
499
|
style: {
|
|
510
500
|
flex: 1
|
|
511
501
|
},
|
|
512
|
-
|
|
513
|
-
color: Colors.shades.white,
|
|
514
|
-
weight: "semibold",
|
|
502
|
+
theme: "h2",
|
|
515
503
|
textAlign: "right"
|
|
516
504
|
}, authenticated_competition_player.wager_based_balance.toFixed(2), " Remaining") : /*#__PURE__*/React.createElement(Text, {
|
|
517
505
|
style: {
|
|
518
506
|
flex: 1
|
|
519
507
|
},
|
|
520
|
-
|
|
521
|
-
color: Colors.shades.white,
|
|
522
|
-
weight: "semibold",
|
|
508
|
+
theme: "h2",
|
|
523
509
|
textAlign: "right"
|
|
524
510
|
}, parseFloat(competition.max_pick_count) - player_picks.length, " Picks Remaining")) : /*#__PURE__*/React.createElement(React.Fragment, null))), /*#__PURE__*/React.createElement(FlatList, {
|
|
525
511
|
data: team_event_ids,
|