be-components 4.4.0 → 4.4.2
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/Bracket/api/index.js +95 -3
- package/lib/commonjs/Bracket/api/index.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketCompetitionActions.js +534 -0
- package/lib/commonjs/Bracket/components/BracketCompetitionActions.js.map +1 -0
- package/lib/commonjs/Bracket/components/BracketCompetitionCard.js +4 -2
- package/lib/commonjs/Bracket/components/BracketCompetitionCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js +50 -25
- package/lib/commonjs/Bracket/components/BracketCompetitionSelector.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketHeader.js +63 -0
- package/lib/commonjs/Bracket/components/BracketHeader.js.map +1 -0
- package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js +4 -0
- package/lib/commonjs/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js +42 -21
- package/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketPlay/index.js +76 -84
- package/lib/commonjs/Bracket/components/BracketPlay/index.js.map +1 -1
- package/lib/commonjs/Bracket/components/BracketSelector.js +12 -44
- package/lib/commonjs/Bracket/components/BracketSelector.js.map +1 -1
- package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js +14 -22
- package/lib/commonjs/Bracket/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/commonjs/Bracket/components/EditPlayerBracket.js +120 -0
- package/lib/commonjs/Bracket/components/EditPlayerBracket.js.map +1 -0
- package/lib/commonjs/Bracket/components/JoinCompetitionCard.js +61 -50
- package/lib/commonjs/Bracket/components/JoinCompetitionCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/Navigator.js +102 -0
- package/lib/commonjs/Bracket/components/Navigator.js.map +1 -0
- package/lib/commonjs/Bracket/components/PlayerBalanceCard.js +16 -13
- package/lib/commonjs/Bracket/components/PlayerBalanceCard.js.map +1 -1
- package/lib/commonjs/Bracket/components/PlayerBracketCard.js +139 -0
- package/lib/commonjs/Bracket/components/PlayerBracketCard.js.map +1 -0
- package/lib/commonjs/Bracket/components/PlayerBrackets.js +65 -30
- package/lib/commonjs/Bracket/components/PlayerBrackets.js.map +1 -1
- package/lib/commonjs/Bracket/components/RoomHome.js +837 -0
- package/lib/commonjs/Bracket/components/RoomHome.js.map +1 -0
- package/lib/commonjs/Bracket/index.js +858 -281
- package/lib/commonjs/Bracket/index.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/AthleteSelector.js +1 -4
- package/lib/commonjs/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js +1 -4
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +8 -3
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +9 -3
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js +3 -5
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js +9 -3
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js +1 -4
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js +1 -4
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/index.js +286 -164
- package/lib/commonjs/CompetitionManager/index.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +51 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/SearchBox.js +2 -0
- package/lib/commonjs/Components/SearchBox.js.map +1 -1
- package/lib/commonjs/Engage/components/BracketCompetitionCard.js +2 -0
- package/lib/commonjs/Engage/components/BracketCompetitionCard.js.map +1 -1
- package/lib/module/Bracket/api/index.js +95 -3
- package/lib/module/Bracket/api/index.js.map +1 -1
- package/lib/module/Bracket/components/BracketCompetitionActions.js +525 -0
- package/lib/module/Bracket/components/BracketCompetitionActions.js.map +1 -0
- package/lib/module/Bracket/components/BracketCompetitionCard.js +4 -2
- package/lib/module/Bracket/components/BracketCompetitionCard.js.map +1 -1
- package/lib/module/Bracket/components/BracketCompetitionSelector.js +51 -26
- package/lib/module/Bracket/components/BracketCompetitionSelector.js.map +1 -1
- package/lib/module/Bracket/components/BracketHeader.js +56 -0
- package/lib/module/Bracket/components/BracketHeader.js.map +1 -0
- package/lib/module/Bracket/components/BracketPlay/BracketRound.js +4 -0
- package/lib/module/Bracket/components/BracketPlay/BracketRound.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/RoundEvent.js +42 -21
- package/lib/module/Bracket/components/BracketPlay/RoundEvent.js.map +1 -1
- package/lib/module/Bracket/components/BracketPlay/index.js +77 -84
- package/lib/module/Bracket/components/BracketPlay/index.js.map +1 -1
- package/lib/module/Bracket/components/BracketSelector.js +11 -45
- package/lib/module/Bracket/components/BracketSelector.js.map +1 -1
- package/lib/module/Bracket/components/CompetitionLeaderboard.js +15 -23
- package/lib/module/Bracket/components/CompetitionLeaderboard.js.map +1 -1
- package/lib/module/Bracket/components/EditPlayerBracket.js +112 -0
- package/lib/module/Bracket/components/EditPlayerBracket.js.map +1 -0
- package/lib/module/Bracket/components/JoinCompetitionCard.js +54 -43
- package/lib/module/Bracket/components/JoinCompetitionCard.js.map +1 -1
- package/lib/module/Bracket/components/Navigator.js +95 -0
- package/lib/module/Bracket/components/Navigator.js.map +1 -0
- package/lib/module/Bracket/components/PlayerBalanceCard.js +13 -10
- package/lib/module/Bracket/components/PlayerBalanceCard.js.map +1 -1
- package/lib/module/Bracket/components/PlayerBracketCard.js +133 -0
- package/lib/module/Bracket/components/PlayerBracketCard.js.map +1 -0
- package/lib/module/Bracket/components/PlayerBrackets.js +64 -31
- package/lib/module/Bracket/components/PlayerBrackets.js.map +1 -1
- package/lib/module/Bracket/components/RoomHome.js +828 -0
- package/lib/module/Bracket/components/RoomHome.js.map +1 -0
- package/lib/module/Bracket/index.js +865 -283
- package/lib/module/Bracket/index.js.map +1 -1
- package/lib/module/CompetitionManager/components/AthleteSelector.js +1 -4
- package/lib/module/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionHeader.js +1 -4
- package/lib/module/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +8 -3
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +9 -3
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSelector.js +3 -5
- package/lib/module/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js +9 -3
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/MarketSelector.js +1 -4
- package/lib/module/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/PlayerSelector.js +1 -4
- package/lib/module/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/module/CompetitionManager/index.js +288 -165
- package/lib/module/CompetitionManager/index.js.map +1 -1
- package/lib/module/Components/Icons.js +51 -0
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/SearchBox.js +2 -0
- package/lib/module/Components/SearchBox.js.map +1 -1
- package/lib/module/Engage/components/BracketCompetitionCard.js +2 -0
- package/lib/module/Engage/components/BracketCompetitionCard.js.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/api/index.d.ts +11 -1
- package/lib/typescript/lib/commonjs/Bracket/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketCompetitionActions.d.ts +24 -0
- package/lib/typescript/lib/commonjs/Bracket/components/BracketCompetitionActions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketCompetitionSelector.d.ts +2 -2
- package/lib/typescript/lib/commonjs/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketHeader.d.ts +7 -0
- package/lib/typescript/lib/commonjs/Bracket/components/BracketHeader.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/components/BracketPlay/BracketRound.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketPlay/RoundEvent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketPlay/index.d.ts +3 -4
- package/lib/typescript/lib/commonjs/Bracket/components/BracketPlay/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/BracketSelector.d.ts +1 -3
- package/lib/typescript/lib/commonjs/Bracket/components/BracketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/CompetitionLeaderboard.d.ts +3 -3
- package/lib/typescript/lib/commonjs/Bracket/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/EditPlayerBracket.d.ts +8 -0
- package/lib/typescript/lib/commonjs/Bracket/components/EditPlayerBracket.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/components/JoinCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/Navigator.d.ts +9 -0
- package/lib/typescript/lib/commonjs/Bracket/components/Navigator.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/components/PlayerBalanceCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/PlayerBracketCard.d.ts +4 -0
- package/lib/typescript/lib/commonjs/Bracket/components/PlayerBracketCard.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/components/PlayerBrackets.d.ts +3 -2
- package/lib/typescript/lib/commonjs/Bracket/components/PlayerBrackets.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Bracket/components/RoomHome.d.ts +21 -0
- package/lib/typescript/lib/commonjs/Bracket/components/RoomHome.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/Bracket/index.d.ts +5 -3
- package/lib/typescript/lib/commonjs/Bracket/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AthleteSelector.d.ts +1 -3
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionHeader.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts +3 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts +3 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSelector.d.ts +1 -3
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts +3 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/MarketSelector.d.ts +1 -3
- package/lib/typescript/lib/commonjs/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/PlayerSelector.d.ts +1 -3
- package/lib/typescript/lib/commonjs/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts +2 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Icons.d.ts +10 -0
- package/lib/typescript/lib/commonjs/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Components/SearchBox.d.ts +2 -1
- package/lib/typescript/lib/commonjs/Components/SearchBox.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/Engage/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/api/index.d.ts +11 -1
- package/lib/typescript/lib/module/Bracket/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionActions.d.ts +24 -0
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionActions.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts +2 -2
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketHeader.d.ts +7 -0
- package/lib/typescript/lib/module/Bracket/components/BracketHeader.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/components/BracketPlay/BracketRound.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketPlay/RoundEvent.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketPlay/index.d.ts +4 -7
- package/lib/typescript/lib/module/Bracket/components/BracketPlay/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketSelector.d.ts +2 -6
- package/lib/typescript/lib/module/Bracket/components/BracketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/CompetitionLeaderboard.d.ts +3 -3
- package/lib/typescript/lib/module/Bracket/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts +10 -0
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/components/JoinCompetitionCard.d.ts +1 -2
- package/lib/typescript/lib/module/Bracket/components/JoinCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts +11 -0
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/components/PlayerBalanceCard.d.ts +1 -2
- package/lib/typescript/lib/module/Bracket/components/PlayerBalanceCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketCard.d.ts +10 -0
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketCard.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/components/PlayerBrackets.d.ts +4 -5
- package/lib/typescript/lib/module/Bracket/components/PlayerBrackets.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts +23 -0
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts.map +1 -0
- package/lib/typescript/lib/module/Bracket/index.d.ts +6 -4
- package/lib/typescript/lib/module/Bracket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +3 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +3 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSelector.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +3 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/MarketSelector.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/PlayerSelector.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts +2 -1
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Icons.d.ts +10 -0
- package/lib/typescript/lib/module/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/SearchBox.d.ts +2 -1
- package/lib/typescript/lib/module/Components/SearchBox.d.ts.map +1 -1
- package/lib/typescript/lib/module/Engage/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/api/index.d.ts +22 -3
- package/lib/typescript/src/Bracket/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketCompetitionActions.d.ts +37 -0
- package/lib/typescript/src/Bracket/components/BracketCompetitionActions.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts +8 -2
- package/lib/typescript/src/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketHeader.d.ts +15 -0
- package/lib/typescript/src/Bracket/components/BracketHeader.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts +0 -4
- package/lib/typescript/src/Bracket/components/BracketPlay/BracketRound.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts +3 -7
- package/lib/typescript/src/Bracket/components/BracketPlay/index.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/BracketSelector.d.ts +1 -3
- package/lib/typescript/src/Bracket/components/BracketSelector.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts +4 -2
- package/lib/typescript/src/Bracket/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/EditPlayerBracket.d.ts +10 -0
- package/lib/typescript/src/Bracket/components/EditPlayerBracket.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts +2 -2
- package/lib/typescript/src/Bracket/components/JoinCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/Navigator.d.ts +16 -0
- package/lib/typescript/src/Bracket/components/Navigator.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/components/PlayerBalanceCard.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/PlayerBracketCard.d.ts +16 -0
- package/lib/typescript/src/Bracket/components/PlayerBracketCard.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts +4 -2
- package/lib/typescript/src/Bracket/components/PlayerBrackets.d.ts.map +1 -1
- package/lib/typescript/src/Bracket/components/RoomHome.d.ts +30 -0
- package/lib/typescript/src/Bracket/components/RoomHome.d.ts.map +1 -0
- package/lib/typescript/src/Bracket/index.d.ts +17 -3
- package/lib/typescript/src/Bracket/index.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/AthleteSelector.d.ts +1 -3
- package/lib/typescript/src/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts +0 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionHeader.d.ts +1 -2
- package/lib/typescript/src/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts +4 -3
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts +4 -3
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSelector.d.ts +1 -3
- package/lib/typescript/src/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts +4 -3
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts +1 -3
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/PlayerSelector.d.ts +1 -3
- package/lib/typescript/src/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts +3 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/Icons.d.ts +2 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/SearchBox.d.ts +7 -1
- package/lib/typescript/src/Components/SearchBox.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Bracket/api/index.ts +83 -5
- package/src/Bracket/components/BracketCompetitionActions.tsx +360 -0
- package/src/Bracket/components/BracketCompetitionCard.tsx +4 -2
- package/src/Bracket/components/BracketCompetitionSelector.tsx +35 -15
- package/src/Bracket/components/BracketHeader.tsx +41 -0
- package/src/Bracket/components/BracketPlay/BracketRound.tsx +4 -5
- package/src/Bracket/components/BracketPlay/RoundEvent.tsx +21 -21
- package/src/Bracket/components/BracketPlay/index.tsx +57 -52
- package/src/Bracket/components/BracketSelector.tsx +16 -21
- package/src/Bracket/components/CompetitionLeaderboard.tsx +19 -22
- package/src/Bracket/components/EditPlayerBracket.tsx +81 -0
- package/src/Bracket/components/JoinCompetitionCard.tsx +46 -33
- package/src/Bracket/components/Navigator.tsx +57 -0
- package/src/Bracket/components/PlayerBalanceCard.tsx +9 -10
- package/src/Bracket/components/PlayerBracketCard.tsx +105 -0
- package/src/Bracket/components/PlayerBrackets.tsx +46 -18
- package/src/Bracket/components/RoomHome.tsx +543 -0
- package/src/Bracket/index.tsx +659 -127
- package/src/CompetitionManager/components/AthleteSelector.tsx +2 -4
- package/src/CompetitionManager/components/CompetitionContestsForm.tsx +0 -1
- package/src/CompetitionManager/components/CompetitionHeader.tsx +2 -3
- package/src/CompetitionManager/components/CompetitionInfoForm.tsx +12 -6
- package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +13 -6
- package/src/CompetitionManager/components/ContestSelector.tsx +3 -5
- package/src/CompetitionManager/components/ContestSettingsForm.tsx +15 -8
- package/src/CompetitionManager/components/MarketSelector.tsx +2 -4
- package/src/CompetitionManager/components/PlayerSelector.tsx +2 -4
- package/src/CompetitionManager/index.tsx +176 -96
- package/src/Components/Icons.tsx +30 -0
- package/src/Components/SearchBox.tsx +3 -1
- package/src/Engage/components/BracketCompetitionCard.tsx +2 -2
- package/src/types.d.ts +1 -0
- package/lib/commonjs/Bracket/components/RoomMenu.js +0 -120
- package/lib/commonjs/Bracket/components/RoomMenu.js.map +0 -1
- package/lib/module/Bracket/components/RoomMenu.js +0 -113
- package/lib/module/Bracket/components/RoomMenu.js.map +0 -1
- package/lib/typescript/lib/commonjs/Bracket/components/RoomMenu.d.ts +0 -8
- package/lib/typescript/lib/commonjs/Bracket/components/RoomMenu.d.ts.map +0 -1
- package/lib/typescript/lib/module/Bracket/components/RoomMenu.d.ts +0 -10
- package/lib/typescript/lib/module/Bracket/components/RoomMenu.d.ts.map +0 -1
- package/lib/typescript/src/Bracket/components/RoomMenu.d.ts +0 -14
- package/lib/typescript/src/Bracket/components/RoomMenu.d.ts.map +0 -1
- package/src/Bracket/components/RoomMenu.tsx +0 -69
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import { Button, Text, View } from "../../Components/Themed";
|
|
3
|
+
import { FlatList, Image, Modal } from 'react-native';
|
|
4
|
+
import { BracketComeptitionApi, BracketCompetitionHelpers } from '../api';
|
|
5
|
+
import JoinCompetitionCard from './JoinCompetitionCard';
|
|
6
|
+
import { Icons } from '../../Components';
|
|
7
|
+
import { useColors } from '../../constants/useColors';
|
|
8
|
+
import CompetitionLeaderboard from './CompetitionLeaderboard';
|
|
9
|
+
import SearchBox from '../../Components/SearchBox';
|
|
10
|
+
const sections = ['active_competition', 'leaderboard', 'actions', 'competitions'];
|
|
11
|
+
const BracketCompetitionActions = ({
|
|
12
|
+
competition_id,
|
|
13
|
+
hide_image,
|
|
14
|
+
image_height,
|
|
15
|
+
image_width,
|
|
16
|
+
player,
|
|
17
|
+
player_brackets,
|
|
18
|
+
insets,
|
|
19
|
+
onRequestAuthenticate,
|
|
20
|
+
onSelectCompetition,
|
|
21
|
+
onFoundCompetition,
|
|
22
|
+
onFocusPosition,
|
|
23
|
+
onEnterCompetition,
|
|
24
|
+
onLeaveCompetition,
|
|
25
|
+
competition_result_types,
|
|
26
|
+
player_balance,
|
|
27
|
+
view_mode,
|
|
28
|
+
bracket_id,
|
|
29
|
+
player_bracket,
|
|
30
|
+
competition_player_brackets
|
|
31
|
+
}) => {
|
|
32
|
+
const Colors = useColors();
|
|
33
|
+
const [search_data, setSearchData] = useState({
|
|
34
|
+
visible: false,
|
|
35
|
+
value: ''
|
|
36
|
+
});
|
|
37
|
+
const [action_data, setActionData] = useState({
|
|
38
|
+
loading: false,
|
|
39
|
+
show_leaders: false,
|
|
40
|
+
show_enter: false,
|
|
41
|
+
bracket_competitions: []
|
|
42
|
+
});
|
|
43
|
+
const {
|
|
44
|
+
show_enter,
|
|
45
|
+
show_leaders,
|
|
46
|
+
active_competition_id,
|
|
47
|
+
bracket_competitions
|
|
48
|
+
} = action_data;
|
|
49
|
+
const [action_loading, setActionLoading] = useState(false);
|
|
50
|
+
const active_competition = bracket_competitions.find(bc => bc.bracket_competition_id == active_competition_id);
|
|
51
|
+
const competition_player_bracket = competition_player_brackets.find(cpb => cpb.status == 'active' && cpb.player_bracket_id == player_bracket?.player_bracket_id && cpb.bracket_competition_id == active_competition_id);
|
|
52
|
+
const entered_cpbs = competition_player_brackets.filter(cpb => cpb.status == 'active' && cpb.bracket_competition_id == active_competition_id);
|
|
53
|
+
const visible_pbs = player_brackets.filter(pb => pb.bracket_id == bracket_id);
|
|
54
|
+
const allow_enter = BracketCompetitionHelpers.canEnter(active_competition) && !BracketCompetitionHelpers.isEntered(competition_player_bracket);
|
|
55
|
+
const allow_leave = BracketCompetitionHelpers.canLeave(active_competition) && competition_player_bracket;
|
|
56
|
+
const show_entered = competition_player_bracket && !allow_leave ? true : false;
|
|
57
|
+
const result_type = competition_result_types.find(r => r.competition_result_type_id == active_competition?.competition_result_type_id);
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
getData(bracket_id, competition_id);
|
|
60
|
+
}, [bracket_id, competition_id]);
|
|
61
|
+
const getData = async (id, comp_id) => {
|
|
62
|
+
setActionData({
|
|
63
|
+
...action_data,
|
|
64
|
+
loading: true
|
|
65
|
+
});
|
|
66
|
+
const bcs = await BracketComeptitionApi.getBracketCompetitionsByBracketId(id);
|
|
67
|
+
let active_comp = comp_id;
|
|
68
|
+
if (!active_comp) {
|
|
69
|
+
active_comp = bcs[0]?.bracket_competition_id;
|
|
70
|
+
}
|
|
71
|
+
setActionData({
|
|
72
|
+
...action_data,
|
|
73
|
+
bracket_competitions: bcs,
|
|
74
|
+
active_competition_id: active_comp,
|
|
75
|
+
loading: false
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
const handleSearch = async code => {
|
|
79
|
+
const bc = await BracketComeptitionApi.getBracketcompetitionByCode(code);
|
|
80
|
+
if (!bc) {
|
|
81
|
+
return setSearchData({
|
|
82
|
+
...search_data,
|
|
83
|
+
error: 'We could not find a competition with this code. Please try again'
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
setSearchData({
|
|
87
|
+
...search_data,
|
|
88
|
+
visible: false,
|
|
89
|
+
error: undefined
|
|
90
|
+
});
|
|
91
|
+
return onFoundCompetition(bc);
|
|
92
|
+
};
|
|
93
|
+
const handleEnter = async (cpb, player_bracket) => {
|
|
94
|
+
if (action_loading) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (!player) {
|
|
98
|
+
return onRequestAuthenticate();
|
|
99
|
+
}
|
|
100
|
+
setActionLoading(true);
|
|
101
|
+
const resp = await BracketComeptitionApi.joinBracketCompetition(cpb);
|
|
102
|
+
onEnterCompetition(resp.bracket_competition, resp.competition_player_bracket, player_bracket);
|
|
103
|
+
setActionData({
|
|
104
|
+
...action_data,
|
|
105
|
+
show_enter: false,
|
|
106
|
+
bracket_competitions: bracket_competitions.filter(bc => bc.bracket_competition_id != resp.bracket_competition.bracket_competition_id).concat(resp.bracket_competition)
|
|
107
|
+
});
|
|
108
|
+
setActionLoading(false);
|
|
109
|
+
};
|
|
110
|
+
const handleLeave = async cpb_id => {
|
|
111
|
+
if (action_loading) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
if (!player) {
|
|
115
|
+
return onRequestAuthenticate();
|
|
116
|
+
}
|
|
117
|
+
setActionLoading(true);
|
|
118
|
+
const resp = await BracketComeptitionApi.leaveBracketCompetition(cpb_id);
|
|
119
|
+
setActionData({
|
|
120
|
+
...action_data,
|
|
121
|
+
bracket_competitions: bracket_competitions.filter(bc => bc.bracket_competition_id != resp.bracket_competition.bracket_competition_id).concat(resp.bracket_competition)
|
|
122
|
+
});
|
|
123
|
+
onLeaveCompetition(resp.bracket_competition, resp.competition_player_bracket);
|
|
124
|
+
setActionLoading(false);
|
|
125
|
+
};
|
|
126
|
+
const handleSelectCompetition = bc => {
|
|
127
|
+
onSelectCompetition(bc);
|
|
128
|
+
};
|
|
129
|
+
const renderCompetitions = data => {
|
|
130
|
+
const selected = active_competition_id == data.item.bracket_competition_id ? true : false;
|
|
131
|
+
const entered = competition_player_brackets.find(cpb => cpb.status == 'active' && cpb.player_bracket_id == player_bracket?.player_bracket_id && cpb.bracket_competition_id == data.item.bracket_competition_id);
|
|
132
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
133
|
+
style: {
|
|
134
|
+
padding: 10,
|
|
135
|
+
flexDirection: 'row',
|
|
136
|
+
alignItems: 'center',
|
|
137
|
+
borderRadius: 0,
|
|
138
|
+
borderBottomWidth: 1,
|
|
139
|
+
borderBottomColor: Colors.borders.light,
|
|
140
|
+
backgroundColor: selected ? Colors.text.highlight : Colors.views.background
|
|
141
|
+
},
|
|
142
|
+
onPress: () => handleSelectCompetition(data.item)
|
|
143
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
144
|
+
source: {
|
|
145
|
+
uri: data.item.image?.url
|
|
146
|
+
},
|
|
147
|
+
style: {
|
|
148
|
+
height: 40,
|
|
149
|
+
width: 40,
|
|
150
|
+
borderRadius: 4
|
|
151
|
+
},
|
|
152
|
+
resizeMode: "cover"
|
|
153
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
154
|
+
transparent: true,
|
|
155
|
+
style: {
|
|
156
|
+
flex: 1,
|
|
157
|
+
marginLeft: 10,
|
|
158
|
+
marginRight: 10
|
|
159
|
+
}
|
|
160
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
161
|
+
theme: "h2"
|
|
162
|
+
}, data.item.competition_name), /*#__PURE__*/React.createElement(Text, {
|
|
163
|
+
style: {
|
|
164
|
+
marginTop: 3
|
|
165
|
+
},
|
|
166
|
+
theme: "description"
|
|
167
|
+
}, data.item.competition_description)), entered ? /*#__PURE__*/React.createElement(View, {
|
|
168
|
+
float: true,
|
|
169
|
+
style: {
|
|
170
|
+
height: 30,
|
|
171
|
+
width: 30,
|
|
172
|
+
borderRadius: 100,
|
|
173
|
+
justifyContent: 'center',
|
|
174
|
+
alignItems: 'center'
|
|
175
|
+
}
|
|
176
|
+
}, /*#__PURE__*/React.createElement(Icons.CheckIcon, {
|
|
177
|
+
color: Colors.text.success,
|
|
178
|
+
size: 14
|
|
179
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
180
|
+
};
|
|
181
|
+
const cl = active_competition?.market_type == 'FOR_MONEY' ? '$' : 'E';
|
|
182
|
+
const remaining_tickets = (active_competition?.max_brackets ?? 0) - (active_competition?.tickets_sold ?? 0);
|
|
183
|
+
let payout = BracketCompetitionHelpers.getPayout(active_competition);
|
|
184
|
+
const renderSections = data => {
|
|
185
|
+
switch (data.item) {
|
|
186
|
+
case 'active_competition':
|
|
187
|
+
if (!active_competition) {
|
|
188
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
189
|
+
}
|
|
190
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
191
|
+
transparent: true,
|
|
192
|
+
type: "body"
|
|
193
|
+
}, !hide_image ? /*#__PURE__*/React.createElement(Image, {
|
|
194
|
+
style: {
|
|
195
|
+
height: image_height ?? 300,
|
|
196
|
+
width: image_width ?? 300,
|
|
197
|
+
alignSelf: 'center'
|
|
198
|
+
},
|
|
199
|
+
source: {
|
|
200
|
+
uri: active_competition.image?.url
|
|
201
|
+
},
|
|
202
|
+
resizeMode: "cover"
|
|
203
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
204
|
+
transparent: true,
|
|
205
|
+
style: {
|
|
206
|
+
padding: 10
|
|
207
|
+
}
|
|
208
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
209
|
+
transparent: true,
|
|
210
|
+
type: "row",
|
|
211
|
+
style: {
|
|
212
|
+
marginTop: 10
|
|
213
|
+
}
|
|
214
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
215
|
+
style: {
|
|
216
|
+
flex: 1
|
|
217
|
+
},
|
|
218
|
+
theme: "h2"
|
|
219
|
+
}, "Ticket Price"), /*#__PURE__*/React.createElement(Text, {
|
|
220
|
+
theme: "h1"
|
|
221
|
+
}, active_competition.buy_in > 0 ? `${cl}${active_competition.buy_in.toFixed(2)}` : 'FREE')), /*#__PURE__*/React.createElement(View, {
|
|
222
|
+
transparent: true,
|
|
223
|
+
type: "row",
|
|
224
|
+
style: {
|
|
225
|
+
marginTop: 10
|
|
226
|
+
}
|
|
227
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
228
|
+
style: {
|
|
229
|
+
flex: 1
|
|
230
|
+
},
|
|
231
|
+
theme: "h2"
|
|
232
|
+
}, "Remaining Tickets"), /*#__PURE__*/React.createElement(Text, {
|
|
233
|
+
theme: "h1"
|
|
234
|
+
}, remaining_tickets)), result_type ? /*#__PURE__*/React.createElement(View, {
|
|
235
|
+
transparent: true,
|
|
236
|
+
type: "row",
|
|
237
|
+
style: {
|
|
238
|
+
marginTop: 10
|
|
239
|
+
}
|
|
240
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
241
|
+
style: {
|
|
242
|
+
flex: 1
|
|
243
|
+
},
|
|
244
|
+
size: 14,
|
|
245
|
+
theme: "h1"
|
|
246
|
+
}, "Payout Type"), /*#__PURE__*/React.createElement(Text, {
|
|
247
|
+
size: 14,
|
|
248
|
+
theme: "h1",
|
|
249
|
+
weight: "bold"
|
|
250
|
+
}, result_type.label)) : /*#__PURE__*/React.createElement(React.Fragment, null), payout > 0 ? /*#__PURE__*/React.createElement(View, {
|
|
251
|
+
transparent: true,
|
|
252
|
+
type: "row",
|
|
253
|
+
style: {
|
|
254
|
+
marginTop: 10
|
|
255
|
+
}
|
|
256
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
257
|
+
style: {
|
|
258
|
+
flex: 1
|
|
259
|
+
},
|
|
260
|
+
theme: "h2"
|
|
261
|
+
}, "Payout"), /*#__PURE__*/React.createElement(Text, {
|
|
262
|
+
theme: "h1"
|
|
263
|
+
}, cl, payout.toFixed(2))) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
264
|
+
transparent: true,
|
|
265
|
+
type: "row",
|
|
266
|
+
style: {
|
|
267
|
+
marginTop: 10
|
|
268
|
+
}
|
|
269
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
270
|
+
style: {
|
|
271
|
+
flex: 1
|
|
272
|
+
},
|
|
273
|
+
theme: "h2"
|
|
274
|
+
}, "Leaderboard"), /*#__PURE__*/React.createElement(Button, {
|
|
275
|
+
transparent: true,
|
|
276
|
+
type: "action",
|
|
277
|
+
style: {
|
|
278
|
+
padding: 0,
|
|
279
|
+
justifyContent: 'flex-end'
|
|
280
|
+
},
|
|
281
|
+
onPress: () => setActionData({
|
|
282
|
+
...action_data,
|
|
283
|
+
show_leaders: true
|
|
284
|
+
})
|
|
285
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
286
|
+
theme: "h1",
|
|
287
|
+
color: Colors.text.action,
|
|
288
|
+
size: 14
|
|
289
|
+
}, "View Leadboard"))), active_competition?.prize_override ? /*#__PURE__*/React.createElement(View, {
|
|
290
|
+
float: true,
|
|
291
|
+
style: {
|
|
292
|
+
marginTop: 10,
|
|
293
|
+
padding: 5,
|
|
294
|
+
flexDirection: 'row',
|
|
295
|
+
alignItems: 'center',
|
|
296
|
+
borderRadius: 8
|
|
297
|
+
}
|
|
298
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
299
|
+
source: {
|
|
300
|
+
uri: active_competition.prize_image?.url ?? 'https://res.cloudinary.com/hoabts6mc/image/upload/v1697121009/Medal_and_trophy_awarded_for_success_wkuk6r.png'
|
|
301
|
+
},
|
|
302
|
+
style: {
|
|
303
|
+
height: 40,
|
|
304
|
+
width: 40,
|
|
305
|
+
borderRadius: 4
|
|
306
|
+
},
|
|
307
|
+
resizeMode: "cover"
|
|
308
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
309
|
+
transparent: true,
|
|
310
|
+
style: {
|
|
311
|
+
flex: 1,
|
|
312
|
+
marginLeft: 10
|
|
313
|
+
}
|
|
314
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
315
|
+
theme: "description"
|
|
316
|
+
}, "Prize"), /*#__PURE__*/React.createElement(Text, {
|
|
317
|
+
theme: "h1"
|
|
318
|
+
}, active_competition.prize_override))) : /*#__PURE__*/React.createElement(React.Fragment, null)));
|
|
319
|
+
case 'actions':
|
|
320
|
+
if (!active_competition) {
|
|
321
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
322
|
+
}
|
|
323
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
324
|
+
transparent: true,
|
|
325
|
+
style: {
|
|
326
|
+
flexDirection: 'row',
|
|
327
|
+
padding: 10
|
|
328
|
+
}
|
|
329
|
+
}, allow_enter ? /*#__PURE__*/React.createElement(Button, {
|
|
330
|
+
style: {
|
|
331
|
+
flex: 1,
|
|
332
|
+
opacity: action_loading ? 0.5 : 1
|
|
333
|
+
},
|
|
334
|
+
type: "success",
|
|
335
|
+
loading: action_loading,
|
|
336
|
+
title: "Enter Competition",
|
|
337
|
+
onPress: () => setActionData({
|
|
338
|
+
...action_data,
|
|
339
|
+
show_enter: true
|
|
340
|
+
})
|
|
341
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null), show_entered && competition_player_bracket ? /*#__PURE__*/React.createElement(Button, {
|
|
342
|
+
style: {
|
|
343
|
+
flexDirection: 'row',
|
|
344
|
+
alignItems: 'center'
|
|
345
|
+
},
|
|
346
|
+
type: "action"
|
|
347
|
+
}, /*#__PURE__*/React.createElement(Icons.LockClosedIcon, {
|
|
348
|
+
size: 14,
|
|
349
|
+
color: Colors.text.h1
|
|
350
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
351
|
+
style: {
|
|
352
|
+
marginLeft: 4
|
|
353
|
+
}
|
|
354
|
+
}, competition_player_bracket.place, "/", active_competition.tickets_sold)) : /*#__PURE__*/React.createElement(React.Fragment, null), allow_leave && competition_player_bracket ? /*#__PURE__*/React.createElement(Button, {
|
|
355
|
+
style: {
|
|
356
|
+
flex: 1,
|
|
357
|
+
opacity: action_loading ? 0.5 : 1
|
|
358
|
+
},
|
|
359
|
+
type: "error",
|
|
360
|
+
loading: action_loading,
|
|
361
|
+
title: "Leave Competition",
|
|
362
|
+
onPress: () => handleLeave(competition_player_bracket.competition_player_bracket_id)
|
|
363
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
364
|
+
case 'competitions':
|
|
365
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
366
|
+
transparent: true
|
|
367
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
368
|
+
type: "header",
|
|
369
|
+
style: {
|
|
370
|
+
flexDirection: 'row',
|
|
371
|
+
alignItems: 'center',
|
|
372
|
+
padding: 10
|
|
373
|
+
}
|
|
374
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
375
|
+
transparent: true,
|
|
376
|
+
style: {
|
|
377
|
+
flex: 1
|
|
378
|
+
}
|
|
379
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
380
|
+
theme: "h1"
|
|
381
|
+
}, "Available Competitions"), /*#__PURE__*/React.createElement(Text, {
|
|
382
|
+
style: {
|
|
383
|
+
marginTop: 3
|
|
384
|
+
},
|
|
385
|
+
theme: "description"
|
|
386
|
+
}, "Dont see a competition listed? Use the search to enter a private code!")), /*#__PURE__*/React.createElement(Button, {
|
|
387
|
+
float: true,
|
|
388
|
+
style: {
|
|
389
|
+
padding: 10,
|
|
390
|
+
marginLeft: 5
|
|
391
|
+
},
|
|
392
|
+
onPress: () => setSearchData({
|
|
393
|
+
...search_data,
|
|
394
|
+
visible: !search_data.visible,
|
|
395
|
+
error: undefined
|
|
396
|
+
})
|
|
397
|
+
}, search_data.visible ? /*#__PURE__*/React.createElement(Icons.CloseIcon, {
|
|
398
|
+
size: 12,
|
|
399
|
+
color: Colors.text.error
|
|
400
|
+
}) : /*#__PURE__*/React.createElement(Icons.SearchIcon, {
|
|
401
|
+
size: 14,
|
|
402
|
+
color: Colors.text.h1
|
|
403
|
+
}))), search_data.visible ? /*#__PURE__*/React.createElement(View, {
|
|
404
|
+
transparent: true,
|
|
405
|
+
style: {
|
|
406
|
+
margin: 4
|
|
407
|
+
}
|
|
408
|
+
}, /*#__PURE__*/React.createElement(SearchBox, {
|
|
409
|
+
placeholder: "Enter Private Code...",
|
|
410
|
+
onFocusPosition: onFocusPosition,
|
|
411
|
+
onSearch: text => handleSearch(text)
|
|
412
|
+
}), search_data.error ? /*#__PURE__*/React.createElement(Text, {
|
|
413
|
+
theme: "warning",
|
|
414
|
+
style: {
|
|
415
|
+
marginTop: 3
|
|
416
|
+
}
|
|
417
|
+
}, search_data.error) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
|
|
418
|
+
transparent: true
|
|
419
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
420
|
+
data: bracket_competitions.sort((a, b) => parseInt(a.bracket_competition_id) - parseInt(b.bracket_competition_id)),
|
|
421
|
+
renderItem: renderCompetitions,
|
|
422
|
+
key: 'bracket_competition_options',
|
|
423
|
+
keyExtractor: item => item.bracket_competition_id.toString()
|
|
424
|
+
})));
|
|
425
|
+
default:
|
|
426
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
430
|
+
transparent: true,
|
|
431
|
+
style: {
|
|
432
|
+
flex: 1
|
|
433
|
+
}
|
|
434
|
+
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
435
|
+
key: `comp_actions_list`,
|
|
436
|
+
keyExtractor: item => item,
|
|
437
|
+
renderItem: renderSections,
|
|
438
|
+
data: sections
|
|
439
|
+
}), /*#__PURE__*/React.createElement(Modal, {
|
|
440
|
+
visible: show_enter,
|
|
441
|
+
transparent: true,
|
|
442
|
+
animationType: view_mode == 'desktop' ? 'fade' : 'slide',
|
|
443
|
+
style: {
|
|
444
|
+
flex: 1
|
|
445
|
+
}
|
|
446
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
447
|
+
type: "blur",
|
|
448
|
+
style: view_mode == 'desktop' ? {
|
|
449
|
+
flex: 1,
|
|
450
|
+
justifyContent: 'center',
|
|
451
|
+
alignItems: 'center'
|
|
452
|
+
} : {
|
|
453
|
+
flex: 1,
|
|
454
|
+
justifyContent: 'flex-end',
|
|
455
|
+
paddingBottom: insets?.bottom ?? 0
|
|
456
|
+
}
|
|
457
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
458
|
+
style: view_mode == 'desktop' ? {
|
|
459
|
+
width: 500
|
|
460
|
+
} : {}
|
|
461
|
+
}, active_competition ? /*#__PURE__*/React.createElement(JoinCompetitionCard, {
|
|
462
|
+
player: player,
|
|
463
|
+
bracket_competition: active_competition,
|
|
464
|
+
player_bracket: player_bracket,
|
|
465
|
+
player_balance: player_balance,
|
|
466
|
+
loading: action_loading,
|
|
467
|
+
onNotEnoughBalance: data => console.log(data),
|
|
468
|
+
onEnterCompetition: (cpb, pb) => handleEnter(cpb, pb),
|
|
469
|
+
onClose: () => setActionData({
|
|
470
|
+
...action_data,
|
|
471
|
+
show_enter: false
|
|
472
|
+
})
|
|
473
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null)))), /*#__PURE__*/React.createElement(Modal, {
|
|
474
|
+
visible: show_leaders,
|
|
475
|
+
transparent: true,
|
|
476
|
+
animationType: view_mode == 'desktop' ? 'fade' : 'slide',
|
|
477
|
+
style: {
|
|
478
|
+
flex: 1
|
|
479
|
+
}
|
|
480
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
481
|
+
type: "blur",
|
|
482
|
+
style: view_mode == 'desktop' ? {
|
|
483
|
+
flex: 1,
|
|
484
|
+
justifyContent: 'center',
|
|
485
|
+
alignItems: 'center'
|
|
486
|
+
} : {
|
|
487
|
+
flex: 1,
|
|
488
|
+
justifyContent: 'flex-end',
|
|
489
|
+
padding: 10,
|
|
490
|
+
paddingBottom: (insets?.bottom ?? 0) + 10
|
|
491
|
+
}
|
|
492
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
493
|
+
float: true,
|
|
494
|
+
style: view_mode == 'desktop' ? {
|
|
495
|
+
flex: 1,
|
|
496
|
+
width: 500,
|
|
497
|
+
maxHeight: 700
|
|
498
|
+
} : {}
|
|
499
|
+
}, active_competition ? /*#__PURE__*/React.createElement(CompetitionLeaderboard, {
|
|
500
|
+
bracket_competition_id: active_competition.bracket_competition_id,
|
|
501
|
+
my_competition_player_brackets: entered_cpbs,
|
|
502
|
+
my_player_brackets: visible_pbs,
|
|
503
|
+
view_mode: view_mode,
|
|
504
|
+
can_enter: allow_enter,
|
|
505
|
+
onClose: () => setActionData({
|
|
506
|
+
...action_data,
|
|
507
|
+
show_leaders: false
|
|
508
|
+
}),
|
|
509
|
+
onEnterCompetition: () => {
|
|
510
|
+
setActionData({
|
|
511
|
+
...action_data,
|
|
512
|
+
show_leaders: false
|
|
513
|
+
});
|
|
514
|
+
setTimeout(() => {
|
|
515
|
+
setActionData({
|
|
516
|
+
...action_data,
|
|
517
|
+
show_enter: true,
|
|
518
|
+
show_leaders: false
|
|
519
|
+
});
|
|
520
|
+
}, 500);
|
|
521
|
+
}
|
|
522
|
+
}) : /*#__PURE__*/React.createElement(React.Fragment, null)))));
|
|
523
|
+
};
|
|
524
|
+
export default BracketCompetitionActions;
|
|
525
|
+
//# sourceMappingURL=BracketCompetitionActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","Button","Text","View","FlatList","Image","Modal","BracketComeptitionApi","BracketCompetitionHelpers","JoinCompetitionCard","Icons","useColors","CompetitionLeaderboard","SearchBox","sections","BracketCompetitionActions","competition_id","hide_image","image_height","image_width","player","player_brackets","insets","onRequestAuthenticate","onSelectCompetition","onFoundCompetition","onFocusPosition","onEnterCompetition","onLeaveCompetition","competition_result_types","player_balance","view_mode","bracket_id","player_bracket","competition_player_brackets","Colors","search_data","setSearchData","visible","value","action_data","setActionData","loading","show_leaders","show_enter","bracket_competitions","active_competition_id","action_loading","setActionLoading","active_competition","find","bc","bracket_competition_id","competition_player_bracket","cpb","status","player_bracket_id","entered_cpbs","filter","visible_pbs","pb","allow_enter","canEnter","isEntered","allow_leave","canLeave","show_entered","result_type","r","competition_result_type_id","getData","id","comp_id","bcs","getBracketCompetitionsByBracketId","active_comp","handleSearch","code","getBracketcompetitionByCode","error","undefined","handleEnter","resp","joinBracketCompetition","bracket_competition","concat","handleLeave","cpb_id","leaveBracketCompetition","handleSelectCompetition","renderCompetitions","data","selected","item","entered","createElement","style","padding","flexDirection","alignItems","borderRadius","borderBottomWidth","borderBottomColor","borders","light","backgroundColor","text","highlight","views","background","onPress","source","uri","image","url","height","width","resizeMode","transparent","flex","marginLeft","marginRight","theme","competition_name","marginTop","competition_description","float","justifyContent","CheckIcon","color","success","size","Fragment","cl","market_type","remaining_tickets","max_brackets","tickets_sold","payout","getPayout","renderSections","type","alignSelf","buy_in","toFixed","weight","label","action","prize_override","prize_image","opacity","title","LockClosedIcon","h1","place","competition_player_bracket_id","CloseIcon","SearchIcon","margin","placeholder","onSearch","sort","a","b","parseInt","renderItem","key","keyExtractor","toString","animationType","paddingBottom","bottom","onNotEnoughBalance","console","log","onClose","maxHeight","my_competition_player_brackets","my_player_brackets","can_enter","setTimeout"],"sourceRoot":"../../../../src","sources":["Bracket/components/BracketCompetitionActions.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO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IACX;EAAE,CACL,CAAC,gBACD7C,KAAA,CAAAiG,aAAA,CAAAjG,KAAA,CAAAsI,QAAA,MAAI,CACH,CACJ,CACH,CACL,CAAC;AAEf,CAAC;AAED,eAAerH,yBAAyB","ignoreList":[]}
|
|
@@ -558,10 +558,11 @@ const BracketCompetitionCard = ({
|
|
|
558
558
|
borderRadius: 0
|
|
559
559
|
}
|
|
560
560
|
}, /*#__PURE__*/React.createElement(CompetitionLeaderboard, {
|
|
561
|
+
view_mode: "mobile",
|
|
562
|
+
onEnterCompetition: () => console.log('hey'),
|
|
561
563
|
my_competition_player_brackets: my_comp_player_brackets,
|
|
562
564
|
my_player_brackets: my_player_brackets,
|
|
563
565
|
bracket_competition_id: bracket_competition.bracket_competition_id,
|
|
564
|
-
view_mode: "short",
|
|
565
566
|
show_champions: BracketCompetitionHelpers.showChampions(bracket_competition),
|
|
566
567
|
onViewFull: () => setShowLeaderboard(true)
|
|
567
568
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null))), show_leaderboard ? /*#__PURE__*/React.createElement(View, {
|
|
@@ -577,8 +578,9 @@ const BracketCompetitionCard = ({
|
|
|
577
578
|
height
|
|
578
579
|
}
|
|
579
580
|
}, /*#__PURE__*/React.createElement(CompetitionLeaderboard, {
|
|
581
|
+
view_mode: "mobile",
|
|
582
|
+
onEnterCompetition: () => console.log('hey'),
|
|
580
583
|
bracket_competition_id: bracket_competition.bracket_competition_id,
|
|
581
|
-
view_mode: "full",
|
|
582
584
|
show_champions: BracketCompetitionHelpers.showChampions(bracket_competition),
|
|
583
585
|
onClose: () => setShowLeaderboard(false),
|
|
584
586
|
my_competition_player_brackets: my_comp_player_brackets,
|