be-components 3.3.6 → 3.3.7
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 +21 -28
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/LoginForm.js +93 -109
- package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +246 -342
- 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 +19 -26
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/module/Authenticator/Components/LoginForm.js +54 -70
- package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/module/Authenticator/Components/StrategyForm.js +227 -322
- 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.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 +40 -40
- package/src/Authenticator/Components/LoginForm.tsx +50 -54
- package/src/Authenticator/Components/StrategyForm.tsx +135 -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,8 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { view_styles } from '../../../constants/styles';
|
|
2
|
+
import { FlatList, ActivityIndicator, Image } from 'react-native';
|
|
4
3
|
import Colors from '../../../constants/colors';
|
|
5
|
-
import {
|
|
4
|
+
import { Icons, LinearDiagnal } from '../../../Components';
|
|
6
5
|
import { MarketComponentApi, MarketComponentHelpers } from '../../api';
|
|
7
6
|
import AthleteTournamentMarket from '../AthleteTournamentMarket';
|
|
8
7
|
import TeamTournamentMarket from '../TeamTournamentMarket';
|
|
@@ -10,10 +9,14 @@ import MatchMarket from '../MatchMarket';
|
|
|
10
9
|
import moment from 'moment-mini';
|
|
11
10
|
import { TournamentMarketHelpers } from './api';
|
|
12
11
|
import { useIsInViewport } from '../../../Components/ViewportObserver';
|
|
12
|
+
import { Button, Text, TextInput, View } from '../../../Components/Themed';
|
|
13
|
+
import { useColors } from '../../../constants/useColors';
|
|
13
14
|
const TournamentMarket = ({
|
|
14
15
|
tournament,
|
|
16
|
+
float,
|
|
15
17
|
wrap_markets,
|
|
16
18
|
width,
|
|
19
|
+
style,
|
|
17
20
|
market_selector_location,
|
|
18
21
|
hide_match_liquidity,
|
|
19
22
|
show_grades,
|
|
@@ -35,6 +38,7 @@ const TournamentMarket = ({
|
|
|
35
38
|
onActivate,
|
|
36
39
|
onShare
|
|
37
40
|
}) => {
|
|
41
|
+
const C = useColors();
|
|
38
42
|
const [search_value, setSearchValue] = useState(undefined);
|
|
39
43
|
const [tournament_data, setTournamentData] = useState({
|
|
40
44
|
loading: false,
|
|
@@ -56,6 +60,7 @@ const TournamentMarket = ({
|
|
|
56
60
|
match_trades
|
|
57
61
|
} = tournament_data;
|
|
58
62
|
const [show_markets, setShowMarkets] = useState(false);
|
|
63
|
+
console.log(loaded, loading);
|
|
59
64
|
const ref = useRef(null);
|
|
60
65
|
const is_in_viewport = useIsInViewport(ref);
|
|
61
66
|
let supported_markets = markets.filter(m => tournament.supported_markets.find(sm => sm.market_id == m.market_id));
|
|
@@ -83,7 +88,7 @@ const TournamentMarket = ({
|
|
|
83
88
|
}
|
|
84
89
|
const market_width = TournamentMarketHelpers.getMarketWrapWidth(50, width, wrap_markets);
|
|
85
90
|
useEffect(() => {
|
|
86
|
-
if (
|
|
91
|
+
if (loaded || loading) {
|
|
87
92
|
return;
|
|
88
93
|
}
|
|
89
94
|
MarketComponentApi.setEnvironment();
|
|
@@ -136,12 +141,13 @@ const TournamentMarket = ({
|
|
|
136
141
|
});
|
|
137
142
|
};
|
|
138
143
|
const renderMarkets = data => {
|
|
139
|
-
return /*#__PURE__*/React.createElement(
|
|
144
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
140
145
|
style: {
|
|
141
|
-
|
|
146
|
+
flexDirection: 'row',
|
|
147
|
+
alignItems: 'center',
|
|
142
148
|
padding: 10,
|
|
143
149
|
borderBottomWidth: 1,
|
|
144
|
-
borderColor:
|
|
150
|
+
borderColor: C.borders.light
|
|
145
151
|
},
|
|
146
152
|
onPress: () => {
|
|
147
153
|
setTournamentData({
|
|
@@ -152,8 +158,7 @@ const TournamentMarket = ({
|
|
|
152
158
|
}
|
|
153
159
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
154
160
|
size: 12,
|
|
155
|
-
|
|
156
|
-
weight: "semibold"
|
|
161
|
+
theme: "h2"
|
|
157
162
|
}, data.item.type == 'Stat' ? data.item.stat_label : data.item.type));
|
|
158
163
|
};
|
|
159
164
|
const renderMatches = data => {
|
|
@@ -171,10 +176,17 @@ const TournamentMarket = ({
|
|
|
171
176
|
}
|
|
172
177
|
let m_order_stats = match_order_stats.filter(os => os.event_id == data.item.match_id && os.event_type == 'match');
|
|
173
178
|
return /*#__PURE__*/React.createElement(View, {
|
|
174
|
-
key: `${tournament.tournament_id}_${data.item.match_id}
|
|
179
|
+
key: `${tournament.tournament_id}_${data.item.match_id}`,
|
|
180
|
+
style: {
|
|
181
|
+
margin: 4
|
|
182
|
+
}
|
|
175
183
|
}, /*#__PURE__*/React.createElement(MatchMarket, {
|
|
176
184
|
match: data.item,
|
|
177
185
|
league: league,
|
|
186
|
+
float: true,
|
|
187
|
+
style: {
|
|
188
|
+
flexGrow: 1
|
|
189
|
+
},
|
|
178
190
|
away_athlete: away_athlete,
|
|
179
191
|
home_athlete: home_athlete,
|
|
180
192
|
away_team: away_team,
|
|
@@ -200,7 +212,10 @@ const TournamentMarket = ({
|
|
|
200
212
|
let team_trades = latest_trades.filter(t => t.side_type == 'team' && t.side_id == data.item.team_id);
|
|
201
213
|
let team_order_stats = event_order_stats.filter(os => os.side_type == 'team' && os.side_id == data.item.team_id);
|
|
202
214
|
return /*#__PURE__*/React.createElement(View, {
|
|
203
|
-
key: `${tournament.tournament_id}_${data.item.team_id.toString()}
|
|
215
|
+
key: `${tournament.tournament_id}_${data.item.team_id.toString()}`,
|
|
216
|
+
style: {
|
|
217
|
+
margin: 4
|
|
218
|
+
}
|
|
204
219
|
}, /*#__PURE__*/React.createElement(TeamTournamentMarket, {
|
|
205
220
|
team: data.item,
|
|
206
221
|
event_type: "tournament",
|
|
@@ -208,6 +223,7 @@ const TournamentMarket = ({
|
|
|
208
223
|
onView: onView,
|
|
209
224
|
width: wrap_markets ? market_width : undefined,
|
|
210
225
|
show_grades: show_grades,
|
|
226
|
+
float: true,
|
|
211
227
|
hide_liquidity: hide_participant_liquidity ? true : false,
|
|
212
228
|
tournament: tournament,
|
|
213
229
|
event_order_stats: team_order_stats,
|
|
@@ -226,12 +242,19 @@ const TournamentMarket = ({
|
|
|
226
242
|
let team_trades = latest_trades.filter(t => t.side_type == 'athlete' && t.side_id == data.item.athlete_id);
|
|
227
243
|
let team_order_stats = event_order_stats.filter(os => os.side_type == 'athlete' && os.side_id == data.item.athlete_id);
|
|
228
244
|
return /*#__PURE__*/React.createElement(View, {
|
|
229
|
-
key: `${tournament.tournament_id}_${data.item.athlete_id.toString()}
|
|
245
|
+
key: `${tournament.tournament_id}_${data.item.athlete_id.toString()}`,
|
|
246
|
+
style: {
|
|
247
|
+
margin: 4
|
|
248
|
+
}
|
|
230
249
|
}, /*#__PURE__*/React.createElement(AthleteTournamentMarket, {
|
|
231
250
|
athlete: data.item,
|
|
232
251
|
event_type: "tournament",
|
|
233
252
|
onTradeLongPress: onTradeLongPress,
|
|
234
253
|
onView: onView,
|
|
254
|
+
float: true,
|
|
255
|
+
style: {
|
|
256
|
+
flexGrow: 1
|
|
257
|
+
},
|
|
235
258
|
show_grades: show_grades,
|
|
236
259
|
hide_liquidity: hide_participant_liquidity ? true : false,
|
|
237
260
|
tournament: tournament,
|
|
@@ -245,15 +268,21 @@ const TournamentMarket = ({
|
|
|
245
268
|
}));
|
|
246
269
|
};
|
|
247
270
|
return /*#__PURE__*/React.createElement(View, {
|
|
248
|
-
|
|
249
|
-
style: {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
borderColor: Colors.shades.shade600
|
|
253
|
-
}
|
|
271
|
+
float: float,
|
|
272
|
+
style: [{
|
|
273
|
+
borderRadius: 8
|
|
274
|
+
}, style]
|
|
254
275
|
}, /*#__PURE__*/React.createElement(View, {
|
|
276
|
+
type: "header",
|
|
277
|
+
transparent: true,
|
|
278
|
+
nativeID: "event_header_data",
|
|
255
279
|
style: {
|
|
256
|
-
|
|
280
|
+
flexDirection: 'row',
|
|
281
|
+
alignItems: 'center',
|
|
282
|
+
flexWrap: 'wrap',
|
|
283
|
+
padding: 10,
|
|
284
|
+
borderBottomWidth: 1,
|
|
285
|
+
borderBottomColor: C.borders.light
|
|
257
286
|
}
|
|
258
287
|
}, league ? /*#__PURE__*/React.createElement(Image, {
|
|
259
288
|
source: {
|
|
@@ -266,16 +295,17 @@ const TournamentMarket = ({
|
|
|
266
295
|
},
|
|
267
296
|
resizeMode: "cover"
|
|
268
297
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
298
|
+
transparent: true,
|
|
269
299
|
style: {
|
|
270
300
|
flex: 1
|
|
271
301
|
}
|
|
272
302
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
273
|
-
theme: "
|
|
303
|
+
theme: "h2"
|
|
274
304
|
}, tournament.tournament_name), /*#__PURE__*/React.createElement(Text, {
|
|
275
305
|
style: {
|
|
276
306
|
marginTop: 3
|
|
277
307
|
},
|
|
278
|
-
theme: "
|
|
308
|
+
theme: "description"
|
|
279
309
|
}, moment(tournament.scheduled_datetime).format('MMM DD YYYY'))), onActivate && tournament.status != 'closed' ? /*#__PURE__*/React.createElement(Button, {
|
|
280
310
|
title: 'Refresh',
|
|
281
311
|
style: {
|
|
@@ -287,63 +317,66 @@ const TournamentMarket = ({
|
|
|
287
317
|
title_color: Colors.shades.white,
|
|
288
318
|
backgroundColor: Colors.utility.success,
|
|
289
319
|
onPress: () => onActivate(tournament.tournament_id, 'tournament')
|
|
290
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(
|
|
320
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(Button, {
|
|
291
321
|
style: {
|
|
292
322
|
marginLeft: 10
|
|
293
323
|
},
|
|
294
324
|
onPress: () => onShare(tournament)
|
|
295
325
|
}, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
|
|
296
326
|
size: 14,
|
|
297
|
-
color:
|
|
327
|
+
color: C.text.action
|
|
298
328
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null)), loading || !loaded ? /*#__PURE__*/React.createElement(View, {
|
|
329
|
+
transparent: true,
|
|
299
330
|
style: {
|
|
300
331
|
padding: 20
|
|
301
332
|
}
|
|
302
333
|
}, /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
303
334
|
size: 'large',
|
|
304
|
-
color:
|
|
305
|
-
})) : /*#__PURE__*/React.createElement(View,
|
|
335
|
+
color: C.text.h1
|
|
336
|
+
})) : /*#__PURE__*/React.createElement(View, {
|
|
337
|
+
type: "body",
|
|
338
|
+
transparent: true,
|
|
306
339
|
style: {
|
|
307
|
-
|
|
308
|
-
paddingLeft: 10,
|
|
309
|
-
paddingRight: 10,
|
|
310
|
-
zIndex: 1,
|
|
311
|
-
backgroundColor: Colors.shades.shade100
|
|
340
|
+
flexGrow: 1
|
|
312
341
|
}
|
|
313
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
342
|
+
}, market_selector_location == 'top_right' ? /*#__PURE__*/React.createElement(View, {
|
|
343
|
+
transparent: true,
|
|
314
344
|
style: {
|
|
315
345
|
flexDirection: 'row',
|
|
316
346
|
alignItems: 'center',
|
|
347
|
+
padding: 10,
|
|
348
|
+
zIndex: 1
|
|
349
|
+
}
|
|
350
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
351
|
+
type: "input",
|
|
352
|
+
style: {
|
|
317
353
|
flex: 1,
|
|
318
|
-
|
|
354
|
+
flexDirection: 'row',
|
|
355
|
+
alignItems: 'center'
|
|
356
|
+
}
|
|
357
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
358
|
+
transparent: true,
|
|
359
|
+
style: {
|
|
360
|
+
padding: 5,
|
|
319
361
|
paddingLeft: 10,
|
|
320
|
-
|
|
321
|
-
borderRadius: 22
|
|
362
|
+
paddingRight: 10
|
|
322
363
|
}
|
|
323
364
|
}, /*#__PURE__*/React.createElement(Icons.SearchIcon, {
|
|
324
|
-
color:
|
|
365
|
+
color: C.text.action,
|
|
325
366
|
size: 18
|
|
326
|
-
}), /*#__PURE__*/React.createElement(TextInput, {
|
|
367
|
+
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
327
368
|
style: {
|
|
328
|
-
flex: 1
|
|
329
|
-
marginLeft: 10,
|
|
330
|
-
borderRadius: 0,
|
|
331
|
-
borderTopRightRadius: 22,
|
|
332
|
-
borderBottomRightRadius: 22
|
|
369
|
+
flex: 1
|
|
333
370
|
},
|
|
371
|
+
transparent: true,
|
|
334
372
|
placeholder: "Search athletes, teams, matches ...",
|
|
335
|
-
placeholderTextColor: Colors.accents.accent200,
|
|
336
373
|
onChangeText: text => setSearchValue(text)
|
|
337
|
-
})), /*#__PURE__*/React.createElement(
|
|
374
|
+
})), /*#__PURE__*/React.createElement(Button, {
|
|
375
|
+
float: true,
|
|
338
376
|
style: {
|
|
339
377
|
flexDirection: 'row',
|
|
340
378
|
alignItems: 'center',
|
|
341
|
-
|
|
342
|
-
borderWidth: 1,
|
|
343
|
-
borderColor: Colors.shades.shade600,
|
|
344
|
-
borderRadius: 4,
|
|
345
|
-
padding: 10,
|
|
346
|
-
...view_styles.float
|
|
379
|
+
marginLeft: 5
|
|
347
380
|
},
|
|
348
381
|
onPress: () => setShowMarkets(!show_markets)
|
|
349
382
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -351,39 +384,49 @@ const TournamentMarket = ({
|
|
|
351
384
|
marginRight: 10
|
|
352
385
|
},
|
|
353
386
|
size: 14,
|
|
354
|
-
color:
|
|
387
|
+
color: C.text.h1
|
|
355
388
|
}, active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
356
|
-
color:
|
|
389
|
+
color: C.text.h1,
|
|
357
390
|
size: 14
|
|
358
391
|
})), show_markets ? /*#__PURE__*/React.createElement(View, {
|
|
392
|
+
transparent: true,
|
|
393
|
+
float: true,
|
|
359
394
|
style: {
|
|
360
|
-
...view_styles.section,
|
|
361
395
|
position: 'absolute',
|
|
362
396
|
top: 5,
|
|
363
397
|
right: 5,
|
|
364
398
|
minWidth: 175
|
|
365
399
|
}
|
|
366
400
|
}, /*#__PURE__*/React.createElement(View, {
|
|
401
|
+
type: "header",
|
|
367
402
|
style: {
|
|
368
|
-
|
|
369
|
-
|
|
403
|
+
flexDirection: 'row',
|
|
404
|
+
alignItems: 'center',
|
|
405
|
+
padding: 5,
|
|
406
|
+
borderTopRightRadius: 8,
|
|
407
|
+
borderTopLeftRadius: 8
|
|
370
408
|
}
|
|
371
409
|
}, /*#__PURE__*/React.createElement(View, {
|
|
410
|
+
transparent: true,
|
|
372
411
|
style: {
|
|
373
412
|
flex: 1
|
|
374
413
|
}
|
|
375
414
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
376
|
-
theme: "
|
|
415
|
+
theme: "h2"
|
|
377
416
|
}, "Select Market")), /*#__PURE__*/React.createElement(Button, {
|
|
378
417
|
title: "X",
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
418
|
+
title_color: C.text.action,
|
|
419
|
+
style: {
|
|
420
|
+
borderRadius: 100,
|
|
421
|
+
padding: 5,
|
|
422
|
+
paddingLeft: 10,
|
|
423
|
+
paddingRight: 10
|
|
424
|
+
},
|
|
425
|
+
type: "close",
|
|
383
426
|
onPress: () => setShowMarkets(false)
|
|
384
427
|
})), /*#__PURE__*/React.createElement(View, {
|
|
428
|
+
transparent: true,
|
|
385
429
|
style: {
|
|
386
|
-
...view_styles.section_body,
|
|
387
430
|
padding: 10
|
|
388
431
|
}
|
|
389
432
|
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
@@ -402,12 +445,11 @@ const TournamentMarket = ({
|
|
|
402
445
|
}, /*#__PURE__*/React.createElement(LinearDiagnal, {
|
|
403
446
|
label_size: 14,
|
|
404
447
|
label: active_type == 'futures' ? 'FUTURES' : 'MATCHES',
|
|
405
|
-
left_color:
|
|
406
|
-
right_color:
|
|
448
|
+
left_color: C.text.warning,
|
|
449
|
+
right_color: C.text.error
|
|
407
450
|
})), active_type == 'matches' && show_futures || active_type == 'futures' && show_matches ? /*#__PURE__*/React.createElement(Button, {
|
|
408
451
|
title: `SEE ${active_type == 'futures' ? 'MATCHES' : 'FUTURES'}`,
|
|
409
|
-
|
|
410
|
-
title_color: Colors.brand.electric,
|
|
452
|
+
type: "close",
|
|
411
453
|
onPress: () => {
|
|
412
454
|
let new_active_market = active_market;
|
|
413
455
|
if (active_type == 'futures') {
|
|
@@ -422,7 +464,13 @@ const TournamentMarket = ({
|
|
|
422
464
|
active_market: new_active_market
|
|
423
465
|
});
|
|
424
466
|
}
|
|
425
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null)), active_type == 'futures' && show_teams && teams.length > 0 ? /*#__PURE__*/React.createElement(View,
|
|
467
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null)), active_type == 'futures' && show_teams && teams.length > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
468
|
+
transparent: true,
|
|
469
|
+
style: {
|
|
470
|
+
padding: 10
|
|
471
|
+
}
|
|
472
|
+
}, wrap_markets ? /*#__PURE__*/React.createElement(View, {
|
|
473
|
+
transparent: true,
|
|
426
474
|
style: {
|
|
427
475
|
flexDirection: 'row',
|
|
428
476
|
flexWrap: 'wrap',
|
|
@@ -433,12 +481,18 @@ const TournamentMarket = ({
|
|
|
433
481
|
item: t,
|
|
434
482
|
index: i
|
|
435
483
|
});
|
|
436
|
-
}))
|
|
484
|
+
})) : /*#__PURE__*/React.createElement(FlatList, {
|
|
437
485
|
data: sorted_teams,
|
|
438
486
|
renderItem: renderTeams,
|
|
439
487
|
horizontal: true,
|
|
440
488
|
keyExtractor: item => item.team_id.toString()
|
|
441
|
-
})) : /*#__PURE__*/React.createElement(React.Fragment, null), active_type == 'futures' && show_athletes && athletes.length > 0 ? /*#__PURE__*/React.createElement(View,
|
|
489
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null), active_type == 'futures' && show_athletes && athletes.length > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
490
|
+
transparent: true,
|
|
491
|
+
style: {
|
|
492
|
+
padding: 10
|
|
493
|
+
}
|
|
494
|
+
}, wrap_markets ? /*#__PURE__*/React.createElement(View, {
|
|
495
|
+
transparent: true,
|
|
442
496
|
style: {
|
|
443
497
|
flexDirection: 'row',
|
|
444
498
|
flexWrap: 'wrap',
|
|
@@ -454,7 +508,13 @@ const TournamentMarket = ({
|
|
|
454
508
|
renderItem: renderAthletes,
|
|
455
509
|
horizontal: true,
|
|
456
510
|
keyExtractor: item => item.athlete_id.toString()
|
|
457
|
-
})) : active_type == 'matches' && show_matches && matches.length > 0 ? /*#__PURE__*/React.createElement(View,
|
|
511
|
+
})) : active_type == 'matches' && show_matches && matches.length > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
512
|
+
transparent: true,
|
|
513
|
+
style: {
|
|
514
|
+
padding: 10
|
|
515
|
+
}
|
|
516
|
+
}, wrap_markets ? /*#__PURE__*/React.createElement(View, {
|
|
517
|
+
transparent: true,
|
|
458
518
|
style: {
|
|
459
519
|
flexDirection: 'row',
|
|
460
520
|
flexWrap: 'wrap',
|
|
@@ -471,20 +531,20 @@ const TournamentMarket = ({
|
|
|
471
531
|
keyExtractor: item => item.match_id.toString(),
|
|
472
532
|
horizontal: true
|
|
473
533
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
534
|
+
type: "footer",
|
|
474
535
|
style: {
|
|
475
|
-
backgroundColor: Colors.shades.shade100,
|
|
476
|
-
padding: 10,
|
|
477
536
|
flexDirection: 'row',
|
|
478
537
|
alignItems: 'center',
|
|
479
|
-
|
|
538
|
+
padding: 10,
|
|
480
539
|
borderBottomLeftRadius: 8,
|
|
481
540
|
borderBottomRightRadius: 8
|
|
482
541
|
}
|
|
483
|
-
}, !hide_liquidity ? /*#__PURE__*/React.createElement(
|
|
542
|
+
}, !hide_liquidity ? /*#__PURE__*/React.createElement(Button, {
|
|
543
|
+
transparent: true,
|
|
484
544
|
style: {
|
|
485
|
-
|
|
545
|
+
flexGrow: 1,
|
|
486
546
|
flexDirection: 'row',
|
|
487
|
-
|
|
547
|
+
padding: 10
|
|
488
548
|
},
|
|
489
549
|
onPress: () => {
|
|
490
550
|
if (!active_market) {
|
|
@@ -493,42 +553,44 @@ const TournamentMarket = ({
|
|
|
493
553
|
onViewAdditionalMarkets(tournament.tournament_id, 'tournament');
|
|
494
554
|
}
|
|
495
555
|
}, /*#__PURE__*/React.createElement(View, {
|
|
556
|
+
float: true,
|
|
496
557
|
style: {
|
|
497
|
-
backgroundColor: Colors.shades.white,
|
|
498
558
|
height: 30,
|
|
499
559
|
width: 30,
|
|
500
560
|
borderRadius: 100,
|
|
501
561
|
justifyContent: 'center',
|
|
502
|
-
alignItems: 'center'
|
|
503
|
-
...view_styles.float
|
|
562
|
+
alignItems: 'center'
|
|
504
563
|
}
|
|
505
564
|
}, /*#__PURE__*/React.createElement(Icons.LiquidityIcon, {
|
|
506
|
-
color:
|
|
565
|
+
color: C.text.h1,
|
|
507
566
|
size: 30
|
|
508
567
|
})), /*#__PURE__*/React.createElement(View, {
|
|
568
|
+
transparent: true,
|
|
509
569
|
style: {
|
|
510
|
-
marginLeft:
|
|
570
|
+
marginLeft: 10
|
|
511
571
|
}
|
|
512
572
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
513
|
-
theme: "
|
|
514
|
-
}, "
|
|
573
|
+
theme: "description"
|
|
574
|
+
}, "Liquidity"), /*#__PURE__*/React.createElement(Text, {
|
|
515
575
|
size: 12,
|
|
516
|
-
|
|
576
|
+
style: {
|
|
577
|
+
marginTop: 3
|
|
578
|
+
},
|
|
579
|
+
color: C.text.highlight,
|
|
517
580
|
weight: "semibold"
|
|
518
581
|
}, "$", liquidity.toFixed(), " ", open_order_count, " Orders"))) : /*#__PURE__*/React.createElement(View, {
|
|
582
|
+
transparent: true,
|
|
519
583
|
style: {
|
|
520
584
|
flex: 1
|
|
521
585
|
}
|
|
522
|
-
}), !market_selector_location ? /*#__PURE__*/React.createElement(View,
|
|
586
|
+
}), !market_selector_location ? /*#__PURE__*/React.createElement(View, {
|
|
587
|
+
transparent: true
|
|
588
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
589
|
+
float: true,
|
|
523
590
|
style: {
|
|
524
591
|
flexDirection: 'row',
|
|
525
592
|
alignItems: 'center',
|
|
526
|
-
|
|
527
|
-
borderWidth: 1,
|
|
528
|
-
borderColor: Colors.shades.shade600,
|
|
529
|
-
borderRadius: 4,
|
|
530
|
-
padding: 10,
|
|
531
|
-
...view_styles.float
|
|
593
|
+
marginLeft: 5
|
|
532
594
|
},
|
|
533
595
|
onPress: () => setShowMarkets(!show_markets)
|
|
534
596
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -536,39 +598,49 @@ const TournamentMarket = ({
|
|
|
536
598
|
marginRight: 10
|
|
537
599
|
},
|
|
538
600
|
size: 14,
|
|
539
|
-
color:
|
|
601
|
+
color: C.text.h1
|
|
540
602
|
}, active_market?.type == 'Stat' ? active_market.stat_label : active_market?.type), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
541
|
-
color:
|
|
603
|
+
color: C.text.h1,
|
|
542
604
|
size: 14
|
|
543
605
|
})), show_markets ? /*#__PURE__*/React.createElement(View, {
|
|
606
|
+
transparent: true,
|
|
607
|
+
float: true,
|
|
544
608
|
style: {
|
|
545
|
-
...view_styles.section,
|
|
546
609
|
position: 'absolute',
|
|
547
610
|
bottom: 5,
|
|
548
611
|
right: 5,
|
|
549
612
|
minWidth: 175
|
|
550
613
|
}
|
|
551
614
|
}, /*#__PURE__*/React.createElement(View, {
|
|
615
|
+
type: "header",
|
|
552
616
|
style: {
|
|
553
|
-
|
|
554
|
-
|
|
617
|
+
flexDirection: 'row',
|
|
618
|
+
alignItems: 'center',
|
|
619
|
+
padding: 5,
|
|
620
|
+
borderTopRightRadius: 8,
|
|
621
|
+
borderTopLeftRadius: 8
|
|
555
622
|
}
|
|
556
623
|
}, /*#__PURE__*/React.createElement(View, {
|
|
624
|
+
transparent: true,
|
|
557
625
|
style: {
|
|
558
626
|
flex: 1
|
|
559
627
|
}
|
|
560
628
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
561
|
-
theme: "
|
|
629
|
+
theme: "h2"
|
|
562
630
|
}, "Select Market")), /*#__PURE__*/React.createElement(Button, {
|
|
563
631
|
title: "X",
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
632
|
+
title_color: C.text.action,
|
|
633
|
+
style: {
|
|
634
|
+
borderRadius: 100,
|
|
635
|
+
padding: 5,
|
|
636
|
+
paddingLeft: 10,
|
|
637
|
+
paddingRight: 10
|
|
638
|
+
},
|
|
639
|
+
type: "close",
|
|
568
640
|
onPress: () => setShowMarkets(false)
|
|
569
641
|
})), /*#__PURE__*/React.createElement(View, {
|
|
642
|
+
transparent: true,
|
|
570
643
|
style: {
|
|
571
|
-
...view_styles.section_body,
|
|
572
644
|
padding: 10
|
|
573
645
|
}
|
|
574
646
|
}, /*#__PURE__*/React.createElement(FlatList, {
|