be-components 7.6.4 → 7.6.5
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/Components/Spring.js +9 -52
- package/lib/commonjs/Components/Spring.js.map +1 -1
- package/lib/commonjs/NotificationManager/api/index.js +2 -1
- package/lib/commonjs/NotificationManager/api/index.js.map +1 -1
- package/lib/commonjs/Notifications/index.js +2 -2
- package/lib/commonjs/Notifications/index.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BettorVouch.js +1 -1
- package/lib/commonjs/ProfileManager/Components/BettorVouch.js.map +1 -1
- package/lib/commonjs/SocialComponents/PostCard/index.js +1 -1
- package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -1
- package/lib/module/Components/Spring.js +10 -53
- package/lib/module/Components/Spring.js.map +1 -1
- package/lib/module/NotificationManager/api/index.js +2 -1
- package/lib/module/NotificationManager/api/index.js.map +1 -1
- package/lib/module/Notifications/index.js +2 -2
- package/lib/module/Notifications/index.js.map +1 -1
- package/lib/module/ProfileManager/Components/BettorVouch.js +1 -1
- package/lib/module/ProfileManager/Components/BettorVouch.js.map +1 -1
- package/lib/module/SocialComponents/PostCard/index.js +1 -1
- package/lib/module/SocialComponents/PostCard/index.js.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Spring.d.ts +1 -5
- package/lib/typescript/lib/commonjs/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts +58 -0
- package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts +58 -0
- package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/index.d.ts +58 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/AdServer/index.d.ts +1 -3
- package/lib/typescript/lib/module/AdServer/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/index.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts.map +1 -1
- package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts +1 -3
- package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts +1 -3
- package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts +1 -3
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Spring.d.ts +3 -1126
- package/lib/typescript/lib/module/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts +1 -3
- package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Guide/index.d.ts +1 -3
- package/lib/typescript/lib/module/Guide/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts +1 -3
- package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/NotificationManager/api/index.d.ts +58 -0
- package/lib/typescript/lib/module/NotificationManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Observer/Observer.d.ts +1 -3
- package/lib/typescript/lib/module/Observer/Observer.d.ts.map +1 -1
- package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts +1 -3
- package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts +1 -3
- package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts.map +1 -1
- package/lib/typescript/lib/module/RankingsCard/index.d.ts +1 -3
- package/lib/typescript/lib/module/RankingsCard/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Socket/index.d.ts +1 -3
- package/lib/typescript/lib/module/Socket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/Countdown.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/Countdown.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/src/Components/AutoPageFlatList.d.ts +1 -1
- package/lib/typescript/src/Components/AutoPageFlatList.d.ts.map +1 -1
- package/lib/typescript/src/Components/Spring.d.ts +1 -1
- package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/src/NotificationManager/api/index.d.ts +58 -0
- package/lib/typescript/src/NotificationManager/api/index.d.ts.map +1 -1
- package/package.json +36 -35
- package/src/Components/AutoPageFlatList.tsx +1 -1
- package/src/Components/Spring.tsx +13 -44
- package/src/NotificationManager/api/index.ts +1 -1
- package/src/Notifications/index.tsx +2 -2
- package/src/ProfileManager/Components/BettorVouch.tsx +1 -1
- package/src/SocialComponents/PostCard/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "be-components",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.5",
|
|
4
4
|
"description": "Components for BettorEdge Apps",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@types/draft-js": "^0.11.18",
|
|
64
64
|
"@types/is-url": "^1.2.32",
|
|
65
65
|
"@types/jest": "^29.5.5",
|
|
66
|
-
"@types/react": "~19.
|
|
67
|
-
"@types/react-dom": "
|
|
66
|
+
"@types/react": "~19.1.10",
|
|
67
|
+
"@types/react-dom": "~19.1.7",
|
|
68
68
|
"commitlint": "^17.0.2",
|
|
69
69
|
"del-cli": "^5.1.0",
|
|
70
70
|
"eslint": "^8.51.0",
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
"html-webpack-plugin": "^5.6.3",
|
|
74
74
|
"jest": "^29.7.0",
|
|
75
75
|
"prettier": "^3.0.3",
|
|
76
|
-
"react": "19.
|
|
77
|
-
"react-native": "0.
|
|
76
|
+
"react": "19.1.0",
|
|
77
|
+
"react-native": "0.81.5",
|
|
78
78
|
"react-native-builder-bob": "^0.23.2",
|
|
79
79
|
"release-it": "^15.0.0",
|
|
80
|
-
"typescript": "~5.
|
|
80
|
+
"typescript": "~5.9.2"
|
|
81
81
|
},
|
|
82
82
|
"resolutions": {
|
|
83
|
-
"@types/react": "
|
|
83
|
+
"@types/react": "~19.1.10"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"react": "*",
|
|
@@ -170,36 +170,36 @@
|
|
|
170
170
|
"@microsoft/clarity": "^1.0.0",
|
|
171
171
|
"@microsoft/react-native-clarity": "^4.3.1",
|
|
172
172
|
"@paypal/react-paypal-js": "^8.3.0",
|
|
173
|
-
"@react-native-async-storage/async-storage": "2.
|
|
174
|
-
"@react-native-community/datetimepicker": "
|
|
175
|
-
"@react-native-community/slider": "
|
|
173
|
+
"@react-native-async-storage/async-storage": "2.2.0",
|
|
174
|
+
"@react-native-community/datetimepicker": "8.4.4",
|
|
175
|
+
"@react-native-community/slider": "5.0.1",
|
|
176
176
|
"@react-spring/web": "^9.7.3",
|
|
177
177
|
"@types/uuid": "^9.0.8",
|
|
178
178
|
"axios": "^1.6.8",
|
|
179
179
|
"buffer": "^6.0.3",
|
|
180
180
|
"draft-js": "^0.11.7",
|
|
181
|
-
"expo": "
|
|
182
|
-
"expo-application": "
|
|
183
|
-
"expo-asset": "~
|
|
184
|
-
"expo-av": "~
|
|
185
|
-
"expo-camera": "~
|
|
186
|
-
"expo-clipboard": "~
|
|
187
|
-
"expo-constants": "
|
|
188
|
-
"expo-contacts": "~
|
|
189
|
-
"expo-crypto": "~
|
|
190
|
-
"expo-dev-client": "~
|
|
191
|
-
"expo-device": "
|
|
192
|
-
"expo-font": "~
|
|
193
|
-
"expo-image-picker": "~
|
|
194
|
-
"expo-linear-gradient": "~
|
|
195
|
-
"expo-localization": "
|
|
196
|
-
"expo-location": "~
|
|
197
|
-
"expo-notifications": "~0.
|
|
198
|
-
"expo-sharing": "~
|
|
199
|
-
"expo-sms": "~
|
|
200
|
-
"expo-status-bar": "~
|
|
201
|
-
"expo-updates": "~0.
|
|
202
|
-
"expo-web-browser": "~
|
|
181
|
+
"expo": "~54.0.0",
|
|
182
|
+
"expo-application": "~7.0.8",
|
|
183
|
+
"expo-asset": "~12.0.12",
|
|
184
|
+
"expo-av": "~16.0.8",
|
|
185
|
+
"expo-camera": "~17.0.10",
|
|
186
|
+
"expo-clipboard": "~8.0.8",
|
|
187
|
+
"expo-constants": "~18.0.13",
|
|
188
|
+
"expo-contacts": "~15.0.11",
|
|
189
|
+
"expo-crypto": "~15.0.8",
|
|
190
|
+
"expo-dev-client": "~6.0.20",
|
|
191
|
+
"expo-device": "~8.0.10",
|
|
192
|
+
"expo-font": "~14.0.10",
|
|
193
|
+
"expo-image-picker": "~17.0.10",
|
|
194
|
+
"expo-linear-gradient": "~15.0.8",
|
|
195
|
+
"expo-localization": "~17.0.8",
|
|
196
|
+
"expo-location": "~19.0.8",
|
|
197
|
+
"expo-notifications": "~0.32.16",
|
|
198
|
+
"expo-sharing": "~14.0.8",
|
|
199
|
+
"expo-sms": "~14.0.8",
|
|
200
|
+
"expo-status-bar": "~3.0.9",
|
|
201
|
+
"expo-updates": "~29.0.16",
|
|
202
|
+
"expo-web-browser": "~15.0.10",
|
|
203
203
|
"install-expo-modules": "latest",
|
|
204
204
|
"is-url": "^1.2.4",
|
|
205
205
|
"moment-mini": "^2.29.4",
|
|
@@ -209,15 +209,16 @@
|
|
|
209
209
|
"react-datepicker": "^8.7.0",
|
|
210
210
|
"react-datetime-picker": "^6.0.1",
|
|
211
211
|
"react-device-detect": "^2.2.3",
|
|
212
|
-
"react-dom": "19.
|
|
212
|
+
"react-dom": "19.1.0",
|
|
213
213
|
"react-gifted-charts": "^0.0.12",
|
|
214
214
|
"react-native-base64": "^0.2.1",
|
|
215
215
|
"react-native-gifted-charts": "^1.4.65",
|
|
216
|
-
"react-native-svg": "15.
|
|
216
|
+
"react-native-svg": "15.12.1",
|
|
217
217
|
"react-native-uuid": "^2.0.3",
|
|
218
|
+
"react-native-web": "^0.21.0",
|
|
218
219
|
"react-native-web-linear-gradient": "^1.1.2",
|
|
219
220
|
"react-native-web-swiper": "^2.2.4",
|
|
220
|
-
"react-native-webview": "13.
|
|
221
|
+
"react-native-webview": "13.15.0",
|
|
221
222
|
"react-qr-code": "^2.0.15",
|
|
222
223
|
"styled-components": "^6.1.16",
|
|
223
224
|
"us-bank-account-validator": "^1.0.0",
|
|
@@ -9,7 +9,7 @@ import Pagination from './Pagination';
|
|
|
9
9
|
interface AutoPageFlatListProps<T> {
|
|
10
10
|
data: T[];
|
|
11
11
|
reset_key:string,
|
|
12
|
-
renderItem: ({ item, index }: { item: T, index:number }) =>
|
|
12
|
+
renderItem: ({ item, index }: { item: T, index:number }) => any;
|
|
13
13
|
horizontal?: boolean;
|
|
14
14
|
time_on_page?: number; // seconds
|
|
15
15
|
itemHeight?: number; // required for vertical paging
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Modal
|
|
3
|
-
import { useSpring, animated } from '@react-spring/web';
|
|
2
|
+
import { Modal } from 'react-native';
|
|
4
3
|
import Text from './Text';
|
|
5
4
|
|
|
6
5
|
type SpringViewProps = {
|
|
@@ -11,52 +10,22 @@ type SpringViewProps = {
|
|
|
11
10
|
to:number,
|
|
12
11
|
children: any
|
|
13
12
|
}
|
|
14
|
-
const SpringView = ({ style, children
|
|
13
|
+
const SpringView = ({ style, children }:SpringViewProps) => {
|
|
15
14
|
|
|
16
|
-
let config:any = {
|
|
17
|
-
from: { x: from},
|
|
18
|
-
to: { x: to },
|
|
19
|
-
friction: 120,
|
|
20
|
-
tension: 280,
|
|
21
|
-
//...style
|
|
22
|
-
}
|
|
23
|
-
if(slide == 'vertical'){
|
|
24
|
-
config = {
|
|
25
|
-
from: { y: from},
|
|
26
|
-
to: { y: to },
|
|
27
|
-
//delay: 500,
|
|
28
|
-
onResolve: () => { if(onResolve){ onResolve() } },
|
|
29
|
-
//...style
|
|
30
|
-
// easing: easings.easeInBounce
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
15
|
|
|
16
|
+
//const props = useSpring(config)
|
|
34
17
|
|
|
35
18
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</animated.div>
|
|
47
|
-
)
|
|
48
|
-
} else {
|
|
49
|
-
return (
|
|
50
|
-
<Modal
|
|
51
|
-
style={{ ...style }}
|
|
52
|
-
animationType="slide"
|
|
53
|
-
visible={true}
|
|
54
|
-
>
|
|
55
|
-
<Text>HEY THIS SHOULD BE IN HERE!!!</Text>
|
|
56
|
-
{children}
|
|
57
|
-
</Modal>
|
|
58
|
-
)
|
|
59
|
-
}
|
|
19
|
+
return (
|
|
20
|
+
<Modal
|
|
21
|
+
style={{ ...style }}
|
|
22
|
+
animationType="slide"
|
|
23
|
+
visible={true}
|
|
24
|
+
>
|
|
25
|
+
<Text>HEY THIS SHOULD BE IN HERE!!!</Text>
|
|
26
|
+
{children}
|
|
27
|
+
</Modal>
|
|
28
|
+
)
|
|
60
29
|
|
|
61
30
|
|
|
62
31
|
}
|
|
@@ -44,7 +44,7 @@ export const NotificationHelpers = {
|
|
|
44
44
|
{ label: 'Filters', path_name: '/markets/filters', params: {}, requiredParams: [], primary: false },
|
|
45
45
|
{ label: 'Live Markets', path_name: '/markets/live', params: {}, requiredParams: [], primary: false },
|
|
46
46
|
{ label: 'Parlays', path_name: '/markets/parlays', params: {}, requiredParams: [], primary: false },
|
|
47
|
-
{ label: 'Market Activity', path_name: '/markets/activity/[content_id]', params: { content_id: '' }, requiredParams: ['content_id'], primary: false },
|
|
47
|
+
{ label: 'Market Activity', path_name: '/markets/activity/[content_id]', params: { content_id: '', content_type: '' }, requiredParams: ['content_id'], primary: false },
|
|
48
48
|
{ label: 'Contest', path_name: '/markets/contest/[contest_id]', params: { contest_id: '', contest_type: '' }, requiredParams: ['contest_id', 'contest_type'], primary: true },
|
|
49
49
|
{ label: 'Filter', path_name: '/markets/filter/[player_filter_id]', params: { player_filter_id: '', mode: '' }, requiredParams: ['player_filter_id'], primary: false },
|
|
50
50
|
{ label: 'Fund', path_name: '/markets/fund/[fund_id]', params: { fund_id: '' }, requiredParams: ['fund_id'], primary: false },
|
|
@@ -17,8 +17,8 @@ Notifications.setNotificationHandler({
|
|
|
17
17
|
|
|
18
18
|
const NotificationModule = ({}) => {
|
|
19
19
|
const Notification = useNotifications();
|
|
20
|
-
const notificationListener = useRef<EventSubscription>();
|
|
21
|
-
const responseListener = useRef<EventSubscription>();
|
|
20
|
+
const notificationListener = useRef<EventSubscription>(null);
|
|
21
|
+
const responseListener = useRef<EventSubscription>(null);
|
|
22
22
|
|
|
23
23
|
useEffect(() => {
|
|
24
24
|
notificationListener.current = Notifications.addNotificationReceivedListener(notification => {
|
|
@@ -11,7 +11,7 @@ type BettorVouchProps = {
|
|
|
11
11
|
}
|
|
12
12
|
const BettorVouch = ({ VOUCHED_CALLBACK_URL, first_name, last_name, email, phone }:BettorVouchProps) => {
|
|
13
13
|
const id = 'vouched-container';
|
|
14
|
-
const vouchedRef = useRef();
|
|
14
|
+
const vouchedRef = useRef<any>(null);
|
|
15
15
|
|
|
16
16
|
useEffect(() => {
|
|
17
17
|
// Assuming vouched is included via script tag or otherwise loaded
|
|
@@ -61,7 +61,7 @@ const PostCard = ({ player_id, width, articles, post, player, orders, refresh_ke
|
|
|
61
61
|
my_reactions:[]
|
|
62
62
|
})
|
|
63
63
|
const { my_reactions, my_data_loading } = my_data;
|
|
64
|
-
const post_ref = useRef();
|
|
64
|
+
const post_ref = useRef<any>(null);
|
|
65
65
|
const is_in_viewport = useIsInViewport(post_ref);
|
|
66
66
|
|
|
67
67
|
useEffect(() => {
|