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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","moment","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","moment","ActivityIndicator","TouchableOpacity","Icons","Colors","ProfileApi","button_styles","Button","Text","TextInput","View","useColors","DOBManager","player","walkthrough","onPlayerUpdate","onNext","onClose","C","loading","setLoading","dob","setDob","error","setError","undefined","age_error","setAgeError","split_dob","split","new_date","valid","isValid","format","age_diff","diff","isUpdateNeeded","new_dob","old_dob","handleDOBChange","val","dob_moment","update_allowed","handleUpdatePlayerDOB","new_player","updatePlayerDOB","handleNext","createElement","style","flexGrow","justifyContent","padding","size","theme","marginTop","type","flexDirection","alignItems","transparent","paddingLeft","paddingRight","BirthdayIcon","color","text","h1","value","placeholder","editable","vouched_status","flex","onChangeText","CheckIcon","success","AlertIcon","warning","Fragment","nativeID","title","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","brand","midnight","marginRight","opacity"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/DOBManager.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AAClE,SAASC,KAAK,QAAQ,kBAAkB;AACxC,OAAOC,MAAM,M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{ button_styles, view_styles } from '../../constants/styles';
|
|
2
|
+
import { ActivityIndicator, TouchableOpacity } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
4
|
+
import { button_styles } from '../../constants/styles';
|
|
6
5
|
import { ProfileApi, ProfileHelpers } from '../api';
|
|
6
|
+
import { Button, Text, TextInput, View } from '../../Components/Themed';
|
|
7
|
+
import { useColors } from '../../constants/useColors';
|
|
7
8
|
const EmailManager = ({
|
|
8
9
|
player,
|
|
9
10
|
walkthrough,
|
|
@@ -11,6 +12,7 @@ const EmailManager = ({
|
|
|
11
12
|
onNext,
|
|
12
13
|
onClose
|
|
13
14
|
}) => {
|
|
15
|
+
const C = useColors();
|
|
14
16
|
const [loading, setLoading] = useState(false);
|
|
15
17
|
const [verify_token, setVerifyToken] = useState({
|
|
16
18
|
loading: false,
|
|
@@ -96,11 +98,11 @@ const EmailManager = ({
|
|
|
96
98
|
};
|
|
97
99
|
return /*#__PURE__*/React.createElement(View, {
|
|
98
100
|
style: {
|
|
99
|
-
|
|
101
|
+
flexGrow: 1
|
|
100
102
|
}
|
|
101
103
|
}, /*#__PURE__*/React.createElement(View, {
|
|
102
104
|
style: {
|
|
103
|
-
|
|
105
|
+
flexGrow: 1
|
|
104
106
|
}
|
|
105
107
|
}, /*#__PURE__*/React.createElement(View, {
|
|
106
108
|
style: {
|
|
@@ -108,23 +110,20 @@ const EmailManager = ({
|
|
|
108
110
|
}
|
|
109
111
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
110
112
|
size: 30,
|
|
111
|
-
|
|
112
|
-
weight: "bold"
|
|
113
|
+
theme: "h1"
|
|
113
114
|
}, "Confirm Your Email"), /*#__PURE__*/React.createElement(Text, {
|
|
114
115
|
style: {
|
|
115
116
|
marginTop: 15
|
|
116
117
|
},
|
|
117
118
|
size: 16,
|
|
118
|
-
|
|
119
|
-
weight: "regular"
|
|
119
|
+
theme: "h2"
|
|
120
120
|
}, "Confirming your email will help secure your account and is required for real-money activities")), /*#__PURE__*/React.createElement(View, {
|
|
121
121
|
style: {
|
|
122
122
|
padding: 30
|
|
123
123
|
}
|
|
124
124
|
}, /*#__PURE__*/React.createElement(View, {
|
|
125
|
+
type: "input",
|
|
125
126
|
style: {
|
|
126
|
-
backgroundColor: Colors.shades.white,
|
|
127
|
-
borderRadius: 22,
|
|
128
127
|
flexDirection: 'row',
|
|
129
128
|
alignItems: 'center'
|
|
130
129
|
}
|
|
@@ -134,15 +133,15 @@ const EmailManager = ({
|
|
|
134
133
|
paddingRight: 15
|
|
135
134
|
}
|
|
136
135
|
}, /*#__PURE__*/React.createElement(Icons.EmailIcon, {
|
|
137
|
-
color:
|
|
136
|
+
color: C.text.h1,
|
|
138
137
|
size: 18
|
|
139
138
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
140
139
|
value: draft_player.email,
|
|
141
140
|
keyboardType: "email-address",
|
|
142
141
|
style: {
|
|
143
|
-
flex: 1
|
|
144
|
-
borderRadius: 0
|
|
142
|
+
flex: 1
|
|
145
143
|
},
|
|
144
|
+
transparent: true,
|
|
146
145
|
onChangeText: text => {
|
|
147
146
|
if (update_error) {
|
|
148
147
|
setUpdateError(undefined);
|
|
@@ -153,38 +152,36 @@ const EmailManager = ({
|
|
|
153
152
|
});
|
|
154
153
|
}
|
|
155
154
|
}), /*#__PURE__*/React.createElement(View, {
|
|
155
|
+
transparent: true,
|
|
156
156
|
style: {
|
|
157
157
|
paddingLeft: 15,
|
|
158
158
|
paddingRight: 15
|
|
159
159
|
}
|
|
160
160
|
}, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
161
161
|
size: "small",
|
|
162
|
-
color:
|
|
163
|
-
}) : /*#__PURE__*/React.createElement(View,
|
|
162
|
+
color: C.text.h1
|
|
163
|
+
}) : /*#__PURE__*/React.createElement(View, {
|
|
164
|
+
transparent: true
|
|
165
|
+
}, valid ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
|
|
164
166
|
size: 16,
|
|
165
|
-
color:
|
|
167
|
+
color: C.text.success
|
|
166
168
|
}) : verify_token.visible ? /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
167
169
|
size: 16,
|
|
168
|
-
color:
|
|
170
|
+
color: C.text.warning
|
|
169
171
|
}) : /*#__PURE__*/React.createElement(Icons.CloseIcon, {
|
|
170
172
|
size: 14,
|
|
171
|
-
color:
|
|
173
|
+
color: C.text.error
|
|
172
174
|
})))), error ? /*#__PURE__*/React.createElement(Text, {
|
|
173
175
|
style: {
|
|
174
176
|
marginTop: 10
|
|
175
177
|
},
|
|
176
|
-
|
|
177
|
-
color: Colors.utility.warning,
|
|
178
|
-
weight: "semibold",
|
|
178
|
+
theme: "warning",
|
|
179
179
|
textAlign: "center"
|
|
180
180
|
}, error) : /*#__PURE__*/React.createElement(React.Fragment, null), update_error ? /*#__PURE__*/React.createElement(Text, {
|
|
181
181
|
style: {
|
|
182
182
|
marginTop: 10
|
|
183
183
|
},
|
|
184
|
-
|
|
185
|
-
color: Colors.utility.warning,
|
|
186
|
-
weight: "semibold",
|
|
187
|
-
textAlign: "center"
|
|
184
|
+
theme: "warning"
|
|
188
185
|
}, update_error) : /*#__PURE__*/React.createElement(React.Fragment, null))), walkthrough ? /*#__PURE__*/React.createElement(View, {
|
|
189
186
|
nativeID: "action_row",
|
|
190
187
|
style: {
|
|
@@ -194,8 +191,7 @@ const EmailManager = ({
|
|
|
194
191
|
}
|
|
195
192
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
196
193
|
title: "EXIT SETUP",
|
|
197
|
-
|
|
198
|
-
backgroundColor: "transparent",
|
|
194
|
+
type: "text",
|
|
199
195
|
onPress: () => onClose()
|
|
200
196
|
}), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
201
197
|
style: valid && !loading ? button_styles.wizard_valid : button_styles.wizard_invalid,
|
|
@@ -204,7 +200,7 @@ const EmailManager = ({
|
|
|
204
200
|
}, /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
205
201
|
size: 20,
|
|
206
202
|
direction: "right",
|
|
207
|
-
color:
|
|
203
|
+
color: C.text.h1
|
|
208
204
|
}))) : /*#__PURE__*/React.createElement(View, {
|
|
209
205
|
nativeID: "action_row",
|
|
210
206
|
style: {
|
|
@@ -218,10 +214,7 @@ const EmailManager = ({
|
|
|
218
214
|
marginRight: 5
|
|
219
215
|
},
|
|
220
216
|
title: "BACK",
|
|
221
|
-
|
|
222
|
-
title_color: Colors.brand.electric,
|
|
223
|
-
borderWidth: 1,
|
|
224
|
-
borderColor: Colors.brand.electric,
|
|
217
|
+
type: "close",
|
|
225
218
|
onPress: () => onClose()
|
|
226
219
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
227
220
|
style: {
|
|
@@ -231,51 +224,43 @@ const EmailManager = ({
|
|
|
231
224
|
disabled: !valid || loading || !update_allowed,
|
|
232
225
|
loading: loading,
|
|
233
226
|
title: "UPDATE",
|
|
234
|
-
|
|
235
|
-
title_color: Colors.shades.white,
|
|
236
|
-
backgroundColor: Colors.utility.success,
|
|
227
|
+
type: "success",
|
|
237
228
|
onPress: async () => {
|
|
238
229
|
await handleUpdatePlayer();
|
|
239
230
|
}
|
|
240
231
|
})), verify_token.visible ? /*#__PURE__*/React.createElement(View, {
|
|
232
|
+
type: "blur",
|
|
241
233
|
style: {
|
|
242
234
|
position: 'absolute',
|
|
243
235
|
top: 0,
|
|
244
236
|
left: 0,
|
|
245
237
|
right: 0,
|
|
246
238
|
bottom: 0,
|
|
247
|
-
backgroundColor: Colors.shades.black_faded,
|
|
248
239
|
justifyContent: 'center',
|
|
249
240
|
alignItems: 'center'
|
|
250
241
|
}
|
|
251
242
|
}, /*#__PURE__*/React.createElement(View, {
|
|
243
|
+
float: true,
|
|
252
244
|
style: {
|
|
253
|
-
padding: 20
|
|
254
|
-
backgroundColor: Colors.shades.white,
|
|
255
|
-
borderRadius: 8,
|
|
256
|
-
...view_styles.float
|
|
245
|
+
padding: 20
|
|
257
246
|
}
|
|
258
247
|
}, /*#__PURE__*/React.createElement(View, {
|
|
248
|
+
transparent: true,
|
|
259
249
|
style: {
|
|
260
250
|
padding: 10
|
|
261
251
|
}
|
|
262
252
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
263
253
|
size: 14,
|
|
264
|
-
|
|
265
|
-
color: Colors.brand.midnight,
|
|
266
|
-
textAlign: "center"
|
|
254
|
+
theme: "description"
|
|
267
255
|
}, "Enter Code Sent To"), /*#__PURE__*/React.createElement(Text, {
|
|
268
256
|
size: 18,
|
|
269
257
|
style: {
|
|
270
|
-
marginTop:
|
|
258
|
+
marginTop: 5
|
|
271
259
|
},
|
|
272
|
-
|
|
273
|
-
color: Colors.brand.midnight,
|
|
274
|
-
textAlign: "center"
|
|
260
|
+
theme: "h1"
|
|
275
261
|
}, draft_player.email)), /*#__PURE__*/React.createElement(View, {
|
|
262
|
+
type: "input",
|
|
276
263
|
style: {
|
|
277
|
-
backgroundColor: Colors.shades.white,
|
|
278
|
-
borderRadius: 22,
|
|
279
264
|
flexDirection: 'row',
|
|
280
265
|
alignItems: 'center'
|
|
281
266
|
}
|
|
@@ -283,17 +268,18 @@ const EmailManager = ({
|
|
|
283
268
|
value: verify_token.token,
|
|
284
269
|
textContentType: "oneTimeCode",
|
|
285
270
|
style: {
|
|
286
|
-
flex: 1
|
|
271
|
+
flex: 1,
|
|
272
|
+
textAlign: 'center'
|
|
287
273
|
},
|
|
288
274
|
placeholder: "00000",
|
|
289
|
-
|
|
275
|
+
transparent: true,
|
|
290
276
|
onChangeText: text => setVerifyToken({
|
|
291
277
|
...verify_token,
|
|
292
278
|
token: text
|
|
293
279
|
})
|
|
294
280
|
})), verify_error ? /*#__PURE__*/React.createElement(Text, {
|
|
295
281
|
size: 14,
|
|
296
|
-
|
|
282
|
+
theme: "warning"
|
|
297
283
|
}, error) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(Button, {
|
|
298
284
|
title: "CONFIRM",
|
|
299
285
|
style: {
|
|
@@ -301,10 +287,8 @@ const EmailManager = ({
|
|
|
301
287
|
opacity: token_valid && !loading ? 1 : 0.5
|
|
302
288
|
},
|
|
303
289
|
disabled: !token_valid || loading,
|
|
304
|
-
padding: 15,
|
|
305
290
|
loading: verify_token.loading,
|
|
306
|
-
|
|
307
|
-
backgroundColor: Colors.utility.success,
|
|
291
|
+
type: "success",
|
|
308
292
|
onPress: () => handleVerifyEmail()
|
|
309
293
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
310
294
|
title: "CANCEL",
|
|
@@ -312,11 +296,8 @@ const EmailManager = ({
|
|
|
312
296
|
marginTop: 10
|
|
313
297
|
},
|
|
314
298
|
disabled: loading,
|
|
315
|
-
padding: 15,
|
|
316
299
|
loading: verify_token.loading,
|
|
317
|
-
|
|
318
|
-
borderWidth: 1,
|
|
319
|
-
borderColor: Colors.brand.electric,
|
|
300
|
+
type: "close",
|
|
320
301
|
onPress: () => handleCancelUpdate()
|
|
321
302
|
}))) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
322
303
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","View","ActivityIndicator","TouchableOpacity","Button","Icons","Text","TextInput","Colors","button_styles","view_styles","ProfileApi","ProfileHelpers","EmailManager","player","walkthrough","onPlayerUpdate","onNext","onClose","loading","setLoading","verify_token","setVerifyToken","visible","token","draft_player","setDraftPlayer","update_error","setUpdateError","verify_error","setVerifyError","valid","error","isEmailValid","email","is_changed","toLowerCase","token_valid","update_allowed","handleUpdatePlayer","updatePlayerEmail","undefined","setTimeout","e","handleNext","handleVerifyEmail","confirmPlayerEmail","handleCancelUpdate","createElement","style","flex","padding","size","color","brand","midnight","weight","marginTop","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","EmailIcon","value","keyboardType","onChangeText","text","CheckIcon","utility","success","AlertIcon","warning","CloseIcon","textAlign","Fragment","nativeID","justifyContent","title","title_color","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","marginRight","electric","borderWidth","borderColor","opacity","position","top","left","right","bottom","black_faded","float","textContentType","placeholder","placeholderTextColor","slate"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/EmailManager.tsx"],"mappings":"AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AACxE,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,EAAEC,SAAS,QAAQ,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,aAAa,EAAEC,WAAW,QAAQ,wBAAwB;AACnE,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAYnD,MAAMC,YAAY,GAAGA,CAAC;EAAEC,MAAM;EAAEC,WAAW;EAAEC,cAAc;EAAEC,MAAM;EAAEC;AAA0B,CAAC,KAAK;EACjG,MAAM,CAAEC,OAAO,EAAEC,UAAU,CAAE,GAAGpB,QAAQ,CAAC,KAAK,CAAC;EAC/C,MAAM,CAAEqB,YAAY,EAAEC,cAAc,CAAE,GAAGtB,QAAQ,CAAC;IAC9CmB,OAAO,EAAC,KAAK;IACbI,OAAO,EAAE,KAAK;IACdC,KAAK,EAAE;EACX,CAAC,CAAC;EACF,MAAM,CAAEC,YAAY,EAAEC,cAAc,CAAE,GAAG1B,QAAQ,CAAgBc,MAAM,CAAC;EACxE,MAAM,CAAEa,YAAY,EAAEC,cAAc,CAAE,GAAG5B,QAAQ,CAAS,CAAC;EAC3D,MAAM,CAAE6B,YAAY,EAAEC,cAAc,CAAE,GAAG9B,QAAQ,CAAS,CAAC;EAE3DD,SAAS,CAAC,MAAM;IACZ2B,cAAc,CAACZ,MAAM,CAAC;EAC1B,CAAC,EAAC,CAACA,MAAM,CAAC,CAAC;EAEX,MAAM;IAAEiB,KAAK;IAAEC;EAAM,CAAC,GAAGpB,cAAc,CAACqB,YAAY,CAACR,YAAY,CAACS,KAAK,CAAC;EAExE,MA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,CAAC;AAED,eAAejE,YAAY","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","ActivityIndicator","TouchableOpacity","Icons","button_styles","ProfileApi","ProfileHelpers","Button","Text","TextInput","View","useColors","EmailManager","player","walkthrough","onPlayerUpdate","onNext","onClose","C","loading","setLoading","verify_token","setVerifyToken","visible","token","draft_player","setDraftPlayer","update_error","setUpdateError","verify_error","setVerifyError","valid","error","isEmailValid","email","is_changed","toLowerCase","token_valid","update_allowed","handleUpdatePlayer","updatePlayerEmail","undefined","setTimeout","e","handleNext","handleVerifyEmail","confirmPlayerEmail","handleCancelUpdate","createElement","style","flexGrow","padding","size","theme","marginTop","type","flexDirection","alignItems","paddingLeft","paddingRight","EmailIcon","color","text","h1","value","keyboardType","flex","transparent","onChangeText","CheckIcon","success","AlertIcon","warning","CloseIcon","textAlign","Fragment","nativeID","justifyContent","title","onPress","wizard_valid","wizard_invalid","disabled","ChevronIcon","direction","marginRight","opacity","position","top","left","right","bottom","float","textContentType","placeholder"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/EmailManager.tsx"],"mappings":"AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,cAAc;AAClE,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,aAAa,QAAQ,wBAAwB;AACtD,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAEnD,SAASC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,yBAAyB;AACvE,SAASC,SAAS,QAAQ,2BAA2B;AAWrD,MAAMC,YAAY,GAAGA,CAAC;EAAEC,MAAM;EAAEC,WAAW;EAAEC,cAAc;EAAEC,MAAM;EAAEC;AAA0B,CAAC,KAAK;EACjG,MAAMC,CAAC,GAAGP,SAAS,CAAC,CAAC;EACrB,MAAM,CAAEQ,OAAO,EAAEC,UAAU,CAAE,GAAGpB,Q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AC,GAAG;IAAI,CAAE;IACnE+D,QAAQ,EAAE,CAAC7C,WAAW,IAAIlB,OAAQ;IAClCA,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9BoC,IAAI,EAAC,SAAS;IACdwB,OAAO,EAAEA,CAAA,KAAMlC,iBAAiB,CAAC;EAAE,CACtC,CAAC,eACF/C,KAAA,CAAAkD,aAAA,CAACzC,MAAM;IACHuE,KAAK,EAAC,QAAQ;IACd7B,KAAK,EAAE;MAAEK,SAAS,EAAC;IAAG,CAAE;IACxB4B,QAAQ,EAAE/D,OAAQ;IAClBA,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9BoC,IAAI,EAAC,OAAO;IACZwB,OAAO,EAAEA,CAAA,KAAMhC,kBAAkB,CAAC;EAAE,CACvC,CACC,CACJ,CAAC,gBACNjD,KAAA,CAAAkD,aAAA,CAAAlD,KAAA,CAAA6E,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAe/D,YAAY","ignoreList":[]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { FlatList, TouchableOpacity } from 'react-native';
|
|
3
|
+
import { Icons } from '../../Components';
|
|
4
4
|
import Colors from '../../constants/colors';
|
|
5
5
|
import { ProfileApi, ProfileHelpers } from '../api';
|
|
6
6
|
import { button_styles } from '../../constants/styles';
|
|
7
|
+
import { Text, View, Button, TextInput } from '../../Components/Themed';
|
|
8
|
+
import { useColors } from '../../constants/useColors';
|
|
7
9
|
const PasswordManager = ({
|
|
8
10
|
player,
|
|
9
11
|
walkthrough,
|
|
@@ -11,6 +13,7 @@ const PasswordManager = ({
|
|
|
11
13
|
onNext,
|
|
12
14
|
onClose
|
|
13
15
|
}) => {
|
|
16
|
+
const C = useColors();
|
|
14
17
|
const [draft_player, setDraftPlayer] = useState(player);
|
|
15
18
|
const [draft_password, setDraftPassword] = useState({
|
|
16
19
|
change_visible: false,
|
|
@@ -93,14 +96,13 @@ const PasswordManager = ({
|
|
|
93
96
|
style: {
|
|
94
97
|
flex: 1
|
|
95
98
|
},
|
|
96
|
-
|
|
97
|
-
color: Colors.brand.midnight
|
|
99
|
+
theme: "h2"
|
|
98
100
|
}, data.item.label), data.item.state === 'valid' ? /*#__PURE__*/React.createElement(Icons.CheckCirlceIcon, {
|
|
99
101
|
size: 14,
|
|
100
|
-
color:
|
|
102
|
+
color: C.text.success
|
|
101
103
|
}) : /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
102
104
|
size: 14,
|
|
103
|
-
color:
|
|
105
|
+
color: C.text.warning
|
|
104
106
|
}));
|
|
105
107
|
};
|
|
106
108
|
const valid_states = validatePassword();
|
|
@@ -132,7 +134,7 @@ const PasswordManager = ({
|
|
|
132
134
|
};
|
|
133
135
|
return /*#__PURE__*/React.createElement(View, {
|
|
134
136
|
style: {
|
|
135
|
-
|
|
137
|
+
flexGrow: 1
|
|
136
138
|
}
|
|
137
139
|
}, walkthrough ? /*#__PURE__*/React.createElement(View, {
|
|
138
140
|
style: {
|
|
@@ -140,44 +142,39 @@ const PasswordManager = ({
|
|
|
140
142
|
}
|
|
141
143
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
142
144
|
size: 30,
|
|
143
|
-
|
|
144
|
-
weight: "bold"
|
|
145
|
+
theme: "h1"
|
|
145
146
|
}, "Secure Your Account"), /*#__PURE__*/React.createElement(Text, {
|
|
146
147
|
style: {
|
|
147
148
|
marginTop: 15
|
|
148
149
|
},
|
|
149
150
|
size: 16,
|
|
150
|
-
|
|
151
|
-
weight: "regular"
|
|
151
|
+
theme: "h2"
|
|
152
152
|
}, "Help up secure your account with a password. Once set, you can login using your username and password")) : /*#__PURE__*/React.createElement(React.Fragment, null), draft_player.no_password || change_visible ? /*#__PURE__*/React.createElement(View, {
|
|
153
153
|
style: {
|
|
154
|
-
padding: 20
|
|
155
|
-
flex: 1
|
|
154
|
+
padding: 20
|
|
156
155
|
}
|
|
157
156
|
}, !draft_player.no_password ? /*#__PURE__*/React.createElement(View, {
|
|
157
|
+
type: "input",
|
|
158
158
|
style: {
|
|
159
159
|
margin: 10,
|
|
160
|
-
backgroundColor: Colors.shades.white,
|
|
161
|
-
borderRadius: 22,
|
|
162
160
|
flexDirection: 'row',
|
|
163
161
|
alignItems: 'center'
|
|
164
162
|
}
|
|
165
163
|
}, /*#__PURE__*/React.createElement(View, {
|
|
164
|
+
transparent: true,
|
|
166
165
|
style: {
|
|
167
166
|
paddingLeft: 15,
|
|
168
167
|
paddingRight: 15
|
|
169
168
|
}
|
|
170
169
|
}, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
|
|
171
|
-
color:
|
|
170
|
+
color: C.text.h1,
|
|
172
171
|
size: 18
|
|
173
172
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
174
173
|
value: draft_password.current_password,
|
|
175
174
|
placeholder: "My Current Password",
|
|
176
175
|
secureTextEntry: true,
|
|
177
|
-
|
|
176
|
+
transparent: true,
|
|
178
177
|
style: {
|
|
179
|
-
borderTopLeftRadius: 0,
|
|
180
|
-
borderBottomLeftRadius: 0,
|
|
181
178
|
flex: 1
|
|
182
179
|
},
|
|
183
180
|
onChangeText: text => setDraftPassword({
|
|
@@ -185,63 +182,56 @@ const PasswordManager = ({
|
|
|
185
182
|
current_password: text
|
|
186
183
|
})
|
|
187
184
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
185
|
+
type: "input",
|
|
188
186
|
style: {
|
|
189
|
-
flex: 1,
|
|
190
187
|
margin: 10,
|
|
191
|
-
marginTop: 0,
|
|
192
|
-
backgroundColor: Colors.shades.white,
|
|
193
|
-
borderRadius: 22,
|
|
194
188
|
flexDirection: 'row',
|
|
195
189
|
alignItems: 'center'
|
|
196
190
|
}
|
|
197
191
|
}, /*#__PURE__*/React.createElement(View, {
|
|
192
|
+
transparent: true,
|
|
198
193
|
style: {
|
|
199
194
|
paddingLeft: 15,
|
|
200
195
|
paddingRight: 15
|
|
201
196
|
}
|
|
202
197
|
}, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
|
|
203
|
-
color:
|
|
198
|
+
color: C.text.h1,
|
|
204
199
|
size: 18
|
|
205
200
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
206
201
|
value: draft_password.password,
|
|
207
202
|
placeholder: "Enter Password",
|
|
203
|
+
transparent: true,
|
|
208
204
|
secureTextEntry: true,
|
|
209
|
-
placeholderTextColor: Colors.brand.slate,
|
|
210
205
|
style: {
|
|
211
|
-
flex: 1
|
|
212
|
-
borderTopLeftRadius: 0,
|
|
213
|
-
borderBottomLeftRadius: 0
|
|
206
|
+
flex: 1
|
|
214
207
|
},
|
|
215
208
|
onChangeText: text => setDraftPassword({
|
|
216
209
|
...draft_password,
|
|
217
210
|
password: text
|
|
218
211
|
})
|
|
219
212
|
})), /*#__PURE__*/React.createElement(View, {
|
|
213
|
+
type: "input",
|
|
220
214
|
style: {
|
|
221
215
|
margin: 10,
|
|
222
|
-
marginTop: 0,
|
|
223
|
-
backgroundColor: Colors.shades.white,
|
|
224
|
-
borderRadius: 22,
|
|
225
216
|
flexDirection: 'row',
|
|
226
217
|
alignItems: 'center'
|
|
227
218
|
}
|
|
228
219
|
}, /*#__PURE__*/React.createElement(View, {
|
|
220
|
+
transparent: true,
|
|
229
221
|
style: {
|
|
230
222
|
paddingLeft: 15,
|
|
231
223
|
paddingRight: 15
|
|
232
224
|
}
|
|
233
225
|
}, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
|
|
234
|
-
color:
|
|
226
|
+
color: C.text.h1,
|
|
235
227
|
size: 18
|
|
236
228
|
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
237
229
|
value: draft_password.re_password,
|
|
238
230
|
placeholder: "Re-Enter Password",
|
|
239
231
|
secureTextEntry: true,
|
|
240
|
-
|
|
232
|
+
transparent: true,
|
|
241
233
|
style: {
|
|
242
|
-
flex: 1
|
|
243
|
-
borderTopLeftRadius: 0,
|
|
244
|
-
borderBottomLeftRadius: 0
|
|
234
|
+
flex: 1
|
|
245
235
|
},
|
|
246
236
|
onChangeText: text => setDraftPassword({
|
|
247
237
|
...draft_password,
|
|
@@ -257,15 +247,16 @@ const PasswordManager = ({
|
|
|
257
247
|
keyExtractor: item => item.type ?? item.attribute
|
|
258
248
|
}))) : /*#__PURE__*/React.createElement(View, {
|
|
259
249
|
style: {
|
|
260
|
-
|
|
250
|
+
flexGrow: 1,
|
|
261
251
|
justifyContent: 'center',
|
|
262
252
|
alignItems: 'center',
|
|
263
253
|
padding: 10
|
|
264
254
|
}
|
|
265
255
|
}, /*#__PURE__*/React.createElement(View, {
|
|
256
|
+
float: true,
|
|
266
257
|
style: {
|
|
267
258
|
borderRadius: 8,
|
|
268
|
-
backgroundColor:
|
|
259
|
+
backgroundColor: C.views.background,
|
|
269
260
|
justifyContent: 'center',
|
|
270
261
|
alignItems: 'center',
|
|
271
262
|
padding: 30
|
|
@@ -275,20 +266,17 @@ const PasswordManager = ({
|
|
|
275
266
|
marginBottom: 30
|
|
276
267
|
},
|
|
277
268
|
size: 24,
|
|
278
|
-
|
|
279
|
-
weight: "bold"
|
|
269
|
+
theme: "h1"
|
|
280
270
|
}, "Password Set"), /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
|
|
281
271
|
size: 40,
|
|
282
|
-
color:
|
|
272
|
+
color: C.text.success
|
|
283
273
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
284
274
|
title: "CHANGE",
|
|
285
275
|
style: {
|
|
286
276
|
marginTop: 20,
|
|
287
|
-
padding: 15
|
|
288
|
-
flex: 0
|
|
277
|
+
padding: 15
|
|
289
278
|
},
|
|
290
|
-
|
|
291
|
-
backgroundColor: Colors.brand.electric,
|
|
279
|
+
type: "info",
|
|
292
280
|
onPress: () => setDraftPassword({
|
|
293
281
|
...draft_password,
|
|
294
282
|
change_visible: true
|
|
@@ -302,8 +290,7 @@ const PasswordManager = ({
|
|
|
302
290
|
}
|
|
303
291
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
304
292
|
title: "EXIT SETUP",
|
|
305
|
-
|
|
306
|
-
backgroundColor: "transparent",
|
|
293
|
+
type: "text",
|
|
307
294
|
onPress: () => onClose()
|
|
308
295
|
}), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
309
296
|
disabled: !is_valid,
|
|
@@ -326,10 +313,7 @@ const PasswordManager = ({
|
|
|
326
313
|
marginRight: 5
|
|
327
314
|
},
|
|
328
315
|
title: "BACK",
|
|
329
|
-
|
|
330
|
-
title_color: Colors.brand.electric,
|
|
331
|
-
borderWidth: 1,
|
|
332
|
-
borderColor: Colors.brand.electric,
|
|
316
|
+
type: "close",
|
|
333
317
|
onPress: () => onClose()
|
|
334
318
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
335
319
|
style: {
|
|
@@ -338,9 +322,7 @@ const PasswordManager = ({
|
|
|
338
322
|
},
|
|
339
323
|
disabled: !is_valid || !password,
|
|
340
324
|
title: "UPDATE",
|
|
341
|
-
|
|
342
|
-
title_color: Colors.shades.white,
|
|
343
|
-
backgroundColor: Colors.utility.success,
|
|
325
|
+
type: "success",
|
|
344
326
|
onPress: () => handleSetPassword()
|
|
345
327
|
})));
|
|
346
328
|
};
|