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,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Image, FlatList, ActivityIndicator, ScrollView } from 'react-native';
|
|
3
3
|
import { view_styles } from '../../../constants/styles';
|
|
4
|
-
import {
|
|
4
|
+
import { Icons, LinearDiagnal } from '../../../Components';
|
|
5
5
|
import { TeamEventMarketHelpers } from './api';
|
|
6
6
|
import MarketButton from '../../components/MarketButton';
|
|
7
7
|
import Colors from '../../../constants/colors';
|
|
@@ -13,9 +13,12 @@ import { LinearGradient } from 'expo-linear-gradient';
|
|
|
13
13
|
import { useIsInViewport } from '../../../Components/ViewportObserver';
|
|
14
14
|
import ContestStatsCard from '../ContestStats';
|
|
15
15
|
import PodcastCard from '../PodcastCard';
|
|
16
|
+
import { Button, Text, View } from '../../../Components/Themed';
|
|
17
|
+
import { useColors } from '../../../constants/useColors';
|
|
16
18
|
const TeamEventMarket = ({
|
|
17
19
|
event,
|
|
18
20
|
league,
|
|
21
|
+
float,
|
|
19
22
|
style,
|
|
20
23
|
init_expanded,
|
|
21
24
|
hot_markets_direction,
|
|
@@ -44,12 +47,7 @@ const TeamEventMarket = ({
|
|
|
44
47
|
onShare,
|
|
45
48
|
onPodcastSelect
|
|
46
49
|
}) => {
|
|
47
|
-
|
|
48
|
-
...styles.container_style
|
|
49
|
-
};
|
|
50
|
-
if (style) {
|
|
51
|
-
set_style = style;
|
|
52
|
-
}
|
|
50
|
+
const C = useColors();
|
|
53
51
|
const [market_width, setMarketWidth] = useState(180);
|
|
54
52
|
const [expanded_data, setExpandedData] = useState({
|
|
55
53
|
loaded: false,
|
|
@@ -171,12 +169,13 @@ const TeamEventMarket = ({
|
|
|
171
169
|
return setSquaresExpanded(true);
|
|
172
170
|
};
|
|
173
171
|
const renderCompetitions = data => {
|
|
174
|
-
return /*#__PURE__*/React.createElement(
|
|
172
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
173
|
+
type: "text",
|
|
175
174
|
style: {
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
flexDirection: 'row',
|
|
176
|
+
alignItems: 'center',
|
|
178
177
|
borderBottomWidth: 1,
|
|
179
|
-
borderColor:
|
|
178
|
+
borderColor: C.borders.light
|
|
180
179
|
},
|
|
181
180
|
onPress: () => {
|
|
182
181
|
setCompetitionsExpanded(false);
|
|
@@ -192,28 +191,30 @@ const TeamEventMarket = ({
|
|
|
192
191
|
},
|
|
193
192
|
resizeMode: "cover"
|
|
194
193
|
}), /*#__PURE__*/React.createElement(View, {
|
|
194
|
+
transparent: true,
|
|
195
195
|
style: {
|
|
196
196
|
flex: 1,
|
|
197
197
|
marginLeft: 10
|
|
198
198
|
}
|
|
199
199
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
200
|
-
theme: "
|
|
200
|
+
theme: "description"
|
|
201
201
|
}, data.item.competition_name)), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
202
202
|
direction: "right",
|
|
203
203
|
size: 10,
|
|
204
|
-
color:
|
|
204
|
+
color: C.text.h1
|
|
205
205
|
}));
|
|
206
206
|
};
|
|
207
207
|
const renderSquaresCompetitions = data => {
|
|
208
|
-
return /*#__PURE__*/React.createElement(
|
|
208
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
209
|
+
type: "text",
|
|
209
210
|
style: {
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
flexDirection: 'row',
|
|
212
|
+
alignItems: 'center',
|
|
212
213
|
borderBottomWidth: 1,
|
|
213
|
-
borderColor:
|
|
214
|
+
borderColor: C.borders.light
|
|
214
215
|
},
|
|
215
216
|
onPress: () => {
|
|
216
|
-
|
|
217
|
+
setCompetitionsExpanded(false);
|
|
217
218
|
onSquaresSelect(data.item.sq_comp_id);
|
|
218
219
|
}
|
|
219
220
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
@@ -226,16 +227,17 @@ const TeamEventMarket = ({
|
|
|
226
227
|
},
|
|
227
228
|
resizeMode: "cover"
|
|
228
229
|
}), /*#__PURE__*/React.createElement(View, {
|
|
230
|
+
transparent: true,
|
|
229
231
|
style: {
|
|
230
232
|
flex: 1,
|
|
231
233
|
marginLeft: 10
|
|
232
234
|
}
|
|
233
235
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
234
|
-
theme: "
|
|
236
|
+
theme: "description"
|
|
235
237
|
}, data.item.sq_comp_name)), /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
236
238
|
direction: "right",
|
|
237
239
|
size: 10,
|
|
238
|
-
color:
|
|
240
|
+
color: C.text.h1
|
|
239
241
|
}));
|
|
240
242
|
};
|
|
241
243
|
const renderSides = useCallback(data => {
|
|
@@ -252,6 +254,7 @@ const TeamEventMarket = ({
|
|
|
252
254
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
253
255
|
}
|
|
254
256
|
return /*#__PURE__*/React.createElement(View, {
|
|
257
|
+
transparent: true,
|
|
255
258
|
key: `${event.event_id}_${data.item.side}`,
|
|
256
259
|
style: {
|
|
257
260
|
margin: 2,
|
|
@@ -280,6 +283,7 @@ const TeamEventMarket = ({
|
|
|
280
283
|
}, [JSON.stringify(best_available_orders), JSON.stringify(latest_trades), primary_width]);
|
|
281
284
|
const renderMarketHeaders = useCallback(data => {
|
|
282
285
|
return /*#__PURE__*/React.createElement(View, {
|
|
286
|
+
transparent: true,
|
|
283
287
|
style: {
|
|
284
288
|
width: primary_width,
|
|
285
289
|
marginLeft: 2,
|
|
@@ -287,7 +291,7 @@ const TeamEventMarket = ({
|
|
|
287
291
|
}
|
|
288
292
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
289
293
|
size: 12,
|
|
290
|
-
color:
|
|
294
|
+
color: C.text.h1,
|
|
291
295
|
textAlign: "center"
|
|
292
296
|
}, data.item.type.toUpperCase()));
|
|
293
297
|
}, [primary_markets.length, primary_width]);
|
|
@@ -320,6 +324,7 @@ const TeamEventMarket = ({
|
|
|
320
324
|
const athlete_trades = latest_trades.filter(t => t.market_type == 'FOR_MONEY' && t.market_id == data.item.market_id && t.side_type == 'athlete' && t.side_id == data.item.side_id);
|
|
321
325
|
const athlete_orders = best_available_orders.filter(t => t.market_id == data.item.market_id && t.side_type == 'athlete' && t.side_id == data.item.side_id);
|
|
322
326
|
return /*#__PURE__*/React.createElement(View, {
|
|
327
|
+
transparent: true,
|
|
323
328
|
style: {
|
|
324
329
|
flexGrow: 1
|
|
325
330
|
}
|
|
@@ -327,6 +332,7 @@ const TeamEventMarket = ({
|
|
|
327
332
|
event: event,
|
|
328
333
|
event_type: "team",
|
|
329
334
|
athlete: athlete,
|
|
335
|
+
float: true,
|
|
330
336
|
direction: hot_markets_direction == 'vertical' ? 'horizontal' : 'vertical',
|
|
331
337
|
show_grades: show_grades,
|
|
332
338
|
market: market,
|
|
@@ -342,9 +348,15 @@ const TeamEventMarket = ({
|
|
|
342
348
|
case 'event':
|
|
343
349
|
const event_trades = latest_trades.filter(t => t.market_type == 'FOR_MONEY' && t.market_id == data.item.market_id);
|
|
344
350
|
const event_orders = best_available_orders.filter(t => t.market_id == data.item.market_id);
|
|
345
|
-
return /*#__PURE__*/React.createElement(View,
|
|
351
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
352
|
+
transparent: true,
|
|
353
|
+
style: {
|
|
354
|
+
flexGrow: 1
|
|
355
|
+
}
|
|
356
|
+
}, /*#__PURE__*/React.createElement(EventMarket, {
|
|
346
357
|
event: event,
|
|
347
358
|
market: market,
|
|
359
|
+
float: true,
|
|
348
360
|
direction: hot_markets_direction == 'vertical' ? 'horizontal' : 'vertical',
|
|
349
361
|
hide_liquidity: hide_liquidity,
|
|
350
362
|
onTradeLongPress: onTradeLongPress,
|
|
@@ -362,7 +374,9 @@ const TeamEventMarket = ({
|
|
|
362
374
|
}, [athletes.length, JSON.stringify(best_available_orders), JSON.stringify(latest_trades)]);
|
|
363
375
|
const renderPrimaryMarkets = useCallback(data => {
|
|
364
376
|
const is_locked = MarketComponentHelpers.isEventMarketLocked(event, data.item.market_id);
|
|
365
|
-
return /*#__PURE__*/React.createElement(View,
|
|
377
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
378
|
+
transparent: true
|
|
379
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
366
380
|
key: `${event.event_id}_side_options`,
|
|
367
381
|
scrollEnabled: false,
|
|
368
382
|
data: data.item.side_options.sort((a, b) => {
|
|
@@ -394,8 +408,8 @@ const TeamEventMarket = ({
|
|
|
394
408
|
available
|
|
395
409
|
} = useMemo(() => TeamEventMarketHelpers.sortNonPrimaryMarkets(TeamEventMarketHelpers.getNonPrimaryMarkets(event, markets), event_order_stats, latest_trades), []);
|
|
396
410
|
return /*#__PURE__*/React.createElement(View, {
|
|
397
|
-
|
|
398
|
-
style:
|
|
411
|
+
float: float,
|
|
412
|
+
style: [style]
|
|
399
413
|
}, sponsor ? /*#__PURE__*/React.createElement(LinearGradient, {
|
|
400
414
|
style: {
|
|
401
415
|
marginTop: -1,
|
|
@@ -415,7 +429,7 @@ const TeamEventMarket = ({
|
|
|
415
429
|
x: 1,
|
|
416
430
|
y: 0
|
|
417
431
|
},
|
|
418
|
-
colors: [sponsor.brand_primary ??
|
|
432
|
+
colors: [sponsor.brand_primary ?? C.text.h1, sponsor.brand_secondary ?? C.text.h1]
|
|
419
433
|
}, /*#__PURE__*/React.createElement(View, {
|
|
420
434
|
style: {
|
|
421
435
|
height: 30,
|
|
@@ -487,15 +501,17 @@ const TeamEventMarket = ({
|
|
|
487
501
|
title_color: Colors.shades.white,
|
|
488
502
|
backgroundColor: Colors.utility.success,
|
|
489
503
|
onPress: () => onActivate(event.event_id, 'team')
|
|
490
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(
|
|
504
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(Button, {
|
|
505
|
+
type: "text",
|
|
491
506
|
style: {
|
|
492
507
|
marginLeft: 10
|
|
493
508
|
},
|
|
494
509
|
onPress: () => onShare(event)
|
|
495
510
|
}, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
|
|
496
511
|
size: 14,
|
|
497
|
-
color:
|
|
512
|
+
color: C.text.action
|
|
498
513
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, {
|
|
514
|
+
transparent: true,
|
|
499
515
|
nativeID: "event_header_data",
|
|
500
516
|
style: {
|
|
501
517
|
flexDirection: 'row',
|
|
@@ -503,9 +519,10 @@ const TeamEventMarket = ({
|
|
|
503
519
|
flexWrap: 'wrap',
|
|
504
520
|
padding: 10,
|
|
505
521
|
borderBottomWidth: 1,
|
|
506
|
-
borderBottomColor:
|
|
522
|
+
borderBottomColor: C.borders.light
|
|
507
523
|
}
|
|
508
524
|
}, /*#__PURE__*/React.createElement(View, {
|
|
525
|
+
transparent: true,
|
|
509
526
|
style: {
|
|
510
527
|
flex: 1,
|
|
511
528
|
flexDirection: 'row',
|
|
@@ -527,96 +544,94 @@ const TeamEventMarket = ({
|
|
|
527
544
|
marginLeft: 2,
|
|
528
545
|
marginRight: 3
|
|
529
546
|
},
|
|
530
|
-
|
|
531
|
-
color: Colors.brand.midnight,
|
|
532
|
-
weight: "semibold",
|
|
547
|
+
theme: "description",
|
|
533
548
|
selectable: true
|
|
534
549
|
}, event.event_id, " ") : /*#__PURE__*/React.createElement(React.Fragment, null), event.event_sub_title ? /*#__PURE__*/React.createElement(Text, {
|
|
535
550
|
size: 12,
|
|
536
|
-
|
|
537
|
-
weight: "semibold"
|
|
551
|
+
theme: "description"
|
|
538
552
|
}, event.event_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
539
553
|
style: {
|
|
540
554
|
flexDirection: 'row',
|
|
541
555
|
alignItems: 'center'
|
|
542
556
|
}
|
|
543
557
|
}, /*#__PURE__*/React.createElement(Icons.TVIcon, {
|
|
544
|
-
size:
|
|
545
|
-
color:
|
|
558
|
+
size: 16,
|
|
559
|
+
color: C.text.h1
|
|
546
560
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
547
561
|
style: {
|
|
548
562
|
marginLeft: 8
|
|
549
563
|
},
|
|
550
|
-
|
|
551
|
-
color: Colors.brand.midnight,
|
|
552
|
-
weight: "semibold"
|
|
564
|
+
theme: "description"
|
|
553
565
|
}, event.info?.broadcast?.network)), onActivate && event_status != 'closed' ? /*#__PURE__*/React.createElement(Button, {
|
|
554
566
|
title: event_status == 'active' ? 'Refresh' : 'Activate',
|
|
555
567
|
style: {
|
|
556
568
|
opacity: activate_loading ? 0.5 : 1,
|
|
557
|
-
marginLeft: 5
|
|
569
|
+
marginLeft: 5,
|
|
570
|
+
padding: 10
|
|
558
571
|
},
|
|
559
572
|
disabled: activate_loading,
|
|
560
573
|
loading: activate_loading,
|
|
561
|
-
|
|
562
|
-
backgroundColor: Colors.utility.success,
|
|
574
|
+
type: "success",
|
|
563
575
|
onPress: () => onActivate(event.event_id, 'team')
|
|
564
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(
|
|
576
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), onShare ? /*#__PURE__*/React.createElement(Button, {
|
|
577
|
+
type: "text",
|
|
565
578
|
style: {
|
|
566
579
|
marginLeft: 10
|
|
567
580
|
},
|
|
568
581
|
onPress: () => onShare(event)
|
|
569
582
|
}, /*#__PURE__*/React.createElement(Icons.ShareIcon, {
|
|
570
583
|
size: 14,
|
|
571
|
-
color:
|
|
584
|
+
color: C.text.action
|
|
572
585
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
586
|
+
transparent: true,
|
|
573
587
|
nativeID: "primary_markets",
|
|
574
588
|
style: {
|
|
575
589
|
flexDirection: 'row'
|
|
576
590
|
}
|
|
577
591
|
}, /*#__PURE__*/React.createElement(View, {
|
|
592
|
+
transparent: true,
|
|
578
593
|
nativeID: "team_details",
|
|
579
594
|
style: {
|
|
580
595
|
flex: 1,
|
|
581
596
|
padding: 5,
|
|
582
597
|
paddingRight: 0
|
|
583
598
|
}
|
|
584
|
-
}, /*#__PURE__*/React.createElement(
|
|
599
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
600
|
+
transparent: true,
|
|
585
601
|
style: {
|
|
586
602
|
flexDirection: 'row',
|
|
587
603
|
alignItems: 'center',
|
|
588
604
|
marginTop: 5,
|
|
589
605
|
marginBottom: 5,
|
|
590
606
|
marginLeft: 10
|
|
591
|
-
}
|
|
592
|
-
onPress: () => setShowStats(!show_stats)
|
|
607
|
+
}
|
|
593
608
|
}, show_stats ? /*#__PURE__*/React.createElement(Button, {
|
|
594
609
|
title: "X",
|
|
595
|
-
title_size: 10,
|
|
596
|
-
padding: 0,
|
|
597
610
|
style: {
|
|
598
|
-
marginRight: 5
|
|
611
|
+
marginRight: 5,
|
|
612
|
+
padding: 10
|
|
599
613
|
},
|
|
600
|
-
|
|
614
|
+
type: "error",
|
|
601
615
|
title_color: Colors.utility.error,
|
|
602
|
-
onPress: () =>
|
|
616
|
+
onPress: () => setShowStats(!show_stats)
|
|
603
617
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), !show_stats ? /*#__PURE__*/React.createElement(View, {
|
|
604
618
|
style: {
|
|
605
619
|
marginRight: 5,
|
|
606
620
|
height: 10,
|
|
607
621
|
width: 10,
|
|
608
622
|
borderRadius: 100,
|
|
609
|
-
backgroundColor: event_status == 'active' ?
|
|
623
|
+
backgroundColor: event_status == 'active' ? C.text.success : event_status == 'inactive' ? C.text.action : C.text.error
|
|
610
624
|
}
|
|
611
625
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Text, {
|
|
612
626
|
size: 12,
|
|
613
|
-
color: show_stats ?
|
|
614
|
-
}, show_stats ? 'Hide Boxscore' : `${TeamEventMarketHelpers.getTimeDetail(event)}`)), /*#__PURE__*/React.createElement(
|
|
627
|
+
color: show_stats ? C.text.error : C.text.action
|
|
628
|
+
}, show_stats ? 'Hide Boxscore' : `${TeamEventMarketHelpers.getTimeDetail(event)}`)), /*#__PURE__*/React.createElement(Button, {
|
|
615
629
|
disabled: !onTeamSelect,
|
|
616
630
|
style: {
|
|
617
631
|
...view_styles.body_row,
|
|
618
632
|
minHeight: 48
|
|
619
633
|
},
|
|
634
|
+
type: "text",
|
|
620
635
|
onPress: () => onTeamSelect ? onTeamSelect(event.away_team_id) : console.log('')
|
|
621
636
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
622
637
|
source: {
|
|
@@ -628,6 +643,7 @@ const TeamEventMarket = ({
|
|
|
628
643
|
},
|
|
629
644
|
resizeMode: "cover"
|
|
630
645
|
}), /*#__PURE__*/React.createElement(View, {
|
|
646
|
+
transparent: true,
|
|
631
647
|
style: {
|
|
632
648
|
flex: 1,
|
|
633
649
|
flexDirection: 'row',
|
|
@@ -639,28 +655,30 @@ const TeamEventMarket = ({
|
|
|
639
655
|
marginRight: 3
|
|
640
656
|
},
|
|
641
657
|
size: 12,
|
|
642
|
-
color:
|
|
658
|
+
color: C.text.highlight,
|
|
643
659
|
weight: "semibold"
|
|
644
660
|
}, event.away.rank) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
661
|
+
transparent: true,
|
|
645
662
|
style: {
|
|
646
663
|
flex: 1,
|
|
647
664
|
marginRight: 5
|
|
648
665
|
}
|
|
649
666
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
650
|
-
theme: "
|
|
667
|
+
theme: "h2"
|
|
651
668
|
}, event.away.market_name, " ", event.away.name), event.away_sub_title ? /*#__PURE__*/React.createElement(Text, {
|
|
652
669
|
style: {
|
|
653
670
|
marginTop: 3
|
|
654
671
|
},
|
|
655
|
-
theme: "
|
|
672
|
+
theme: "description"
|
|
656
673
|
}, event.away_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(Text, {
|
|
657
|
-
theme: "
|
|
658
|
-
}, event.away_team_score))), /*#__PURE__*/React.createElement(
|
|
674
|
+
theme: "description"
|
|
675
|
+
}, event.away_team_score))), /*#__PURE__*/React.createElement(Button, {
|
|
659
676
|
disabled: !onTeamSelect,
|
|
660
677
|
style: {
|
|
661
678
|
...view_styles.body_row,
|
|
662
679
|
minHeight: 48
|
|
663
680
|
},
|
|
681
|
+
type: "text",
|
|
664
682
|
onPress: () => onTeamSelect ? onTeamSelect(event.home_team_id) : console.log('')
|
|
665
683
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
666
684
|
source: {
|
|
@@ -672,6 +690,7 @@ const TeamEventMarket = ({
|
|
|
672
690
|
},
|
|
673
691
|
resizeMode: "cover"
|
|
674
692
|
}), /*#__PURE__*/React.createElement(View, {
|
|
693
|
+
transparent: true,
|
|
675
694
|
style: {
|
|
676
695
|
flex: 1,
|
|
677
696
|
flexDirection: 'row',
|
|
@@ -683,23 +702,25 @@ const TeamEventMarket = ({
|
|
|
683
702
|
marginRight: 3
|
|
684
703
|
},
|
|
685
704
|
size: 12,
|
|
686
|
-
color:
|
|
705
|
+
color: C.text.highlight,
|
|
687
706
|
weight: "semibold"
|
|
688
707
|
}, event.home.rank) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
708
|
+
transparent: true,
|
|
689
709
|
style: {
|
|
690
710
|
flex: 1,
|
|
691
711
|
marginRight: 5
|
|
692
712
|
}
|
|
693
713
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
694
|
-
theme: "
|
|
714
|
+
theme: "h2"
|
|
695
715
|
}, event.home.market_name, " ", event.home.name), event.home_sub_title ? /*#__PURE__*/React.createElement(Text, {
|
|
696
716
|
style: {
|
|
697
717
|
marginTop: 3
|
|
698
718
|
},
|
|
699
|
-
theme: "
|
|
719
|
+
theme: "description"
|
|
700
720
|
}, event.home_sub_title) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(Text, {
|
|
701
|
-
theme: "
|
|
721
|
+
theme: "description"
|
|
702
722
|
}, event.home_team_score)))), event_status == 'active' ? /*#__PURE__*/React.createElement(View, {
|
|
723
|
+
transparent: true,
|
|
703
724
|
nativeID: "primary_market_details",
|
|
704
725
|
style: {
|
|
705
726
|
padding: 5,
|
|
@@ -712,6 +733,7 @@ const TeamEventMarket = ({
|
|
|
712
733
|
setMarketWidth(width);
|
|
713
734
|
}
|
|
714
735
|
}, /*#__PURE__*/React.createElement(View, {
|
|
736
|
+
transparent: true,
|
|
715
737
|
style: {
|
|
716
738
|
marginTop: 5,
|
|
717
739
|
marginBottom: 5
|
|
@@ -730,21 +752,22 @@ const TeamEventMarket = ({
|
|
|
730
752
|
scrollEnabled: false,
|
|
731
753
|
renderItem: renderPrimaryMarkets,
|
|
732
754
|
keyExtractor: item => item.market_id.toString()
|
|
733
|
-
})) : /*#__PURE__*/React.createElement(
|
|
755
|
+
})) : /*#__PURE__*/React.createElement(Button, {
|
|
734
756
|
disabled: !onActivate ? true : false,
|
|
735
757
|
style: {
|
|
736
758
|
flex: 0.5,
|
|
737
|
-
padding: 10,
|
|
738
759
|
justifyContent: 'center',
|
|
739
760
|
alignItems: 'center'
|
|
740
761
|
},
|
|
762
|
+
type: "text",
|
|
763
|
+
transparent: true,
|
|
741
764
|
onPress: () => onActivate ? onActivate(event.event_id, 'team') : console.log('')
|
|
742
765
|
}, /*#__PURE__*/React.createElement(Icons.MarketClosedIcon, {
|
|
743
766
|
size: 60,
|
|
744
|
-
color:
|
|
767
|
+
color: C.text.h1
|
|
745
768
|
}))), event_status == 'active' ? /*#__PURE__*/React.createElement(View, {
|
|
769
|
+
type: "footer",
|
|
746
770
|
style: {
|
|
747
|
-
backgroundColor: Colors.shades.shade100,
|
|
748
771
|
padding: 10,
|
|
749
772
|
flexDirection: 'row',
|
|
750
773
|
alignItems: 'center',
|
|
@@ -752,12 +775,14 @@ const TeamEventMarket = ({
|
|
|
752
775
|
borderBottomLeftRadius: 8,
|
|
753
776
|
borderBottomRightRadius: 8
|
|
754
777
|
}
|
|
755
|
-
}, !hide_liquidity ? /*#__PURE__*/React.createElement(
|
|
778
|
+
}, !hide_liquidity ? /*#__PURE__*/React.createElement(Button, {
|
|
756
779
|
style: {
|
|
757
780
|
flex: 1,
|
|
758
781
|
flexDirection: 'row',
|
|
759
|
-
minWidth: 115
|
|
782
|
+
minWidth: 115,
|
|
783
|
+
padding: 0
|
|
760
784
|
},
|
|
785
|
+
type: "text",
|
|
761
786
|
onPress: () => {
|
|
762
787
|
if (!primary_markets[0]) {
|
|
763
788
|
return;
|
|
@@ -769,126 +794,126 @@ const TeamEventMarket = ({
|
|
|
769
794
|
});
|
|
770
795
|
}
|
|
771
796
|
}, /*#__PURE__*/React.createElement(View, {
|
|
797
|
+
transparent: true,
|
|
798
|
+
float: true,
|
|
772
799
|
style: {
|
|
773
|
-
backgroundColor: Colors.shades.white,
|
|
774
800
|
height: 30,
|
|
775
801
|
width: 30,
|
|
776
802
|
borderRadius: 100,
|
|
777
803
|
justifyContent: 'center',
|
|
778
|
-
alignItems: 'center'
|
|
779
|
-
...view_styles.float
|
|
804
|
+
alignItems: 'center'
|
|
780
805
|
}
|
|
781
806
|
}, /*#__PURE__*/React.createElement(Icons.LiquidityIcon, {
|
|
782
|
-
color:
|
|
807
|
+
color: C.text.h1,
|
|
783
808
|
size: 30
|
|
784
809
|
})), /*#__PURE__*/React.createElement(View, {
|
|
810
|
+
transparent: true,
|
|
785
811
|
style: {
|
|
786
812
|
marginLeft: 5
|
|
787
813
|
}
|
|
788
814
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
789
|
-
theme: "
|
|
815
|
+
theme: "description"
|
|
790
816
|
}, "Liquidity"), /*#__PURE__*/React.createElement(Text, {
|
|
791
817
|
size: 12,
|
|
792
|
-
|
|
818
|
+
style: {
|
|
819
|
+
marginTop: 3
|
|
820
|
+
},
|
|
821
|
+
color: C.text.highlight,
|
|
793
822
|
weight: "semibold"
|
|
794
|
-
}, "$", liquidity.toFixed(), " ", open_order_count, " Orders"))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_competitions.length > 0 ? /*#__PURE__*/React.createElement(
|
|
823
|
+
}, "$", liquidity.toFixed(), " ", open_order_count, " Orders"))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_competitions.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
824
|
+
float: true,
|
|
825
|
+
type: "squares",
|
|
795
826
|
style: {
|
|
796
827
|
marginRight: 5,
|
|
797
828
|
flexDirection: 'row',
|
|
798
829
|
alignItems: 'center',
|
|
799
830
|
padding: 10,
|
|
800
|
-
borderRadius: 22
|
|
801
|
-
backgroundColor: Colors.highlights.highlight100,
|
|
802
|
-
...view_styles.float
|
|
831
|
+
borderRadius: 22
|
|
803
832
|
},
|
|
804
833
|
onPress: () => handleSelectSquares()
|
|
805
834
|
}, /*#__PURE__*/React.createElement(Icons.SquaresIcon, {
|
|
806
835
|
size: 18,
|
|
807
|
-
color:
|
|
836
|
+
color: C.text.white
|
|
808
837
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
809
838
|
style: {
|
|
810
839
|
marginLeft: 5
|
|
811
840
|
},
|
|
812
841
|
size: 14,
|
|
813
|
-
color:
|
|
842
|
+
color: C.text.white,
|
|
814
843
|
weight: "semibold"
|
|
815
|
-
}, "Squares")) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions.length > 0 ? /*#__PURE__*/React.createElement(
|
|
844
|
+
}, "Squares")) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
845
|
+
float: true,
|
|
846
|
+
type: "competition",
|
|
816
847
|
style: {
|
|
817
848
|
marginRight: 5,
|
|
818
849
|
flexDirection: 'row',
|
|
819
850
|
alignItems: 'center',
|
|
820
851
|
padding: 10,
|
|
821
|
-
borderRadius: 22
|
|
822
|
-
backgroundColor: Colors.highlights.highlight500,
|
|
823
|
-
...view_styles.float
|
|
852
|
+
borderRadius: 22
|
|
824
853
|
},
|
|
825
854
|
onPress: () => handleSelectCompetition()
|
|
826
855
|
}, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
|
|
827
856
|
size: 14,
|
|
828
|
-
color:
|
|
857
|
+
color: C.text.white
|
|
829
858
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
830
859
|
style: {
|
|
831
860
|
marginLeft: 5
|
|
832
861
|
},
|
|
833
862
|
size: 14,
|
|
834
|
-
color:
|
|
863
|
+
color: C.text.white,
|
|
835
864
|
weight: "semibold"
|
|
836
|
-
}, "MultiPick")) : /*#__PURE__*/React.createElement(React.Fragment, null), non_primary_markets.length > 0 ? /*#__PURE__*/React.createElement(
|
|
865
|
+
}, "MultiPick")) : /*#__PURE__*/React.createElement(React.Fragment, null), non_primary_markets.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
866
|
+
float: true,
|
|
837
867
|
style: {
|
|
838
868
|
height: 35,
|
|
839
869
|
width: 35,
|
|
840
870
|
justifyContent: 'center',
|
|
841
871
|
borderRadius: 100,
|
|
842
|
-
alignItems: 'center'
|
|
843
|
-
backgroundColor: Colors.shades.white,
|
|
844
|
-
...view_styles.float
|
|
872
|
+
alignItems: 'center'
|
|
845
873
|
},
|
|
846
874
|
onPress: () => expandedEvent()
|
|
847
875
|
}, /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
848
876
|
direction: expanded ? 'up' : 'down',
|
|
849
877
|
size: 8,
|
|
850
|
-
color:
|
|
878
|
+
color: C.text.h1
|
|
851
879
|
})) : available ? /*#__PURE__*/React.createElement(Button, {
|
|
852
880
|
title: "MORE",
|
|
853
|
-
|
|
854
|
-
backgroundColor: Colors.brand.electric,
|
|
881
|
+
type: "info",
|
|
855
882
|
onPress: () => onViewAdditionalMarkets(event.event_id, 'team')
|
|
856
883
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), competitions && competitions_expanded ? /*#__PURE__*/React.createElement(View, {
|
|
884
|
+
float: true,
|
|
857
885
|
style: {
|
|
858
886
|
position: 'absolute',
|
|
859
887
|
bottom: 0,
|
|
860
888
|
right: 0,
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
889
|
+
justifyContent: 'flex-end',
|
|
890
|
+
maxHeight: 230,
|
|
891
|
+
minWidth: 300
|
|
864
892
|
}
|
|
865
|
-
}, /*#__PURE__*/React.createElement(
|
|
893
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
894
|
+
type: "header",
|
|
866
895
|
style: {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
},
|
|
872
|
-
onPress: () => setCompetitionsExpanded(false)
|
|
896
|
+
flexDirection: 'row',
|
|
897
|
+
alignItems: 'center',
|
|
898
|
+
padding: 5
|
|
899
|
+
}
|
|
873
900
|
}, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
|
|
874
901
|
size: 16,
|
|
875
|
-
color:
|
|
902
|
+
color: C.text.h1
|
|
876
903
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
877
904
|
style: {
|
|
878
905
|
flex: 1,
|
|
879
906
|
marginLeft: 10
|
|
880
907
|
},
|
|
881
|
-
|
|
882
|
-
weight: "bold",
|
|
883
|
-
color: Colors.shades.white
|
|
908
|
+
theme: "h2"
|
|
884
909
|
}, "Select Competition"), /*#__PURE__*/React.createElement(Button, {
|
|
885
910
|
title: "X",
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
onPress: () =>
|
|
911
|
+
style: {
|
|
912
|
+
padding: 10,
|
|
913
|
+
borderRadius: 100
|
|
914
|
+
},
|
|
915
|
+
type: "error",
|
|
916
|
+
onPress: () => setCompetitionsExpanded(false)
|
|
892
917
|
})), /*#__PURE__*/React.createElement(ScrollView, {
|
|
893
918
|
style: {
|
|
894
919
|
flex: 1
|
|
@@ -898,41 +923,39 @@ const TeamEventMarket = ({
|
|
|
898
923
|
renderItem: renderCompetitions,
|
|
899
924
|
keyExtractor: item => item.competition_id.toString()
|
|
900
925
|
}))) : /*#__PURE__*/React.createElement(React.Fragment, null), squares_competitions && squares_expanded ? /*#__PURE__*/React.createElement(View, {
|
|
926
|
+
float: true,
|
|
901
927
|
style: {
|
|
902
928
|
position: 'absolute',
|
|
903
929
|
bottom: 0,
|
|
904
930
|
right: 0,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
931
|
+
justifyContent: 'flex-end',
|
|
932
|
+
maxHeight: 230,
|
|
933
|
+
minWidth: 300
|
|
908
934
|
}
|
|
909
|
-
}, /*#__PURE__*/React.createElement(
|
|
935
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
936
|
+
type: "header",
|
|
910
937
|
style: {
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
onPress: () => setSquaresExpanded(false)
|
|
917
|
-
}, /*#__PURE__*/React.createElement(Icons.SquaresIcon, {
|
|
938
|
+
flexDirection: 'row',
|
|
939
|
+
alignItems: 'center',
|
|
940
|
+
padding: 5
|
|
941
|
+
}
|
|
942
|
+
}, /*#__PURE__*/React.createElement(Icons.PickEmIcon, {
|
|
918
943
|
size: 16,
|
|
919
|
-
color:
|
|
944
|
+
color: C.text.h1
|
|
920
945
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
921
946
|
style: {
|
|
922
947
|
flex: 1,
|
|
923
948
|
marginLeft: 10
|
|
924
949
|
},
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
color: Colors.shades.white
|
|
928
|
-
}, "Select Squares Competition"), /*#__PURE__*/React.createElement(Button, {
|
|
950
|
+
theme: "h2"
|
|
951
|
+
}, "Select Squares"), /*#__PURE__*/React.createElement(Button, {
|
|
929
952
|
title: "X",
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
onPress: () =>
|
|
953
|
+
style: {
|
|
954
|
+
padding: 10,
|
|
955
|
+
borderRadius: 100
|
|
956
|
+
},
|
|
957
|
+
type: "error",
|
|
958
|
+
onPress: () => setSquaresExpanded(false)
|
|
936
959
|
})), /*#__PURE__*/React.createElement(ScrollView, {
|
|
937
960
|
style: {
|
|
938
961
|
flex: 1
|
|
@@ -941,12 +964,16 @@ const TeamEventMarket = ({
|
|
|
941
964
|
data: squares_competitions,
|
|
942
965
|
renderItem: renderSquaresCompetitions,
|
|
943
966
|
keyExtractor: item => item.sq_comp_id.toString()
|
|
944
|
-
}))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), expanded ? /*#__PURE__*/React.createElement(View,
|
|
967
|
+
}))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), expanded ? /*#__PURE__*/React.createElement(View, {
|
|
968
|
+
transparent: true
|
|
969
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
970
|
+
transparent: true,
|
|
945
971
|
style: {
|
|
946
972
|
flexDirection: 'row',
|
|
947
973
|
alignItems: 'center'
|
|
948
974
|
}
|
|
949
975
|
}, /*#__PURE__*/React.createElement(View, {
|
|
976
|
+
transparent: true,
|
|
950
977
|
style: {
|
|
951
978
|
flexGrow: 1
|
|
952
979
|
}
|
|
@@ -963,37 +990,38 @@ const TeamEventMarket = ({
|
|
|
963
990
|
color: Colors.brand.midnight
|
|
964
991
|
}) : /*#__PURE__*/React.createElement(Button, {
|
|
965
992
|
title: "SEE ALL",
|
|
966
|
-
|
|
967
|
-
backgroundColor: "transparent",
|
|
968
|
-
title_color: Colors.brand.electric,
|
|
993
|
+
type: "text",
|
|
969
994
|
onPress: () => onViewAdditionalMarkets(event.event_id, 'team')
|
|
970
|
-
})), /*#__PURE__*/React.createElement(View,
|
|
995
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
996
|
+
transparent: true
|
|
997
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
971
998
|
data: non_primary_markets,
|
|
972
999
|
renderItem: renderNonPrimaryMarkets,
|
|
973
1000
|
showsHorizontalScrollIndicator: false,
|
|
974
1001
|
keyExtractor: item => `${item.market_id}:${item.side_type}:${item.side_id}`,
|
|
975
1002
|
horizontal: hot_markets_direction && hot_markets_direction == 'vertical' ? false : true
|
|
976
1003
|
})), podcasts.length > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
1004
|
+
type: "footer",
|
|
977
1005
|
style: {
|
|
978
1006
|
flexDirection: 'row',
|
|
979
1007
|
marginTop: 10,
|
|
980
1008
|
borderBottomRightRadius: 8,
|
|
981
|
-
borderBottomLeftRadius: 8
|
|
982
|
-
backgroundColor: Colors.shades.shade100
|
|
1009
|
+
borderBottomLeftRadius: 8
|
|
983
1010
|
}
|
|
984
1011
|
}, /*#__PURE__*/React.createElement(View, {
|
|
1012
|
+
transparent: true,
|
|
985
1013
|
style: {
|
|
986
1014
|
padding: 5,
|
|
987
1015
|
paddingRight: 20,
|
|
988
1016
|
paddingLeft: 20,
|
|
989
1017
|
justifyContent: 'center',
|
|
990
|
-
backgroundColor: Colors.brand.midnight,
|
|
991
1018
|
borderBottomLeftRadius: 8
|
|
992
1019
|
}
|
|
993
1020
|
}, /*#__PURE__*/React.createElement(Icons.HeadphoneIcon, {
|
|
994
1021
|
size: 36,
|
|
995
|
-
color:
|
|
1022
|
+
color: C.text.h1
|
|
996
1023
|
})), /*#__PURE__*/React.createElement(View, {
|
|
1024
|
+
transparent: true,
|
|
997
1025
|
style: {
|
|
998
1026
|
flex: 1,
|
|
999
1027
|
padding: 5
|
|
@@ -1002,9 +1030,7 @@ const TeamEventMarket = ({
|
|
|
1002
1030
|
style: {
|
|
1003
1031
|
marginBottom: 3
|
|
1004
1032
|
},
|
|
1005
|
-
|
|
1006
|
-
weight: "semibold",
|
|
1007
|
-
color: Colors.brand.midnight
|
|
1033
|
+
theme: "h2"
|
|
1008
1034
|
}, "Need Help? Checkout these podcasts!"), /*#__PURE__*/React.createElement(FlatList, {
|
|
1009
1035
|
key: `${event.event_id}:pods`,
|
|
1010
1036
|
data: podcasts,
|
|
@@ -1021,13 +1047,6 @@ const TeamEventMarket = ({
|
|
|
1021
1047
|
event: event
|
|
1022
1048
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
1023
1049
|
};
|
|
1024
|
-
const styles = StyleSheet.create({
|
|
1025
|
-
container_style: {
|
|
1026
|
-
...view_styles.section,
|
|
1027
|
-
borderWidth: 1,
|
|
1028
|
-
borderColor: Colors.shades.shade600
|
|
1029
|
-
}
|
|
1030
|
-
});
|
|
1031
1050
|
export default /*#__PURE__*/React.memo(TeamEventMarket, (left, right) => {
|
|
1032
1051
|
if (JSON.stringify(left) != JSON.stringify(right)) {
|
|
1033
1052
|
return false;
|