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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","Image","ScrollView","Icons","Button","Text","View","useColors","BasicStatus","onVerify","code_details","player","onClose","C","code_request","promo","getStatus","p","errors","first_name","last_name","push","no_password","createElement","style","flexGrow","justifyContent","alignItems","source","uri","width","height","borderRadius","resizeMode","padding","marginTop","flexDirection","CheckCirlceIcon","color","text","success","size","flex","marginLeft","theme","vouched_status","AlertIcon","warning","length","map","e","i","includes","status","float","margin","transparent","GiftIcon","gold","paddingTop","Fragment","nativeID","title","marginRight","type","onPress","opacity","disabled"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/BasicStatus.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAChD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,yBAAyB;AAC5D,SAASC,SAAS,QAAQ,2BAA2B;AAcrD,MAAMC,WAAW,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,YAAY;EAAEC,MAAM;EAAEC;AAAyB,CAAC,KAAK;EAClF,MAAMC,CAAC,GAAGN,SAAS,CAAC,CAAC;EACrB,MAAM;IAAEO,YAAY;IAAEC;EAAM,CAAC,GAAGL,YAAY;EAE5C,MAAMM,SAAS,GAAIC,CAAe,IAAK;IACnC,IAAIC,MA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AEA,CAAA,KAAMrD,OAAO,CAAC;EAAE,CAC5B,CAAC,eACFZ,KAAA,CAAAuB,aAAA,CAACnB,MAAM;IACH0D,KAAK,EAAC,gBAAgB;IACtBtC,KAAK,EAAE;MAAEkB,IAAI,EAAC,CAAC;MAAEwB,OAAO,EAAEhD,MAAM,CAAC8B,MAAM,GAAG,CAAC,GAAG,GAAG,GAAG;IAAE,CAAE;IACxDmB,QAAQ,EAAEjD,MAAM,CAAC8B,MAAM,GAAG,CAAE;IAC5BgB,IAAI,EAAC,SAAS;IACdC,OAAO,EAAEA,CAAA,KAAMxD,QAAQ,CAAC;EAAE,CAC7B,CACC,CAAC,gBAEPT,KAAA,CAAAuB,aAAA,CAACjB,IAAI;IAACuD,QAAQ,EAAC,YAAY;IAACrC,KAAK,EAAE;MAAEY,aAAa,EAAC,KAAK;MAAEF,OAAO,EAAC;IAAG;EAAE,gBACnElC,KAAA,CAAAuB,aAAA,CAACnB,MAAM;IACH0D,KAAK,EAAC,OAAO;IACbtC,KAAK,EAAE;MAAEkB,IAAI,EAAC,CAAC;MAAEqB,WAAW,EAAC;IAAE,CAAE;IACjCC,IAAI,EAAC,OAAO;IACZC,OAAO,EAAEA,CAAA,KAAMrD,OAAO,CAAC;EAAE,CAC5B,CACC,CAEJ,CAAC;AAEf,CAAC;AAED,eAAeJ,WAAW","ignoreList":[]}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import { ActivityIndicator,
|
|
3
|
-
import {
|
|
4
|
-
import Colors from '../../constants/colors';
|
|
2
|
+
import { ActivityIndicator, Image } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
5
4
|
import { ProfileApi, ProfileHelpers } from '../api';
|
|
5
|
+
import { Button, Text, TextInput, View } from '../../Components/Themed';
|
|
6
|
+
import { useColors } from '../../constants/useColors';
|
|
6
7
|
const CodeRedeem = ({
|
|
7
8
|
walkthrough,
|
|
8
9
|
onVerify,
|
|
9
10
|
onClose,
|
|
10
11
|
onRedeemCode
|
|
11
12
|
}) => {
|
|
13
|
+
const C = useColors();
|
|
12
14
|
const [loading, setLoading] = useState(false);
|
|
13
15
|
const [show_reward, setShowReward] = useState(false);
|
|
14
16
|
const [action_loading, setActionLoading] = useState(false);
|
|
@@ -66,7 +68,7 @@ const CodeRedeem = ({
|
|
|
66
68
|
if (loading) {
|
|
67
69
|
return /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
68
70
|
size: "large",
|
|
69
|
-
color:
|
|
71
|
+
color: C.text.h1,
|
|
70
72
|
style: {
|
|
71
73
|
padding: 40,
|
|
72
74
|
alignSelf: 'center'
|
|
@@ -78,11 +80,11 @@ const CodeRedeem = ({
|
|
|
78
80
|
const change_allowed = !loading && ProfileHelpers.isChangeCodeAllowed(code_request) ? true : false;
|
|
79
81
|
return /*#__PURE__*/React.createElement(View, {
|
|
80
82
|
style: {
|
|
81
|
-
|
|
83
|
+
flexGrow: 1
|
|
82
84
|
}
|
|
83
85
|
}, /*#__PURE__*/React.createElement(View, {
|
|
84
86
|
style: {
|
|
85
|
-
|
|
87
|
+
flexGrow: 1,
|
|
86
88
|
padding: 20
|
|
87
89
|
}
|
|
88
90
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -91,15 +93,13 @@ const CodeRedeem = ({
|
|
|
91
93
|
}
|
|
92
94
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
93
95
|
size: 30,
|
|
94
|
-
|
|
95
|
-
weight: "bold"
|
|
96
|
+
theme: "h1"
|
|
96
97
|
}, "How Did You Find Us?"), /*#__PURE__*/React.createElement(Text, {
|
|
97
98
|
style: {
|
|
98
99
|
marginTop: 15
|
|
99
100
|
},
|
|
100
101
|
size: 16,
|
|
101
|
-
|
|
102
|
-
weight: "regular"
|
|
102
|
+
theme: "h2"
|
|
103
103
|
}, "All new players are eligible for a one-time sign up bonus. Below is the code / referrer used during sign up.")), /*#__PURE__*/React.createElement(View, {
|
|
104
104
|
style: {
|
|
105
105
|
padding: 10,
|
|
@@ -107,59 +107,57 @@ const CodeRedeem = ({
|
|
|
107
107
|
}
|
|
108
108
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
109
109
|
size: 20,
|
|
110
|
-
|
|
111
|
-
textAlign: "center"
|
|
112
|
-
color: Colors.brand.midnight
|
|
110
|
+
theme: "h1",
|
|
111
|
+
textAlign: "center"
|
|
113
112
|
}, "CODE USED"), /*#__PURE__*/React.createElement(View, {
|
|
113
|
+
type: "input",
|
|
114
114
|
style: {
|
|
115
115
|
marginTop: 20,
|
|
116
|
-
backgroundColor: Colors.shades.white,
|
|
117
|
-
borderRadius: 22,
|
|
118
116
|
flexDirection: 'row',
|
|
119
117
|
alignItems: 'center'
|
|
120
118
|
}
|
|
121
119
|
}, /*#__PURE__*/React.createElement(View, {
|
|
120
|
+
transparent: true,
|
|
122
121
|
style: {
|
|
123
122
|
paddingLeft: 15,
|
|
124
123
|
paddingRight: 15
|
|
125
124
|
}
|
|
126
125
|
}, /*#__PURE__*/React.createElement(Icons.USDIcon, {
|
|
127
|
-
color:
|
|
126
|
+
color: C.text.h1,
|
|
128
127
|
size: 18
|
|
129
128
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
130
129
|
value: draft_code,
|
|
131
130
|
style: {
|
|
132
131
|
flex: 1,
|
|
133
|
-
|
|
134
|
-
backroundColor: change_allowed ? Colors.shades.white : Colors.shades.shade100
|
|
132
|
+
textAlign: 'center'
|
|
135
133
|
},
|
|
136
134
|
placeholder: "Add Code Here",
|
|
137
135
|
editable: change_allowed,
|
|
138
|
-
|
|
136
|
+
transparent: true,
|
|
139
137
|
onChangeText: text => setDraftCode(text)
|
|
140
138
|
}), /*#__PURE__*/React.createElement(View, {
|
|
139
|
+
transparent: true,
|
|
141
140
|
style: {
|
|
142
141
|
paddingLeft: 15,
|
|
143
142
|
paddingRight: 15
|
|
144
143
|
}
|
|
145
144
|
}, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
146
145
|
size: "small",
|
|
147
|
-
color:
|
|
146
|
+
color: C.text.h1
|
|
148
147
|
}) : /*#__PURE__*/React.createElement(View, null, !is_changed && code_request ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
|
|
149
148
|
size: 16,
|
|
150
|
-
color:
|
|
149
|
+
color: C.text.success
|
|
151
150
|
}) : !code_error ? /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
152
151
|
size: 16,
|
|
153
|
-
color:
|
|
152
|
+
color: C.text.warning
|
|
154
153
|
}) : /*#__PURE__*/React.createElement(Icons.CloseIcon, {
|
|
155
154
|
size: 14,
|
|
156
|
-
color:
|
|
155
|
+
color: C.text.error
|
|
157
156
|
})))), code_error ? /*#__PURE__*/React.createElement(Text, {
|
|
158
157
|
style: {
|
|
159
158
|
padding: 5
|
|
160
159
|
},
|
|
161
|
-
|
|
162
|
-
color: Colors.utility.error,
|
|
160
|
+
theme: "error",
|
|
163
161
|
textAlign: "center"
|
|
164
162
|
}, code_error) : /*#__PURE__*/React.createElement(React.Fragment, null), is_changed ? /*#__PURE__*/React.createElement(Button, {
|
|
165
163
|
title: "Apply Code",
|
|
@@ -168,14 +166,12 @@ const CodeRedeem = ({
|
|
|
168
166
|
opacity: try_allowed ? 1 : 0.5
|
|
169
167
|
},
|
|
170
168
|
disabled: !try_allowed,
|
|
171
|
-
padding: 15,
|
|
172
169
|
onPress: () => handleTryCodeRequest(),
|
|
173
|
-
|
|
174
|
-
backgroundColor: Colors.brand.electric
|
|
170
|
+
type: "success"
|
|
175
171
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null), false ? /*#__PURE__*/React.createElement(Text, {
|
|
176
|
-
|
|
177
|
-
color: Colors.utility.warning
|
|
172
|
+
theme: "warning"
|
|
178
173
|
}, 'ERROR GOES HERE') : /*#__PURE__*/React.createElement(React.Fragment, null)), !reward_option ? /*#__PURE__*/React.createElement(View, {
|
|
174
|
+
float: true,
|
|
179
175
|
style: {
|
|
180
176
|
padding: 10,
|
|
181
177
|
marginTop: 20
|
|
@@ -184,11 +180,11 @@ const CodeRedeem = ({
|
|
|
184
180
|
size: 20,
|
|
185
181
|
weight: "bold",
|
|
186
182
|
textAlign: "center",
|
|
187
|
-
|
|
183
|
+
theme: "h1"
|
|
188
184
|
}, "CODE OFFER"), promo ? /*#__PURE__*/React.createElement(View, {
|
|
185
|
+
transparent: true,
|
|
189
186
|
style: {
|
|
190
187
|
marginTop: 20,
|
|
191
|
-
backgroundColor: Colors.shades.white,
|
|
192
188
|
borderRadius: 8,
|
|
193
189
|
padding: 10
|
|
194
190
|
}
|
|
@@ -196,46 +192,38 @@ const CodeRedeem = ({
|
|
|
196
192
|
style: {
|
|
197
193
|
marginTop: 5
|
|
198
194
|
},
|
|
199
|
-
|
|
200
|
-
color: Colors.brand.midnight,
|
|
201
|
-
weight: "regular",
|
|
195
|
+
theme: "description",
|
|
202
196
|
textAlign: "center"
|
|
203
197
|
}, ProfileHelpers.getReferralDescription(promo))) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, {
|
|
198
|
+
float: true,
|
|
204
199
|
style: {
|
|
205
200
|
padding: 10,
|
|
206
201
|
marginTop: 20
|
|
207
202
|
}
|
|
208
203
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
209
204
|
size: 20,
|
|
210
|
-
|
|
211
|
-
textAlign: "center"
|
|
212
|
-
color: Colors.brand.midnight
|
|
205
|
+
theme: "h1",
|
|
206
|
+
textAlign: "center"
|
|
213
207
|
}, "CODE REDEEMED"), reward_option ? /*#__PURE__*/React.createElement(View, {
|
|
208
|
+
transparent: true,
|
|
214
209
|
style: {
|
|
215
210
|
marginTop: 10,
|
|
216
|
-
backgroundColor: Colors.highlights.highlight400Faded,
|
|
217
211
|
padding: 10,
|
|
218
212
|
borderRadius: 8
|
|
219
213
|
}
|
|
220
214
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
221
215
|
size: 14,
|
|
222
|
-
|
|
223
|
-
weight: "semibold"
|
|
216
|
+
theme: "h2"
|
|
224
217
|
}, "AWARDED: ", reward_option.reward_name), code_request && promo && ['referral_sweepstakes', 'referral_code'].includes(promo.type) ? /*#__PURE__*/React.createElement(Text, {
|
|
225
218
|
style: {
|
|
226
219
|
marginTop: 10
|
|
227
220
|
},
|
|
228
|
-
|
|
229
|
-
color: Colors.brand.midnight,
|
|
230
|
-
weight: "semibold"
|
|
221
|
+
theme: "h2"
|
|
231
222
|
}, "KICKBACK STATUS: ", code_request.status == 'fulfilled' ? 'Referrer will get the same reward amount after you make your first deposit' : 'Kickback received') : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null))), referrer ? /*#__PURE__*/React.createElement(View, {
|
|
223
|
+
float: true,
|
|
232
224
|
style: {
|
|
233
|
-
margin:
|
|
234
|
-
|
|
235
|
-
marginLeft: 30,
|
|
236
|
-
padding: 5,
|
|
237
|
-
backgroundColor: Colors.shades.white,
|
|
238
|
-
borderRadius: 8
|
|
225
|
+
margin: 20,
|
|
226
|
+
padding: 5
|
|
239
227
|
}
|
|
240
228
|
}, /*#__PURE__*/React.createElement(View, {
|
|
241
229
|
nativeID: "referrer_details",
|
|
@@ -260,13 +248,12 @@ const CodeRedeem = ({
|
|
|
260
248
|
}
|
|
261
249
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
262
250
|
size: 16,
|
|
263
|
-
|
|
251
|
+
theme: "h1"
|
|
264
252
|
}, "Referred By: ", referrer.first_name, " ", referrer.last_name), /*#__PURE__*/React.createElement(Text, {
|
|
265
253
|
style: {
|
|
266
254
|
marginTop: 5
|
|
267
255
|
},
|
|
268
|
-
|
|
269
|
-
weight: "regular"
|
|
256
|
+
theme: "description"
|
|
270
257
|
}, "@", referrer.username)))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
271
258
|
style: {
|
|
272
259
|
flexDirection: 'row',
|
|
@@ -278,28 +265,21 @@ const CodeRedeem = ({
|
|
|
278
265
|
flex: 1,
|
|
279
266
|
marginRight: 5
|
|
280
267
|
},
|
|
281
|
-
|
|
282
|
-
title_color: Colors.brand.electric,
|
|
283
|
-
borderWidth: 1,
|
|
284
|
-
padding: 15,
|
|
268
|
+
type: "close",
|
|
285
269
|
onPress: () => onClose()
|
|
286
270
|
}), code_request?.status == 'requested' ? /*#__PURE__*/React.createElement(Button, {
|
|
287
271
|
title: "VERIFY MY ACCOUNT",
|
|
288
272
|
style: {
|
|
289
273
|
flex: 3
|
|
290
274
|
},
|
|
291
|
-
|
|
292
|
-
title_color: Colors.shades.white,
|
|
293
|
-
padding: 15,
|
|
275
|
+
type: "success",
|
|
294
276
|
onPress: () => onVerify()
|
|
295
277
|
}) : code_request?.status == 'verified' ? /*#__PURE__*/React.createElement(Button, {
|
|
296
278
|
title: "REDEEM CODE",
|
|
297
279
|
style: {
|
|
298
280
|
flex: 3
|
|
299
281
|
},
|
|
300
|
-
|
|
301
|
-
title_color: Colors.shades.white,
|
|
302
|
-
padding: 15,
|
|
282
|
+
type: "success",
|
|
303
283
|
onPress: () => handleRedeemCode()
|
|
304
284
|
}) : /*#__PURE__*/React.createElement(Button, {
|
|
305
285
|
title: "CODE REDEEMED",
|
|
@@ -307,40 +287,38 @@ const CodeRedeem = ({
|
|
|
307
287
|
flex: 3
|
|
308
288
|
},
|
|
309
289
|
disabled: true,
|
|
310
|
-
|
|
311
|
-
title_color: Colors.shades.white,
|
|
312
|
-
padding: 15,
|
|
290
|
+
type: "info",
|
|
313
291
|
onPress: () => console.log('REDEEMED!!!')
|
|
314
292
|
})), show_reward ? /*#__PURE__*/React.createElement(View, {
|
|
293
|
+
type: "blur",
|
|
315
294
|
style: {
|
|
316
295
|
position: 'absolute',
|
|
317
296
|
top: 0,
|
|
318
297
|
left: 0,
|
|
319
298
|
right: 0,
|
|
320
299
|
bottom: 0,
|
|
321
|
-
backgroundColor: Colors.shades.black_faded,
|
|
322
300
|
justifyContent: 'center',
|
|
323
301
|
alignItems: 'center'
|
|
324
302
|
}
|
|
325
303
|
}, /*#__PURE__*/React.createElement(View, {
|
|
304
|
+
float: true,
|
|
326
305
|
style: {
|
|
327
|
-
borderRadius: 8,
|
|
328
|
-
backgroundColor: Colors.shades.white,
|
|
329
306
|
padding: 20,
|
|
330
307
|
minWidth: 250,
|
|
331
308
|
minHeight: 200
|
|
332
309
|
}
|
|
333
|
-
}, reward_option ? /*#__PURE__*/React.createElement(View,
|
|
310
|
+
}, reward_option ? /*#__PURE__*/React.createElement(View, {
|
|
311
|
+
transparent: true
|
|
312
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
334
313
|
size: 14,
|
|
335
|
-
|
|
336
|
-
weight: "semibold",
|
|
314
|
+
theme: "h1",
|
|
337
315
|
textAlign: "center"
|
|
338
316
|
}, "CONGRATULATIONS!"), /*#__PURE__*/React.createElement(Text, {
|
|
339
317
|
style: {
|
|
340
318
|
marginTop: 10
|
|
341
319
|
},
|
|
342
320
|
size: 30,
|
|
343
|
-
|
|
321
|
+
theme: "success",
|
|
344
322
|
weight: "bold",
|
|
345
323
|
textAlign: "center"
|
|
346
324
|
}, reward_option.reward_name), /*#__PURE__*/React.createElement(Text, {
|
|
@@ -348,26 +326,22 @@ const CodeRedeem = ({
|
|
|
348
326
|
marginTop: 10
|
|
349
327
|
},
|
|
350
328
|
size: 14,
|
|
351
|
-
|
|
352
|
-
weight: "regular",
|
|
329
|
+
theme: "description",
|
|
353
330
|
textAlign: "center"
|
|
354
331
|
}, "AWARD RECEIVED"), /*#__PURE__*/React.createElement(Button, {
|
|
355
332
|
title: "CLOSE",
|
|
356
|
-
title_color: Colors.shades.white,
|
|
357
333
|
style: {
|
|
358
334
|
marginTop: 20
|
|
359
335
|
},
|
|
360
|
-
|
|
361
|
-
backgroundColor: Colors.brand.electric,
|
|
336
|
+
type: "close",
|
|
362
337
|
onPress: () => setShowReward(false)
|
|
363
338
|
})) : /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
|
|
364
339
|
size: 14,
|
|
365
|
-
|
|
366
|
-
weight: "semibold",
|
|
340
|
+
theme: "h1",
|
|
367
341
|
textAlign: "center"
|
|
368
342
|
}, "GETTING YOUR REWARD..."), /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
369
343
|
size: "large",
|
|
370
|
-
color:
|
|
344
|
+
color: C.text.h1,
|
|
371
345
|
style: {
|
|
372
346
|
alignSelf: 'center',
|
|
373
347
|
marginTop: 20
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","ActivityIndicator","View","Image","Button","Icons","Text","TextInput","Colors","ProfileApi","ProfileHelpers","CodeRedeem","walkthrough","onVerify","onClose","onRedeemCode","loading","setLoading","show_reward","setShowReward","action_loading","setActionLoading","data","setData","code_error","setCodeError","draft_code","setDraftCode","code_request","promo","reward_option","referrer","getDataFromServer","request_response","getMyCodeDetails","referral_code","handleTryCodeRequest","tryCodeRequest","result","error_message","handleRedeemCode","redeemCode","code_request_id","setTimeout","createElement","size","color","brand","midnight","style","padding","alignSelf","is_changed","try_allowed","change_allowed","isChangeCodeAllowed","flex","weight","marginTop","textAlign","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","USDIcon","value","backroundColor","shade100","placeholder","editable","placeholderTextColor","slate","onChangeText","text","CheckIcon","utility","success","AlertIcon","warning","CloseIcon","error","Fragment","title","opacity","disabled","onPress","title_color","electric","getReferralDescription","highlights","highlight400Faded","reward_name","includes","type","status","margin","marginRight","marginLeft","nativeID","source","uri","profile_pic","height","width","resizeMode","first_name","last_name","username","borderColor","borderWidth","console","log","position","top","left","right","bottom","black_faded","justifyContent","minWidth","minHeight"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/CodeRedeem.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,iBAAiB,EAAEC,IAAI,EAAEC,KAAK,QAAQ,cAAc;AAC7D,SAASC,MAAM,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A8C,aAAA,CAAA9C,KAAA,CAAAuF,QAAA,MAAI,CACH,CAAC,gBACNvF,KAAA,CAAA8C,aAAA,CAAA9C,KAAA,CAAAuF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAe1E,UAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","ActivityIndicator","Image","Icons","ProfileApi","ProfileHelpers","Button","Text","TextInput","View","useColors","CodeRedeem","walkthrough","onVerify","onClose","onRedeemCode","C","loading","setLoading","show_reward","setShowReward","action_loading","setActionLoading","data","setData","code_error","setCodeError","draft_code","setDraftCode","code_request","promo","reward_option","referrer","getDataFromServer","request_response","getMyCodeDetails","referral_code","handleTryCodeRequest","tryCodeRequest","result","error_message","handleRedeemCode","redeemCode","code_request_id","setTimeout","createElement","size","color","text","h1","style","padding","alignSelf","is_changed","try_allowed","change_allowed","isChangeCodeAllowed","flexGrow","theme","marginTop","textAlign","type","flexDirection","alignItems","transparent","paddingLeft","paddingRight","USDIcon","value","flex","placeholder","editable","onChangeText","CheckIcon","success","AlertIcon","warning","CloseIcon","error","Fragment","title","opacity","disabled","onPress","float","weight","borderRadius","getReferralDescription","reward_name","includes","status","margin","nativeID","source","uri","profile_pic","height","width","resizeMode","marginLeft","first_name","last_name","username","marginRight","console","log","position","top","left","right","bottom","justifyContent","minWidth","minHeight"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/CodeRedeem.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,iBAAiB,EAAEC,KAAK,QAAQ,cAAc;AACvD,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAEnD,SAASC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,yBAAyB;AACvE,SAASC,SAAS,QAAQ,2BAA2B;AAgBrD,MAAMC,UAAU,GAAGA,CAAC;EAAEC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AAa,CAAC,KAAK;EAAE,CACvC,CACC,CAAC,gBAEPtB,KAAA,CAAA+C,aAAA,CAACpC,IAAI,qBACDX,KAAA,CAAA+C,aAAA,CAACtC,IAAI;IAACuC,IAAI,EAAE,EAAG;IAACY,KAAK,EAAC,IAAI;IAACE,SAAS,EAAC;EAAQ,GAAC,wBAA4B,CAAC,eAC3E9D,KAAA,CAAA+C,aAAA,CAAC5C,iBAAiB;IAAC6C,IAAI,EAAC,OAAO;IAACC,KAAK,EAAE/B,CAAC,CAACgC,IAAI,CAACC,EAAG;IAACC,KAAK,EAAE;MAACE,SAAS,EAAC,QAAQ;MAAEO,SAAS,EAAC;IAAG;EAAE,CAAC,CAC5F,CAEJ,CAAC,KACN,eAAA7D,KAAA,CAAA+C,aAAA,CAAA/C,KAAA,CAAAiF,QAAA,MAAI,CACH,CAAC,gBACNjF,KAAA,CAAA+C,aAAA,CAAA/C,KAAA,CAAAiF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAepE,UAAU","ignoreList":[]}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import moment from 'moment-mini';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ActivityIndicator, TouchableOpacity } from 'react-native';
|
|
4
|
+
import { Icons } from '../../Components';
|
|
5
5
|
import Colors from '../../constants/colors';
|
|
6
6
|
import { ProfileApi } from '../api';
|
|
7
7
|
import { button_styles } from '../../constants/styles';
|
|
8
|
+
import { Button, Text, TextInput, View } from '../../Components/Themed';
|
|
9
|
+
import { useColors } from '../../constants/useColors';
|
|
8
10
|
const DOBManager = ({
|
|
9
11
|
player,
|
|
10
12
|
walkthrough,
|
|
@@ -12,6 +14,7 @@ const DOBManager = ({
|
|
|
12
14
|
onNext,
|
|
13
15
|
onClose
|
|
14
16
|
}) => {
|
|
17
|
+
const C = useColors();
|
|
15
18
|
const [loading, setLoading] = useState(false);
|
|
16
19
|
const [dob, setDob] = useState('');
|
|
17
20
|
const [error, setError] = useState(undefined);
|
|
@@ -80,11 +83,11 @@ const DOBManager = ({
|
|
|
80
83
|
};
|
|
81
84
|
return /*#__PURE__*/React.createElement(View, {
|
|
82
85
|
style: {
|
|
83
|
-
|
|
86
|
+
flexGrow: 1
|
|
84
87
|
}
|
|
85
88
|
}, /*#__PURE__*/React.createElement(View, {
|
|
86
89
|
style: {
|
|
87
|
-
|
|
90
|
+
flexGrow: 1,
|
|
88
91
|
justifyContent: 'center'
|
|
89
92
|
}
|
|
90
93
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -93,65 +96,65 @@ const DOBManager = ({
|
|
|
93
96
|
}
|
|
94
97
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
95
98
|
size: 30,
|
|
96
|
-
|
|
97
|
-
weight: "bold"
|
|
99
|
+
theme: "h1"
|
|
98
100
|
}, "Date Of Birth"), /*#__PURE__*/React.createElement(Text, {
|
|
99
101
|
style: {
|
|
100
102
|
marginTop: 15
|
|
101
103
|
},
|
|
102
104
|
size: 16,
|
|
103
|
-
|
|
104
|
-
weight: "regular"
|
|
105
|
+
theme: "h2"
|
|
105
106
|
}, "In order to participate in real-money gaming you must be over 18.")), /*#__PURE__*/React.createElement(View, {
|
|
106
107
|
style: {
|
|
107
108
|
padding: 30,
|
|
108
|
-
|
|
109
|
+
flexGrow: 1
|
|
109
110
|
}
|
|
110
111
|
}, /*#__PURE__*/React.createElement(View, {
|
|
112
|
+
type: "input",
|
|
111
113
|
style: {
|
|
112
|
-
backgroundColor: Colors.shades.white,
|
|
113
|
-
borderRadius: 22,
|
|
114
114
|
flexDirection: 'row',
|
|
115
115
|
alignItems: 'center'
|
|
116
116
|
}
|
|
117
117
|
}, /*#__PURE__*/React.createElement(View, {
|
|
118
|
+
transparent: true,
|
|
118
119
|
style: {
|
|
119
120
|
paddingLeft: 15,
|
|
120
121
|
paddingRight: 15
|
|
121
122
|
}
|
|
122
123
|
}, /*#__PURE__*/React.createElement(Icons.BirthdayIcon, {
|
|
123
|
-
color:
|
|
124
|
+
color: C.text.h1,
|
|
124
125
|
size: 18
|
|
125
126
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
126
127
|
value: dob,
|
|
127
128
|
placeholder: "01/01/2005",
|
|
128
129
|
editable: player.vouched_status == 'verified' ? false : true,
|
|
129
|
-
placeholderTextColor: Colors.brand.slate,
|
|
130
130
|
style: {
|
|
131
|
-
flex: 1
|
|
132
|
-
borderRadius: 0
|
|
131
|
+
flex: 1
|
|
133
132
|
},
|
|
133
|
+
transparent: true,
|
|
134
134
|
onChangeText: text => handleDOBChange(text)
|
|
135
135
|
}), /*#__PURE__*/React.createElement(View, {
|
|
136
|
+
transparent: true,
|
|
136
137
|
style: {
|
|
137
138
|
paddingLeft: 15,
|
|
138
139
|
paddingRight: 15
|
|
139
140
|
}
|
|
140
141
|
}, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
141
142
|
size: "small",
|
|
142
|
-
color:
|
|
143
|
-
}) : /*#__PURE__*/React.createElement(View,
|
|
143
|
+
color: C.text.h1
|
|
144
|
+
}) : /*#__PURE__*/React.createElement(View, {
|
|
145
|
+
transparent: true
|
|
146
|
+
}, player.dob && !error ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
|
|
144
147
|
size: 16,
|
|
145
|
-
color:
|
|
148
|
+
color: C.text.success
|
|
146
149
|
}) : /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
147
150
|
size: 16,
|
|
148
|
-
color:
|
|
151
|
+
color: C.text.warning
|
|
149
152
|
})))), error ? /*#__PURE__*/React.createElement(Text, {
|
|
150
153
|
size: 14,
|
|
151
|
-
color:
|
|
154
|
+
color: C.text.warning
|
|
152
155
|
}, error) : age_error ? /*#__PURE__*/React.createElement(Text, {
|
|
153
156
|
size: 14,
|
|
154
|
-
color:
|
|
157
|
+
color: C.text.warning
|
|
155
158
|
}, age_error) : /*#__PURE__*/React.createElement(React.Fragment, null))), walkthrough ? /*#__PURE__*/React.createElement(View, {
|
|
156
159
|
nativeID: "action_row",
|
|
157
160
|
style: {
|
|
@@ -161,8 +164,7 @@ const DOBManager = ({
|
|
|
161
164
|
}
|
|
162
165
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
163
166
|
title: "EXIT SETUP",
|
|
164
|
-
|
|
165
|
-
backgroundColor: "transparent",
|
|
167
|
+
type: "text",
|
|
166
168
|
onPress: () => onClose()
|
|
167
169
|
}), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
168
170
|
style: !error && !loading ? button_styles.wizard_valid : button_styles.wizard_invalid,
|
|
@@ -185,10 +187,7 @@ const DOBManager = ({
|
|
|
185
187
|
marginRight: 5
|
|
186
188
|
},
|
|
187
189
|
title: "BACK",
|
|
188
|
-
|
|
189
|
-
title_color: Colors.brand.electric,
|
|
190
|
-
borderWidth: 1,
|
|
191
|
-
borderColor: Colors.brand.electric,
|
|
190
|
+
type: "close",
|
|
192
191
|
onPress: () => onClose()
|
|
193
192
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
194
193
|
style: {
|
|
@@ -198,12 +197,9 @@ const DOBManager = ({
|
|
|
198
197
|
disabled: !update_allowed,
|
|
199
198
|
loading: loading,
|
|
200
199
|
title: "UPDATE",
|
|
201
|
-
|
|
202
|
-
title_color: Colors.shades.white,
|
|
203
|
-
backgroundColor: Colors.utility.success,
|
|
200
|
+
type: "success",
|
|
204
201
|
onPress: async () => {
|
|
205
202
|
await handleUpdatePlayerDOB();
|
|
206
|
-
//onClose()
|
|
207
203
|
}
|
|
208
204
|
})));
|
|
209
205
|
};
|