@maestro_io/maestro-web-sdk 4.0.0 → 4.0.1

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.
Files changed (492) hide show
  1. package/dist/maestro-web-sdk.esm.js +2 -2
  2. package/dist/maestro-web-sdk.esm.js.map +1 -1
  3. package/dist/maestro-web-sdk.umd.js +2 -2
  4. package/dist/maestro-web-sdk.umd.js.map +1 -1
  5. package/dist/package.json +92 -0
  6. package/dist/src/components/atoms/BaseButton/BaseButton.d.ts +7 -0
  7. package/dist/src/components/atoms/BaseButton/BaseButton.js +11 -0
  8. package/dist/src/components/atoms/BaseButton/index.d.ts +2 -0
  9. package/dist/src/components/atoms/BaseButton/index.js +2 -0
  10. package/dist/src/components/atoms/Image/index.d.ts +13 -0
  11. package/dist/src/components/atoms/Image/index.js +34 -0
  12. package/dist/src/components/atoms/Rive/index.d.ts +219 -0
  13. package/dist/src/components/atoms/Rive/index.js +53 -0
  14. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.d.ts +3 -0
  15. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.js +9 -0
  16. package/dist/src/components/atoms/SvgIcon/BetsIcon.d.ts +3 -0
  17. package/dist/src/components/atoms/SvgIcon/BetsIcon.js +8 -0
  18. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.d.ts +7 -0
  19. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.js +11 -0
  20. package/dist/src/components/atoms/SvgIcon/ChatIcon.d.ts +3 -0
  21. package/dist/src/components/atoms/SvgIcon/ChatIcon.js +6 -0
  22. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.d.ts +3 -0
  23. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.js +6 -0
  24. package/dist/src/components/atoms/SvgIcon/CollapseIcon.d.ts +3 -0
  25. package/dist/src/components/atoms/SvgIcon/CollapseIcon.js +6 -0
  26. package/dist/src/components/atoms/SvgIcon/ExpandIcon.d.ts +3 -0
  27. package/dist/src/components/atoms/SvgIcon/ExpandIcon.js +6 -0
  28. package/dist/src/components/atoms/SvgIcon/FantasyIcon.d.ts +7 -0
  29. package/dist/src/components/atoms/SvgIcon/FantasyIcon.js +15 -0
  30. package/dist/src/components/atoms/SvgIcon/FlameIcon.d.ts +7 -0
  31. package/dist/src/components/atoms/SvgIcon/FlameIcon.js +11 -0
  32. package/dist/src/components/atoms/SvgIcon/HelloWorldIcon.d.ts +3 -0
  33. package/dist/src/components/atoms/SvgIcon/HelloWorldIcon.js +6 -0
  34. package/dist/src/components/atoms/SvgIcon/Icon.d.ts +39 -0
  35. package/dist/src/components/atoms/SvgIcon/Icon.js +44 -0
  36. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.d.ts +6 -0
  37. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.js +10 -0
  38. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.d.ts +7 -0
  39. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.js +11 -0
  40. package/dist/src/components/atoms/SvgIcon/PlayIcon.d.ts +6 -0
  41. package/dist/src/components/atoms/SvgIcon/PlayIcon.js +8 -0
  42. package/dist/src/components/atoms/SvgIcon/ShopIcon.d.ts +5 -0
  43. package/dist/src/components/atoms/SvgIcon/ShopIcon.js +7 -0
  44. package/dist/src/components/atoms/SvgIcon/ShopifyIcon.d.ts +3 -0
  45. package/dist/src/components/atoms/SvgIcon/ShopifyIcon.js +6 -0
  46. package/dist/src/components/atoms/SvgIcon/StatsIcon.d.ts +6 -0
  47. package/dist/src/components/atoms/SvgIcon/StatsIcon.js +12 -0
  48. package/dist/src/components/atoms/SvgIcon/TimesIcon.d.ts +3 -0
  49. package/dist/src/components/atoms/SvgIcon/TimesIcon.js +6 -0
  50. package/dist/src/components/atoms/SvgIcon/WarningIcon.d.ts +6 -0
  51. package/dist/src/components/atoms/SvgIcon/WarningIcon.js +8 -0
  52. package/dist/src/components/atoms/SvgIcon/index.d.ts +2 -0
  53. package/dist/src/components/atoms/SvgIcon/index.js +2 -0
  54. package/dist/src/components/core/App/App.d.ts +11 -0
  55. package/dist/src/components/core/App/App.js +35 -0
  56. package/dist/src/components/core/App/index.d.ts +2 -0
  57. package/dist/src/components/core/App/index.js +2 -0
  58. package/dist/src/components/core/PanelManager/PanelManager.d.ts +21 -0
  59. package/dist/src/components/core/PanelManager/PanelManager.js +86 -0
  60. package/dist/src/components/core/PanelManager/index.d.ts +2 -0
  61. package/dist/src/components/core/PanelManager/index.js +2 -0
  62. package/dist/src/components/core/ScrollableContainer/FocusableItem.d.ts +6 -0
  63. package/dist/src/components/core/ScrollableContainer/FocusableItem.js +38 -0
  64. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.d.ts +78 -0
  65. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.js +169 -0
  66. package/dist/src/components/core/ScrollableContainer/index.d.ts +2 -0
  67. package/dist/src/components/core/ScrollableContainer/index.js +2 -0
  68. package/dist/src/components/molecules/ActionButton/ActionButton.d.ts +94 -0
  69. package/dist/src/components/molecules/ActionButton/ActionButton.js +10 -0
  70. package/dist/src/components/molecules/ActionButton/index.d.ts +2 -0
  71. package/dist/src/components/molecules/ActionButton/index.js +2 -0
  72. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.d.ts +16 -0
  73. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.js +50 -0
  74. package/dist/src/components/molecules/HeadshotImage/index.d.ts +2 -0
  75. package/dist/src/components/molecules/HeadshotImage/index.js +2 -0
  76. package/dist/src/components/molecules/Overlay/Overlay.d.ts +34 -0
  77. package/dist/src/components/molecules/Overlay/Overlay.js +139 -0
  78. package/dist/src/components/molecules/Overlay/index.d.ts +2 -0
  79. package/dist/src/components/molecules/Overlay/index.js +2 -0
  80. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.d.ts +104 -0
  81. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.js +27 -0
  82. package/dist/src/components/molecules/PanelNavButton/index.d.ts +2 -0
  83. package/dist/src/components/molecules/PanelNavButton/index.js +2 -0
  84. package/dist/src/components/molecules/SegmentButton/SegmentButton.d.ts +9 -0
  85. package/dist/src/components/molecules/SegmentButton/SegmentButton.js +10 -0
  86. package/dist/src/components/molecules/SegmentButton/index.d.ts +2 -0
  87. package/dist/src/components/molecules/SegmentButton/index.js +2 -0
  88. package/dist/src/components/molecules/TabLoadError/TabLoadError.d.ts +94 -0
  89. package/dist/src/components/molecules/TabLoadError/TabLoadError.js +14 -0
  90. package/dist/src/components/molecules/TabLoadError/index.d.ts +2 -0
  91. package/dist/src/components/molecules/TabLoadError/index.js +2 -0
  92. package/dist/src/components/molecules/WatchButton/WatchButton.d.ts +10 -0
  93. package/dist/src/components/molecules/WatchButton/WatchButton.js +15 -0
  94. package/dist/src/components/molecules/WatchButton/index.d.ts +2 -0
  95. package/dist/src/components/molecules/WatchButton/index.js +2 -0
  96. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.d.ts +16 -0
  97. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.js +60 -0
  98. package/dist/src/components/organisms/PanelNavigation/index.d.ts +2 -0
  99. package/dist/src/components/organisms/PanelNavigation/index.js +2 -0
  100. package/dist/src/components/organisms/SegmentController/SegmentController.d.ts +30 -0
  101. package/dist/src/components/organisms/SegmentController/SegmentController.js +76 -0
  102. package/dist/src/components/organisms/SegmentController/index.d.ts +3 -0
  103. package/dist/src/components/organisms/SegmentController/index.js +2 -0
  104. package/dist/src/development/MaestroEventDelegate.d.ts +27 -0
  105. package/dist/src/development/MaestroEventDelegate.js +109 -0
  106. package/dist/src/development/TimeSeek.d.ts +22 -0
  107. package/dist/src/development/TimeSeek.js +218 -0
  108. package/dist/src/development/development.d.ts +1 -0
  109. package/dist/src/development/development.js +36 -0
  110. package/dist/src/external/AxiosNetworkClient.d.ts +28 -0
  111. package/dist/src/external/AxiosNetworkClient.js +110 -0
  112. package/dist/src/external/LocalStorageCacheManager.d.ts +65 -0
  113. package/dist/src/external/LocalStorageCacheManager.js +213 -0
  114. package/dist/src/external/ReactRenderer.d.ts +17 -0
  115. package/dist/src/external/ReactRenderer.js +65 -0
  116. package/dist/src/external/mocks/MockExternalNetworkClient.d.ts +104 -0
  117. package/dist/src/external/mocks/MockExternalNetworkClient.js +187 -0
  118. package/dist/src/external/ports/cacheManager.d.ts +17 -0
  119. package/dist/src/external/ports/cacheManager.js +1 -0
  120. package/dist/src/external/ports/networkClient.d.ts +19 -0
  121. package/dist/src/external/ports/networkClient.js +1 -0
  122. package/dist/src/external/ports/renderer.d.ts +4 -0
  123. package/dist/src/external/ports/renderer.js +1 -0
  124. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.d.ts +8 -0
  125. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.js +7 -0
  126. package/dist/src/external/spatial-navigation/index.d.ts +4 -0
  127. package/dist/src/external/spatial-navigation/index.js +3 -0
  128. package/dist/src/external/spatial-navigation/measureLayout.d.ts +2 -0
  129. package/dist/src/external/spatial-navigation/measureLayout.js +30 -0
  130. package/dist/src/external/spatial-navigation/spatialNavigation.d.ts +155 -0
  131. package/dist/src/external/spatial-navigation/spatialNavigation.js +876 -0
  132. package/dist/src/external/spatial-navigation/utils.d.ts +20 -0
  133. package/dist/src/external/spatial-navigation/utils.js +6 -0
  134. package/dist/src/external/spatial-navigation/visualDebugger.d.ts +17 -0
  135. package/dist/src/external/spatial-navigation/visualDebugger.js +76 -0
  136. package/dist/src/external/spatial-navigation/withFocusable.d.ts +123 -0
  137. package/dist/src/external/spatial-navigation/withFocusable.js +245 -0
  138. package/dist/src/helpers/Observable.d.ts +12 -0
  139. package/dist/src/helpers/Observable.js +37 -0
  140. package/dist/src/helpers/strings.d.ts +2 -0
  141. package/dist/src/helpers/strings.js +14 -0
  142. package/dist/src/helpers/url.d.ts +1 -0
  143. package/dist/src/helpers/url.js +12 -0
  144. package/dist/src/index.d.ts +54 -0
  145. package/dist/src/index.js +165 -0
  146. package/dist/src/interfaces/IMaestroEvent.d.ts +126 -0
  147. package/dist/src/interfaces/IMaestroEvent.js +18 -0
  148. package/dist/src/interfaces/IMaestroEventDelegate.d.ts +74 -0
  149. package/dist/src/interfaces/IMaestroEventDelegate.js +1 -0
  150. package/dist/src/interfaces/IMaestroManager.d.ts +45 -0
  151. package/dist/src/interfaces/IMaestroManager.js +1 -0
  152. package/dist/src/interfaces/IUserSettings.d.ts +44 -0
  153. package/dist/src/interfaces/IUserSettings.js +20 -0
  154. package/dist/src/models/IModel.d.ts +7 -0
  155. package/dist/src/models/IModel.js +1 -0
  156. package/dist/src/models/IPanel.d.ts +15 -0
  157. package/dist/src/models/IPanel.js +40 -0
  158. package/dist/src/models/ITheme.d.ts +77 -0
  159. package/dist/src/models/ITheme.js +20 -0
  160. package/dist/src/models/IWinningBet.d.ts +7 -0
  161. package/dist/src/models/IWinningBet.js +1 -0
  162. package/dist/src/modules/bets/interfaces/IBets.d.ts +192 -0
  163. package/dist/src/modules/bets/interfaces/IBets.js +1 -0
  164. package/dist/src/modules/bets/mocks.d.ts +2 -0
  165. package/dist/src/modules/bets/mocks.js +573 -0
  166. package/dist/src/modules/bets/types/BetsAnalyticsTypes.d.ts +8 -0
  167. package/dist/src/modules/bets/types/BetsAnalyticsTypes.js +1 -0
  168. package/dist/src/modules/bets/view/BetsView.d.ts +28 -0
  169. package/dist/src/modules/bets/view/BetsView.js +143 -0
  170. package/dist/src/modules/bets/view/HotProps/HotPropsView.d.ts +100 -0
  171. package/dist/src/modules/bets/view/HotProps/HotPropsView.js +150 -0
  172. package/dist/src/modules/bets/view/SixPack/SixPackView.d.ts +23 -0
  173. package/dist/src/modules/bets/view/SixPack/SixPackView.js +110 -0
  174. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.d.ts +6 -0
  175. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.js +6 -0
  176. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.d.ts +101 -0
  177. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.js +149 -0
  178. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.d.ts +26 -0
  179. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.js +34 -0
  180. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.d.ts +7 -0
  181. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.js +18 -0
  182. package/dist/src/modules/bets/view/UserBets/Boost/Boost.d.ts +7 -0
  183. package/dist/src/modules/bets/view/UserBets/Boost/Boost.js +6 -0
  184. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.d.ts +6 -0
  185. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.js +9 -0
  186. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.d.ts +8 -0
  187. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.js +13 -0
  188. package/dist/src/modules/bets/view/UserBets/Straight/Straight.d.ts +7 -0
  189. package/dist/src/modules/bets/view/UserBets/Straight/Straight.js +6 -0
  190. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.d.ts +7 -0
  191. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.js +13 -0
  192. package/dist/src/modules/bets/view/UserBets/UserBetsView.d.ts +25 -0
  193. package/dist/src/modules/bets/view/UserBets/UserBetsView.js +107 -0
  194. package/dist/src/modules/bets/view/components/Bet/Bet.d.ts +158 -0
  195. package/dist/src/modules/bets/view/components/Bet/Bet.js +32 -0
  196. package/dist/src/modules/bets/view/components/BetPill/BetPill.d.ts +6 -0
  197. package/dist/src/modules/bets/view/components/BetPill/BetPill.js +6 -0
  198. package/dist/src/modules/bets/view/components/BetsCard/BetsCard.d.ts +10 -0
  199. package/dist/src/modules/bets/view/components/BetsCard/BetsCard.js +15 -0
  200. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.d.ts +16 -0
  201. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.js +20 -0
  202. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.d.ts +8 -0
  203. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.js +14 -0
  204. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.d.ts +10 -0
  205. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.js +16 -0
  206. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.d.ts +18 -0
  207. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.js +78 -0
  208. package/dist/src/modules/bets/view/components/PromoCodeBanner/index.d.ts +1 -0
  209. package/dist/src/modules/bets/view/components/PromoCodeBanner/index.js +1 -0
  210. package/dist/src/modules/bets/view-model/BetsViewModel.d.ts +219 -0
  211. package/dist/src/modules/bets/view-model/BetsViewModel.js +974 -0
  212. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.d.ts +28 -0
  213. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.js +107 -0
  214. package/dist/src/modules/fantasy/components/ExpandedAthleteList/index.d.ts +1 -0
  215. package/dist/src/modules/fantasy/components/ExpandedAthleteList/index.js +1 -0
  216. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.d.ts +102 -0
  217. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.js +20 -0
  218. package/dist/src/modules/fantasy/components/LeagueCard/index.d.ts +2 -0
  219. package/dist/src/modules/fantasy/components/LeagueCard/index.js +2 -0
  220. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.d.ts +99 -0
  221. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.js +29 -0
  222. package/dist/src/modules/fantasy/components/TopPlayerCard/index.d.ts +2 -0
  223. package/dist/src/modules/fantasy/components/TopPlayerCard/index.js +2 -0
  224. package/dist/src/modules/fantasy/mocks.d.ts +7620 -0
  225. package/dist/src/modules/fantasy/mocks.js +3682 -0
  226. package/dist/src/modules/fantasy/types.d.ts +176 -0
  227. package/dist/src/modules/fantasy/types.js +6 -0
  228. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.d.ts +21 -0
  229. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.js +74 -0
  230. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/index.d.ts +2 -0
  231. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/index.js +2 -0
  232. package/dist/src/modules/fantasy/view/FantasyItemView.d.ts +22 -0
  233. package/dist/src/modules/fantasy/view/FantasyItemView.js +74 -0
  234. package/dist/src/modules/fantasy/view/FantasyView.d.ts +27 -0
  235. package/dist/src/modules/fantasy/view/FantasyView.js +133 -0
  236. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.d.ts +23 -0
  237. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.js +95 -0
  238. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.d.ts +98 -0
  239. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.js +13 -0
  240. package/dist/src/modules/fantasy/view/InactiveLeague/index.d.ts +2 -0
  241. package/dist/src/modules/fantasy/view/InactiveLeague/index.js +2 -0
  242. package/dist/src/modules/fantasy/view/LoginView/LoginView.d.ts +94 -0
  243. package/dist/src/modules/fantasy/view/LoginView/LoginView.js +27 -0
  244. package/dist/src/modules/fantasy/view/LoginView/index.d.ts +2 -0
  245. package/dist/src/modules/fantasy/view/LoginView/index.js +2 -0
  246. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.d.ts +95 -0
  247. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.js +25 -0
  248. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/index.d.ts +2 -0
  249. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/index.js +2 -0
  250. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.d.ts +14 -0
  251. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.js +9 -0
  252. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.d.ts +100 -0
  253. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.js +118 -0
  254. package/dist/src/modules/fantasy/view/MatchupPair/index.d.ts +2 -0
  255. package/dist/src/modules/fantasy/view/MatchupPair/index.js +2 -0
  256. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.d.ts +14 -0
  257. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.js +9 -0
  258. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.d.ts +100 -0
  259. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.js +108 -0
  260. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.d.ts +95 -0
  261. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.js +18 -0
  262. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/index.d.ts +2 -0
  263. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/index.js +2 -0
  264. package/dist/src/modules/fantasy/view/MatchupSingle/index.d.ts +2 -0
  265. package/dist/src/modules/fantasy/view/MatchupSingle/index.js +2 -0
  266. package/dist/src/modules/fantasy/view/PromoView/PromoView.d.ts +98 -0
  267. package/dist/src/modules/fantasy/view/PromoView/PromoView.js +12 -0
  268. package/dist/src/modules/fantasy/view/PromoView/index.d.ts +2 -0
  269. package/dist/src/modules/fantasy/view/PromoView/index.js +2 -0
  270. package/dist/src/modules/fantasy/view/index.d.ts +2 -0
  271. package/dist/src/modules/fantasy/view/index.js +2 -0
  272. package/dist/src/modules/fantasy/view-model/FantasyViewModel.FantasyPolling.d.ts +32 -0
  273. package/dist/src/modules/fantasy/view-model/FantasyViewModel.FantasyPolling.js +132 -0
  274. package/dist/src/modules/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.d.ts +32 -0
  275. package/dist/src/modules/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.js +141 -0
  276. package/dist/src/modules/fantasy/view-model/FantasyViewModel.d.ts +148 -0
  277. package/dist/src/modules/fantasy/view-model/FantasyViewModel.js +534 -0
  278. package/dist/src/modules/hello-world/HelloWorldImage.d.ts +2 -0
  279. package/dist/src/modules/hello-world/HelloWorldImage.js +32 -0
  280. package/dist/src/modules/hello-world/HelloWorldView.d.ts +11 -0
  281. package/dist/src/modules/hello-world/HelloWorldView.js +34 -0
  282. package/dist/src/modules/hello-world/index.d.ts +2 -0
  283. package/dist/src/modules/hello-world/index.js +2 -0
  284. package/dist/src/modules/key-plays/constants.d.ts +3 -0
  285. package/dist/src/modules/key-plays/constants.js +292 -0
  286. package/dist/src/modules/key-plays/interfaces/IKeyPlays.d.ts +32 -0
  287. package/dist/src/modules/key-plays/interfaces/IKeyPlays.js +14 -0
  288. package/dist/src/modules/key-plays/interfaces/IKeyPlaysResponse.d.ts +44 -0
  289. package/dist/src/modules/key-plays/interfaces/IKeyPlaysResponse.js +1 -0
  290. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.d.ts +9 -0
  291. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.js +16 -0
  292. package/dist/src/modules/key-plays/view/KeyPlayCardView.d.ts +39 -0
  293. package/dist/src/modules/key-plays/view/KeyPlayCardView.js +139 -0
  294. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.d.ts +13 -0
  295. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.js +65 -0
  296. package/dist/src/modules/key-plays/view/KeyPlaysView.d.ts +37 -0
  297. package/dist/src/modules/key-plays/view/KeyPlaysView.js +151 -0
  298. package/dist/src/modules/key-plays/view-model/KeyPlaysViewModel.d.ts +37 -0
  299. package/dist/src/modules/key-plays/view-model/KeyPlaysViewModel.js +246 -0
  300. package/dist/src/modules/shop/mocks.d.ts +22 -0
  301. package/dist/src/modules/shop/mocks.js +391 -0
  302. package/dist/src/modules/shop/types.d.ts +161 -0
  303. package/dist/src/modules/shop/types.js +7 -0
  304. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.d.ts +9 -0
  305. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.js +60 -0
  306. package/dist/src/modules/shop/view/ProductDetailView/index.d.ts +2 -0
  307. package/dist/src/modules/shop/view/ProductDetailView/index.js +2 -0
  308. package/dist/src/modules/shop/view/ShopView.d.ts +35 -0
  309. package/dist/src/modules/shop/view/ShopView.js +182 -0
  310. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.d.ts +101 -0
  311. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.js +23 -0
  312. package/dist/src/modules/shop/view/components/BrowseCard/index.d.ts +2 -0
  313. package/dist/src/modules/shop/view/components/BrowseCard/index.js +2 -0
  314. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.d.ts +102 -0
  315. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.js +26 -0
  316. package/dist/src/modules/shop/view/components/ProductSummaryCard/index.d.ts +2 -0
  317. package/dist/src/modules/shop/view/components/ProductSummaryCard/index.js +1 -0
  318. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.d.ts +8 -0
  319. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.js +19 -0
  320. package/dist/src/modules/shop/view/components/ShopPromoView/index.d.ts +1 -0
  321. package/dist/src/modules/shop/view/components/ShopPromoView/index.js +1 -0
  322. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.d.ts +23 -0
  323. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.js +61 -0
  324. package/dist/src/modules/shop/view/components/ShopSection/index.d.ts +1 -0
  325. package/dist/src/modules/shop/view/components/ShopSection/index.js +1 -0
  326. package/dist/src/modules/shop/view/index.d.ts +2 -0
  327. package/dist/src/modules/shop/view/index.js +2 -0
  328. package/dist/src/modules/shop/view-model/ShopViewModel.ShopPolling.d.ts +31 -0
  329. package/dist/src/modules/shop/view-model/ShopViewModel.ShopPolling.js +111 -0
  330. package/dist/src/modules/shop/view-model/ShopViewModel.d.ts +77 -0
  331. package/dist/src/modules/shop/view-model/ShopViewModel.js +357 -0
  332. package/dist/src/modules/stats/interfaces/IStats.d.ts +226 -0
  333. package/dist/src/modules/stats/interfaces/IStats.js +1 -0
  334. package/dist/src/modules/stats/mocks.d.ts +2 -0
  335. package/dist/src/modules/stats/mocks.js +746 -0
  336. package/dist/src/modules/stats/utils/driveSummaryUtils.d.ts +18 -0
  337. package/dist/src/modules/stats/utils/driveSummaryUtils.js +48 -0
  338. package/dist/src/modules/stats/utils/renderTeamStatistic.d.ts +20 -0
  339. package/dist/src/modules/stats/utils/renderTeamStatistic.js +16 -0
  340. package/dist/src/modules/stats/utils.d.ts +39 -0
  341. package/dist/src/modules/stats/utils.js +62 -0
  342. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.d.ts +22 -0
  343. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.js +98 -0
  344. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.d.ts +4 -0
  345. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.js +27 -0
  346. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.d.ts +22 -0
  347. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.js +89 -0
  348. package/dist/src/modules/stats/view/ActiveAthletes/index.d.ts +2 -0
  349. package/dist/src/modules/stats/view/ActiveAthletes/index.js +2 -0
  350. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.d.ts +106 -0
  351. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.js +70 -0
  352. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.d.ts +17 -0
  353. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.js +87 -0
  354. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.d.ts +27 -0
  355. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.js +129 -0
  356. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.d.ts +12 -0
  357. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.js +26 -0
  358. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.d.ts +10 -0
  359. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.js +24 -0
  360. package/dist/src/modules/stats/view/DriveSummary/index.d.ts +2 -0
  361. package/dist/src/modules/stats/view/DriveSummary/index.js +2 -0
  362. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.d.ts +21 -0
  363. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.js +48 -0
  364. package/dist/src/modules/stats/view/GameLeaders/index.d.ts +2 -0
  365. package/dist/src/modules/stats/view/GameLeaders/index.js +2 -0
  366. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.d.ts +17 -0
  367. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.js +55 -0
  368. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/index.d.ts +2 -0
  369. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/index.js +1 -0
  370. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.d.ts +98 -0
  371. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.js +60 -0
  372. package/dist/src/modules/stats/view/MatchPredictor/index.d.ts +3 -0
  373. package/dist/src/modules/stats/view/MatchPredictor/index.js +2 -0
  374. package/dist/src/modules/stats/view/Penalties/Penalties.d.ts +9 -0
  375. package/dist/src/modules/stats/view/Penalties/Penalties.js +6 -0
  376. package/dist/src/modules/stats/view/Penalties/index.d.ts +2 -0
  377. package/dist/src/modules/stats/view/Penalties/index.js +2 -0
  378. package/dist/src/modules/stats/view/PlayerSeasonStats/ExpandedPlayerStats.d.ts +16 -0
  379. package/dist/src/modules/stats/view/PlayerSeasonStats/ExpandedPlayerStats.js +66 -0
  380. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsCard.d.ts +97 -0
  381. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsCard.js +23 -0
  382. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsMinified.d.ts +6 -0
  383. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsMinified.js +13 -0
  384. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsView.d.ts +8 -0
  385. package/dist/src/modules/stats/view/PlayerSeasonStats/PlayerSeasonStatsView.js +148 -0
  386. package/dist/src/modules/stats/view/PlayerSeasonStats/index.d.ts +1 -0
  387. package/dist/src/modules/stats/view/PlayerSeasonStats/index.js +1 -0
  388. package/dist/src/modules/stats/view/RecentGames/RecentGames.d.ts +98 -0
  389. package/dist/src/modules/stats/view/RecentGames/RecentGames.js +23 -0
  390. package/dist/src/modules/stats/view/RecentGames/index.d.ts +2 -0
  391. package/dist/src/modules/stats/view/RecentGames/index.js +2 -0
  392. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.d.ts +30 -0
  393. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.js +123 -0
  394. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/index.d.ts +2 -0
  395. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/index.js +2 -0
  396. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.d.ts +98 -0
  397. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.js +62 -0
  398. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/index.d.ts +2 -0
  399. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/index.js +2 -0
  400. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.d.ts +6 -0
  401. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.js +23 -0
  402. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/index.d.ts +2 -0
  403. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/index.js +2 -0
  404. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.d.ts +29 -0
  405. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.js +125 -0
  406. package/dist/src/modules/stats/view/ScoringSummary/index.d.ts +2 -0
  407. package/dist/src/modules/stats/view/ScoringSummary/index.js +2 -0
  408. package/dist/src/modules/stats/view/StatsItemView.d.ts +22 -0
  409. package/dist/src/modules/stats/view/StatsItemView.js +92 -0
  410. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.d.ts +98 -0
  411. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.js +36 -0
  412. package/dist/src/modules/stats/view/StatsQRCode/index.d.ts +2 -0
  413. package/dist/src/modules/stats/view/StatsQRCode/index.js +1 -0
  414. package/dist/src/modules/stats/view/StatsView.d.ts +27 -0
  415. package/dist/src/modules/stats/view/StatsView.js +137 -0
  416. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.d.ts +98 -0
  417. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.js +43 -0
  418. package/dist/src/modules/stats/view/TeamStats/index.d.ts +2 -0
  419. package/dist/src/modules/stats/view/TeamStats/index.js +1 -0
  420. package/dist/src/modules/stats/view/Teams/StatsCarousel.d.ts +25 -0
  421. package/dist/src/modules/stats/view/Teams/StatsCarousel.js +83 -0
  422. package/dist/src/modules/stats/view/Teams/StatsProgressBar.d.ts +6 -0
  423. package/dist/src/modules/stats/view/Teams/StatsProgressBar.js +19 -0
  424. package/dist/src/modules/stats/view/Teams/Teams.d.ts +98 -0
  425. package/dist/src/modules/stats/view/Teams/Teams.js +43 -0
  426. package/dist/src/modules/stats/view/Teams/index.d.ts +2 -0
  427. package/dist/src/modules/stats/view/Teams/index.js +2 -0
  428. package/dist/src/modules/stats/view/WinProbability/WinProbability.d.ts +98 -0
  429. package/dist/src/modules/stats/view/WinProbability/WinProbability.js +28 -0
  430. package/dist/src/modules/stats/view/WinProbability/index.d.ts +2 -0
  431. package/dist/src/modules/stats/view/WinProbability/index.js +2 -0
  432. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.d.ts +113 -0
  433. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.js +89 -0
  434. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.d.ts +3 -0
  435. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.js +12 -0
  436. package/dist/src/modules/stats/view/components/AthletesStatistics/index.d.ts +2 -0
  437. package/dist/src/modules/stats/view/components/AthletesStatistics/index.js +2 -0
  438. package/dist/src/modules/stats/view/index.d.ts +2 -0
  439. package/dist/src/modules/stats/view/index.js +2 -0
  440. package/dist/src/modules/stats/view-model/StatsViewModel.d.ts +241 -0
  441. package/dist/src/modules/stats/view-model/StatsViewModel.js +989 -0
  442. package/dist/src/sentry.d.ts +3 -0
  443. package/dist/src/sentry.js +31 -0
  444. package/dist/src/services/AnalyticsService/AnalyticsService.d.ts +84 -0
  445. package/dist/src/services/AnalyticsService/AnalyticsService.js +404 -0
  446. package/dist/src/services/AnalyticsService/types.d.ts +65 -0
  447. package/dist/src/services/AnalyticsService/types.js +1 -0
  448. package/dist/src/services/BetsService.d.ts +81 -0
  449. package/dist/src/services/BetsService.js +122 -0
  450. package/dist/src/services/FantasyService.d.ts +53 -0
  451. package/dist/src/services/FantasyService.js +92 -0
  452. package/dist/src/services/InsightsService/InsightsPayloadBuilder.d.ts +279 -0
  453. package/dist/src/services/InsightsService/InsightsPayloadBuilder.js +386 -0
  454. package/dist/src/services/InsightsService/InsightsService.d.ts +11 -0
  455. package/dist/src/services/InsightsService/InsightsService.js +74 -0
  456. package/dist/src/services/NetworkManager/NetworkManager.d.ts +147 -0
  457. package/dist/src/services/NetworkManager/NetworkManager.js +457 -0
  458. package/dist/src/services/NetworkManager/NetworkManagerFactory.d.ts +42 -0
  459. package/dist/src/services/NetworkManager/NetworkManagerFactory.js +101 -0
  460. package/dist/src/services/NetworkManager/errors.d.ts +17 -0
  461. package/dist/src/services/NetworkManager/errors.js +45 -0
  462. package/dist/src/services/NetworkManager/types.d.ts +103 -0
  463. package/dist/src/services/NetworkManager/types.js +10 -0
  464. package/dist/src/services/ShopService.d.ts +23 -0
  465. package/dist/src/services/ShopService.js +46 -0
  466. package/dist/src/services/StaticService/StaticService.d.ts +12 -0
  467. package/dist/src/services/StaticService/StaticService.js +59 -0
  468. package/dist/src/services/StaticService/index.d.ts +2 -0
  469. package/dist/src/services/StaticService/index.js +2 -0
  470. package/dist/src/services/StaticService/mocks.d.ts +2 -0
  471. package/dist/src/services/StaticService/mocks.js +104 -0
  472. package/dist/src/services/StaticService/types.d.ts +76 -0
  473. package/dist/src/services/StaticService/types.js +1 -0
  474. package/dist/src/services/StatsService.d.ts +46 -0
  475. package/dist/src/services/StatsService.js +147 -0
  476. package/dist/src/services/ThemeManager/constants.d.ts +2 -0
  477. package/dist/src/services/ThemeManager/constants.js +47 -0
  478. package/dist/src/services/UserSettingsManager.d.ts +63 -0
  479. package/dist/src/services/UserSettingsManager.js +155 -0
  480. package/dist/src/test-polyfills.d.ts +1 -0
  481. package/dist/src/test-polyfills.js +15 -0
  482. package/dist/src/types/OverlayTypes.d.ts +43 -0
  483. package/dist/src/types/OverlayTypes.js +4 -0
  484. package/dist/src/view-models/MaestroEventViewModel.d.ts +63 -0
  485. package/dist/src/view-models/MaestroEventViewModel.js +304 -0
  486. package/dist/src/view-models/OverlayViewModel.d.ts +33 -0
  487. package/dist/src/view-models/OverlayViewModel.js +222 -0
  488. package/dist/src/view-models/PanelManagerViewModel.d.ts +46 -0
  489. package/dist/src/view-models/PanelManagerViewModel.js +212 -0
  490. package/dist/src/view-models/ViewModel.d.ts +12 -0
  491. package/dist/src/view-models/ViewModel.js +32 -0
  492. package/package.json +1 -1
@@ -0,0 +1,98 @@
1
+ /// <reference types="prop-types" />
2
+ import React from 'react';
3
+ import { WithFocusableProps } from '@/external/spatial-navigation';
4
+ import './InactiveLeague.styles.css';
5
+ import { InactiveLeague } from '../../view-model/FantasyViewModel';
6
+ type Props = {
7
+ item: InactiveLeague;
8
+ };
9
+ declare const _default: {
10
+ new (props: (Props & WithFocusableProps) | Readonly<Props & WithFocusableProps>): {
11
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
12
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
13
+ getChildContext(): {
14
+ parentFocusKey: string;
15
+ };
16
+ setFocus: (focusKey: string) => void;
17
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
18
+ stealFocus: () => void;
19
+ onUpdateFocus: (focused: boolean) => void;
20
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
21
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
22
+ onEnterReleaseHandler: () => void;
23
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
24
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
25
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
26
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
27
+ componentDidMount(): void;
28
+ componentDidUpdate(): void;
29
+ componentWillUnmount(): void;
30
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
31
+ context: any;
32
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
33
+ forceUpdate(callback?: (() => void) | undefined): void;
34
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
35
+ children?: React.ReactNode;
36
+ }>;
37
+ refs: {
38
+ [key: string]: React.ReactInstance;
39
+ };
40
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
41
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
42
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
43
+ componentWillMount?(): void;
44
+ UNSAFE_componentWillMount?(): void;
45
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
46
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
47
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
48
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
49
+ };
50
+ new (props: Props & WithFocusableProps, context: any): {
51
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
52
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
53
+ getChildContext(): {
54
+ parentFocusKey: string;
55
+ };
56
+ setFocus: (focusKey: string) => void;
57
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
58
+ stealFocus: () => void;
59
+ onUpdateFocus: (focused: boolean) => void;
60
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
61
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
62
+ onEnterReleaseHandler: () => void;
63
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
64
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
65
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
66
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
67
+ componentDidMount(): void;
68
+ componentDidUpdate(): void;
69
+ componentWillUnmount(): void;
70
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
71
+ context: any;
72
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
73
+ forceUpdate(callback?: (() => void) | undefined): void;
74
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
75
+ children?: React.ReactNode;
76
+ }>;
77
+ refs: {
78
+ [key: string]: React.ReactInstance;
79
+ };
80
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
81
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
82
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
83
+ componentWillMount?(): void;
84
+ UNSAFE_componentWillMount?(): void;
85
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
86
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
87
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
88
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
89
+ };
90
+ contextTypes: {
91
+ parentFocusKey: import("prop-types").Requireable<string>;
92
+ };
93
+ childContextTypes: {
94
+ parentFocusKey: import("prop-types").Requireable<string>;
95
+ };
96
+ contextType?: React.Context<any> | undefined;
97
+ };
98
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { withFocusable, } from '@/external/spatial-navigation';
3
+ import './InactiveLeague.styles.css';
4
+ import LeagueCard from '../../components/LeagueCard';
5
+ import DraftDateCountDown from './DraftDateCountdown';
6
+ class InactiveLeagueView extends React.Component {
7
+ render() {
8
+ return (React.createElement(LeagueCard, { leagueColor: this.props.item.leagueColor, leagueLogo: this.props.item.leagueLogo, renderTitle: () => React.createElement("span", null, this.props.item.leagueName), shouldExpand: false, expanded: false, ...this.props },
9
+ !this.props.item.draftDate ? (React.createElement("div", { className: "T30 FONT_BOLD" }, "Draft Date not set")) : (React.createElement(DraftDateCountDown, { draftDate: this.props.item.draftDate })),
10
+ React.createElement("div", { className: "description T10" }, "You can try a Mock Draft in the ESPN Fantasy App before Draft Day starts.")));
11
+ }
12
+ }
13
+ export default withFocusable()(InactiveLeagueView);
@@ -0,0 +1,2 @@
1
+ import InactiveLeague from './InactiveLeague';
2
+ export default InactiveLeague;
@@ -0,0 +1,2 @@
1
+ import InactiveLeague from './InactiveLeague';
2
+ export default InactiveLeague;
@@ -0,0 +1,94 @@
1
+ /// <reference types="prop-types" />
2
+ import { WithFocusableProps } from '@/external/spatial-navigation';
3
+ import React from 'react';
4
+ import './LoginView.styles.css';
5
+ declare const _default: {
6
+ new (props: (object & WithFocusableProps) | Readonly<object & WithFocusableProps>): {
7
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
8
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
9
+ getChildContext(): {
10
+ parentFocusKey: string;
11
+ };
12
+ setFocus: (focusKey: string) => void;
13
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
14
+ stealFocus: () => void;
15
+ onUpdateFocus: (focused: boolean) => void;
16
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
17
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
18
+ onEnterReleaseHandler: () => void;
19
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
20
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
21
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
22
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
23
+ componentDidMount(): void;
24
+ componentDidUpdate(): void;
25
+ componentWillUnmount(): void;
26
+ render(): React.ReactElement<object & WithFocusableProps, string | React.JSXElementConstructor<any>>;
27
+ context: any;
28
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<object & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
29
+ forceUpdate(callback?: (() => void) | undefined): void;
30
+ readonly props: Readonly<object & WithFocusableProps> & Readonly<{
31
+ children?: React.ReactNode;
32
+ }>;
33
+ refs: {
34
+ [key: string]: React.ReactInstance;
35
+ };
36
+ shouldComponentUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
37
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
38
+ getSnapshotBeforeUpdate?(prevProps: Readonly<object & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
39
+ componentWillMount?(): void;
40
+ UNSAFE_componentWillMount?(): void;
41
+ componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
42
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
43
+ componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
44
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
45
+ };
46
+ new (props: object & WithFocusableProps, context: any): {
47
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
48
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
49
+ getChildContext(): {
50
+ parentFocusKey: string;
51
+ };
52
+ setFocus: (focusKey: string) => void;
53
+ navigateByDirection: (direction: import("../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
54
+ stealFocus: () => void;
55
+ onUpdateFocus: (focused: boolean) => void;
56
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
57
+ onEnterPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
58
+ onEnterReleaseHandler: () => void;
59
+ onBackPressHandler: (details: import("../../../../external/spatial-navigation/utils").Details) => void;
60
+ onArrowPressHandler: (direction: import("../../../../external/spatial-navigation/utils").Direction, details: import("../../../../external/spatial-navigation/utils").Details) => boolean | void;
61
+ onBecameFocusedHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
62
+ onBecameBlurredHandler: (layout: import("../../../../external/spatial-navigation/utils").Layout, details: import("../../../../external/spatial-navigation/utils").Details) => void;
63
+ componentDidMount(): void;
64
+ componentDidUpdate(): void;
65
+ componentWillUnmount(): void;
66
+ render(): React.ReactElement<object & WithFocusableProps, string | React.JSXElementConstructor<any>>;
67
+ context: any;
68
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<object & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
69
+ forceUpdate(callback?: (() => void) | undefined): void;
70
+ readonly props: Readonly<object & WithFocusableProps> & Readonly<{
71
+ children?: React.ReactNode;
72
+ }>;
73
+ refs: {
74
+ [key: string]: React.ReactInstance;
75
+ };
76
+ shouldComponentUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
77
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
78
+ getSnapshotBeforeUpdate?(prevProps: Readonly<object & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
79
+ componentWillMount?(): void;
80
+ UNSAFE_componentWillMount?(): void;
81
+ componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
82
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
83
+ componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
84
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
85
+ };
86
+ contextTypes: {
87
+ parentFocusKey: import("prop-types").Requireable<string>;
88
+ };
89
+ childContextTypes: {
90
+ parentFocusKey: import("prop-types").Requireable<string>;
91
+ };
92
+ contextType?: React.Context<any> | undefined;
93
+ };
94
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { withFocusable, } from '@/external/spatial-navigation';
2
+ import React from 'react';
3
+ import './LoginView.styles.css';
4
+ import ActionButton from '@/components/molecules/ActionButton';
5
+ class LoginView extends React.Component {
6
+ render() {
7
+ const { focused } = this.props;
8
+ return (React.createElement("div", { "data-focused": focused, className: "login-view focus-ring" },
9
+ React.createElement("svg", { width: "169", height: "71", viewBox: "0 0 169 71", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
10
+ React.createElement("path", { d: "M96.4307 35.0936C96.3936 33.803 95.1664 31.735 94.3102 31.763C93.6302 31.7847 93.0398 32.2574 92.7987 34.4747C92.5576 36.692 92.4711 40.2372 92.4093 42.0875C92.3443 43.9378 92.4556 47.6354 92.5793 48.9384C92.7029 50.2414 93.3891 51.1215 94.8604 51.0779C96.3318 51.0344 96.6409 50.6083 96.7676 49.7469C96.8943 48.8855 96.9562 47.0227 96.8665 45.0791C96.7769 43.1355 96.4709 36.3872 96.4307 35.0936Z", fill: "#F1F2F4" }),
11
+ React.createElement("path", { d: "M55.8486 11.8354C52.9709 11.4062 49.5615 11.1606 47.5554 11.2196C42.14 11.3814 38.8913 12.6222 38.2236 12.8772C37.2469 13.2503 35.6488 15.5454 35.6704 16.2793C35.7014 17.2869 36.9347 18.0052 38.5729 17.9555C39.4693 17.9275 40.9314 17.8342 40.9128 17.1531C40.8912 16.4721 38.3504 16.3384 38.3411 15.9932C38.3256 15.477 41.4692 14.911 46.7085 14.7555C60.0092 14.3574 84.8363 25.9632 85.2103 38.5983C85.4761 47.6416 73.5108 49.5634 68.2746 49.7189C66.049 49.7842 63.7771 49.5323 61.5732 49.0627C61.533 46.2795 61.4527 42.9427 61.4156 41.6521C61.3754 40.3087 61.397 38.3091 61.4032 36.6515C66.2623 36.6826 74.1475 37.5254 74.2031 39.4472C74.2402 40.7223 71.3965 40.9057 71.4181 41.6956C71.4305 42.1061 72.9791 42.8649 74.3021 42.8245C75.625 42.7841 78.1442 41.3193 78.0607 38.4552C77.9526 34.7608 72.0085 31.6386 62.0894 31.9371L61.5547 31.9558C61.5485 31.34 61.5083 27.8881 61.091 25.9943C60.6335 23.9107 59.425 22.5486 58.8408 22.5642C57.388 22.6077 56.9212 29.6576 56.8223 32.4253C49.7531 33.5293 43.7102 36.3188 43.8091 39.6618C43.8771 41.9071 48.6033 47.598 56.4514 51.0996C56.6925 53.2765 57.3323 55.9509 58.9737 55.9012C61.6567 55.8203 61.5145 54.8127 61.5794 52.9095C64.4788 53.6746 67.6625 54.1006 71.0874 53.998C84.0851 53.6092 90.7432 46.3354 90.5145 38.5827C90.1776 27.1853 72.5958 14.3357 55.8456 11.8385L55.8486 11.8354ZM56.3927 47.542C50.2384 45.247 45.5524 41.7267 45.4968 39.8951C45.4443 38.1442 51.8056 37.2144 56.7759 36.8412C56.7481 39.8173 56.677 43.7916 56.3927 47.542Z", fill: "#F1F2F4" }),
12
+ React.createElement("path", { d: "M106.529 19.8276C106.479 18.167 105.41 16.5592 102.823 16.5996C102.579 15.987 101.759 14.7493 98.8384 14.8364C92.474 15.0261 87.5778 19.7685 87.686 23.5065C87.7231 24.7224 88.3042 25.786 89.1604 26.6567C88.9379 27.2662 88.9163 27.6767 88.9224 27.91C88.941 28.5599 89.9116 30.2734 90.6596 30.2516C91.2902 30.233 91.7198 29.639 92.3287 28.675C93.3673 29.0793 94.3997 29.2845 95.2219 29.2596C101.206 29.0793 106.637 23.4381 106.529 19.8276ZM92.712 21.2985C91.8558 22.2657 91.1758 23.1178 90.675 23.861C90.5854 23.7086 90.4989 23.4692 90.4865 23.0929C90.4618 22.2657 91.8805 19.0968 95.4507 18.8356C94.5419 19.4638 93.6208 20.2661 92.712 21.2954V21.2985ZM102.282 19.2585C103.438 19.2243 103.741 19.9427 103.766 20.7388C103.803 21.9765 101.574 25.5932 96.5542 25.7424C95.4538 25.7767 94.5265 25.6927 93.7846 25.5683C94.5203 24.5203 98.3408 19.3767 102.279 19.2585H102.282Z", fill: "#F1F2F4" }),
13
+ React.createElement("path", { d: "M109.836 31.4144C106.331 31.5202 99.8091 32.6366 98.8756 35.8428C98.4305 37.3759 98.2481 39.2293 99.5371 40.0503C100.826 40.8713 104.6 40.8526 107.116 40.9833C109.632 41.1139 113.981 41.8105 114.025 43.241C114.056 44.3201 112.22 46.329 106.158 46.5125C99.3547 46.7146 101.259 43.8132 102.619 43.7727C105.002 43.7012 104.798 45.3929 108.934 45.2686C109.849 45.2406 111.92 44.7181 111.889 43.7012C111.852 42.448 107.16 41.3471 104.127 41.4373C101.098 41.5275 99.2929 43.0917 99.3454 44.855C99.4042 46.839 102.189 50.7449 108.946 50.5428C111.187 50.4775 114.111 49.3579 114.983 48.9474C115.669 48.624 117.19 47.7688 117.072 43.7199C116.921 38.5918 111.861 38.4737 108.711 38.2808C105.645 38.0943 102.304 37.9325 102.282 37.2017C102.242 35.821 113.366 35.3452 115.57 35.1213C117.44 34.9316 117.783 33.554 117.765 32.8947C117.731 31.7689 113.342 31.3118 109.836 31.4144Z", fill: "#F1F2F4" }),
14
+ React.createElement("path", { d: "M128.348 28.6526C126.596 28.7055 128.46 31.9241 129.656 38.1655C130.184 40.9238 130.806 43.4241 129.971 43.449C129.134 43.4739 124.172 32.6736 121.802 32.742C118.881 32.829 117.904 43.0292 117.99 46.0301C118.08 49.0311 118.772 50.5518 120.349 50.5051C121.391 50.474 122.04 49.4696 122.157 47.5912C122.275 45.7129 122.312 39.4809 122.754 39.4685C123.576 39.4436 127.189 49.5224 130.364 49.4291C133.711 49.3296 134.231 44.4659 134.119 40.7497C133.884 32.7482 129.637 28.6153 128.342 28.6526H128.348Z", fill: "#F1F2F4" }),
15
+ React.createElement("path", { d: "M147.099 44.6214C145.788 44.6619 142.598 45.2652 141.423 45.601C140.249 45.9369 139.337 46.139 139.628 45.2247C139.859 44.497 140.369 42.768 140.567 42.0963L146.558 41.9159C147.726 41.8817 147.788 41.2908 147.887 39.8261C147.986 38.3614 146.997 38.548 145.875 38.5822C145.875 38.5822 143.89 38.6631 141.77 38.7688L142.719 36.225C144.898 36.1441 147.17 35.9047 148.576 35.8643C151.324 35.7834 151.587 35.0744 151.577 34.7883C151.568 34.5022 151.293 33.7651 150.57 32.7202C149.843 31.6785 149.197 31.2369 146.925 31.3022C144.811 31.3644 135.668 32.1138 135.705 33.3702C135.72 33.9424 136.527 35.2174 137.56 35.715C137.94 35.8985 138.431 36.0229 139 36.1068L137.597 39.0176C137.396 39.0331 137.226 39.0518 137.09 39.0673C135.39 39.2601 135.85 40.3921 136.039 41.4183C136.122 41.8724 136.231 42.0807 136.37 42.1709C135.792 43.7476 135.186 45.7783 135.232 47.2927C135.316 50.1507 137.782 51.746 139.597 51.69C143.828 51.5625 147.881 48.12 148.632 47.3985C149.383 46.677 148.406 44.5779 147.095 44.6152L147.099 44.6214Z", fill: "#F1F2F4" }),
16
+ React.createElement("path", { d: "M168.995 38.2405C168.897 34.8788 167.617 32.4936 165.475 32.5558C162.341 32.6491 157.837 37.4164 154.217 43.3966C153.893 40.9678 155.797 37.233 157.42 34.6176C158.56 32.7828 158.359 30.5998 157.886 30.6153C157.222 30.634 150.805 36.1041 151.024 43.6049C151.068 45.0603 151.445 46.2856 152.072 47.2838C149.618 52.1538 147.967 57.316 148.082 61.2033C148.211 65.5818 150.882 67.2145 151.695 67.1896C152.508 67.1647 152.548 65.8711 152.693 64.9039C153.519 59.4369 154.944 54.5918 156.57 50.5211C157.213 50.6828 157.849 50.7606 158.44 50.7419C163.416 50.5926 169.184 44.6094 168.995 38.2405ZM158.712 45.7662C161.707 39.8701 164.798 36.5115 165.886 36.4773C167.771 36.4213 166.176 44.995 158.712 45.7662Z", fill: "#F1F2F4" }),
17
+ React.createElement("path", { d: "M40.6716 34.2326C40.3285 33.9247 39.9266 33.7661 39.4753 33.7661C39.1662 33.7661 38.8695 33.8501 38.5975 34.018C38.3193 34.189 38.106 34.4565 37.9669 34.8079L33.2191 45.4434C33.1851 45.518 33.1233 45.6549 33.0615 45.7855C33.0213 45.6549 32.978 45.5242 32.9502 45.4527C32.9131 45.3532 32.7771 45.0702 32.7771 45.0702L28.1653 34.7737C27.8562 34.1051 27.3369 33.7661 26.6229 33.7661C25.7419 33.7443 24.7435 34.4627 24.7744 35.3956C24.7744 35.6382 24.8239 35.8434 24.9197 36.0518L31.1821 49.4364C30.7896 50.2729 30.4001 51.1094 30.0075 51.946C29.3832 53.2832 28.7588 54.6173 28.1313 55.9545C27.8562 56.5391 27.5718 57.0958 27.578 57.7271C27.5625 58.6165 28.2117 59.369 29.1266 59.3473C30.1776 59.3473 30.7154 58.1003 30.7154 58.1003L41.0487 36.0487C41.1445 35.8341 41.194 35.6009 41.194 35.3614C41.194 34.9261 41.0178 34.5436 40.6685 34.2295L40.6716 34.2326Z", fill: "#F1F2F4" }),
18
+ React.createElement("path", { d: "M21.8504 27.8349C21.5166 27.4866 21.0839 27.3125 20.5646 27.3125C19.832 27.3125 19.2385 27.7385 18.7996 28.5751L11.4832 42.6531C11.4832 42.6531 11.3502 42.8926 11.3131 42.9796C11.2761 43.0667 11.2142 43.2067 11.1771 43.2937C11.14 43.2098 11.0751 43.0667 11.0411 42.9796C11.0071 42.8957 10.8711 42.6531 10.8711 42.6531L3.55159 28.5751C3.11266 27.7354 2.51609 27.3125 1.78661 27.3125C1.26732 27.3125 0.834576 27.4898 0.500746 27.8349C0.170006 28.1801 0 28.6311 0 29.1722V49.3143C0 49.8336 0.15146 50.2597 0.448198 50.5831C0.748028 50.9096 1.15604 51.0744 1.6537 51.0744C2.15135 51.0744 2.5841 50.9127 2.87465 50.5986C3.16212 50.2877 3.30739 49.8523 3.30739 49.3112V35.0124L3.30121 34.7138L3.45576 35.087L9.43999 46.3662C9.87891 47.181 10.4631 47.5946 11.174 47.5946C11.885 47.5946 12.4692 47.181 12.9081 46.3662L18.8923 35.087L19.0469 34.7138L19.0407 35.0124V49.3112C19.0407 49.8523 19.186 50.2846 19.4734 50.5986C19.764 50.9158 20.1751 51.0744 20.6944 51.0744C21.2137 51.0744 21.6001 50.9096 21.8999 50.5831C22.1966 50.2597 22.3481 49.8336 22.3481 49.3143V29.1722C22.3481 28.6311 22.1812 28.1801 21.8474 27.8349H21.8504Z", fill: "#F1F2F4" })),
19
+ React.createElement("p", { className: "T10" },
20
+ "Log into your MyDisney account.",
21
+ React.createElement("br", null),
22
+ " ",
23
+ "If you don't have one, you will be prompted to create one."),
24
+ React.createElement(ActionButton, { "data-focused": focused, onEnterPress: this.props.onEnterPress }, "Login")));
25
+ }
26
+ }
27
+ export default withFocusable()(LoginView);
@@ -0,0 +1,2 @@
1
+ import LoginView from './LoginView';
2
+ export default LoginView;
@@ -0,0 +1,2 @@
1
+ import LoginView from './LoginView';
2
+ export default LoginView;
@@ -0,0 +1,95 @@
1
+ /// <reference types="prop-types" />
2
+ import { WithFocusableProps } from '@/external/spatial-navigation';
3
+ import React from 'react';
4
+ import './DoubleAthleteCard.styles.css';
5
+ import { MatchupPairRoster } from '@/modules/fantasy/view-model/FantasyViewModel';
6
+ declare const _default: {
7
+ new (props: (MatchupPairRoster & WithFocusableProps) | Readonly<MatchupPairRoster & WithFocusableProps>): {
8
+ state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState;
9
+ navigation: import("../../../../../external/spatial-navigation/spatialNavigation").default;
10
+ getChildContext(): {
11
+ parentFocusKey: string;
12
+ };
13
+ setFocus: (focusKey: string) => void;
14
+ navigateByDirection: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
15
+ stealFocus: () => void;
16
+ onUpdateFocus: (focused: boolean) => void;
17
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
18
+ onEnterPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
19
+ onEnterReleaseHandler: () => void;
20
+ onBackPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
21
+ onArrowPressHandler: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details: import("../../../../../external/spatial-navigation/utils").Details) => boolean | void;
22
+ onBecameFocusedHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
23
+ onBecameBlurredHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
24
+ componentDidMount(): void;
25
+ componentDidUpdate(): void;
26
+ componentWillUnmount(): void;
27
+ render(): React.ReactElement<MatchupPairRoster & WithFocusableProps, string | React.JSXElementConstructor<any>>;
28
+ context: any;
29
+ setState<K extends keyof import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<MatchupPairRoster & WithFocusableProps>) => import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
30
+ forceUpdate(callback?: (() => void) | undefined): void;
31
+ readonly props: Readonly<MatchupPairRoster & WithFocusableProps> & Readonly<{
32
+ children?: React.ReactNode;
33
+ }>;
34
+ refs: {
35
+ [key: string]: React.ReactInstance;
36
+ };
37
+ shouldComponentUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
38
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
39
+ getSnapshotBeforeUpdate?(prevProps: Readonly<MatchupPairRoster & WithFocusableProps>, prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
40
+ componentWillMount?(): void;
41
+ UNSAFE_componentWillMount?(): void;
42
+ componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
43
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
44
+ componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
45
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
46
+ };
47
+ new (props: MatchupPairRoster & WithFocusableProps, context: any): {
48
+ state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState;
49
+ navigation: import("../../../../../external/spatial-navigation/spatialNavigation").default;
50
+ getChildContext(): {
51
+ parentFocusKey: string;
52
+ };
53
+ setFocus: (focusKey: string) => void;
54
+ navigateByDirection: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
55
+ stealFocus: () => void;
56
+ onUpdateFocus: (focused: boolean) => void;
57
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
58
+ onEnterPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
59
+ onEnterReleaseHandler: () => void;
60
+ onBackPressHandler: (details: import("../../../../../external/spatial-navigation/utils").Details) => void;
61
+ onArrowPressHandler: (direction: import("../../../../../external/spatial-navigation/utils").Direction, details: import("../../../../../external/spatial-navigation/utils").Details) => boolean | void;
62
+ onBecameFocusedHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
63
+ onBecameBlurredHandler: (layout: import("../../../../../external/spatial-navigation/utils").Layout, details: import("../../../../../external/spatial-navigation/utils").Details) => void;
64
+ componentDidMount(): void;
65
+ componentDidUpdate(): void;
66
+ componentWillUnmount(): void;
67
+ render(): React.ReactElement<MatchupPairRoster & WithFocusableProps, string | React.JSXElementConstructor<any>>;
68
+ context: any;
69
+ setState<K extends keyof import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<MatchupPairRoster & WithFocusableProps>) => import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
70
+ forceUpdate(callback?: (() => void) | undefined): void;
71
+ readonly props: Readonly<MatchupPairRoster & WithFocusableProps> & Readonly<{
72
+ children?: React.ReactNode;
73
+ }>;
74
+ refs: {
75
+ [key: string]: React.ReactInstance;
76
+ };
77
+ shouldComponentUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
78
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
79
+ getSnapshotBeforeUpdate?(prevProps: Readonly<MatchupPairRoster & WithFocusableProps>, prevState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
80
+ componentWillMount?(): void;
81
+ UNSAFE_componentWillMount?(): void;
82
+ componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
83
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextContext: any): void;
84
+ componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
85
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<MatchupPairRoster & WithFocusableProps>, nextState: Readonly<import("../../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
86
+ };
87
+ contextTypes: {
88
+ parentFocusKey: import("prop-types").Requireable<string>;
89
+ };
90
+ childContextTypes: {
91
+ parentFocusKey: import("prop-types").Requireable<string>;
92
+ };
93
+ contextType?: React.Context<any> | undefined;
94
+ };
95
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { withFocusable, } from '@/external/spatial-navigation';
2
+ import React from 'react';
3
+ import './DoubleAthleteCard.styles.css';
4
+ import HeadshotImage from '@/components/molecules/HeadshotImage';
5
+ const DoubleAthleteCard = (props) => {
6
+ return (React.createElement("div", { className: "double-athlete-card focus-ring", "data-focused": props.focused },
7
+ [props.away, props.home].map((at, i) => (React.createElement("div", { className: "athlete-column", key: at.triCode + at.slot + i },
8
+ React.createElement("div", { className: "athlete-image-wrapper" },
9
+ React.createElement(HeadshotImage, { src: at.headshot, alt: `Athlete Headshot of ${at.abbrevName}`, className: "athlete-image" })),
10
+ React.createElement("div", { className: "athlete-info" },
11
+ React.createElement("div", { className: "athlete-name FONT_BOLD T05_ALT" },
12
+ at.abbrevName,
13
+ " ",
14
+ React.createElement("span", { className: "TEXT_200" }, at.triCode)),
15
+ React.createElement("div", { className: "athlete-stats-wrapper" },
16
+ React.createElement("div", { className: "athlete-points T30 FONT_BOLD" },
17
+ at.points?.toFixed(1),
18
+ !!at.projectedPoints && (React.createElement("div", { className: "athlete-projected-points T02 TEXT_200" },
19
+ "Proj ",
20
+ at.projectedPoints))),
21
+ at.stats.map((stat, i) => (React.createElement("div", { key: stat + i, className: "athlete-stats TEXT_200" }, stat)))))))),
22
+ React.createElement("div", { className: "athlete-position-badge FONT_BOLD" },
23
+ React.createElement("span", null, props.away.slot))));
24
+ };
25
+ export default withFocusable()(DoubleAthleteCard);
@@ -0,0 +1,2 @@
1
+ import DoubleAthleteCard from './DoubleAthleteCard';
2
+ export default DoubleAthleteCard;
@@ -0,0 +1,2 @@
1
+ import DoubleAthleteCard from './DoubleAthleteCard';
2
+ export default DoubleAthleteCard;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { Direction } from '@/external/spatial-navigation/utils';
3
+ import { MatchupPairRoster, TopPlayer } from '../../view-model/FantasyViewModel';
4
+ type Props = {
5
+ items: MatchupPairRoster[];
6
+ topPlayers: TopPlayer[];
7
+ focusKey: string;
8
+ onArrowPress: (index: number) => (d: Direction) => boolean;
9
+ onBackPress: () => void;
10
+ };
11
+ declare class ExpandedDoubleAthleteCards extends React.Component<Props> {
12
+ render(): JSX.Element;
13
+ }
14
+ export default ExpandedDoubleAthleteCards;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import DoubleAthleteCard from './DoubleAthleteCard/DoubleAthleteCard';
3
+ import ExpandedAthletesList from '../../components/ExpandedAthleteList';
4
+ class ExpandedDoubleAthleteCards extends React.Component {
5
+ render() {
6
+ return (React.createElement(ExpandedAthletesList, { items: this.props.items, topPlayers: this.props.topPlayers, focusKey: this.props.focusKey, className: "matchup-pair-expanded-athletes-list", onArrowPress: this.props.onArrowPress, onBackPress: this.props.onBackPress, getItemKey: (item, i) => item.away.abbrevName + item.home.abbrevName + i, renderItem: (item, i, onArrowPress, onBackPress, onBecameFocused) => (React.createElement(DoubleAthleteCard, { away: item.away, home: item.home, parentFocusKey: this.props.focusKey, focusKey: `${this.props.focusKey}-double-athlete-${i}`, onArrowPress: onArrowPress, onBackPress: onBackPress, onBecameFocused: onBecameFocused })) }));
7
+ }
8
+ }
9
+ export default ExpandedDoubleAthleteCards;
@@ -0,0 +1,100 @@
1
+ /// <reference types="prop-types" />
2
+ import { WithFocusableProps } from '@/external/spatial-navigation';
3
+ import React from 'react';
4
+ import './MatchupPair.styles.css';
5
+ import { Direction } from '@/external/spatial-navigation/utils';
6
+ import { MatchupPairItem } from '../../view-model/FantasyViewModel';
7
+ type Props = {
8
+ item: MatchupPairItem;
9
+ onEnterPress: () => void;
10
+ };
11
+ declare const _default: {
12
+ new (props: (Props & WithFocusableProps) | Readonly<Props & WithFocusableProps>): {
13
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
14
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
15
+ getChildContext(): {
16
+ parentFocusKey: string;
17
+ };
18
+ setFocus: (focusKey: string) => void;
19
+ navigateByDirection: (direction: Direction, details?: Record<string, any>) => void;
20
+ stealFocus: () => void;
21
+ onUpdateFocus: (focused: boolean) => void;
22
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
23
+ onEnterPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
24
+ onEnterReleaseHandler: () => void;
25
+ onBackPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
26
+ onArrowPressHandler: (direction: Direction, details: import("@/external/spatial-navigation/utils").Details) => boolean | void;
27
+ onBecameFocusedHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
28
+ onBecameBlurredHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
29
+ componentDidMount(): void;
30
+ componentDidUpdate(): void;
31
+ componentWillUnmount(): void;
32
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
33
+ context: any;
34
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
35
+ forceUpdate(callback?: (() => void) | undefined): void;
36
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
37
+ children?: React.ReactNode;
38
+ }>;
39
+ refs: {
40
+ [key: string]: React.ReactInstance;
41
+ };
42
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
43
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
44
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
45
+ componentWillMount?(): void;
46
+ UNSAFE_componentWillMount?(): void;
47
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
48
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
49
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
50
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
51
+ };
52
+ new (props: Props & WithFocusableProps, context: any): {
53
+ state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState;
54
+ navigation: import("../../../../external/spatial-navigation/spatialNavigation").default;
55
+ getChildContext(): {
56
+ parentFocusKey: string;
57
+ };
58
+ setFocus: (focusKey: string) => void;
59
+ navigateByDirection: (direction: Direction, details?: Record<string, any>) => void;
60
+ stealFocus: () => void;
61
+ onUpdateFocus: (focused: boolean) => void;
62
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
63
+ onEnterPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
64
+ onEnterReleaseHandler: () => void;
65
+ onBackPressHandler: (details: import("@/external/spatial-navigation/utils").Details) => void;
66
+ onArrowPressHandler: (direction: Direction, details: import("@/external/spatial-navigation/utils").Details) => boolean | void;
67
+ onBecameFocusedHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
68
+ onBecameBlurredHandler: (layout: import("@/external/spatial-navigation/utils").Layout, details: import("@/external/spatial-navigation/utils").Details) => void;
69
+ componentDidMount(): void;
70
+ componentDidUpdate(): void;
71
+ componentWillUnmount(): void;
72
+ render(): React.ReactElement<Props & WithFocusableProps, string | React.JSXElementConstructor<any>>;
73
+ context: any;
74
+ setState<K extends keyof import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: Readonly<Props & WithFocusableProps>) => import("../../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null) | Pick<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState, K> | null, callback?: (() => void) | undefined): void;
75
+ forceUpdate(callback?: (() => void) | undefined): void;
76
+ readonly props: Readonly<Props & WithFocusableProps> & Readonly<{
77
+ children?: React.ReactNode;
78
+ }>;
79
+ refs: {
80
+ [key: string]: React.ReactInstance;
81
+ };
82
+ shouldComponentUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
83
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
84
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Props & WithFocusableProps>, prevState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
85
+ componentWillMount?(): void;
86
+ UNSAFE_componentWillMount?(): void;
87
+ componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
88
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Props & WithFocusableProps>, nextContext: any): void;
89
+ componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
90
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Props & WithFocusableProps>, nextState: Readonly<import("../../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
91
+ };
92
+ contextTypes: {
93
+ parentFocusKey: import("prop-types").Requireable<string>;
94
+ };
95
+ childContextTypes: {
96
+ parentFocusKey: import("prop-types").Requireable<string>;
97
+ };
98
+ contextType?: React.Context<any> | undefined;
99
+ };
100
+ export default _default;