be-components 1.0.9 → 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 +8 -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 +1 -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 +1 -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,337 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
9
|
+
var _Components = require("../../Components");
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
const SquareCard = ({
|
|
12
|
+
player_id,
|
|
13
|
+
square,
|
|
14
|
+
player_square,
|
|
15
|
+
event,
|
|
16
|
+
event_status,
|
|
17
|
+
market_type,
|
|
18
|
+
draft_player_square,
|
|
19
|
+
square_offer,
|
|
20
|
+
draft_square_offer,
|
|
21
|
+
outbid_player_square,
|
|
22
|
+
square_state_override,
|
|
23
|
+
onSquareSelect
|
|
24
|
+
}) => {
|
|
25
|
+
const cl = market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
26
|
+
const getStateOfSquare = () => {
|
|
27
|
+
if (square_state_override) {
|
|
28
|
+
return square_state_override;
|
|
29
|
+
}
|
|
30
|
+
if (event_status === 'not_started') {
|
|
31
|
+
//No bids on the square
|
|
32
|
+
if (!player_square && !draft_player_square) {
|
|
33
|
+
return 'no_bid';
|
|
34
|
+
}
|
|
35
|
+
//There is a bid and currently no draft bid and there is an outbid square
|
|
36
|
+
if (player_square && !draft_player_square && outbid_player_square) {
|
|
37
|
+
return 'outbid';
|
|
38
|
+
}
|
|
39
|
+
//There is a bid and currently no draft bid
|
|
40
|
+
if (player_square && !draft_player_square) {
|
|
41
|
+
return 'existing_bid';
|
|
42
|
+
}
|
|
43
|
+
//There is a draft bid on the square and no previous bid
|
|
44
|
+
if (!player_square && draft_player_square) {
|
|
45
|
+
return 'bid_draft';
|
|
46
|
+
}
|
|
47
|
+
//There is a draft bid on the square, but a previous bid is higher
|
|
48
|
+
if (player_square && draft_player_square && draft_player_square.purchase_price <= player_square.purchase_price) {
|
|
49
|
+
return 'outbid_draft';
|
|
50
|
+
}
|
|
51
|
+
//There is a draft bid on the square and it is higher than the previous bid
|
|
52
|
+
if (player_square && draft_player_square) {
|
|
53
|
+
return 'bid_draft';
|
|
54
|
+
}
|
|
55
|
+
return 'no_bid';
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
//There is an existing bid and no current offer
|
|
59
|
+
if (player_square && !draft_square_offer && !square_offer) {
|
|
60
|
+
return 'no_offer';
|
|
61
|
+
}
|
|
62
|
+
//There is an existing bid and an existing offer and currently no draft offer
|
|
63
|
+
if (player_square && !draft_square_offer && square_offer && square_offer.buy_sell_ind === 'sell') {
|
|
64
|
+
return 'existing_sell_offer';
|
|
65
|
+
}
|
|
66
|
+
if (player_square && !draft_square_offer && square_offer && square_offer.buy_sell_ind === 'buy') {
|
|
67
|
+
return 'existing_buy_offer';
|
|
68
|
+
}
|
|
69
|
+
//There is an existing bid and an existing draft buy offer
|
|
70
|
+
if (player_square && draft_square_offer && draft_square_offer.buy_sell_ind === 'buy') {
|
|
71
|
+
return 'draft_buy_offer';
|
|
72
|
+
}
|
|
73
|
+
//There is an existing bid and an existing draft sell offer
|
|
74
|
+
if (player_square && draft_square_offer && draft_square_offer.buy_sell_ind === 'sell') {
|
|
75
|
+
return 'draft_sell_offer';
|
|
76
|
+
}
|
|
77
|
+
return 'no_offer';
|
|
78
|
+
};
|
|
79
|
+
const getSquareBackgroundColor = square_state => {
|
|
80
|
+
switch (square_state) {
|
|
81
|
+
case 'no_bid':
|
|
82
|
+
return _colors.default.shades.white;
|
|
83
|
+
case 'existing_bid':
|
|
84
|
+
if (player_square?.player_id == player_id) {
|
|
85
|
+
return _colors.default.brand.electric;
|
|
86
|
+
} else {
|
|
87
|
+
return _colors.default.shades.white;
|
|
88
|
+
}
|
|
89
|
+
case 'bid_draft':
|
|
90
|
+
return _colors.default.shades.white;
|
|
91
|
+
case 'outbid_draft':
|
|
92
|
+
return _colors.default.shades.white;
|
|
93
|
+
case 'outbid':
|
|
94
|
+
return `rgba(255,71,71,0.2)`;
|
|
95
|
+
case 'no_offer':
|
|
96
|
+
if (player_square?.player_id == player_id) {
|
|
97
|
+
return _colors.default.brand.electric;
|
|
98
|
+
} else {
|
|
99
|
+
return _colors.default.shades.white;
|
|
100
|
+
}
|
|
101
|
+
case 'draft_buy_offer':
|
|
102
|
+
return _colors.default.shades.white;
|
|
103
|
+
case 'draft_sell_offer':
|
|
104
|
+
return _colors.default.shades.white;
|
|
105
|
+
case 'existing_buy_offer':
|
|
106
|
+
if (player_square?.player_id == player_id) {
|
|
107
|
+
return 'rgba(125,205,133,0.2)';
|
|
108
|
+
} else {
|
|
109
|
+
return _colors.default.shades.white;
|
|
110
|
+
}
|
|
111
|
+
case 'existing_sell_offer':
|
|
112
|
+
if (player_square?.player_id == player_id) {
|
|
113
|
+
return '#D9E8F7';
|
|
114
|
+
} else {
|
|
115
|
+
return '#D9E8F7';
|
|
116
|
+
}
|
|
117
|
+
default:
|
|
118
|
+
return _colors.default.shades.white;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const getSquareBorderWidth = square_state => {
|
|
122
|
+
switch (square_state) {
|
|
123
|
+
case 'no_bid':
|
|
124
|
+
return 0;
|
|
125
|
+
case 'existing_bid':
|
|
126
|
+
return 0;
|
|
127
|
+
case 'bid_draft':
|
|
128
|
+
return 2;
|
|
129
|
+
case 'outbid_draft':
|
|
130
|
+
return 2;
|
|
131
|
+
case 'outbid':
|
|
132
|
+
return 0;
|
|
133
|
+
case 'no_offer':
|
|
134
|
+
return 0;
|
|
135
|
+
case 'draft_buy_offer':
|
|
136
|
+
return 2;
|
|
137
|
+
case 'draft_sell_offer':
|
|
138
|
+
return 2;
|
|
139
|
+
case 'existing_buy_offer':
|
|
140
|
+
if (player_square?.player_id == player_id) {
|
|
141
|
+
return 1;
|
|
142
|
+
} else {
|
|
143
|
+
return 0;
|
|
144
|
+
}
|
|
145
|
+
case 'existing_sell_offer':
|
|
146
|
+
if (player_square?.player_id == player_id) {
|
|
147
|
+
return 1;
|
|
148
|
+
} else {
|
|
149
|
+
return 1;
|
|
150
|
+
}
|
|
151
|
+
default:
|
|
152
|
+
return 0;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const getSquareBorderColor = square_state => {
|
|
156
|
+
switch (square_state) {
|
|
157
|
+
case 'no_bid':
|
|
158
|
+
return _colors.default.shades.white;
|
|
159
|
+
case 'existing_bid':
|
|
160
|
+
return _colors.default.shades.white;
|
|
161
|
+
case 'bid_draft':
|
|
162
|
+
return _colors.default.brand.electric;
|
|
163
|
+
case 'outbid_draft':
|
|
164
|
+
return _colors.default.utility.error;
|
|
165
|
+
case 'outbid':
|
|
166
|
+
return _colors.default.utility.error;
|
|
167
|
+
case 'no_offer':
|
|
168
|
+
return _colors.default.shades.white;
|
|
169
|
+
case 'draft_buy_offer':
|
|
170
|
+
return _colors.default.brand.electric;
|
|
171
|
+
case 'draft_sell_offer':
|
|
172
|
+
return _colors.default.brand.electric;
|
|
173
|
+
case 'existing_buy_offer':
|
|
174
|
+
if (player_square?.player_id == player_id) {
|
|
175
|
+
return _colors.default.utility.success;
|
|
176
|
+
} else {
|
|
177
|
+
return _colors.default.shades.white;
|
|
178
|
+
}
|
|
179
|
+
case 'existing_sell_offer':
|
|
180
|
+
if (player_square?.player_id == player_id) {
|
|
181
|
+
return _colors.default.brand.cyan;
|
|
182
|
+
} else {
|
|
183
|
+
return _colors.default.brand.electric;
|
|
184
|
+
}
|
|
185
|
+
default:
|
|
186
|
+
return _colors.default.shades.white;
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
const getSquareFontColor = square_state => {
|
|
190
|
+
switch (square_state) {
|
|
191
|
+
case 'no_bid':
|
|
192
|
+
return _colors.default.brand.slate;
|
|
193
|
+
case 'existing_bid':
|
|
194
|
+
if (player_square?.player_id == player_id) {
|
|
195
|
+
return _colors.default.shades.white;
|
|
196
|
+
} else {
|
|
197
|
+
return _colors.default.brand.slate;
|
|
198
|
+
}
|
|
199
|
+
case 'bid_draft':
|
|
200
|
+
return _colors.default.brand.electric;
|
|
201
|
+
case 'outbid_draft':
|
|
202
|
+
return _colors.default.utility.error;
|
|
203
|
+
case 'outbid':
|
|
204
|
+
return _colors.default.utility.error;
|
|
205
|
+
case 'no_offer':
|
|
206
|
+
if (player_square?.player_id == player_id) {
|
|
207
|
+
return _colors.default.shades.white;
|
|
208
|
+
} else {
|
|
209
|
+
return _colors.default.brand.electric;
|
|
210
|
+
}
|
|
211
|
+
case 'draft_buy_offer':
|
|
212
|
+
return _colors.default.brand.electric;
|
|
213
|
+
case 'draft_sell_offer':
|
|
214
|
+
return _colors.default.brand.electric;
|
|
215
|
+
case 'existing_buy_offer':
|
|
216
|
+
if (player_square?.player_id == player_id) {
|
|
217
|
+
return _colors.default.brand.slate;
|
|
218
|
+
} else {
|
|
219
|
+
return _colors.default.brand.slate;
|
|
220
|
+
}
|
|
221
|
+
case 'existing_sell_offer':
|
|
222
|
+
if (player_square?.player_id == player_id) {
|
|
223
|
+
return _colors.default.brand.slate;
|
|
224
|
+
} else {
|
|
225
|
+
return _colors.default.brand.slate;
|
|
226
|
+
}
|
|
227
|
+
default:
|
|
228
|
+
return _colors.default.brand.slate;
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
const isUserIconVisible = square_state => {
|
|
232
|
+
if (!square_state) {
|
|
233
|
+
return false;
|
|
234
|
+
}
|
|
235
|
+
if (player_square?.player_id == player_id) {
|
|
236
|
+
return true;
|
|
237
|
+
}
|
|
238
|
+
if (draft_square_offer) {
|
|
239
|
+
return true;
|
|
240
|
+
}
|
|
241
|
+
if (draft_player_square) {
|
|
242
|
+
return true;
|
|
243
|
+
}
|
|
244
|
+
if (player_square && player_square.player_id == player_id) {
|
|
245
|
+
return true;
|
|
246
|
+
}
|
|
247
|
+
return false;
|
|
248
|
+
};
|
|
249
|
+
const getSquareBorderTopWidth = square_state => {
|
|
250
|
+
switch (square_state) {
|
|
251
|
+
case 'existing_sell_offer':
|
|
252
|
+
return 6;
|
|
253
|
+
case 'existing_buy_offer':
|
|
254
|
+
if (player_square?.player_id == player_id) {
|
|
255
|
+
return 6;
|
|
256
|
+
} else {
|
|
257
|
+
return 0;
|
|
258
|
+
}
|
|
259
|
+
default:
|
|
260
|
+
return getSquareBorderWidth(square_state);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
const getSquareText = square_state => {
|
|
264
|
+
switch (square_state) {
|
|
265
|
+
case 'no_bid':
|
|
266
|
+
return 'BID';
|
|
267
|
+
case 'existing_bid':
|
|
268
|
+
return `${cl}${player_square?.purchase_price?.toFixed(2)}`;
|
|
269
|
+
case 'bid_draft':
|
|
270
|
+
return `${cl}${draft_player_square?.purchase_price?.toFixed(2)}`;
|
|
271
|
+
case 'outbid_draft':
|
|
272
|
+
return `${cl}${draft_player_square?.purchase_price?.toFixed(2)}`;
|
|
273
|
+
case 'outbid':
|
|
274
|
+
return `${cl}${player_square?.purchase_price?.toFixed(2)}`;
|
|
275
|
+
case 'no_offer':
|
|
276
|
+
if (player_square?.player_id == player_id) {
|
|
277
|
+
return 'SELL';
|
|
278
|
+
} else {
|
|
279
|
+
return 'OFFER';
|
|
280
|
+
}
|
|
281
|
+
case 'draft_buy_offer':
|
|
282
|
+
return `${cl}${draft_square_offer?.amount?.toFixed(2)}`;
|
|
283
|
+
case 'draft_sell_offer':
|
|
284
|
+
return `${cl}${draft_square_offer?.amount?.toFixed(2)}`;
|
|
285
|
+
case 'existing_buy_offer':
|
|
286
|
+
return `${cl}${square_offer?.amount?.toFixed(2)}`;
|
|
287
|
+
case 'existing_sell_offer':
|
|
288
|
+
return `${cl}${square_offer?.amount?.toFixed(2)}`;
|
|
289
|
+
default:
|
|
290
|
+
return 'BID';
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
const square_state = getStateOfSquare();
|
|
294
|
+
let showSubText;
|
|
295
|
+
if (square_state === 'existing_buy_offer' && player_square?.player_id != player_id) {
|
|
296
|
+
showSubText = 'OFFER';
|
|
297
|
+
}
|
|
298
|
+
if (square_state === 'existing_buy_offer' && player_square?.player_id == player_id) {
|
|
299
|
+
showSubText = 'SELL';
|
|
300
|
+
}
|
|
301
|
+
if (square_state === 'existing_sell_offer' && player_square?.player_id != player_id) {
|
|
302
|
+
showSubText = 'BUY';
|
|
303
|
+
}
|
|
304
|
+
return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
|
|
305
|
+
style: {
|
|
306
|
+
margin: 3,
|
|
307
|
+
height: 40,
|
|
308
|
+
width: 40,
|
|
309
|
+
borderRadius: 4,
|
|
310
|
+
justifyContent: 'center',
|
|
311
|
+
alignItems: 'center',
|
|
312
|
+
backgroundColor: getSquareBackgroundColor(square_state),
|
|
313
|
+
borderWidth: getSquareBorderWidth(square_state),
|
|
314
|
+
borderTopWidth: getSquareBorderTopWidth(square_state),
|
|
315
|
+
borderColor: getSquareBorderColor(square_state)
|
|
316
|
+
},
|
|
317
|
+
onPress: () => onSquareSelect(square, draft_player_square || draft_square_offer ? 'remove' : 'add')
|
|
318
|
+
}, isUserIconVisible(square_state) ? /*#__PURE__*/React.createElement(_Components.Icons.UserIcon, {
|
|
319
|
+
size: 14,
|
|
320
|
+
color: getSquareFontColor(square_state)
|
|
321
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(_reactNative.View, null, square_state == 'no_bid' ? /*#__PURE__*/React.createElement(_Components.Icons.UnbidSquare, {
|
|
322
|
+
color: event?.home?.primary_color,
|
|
323
|
+
secondary_color: event?.away?.primary_color
|
|
324
|
+
}) : /*#__PURE__*/React.createElement(_Components.Text, {
|
|
325
|
+
size: 12,
|
|
326
|
+
weight: "regular",
|
|
327
|
+
color: getSquareFontColor(square_state),
|
|
328
|
+
textAlign: "center"
|
|
329
|
+
}, getSquareText(square_state))), showSubText ? /*#__PURE__*/React.createElement(_Components.Text, {
|
|
330
|
+
size: 12,
|
|
331
|
+
weight: "regular",
|
|
332
|
+
color: _colors.default.brand.electric,
|
|
333
|
+
textAlign: "center"
|
|
334
|
+
}, showSubText) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
335
|
+
};
|
|
336
|
+
var _default = exports.default = SquareCard;
|
|
337
|
+
//# sourceMappingURL=SquareCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_colors","_interopRequireDefault","_Components","obj","__esModule","default","SquareCard","player_id","square","player_square","event","event_status","market_type","draft_player_square","square_offer","draft_square_offer","outbid_player_square","square_state_override","onSquareSelect","cl","getStateOfSquare","purchase_price","buy_sell_ind","getSquareBackgroundColor","square_state","Colors","shades","white","brand","electric","getSquareBorderWidth","getSquareBorderColor","utility","error","success","cyan","getSquareFontColor","slate","isUserIconVisible","getSquareBorderTopWidth","getSquareText","toFixed","amount","showSubText","React","createElement","TouchableOpacity","style","margin","height","width","borderRadius","justifyContent","alignItems","backgroundColor","borderWidth","borderTopWidth","borderColor","onPress","Icons","UserIcon","size","color","Fragment","View","UnbidSquare","home","primary_color","secondary_color","away","Text","weight","textAlign","_default","exports"],"sourceRoot":"../../../../src","sources":["Squares/components/SquareCard.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAA8C,SAAAE,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAkB9C,MAAMG,UAAU,GAAGA,CAAC;EAAEC,SAAS;EAAEC,MAAM;EAAEC,aAAa;EAAEC,KAAK;EAAEC,YAAY;EAAEC,WAAW;EAAEC,mBAAmB;EAAEC,YAAY;EAAEC,kBAAkB;EAAEC,oBAAoB;EAAEC,qBAAqB;EAAEC;AAA+B,CAAC,KAAK;EAE/N,MAAMC,EAAE,GAAGP,WAAW,IAAI,WAAW,GAAG,GAAG,GAAG,GAAG;EAEjD,MAAMQ,gBAAgB,GAAGA,CAAA,KAAuB;IAC5C,IAAGH,qBAAqB,EAAC;MAAE,OAAOA,qBAAqB;IAAC;IACxD,IAAGN,YAAY,KAAK,aAAa,EAAC;MAC9B;MACA,IAAG,CAACF,aAAa,IAAI,CAACI,mBAAmB,EAAC;QAAE,OAAO,QAAQ;MAAC;MAC5D;MACA,IAAGJ,aAAa,IAAI,CAACI,mBAAmB,IAAIG,oBAAoB,EAAC;QAAE,OAAO,QAAQ;MAAC;MACpF;MACC,IAAGP,aAAa,IAAI,CAACI,mBAAmB,EAAC;QAAE,OAAO,cAAc;MAAC;MACjE;MACA,IAAG,CAACJ,aA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AACT,IAAI,EAAE,EAAG;IAACU,MAAM,EAAC,SAAS;IAACT,KAAK,EAAErC,eAAM,CAACG,KAAK,CAACC,QAAS;IAAC2C,SAAS,EAAC;EAAQ,GAAE7B,WAAkB,CAAC,gBACrGC,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAmB,QAAA,MAAI,CACS,CAAC;AAE3B,CAAC;AAAA,IAAAU,QAAA,GAAAC,OAAA,CAAArE,OAAA,GAEcC,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _Components = require("../../Components");
|
|
10
|
+
var _colors = _interopRequireDefault(require("../../constants/colors"));
|
|
11
|
+
var _api = require("../api");
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
const SquareOfferCard = ({
|
|
14
|
+
player_id,
|
|
15
|
+
square,
|
|
16
|
+
player_square,
|
|
17
|
+
square_offer,
|
|
18
|
+
event
|
|
19
|
+
}) => {
|
|
20
|
+
const [loading, setLoading] = (0, _react.useState)(false);
|
|
21
|
+
const handleResponse = async response => {
|
|
22
|
+
if (loading) {
|
|
23
|
+
return;
|
|
24
|
+
} //No mashymashy
|
|
25
|
+
setLoading(true);
|
|
26
|
+
switch (response) {
|
|
27
|
+
case 'accepted':
|
|
28
|
+
await _api.SquaresApi.offserSquare({
|
|
29
|
+
...square_offer,
|
|
30
|
+
status: 'accepted'
|
|
31
|
+
});
|
|
32
|
+
break;
|
|
33
|
+
case 'rejected':
|
|
34
|
+
await _api.SquaresApi.offserSquare({
|
|
35
|
+
...square_offer,
|
|
36
|
+
status: 'rejected'
|
|
37
|
+
});
|
|
38
|
+
break;
|
|
39
|
+
case 'withdrawn':
|
|
40
|
+
await _api.SquaresApi.offserSquare({
|
|
41
|
+
...square_offer,
|
|
42
|
+
status: 'withdrawn'
|
|
43
|
+
});
|
|
44
|
+
break;
|
|
45
|
+
default:
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
setLoading(false);
|
|
49
|
+
};
|
|
50
|
+
const cl = square_offer.market_type === 'FOR_MONEY' ? '$' : 'E';
|
|
51
|
+
const mine = square_offer.offerer_id == player_id ? true : false;
|
|
52
|
+
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
53
|
+
style: {
|
|
54
|
+
flex: 1,
|
|
55
|
+
width: 330,
|
|
56
|
+
margin: 5,
|
|
57
|
+
borderRadius: 10,
|
|
58
|
+
backgroundColor: _colors.default.shades.white
|
|
59
|
+
}
|
|
60
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
61
|
+
style: {
|
|
62
|
+
padding: 10
|
|
63
|
+
}
|
|
64
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
65
|
+
style: {
|
|
66
|
+
flexDirection: 'row',
|
|
67
|
+
alignItems: 'flex-start',
|
|
68
|
+
justifyContent: 'space-between',
|
|
69
|
+
marginBottom: 16
|
|
70
|
+
}
|
|
71
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
72
|
+
style: {
|
|
73
|
+
flexDirection: 'row',
|
|
74
|
+
alignItems: 'center'
|
|
75
|
+
}
|
|
76
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
77
|
+
style: {
|
|
78
|
+
backgroundColor: _colors.default.brand.cyan,
|
|
79
|
+
height: 36,
|
|
80
|
+
width: 36,
|
|
81
|
+
borderRadius: 4,
|
|
82
|
+
justifyContent: 'center',
|
|
83
|
+
alignItems: 'center'
|
|
84
|
+
}
|
|
85
|
+
}, /*#__PURE__*/React.createElement(_reactNative.Image, {
|
|
86
|
+
style: {
|
|
87
|
+
height: 18,
|
|
88
|
+
width: 18
|
|
89
|
+
},
|
|
90
|
+
source: require('../../../assets/images/icon_sparkline.png')
|
|
91
|
+
})), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
92
|
+
style: {
|
|
93
|
+
marginLeft: 12
|
|
94
|
+
}
|
|
95
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
96
|
+
size: 14,
|
|
97
|
+
color: _colors.default.brand.midnight,
|
|
98
|
+
weight: "semibold"
|
|
99
|
+
}, "Squares", square_offer.buy_sell_ind === 'sell' ? ' Sale' : ' Buy', " Offer"))), /*#__PURE__*/React.createElement(_reactNative.View, null)), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
100
|
+
style: {
|
|
101
|
+
flexDirection: 'row',
|
|
102
|
+
alignItems: 'center'
|
|
103
|
+
}
|
|
104
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
105
|
+
size: 14,
|
|
106
|
+
color: _colors.default.brand.midnight,
|
|
107
|
+
weight: "regular",
|
|
108
|
+
style: {
|
|
109
|
+
flex: 3 / 4
|
|
110
|
+
}
|
|
111
|
+
}, "Square"), /*#__PURE__*/React.createElement(_Components.Text, {
|
|
112
|
+
size: 14,
|
|
113
|
+
color: _colors.default.brand.midnight,
|
|
114
|
+
weight: "regular",
|
|
115
|
+
textAlign: "right",
|
|
116
|
+
style: {
|
|
117
|
+
flex: 1 / 4
|
|
118
|
+
}
|
|
119
|
+
}, event?.home?.abbr + ': ' ?? '', square.square_score_x, ", ", event?.away?.abbr + ': ' ?? '', square.square_score_y)), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
120
|
+
style: {
|
|
121
|
+
flexDirection: 'row',
|
|
122
|
+
alignItems: 'center',
|
|
123
|
+
marginTop: 10
|
|
124
|
+
}
|
|
125
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
126
|
+
size: 14,
|
|
127
|
+
color: _colors.default.brand.midnight,
|
|
128
|
+
weight: "regular",
|
|
129
|
+
style: {
|
|
130
|
+
flex: 3 / 4
|
|
131
|
+
}
|
|
132
|
+
}, "Purchased For"), /*#__PURE__*/React.createElement(_Components.Text, {
|
|
133
|
+
size: 14,
|
|
134
|
+
color: _colors.default.brand.midnight,
|
|
135
|
+
weight: "regular",
|
|
136
|
+
textAlign: "right",
|
|
137
|
+
style: {
|
|
138
|
+
flex: 1 / 4
|
|
139
|
+
}
|
|
140
|
+
}, cl, player_square.purchase_price.toFixed(2))), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
141
|
+
style: {
|
|
142
|
+
flexDirection: 'row',
|
|
143
|
+
alignItems: 'center',
|
|
144
|
+
marginTop: 10
|
|
145
|
+
}
|
|
146
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
147
|
+
size: 14,
|
|
148
|
+
color: _colors.default.brand.midnight,
|
|
149
|
+
weight: "regular",
|
|
150
|
+
style: {
|
|
151
|
+
flex: 3 / 4
|
|
152
|
+
}
|
|
153
|
+
}, "Offer Amount"), /*#__PURE__*/React.createElement(_Components.Text, {
|
|
154
|
+
size: 14,
|
|
155
|
+
color: _colors.default.brand.midnight,
|
|
156
|
+
weight: "regular",
|
|
157
|
+
textAlign: "right",
|
|
158
|
+
style: {
|
|
159
|
+
flex: 1 / 4
|
|
160
|
+
}
|
|
161
|
+
}, cl, square_offer.amount.toFixed(2)))), mine ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
|
|
162
|
+
source: require('../../../assets/images/offer_action_bar.png'),
|
|
163
|
+
style: {
|
|
164
|
+
flex: 1,
|
|
165
|
+
flexDirection: 'row',
|
|
166
|
+
alignItems: 'center',
|
|
167
|
+
padding: 12,
|
|
168
|
+
borderBottomRightRadius: 10,
|
|
169
|
+
borderBottomLeftRadius: 10
|
|
170
|
+
}
|
|
171
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
172
|
+
style: {
|
|
173
|
+
flex: 3 / 7
|
|
174
|
+
}
|
|
175
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
176
|
+
size: 12,
|
|
177
|
+
color: _colors.default.shades.white,
|
|
178
|
+
weight: "semibold"
|
|
179
|
+
}, "WITHDRAW OFFER?"), /*#__PURE__*/React.createElement(_Components.Text, {
|
|
180
|
+
size: 12,
|
|
181
|
+
color: _colors.default.shades.white,
|
|
182
|
+
weight: "regular"
|
|
183
|
+
}, "Do you wish to withdraw this offer?")), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
184
|
+
style: {
|
|
185
|
+
flex: 4 / 7,
|
|
186
|
+
flexDirection: 'row',
|
|
187
|
+
alignItems: 'center',
|
|
188
|
+
paddingLeft: 10
|
|
189
|
+
}
|
|
190
|
+
}, /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
|
|
191
|
+
style: {
|
|
192
|
+
flex: 1,
|
|
193
|
+
borderWidth: 1,
|
|
194
|
+
borderColor: _colors.default.shades.white,
|
|
195
|
+
borderRadius: 60,
|
|
196
|
+
padding: 10,
|
|
197
|
+
marginLeft: 4
|
|
198
|
+
},
|
|
199
|
+
onPress: () => handleResponse('withdrawn')
|
|
200
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
201
|
+
size: 12,
|
|
202
|
+
weight: "semibold",
|
|
203
|
+
textAlign: "center",
|
|
204
|
+
color: _colors.default.shades.white
|
|
205
|
+
}, "Withdraw")))) : /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
|
|
206
|
+
source: require('../../../assets/images/offer_action_bar.png'),
|
|
207
|
+
style: {
|
|
208
|
+
flex: 1,
|
|
209
|
+
flexDirection: 'row',
|
|
210
|
+
alignItems: 'center',
|
|
211
|
+
padding: 12,
|
|
212
|
+
borderBottomRightRadius: 10,
|
|
213
|
+
borderBottomLeftRadius: 10
|
|
214
|
+
}
|
|
215
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
216
|
+
style: {
|
|
217
|
+
flex: 3 / 7
|
|
218
|
+
}
|
|
219
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
220
|
+
size: 12,
|
|
221
|
+
color: _colors.default.shades.white,
|
|
222
|
+
weight: "semibold"
|
|
223
|
+
}, "ACCEPT OFFER?"), /*#__PURE__*/React.createElement(_Components.Text, {
|
|
224
|
+
size: 12,
|
|
225
|
+
color: _colors.default.shades.white,
|
|
226
|
+
weight: "regular"
|
|
227
|
+
}, "Do you wish to sell your square for this offer?")), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
228
|
+
style: {
|
|
229
|
+
flex: 4 / 7,
|
|
230
|
+
flexDirection: 'row',
|
|
231
|
+
alignItems: 'center',
|
|
232
|
+
paddingLeft: 10
|
|
233
|
+
}
|
|
234
|
+
}, /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
|
|
235
|
+
style: {
|
|
236
|
+
flex: 1,
|
|
237
|
+
borderRadius: 60,
|
|
238
|
+
padding: 10,
|
|
239
|
+
marginRight: 4,
|
|
240
|
+
backgroundColor: _colors.default.shades.white
|
|
241
|
+
},
|
|
242
|
+
onPress: () => handleResponse('accepted')
|
|
243
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
244
|
+
size: 12,
|
|
245
|
+
weight: "semibold",
|
|
246
|
+
textAlign: "center",
|
|
247
|
+
color: _colors.default.brand.midnight
|
|
248
|
+
}, "Accept")), /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
|
|
249
|
+
style: {
|
|
250
|
+
flex: 1,
|
|
251
|
+
borderWidth: 1,
|
|
252
|
+
borderColor: _colors.default.shades.white,
|
|
253
|
+
borderRadius: 60,
|
|
254
|
+
padding: 10,
|
|
255
|
+
marginLeft: 4
|
|
256
|
+
},
|
|
257
|
+
onPress: () => handleResponse('rejected')
|
|
258
|
+
}, /*#__PURE__*/React.createElement(_Components.Text, {
|
|
259
|
+
size: 12,
|
|
260
|
+
weight: "semibold",
|
|
261
|
+
textAlign: "center",
|
|
262
|
+
color: _colors.default.shades.white
|
|
263
|
+
}, "Decline")))));
|
|
264
|
+
};
|
|
265
|
+
var _default = exports.default = SquareOfferCard;
|
|
266
|
+
//# sourceMappingURL=SquareOfferCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_Components","_colors","_interopRequireDefault","_api","obj","__esModule","default","SquareOfferCard","player_id","square","player_square","square_offer","event","loading","setLoading","useState","handleResponse","response","SquaresApi","offserSquare","status","cl","market_type","mine","offerer_id","React","createElement","View","style","flex","width","margin","borderRadius","backgroundColor","Colors","shades","white","padding","flexDirection","alignItems","justifyContent","marginBottom","brand","cyan","height","Image","source","marginLeft","Text","size","color","midnight","weight","buy_sell_ind","textAlign","home","abbr","square_score_x","away","square_score_y","marginTop","purchase_price","toFixed","amount","ImageBackground","borderBottomRightRadius","borderBottomLeftRadius","paddingLeft","TouchableOpacity","borderWidth","borderColor","onPress","marginRight","_default","exports"],"sourceRoot":"../../../../src","sources":["Squares/components/SquareOfferCard.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAEA,IAAAK,IAAA,GAAAL,OAAA;AAAoC,SAAAI,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAUpC,MAAMG,eAAe,GAAGA,CAAC;EAAEC,SAAS;EAAEC,MAAM;EAAEC,aAAa;EAAEC,YAAY;EAAEC;AAA4B,CAAC,KAAM;EAC1G,MAAM,CAAEC,OAAO,EAAEC,UAAU,CAAE,GAAG,IAAAC,eAAQ,EAAC,KAAK,CAAC;EAC/C,MAAMC,cAAc,GAAG,MAAMC,QAAe,IAAK;IAC7C,IAAGJ,OAAO,EAAC;MAAE;IAAQ,CAAC,CAAC;IACvBC,UAAU,CAAC,IAAI,CAAC;IAChB,QAAOG,QAAQ;MACX,KAAK,UAAU;QACX,MAAMC,eAA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