be-components 1.0.8 → 1.1.0
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/AdServer/components/CompanyAdCard.js +3 -5
- package/lib/commonjs/AdServer/components/CompanyAdCard.js.map +1 -1
- package/lib/commonjs/AdServer/index.js +9 -10
- package/lib/commonjs/AdServer/index.js.map +1 -1
- package/lib/commonjs/ApiOverrides/index.js +6 -3
- package/lib/commonjs/ApiOverrides/index.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +16 -17
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/LoginForm.js +58 -60
- package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +67 -69
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/commonjs/Authenticator/index.js +14 -16
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/BettorSearch/index.js +8 -10
- package/lib/commonjs/BettorSearch/index.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketCompetitionCard.js +92 -94
- package/lib/commonjs/Bracket/components/BracketCompetitionCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js +37 -39
- package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js +18 -19
- package/lib/commonjs/Bracket/components/BracketPlay/BracketNavigator.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js +7 -8
- package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js +45 -46
- package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/index.js +27 -29
- package/lib/commonjs/Bracket/components/BracketPlay/index.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketSelector.js +21 -22
- package/lib/commonjs/Bracket/components/BracketSelector.js.map +1 -1
- package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js +34 -36
- package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Bracket/components/JoinCompetitionCard.js +20 -22
- package/lib/commonjs/Bracket/components/JoinCompetitionCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/PlayerBalanceCard.js +6 -7
- package/lib/commonjs/Bracket/components/PlayerBalanceCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/PlayerBracketManager.js +75 -77
- package/lib/commonjs/Bracket/components/PlayerBracketManager.js.map +1 -1
- package/lib/commonjs/Bracket/components/PlayerBrackets.js +27 -28
- package/lib/commonjs/Bracket/components/PlayerBrackets.js.map +1 -1
- package/lib/commonjs/Bracket/components/RoomMenu.js +15 -16
- package/lib/commonjs/Bracket/components/RoomMenu.js.map +1 -1
- package/lib/commonjs/Bracket/index.js +9 -11
- package/lib/commonjs/Bracket/index.js.map +1 -1
- package/lib/commonjs/Checkout/components/AccountSummaryCard.js +43 -44
- package/lib/commonjs/Checkout/components/AccountSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js +7 -8
- package/lib/commonjs/Checkout/components/ItemSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js +12 -13
- package/lib/commonjs/Checkout/components/OrderSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/components/PayPalOrderCapture.js +2 -4
- package/lib/commonjs/Checkout/components/PayPalOrderCapture.js.map +1 -1
- package/lib/commonjs/Checkout/components/ShippingSummaryCard.js +7 -8
- package/lib/commonjs/Checkout/components/ShippingSummaryCard.js.map +1 -1
- package/lib/commonjs/Checkout/index.js +58 -60
- package/lib/commonjs/Checkout/index.js.map +1 -1
- package/lib/commonjs/Competition/components/AthleteMarketCard.js +20 -21
- package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionCard.js +25 -26
- package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +31 -32
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +34 -36
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionPlay.js +116 -118
- package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +16 -17
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionSelector.js +14 -16
- package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -1
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js +43 -45
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -1
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +29 -31
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/commonjs/Competition/components/LeaderPicks.js +39 -41
- package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/commonjs/Competition/components/ManageSeasonForm.js +85 -87
- package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +1 -1
- package/lib/commonjs/Competition/components/MarketsCard.js +17 -19
- package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -1
- package/lib/commonjs/Competition/components/MatchMarketCard.js +25 -26
- package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -1
- package/lib/commonjs/Competition/components/NavOutPrompt.js +18 -19
- package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -1
- package/lib/commonjs/Competition/components/SeasonInfoModal.js +52 -54
- package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +1 -1
- package/lib/commonjs/Competition/components/TeamEventCard.js +30 -31
- package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/commonjs/Competition/components/WagerPickForm.js +30 -32
- package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/commonjs/Competition/index.js +3 -5
- package/lib/commonjs/Competition/index.js.map +1 -1
- package/lib/commonjs/Components/Button.js +7 -8
- package/lib/commonjs/Components/Button.js.map +1 -1
- package/lib/commonjs/Components/Checkbox.js +3 -4
- package/lib/commonjs/Components/Checkbox.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +650 -373
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/ImageUploader.js +3 -5
- package/lib/commonjs/Components/ImageUploader.js.map +1 -1
- package/lib/commonjs/Components/Jerseys.js +124 -125
- package/lib/commonjs/Components/Jerseys.js.map +1 -1
- package/lib/commonjs/Components/LinearDiagnal.js +7 -9
- package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
- package/lib/commonjs/Components/Spring.js +1 -3
- package/lib/commonjs/Components/Spring.js.map +1 -1
- package/lib/commonjs/Components/Switch.js +8 -9
- package/lib/commonjs/Components/Switch.js.map +1 -1
- package/lib/commonjs/Components/Text.js +33 -5
- package/lib/commonjs/Components/Text.js.map +1 -1
- package/lib/commonjs/Components/TextInput.js +1 -2
- package/lib/commonjs/Components/TextInput.js.map +1 -1
- package/lib/commonjs/LocationTracker/index.js +27 -28
- package/lib/commonjs/LocationTracker/index.js.map +1 -1
- package/lib/commonjs/Observer/Observer.js +2 -4
- package/lib/commonjs/Observer/Observer.js.map +1 -1
- package/lib/commonjs/Poll/components/CampaignPlay.js +56 -58
- package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -1
- package/lib/commonjs/Poll/components/CampaignProgressBar.js +11 -13
- package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -1
- package/lib/commonjs/Poll/components/CampaignResult.js +56 -58
- package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -1
- package/lib/commonjs/Poll/components/CampaignSelector.js +12 -14
- package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -1
- package/lib/commonjs/Poll/components/PollCampaignCard.js +7 -8
- package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -1
- package/lib/commonjs/Poll/components/PollCard.js +49 -51
- package/lib/commonjs/Poll/components/PollCard.js.map +1 -1
- package/lib/commonjs/Poll/components/PollOptionCard.js +14 -16
- package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -1
- package/lib/commonjs/Poll/components/PollSelectCard.js +25 -26
- package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -1
- package/lib/commonjs/Poll/components/ResponseTimer.js +3 -5
- package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -1
- package/lib/commonjs/Poll/components/WidgetHeader.js +11 -12
- package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -1
- package/lib/commonjs/Poll/flashmarket/ResultCard.js +47 -49
- package/lib/commonjs/Poll/flashmarket/ResultCard.js.map +1 -1
- package/lib/commonjs/Poll/flashmarket/index.js +52 -54
- package/lib/commonjs/Poll/flashmarket/index.js.map +1 -1
- package/lib/commonjs/Poll/index.js +6 -8
- package/lib/commonjs/Poll/index.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +35 -37
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js +35 -36
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +50 -52
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/DOBManager.js +24 -26
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/EmailManager.js +36 -38
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js +36 -38
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js +36 -38
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +17 -19
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +15 -16
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +66 -68
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js +29 -31
- package/lib/commonjs/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js +63 -65
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/index.js +16 -18
- package/lib/commonjs/ProfileManager/index.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerCard.js +11 -12
- package/lib/commonjs/SocialComponents/PlayerCard.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerFollowButton.js +3 -4
- package/lib/commonjs/SocialComponents/PlayerFollowButton.js.map +1 -1
- package/lib/commonjs/SocialComponents/PlayerList.js +4 -6
- package/lib/commonjs/SocialComponents/PlayerList.js.map +1 -1
- package/lib/commonjs/Socket/api/index.js +18 -0
- package/lib/commonjs/Socket/api/index.js.map +1 -0
- package/lib/commonjs/Socket/index.js +120 -0
- package/lib/commonjs/Socket/index.js.map +1 -0
- package/lib/commonjs/Squares/api/index.js +97 -0
- package/lib/commonjs/Squares/api/index.js.map +1 -0
- package/lib/commonjs/Squares/components/BidForm.js +173 -0
- package/lib/commonjs/Squares/components/BidForm.js.map +1 -0
- package/lib/commonjs/Squares/components/BidToggle.js +63 -0
- package/lib/commonjs/Squares/components/BidToggle.js.map +1 -0
- package/lib/commonjs/Squares/components/BoardStats.js +144 -0
- package/lib/commonjs/Squares/components/BoardStats.js.map +1 -0
- package/lib/commonjs/Squares/components/EventCard.js +132 -0
- package/lib/commonjs/Squares/components/EventCard.js.map +1 -0
- package/lib/commonjs/Squares/components/MySquaresCard.js +109 -0
- package/lib/commonjs/Squares/components/MySquaresCard.js.map +1 -0
- package/lib/commonjs/Squares/components/OfferForm.js +181 -0
- package/lib/commonjs/Squares/components/OfferForm.js.map +1 -0
- package/lib/commonjs/Squares/components/ResultsCard.js +108 -0
- package/lib/commonjs/Squares/components/ResultsCard.js.map +1 -0
- package/lib/commonjs/Squares/components/SquareCard.js +337 -0
- package/lib/commonjs/Squares/components/SquareCard.js.map +1 -0
- package/lib/commonjs/Squares/components/SquareOfferCard.js +266 -0
- package/lib/commonjs/Squares/components/SquareOfferCard.js.map +1 -0
- package/lib/commonjs/Squares/components/SquareOwners.js +123 -0
- package/lib/commonjs/Squares/components/SquareOwners.js.map +1 -0
- package/lib/commonjs/Squares/components/SquaresBoard.js +209 -0
- package/lib/commonjs/Squares/components/SquaresBoard.js.map +1 -0
- package/lib/commonjs/Squares/components/SquaresDetails.js +90 -0
- package/lib/commonjs/Squares/components/SquaresDetails.js.map +1 -0
- package/lib/commonjs/Squares/index.js +568 -0
- package/lib/commonjs/Squares/index.js.map +1 -0
- package/lib/commonjs/Wallet/components/ACHAddCard.js +38 -39
- package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountCard.js +17 -18
- package/lib/commonjs/Wallet/components/AccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountLimitManager.js +32 -34
- package/lib/commonjs/Wallet/components/AccountLimitManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountManager.js +31 -32
- package/lib/commonjs/Wallet/components/AccountManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js +31 -33
- package/lib/commonjs/Wallet/components/AccountSnoozeManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressCard.js +7 -8
- package/lib/commonjs/Wallet/components/AddressCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressManager.js +44 -46
- package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/DepositCard.js +41 -43
- package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/FundAccountCard.js +54 -55
- package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ItemOrderCard.js +15 -17
- package/lib/commonjs/Wallet/components/ItemOrderCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js +23 -25
- package/lib/commonjs/Wallet/components/ItemOrderDetailCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/LinkAccountManager.js +40 -42
- package/lib/commonjs/Wallet/components/LinkAccountManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManageAccountCard.js +36 -38
- package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualACHAdd.js +33 -35
- package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualCardAdd.js +47 -49
- package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/MyBalance.js +34 -35
- package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
- package/lib/commonjs/Wallet/components/OrderManager.js +15 -17
- package/lib/commonjs/Wallet/components/OrderManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/RemoveAccount.js +10 -12
- package/lib/commonjs/Wallet/components/RemoveAccount.js.map +1 -1
- package/lib/commonjs/Wallet/components/VerifyACHAccount.js +20 -22
- package/lib/commonjs/Wallet/components/VerifyACHAccount.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletActionSelector.js +49 -51
- package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSettings.js +98 -100
- package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSetup.js +58 -60
- package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/commonjs/Wallet/components/WithdrawCard.js +46 -48
- package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/commonjs/Wallet/index.js +45 -47
- package/lib/commonjs/Wallet/index.js.map +1 -1
- package/lib/commonjs/constants/styles.js +86 -0
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/AdServer/components/CompanyAdCard.js +1 -1
- package/lib/module/AdServer/components/CompanyAdCard.js.map +1 -1
- package/lib/module/AdServer/index.js +2 -1
- package/lib/module/AdServer/index.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +6 -3
- package/lib/module/ApiOverrides/index.js.map +1 -1
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +0 -1
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -1
- package/lib/module/Authenticator/Components/LoginForm.js +1 -1
- package/lib/module/Authenticator/Components/LoginForm.js.map +1 -1
- package/lib/module/Authenticator/Components/StrategyForm.js +1 -1
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/module/Authenticator/index.js +1 -1
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/BettorSearch/index.js +1 -1
- package/lib/module/BettorSearch/index.js.map +1 -1
- package/lib/module/Bracket/components/BracketCompetitionCard.js +1 -1
- package/lib/module/Bracket/components/BracketCompetitionCard.js.map +1 -1
- package/lib/module/Bracket/components/BracketCompetitionSelector.js +1 -1
- package/lib/module/Bracket/components/BracketCompetitionSelector.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/BracketNavigator.js +0 -1
- package/lib/module/Bracket/components/BracketPlay/BracketNavigator.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/BracketRound.js +0 -1
- package/lib/module/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/RoundEvent.js +0 -1
- package/lib/module/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/index.js +1 -1
- package/lib/module/Bracket/components/BracketPlay/index.js.map +1 -1
- package/lib/module/Bracket/components/BracketSelector.js +0 -1
- package/lib/module/Bracket/components/BracketSelector.js.map +1 -1
- package/lib/module/Bracket/components/CompetitionLeaderboard.js +1 -1
- package/lib/module/Bracket/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Bracket/components/JoinCompetitionCard.js +1 -1
- package/lib/module/Bracket/components/JoinCompetitionCard.js.map +1 -1
- package/lib/module/Bracket/components/PlayerBalanceCard.js +0 -1
- package/lib/module/Bracket/components/PlayerBalanceCard.js.map +1 -1
- package/lib/module/Bracket/components/PlayerBracketManager.js +1 -1
- package/lib/module/Bracket/components/PlayerBracketManager.js.map +1 -1
- package/lib/module/Bracket/components/PlayerBrackets.js +0 -1
- package/lib/module/Bracket/components/PlayerBrackets.js.map +1 -1
- package/lib/module/Bracket/components/RoomMenu.js +0 -1
- package/lib/module/Bracket/components/RoomMenu.js.map +1 -1
- package/lib/module/Bracket/index.js +1 -1
- package/lib/module/Bracket/index.js.map +1 -1
- package/lib/module/Checkout/components/AccountSummaryCard.js +0 -1
- package/lib/module/Checkout/components/AccountSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/ItemSummaryCard.js +0 -1
- package/lib/module/Checkout/components/ItemSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/OrderSummaryCard.js +0 -1
- package/lib/module/Checkout/components/OrderSummaryCard.js.map +1 -1
- package/lib/module/Checkout/components/PayPalOrderCapture.js +0 -1
- package/lib/module/Checkout/components/PayPalOrderCapture.js.map +1 -1
- package/lib/module/Checkout/components/ShippingSummaryCard.js +0 -1
- package/lib/module/Checkout/components/ShippingSummaryCard.js.map +1 -1
- package/lib/module/Checkout/index.js +1 -1
- package/lib/module/Checkout/index.js.map +1 -1
- package/lib/module/Competition/components/AthleteMarketCard.js +0 -1
- package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionCard.js +0 -1
- package/lib/module/Competition/components/CompetitionCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionInfoCard.js +0 -1
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js +1 -1
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionPlay.js +1 -1
- package/lib/module/Competition/components/CompetitionPlay.js.map +1 -1
- package/lib/module/Competition/components/CompetitionSeasonCard.js +0 -1
- package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -1
- package/lib/module/Competition/components/CompetitionSelector.js +1 -1
- package/lib/module/Competition/components/CompetitionSelector.js.map +1 -1
- package/lib/module/Competition/components/CompetitionTypeCard.js +1 -1
- package/lib/module/Competition/components/CompetitionTypeCard.js.map +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +1 -1
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -1
- package/lib/module/Competition/components/LeaderPicks.js +1 -1
- package/lib/module/Competition/components/LeaderPicks.js.map +1 -1
- package/lib/module/Competition/components/ManageSeasonForm.js +1 -1
- package/lib/module/Competition/components/ManageSeasonForm.js.map +1 -1
- package/lib/module/Competition/components/MarketsCard.js +1 -1
- package/lib/module/Competition/components/MarketsCard.js.map +1 -1
- package/lib/module/Competition/components/MatchMarketCard.js +0 -1
- package/lib/module/Competition/components/MatchMarketCard.js.map +1 -1
- package/lib/module/Competition/components/NavOutPrompt.js +0 -1
- package/lib/module/Competition/components/NavOutPrompt.js.map +1 -1
- package/lib/module/Competition/components/SeasonInfoModal.js +1 -1
- package/lib/module/Competition/components/SeasonInfoModal.js.map +1 -1
- package/lib/module/Competition/components/TeamEventCard.js +0 -1
- package/lib/module/Competition/components/TeamEventCard.js.map +1 -1
- package/lib/module/Competition/components/WagerPickForm.js +1 -1
- package/lib/module/Competition/components/WagerPickForm.js.map +1 -1
- package/lib/module/Competition/index.js +1 -1
- package/lib/module/Competition/index.js.map +1 -1
- package/lib/module/Components/Button.js +0 -1
- package/lib/module/Components/Button.js.map +1 -1
- package/lib/module/Components/Checkbox.js +0 -1
- package/lib/module/Components/Checkbox.js.map +1 -1
- package/lib/module/Components/Icons.js +279 -2
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/ImageUploader.js +1 -1
- package/lib/module/Components/ImageUploader.js.map +1 -1
- package/lib/module/Components/Jerseys.js +0 -1
- package/lib/module/Components/Jerseys.js.map +1 -1
- package/lib/module/Components/LinearDiagnal.js +1 -1
- package/lib/module/Components/LinearDiagnal.js.map +1 -1
- package/lib/module/Components/Spring.js +0 -1
- package/lib/module/Components/Spring.js.map +1 -1
- package/lib/module/Components/Switch.js +0 -1
- package/lib/module/Components/Switch.js.map +1 -1
- package/lib/module/Components/Text.js +33 -5
- package/lib/module/Components/Text.js.map +1 -1
- package/lib/module/Components/TextInput.js +0 -1
- package/lib/module/Components/TextInput.js.map +1 -1
- package/lib/module/LocationTracker/index.js +0 -1
- package/lib/module/LocationTracker/index.js.map +1 -1
- package/lib/module/Observer/Observer.js +0 -1
- package/lib/module/Observer/Observer.js.map +1 -1
- package/lib/module/Poll/components/CampaignPlay.js +0 -1
- package/lib/module/Poll/components/CampaignPlay.js.map +1 -1
- package/lib/module/Poll/components/CampaignProgressBar.js +0 -1
- package/lib/module/Poll/components/CampaignProgressBar.js.map +1 -1
- package/lib/module/Poll/components/CampaignResult.js +0 -1
- package/lib/module/Poll/components/CampaignResult.js.map +1 -1
- package/lib/module/Poll/components/CampaignSelector.js +1 -1
- package/lib/module/Poll/components/CampaignSelector.js.map +1 -1
- package/lib/module/Poll/components/PollCampaignCard.js +0 -1
- package/lib/module/Poll/components/PollCampaignCard.js.map +1 -1
- package/lib/module/Poll/components/PollCard.js +0 -1
- package/lib/module/Poll/components/PollCard.js.map +1 -1
- package/lib/module/Poll/components/PollOptionCard.js +1 -1
- package/lib/module/Poll/components/PollOptionCard.js.map +1 -1
- package/lib/module/Poll/components/PollSelectCard.js +0 -1
- package/lib/module/Poll/components/PollSelectCard.js.map +1 -1
- package/lib/module/Poll/components/ResponseTimer.js +1 -1
- package/lib/module/Poll/components/ResponseTimer.js.map +1 -1
- package/lib/module/Poll/components/WidgetHeader.js +0 -1
- package/lib/module/Poll/components/WidgetHeader.js.map +1 -1
- package/lib/module/Poll/flashmarket/ResultCard.js +1 -1
- package/lib/module/Poll/flashmarket/ResultCard.js.map +1 -1
- package/lib/module/Poll/flashmarket/index.js +1 -1
- package/lib/module/Poll/flashmarket/index.js.map +1 -1
- package/lib/module/Poll/index.js +1 -1
- package/lib/module/Poll/index.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicInfoManager.js +1 -1
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js +0 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js +0 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/module/ProfileManager/Components/SettingsManager.js +1 -1
- package/lib/module/ProfileManager/Components/SettingsManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/index.js +1 -1
- package/lib/module/ProfileManager/index.js.map +1 -1
- package/lib/module/SocialComponents/PlayerCard.js +0 -1
- package/lib/module/SocialComponents/PlayerCard.js.map +1 -1
- package/lib/module/SocialComponents/PlayerFollowButton.js +0 -1
- package/lib/module/SocialComponents/PlayerFollowButton.js.map +1 -1
- package/lib/module/SocialComponents/PlayerList.js +1 -1
- package/lib/module/SocialComponents/PlayerList.js.map +1 -1
- package/lib/module/Socket/api/index.js +13 -0
- package/lib/module/Socket/api/index.js.map +1 -0
- package/lib/module/Socket/index.js +113 -0
- package/lib/module/Socket/index.js.map +1 -0
- package/lib/module/Squares/api/index.js +91 -0
- package/lib/module/Squares/api/index.js.map +1 -0
- package/lib/module/Squares/components/BidForm.js +166 -0
- package/lib/module/Squares/components/BidForm.js.map +1 -0
- package/lib/module/Squares/components/BidToggle.js +56 -0
- package/lib/module/Squares/components/BidToggle.js.map +1 -0
- package/lib/module/Squares/components/BoardStats.js +137 -0
- package/lib/module/Squares/components/BoardStats.js.map +1 -0
- package/lib/module/Squares/components/EventCard.js +125 -0
- package/lib/module/Squares/components/EventCard.js.map +1 -0
- package/lib/module/Squares/components/MySquaresCard.js +102 -0
- package/lib/module/Squares/components/MySquaresCard.js.map +1 -0
- package/lib/module/Squares/components/OfferForm.js +174 -0
- package/lib/module/Squares/components/OfferForm.js.map +1 -0
- package/lib/module/Squares/components/ResultsCard.js +101 -0
- package/lib/module/Squares/components/ResultsCard.js.map +1 -0
- package/lib/module/Squares/components/SquareCard.js +330 -0
- package/lib/module/Squares/components/SquareCard.js.map +1 -0
- package/lib/module/Squares/components/SquareOfferCard.js +259 -0
- package/lib/module/Squares/components/SquareOfferCard.js.map +1 -0
- package/lib/module/Squares/components/SquareOwners.js +116 -0
- package/lib/module/Squares/components/SquareOwners.js.map +1 -0
- package/lib/module/Squares/components/SquaresBoard.js +202 -0
- package/lib/module/Squares/components/SquaresBoard.js.map +1 -0
- package/lib/module/Squares/components/SquaresDetails.js +83 -0
- package/lib/module/Squares/components/SquaresDetails.js.map +1 -0
- package/lib/module/Squares/index.js +561 -0
- package/lib/module/Squares/index.js.map +1 -0
- package/lib/module/Wallet/components/ACHAddCard.js +0 -1
- package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/module/Wallet/components/AccountCard.js +0 -1
- package/lib/module/Wallet/components/AccountCard.js.map +1 -1
- package/lib/module/Wallet/components/AccountLimitManager.js +1 -1
- package/lib/module/Wallet/components/AccountLimitManager.js.map +1 -1
- package/lib/module/Wallet/components/AccountManager.js +0 -1
- package/lib/module/Wallet/components/AccountManager.js.map +1 -1
- package/lib/module/Wallet/components/AccountSnoozeManager.js +1 -1
- package/lib/module/Wallet/components/AccountSnoozeManager.js.map +1 -1
- package/lib/module/Wallet/components/AddressCard.js +0 -1
- package/lib/module/Wallet/components/AddressCard.js.map +1 -1
- package/lib/module/Wallet/components/AddressManager.js +1 -1
- package/lib/module/Wallet/components/AddressManager.js.map +1 -1
- package/lib/module/Wallet/components/DepositCard.js +1 -1
- package/lib/module/Wallet/components/DepositCard.js.map +1 -1
- package/lib/module/Wallet/components/FundAccountCard.js +0 -1
- package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ItemOrderCard.js +1 -1
- package/lib/module/Wallet/components/ItemOrderCard.js.map +1 -1
- package/lib/module/Wallet/components/ItemOrderDetailCard.js +0 -1
- package/lib/module/Wallet/components/ItemOrderDetailCard.js.map +1 -1
- package/lib/module/Wallet/components/LinkAccountManager.js +1 -1
- package/lib/module/Wallet/components/LinkAccountManager.js.map +1 -1
- package/lib/module/Wallet/components/ManageAccountCard.js +1 -1
- package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManualACHAdd.js +1 -1
- package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/module/Wallet/components/ManualCardAdd.js +1 -1
- package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/module/Wallet/components/MyBalance.js +0 -1
- package/lib/module/Wallet/components/MyBalance.js.map +1 -1
- package/lib/module/Wallet/components/OrderManager.js +1 -1
- package/lib/module/Wallet/components/OrderManager.js.map +1 -1
- package/lib/module/Wallet/components/RemoveAccount.js +0 -1
- package/lib/module/Wallet/components/RemoveAccount.js.map +1 -1
- package/lib/module/Wallet/components/VerifyACHAccount.js +1 -1
- package/lib/module/Wallet/components/VerifyACHAccount.js.map +1 -1
- package/lib/module/Wallet/components/WalletActionSelector.js +1 -1
- package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/module/Wallet/components/WalletSettings.js +0 -1
- package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/module/Wallet/components/WalletSetup.js +1 -1
- package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/module/Wallet/components/WithdrawCard.js +1 -1
- package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/module/Wallet/index.js +1 -1
- package/lib/module/Wallet/index.js.map +1 -1
- package/lib/module/constants/styles.js +86 -0
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/AdServer/components/CompanyAdCard.d.ts +1 -2
- package/lib/typescript/src/AdServer/components/CompanyAdCard.d.ts.map +1 -1
- package/lib/typescript/src/AdServer/index.d.ts +2 -3
- package/lib/typescript/src/AdServer/index.d.ts.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -2
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +1 -2
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +1 -2
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/index.d.ts +1 -2
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/src/BettorSearch/index.d.ts +1 -2
- package/lib/typescript/src/BettorSearch/index.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketCompetitionCard.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketNavigator.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketNavigator.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketPlay/RoundEvent.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketPlay/RoundEvent.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketSelector.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/BracketSelector.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/PlayerBalanceCard.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/PlayerBalanceCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/PlayerBracketManager.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/PlayerBracketManager.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/RoomMenu.d.ts +1 -2
- package/lib/typescript/src/Bracket/components/RoomMenu.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/index.d.ts +1 -2
- package/lib/typescript/src/Bracket/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts +1 -2
- package/lib/typescript/src/Checkout/components/AccountSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts +1 -2
- package/lib/typescript/src/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts +1 -2
- package/lib/typescript/src/Checkout/components/OrderSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/PayPalOrderCapture.d.ts +1 -2
- package/lib/typescript/src/Checkout/components/PayPalOrderCapture.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/components/ShippingSummaryCard.d.ts +1 -2
- package/lib/typescript/src/Checkout/components/ShippingSummaryCard.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/index.d.ts +1 -2
- package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts +1 -2
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +1 -2
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +1 -2
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts +1 -2
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +1 -2
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts +1 -2
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +1 -2
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -1
- package/lib/typescript/src/Competition/index.d.ts +1 -2
- package/lib/typescript/src/Competition/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Button.d.ts +1 -2
- package/lib/typescript/src/Components/Button.d.ts.map +1 -1
- package/lib/typescript/src/Components/Checkbox.d.ts +1 -2
- package/lib/typescript/src/Components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/src/Components/Icons.d.ts +57 -53
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/ImageUploader.d.ts +1 -2
- package/lib/typescript/src/Components/ImageUploader.d.ts.map +1 -1
- package/lib/typescript/src/Components/Jerseys.d.ts +2 -3
- package/lib/typescript/src/Components/Jerseys.d.ts.map +1 -1
- package/lib/typescript/src/Components/LinearDiagnal.d.ts +1 -2
- package/lib/typescript/src/Components/LinearDiagnal.d.ts.map +1 -1
- package/lib/typescript/src/Components/Spring.d.ts +1 -2
- package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/src/Components/Switch.d.ts +1 -2
- package/lib/typescript/src/Components/Switch.d.ts.map +1 -1
- package/lib/typescript/src/Components/Text.d.ts +3 -2
- package/lib/typescript/src/Components/Text.d.ts.map +1 -1
- package/lib/typescript/src/Components/TextInput.d.ts +1 -2
- package/lib/typescript/src/Components/TextInput.d.ts.map +1 -1
- package/lib/typescript/src/LocationTracker/index.d.ts +1 -2
- package/lib/typescript/src/LocationTracker/index.d.ts.map +1 -1
- package/lib/typescript/src/Observer/Observer.d.ts +1 -2
- package/lib/typescript/src/Observer/Observer.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts +1 -2
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts +1 -2
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts +1 -2
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts +1 -2
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts +1 -2
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/PollCard.d.ts +1 -2
- package/lib/typescript/src/Poll/components/PollCard.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts +1 -2
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts +1 -2
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts +1 -2
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts.map +1 -1
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts +1 -2
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts.map +1 -1
- package/lib/typescript/src/Poll/flashmarket/ResultCard.d.ts +1 -2
- package/lib/typescript/src/Poll/flashmarket/ResultCard.d.ts.map +1 -1
- package/lib/typescript/src/Poll/flashmarket/index.d.ts +1 -2
- package/lib/typescript/src/Poll/flashmarket/index.d.ts.map +1 -1
- package/lib/typescript/src/Poll/index.d.ts +1 -2
- package/lib/typescript/src/Poll/index.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +1 -2
- 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 +1 -2
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +1 -2
- 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/SocialComponents/PlayerCard.d.ts +1 -2
- package/lib/typescript/src/SocialComponents/PlayerCard.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/PlayerFollowButton.d.ts +1 -2
- package/lib/typescript/src/SocialComponents/PlayerFollowButton.d.ts.map +1 -1
- package/lib/typescript/src/SocialComponents/PlayerList.d.ts +1 -2
- package/lib/typescript/src/SocialComponents/PlayerList.d.ts.map +1 -1
- package/lib/typescript/src/Socket/api/index.d.ts +6 -0
- package/lib/typescript/src/Socket/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Socket/index.d.ts +11 -0
- package/lib/typescript/src/Socket/index.d.ts.map +1 -0
- package/lib/typescript/src/Squares/api/index.d.ts +29 -0
- package/lib/typescript/src/Squares/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/BidForm.d.ts +21 -0
- package/lib/typescript/src/Squares/components/BidForm.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/BidToggle.d.ts +9 -0
- package/lib/typescript/src/Squares/components/BidToggle.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/BoardStats.d.ts +10 -0
- package/lib/typescript/src/Squares/components/BoardStats.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/EventCard.d.ts +8 -0
- package/lib/typescript/src/Squares/components/EventCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/MySquaresCard.d.ts +13 -0
- package/lib/typescript/src/Squares/components/MySquaresCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/OfferForm.d.ts +22 -0
- package/lib/typescript/src/Squares/components/OfferForm.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/ResultsCard.d.ts +11 -0
- package/lib/typescript/src/Squares/components/ResultsCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquareCard.d.ts +20 -0
- package/lib/typescript/src/Squares/components/SquareCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts +12 -0
- package/lib/typescript/src/Squares/components/SquareOfferCard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquareOwners.d.ts +9 -0
- package/lib/typescript/src/Squares/components/SquareOwners.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquaresBoard.d.ts +18 -0
- package/lib/typescript/src/Squares/components/SquaresBoard.d.ts.map +1 -0
- package/lib/typescript/src/Squares/components/SquaresDetails.d.ts +9 -0
- package/lib/typescript/src/Squares/components/SquaresDetails.d.ts.map +1 -0
- package/lib/typescript/src/Squares/index.d.ts +14 -0
- package/lib/typescript/src/Squares/index.d.ts.map +1 -0
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AccountLimitManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AccountManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AccountSnoozeManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AddressCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ItemOrderCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ItemOrderCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ItemOrderDetailCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/LinkAccountManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/OrderManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/OrderManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/RemoveAccount.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/VerifyACHAccount.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/index.d.ts +1 -2
- package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/styles.d.ts +86 -0
- package/lib/typescript/src/constants/styles.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/AdServer/components/CompanyAdCard.tsx +1 -1
- package/src/AdServer/index.tsx +2 -1
- package/src/ApiOverrides/index.ts +6 -3
- package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +0 -1
- package/src/Authenticator/Components/LoginForm.tsx +1 -1
- package/src/Authenticator/Components/StrategyForm.tsx +1 -1
- package/src/Authenticator/index.tsx +1 -1
- package/src/BettorSearch/index.tsx +1 -1
- package/src/Bracket/components/BracketCompetitionCard.tsx +1 -1
- package/src/Bracket/components/BracketCompetitionSelector.tsx +1 -1
- package/src/Bracket/components/BracketPlay/BracketNavigator.tsx +0 -1
- package/src/Bracket/components/BracketPlay/BracketRound.tsx +0 -1
- package/src/Bracket/components/BracketPlay/RoundEvent.tsx +0 -1
- package/src/Bracket/components/BracketPlay/index.tsx +1 -1
- package/src/Bracket/components/BracketSelector.tsx +0 -1
- package/src/Bracket/components/CompetitionLeaderboard.tsx +1 -1
- package/src/Bracket/components/JoinCompetitionCard.tsx +1 -1
- package/src/Bracket/components/PlayerBalanceCard.tsx +0 -1
- package/src/Bracket/components/PlayerBracketManager.tsx +1 -1
- package/src/Bracket/components/PlayerBrackets.tsx +0 -1
- package/src/Bracket/components/RoomMenu.tsx +0 -1
- package/src/Bracket/index.tsx +1 -1
- package/src/Checkout/components/AccountSummaryCard.tsx +0 -1
- package/src/Checkout/components/ItemSummaryCard.tsx +0 -1
- package/src/Checkout/components/OrderSummaryCard.tsx +0 -1
- package/src/Checkout/components/PayPalOrderCapture.tsx +0 -1
- package/src/Checkout/components/ShippingSummaryCard.tsx +0 -1
- package/src/Checkout/index.tsx +1 -1
- package/src/Competition/components/AthleteMarketCard.tsx +0 -1
- package/src/Competition/components/CompetitionCard.tsx +0 -1
- package/src/Competition/components/CompetitionInfoCard.tsx +0 -1
- package/src/Competition/components/CompetitionLeaderboard.tsx +1 -1
- package/src/Competition/components/CompetitionPlay.tsx +1 -1
- package/src/Competition/components/CompetitionSeasonCard.tsx +0 -1
- package/src/Competition/components/CompetitionSelector.tsx +1 -1
- package/src/Competition/components/CompetitionTypeCard.tsx +1 -1
- package/src/Competition/components/EnterCompetitionPrompt.tsx +1 -1
- package/src/Competition/components/LeaderPicks.tsx +1 -1
- package/src/Competition/components/ManageSeasonForm.tsx +1 -1
- package/src/Competition/components/MarketsCard.tsx +1 -1
- package/src/Competition/components/MatchMarketCard.tsx +0 -1
- package/src/Competition/components/NavOutPrompt.tsx +0 -1
- package/src/Competition/components/SeasonInfoModal.tsx +1 -1
- package/src/Competition/components/TeamEventCard.tsx +0 -1
- package/src/Competition/components/WagerPickForm.tsx +1 -1
- package/src/Competition/index.tsx +1 -1
- package/src/Components/Button.tsx +0 -1
- package/src/Components/Checkbox.tsx +0 -1
- package/src/Components/Icons.tsx +76 -2
- package/src/Components/ImageUploader.tsx +1 -1
- package/src/Components/Jerseys.tsx +0 -1
- package/src/Components/LinearDiagnal.tsx +1 -1
- package/src/Components/Spring.tsx +0 -1
- package/src/Components/Switch.tsx +0 -1
- package/src/Components/Text.tsx +23 -3
- package/src/Components/TextInput.tsx +0 -1
- package/src/LocationTracker/index.tsx +0 -1
- package/src/Observer/Observer.tsx +0 -1
- package/src/Poll/components/CampaignPlay.tsx +0 -1
- package/src/Poll/components/CampaignProgressBar.tsx +0 -1
- package/src/Poll/components/CampaignResult.tsx +0 -1
- package/src/Poll/components/CampaignSelector.tsx +1 -1
- package/src/Poll/components/PollCampaignCard.tsx +0 -1
- package/src/Poll/components/PollCard.tsx +0 -1
- package/src/Poll/components/PollOptionCard.tsx +1 -1
- package/src/Poll/components/PollSelectCard.tsx +0 -1
- package/src/Poll/components/ResponseTimer.tsx +1 -1
- package/src/Poll/components/WidgetHeader.tsx +0 -1
- package/src/Poll/flashmarket/ResultCard.tsx +1 -1
- package/src/Poll/flashmarket/index.tsx +1 -1
- package/src/Poll/index.tsx +1 -1
- package/src/ProfileManager/Components/BasicInfoManager.tsx +1 -1
- package/src/ProfileManager/Components/BasicStatus.tsx +0 -1
- package/src/ProfileManager/Components/CodeRedeem.tsx +1 -1
- package/src/ProfileManager/Components/DOBManager.tsx +1 -1
- package/src/ProfileManager/Components/EmailManager.tsx +1 -1
- package/src/ProfileManager/Components/PasswordManager.tsx +1 -1
- package/src/ProfileManager/Components/PhoneManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfilePicManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfileWelcome.tsx +0 -1
- package/src/ProfileManager/Components/ProfileWizard.tsx +1 -1
- package/src/ProfileManager/Components/SettingsManager.tsx +1 -1
- package/src/ProfileManager/Components/VouchCard.tsx +1 -1
- package/src/ProfileManager/index.tsx +1 -1
- package/src/SocialComponents/PlayerCard.tsx +0 -1
- package/src/SocialComponents/PlayerFollowButton.tsx +0 -1
- package/src/SocialComponents/PlayerList.tsx +1 -1
- package/src/Socket/api/index.ts +15 -0
- package/src/Socket/index.tsx +96 -0
- package/src/Squares/api/index.ts +69 -0
- package/src/Squares/components/BidForm.tsx +85 -0
- package/src/Squares/components/BidToggle.tsx +27 -0
- package/src/Squares/components/BoardStats.tsx +70 -0
- package/src/Squares/components/EventCard.tsx +77 -0
- package/src/Squares/components/MySquaresCard.tsx +80 -0
- package/src/Squares/components/OfferForm.tsx +94 -0
- package/src/Squares/components/ResultsCard.tsx +67 -0
- package/src/Squares/components/SquareCard.tsx +190 -0
- package/src/Squares/components/SquareOfferCard.tsx +101 -0
- package/src/Squares/components/SquareOwners.tsx +69 -0
- package/src/Squares/components/SquaresBoard.tsx +161 -0
- package/src/Squares/components/SquaresDetails.tsx +54 -0
- package/src/Squares/index.tsx +398 -0
- package/src/Wallet/components/ACHAddCard.tsx +0 -1
- package/src/Wallet/components/AccountCard.tsx +0 -1
- package/src/Wallet/components/AccountLimitManager.tsx +1 -1
- package/src/Wallet/components/AccountManager.tsx +0 -1
- package/src/Wallet/components/AccountSnoozeManager.tsx +1 -1
- package/src/Wallet/components/AddressCard.tsx +0 -1
- package/src/Wallet/components/AddressManager.tsx +1 -1
- package/src/Wallet/components/DepositCard.tsx +1 -1
- package/src/Wallet/components/FundAccountCard.tsx +0 -1
- package/src/Wallet/components/ItemOrderCard.tsx +1 -1
- package/src/Wallet/components/ItemOrderDetailCard.tsx +0 -1
- package/src/Wallet/components/LinkAccountManager.tsx +1 -1
- package/src/Wallet/components/ManageAccountCard.tsx +1 -1
- package/src/Wallet/components/ManualACHAdd.tsx +1 -1
- package/src/Wallet/components/ManualCardAdd.tsx +1 -1
- package/src/Wallet/components/MyBalance.tsx +0 -1
- package/src/Wallet/components/OrderManager.tsx +1 -1
- package/src/Wallet/components/RemoveAccount.tsx +0 -1
- package/src/Wallet/components/VerifyACHAccount.tsx +1 -1
- package/src/Wallet/components/WalletActionSelector.tsx +1 -1
- package/src/Wallet/components/WalletSettings.tsx +0 -1
- package/src/Wallet/components/WalletSetup.tsx +1 -1
- package/src/Wallet/components/WithdrawCard.tsx +1 -1
- package/src/Wallet/index.tsx +1 -1
- package/src/constants/styles.ts +15 -2
- package/src/index.tsx +6 -1
- package/src/types.d.ts +52 -1
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { useEffect, useState } from "react"
|
|
2
|
+
import { ActivityIndicator, View, Image, TouchableOpacity, ScrollView } from 'react-native';
|
|
3
|
+
import type { BuySquaresResponseProps, EventProps, LeagueProps, OfferResponseProps, PlayerSquareProps, PublicPlayerProps, SquareOfferProps, SquareProps, SquareResultProps, SquaresCompetitionProps, SquaresPayoutProps, SquaresTypeProps } from "../types"
|
|
4
|
+
import Colors from "../constants/colors";
|
|
5
|
+
import { SqauresHelpers, SquaresApi } from "./api";
|
|
6
|
+
import { Button, Icons, Text } from "../Components";
|
|
7
|
+
import SquaresBoard from "./components/SquaresBoard";
|
|
8
|
+
import BidForm from "./components/BidForm";
|
|
9
|
+
import SocketManager from "../Socket";
|
|
10
|
+
import EventCard from "./components/EventCard";
|
|
11
|
+
import ResultsCard from "./components/ResultsCard";
|
|
12
|
+
import SquaresDetails from "./components/SquaresDetails";
|
|
13
|
+
import BoardStats from "./components/BoardStats";
|
|
14
|
+
import SquareOwnersCard from "./components/SquareOwners";
|
|
15
|
+
import type { BEEventProps } from "../Observer/api/types";
|
|
16
|
+
import OfferForm from "./components/OfferForm";
|
|
17
|
+
import MySquaresCard from "./components/MySquaresCard";
|
|
18
|
+
import { view_styles } from "../constants/styles";
|
|
19
|
+
|
|
20
|
+
type SquaresModuleProps = {
|
|
21
|
+
player_id?:string,
|
|
22
|
+
distinct_id:string,
|
|
23
|
+
sq_comp_id:string,
|
|
24
|
+
onRequestAuthenticate: (auth_strategy_id?:string) => void,
|
|
25
|
+
onShareCompetition:(squares_competition:SquaresCompetitionProps) => void,
|
|
26
|
+
onPlayerSelect:(player:PublicPlayerProps) => void,
|
|
27
|
+
onEvent:(ev:BEEventProps) => void
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const SquaresModule = ({ sq_comp_id, player_id, distinct_id, onRequestAuthenticate, onShareCompetition, onPlayerSelect }:SquaresModuleProps) => {
|
|
31
|
+
const [ needs_reload, setNeedsReload ] = useState(false);
|
|
32
|
+
const [ module_size, setModuleSize ] = useState({ width:0, height:0 })
|
|
33
|
+
const [ bid_form_expanded, setBidFormExpanded ] = useState(false);
|
|
34
|
+
const [ module_data, setModuleData ] = useState<{
|
|
35
|
+
loading:boolean,
|
|
36
|
+
loaded:boolean,
|
|
37
|
+
event?:EventProps,
|
|
38
|
+
squares_competition?:SquaresCompetitionProps,
|
|
39
|
+
squares:SquareProps[],
|
|
40
|
+
league?:LeagueProps,
|
|
41
|
+
players:PublicPlayerProps[],
|
|
42
|
+
squares_payout_type?:SquaresPayoutProps,
|
|
43
|
+
squares_type?: SquaresTypeProps,
|
|
44
|
+
square_results:SquareResultProps[],
|
|
45
|
+
square_offers:SquareOfferProps[],
|
|
46
|
+
player_square_history:PlayerSquareProps[],
|
|
47
|
+
player_squares:PlayerSquareProps[],
|
|
48
|
+
}>({
|
|
49
|
+
loading: false,
|
|
50
|
+
loaded: false,
|
|
51
|
+
squares:[],
|
|
52
|
+
players:[],
|
|
53
|
+
square_results: [],
|
|
54
|
+
square_offers: [],
|
|
55
|
+
player_square_history: [],
|
|
56
|
+
player_squares: []
|
|
57
|
+
});
|
|
58
|
+
const [ board_data, setBoardData ] = useState<{
|
|
59
|
+
draft_square_offers:SquareOfferProps[],
|
|
60
|
+
square_bids:PlayerSquareProps[],
|
|
61
|
+
submit_ready: { is_ready: boolean, is_loading:boolean }
|
|
62
|
+
}>({
|
|
63
|
+
draft_square_offers: [],
|
|
64
|
+
square_bids: [],
|
|
65
|
+
submit_ready: { is_loading:false, is_ready: false }
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
const { square_bids, draft_square_offers, submit_ready } = board_data;
|
|
69
|
+
const { loading, league, event, players, loaded, squares_competition, squares, squares_type, squares_payout_type, square_results, square_offers, player_square_history, player_squares } = module_data;
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
const my_squares = player_squares.filter(ps => ps.status == 'active' && ps.player_id == player_id);
|
|
73
|
+
const home_abbr = event?.home?.abbr??squares_competition?.event_backup?.home?.abbr
|
|
74
|
+
const away_abbr = event?.away?.abbr??squares_competition?.event_backup?.away?.abbr
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
if(!sq_comp_id){ return }
|
|
79
|
+
if(!loaded){ SquaresApi.setEnvironment(); }
|
|
80
|
+
getDataFromServer(sq_comp_id);
|
|
81
|
+
},[sq_comp_id])
|
|
82
|
+
|
|
83
|
+
const getDataFromServer = async(sq_comp_id:string) => {
|
|
84
|
+
setModuleData({ ...module_data, loading: true });
|
|
85
|
+
const d = await SquaresApi.getSquareCompetitionById(sq_comp_id);
|
|
86
|
+
const evs = await SquaresApi.getEventsByEventIds([d.squares_competition.event_id]);
|
|
87
|
+
const league_id = evs[0]?.league_id
|
|
88
|
+
let ps = await SquaresApi.getPlayersByPlayerIds([ ...new Set(d.player_squares.map(ps => ps.player_id)) ])
|
|
89
|
+
let l:LeagueProps | undefined = undefined
|
|
90
|
+
if(league_id){
|
|
91
|
+
l = await SquaresApi.getLeagueById(league_id);
|
|
92
|
+
}
|
|
93
|
+
setModuleData({
|
|
94
|
+
...module_data,
|
|
95
|
+
loaded: true,
|
|
96
|
+
event: evs[0],
|
|
97
|
+
league: l,
|
|
98
|
+
squares_competition: d.squares_competition,
|
|
99
|
+
squares_type: d.squares_type,
|
|
100
|
+
squares_payout_type: d.squares_payout_type,
|
|
101
|
+
squares:d.squares,
|
|
102
|
+
players:ps,
|
|
103
|
+
square_offers: d.square_offers,
|
|
104
|
+
square_results: d.square_results,
|
|
105
|
+
player_squares:d.player_squares,
|
|
106
|
+
player_square_history: d.player_square_history
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
const handleSubmitBid = async() => {
|
|
112
|
+
if(!squares_competition){ return }
|
|
113
|
+
if(!player_id){ return onRequestAuthenticate(squares_competition.auth_strategy_id) }
|
|
114
|
+
if(!submit_ready.is_ready){
|
|
115
|
+
setBoardData({ ...board_data, submit_ready: { is_ready: false, is_loading:true } })
|
|
116
|
+
setTimeout(() => {
|
|
117
|
+
setBoardData({ ...board_data, submit_ready: { is_ready: true, is_loading:false } })
|
|
118
|
+
}, 500);
|
|
119
|
+
return
|
|
120
|
+
}
|
|
121
|
+
//if(player?.vouched_status !== 'verified' && squares_competition.market_type === 'FOR_MONEY'){ return alert('Must be verified before purchasing real money squares') }
|
|
122
|
+
if(submit_ready.is_loading){ return } //Prevent button mashing
|
|
123
|
+
//SUBMIT BIDS!
|
|
124
|
+
setBoardData({ ...board_data, submit_ready: { ...submit_ready, is_loading:true } })
|
|
125
|
+
const resp = await SquaresApi.buySquares(squares_competition.sq_comp_id, square_bids)
|
|
126
|
+
if(needs_reload){ handleUpdateBoardFromBuy(resp) } //If we somehow got disconnected from the socket, we need to load it
|
|
127
|
+
setBoardData({ ...board_data, square_bids:[], submit_ready:{ is_loading: false, is_ready: false } })
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const handleSubmitOffer = async() => {
|
|
131
|
+
if(draft_square_offers.length === 0 || !draft_square_offers[0]){ return }
|
|
132
|
+
if(!submit_ready.is_ready){
|
|
133
|
+
setBoardData({ ...board_data, submit_ready: { is_ready: false, is_loading:true } })
|
|
134
|
+
setTimeout(() => {
|
|
135
|
+
setBoardData({ ...board_data, submit_ready: { is_ready: true, is_loading:false } })
|
|
136
|
+
}, 500);
|
|
137
|
+
return
|
|
138
|
+
}
|
|
139
|
+
if(submit_ready.is_loading){ return } //Prevent button mashing
|
|
140
|
+
//SUBMIT BIDS!
|
|
141
|
+
|
|
142
|
+
setBoardData({ ...board_data, submit_ready: { ...submit_ready, is_loading:true } })
|
|
143
|
+
const resp = await SquaresApi.offserSquare(draft_square_offers[0])
|
|
144
|
+
if(needs_reload){ handleUpdateBoardFromOffer(resp) } //If we somehow got disconnected from the socket, we need to load it
|
|
145
|
+
setBoardData({ ...board_data, draft_square_offers:[], submit_ready:{ is_loading: false, is_ready: false } })
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const handleClearBids = () => {
|
|
149
|
+
setBoardData({ ...board_data, square_bids: [], submit_ready: { is_ready:false, is_loading:false }})
|
|
150
|
+
setBidFormExpanded(false);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const handleClearOffers = () => {
|
|
154
|
+
setBoardData({ ...board_data, draft_square_offers: [], submit_ready: { is_ready:false, is_loading:false }})
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const handleSquareBid = (square:SquareProps, action:'remove'|'add') => {
|
|
158
|
+
if(!squares_competition){ return }
|
|
159
|
+
//setSubmitReady({ isReady:false, isLoading:false })
|
|
160
|
+
if(action === 'remove'){
|
|
161
|
+
return setBoardData({ ...board_data, square_bids: square_bids.filter(b => b.sq_square_id != square.sq_square_id) })
|
|
162
|
+
}
|
|
163
|
+
let purchase_price = square.init_cost
|
|
164
|
+
if(square.last_purchase_price >= square.init_cost){ purchase_price = square.last_purchase_price + 0.50 }
|
|
165
|
+
let newPS:PlayerSquareProps = {
|
|
166
|
+
sq_player_square_id:'', sq_comp_id:squares_competition.sq_comp_id, sq_square_id:square.sq_square_id, player_id:'', purchase_price, status:'active', create_datetime:'', last_update_datetime:''
|
|
167
|
+
}
|
|
168
|
+
return setBoardData({ ...board_data, square_bids: square_bids.concat(newPS) })
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
const handleBidAmountChange = (square_bid:PlayerSquareProps, square:SquareProps, direction:string) => {
|
|
172
|
+
let new_purchase_price:number = 0
|
|
173
|
+
if(direction === 'increase'){
|
|
174
|
+
new_purchase_price = square_bid.purchase_price + 0.50
|
|
175
|
+
} else {
|
|
176
|
+
new_purchase_price = square_bid.purchase_price - 0.50
|
|
177
|
+
if(new_purchase_price < square.init_cost){ return } //Do not change if the price is less than the initial cost
|
|
178
|
+
if(new_purchase_price <= square.last_purchase_price){ return } //Do not change if the price is not greater than current bid
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
square_bid = { ...square_bid, purchase_price:new_purchase_price }
|
|
182
|
+
setBoardData({ ...board_data, square_bids: square_bids.filter(s => s.sq_square_id != square_bid.sq_square_id).concat(square_bid) })
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
const handleSquareOffer = (square:SquareProps, action:'remove'|'add') => {
|
|
186
|
+
if(!squares_competition){ return }
|
|
187
|
+
if(!player_id){ return }
|
|
188
|
+
//setSubmitReady({ isReady:false, isLoading:false })
|
|
189
|
+
let ps = player_squares.find(ps => ps.sq_square_id == square.sq_square_id)
|
|
190
|
+
if(!ps){ return alert('Cannot put offer on this square as it is not owned by anyone') }
|
|
191
|
+
if(action === 'remove'){
|
|
192
|
+
return setBoardData({ ...board_data, draft_square_offers: draft_square_offers.filter(so => so.sq_player_square_id != ps?.sq_player_square_id) })
|
|
193
|
+
}
|
|
194
|
+
if(draft_square_offers.length > 0){ return alert('Currently only allowed to offer to buy 1 square at a time') }
|
|
195
|
+
//Todo - check if there is an existing square offer and update more than the last one (maybe)
|
|
196
|
+
let purchase_price = ps.purchase_price + 1
|
|
197
|
+
let newSO:SquareOfferProps = {
|
|
198
|
+
sq_offer_id:'', sq_comp_id:squares_competition.sq_comp_id, sq_player_square_id:ps.sq_player_square_id, amount:purchase_price, buy_sell_ind:ps.player_id == player_id?'sell':'buy', market_type:squares_competition.market_type,
|
|
199
|
+
status:'offered', offerer_id: player_id, offeree_id:ps.player_id, create_datetime:'', last_update_datetime:''
|
|
200
|
+
}
|
|
201
|
+
if(newSO.buy_sell_ind == 'buy'){
|
|
202
|
+
let existingSellOffer = square_offers.find(o => o.sq_player_square_id == newSO.sq_player_square_id)
|
|
203
|
+
if(existingSellOffer){ newSO.amount = existingSellOffer.amount }
|
|
204
|
+
}
|
|
205
|
+
if(newSO.buy_sell_ind == 'sell'){
|
|
206
|
+
let existingSellDraftOffer = draft_square_offers.find(o => o.sq_player_square_id == newSO.sq_player_square_id)
|
|
207
|
+
if(existingSellDraftOffer){ return alert('You already have an existing sale offer for this square') }
|
|
208
|
+
}
|
|
209
|
+
return setBoardData({ ...board_data, draft_square_offers: draft_square_offers.concat(newSO) })
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const handleUpdateBoardFromOffer = (data:OfferResponseProps) => {
|
|
213
|
+
|
|
214
|
+
setModuleData({
|
|
215
|
+
...module_data,
|
|
216
|
+
player_squares: player_squares.filter(ps => !data.removed_player_squares.map(rps => rps.sq_player_square_id.toString()).includes(ps.sq_player_square_id.toString())).filter(ps => !data.saved_player_squares.find(nps => nps.sq_player_square_id == ps.sq_player_square_id)).concat(data.saved_player_squares),
|
|
217
|
+
square_offers: square_offers.filter(o => !data.updated_offers.find(no => no.sq_offer_id == o.sq_offer_id)).concat(data.updated_offers)
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
const handleUpdateBoardFromBuy = (data:BuySquaresResponseProps) => {
|
|
222
|
+
|
|
223
|
+
setModuleData({
|
|
224
|
+
...module_data,
|
|
225
|
+
squares_competition: data.squares_competition,
|
|
226
|
+
squares: squares.filter(s => !data.updated_squares.find(ns => ns.sq_square_id == s.sq_square_id)).concat(data.updated_squares),
|
|
227
|
+
player_squares: player_squares.filter(ps => !data.removed_player_squares.map(rps => rps.sq_player_square_id.toString()).includes(ps.sq_player_square_id.toString())).filter(ps => !data.saved_player_squares.find(nps => nps.sq_player_square_id == ps.sq_player_square_id)).concat(data.saved_player_squares)
|
|
228
|
+
})
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if(loading || !squares_competition){
|
|
232
|
+
return (
|
|
233
|
+
<ActivityIndicator style={{ padding:20, alignSelf:'center' }} color={Colors.brand.midnight} size='large' />
|
|
234
|
+
)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
const comp_status = SqauresHelpers.getCompStatus(event, squares_competition)
|
|
238
|
+
return (
|
|
239
|
+
<View style={{ flex:1, backgroundColor:Colors.shades.shade100 }} onLayout={(ev) => {
|
|
240
|
+
const { width, height } = ev.nativeEvent.layout
|
|
241
|
+
setModuleSize({ width, height })
|
|
242
|
+
}}>
|
|
243
|
+
<ScrollView style={{flex:1}}>
|
|
244
|
+
|
|
245
|
+
<View nativeID="squares_header" style={{ flexDirection:'row', alignItems:'center', padding:10, backgroundColor:Colors.shades.white }}>
|
|
246
|
+
<View>
|
|
247
|
+
<Image
|
|
248
|
+
source={{ uri: squares_competition.image?.url ?? 'https://res.cloudinary.com/hoabts6mc/image/upload/v1649737862/be_logo_jte2ux.webp' }}
|
|
249
|
+
style={{ height:50, width:50, borderRadius:4 }}
|
|
250
|
+
resizeMode="cover"
|
|
251
|
+
/>
|
|
252
|
+
</View>
|
|
253
|
+
<View style={{ flex:1, marginLeft:10 }}>
|
|
254
|
+
<Text theme='header'>{squares_competition.sq_comp_name}</Text>
|
|
255
|
+
<Text style={{ marginTop:4 }} theme='header_2>'>{squares_competition.sq_comp_description}</Text>
|
|
256
|
+
</View>
|
|
257
|
+
<TouchableOpacity onPress={() => onShareCompetition(squares_competition)}>
|
|
258
|
+
<Icons.ShareIcon color={Colors.brand.midnight} size={14} />
|
|
259
|
+
</TouchableOpacity>
|
|
260
|
+
</View>
|
|
261
|
+
{event ?
|
|
262
|
+
<EventCard
|
|
263
|
+
event={event}
|
|
264
|
+
league={league}
|
|
265
|
+
/>
|
|
266
|
+
:<></>}
|
|
267
|
+
<BoardStats
|
|
268
|
+
player_id={player_id}
|
|
269
|
+
squares_competition={squares_competition}
|
|
270
|
+
squares={squares}
|
|
271
|
+
player_squares={player_squares}
|
|
272
|
+
/>
|
|
273
|
+
|
|
274
|
+
{square_results.length > 0 ?
|
|
275
|
+
<ResultsCard
|
|
276
|
+
home_abbr={home_abbr}
|
|
277
|
+
away_abbr={away_abbr}
|
|
278
|
+
squares={squares}
|
|
279
|
+
square_results={square_results}
|
|
280
|
+
onPlayerSelect={onPlayerSelect}
|
|
281
|
+
/>
|
|
282
|
+
:<></>}
|
|
283
|
+
<View>
|
|
284
|
+
<SquaresBoard
|
|
285
|
+
player_id={player_id}
|
|
286
|
+
onSquareBid={handleSquareBid}
|
|
287
|
+
onSquareOffer={handleSquareOffer}
|
|
288
|
+
square_bids={square_bids}
|
|
289
|
+
draft_square_offers={draft_square_offers}
|
|
290
|
+
squares_competition={squares_competition}
|
|
291
|
+
squares={squares}
|
|
292
|
+
event={event}
|
|
293
|
+
player_squares={player_squares}
|
|
294
|
+
player_square_history={player_square_history}
|
|
295
|
+
square_results={square_results}
|
|
296
|
+
square_offers={square_offers}
|
|
297
|
+
/>
|
|
298
|
+
{square_bids.length > 0 && !bid_form_expanded ?
|
|
299
|
+
<View style={{ position:'absolute', flexDirection:'row', alignItems:'center', top:10, left:10, backgroundColor:Colors.shades.shade600, padding:10, borderRadius:8, borderBottomLeftRadius:0, ...view_styles.float }}>
|
|
300
|
+
<Text theme="header">{square_bids.length} Squares</Text>
|
|
301
|
+
<Button
|
|
302
|
+
title="SET AMOUNTS"
|
|
303
|
+
style={{ marginLeft:10 }}
|
|
304
|
+
title_color={Colors.shades.white}
|
|
305
|
+
backgroundColor={Colors.brand.electric}
|
|
306
|
+
onPress={() => setBidFormExpanded(true)}
|
|
307
|
+
/>
|
|
308
|
+
</View>
|
|
309
|
+
:<></>}
|
|
310
|
+
</View>
|
|
311
|
+
{my_squares.length > 0 ?
|
|
312
|
+
<MySquaresCard
|
|
313
|
+
player_squares={my_squares}
|
|
314
|
+
squares={squares}
|
|
315
|
+
square_offers={square_offers}
|
|
316
|
+
away_abbr={away_abbr}
|
|
317
|
+
home_abbr={home_abbr}
|
|
318
|
+
comp_status={comp_status}
|
|
319
|
+
onSquareOffer={handleSquareOffer}
|
|
320
|
+
/>
|
|
321
|
+
:<></>}
|
|
322
|
+
<SquaresDetails
|
|
323
|
+
squares_competition={squares_competition}
|
|
324
|
+
squares_payout_type={squares_payout_type}
|
|
325
|
+
squares_type={squares_type}
|
|
326
|
+
/>
|
|
327
|
+
<SquareOwnersCard
|
|
328
|
+
players={players}
|
|
329
|
+
player_squares={player_squares}
|
|
330
|
+
onPlayerSelect={onPlayerSelect}
|
|
331
|
+
/>
|
|
332
|
+
<SocketManager
|
|
333
|
+
//access_token={access_token}
|
|
334
|
+
onConnect={() => {
|
|
335
|
+
if(needs_reload){
|
|
336
|
+
setNeedsReload(false);
|
|
337
|
+
getDataFromServer(sq_comp_id);
|
|
338
|
+
}
|
|
339
|
+
}}
|
|
340
|
+
onDisconnect={() => setNeedsReload(true)}
|
|
341
|
+
distinct_id={distinct_id}
|
|
342
|
+
onSocketEvent={(ev) => {
|
|
343
|
+
switch(ev.type){
|
|
344
|
+
case 'V1_UPDATE_SQUARE_DETAILS':
|
|
345
|
+
let data = ev.data as BuySquaresResponseProps | OfferResponseProps
|
|
346
|
+
if(!data.squares_competition || data.squares_competition.sq_comp_id != squares_competition.sq_comp_id){ break } //This isn't this competition;
|
|
347
|
+
if(ev.action == 'buy'){ handleUpdateBoardFromBuy(data as BuySquaresResponseProps) }
|
|
348
|
+
if(ev.action == 'offer')[ handleUpdateBoardFromOffer(data as OfferResponseProps) ]
|
|
349
|
+
break;
|
|
350
|
+
default: break;
|
|
351
|
+
}
|
|
352
|
+
}}
|
|
353
|
+
subscribed_events={['V1_UPDATE_SQUARE_DETAILS']}
|
|
354
|
+
/>
|
|
355
|
+
</ScrollView>
|
|
356
|
+
{bid_form_expanded ?
|
|
357
|
+
<View style={{ position:'absolute', bottom:0, left:0, right:0, top:0, justifyContent:module_size.width > 500 ? 'center' : 'flex-end', alignItems:'center', backgroundColor:Colors.shades.black_faded }}>
|
|
358
|
+
<BidForm
|
|
359
|
+
player_id={player_id}
|
|
360
|
+
home_abbr={home_abbr}
|
|
361
|
+
away_abbr={away_abbr}
|
|
362
|
+
width={module_size.width}
|
|
363
|
+
squares={squares}
|
|
364
|
+
submit_ready={submit_ready}
|
|
365
|
+
onBidAmountChange={(pb, sq, dir) => handleBidAmountChange(pb, sq, dir)}
|
|
366
|
+
market_type={squares_competition.market_type}
|
|
367
|
+
square_bids={square_bids}
|
|
368
|
+
onClearBids={handleClearBids}
|
|
369
|
+
onRequestAuthenticate={() => onRequestAuthenticate(squares_competition.auth_strategy_id)}
|
|
370
|
+
onSubmitBid={() => handleSubmitBid()}
|
|
371
|
+
/>
|
|
372
|
+
</View>
|
|
373
|
+
:<></>}
|
|
374
|
+
{draft_square_offers.length > 0 ?
|
|
375
|
+
<View style={{ position:'absolute', bottom:0, left:0, right:0, top:0, justifyContent:module_size.width > 500 ? 'center' : 'flex-end', alignItems:'center', backgroundColor:Colors.shades.black_faded }}>
|
|
376
|
+
<OfferForm
|
|
377
|
+
player_id={player_id}
|
|
378
|
+
draft_square_offers={draft_square_offers}
|
|
379
|
+
home_abbr={home_abbr}
|
|
380
|
+
width={module_size.width}
|
|
381
|
+
away_abbr={away_abbr}
|
|
382
|
+
squares={squares}
|
|
383
|
+
submit_ready={submit_ready}
|
|
384
|
+
market_type={squares_competition.market_type}
|
|
385
|
+
player_squares={player_squares}
|
|
386
|
+
onClearOffers={handleClearOffers}
|
|
387
|
+
onRequestAuthenticate={() => onRequestAuthenticate(squares_competition.auth_strategy_id)}
|
|
388
|
+
onOfferAmountChange={() => console.log('hey')}
|
|
389
|
+
onSubmitOffer={() => handleSubmitOffer()}
|
|
390
|
+
/>
|
|
391
|
+
</View>
|
|
392
|
+
:<></>}
|
|
393
|
+
</View>
|
|
394
|
+
|
|
395
|
+
)
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export default SquaresModule
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { FlatList, TouchableOpacity, View, ScrollView } from 'react-native';
|
|
3
3
|
import type { AccountLimitProps, AccountProps } from '../../types';
|
|
4
4
|
import { WalletApi, WalletHelpers } from '../api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { FlatList, TouchableOpacity, View, ScrollView } from 'react-native';
|
|
3
3
|
import type { AccountProps, AccountSnoozeProps } from '../../types';
|
|
4
4
|
import { WalletApi } from '../api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
import { FlatList, TouchableOpacity, View, ScrollView } from 'react-native';
|
|
3
3
|
import type { LocationProps, MyPlayerProps, PlayerAddressProps } from '../../types';
|
|
4
4
|
import { WalletApi, WalletHelpers } from '../api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { View, ActivityIndicator, Image, ScrollView } from "react-native";
|
|
3
3
|
import type { AccountProps, AccountSnoozeProps, CodeRequestProps, ItemOrderProps, MyPlayerProps, PlayerDepositLimitProps, PlayerReferralProps, PromoProps, PublicPlayerProps, RewardOptionProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { ItemOrderApi, ItemOrderHelpers, WalletApi } from '../api';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { View, TouchableOpacity, Image, ScrollView } from 'react-native';
|
|
3
2
|
import type { AccountProps, CodeRequestProps, MyPlayerProps, PlayerReferralProps, PromoProps, PublicPlayerProps, RewardOptionProps } from '../../types';
|
|
4
3
|
import { Button, Icons, Text } from '../../Components';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
import { View, TouchableOpacity, FlatList, ScrollView } from "react-native";
|
|
3
3
|
import type { AccountActionProps, AccountProps, ItemOrderProps, MyPlayerProps, PlayerBalanceProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { Button, Icons, Text } from '../../Components';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { FlatList, View, ActivityIndicator, ScrollView } from 'react-native';
|
|
3
3
|
import { ItemOrderApi } from '../api';
|
|
4
4
|
import type { ItemOrderProps, ItemProps } from '../../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
import { View, Image, TouchableOpacity, Linking, ScrollView } from "react-native";
|
|
3
3
|
import type { MyPlayerProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { Button, Checkbox, Icons, Text, TextInput } from '../../Components';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { ActivityIndicator, View, ScrollView } from "react-native";
|
|
3
3
|
import type { AccountProps, ItemOrderProps, MyPlayerProps, PlayerBalanceProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { ItemOrderApi, ItemOrderHelpers } from '../api';
|
package/src/Wallet/index.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
import { View, ActivityIndicator, FlatList, TouchableOpacity } from 'react-native';
|
|
3
3
|
import { ItemOrderApi, WalletApi, WalletHelpers } from './api';
|
|
4
4
|
import Colors from '../constants/colors';
|
package/src/constants/styles.ts
CHANGED
|
@@ -11,7 +11,12 @@ export const view_styles = StyleSheet.create({
|
|
|
11
11
|
},
|
|
12
12
|
float: {
|
|
13
13
|
shadowColor: "rgba(0, 0, 0, 0.06)", shadowOffset: { width: 0, height: 10 }, shadowRadius: 10, shadowOpacity: 1
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
section: { margin:10, backgroundColor:Colors.shades.white, borderRadius:8, shadowColor: "rgba(0, 0, 0, 0.06)", shadowOffset: { width: 0, height: 10 }, shadowRadius: 10, shadowOpacity: 1 },
|
|
16
|
+
section_header: { padding:10, borderTopRightRadius:8, borderTopLeftRadius:8, paddingLeft:20, paddingRight:20, flexDirection:'row', alignItems:'center', borderBottomWidth:1, borderBottomColor:Colors.shades.shade600 },
|
|
17
|
+
section_body: { flex:1, padding:20 },
|
|
18
|
+
section_footer: { padding:10, borderBottomRightRadius:8, borderBottomLeftRadius:8, paddingLeft:20, paddingRight:20, flexDirection:'row', alignItems:'center', borderTopWidth:1, borderTopColor:Colors.shades.shade600, backgroundColor:Colors.shades.shade100 },
|
|
19
|
+
body_row : { padding:5, flexDirection:'row', alignItems:'center' }
|
|
15
20
|
})
|
|
16
21
|
|
|
17
22
|
export const button_styles = StyleSheet.create({
|
|
@@ -48,5 +53,13 @@ export const text_styles = StyleSheet.create({
|
|
|
48
53
|
light_heading_3: {
|
|
49
54
|
fontSize: 12,
|
|
50
55
|
color:Colors.shades.white
|
|
51
|
-
}
|
|
56
|
+
},
|
|
57
|
+
header: { color:Colors.brand.midnight, fontSize: 16, fontFamily: 'barlow-bold', textAlign:'left' },
|
|
58
|
+
header_2: { color:Colors.brand.midnight, fontSize: 14, fontFamily: 'barlow-semibold', textAlign:'left' },
|
|
59
|
+
error_header_2: { color:Colors.utility.error, fontSize: 14, fontFamily: 'barlow-semibold', textAlign:'left' },
|
|
60
|
+
|
|
61
|
+
body: { color:Colors.brand.midnight, fontSize: 14, fontFamily: 'barlow-regular', textAlign:'left' },
|
|
62
|
+
error_body: { color:Colors.utility.error, fontSize: 14, fontFamily: 'barlow-regular', textAlign:'left' },
|
|
63
|
+
body_2: { color:Colors.brand.midnight, fontSize: 12, fontFamily: 'barlow-regular', textAlign:'left' },
|
|
64
|
+
error_body_2: { color:Colors.utility.error, fontSize: 12, fontFamily: 'barlow-regular', textAlign:'left' }
|
|
52
65
|
})
|
package/src/index.tsx
CHANGED
|
@@ -15,6 +15,9 @@ import { PollCampaignApi, PollApi } from "./Poll/api";
|
|
|
15
15
|
import CompetitionModule from "./Competition";
|
|
16
16
|
import AdServer, { AdProvider } from "./AdServer";
|
|
17
17
|
import BracketRoom from "./Bracket";
|
|
18
|
+
import SocketManager from './Socket';
|
|
19
|
+
import SquaresModule from "./Squares";
|
|
20
|
+
|
|
18
21
|
|
|
19
22
|
export {
|
|
20
23
|
Authenticator,
|
|
@@ -37,5 +40,7 @@ export {
|
|
|
37
40
|
CompetitionModule,
|
|
38
41
|
AdServer,
|
|
39
42
|
AdProvider,
|
|
40
|
-
BracketRoom
|
|
43
|
+
BracketRoom,
|
|
44
|
+
SquaresModule,
|
|
45
|
+
SocketManager
|
|
41
46
|
}
|