@maestro_io/maestro-web-sdk 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/MaestroEventDelegate.js +60 -0
  2. package/dist/components/atoms/BaseButton/BaseButton.js +11 -0
  3. package/dist/components/atoms/BaseButton/index.js +2 -0
  4. package/dist/components/atoms/Image/index.js +30 -0
  5. package/dist/components/atoms/Rive/index.d.ts +7 -8
  6. package/dist/components/atoms/Rive/index.js +52 -0
  7. package/dist/components/atoms/SvgIcon/BetGeneralIcon.js +9 -0
  8. package/dist/components/atoms/SvgIcon/BetsIcon.js +11 -0
  9. package/dist/components/atoms/SvgIcon/BetsWarningIcon.js +11 -0
  10. package/dist/components/atoms/SvgIcon/CheckmarkIcon.js +6 -0
  11. package/dist/components/atoms/SvgIcon/CollapseIcon.js +6 -0
  12. package/dist/components/atoms/SvgIcon/ExpandIcon.js +6 -0
  13. package/dist/components/atoms/SvgIcon/FantasyIcon.js +8 -0
  14. package/dist/components/atoms/SvgIcon/FlameIcon.js +11 -0
  15. package/dist/components/atoms/SvgIcon/Icon.js +42 -0
  16. package/dist/components/atoms/SvgIcon/KeyPlaysIcon.js +10 -0
  17. package/dist/components/atoms/SvgIcon/MobilePhoneIcon.js +11 -0
  18. package/dist/components/atoms/SvgIcon/PlayIcon.js +8 -0
  19. package/dist/components/atoms/SvgIcon/StatsIcon.js +12 -0
  20. package/dist/components/atoms/SvgIcon/TimesIcon.js +6 -0
  21. package/dist/components/atoms/SvgIcon/WarningIcon.js +8 -0
  22. package/dist/components/atoms/SvgIcon/index.js +2 -0
  23. package/dist/components/core/App/App.js +41 -0
  24. package/dist/components/core/App/index.js +2 -0
  25. package/dist/components/core/OverlayContainer.js +58 -0
  26. package/dist/components/core/PanelManager/PanelManager.js +80 -0
  27. package/dist/components/core/PanelManager/index.js +2 -0
  28. package/dist/components/core/ScrollableContainer/FocusableItem.js +38 -0
  29. package/dist/components/core/ScrollableContainer/ScrollableContainer.js +166 -0
  30. package/dist/components/core/ScrollableContainer/index.js +2 -0
  31. package/dist/components/molecules/ActionButton/ActionButton.js +10 -0
  32. package/dist/components/molecules/ActionButton/index.js +2 -0
  33. package/dist/components/molecules/Overlay/Overlay.d.ts +1 -2
  34. package/dist/components/molecules/Overlay/Overlay.js +139 -0
  35. package/dist/components/molecules/Overlay/index.js +2 -0
  36. package/dist/components/molecules/PanelNavButton/PanelNavButton.js +40 -0
  37. package/dist/components/molecules/PanelNavButton/index.js +2 -0
  38. package/dist/components/molecules/SegmentButton/SegmentButton.js +10 -0
  39. package/dist/components/molecules/SegmentButton/index.js +2 -0
  40. package/dist/components/molecules/WatchButton/WatchButton.js +15 -0
  41. package/dist/components/molecules/WatchButton/index.js +2 -0
  42. package/dist/components/organisms/PanelNavigation/PanelNavigation.js +72 -0
  43. package/dist/components/organisms/PanelNavigation/index.js +2 -0
  44. package/dist/components/organisms/SegmentController/SegmentController.js +69 -0
  45. package/dist/components/organisms/SegmentController/index.d.ts +1 -1
  46. package/dist/components/organisms/SegmentController/index.js +2 -0
  47. package/dist/external/AxiosNetworkClient.js +83 -0
  48. package/dist/external/LocalStorageCacheManager.js +213 -0
  49. package/dist/external/ReactRenderer.d.ts +2 -2
  50. package/dist/external/ReactRenderer.js +86 -0
  51. package/dist/external/mocks/MockExternalNetworkClient.js +161 -0
  52. package/dist/external/ports/cacheManager.js +1 -0
  53. package/dist/external/ports/networkClient.js +1 -0
  54. package/dist/external/ports/renderer.js +1 -0
  55. package/dist/external/spatial-navigation/index.d.ts +1 -1
  56. package/dist/external/spatial-navigation/index.js +4 -0
  57. package/dist/external/spatial-navigation/measureLayout.js +30 -0
  58. package/dist/external/spatial-navigation/spatialNavigation.js +875 -0
  59. package/dist/external/spatial-navigation/utils.js +6 -0
  60. package/dist/external/spatial-navigation/visualDebugger.js +76 -0
  61. package/dist/external/spatial-navigation/withFocusable.js +238 -0
  62. package/dist/helpers/Observable.js +37 -0
  63. package/dist/helpers/deliver-focus.js +12 -0
  64. package/dist/index.d.ts +4 -4
  65. package/dist/index.js +192 -0
  66. package/dist/interfaces/IMaestroEvent.js +6 -0
  67. package/dist/interfaces/IMaestroEventDelegate.js +1 -0
  68. package/dist/interfaces/IMaestroManager.js +1 -0
  69. package/dist/maestro-web-sdk.umd.js +3 -3
  70. package/dist/maestro-web-sdk.umd.js.map +1 -1
  71. package/dist/models/IModel.js +1 -0
  72. package/dist/models/IPanel.js +53 -0
  73. package/dist/models/ITheme.js +20 -0
  74. package/dist/models/IWinningBet.js +1 -0
  75. package/dist/modules/bets/interfaces/IBets.js +1 -0
  76. package/dist/modules/bets/mocks.js +572 -0
  77. package/dist/modules/bets/view/BetsView.js +116 -0
  78. package/dist/modules/bets/view/HotProps/HotPropsView.js +139 -0
  79. package/dist/modules/bets/view/SixPack/SixPackView.js +103 -0
  80. package/dist/modules/bets/view/TabLoadFailureView.js +12 -0
  81. package/dist/modules/bets/view/UserBets/BetResult/BetResult.js +6 -0
  82. package/dist/modules/bets/view/UserBets/BetsCard/BetsCard.js +122 -0
  83. package/dist/modules/bets/view/UserBets/BetsCard/BetsCardEvent.js +34 -0
  84. package/dist/modules/bets/view/UserBets/BetsCard/BetsCardFooter.js +22 -0
  85. package/dist/modules/bets/view/UserBets/Boost/Boost.js +6 -0
  86. package/dist/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.js +9 -0
  87. package/dist/modules/bets/view/UserBets/Parlay/Parlay.js +13 -0
  88. package/dist/modules/bets/view/UserBets/Straight/Straight.js +6 -0
  89. package/dist/modules/bets/view/UserBets/Teaser/Teaser.js +13 -0
  90. package/dist/modules/bets/view/UserBets/UserBetsView.js +114 -0
  91. package/dist/modules/bets/view/components/Bet/Bet.js +32 -0
  92. package/dist/modules/bets/view/components/BetPill/BetPill.js +6 -0
  93. package/dist/modules/bets/view/components/BetsCard/BetsCard.js +15 -0
  94. package/dist/modules/bets/view/components/BetsCard/BetsCardHeader.js +20 -0
  95. package/dist/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.js +14 -0
  96. package/dist/modules/bets/view/components/LocationWarning/LocationWarning.js +16 -0
  97. package/dist/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.js +63 -0
  98. package/dist/modules/bets/view/components/PromoCodeBanner/index.d.ts +1 -1
  99. package/dist/modules/bets/view/components/PromoCodeBanner/index.js +1 -0
  100. package/dist/modules/bets/view-model/BetsViewModel.js +767 -0
  101. package/dist/modules/key-plays/constants.js +292 -0
  102. package/dist/modules/key-plays/interfaces/IKeyPlays.d.ts +4 -4
  103. package/dist/modules/key-plays/interfaces/IKeyPlays.js +14 -0
  104. package/dist/modules/key-plays/interfaces/IKeyPlaysResponse.js +1 -0
  105. package/dist/modules/key-plays/view/KeyPlayCardScoreTagView.js +13 -0
  106. package/dist/modules/key-plays/view/KeyPlayCardView.js +142 -0
  107. package/dist/modules/key-plays/view/KeyPlayErrorStateView.js +58 -0
  108. package/dist/modules/key-plays/view/KeyPlaysView.js +167 -0
  109. package/dist/modules/key-plays/view-model/KeyPlaysViewModel.js +182 -0
  110. package/dist/modules/stats/interfaces/IStats.d.ts +163 -0
  111. package/dist/modules/stats/interfaces/IStats.js +1 -0
  112. package/dist/modules/stats/mocks.d.ts +2 -0
  113. package/dist/modules/stats/mocks.js +546 -0
  114. package/dist/modules/stats/utils.d.ts +39 -0
  115. package/dist/modules/stats/utils.js +62 -0
  116. package/dist/modules/stats/view/GameLeaders/GameLeaders.d.ts +29 -0
  117. package/dist/modules/stats/view/GameLeaders/GameLeaders.js +9 -0
  118. package/dist/modules/stats/view/GameLeaders/index.d.ts +2 -0
  119. package/dist/modules/stats/view/GameLeaders/index.js +2 -0
  120. package/dist/modules/stats/view/MatchPredictor/DonutChart/DonutChart.d.ts +17 -0
  121. package/dist/modules/stats/view/MatchPredictor/DonutChart/DonutChart.js +55 -0
  122. package/dist/modules/stats/view/MatchPredictor/DonutChart/index.d.ts +2 -0
  123. package/dist/modules/stats/view/MatchPredictor/DonutChart/index.js +1 -0
  124. package/dist/modules/stats/view/MatchPredictor/MatchPredictorView.d.ts +52 -0
  125. package/dist/modules/stats/view/MatchPredictor/MatchPredictorView.js +66 -0
  126. package/dist/modules/stats/view/MatchPredictor/index.d.ts +3 -0
  127. package/dist/modules/stats/view/MatchPredictor/index.js +2 -0
  128. package/dist/modules/stats/view/RecentGames/RecentGames.d.ts +62 -0
  129. package/dist/modules/stats/view/RecentGames/RecentGames.js +22 -0
  130. package/dist/modules/stats/view/RecentGames/index.d.ts +2 -0
  131. package/dist/modules/stats/view/RecentGames/index.js +2 -0
  132. package/dist/modules/stats/view/StatsQRCode/StatsQRCodeView.d.ts +51 -0
  133. package/dist/modules/stats/view/StatsQRCode/StatsQRCodeView.js +38 -0
  134. package/dist/modules/stats/view/StatsQRCode/index.d.ts +2 -0
  135. package/dist/modules/stats/view/StatsQRCode/index.js +1 -0
  136. package/dist/modules/stats/view/StatsView.d.ts +20 -0
  137. package/dist/modules/stats/view/StatsView.js +87 -0
  138. package/dist/modules/stats/view/Teams/StatsCarousel.d.ts +8 -0
  139. package/dist/modules/stats/view/Teams/StatsCarousel.js +14 -0
  140. package/dist/modules/stats/view/Teams/StatsProgressBar.d.ts +7 -0
  141. package/dist/modules/stats/view/Teams/StatsProgressBar.js +14 -0
  142. package/dist/modules/stats/view/Teams/Teams.d.ts +67 -0
  143. package/dist/modules/stats/view/Teams/Teams.js +35 -0
  144. package/dist/modules/stats/view/Teams/index.d.ts +2 -0
  145. package/dist/modules/stats/view/Teams/index.js +2 -0
  146. package/dist/modules/stats/view/WinProbability/WinProbability.d.ts +62 -0
  147. package/dist/modules/stats/view/WinProbability/WinProbability.js +27 -0
  148. package/dist/modules/stats/view/WinProbability/index.d.ts +2 -0
  149. package/dist/modules/stats/view/WinProbability/index.js +2 -0
  150. package/dist/modules/stats/view/components/AthletesStatistics/AthletesStatistics.d.ts +51 -0
  151. package/dist/modules/stats/view/components/AthletesStatistics/AthletesStatistics.js +28 -0
  152. package/dist/modules/stats/view/components/AthletesStatistics/StatisticTable.d.ts +10 -0
  153. package/dist/modules/stats/view/components/AthletesStatistics/StatisticTable.js +11 -0
  154. package/dist/modules/stats/view/components/AthletesStatistics/index.d.ts +2 -0
  155. package/dist/modules/stats/view/components/AthletesStatistics/index.js +2 -0
  156. package/dist/modules/stats/view/index.d.ts +1 -0
  157. package/dist/modules/stats/view/index.js +1 -0
  158. package/dist/modules/stats/view-model/StatsViewModel.d.ts +31 -0
  159. package/dist/modules/stats/view-model/StatsViewModel.js +90 -0
  160. package/dist/services/BetsService.js +102 -0
  161. package/dist/services/NetworkManager/NetworkManager.js +410 -0
  162. package/dist/services/NetworkManager/errors.js +45 -0
  163. package/dist/services/ThemeManager/constants.js +47 -0
  164. package/dist/test-polyfills.d.ts +1 -0
  165. package/dist/test-polyfills.js +15 -0
  166. package/dist/types/OverlayTypes.js +4 -0
  167. package/dist/view-models/MaestroEventViewModel.d.ts +2 -0
  168. package/dist/view-models/MaestroEventViewModel.js +156 -0
  169. package/dist/view-models/OverlayViewModel.js +222 -0
  170. package/dist/view-models/PanelManagerViewModel.js +80 -0
  171. package/dist/view-models/ViewModel.js +32 -0
  172. package/dist/view-models/index.js +59 -0
  173. package/package.json +1 -1

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.