@maestro_io/maestro-web-sdk 5.2.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/index.d.ts +7 -6
- package/dist/maestro-web-sdk.esm.js +1 -10
- package/dist/maestro-web-sdk.esm.js.map +1 -1
- package/dist/maestro-web-sdk.umd.js +1 -10
- package/dist/maestro-web-sdk.umd.js.map +1 -1
- package/package.json +32 -33
- package/dist/1.maestro-web-sdk.esm.js +0 -2
- package/dist/1.maestro-web-sdk.esm.js.map +0 -1
- package/dist/10.maestro-web-sdk.esm.js +0 -2
- package/dist/10.maestro-web-sdk.esm.js.map +0 -1
- package/dist/11.maestro-web-sdk.esm.js +0 -2
- package/dist/11.maestro-web-sdk.esm.js.map +0 -1
- package/dist/12.maestro-web-sdk.esm.js +0 -2
- package/dist/12.maestro-web-sdk.esm.js.map +0 -1
- package/dist/13.maestro-web-sdk.esm.js +0 -2
- package/dist/13.maestro-web-sdk.esm.js.map +0 -1
- package/dist/14.maestro-web-sdk.esm.js +0 -2
- package/dist/14.maestro-web-sdk.esm.js.map +0 -1
- package/dist/15.maestro-web-sdk.esm.js +0 -2
- package/dist/15.maestro-web-sdk.esm.js.map +0 -1
- package/dist/16.maestro-web-sdk.esm.js +0 -2
- package/dist/16.maestro-web-sdk.esm.js.map +0 -1
- package/dist/17.maestro-web-sdk.esm.js +0 -2
- package/dist/17.maestro-web-sdk.esm.js.map +0 -1
- package/dist/18.maestro-web-sdk.esm.js +0 -2
- package/dist/18.maestro-web-sdk.esm.js.map +0 -1
- package/dist/19.maestro-web-sdk.esm.js +0 -2
- package/dist/19.maestro-web-sdk.esm.js.map +0 -1
- package/dist/2.maestro-web-sdk.esm.js +0 -2
- package/dist/2.maestro-web-sdk.esm.js.map +0 -1
- package/dist/20.maestro-web-sdk.esm.js +0 -2
- package/dist/20.maestro-web-sdk.esm.js.map +0 -1
- package/dist/21.maestro-web-sdk.esm.js +0 -2
- package/dist/21.maestro-web-sdk.esm.js.map +0 -1
- package/dist/22.maestro-web-sdk.esm.js +0 -2
- package/dist/22.maestro-web-sdk.esm.js.map +0 -1
- package/dist/23.maestro-web-sdk.esm.js +0 -2
- package/dist/23.maestro-web-sdk.esm.js.map +0 -1
- package/dist/24.maestro-web-sdk.esm.js +0 -2
- package/dist/24.maestro-web-sdk.esm.js.map +0 -1
- package/dist/25.maestro-web-sdk.esm.js +0 -2
- package/dist/25.maestro-web-sdk.esm.js.map +0 -1
- package/dist/26.maestro-web-sdk.esm.js +0 -2
- package/dist/26.maestro-web-sdk.esm.js.map +0 -1
- package/dist/27.maestro-web-sdk.esm.js +0 -2
- package/dist/27.maestro-web-sdk.esm.js.map +0 -1
- package/dist/28.maestro-web-sdk.esm.js +0 -2
- package/dist/28.maestro-web-sdk.esm.js.map +0 -1
- package/dist/29.maestro-web-sdk.esm.js +0 -2
- package/dist/29.maestro-web-sdk.esm.js.map +0 -1
- package/dist/3.maestro-web-sdk.esm.js +0 -2
- package/dist/3.maestro-web-sdk.esm.js.map +0 -1
- package/dist/30.maestro-web-sdk.esm.js +0 -2
- package/dist/30.maestro-web-sdk.esm.js.map +0 -1
- package/dist/31.maestro-web-sdk.esm.js +0 -2
- package/dist/31.maestro-web-sdk.esm.js.map +0 -1
- package/dist/32.maestro-web-sdk.esm.js +0 -2
- package/dist/32.maestro-web-sdk.esm.js.map +0 -1
- package/dist/33.maestro-web-sdk.esm.js +0 -2
- package/dist/33.maestro-web-sdk.esm.js.map +0 -1
- package/dist/34.maestro-web-sdk.esm.js +0 -2
- package/dist/34.maestro-web-sdk.esm.js.map +0 -1
- package/dist/35.maestro-web-sdk.esm.js +0 -2
- package/dist/35.maestro-web-sdk.esm.js.map +0 -1
- package/dist/36.maestro-web-sdk.esm.js +0 -2
- package/dist/36.maestro-web-sdk.esm.js.map +0 -1
- package/dist/37.maestro-web-sdk.esm.js +0 -2
- package/dist/37.maestro-web-sdk.esm.js.map +0 -1
- package/dist/38.maestro-web-sdk.esm.js +0 -2
- package/dist/38.maestro-web-sdk.esm.js.map +0 -1
- package/dist/39.maestro-web-sdk.esm.js +0 -2
- package/dist/39.maestro-web-sdk.esm.js.map +0 -1
- package/dist/4.maestro-web-sdk.esm.js +0 -2
- package/dist/4.maestro-web-sdk.esm.js.map +0 -1
- package/dist/40.maestro-web-sdk.esm.js +0 -2
- package/dist/40.maestro-web-sdk.esm.js.map +0 -1
- package/dist/5.maestro-web-sdk.esm.js +0 -2
- package/dist/5.maestro-web-sdk.esm.js.map +0 -1
- package/dist/6.maestro-web-sdk.esm.js +0 -2
- package/dist/6.maestro-web-sdk.esm.js.map +0 -1
- package/dist/7.maestro-web-sdk.esm.js +0 -2
- package/dist/7.maestro-web-sdk.esm.js.map +0 -1
- package/dist/8.maestro-web-sdk.esm.js +0 -2
- package/dist/8.maestro-web-sdk.esm.js.map +0 -1
- package/dist/9.maestro-web-sdk.esm.js +0 -2
- package/dist/9.maestro-web-sdk.esm.js.map +0 -1
- package/dist/package.json +0 -94
- package/dist/src/components/atoms/BaseButton/BaseButton.d.ts +0 -7
- package/dist/src/components/atoms/BaseButton/BaseButton.js +0 -11
- package/dist/src/components/atoms/BaseButton/index.d.ts +0 -2
- package/dist/src/components/atoms/BaseButton/index.js +0 -2
- package/dist/src/components/atoms/Image/index.d.ts +0 -13
- package/dist/src/components/atoms/Image/index.js +0 -34
- package/dist/src/components/atoms/Rive/index.d.ts +0 -221
- package/dist/src/components/atoms/Rive/index.js +0 -53
- package/dist/src/components/atoms/SvgIcon/AddIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/AddIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.js +0 -9
- package/dist/src/components/atoms/SvgIcon/BetsIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/BetsIcon.js +0 -8
- package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.d.ts +0 -7
- package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.js +0 -11
- package/dist/src/components/atoms/SvgIcon/BuilderIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/BuilderIcon.js +0 -8
- package/dist/src/components/atoms/SvgIcon/ChatIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/ChatIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/CollapseIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/CollapseIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/ExpandIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/ExpandIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/FantasyIcon.d.ts +0 -7
- package/dist/src/components/atoms/SvgIcon/FantasyIcon.js +0 -15
- package/dist/src/components/atoms/SvgIcon/FlameIcon.d.ts +0 -7
- package/dist/src/components/atoms/SvgIcon/FlameIcon.js +0 -11
- package/dist/src/components/atoms/SvgIcon/FoxKeyPlaysIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/FoxKeyPlaysIcon.js +0 -7
- package/dist/src/components/atoms/SvgIcon/FoxMultiViewIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/FoxMultiViewIcon.js +0 -10
- package/dist/src/components/atoms/SvgIcon/FoxStatsIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/FoxStatsIcon.js +0 -7
- package/dist/src/components/atoms/SvgIcon/HelloWorldIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/HelloWorldIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/Icon.d.ts +0 -15
- package/dist/src/components/atoms/SvgIcon/Icon.js +0 -70
- package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.d.ts +0 -6
- package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.js +0 -10
- package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.d.ts +0 -7
- package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.js +0 -11
- package/dist/src/components/atoms/SvgIcon/PlayIcon.d.ts +0 -6
- package/dist/src/components/atoms/SvgIcon/PlayIcon.js +0 -8
- package/dist/src/components/atoms/SvgIcon/ShopIcon.d.ts +0 -5
- package/dist/src/components/atoms/SvgIcon/ShopIcon.js +0 -7
- package/dist/src/components/atoms/SvgIcon/ShopifyIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/ShopifyIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/StatsIcon.d.ts +0 -6
- package/dist/src/components/atoms/SvgIcon/StatsIcon.js +0 -12
- package/dist/src/components/atoms/SvgIcon/TimesIcon.d.ts +0 -3
- package/dist/src/components/atoms/SvgIcon/TimesIcon.js +0 -6
- package/dist/src/components/atoms/SvgIcon/WarningIcon.d.ts +0 -6
- package/dist/src/components/atoms/SvgIcon/WarningIcon.js +0 -8
- package/dist/src/components/atoms/SvgIcon/index.d.ts +0 -2
- package/dist/src/components/atoms/SvgIcon/index.js +0 -2
- package/dist/src/components/core/App/App.d.ts +0 -11
- package/dist/src/components/core/App/App.js +0 -35
- package/dist/src/components/core/App/index.d.ts +0 -2
- package/dist/src/components/core/App/index.js +0 -2
- package/dist/src/components/core/PanelManager/PanelManager.d.ts +0 -21
- package/dist/src/components/core/PanelManager/PanelManager.js +0 -104
- package/dist/src/components/core/PanelManager/index.d.ts +0 -2
- package/dist/src/components/core/PanelManager/index.js +0 -2
- package/dist/src/components/core/ScrollableContainer/FocusableItem.d.ts +0 -11
- package/dist/src/components/core/ScrollableContainer/FocusableItem.js +0 -24
- package/dist/src/components/core/ScrollableContainer/ScrollableContainer.d.ts +0 -54
- package/dist/src/components/core/ScrollableContainer/ScrollableContainer.js +0 -111
- package/dist/src/components/core/ScrollableContainer/index.d.ts +0 -6
- package/dist/src/components/core/ScrollableContainer/index.js +0 -5
- package/dist/src/components/core/ScrollableContainer/useScrollableContainer.d.ts +0 -14
- package/dist/src/components/core/ScrollableContainer/useScrollableContainer.js +0 -22
- package/dist/src/components/molecules/ActionButton/ActionButton.d.ts +0 -96
- package/dist/src/components/molecules/ActionButton/ActionButton.js +0 -15
- package/dist/src/components/molecules/ActionButton/index.d.ts +0 -2
- package/dist/src/components/molecules/ActionButton/index.js +0 -2
- package/dist/src/components/molecules/HeadshotImage/HeadshotImage.d.ts +0 -16
- package/dist/src/components/molecules/HeadshotImage/HeadshotImage.js +0 -50
- package/dist/src/components/molecules/HeadshotImage/index.d.ts +0 -2
- package/dist/src/components/molecules/HeadshotImage/index.js +0 -2
- package/dist/src/components/molecules/NetworkDialog/NetworkDialog.d.ts +0 -11
- package/dist/src/components/molecules/NetworkDialog/NetworkDialog.js +0 -34
- package/dist/src/components/molecules/NetworkDialog/index.d.ts +0 -2
- package/dist/src/components/molecules/NetworkDialog/index.js +0 -2
- package/dist/src/components/molecules/NetworkError/NetworkError.d.ts +0 -104
- package/dist/src/components/molecules/NetworkError/NetworkError.js +0 -26
- package/dist/src/components/molecules/NetworkError/index.d.ts +0 -2
- package/dist/src/components/molecules/NetworkError/index.js +0 -2
- package/dist/src/components/molecules/PanelNavButton/PanelNavButton.d.ts +0 -107
- package/dist/src/components/molecules/PanelNavButton/PanelNavButton.js +0 -36
- package/dist/src/components/molecules/PanelNavButton/index.d.ts +0 -2
- package/dist/src/components/molecules/PanelNavButton/index.js +0 -2
- package/dist/src/components/molecules/SegmentButton/SegmentButton.d.ts +0 -9
- package/dist/src/components/molecules/SegmentButton/SegmentButton.js +0 -10
- package/dist/src/components/molecules/SegmentButton/index.d.ts +0 -2
- package/dist/src/components/molecules/SegmentButton/index.js +0 -2
- package/dist/src/components/molecules/TabLoadError/TabLoadError.d.ts +0 -96
- package/dist/src/components/molecules/TabLoadError/TabLoadError.js +0 -14
- package/dist/src/components/molecules/TabLoadError/index.d.ts +0 -2
- package/dist/src/components/molecules/TabLoadError/index.js +0 -2
- package/dist/src/components/molecules/WatchButton/WatchButton.d.ts +0 -10
- package/dist/src/components/molecules/WatchButton/WatchButton.js +0 -15
- package/dist/src/components/molecules/WatchButton/index.d.ts +0 -2
- package/dist/src/components/molecules/WatchButton/index.js +0 -2
- package/dist/src/components/organisms/PanelNavigation/PanelNavigation.d.ts +0 -17
- package/dist/src/components/organisms/PanelNavigation/PanelNavigation.js +0 -64
- package/dist/src/components/organisms/PanelNavigation/index.d.ts +0 -2
- package/dist/src/components/organisms/PanelNavigation/index.js +0 -2
- package/dist/src/components/organisms/SegmentController/SegmentController.d.ts +0 -12
- package/dist/src/components/organisms/SegmentController/SegmentController.js +0 -35
- package/dist/src/components/organisms/SegmentController/index.d.ts +0 -3
- package/dist/src/components/organisms/SegmentController/index.js +0 -2
- package/dist/src/development/MaestroEventDelegate.d.ts +0 -27
- package/dist/src/development/MaestroEventDelegate.js +0 -110
- package/dist/src/development/TimeSeek.d.ts +0 -22
- package/dist/src/development/TimeSeek.js +0 -218
- package/dist/src/development/development.d.ts +0 -1
- package/dist/src/development/development.js +0 -39
- package/dist/src/external/AxiosNetworkClient.d.ts +0 -28
- package/dist/src/external/AxiosNetworkClient.js +0 -110
- package/dist/src/external/LocalStorageCacheManager.d.ts +0 -65
- package/dist/src/external/LocalStorageCacheManager.js +0 -213
- package/dist/src/external/ReactRenderer.d.ts +0 -17
- package/dist/src/external/ReactRenderer.js +0 -66
- package/dist/src/external/mocks/MockExternalNetworkClient.d.ts +0 -104
- package/dist/src/external/mocks/MockExternalNetworkClient.js +0 -187
- package/dist/src/external/ports/cacheManager.d.ts +0 -17
- package/dist/src/external/ports/cacheManager.js +0 -1
- package/dist/src/external/ports/networkClient.d.ts +0 -19
- package/dist/src/external/ports/networkClient.js +0 -1
- package/dist/src/external/ports/renderer.d.ts +0 -4
- package/dist/src/external/ports/renderer.js +0 -1
- package/dist/src/external/spatial-navigation/__mocks__/withFocusable.d.ts +0 -8
- package/dist/src/external/spatial-navigation/__mocks__/withFocusable.js +0 -7
- package/dist/src/external/spatial-navigation/index.d.ts +0 -4
- package/dist/src/external/spatial-navigation/index.js +0 -3
- package/dist/src/external/spatial-navigation/measureLayout.d.ts +0 -2
- package/dist/src/external/spatial-navigation/measureLayout.js +0 -30
- package/dist/src/external/spatial-navigation/spatialNavigation.d.ts +0 -160
- package/dist/src/external/spatial-navigation/spatialNavigation.js +0 -944
- package/dist/src/external/spatial-navigation/utils.d.ts +0 -22
- package/dist/src/external/spatial-navigation/utils.js +0 -6
- package/dist/src/external/spatial-navigation/visualDebugger.d.ts +0 -17
- package/dist/src/external/spatial-navigation/visualDebugger.js +0 -76
- package/dist/src/external/spatial-navigation/withFocusable.d.ts +0 -131
- package/dist/src/external/spatial-navigation/withFocusable.js +0 -254
- package/dist/src/helpers/Observable.d.ts +0 -12
- package/dist/src/helpers/Observable.js +0 -37
- package/dist/src/helpers/site.d.ts +0 -1
- package/dist/src/helpers/site.js +0 -6
- package/dist/src/helpers/siteConfig.d.ts +0 -1
- package/dist/src/helpers/siteConfig.js +0 -5
- package/dist/src/helpers/strings.d.ts +0 -2
- package/dist/src/helpers/strings.js +0 -14
- package/dist/src/helpers/url.d.ts +0 -1
- package/dist/src/helpers/url.js +0 -12
- package/dist/src/hooks/useMaxHeightToBottom.d.ts +0 -11
- package/dist/src/hooks/useMaxHeightToBottom.js +0 -48
- package/dist/src/index.d.ts +0 -53
- package/dist/src/index.js +0 -197
- package/dist/src/interfaces/IMaestroEvent.d.ts +0 -108
- package/dist/src/interfaces/IMaestroEvent.js +0 -1
- package/dist/src/interfaces/IMaestroEventDelegate.d.ts +0 -81
- package/dist/src/interfaces/IMaestroEventDelegate.js +0 -1
- package/dist/src/interfaces/IMaestroManager.d.ts +0 -81
- package/dist/src/interfaces/IMaestroManager.js +0 -1
- package/dist/src/interfaces/IUserSettings.d.ts +0 -44
- package/dist/src/interfaces/IUserSettings.js +0 -20
- package/dist/src/models/IModel.d.ts +0 -7
- package/dist/src/models/IModel.js +0 -1
- package/dist/src/models/IPanel.d.ts +0 -19
- package/dist/src/models/IPanel.js +0 -12
- package/dist/src/models/ITheme.d.ts +0 -77
- package/dist/src/models/ITheme.js +0 -20
- package/dist/src/modules/espn/bets/interfaces/IBets.d.ts +0 -192
- package/dist/src/modules/espn/bets/interfaces/IBets.js +0 -1
- package/dist/src/modules/espn/bets/interfaces/IBetsViewModel.d.ts +0 -5
- package/dist/src/modules/espn/bets/interfaces/IBetsViewModel.js +0 -1
- package/dist/src/modules/espn/bets/mocks.d.ts +0 -2
- package/dist/src/modules/espn/bets/mocks.js +0 -573
- package/dist/src/modules/espn/bets/services/BetsService.d.ts +0 -81
- package/dist/src/modules/espn/bets/services/BetsService.js +0 -123
- package/dist/src/modules/espn/bets/types/BetsAnalyticsTypes.d.ts +0 -8
- package/dist/src/modules/espn/bets/types/BetsAnalyticsTypes.js +0 -1
- package/dist/src/modules/espn/bets/view/BetsView.d.ts +0 -30
- package/dist/src/modules/espn/bets/view/BetsView.js +0 -169
- package/dist/src/modules/espn/bets/view/HotProps/HotPropsView.d.ts +0 -103
- package/dist/src/modules/espn/bets/view/HotProps/HotPropsView.js +0 -133
- package/dist/src/modules/espn/bets/view/SixPack/SixPackView.d.ts +0 -9
- package/dist/src/modules/espn/bets/view/SixPack/SixPackView.js +0 -77
- package/dist/src/modules/espn/bets/view/UserBets/BetResult/BetResult.d.ts +0 -6
- package/dist/src/modules/espn/bets/view/UserBets/BetResult/BetResult.js +0 -6
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCard.d.ts +0 -104
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCard.js +0 -140
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCardEvent.d.ts +0 -16
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCardEvent.js +0 -8
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCardFooter.d.ts +0 -7
- package/dist/src/modules/espn/bets/view/UserBets/BetsCard/BetsCardFooter.js +0 -18
- package/dist/src/modules/espn/bets/view/UserBets/Boost/Boost.d.ts +0 -7
- package/dist/src/modules/espn/bets/view/UserBets/Boost/Boost.js +0 -6
- package/dist/src/modules/espn/bets/view/UserBets/OutcomeBadge/OutcomeBadge.d.ts +0 -6
- package/dist/src/modules/espn/bets/view/UserBets/OutcomeBadge/OutcomeBadge.js +0 -9
- package/dist/src/modules/espn/bets/view/UserBets/Parlay/Parlay.d.ts +0 -8
- package/dist/src/modules/espn/bets/view/UserBets/Parlay/Parlay.js +0 -13
- package/dist/src/modules/espn/bets/view/UserBets/Straight/Straight.d.ts +0 -7
- package/dist/src/modules/espn/bets/view/UserBets/Straight/Straight.js +0 -6
- package/dist/src/modules/espn/bets/view/UserBets/Teaser/Teaser.d.ts +0 -7
- package/dist/src/modules/espn/bets/view/UserBets/Teaser/Teaser.js +0 -13
- package/dist/src/modules/espn/bets/view/UserBets/UserBetsView.d.ts +0 -25
- package/dist/src/modules/espn/bets/view/UserBets/UserBetsView.js +0 -107
- package/dist/src/modules/espn/bets/view/components/Bet/Bet.d.ts +0 -10
- package/dist/src/modules/espn/bets/view/components/Bet/Bet.js +0 -41
- package/dist/src/modules/espn/bets/view/components/BetPill/BetPill.d.ts +0 -6
- package/dist/src/modules/espn/bets/view/components/BetPill/BetPill.js +0 -6
- package/dist/src/modules/espn/bets/view/components/BetsCard/BetsCard.d.ts +0 -10
- package/dist/src/modules/espn/bets/view/components/BetsCard/BetsCard.js +0 -24
- package/dist/src/modules/espn/bets/view/components/BetsCard/BetsCardHeader.d.ts +0 -16
- package/dist/src/modules/espn/bets/view/components/BetsCard/BetsCardHeader.js +0 -20
- package/dist/src/modules/espn/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.d.ts +0 -7
- package/dist/src/modules/espn/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.js +0 -31
- package/dist/src/modules/espn/bets/view/components/GamblingDisclaimer/index.d.ts +0 -1
- package/dist/src/modules/espn/bets/view/components/GamblingDisclaimer/index.js +0 -1
- package/dist/src/modules/espn/bets/view/components/LocationWarning/LocationWarning.d.ts +0 -10
- package/dist/src/modules/espn/bets/view/components/LocationWarning/LocationWarning.js +0 -16
- package/dist/src/modules/espn/bets/view/components/PromoCodeBanner/PromoCodeBanner.d.ts +0 -5
- package/dist/src/modules/espn/bets/view/components/PromoCodeBanner/PromoCodeBanner.js +0 -45
- package/dist/src/modules/espn/bets/view/components/PromoCodeBanner/index.d.ts +0 -1
- package/dist/src/modules/espn/bets/view/components/PromoCodeBanner/index.js +0 -1
- package/dist/src/modules/espn/bets/view-model/BetsViewModel.d.ts +0 -218
- package/dist/src/modules/espn/bets/view-model/BetsViewModel.js +0 -947
- package/dist/src/modules/espn/components/TabLoadError/TabLoadError.d.ts +0 -96
- package/dist/src/modules/espn/components/TabLoadError/TabLoadError.js +0 -14
- package/dist/src/modules/espn/components/TabLoadError/index.d.ts +0 -2
- package/dist/src/modules/espn/components/TabLoadError/index.js +0 -2
- package/dist/src/modules/espn/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.d.ts +0 -28
- package/dist/src/modules/espn/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.js +0 -107
- package/dist/src/modules/espn/fantasy/components/ExpandedAthleteList/index.d.ts +0 -1
- package/dist/src/modules/espn/fantasy/components/ExpandedAthleteList/index.js +0 -1
- package/dist/src/modules/espn/fantasy/components/LeagueCard/LeagueCard.d.ts +0 -104
- package/dist/src/modules/espn/fantasy/components/LeagueCard/LeagueCard.js +0 -20
- package/dist/src/modules/espn/fantasy/components/LeagueCard/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/components/LeagueCard/index.js +0 -2
- package/dist/src/modules/espn/fantasy/components/TopPlayerCard/TopPlayerCard.d.ts +0 -101
- package/dist/src/modules/espn/fantasy/components/TopPlayerCard/TopPlayerCard.js +0 -29
- package/dist/src/modules/espn/fantasy/components/TopPlayerCard/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/components/TopPlayerCard/index.js +0 -2
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/TournamentOverflowQR.d.ts +0 -103
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/TournamentOverflowQR.js +0 -28
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/index.d.ts +0 -1
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/index.js +0 -1
- package/dist/src/modules/espn/fantasy/mocks.d.ts +0 -7620
- package/dist/src/modules/espn/fantasy/mocks.js +0 -3682
- package/dist/src/modules/espn/fantasy/services/FantasyService.d.ts +0 -76
- package/dist/src/modules/espn/fantasy/services/FantasyService.js +0 -127
- package/dist/src/modules/espn/fantasy/types.d.ts +0 -294
- package/dist/src/modules/espn/fantasy/types.js +0 -9
- package/dist/src/modules/espn/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.d.ts +0 -21
- package/dist/src/modules/espn/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.js +0 -74
- package/dist/src/modules/espn/fantasy/view/ActiveAthletesMarquee/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/ActiveAthletesMarquee/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/FantasyHeaderView.d.ts +0 -8
- package/dist/src/modules/espn/fantasy/view/FantasyHeaderView.js +0 -8
- package/dist/src/modules/espn/fantasy/view/FantasyItemView.d.ts +0 -8
- package/dist/src/modules/espn/fantasy/view/FantasyItemView.js +0 -48
- package/dist/src/modules/espn/fantasy/view/FantasyView.d.ts +0 -34
- package/dist/src/modules/espn/fantasy/view/FantasyView.js +0 -213
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/DraftDateCountdown.d.ts +0 -23
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/DraftDateCountdown.js +0 -95
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/InactiveLeague.d.ts +0 -100
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/InactiveLeague.js +0 -13
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/InactiveLeague/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/LoginView/LoginView.d.ts +0 -96
- package/dist/src/modules/espn/fantasy/view/LoginView/LoginView.js +0 -27
- package/dist/src/modules/espn/fantasy/view/LoginView/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/LoginView/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.d.ts +0 -97
- package/dist/src/modules/espn/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.js +0 -25
- package/dist/src/modules/espn/fantasy/view/MatchupPair/DoubleAthleteCard/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupPair/DoubleAthleteCard/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.d.ts +0 -14
- package/dist/src/modules/espn/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.js +0 -9
- package/dist/src/modules/espn/fantasy/view/MatchupPair/MatchupPair.d.ts +0 -102
- package/dist/src/modules/espn/fantasy/view/MatchupPair/MatchupPair.js +0 -118
- package/dist/src/modules/espn/fantasy/view/MatchupPair/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupPair/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.d.ts +0 -14
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.js +0 -9
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/MatchupSingle.d.ts +0 -102
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/MatchupSingle.js +0 -108
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.d.ts +0 -97
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.js +0 -18
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/SingleAthleteCard/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/SingleAthleteCard/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/MatchupSingle/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/PromoView/PromoView.d.ts +0 -100
- package/dist/src/modules/espn/fantasy/view/PromoView/PromoView.js +0 -12
- package/dist/src/modules/espn/fantasy/view/PromoView/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/PromoView/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/TournamentBracketCard/TournamentBracketCard.d.ts +0 -101
- package/dist/src/modules/espn/fantasy/view/TournamentBracketCard/TournamentBracketCard.js +0 -37
- package/dist/src/modules/espn/fantasy/view/TournamentBracketCard/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/TournamentBracketCard/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view/index.d.ts +0 -2
- package/dist/src/modules/espn/fantasy/view/index.js +0 -2
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.FantasyPolling.d.ts +0 -32
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.FantasyPolling.js +0 -135
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.d.ts +0 -32
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.js +0 -144
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.TournamentPolling.d.ts +0 -32
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.TournamentPolling.js +0 -143
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.d.ts +0 -168
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.js +0 -815
- package/dist/src/modules/espn/key-plays/constants.d.ts +0 -3
- package/dist/src/modules/espn/key-plays/constants.js +0 -292
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlays.d.ts +0 -32
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlays.js +0 -14
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlaysResponse.d.ts +0 -44
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlaysResponse.js +0 -1
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlaysViewModel.d.ts +0 -17
- package/dist/src/modules/espn/key-plays/interfaces/IKeyPlaysViewModel.js +0 -1
- package/dist/src/modules/espn/key-plays/view/KeyPlayCardScoreTagView.d.ts +0 -9
- package/dist/src/modules/espn/key-plays/view/KeyPlayCardScoreTagView.js +0 -16
- package/dist/src/modules/espn/key-plays/view/KeyPlayCardView.d.ts +0 -27
- package/dist/src/modules/espn/key-plays/view/KeyPlayCardView.js +0 -115
- package/dist/src/modules/espn/key-plays/view/KeyPlayErrorStateView.d.ts +0 -13
- package/dist/src/modules/espn/key-plays/view/KeyPlayErrorStateView.js +0 -65
- package/dist/src/modules/espn/key-plays/view/KeyPlaysView.d.ts +0 -39
- package/dist/src/modules/espn/key-plays/view/KeyPlaysView.js +0 -179
- package/dist/src/modules/espn/key-plays/view-model/KeyPlaysViewModel.d.ts +0 -37
- package/dist/src/modules/espn/key-plays/view-model/KeyPlaysViewModel.js +0 -245
- package/dist/src/modules/espn/shop/mocks.d.ts +0 -22
- package/dist/src/modules/espn/shop/mocks.js +0 -391
- package/dist/src/modules/espn/shop/services/ShopService.d.ts +0 -23
- package/dist/src/modules/espn/shop/services/ShopService.js +0 -44
- package/dist/src/modules/espn/shop/types.d.ts +0 -164
- package/dist/src/modules/espn/shop/types.js +0 -7
- package/dist/src/modules/espn/shop/view/ProductDetailView/ProductDetailView.d.ts +0 -10
- package/dist/src/modules/espn/shop/view/ProductDetailView/ProductDetailView.js +0 -60
- package/dist/src/modules/espn/shop/view/ProductDetailView/index.d.ts +0 -2
- package/dist/src/modules/espn/shop/view/ProductDetailView/index.js +0 -2
- package/dist/src/modules/espn/shop/view/ShopView.d.ts +0 -38
- package/dist/src/modules/espn/shop/view/ShopView.js +0 -223
- package/dist/src/modules/espn/shop/view/components/BrowseCard/BrowseCard.d.ts +0 -103
- package/dist/src/modules/espn/shop/view/components/BrowseCard/BrowseCard.js +0 -23
- package/dist/src/modules/espn/shop/view/components/BrowseCard/index.d.ts +0 -2
- package/dist/src/modules/espn/shop/view/components/BrowseCard/index.js +0 -2
- package/dist/src/modules/espn/shop/view/components/ProductSummaryCard/ProductSummaryCard.d.ts +0 -104
- package/dist/src/modules/espn/shop/view/components/ProductSummaryCard/ProductSummaryCard.js +0 -26
- package/dist/src/modules/espn/shop/view/components/ProductSummaryCard/index.d.ts +0 -2
- package/dist/src/modules/espn/shop/view/components/ProductSummaryCard/index.js +0 -1
- package/dist/src/modules/espn/shop/view/components/ShopPromoView/ShopPromoView.d.ts +0 -8
- package/dist/src/modules/espn/shop/view/components/ShopPromoView/ShopPromoView.js +0 -19
- package/dist/src/modules/espn/shop/view/components/ShopPromoView/index.d.ts +0 -1
- package/dist/src/modules/espn/shop/view/components/ShopPromoView/index.js +0 -1
- package/dist/src/modules/espn/shop/view/components/ShopSection/ShopSection.d.ts +0 -12
- package/dist/src/modules/espn/shop/view/components/ShopSection/ShopSection.js +0 -34
- package/dist/src/modules/espn/shop/view/components/ShopSection/index.d.ts +0 -1
- package/dist/src/modules/espn/shop/view/components/ShopSection/index.js +0 -1
- package/dist/src/modules/espn/shop/view/index.d.ts +0 -2
- package/dist/src/modules/espn/shop/view/index.js +0 -2
- package/dist/src/modules/espn/shop/view-model/ShopViewModel.ShopPolling.d.ts +0 -31
- package/dist/src/modules/espn/shop/view-model/ShopViewModel.ShopPolling.js +0 -111
- package/dist/src/modules/espn/shop/view-model/ShopViewModel.d.ts +0 -73
- package/dist/src/modules/espn/shop/view-model/ShopViewModel.js +0 -323
- package/dist/src/modules/espn/stats/components/TeamStatistic.d.ts +0 -16
- package/dist/src/modules/espn/stats/components/TeamStatistic.js +0 -13
- package/dist/src/modules/espn/stats/interfaces/IStats.d.ts +0 -330
- package/dist/src/modules/espn/stats/interfaces/IStats.js +0 -46
- package/dist/src/modules/espn/stats/interfaces/IStatsViewModel.d.ts +0 -7
- package/dist/src/modules/espn/stats/interfaces/IStatsViewModel.js +0 -1
- package/dist/src/modules/espn/stats/mocks.d.ts +0 -2
- package/dist/src/modules/espn/stats/mocks.js +0 -746
- package/dist/src/modules/espn/stats/services/StatsService.d.ts +0 -54
- package/dist/src/modules/espn/stats/services/StatsService.js +0 -155
- package/dist/src/modules/espn/stats/utils/driveSummaryUtils.d.ts +0 -18
- package/dist/src/modules/espn/stats/utils/driveSummaryUtils.js +0 -48
- package/dist/src/modules/espn/stats/utils/playerStatusUtils.d.ts +0 -4
- package/dist/src/modules/espn/stats/utils/playerStatusUtils.js +0 -17
- package/dist/src/modules/espn/stats/utils.d.ts +0 -39
- package/dist/src/modules/espn/stats/utils.js +0 -62
- package/dist/src/modules/espn/stats/view/ActiveAthletes/ActiveAthletes.d.ts +0 -22
- package/dist/src/modules/espn/stats/view/ActiveAthletes/ActiveAthletes.js +0 -98
- package/dist/src/modules/espn/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.d.ts +0 -4
- package/dist/src/modules/espn/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.js +0 -27
- package/dist/src/modules/espn/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.d.ts +0 -22
- package/dist/src/modules/espn/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.js +0 -89
- package/dist/src/modules/espn/stats/view/ActiveAthletes/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/ActiveAthletes/index.js +0 -2
- package/dist/src/modules/espn/stats/view/CareerMatchup/CareerMatchup.d.ts +0 -101
- package/dist/src/modules/espn/stats/view/CareerMatchup/CareerMatchup.js +0 -59
- package/dist/src/modules/espn/stats/view/CareerMatchup/index.d.ts +0 -1
- package/dist/src/modules/espn/stats/view/CareerMatchup/index.js +0 -1
- package/dist/src/modules/espn/stats/view/DriveSummary/DrivePlayCard.d.ts +0 -105
- package/dist/src/modules/espn/stats/view/DriveSummary/DrivePlayCard.js +0 -32
- package/dist/src/modules/espn/stats/view/DriveSummary/DriveSummary.d.ts +0 -10
- package/dist/src/modules/espn/stats/view/DriveSummary/DriveSummary.js +0 -40
- package/dist/src/modules/espn/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.d.ts +0 -27
- package/dist/src/modules/espn/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.js +0 -129
- package/dist/src/modules/espn/stats/view/DriveSummary/Header/DriveSummaryHeader.d.ts +0 -12
- package/dist/src/modules/espn/stats/view/DriveSummary/Header/DriveSummaryHeader.js +0 -26
- package/dist/src/modules/espn/stats/view/DriveSummary/MainStat/MainStat.d.ts +0 -10
- package/dist/src/modules/espn/stats/view/DriveSummary/MainStat/MainStat.js +0 -24
- package/dist/src/modules/espn/stats/view/DriveSummary/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/DriveSummary/index.js +0 -2
- package/dist/src/modules/espn/stats/view/GameLeaders/GameLeaders.d.ts +0 -9
- package/dist/src/modules/espn/stats/view/GameLeaders/GameLeaders.js +0 -22
- package/dist/src/modules/espn/stats/view/GameLeaders/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/GameLeaders/index.js +0 -2
- package/dist/src/modules/espn/stats/view/MatchPredictor/DonutChart/DonutChart.d.ts +0 -17
- package/dist/src/modules/espn/stats/view/MatchPredictor/DonutChart/DonutChart.js +0 -55
- package/dist/src/modules/espn/stats/view/MatchPredictor/DonutChart/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/MatchPredictor/DonutChart/index.js +0 -1
- package/dist/src/modules/espn/stats/view/MatchPredictor/MatchPredictorView.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/MatchPredictor/MatchPredictorView.js +0 -60
- package/dist/src/modules/espn/stats/view/MatchPredictor/index.d.ts +0 -3
- package/dist/src/modules/espn/stats/view/MatchPredictor/index.js +0 -2
- package/dist/src/modules/espn/stats/view/Penalties/Penalties.d.ts +0 -9
- package/dist/src/modules/espn/stats/view/Penalties/Penalties.js +0 -6
- package/dist/src/modules/espn/stats/view/Penalties/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/Penalties/index.js +0 -2
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/ExpandedPlayerStats.d.ts +0 -16
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/ExpandedPlayerStats.js +0 -66
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsCard.d.ts +0 -99
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsCard.js +0 -26
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsMinified.d.ts +0 -6
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsMinified.js +0 -17
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsView.d.ts +0 -8
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/PlayerSeasonStatsView.js +0 -165
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/index.d.ts +0 -1
- package/dist/src/modules/espn/stats/view/PlayerSeasonStats/index.js +0 -1
- package/dist/src/modules/espn/stats/view/RecentGames/RecentGames.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/RecentGames/RecentGames.js +0 -23
- package/dist/src/modules/espn/stats/view/RecentGames/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/RecentGames/index.js +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.d.ts +0 -30
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.js +0 -123
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/ExpandedSummary.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/ExpandedSummary.js +0 -24
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ExpandedScores/index.js +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoreItem/ScoreItem.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoreItem/ScoreItem.js +0 -62
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoreItem/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoreItem/index.js +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoresSection/ScoresSection.d.ts +0 -6
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoresSection/ScoresSection.js +0 -23
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoresSection/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoresSection/index.js +0 -2
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoringSummary.d.ts +0 -12
- package/dist/src/modules/espn/stats/view/ScoringSummary/ScoringSummary.js +0 -167
- package/dist/src/modules/espn/stats/view/ScoringSummary/index.d.ts +0 -1
- package/dist/src/modules/espn/stats/view/ScoringSummary/index.js +0 -1
- package/dist/src/modules/espn/stats/view/StatsItemView.d.ts +0 -8
- package/dist/src/modules/espn/stats/view/StatsItemView.js +0 -66
- package/dist/src/modules/espn/stats/view/StatsQRCode/StatsQRCodeView.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/StatsQRCode/StatsQRCodeView.js +0 -36
- package/dist/src/modules/espn/stats/view/StatsQRCode/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/StatsQRCode/index.js +0 -1
- package/dist/src/modules/espn/stats/view/StatsView.d.ts +0 -29
- package/dist/src/modules/espn/stats/view/StatsView.js +0 -164
- package/dist/src/modules/espn/stats/view/TeamStats/TeamStatsView.d.ts +0 -101
- package/dist/src/modules/espn/stats/view/TeamStats/TeamStatsView.js +0 -77
- package/dist/src/modules/espn/stats/view/TeamStats/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/TeamStats/index.js +0 -1
- package/dist/src/modules/espn/stats/view/Teams/StatsCarousel.d.ts +0 -25
- package/dist/src/modules/espn/stats/view/Teams/StatsCarousel.js +0 -83
- package/dist/src/modules/espn/stats/view/Teams/StatsProgressBar.d.ts +0 -6
- package/dist/src/modules/espn/stats/view/Teams/StatsProgressBar.js +0 -19
- package/dist/src/modules/espn/stats/view/Teams/Teams.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/Teams/Teams.js +0 -39
- package/dist/src/modules/espn/stats/view/Teams/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/Teams/index.js +0 -2
- package/dist/src/modules/espn/stats/view/WinProbability/WinProbability.d.ts +0 -100
- package/dist/src/modules/espn/stats/view/WinProbability/WinProbability.js +0 -28
- package/dist/src/modules/espn/stats/view/WinProbability/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/WinProbability/index.js +0 -2
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/AthletesStatistics.d.ts +0 -115
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/AthletesStatistics.js +0 -89
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/StatisticTable.d.ts +0 -3
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/StatisticTable.js +0 -12
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/components/AthletesStatistics/index.js +0 -2
- package/dist/src/modules/espn/stats/view/index.d.ts +0 -2
- package/dist/src/modules/espn/stats/view/index.js +0 -2
- package/dist/src/modules/espn/stats/view-model/StatsViewModel.d.ts +0 -322
- package/dist/src/modules/espn/stats/view-model/StatsViewModel.js +0 -1416
- package/dist/src/modules/fox/components/TabLoadError/TabLoadError.d.ts +0 -96
- package/dist/src/modules/fox/components/TabLoadError/TabLoadError.js +0 -19
- package/dist/src/modules/fox/components/TabLoadError/index.d.ts +0 -2
- package/dist/src/modules/fox/components/TabLoadError/index.js +0 -2
- package/dist/src/modules/fox/key-plays/view/FoxKeyPlays.d.ts +0 -2
- package/dist/src/modules/fox/key-plays/view/FoxKeyPlays.js +0 -5
- package/dist/src/modules/fox/multi-view/interfaces/IMultiViewViewModel.d.ts +0 -3
- package/dist/src/modules/fox/multi-view/interfaces/IMultiViewViewModel.js +0 -1
- package/dist/src/modules/fox/multi-view/services/MultiViewService.d.ts +0 -104
- package/dist/src/modules/fox/multi-view/services/MultiViewService.js +0 -97
- package/dist/src/modules/fox/multi-view/types.d.ts +0 -68
- package/dist/src/modules/fox/multi-view/types.js +0 -86
- package/dist/src/modules/fox/multi-view/view/BuildYourOwn/BuildYourOwn.d.ts +0 -7
- package/dist/src/modules/fox/multi-view/view/BuildYourOwn/BuildYourOwn.js +0 -99
- package/dist/src/modules/fox/multi-view/view/BuildYourOwn/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/BuildYourOwn/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/CuratedMultiviews.d.ts +0 -8
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/CuratedMultiviews.js +0 -92
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view/FoxMultiView.d.ts +0 -3
- package/dist/src/modules/fox/multi-view/view/FoxMultiView.js +0 -68
- package/dist/src/modules/fox/multi-view/view/components/BuildYourOwnTabs/BuildYourOwnTabs.d.ts +0 -8
- package/dist/src/modules/fox/multi-view/view/components/BuildYourOwnTabs/BuildYourOwnTabs.js +0 -30
- package/dist/src/modules/fox/multi-view/view/components/BuildYourOwnTabs/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/components/BuildYourOwnTabs/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/CustomMultiviewStreamsCard.d.ts +0 -118
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/CustomMultiviewStreamsCard.js +0 -51
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/LayoutSelector.d.ts +0 -13
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/LayoutSelector.js +0 -40
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/CuratedMultiviewCard.d.ts +0 -101
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/CuratedMultiviewCard.js +0 -41
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/index.d.ts +0 -2
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/index.js +0 -2
- package/dist/src/modules/fox/multi-view/view-model/MultiViewViewModel.d.ts +0 -84
- package/dist/src/modules/fox/multi-view/view-model/MultiViewViewModel.js +0 -509
- package/dist/src/modules/fox/multi-view/view-model/index.d.ts +0 -1
- package/dist/src/modules/fox/multi-view/view-model/index.js +0 -1
- package/dist/src/modules/fox/stats/view/FoxStatsView.d.ts +0 -2
- package/dist/src/modules/fox/stats/view/FoxStatsView.js +0 -5
- package/dist/src/modules/maestro/builder/components/BuilderSection/BuilderSection.d.ts +0 -11
- package/dist/src/modules/maestro/builder/components/BuilderSection/BuilderSection.js +0 -52
- package/dist/src/modules/maestro/builder/components/BuilderSection/index.d.ts +0 -2
- package/dist/src/modules/maestro/builder/components/BuilderSection/index.js +0 -2
- package/dist/src/modules/maestro/builder/components/ExpandableCard/ExpandableCard.d.ts +0 -110
- package/dist/src/modules/maestro/builder/components/ExpandableCard/ExpandableCard.js +0 -37
- package/dist/src/modules/maestro/builder/components/ExpandableCard/index.d.ts +0 -2
- package/dist/src/modules/maestro/builder/components/ExpandableCard/index.js +0 -2
- package/dist/src/modules/maestro/builder/components/SimpleCard/SimpleCard.d.ts +0 -104
- package/dist/src/modules/maestro/builder/components/SimpleCard/SimpleCard.js +0 -12
- package/dist/src/modules/maestro/builder/components/SimpleCard/index.d.ts +0 -2
- package/dist/src/modules/maestro/builder/components/SimpleCard/index.js +0 -2
- package/dist/src/modules/maestro/builder/index.d.ts +0 -7
- package/dist/src/modules/maestro/builder/index.js +0 -7
- package/dist/src/modules/maestro/builder/mocks/mockBuilderPanel.d.ts +0 -149
- package/dist/src/modules/maestro/builder/mocks/mockBuilderPanel.js +0 -240
- package/dist/src/modules/maestro/builder/types.d.ts +0 -52
- package/dist/src/modules/maestro/builder/types.js +0 -1
- package/dist/src/modules/maestro/builder/view/BuilderPanelView.d.ts +0 -4
- package/dist/src/modules/maestro/builder/view/BuilderPanelView.js +0 -52
- package/dist/src/modules/maestro/builder/view-model/BuilderPanelViewModel.d.ts +0 -40
- package/dist/src/modules/maestro/builder/view-model/BuilderPanelViewModel.js +0 -229
- package/dist/src/modules/maestro/builder/view-model/index.d.ts +0 -1
- package/dist/src/modules/maestro/builder/view-model/index.js +0 -1
- package/dist/src/modules/maestro/hello-world/HelloWorldImage.d.ts +0 -2
- package/dist/src/modules/maestro/hello-world/HelloWorldImage.js +0 -32
- package/dist/src/modules/maestro/hello-world/HelloWorldView.d.ts +0 -11
- package/dist/src/modules/maestro/hello-world/HelloWorldView.js +0 -40
- package/dist/src/modules/maestro/hello-world/index.d.ts +0 -2
- package/dist/src/modules/maestro/hello-world/index.js +0 -2
- package/dist/src/sentry.d.ts +0 -3
- package/dist/src/sentry.js +0 -51
- package/dist/src/services/AnalyticsService/AnalyticsService.d.ts +0 -85
- package/dist/src/services/AnalyticsService/AnalyticsService.js +0 -406
- package/dist/src/services/AnalyticsService/types.d.ts +0 -65
- package/dist/src/services/AnalyticsService/types.js +0 -1
- package/dist/src/services/InsightsService/InsightsPayloadBuilder.d.ts +0 -279
- package/dist/src/services/InsightsService/InsightsPayloadBuilder.js +0 -385
- package/dist/src/services/InsightsService/InsightsService.d.ts +0 -11
- package/dist/src/services/InsightsService/InsightsService.js +0 -74
- package/dist/src/services/NetworkManager/NetworkManager.d.ts +0 -153
- package/dist/src/services/NetworkManager/NetworkManager.js +0 -434
- package/dist/src/services/NetworkManager/errors.d.ts +0 -19
- package/dist/src/services/NetworkManager/errors.js +0 -59
- package/dist/src/services/NetworkManager/types.d.ts +0 -7
- package/dist/src/services/NetworkManager/types.js +0 -1
- package/dist/src/services/StaticService/StaticService.d.ts +0 -20
- package/dist/src/services/StaticService/StaticService.js +0 -86
- package/dist/src/services/StaticService/index.d.ts +0 -2
- package/dist/src/services/StaticService/index.js +0 -2
- package/dist/src/services/StaticService/mocks.d.ts +0 -3
- package/dist/src/services/StaticService/mocks.js +0 -119
- package/dist/src/services/StaticService/types.d.ts +0 -78
- package/dist/src/services/StaticService/types.js +0 -1
- package/dist/src/services/ThemeManager/constants.d.ts +0 -2
- package/dist/src/services/ThemeManager/constants.js +0 -47
- package/dist/src/services/UserSettingsManager.d.ts +0 -63
- package/dist/src/services/UserSettingsManager.js +0 -158
- package/dist/src/test-polyfills.d.ts +0 -1
- package/dist/src/test-polyfills.js +0 -15
- package/dist/src/view-models/MaestroEventViewModel.d.ts +0 -96
- package/dist/src/view-models/MaestroEventViewModel.js +0 -386
- package/dist/src/view-models/PanelManagerViewModel.d.ts +0 -49
- package/dist/src/view-models/PanelManagerViewModel.js +0 -195
- package/dist/src/view-models/ViewModel.d.ts +0 -12
- package/dist/src/view-models/ViewModel.js +0 -32
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{105:function(e,t,n){"use strict";var l=n(32);t.a=l.a},210:function(e,t,n){"use strict";var l=n(6),a=n.n(l),r=n(7),i=n.n(r)()(a.a);i.push([e.i,".hello-world-view {\n text-align: center;\n background: transparent;\n margin-top: 60px;\n}\n\n.hello-world-view[data-has-unlisted='false'] {\n padding: 191px 80px 0 80px;\n}\n\n.hello-world-view .hello-world-image {\n margin-bottom: 32px;\n}\n\n.hello-world-view .title {\n font-weight: 700;\n font-size: 48px;\n line-height: 56px;\n font-family: var(--sdk-font-headline);\n color: var(--sdk-text100);\n text-align: center;\n}\n\n.hello-world-view .subtitle {\n font-weight: 400;\n font-size: 27px;\n line-height: 36px;\n text-align: center;\n margin: 10px 0 16px 0;\n font-family: var(--sdk-font-title);\n color: var(--sdk-text100);\n}\n\n.hello-world-view .unsupported-panels {\n position: relative;\n}\n\n.hello-world-view .unsupported-text {\n font-family: var(--sdk-font-body);\n font-size: 21px;\n line-height: 26px;\n text-align: center;\n color: var(--sdk-text200);\n margin: 0;\n}\n\n.hello-world-view .unsupported-list {\n list-style: none;\n padding: 0;\n margin: 0;\n margin-top: 24px;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.hello-world-view .unsupported-list li {\n padding: 8px 0;\n color: var(--sdk-text100);\n text-align: left;\n}\n\n.hello-world-view .unsupported-list .panel-icon {\n vertical-align: middle;\n display: inline-block;\n margin-right: 8px;\n border-radius: 50%;\n background-color: var(--sdk-surface5);\n width: 40px;\n height: 40px;\n color: var(--sdk-text200);\n position: relative;\n}\n\n.hello-world-view .unsupported-list .panel-icon > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.hello-world-view .unsupported-list .panel-title {\n vertical-align: middle;\n display: inline-block;\n color: var(--sdk-text200);\n}\n","",{version:3,sources:["webpack://./src/modules/maestro/hello-world/HelloWorldView.styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,eAAe;EACf,iBAAiB;EACjB,qCAAqC;EACrC,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,qBAAqB;EACrB,kCAAkC;EAClC,yBAAyB;AAC3B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,iCAAiC;EACjC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,yBAAyB;EACzB,SAAS;AACX;;AAEA;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;EACT,gBAAgB;EAChB,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,cAAc;EACd,yBAAyB;EACzB,gBAAgB;AAClB;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;EACjB,kBAAkB;EAClB,qCAAqC;EACrC,WAAW;EACX,YAAY;EACZ,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,gCAAgC;AAClC;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;EACrB,yBAAyB;AAC3B",sourcesContent:[".hello-world-view {\n text-align: center;\n background: transparent;\n margin-top: 60px;\n}\n\n.hello-world-view[data-has-unlisted='false'] {\n padding: 191px 80px 0 80px;\n}\n\n.hello-world-view .hello-world-image {\n margin-bottom: 32px;\n}\n\n.hello-world-view .title {\n font-weight: 700;\n font-size: 48px;\n line-height: 56px;\n font-family: var(--sdk-font-headline);\n color: var(--sdk-text100);\n text-align: center;\n}\n\n.hello-world-view .subtitle {\n font-weight: 400;\n font-size: 27px;\n line-height: 36px;\n text-align: center;\n margin: 10px 0 16px 0;\n font-family: var(--sdk-font-title);\n color: var(--sdk-text100);\n}\n\n.hello-world-view .unsupported-panels {\n position: relative;\n}\n\n.hello-world-view .unsupported-text {\n font-family: var(--sdk-font-body);\n font-size: 21px;\n line-height: 26px;\n text-align: center;\n color: var(--sdk-text200);\n margin: 0;\n}\n\n.hello-world-view .unsupported-list {\n list-style: none;\n padding: 0;\n margin: 0;\n margin-top: 24px;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.hello-world-view .unsupported-list li {\n padding: 8px 0;\n color: var(--sdk-text100);\n text-align: left;\n}\n\n.hello-world-view .unsupported-list .panel-icon {\n vertical-align: middle;\n display: inline-block;\n margin-right: 8px;\n border-radius: 50%;\n background-color: var(--sdk-surface5);\n width: 40px;\n height: 40px;\n color: var(--sdk-text200);\n position: relative;\n}\n\n.hello-world-view .unsupported-list .panel-icon > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.hello-world-view .unsupported-list .panel-title {\n vertical-align: middle;\n display: inline-block;\n color: var(--sdk-text200);\n}\n"],sourceRoot:""}]),t.a=i},244:function(e,t,n){"use strict";n.r(t);var l=n(0),a=n.n(l),r=n(5),i=n.n(r),o=n(210),s={insert:"head",singleton:!1},A=(i()(o.a,s),o.a.locals,n(8));var d=()=>a.a.createElement("div",{className:"hello-world-image"},a.a.createElement("svg",{width:"376",height:"236",viewBox:"0 0 376 236",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M255.234 212.541H232.178V235.597H255.234V212.541ZM116.898 235.597H139.954V212.541H116.898V235.597ZM197.594 108.789H220.65V154.901H197.594V108.789ZM174.538 154.901H151.482V108.789H174.538V154.901ZM255.234 91.4965H243.706V79.9685H232.178V68.4404H214.886V45.3843H203.358V68.4404H168.774V45.3843H157.246V68.4404H139.954V79.9685H128.426V91.4965H116.898V131.845H93.8414V143.373H116.898V183.721H139.954V212.541H168.774V183.721H203.358V212.541H232.178V183.721H255.234V143.373H278.29V131.845H255.234V91.4965ZM278.29 131.845H289.818V68.4404H278.29V131.845ZM82.3134 131.845H93.8414V68.4404H82.3134V131.845Z",fill:"#2D2D2D"}),a.a.createElement("path",{d:"M262.396 50.3333L246.908 65.8205H262.396V80.7546H346.469V5.53113H262.396V50.3333Z",fill:"#101113",stroke:"#2D2D2D",strokeWidth:"6.63736"}),a.a.createElement("path",{d:"M278.746 57.5037V29.5141H286.311V39.9156H295.616V29.5141H303.18V57.5037H295.616V46.1944H286.311V57.5037H278.746ZM308.634 57.5037V29.5141H316.199V57.5037H308.634ZM323.408 48.1612L321.593 29.5141H331.011L329.195 48.1612H323.408ZM322.387 57.5037V51.0737H330.216V57.5037H322.387Z",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"61.0623",y:"56.4176",width:"8.84982",height:"8.84982",transform:"rotate(-90 61.0623 56.4176)",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"50",y:"42.0366",width:"8.84982",height:"8.84982",transform:"rotate(-90 50 42.0366)",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"69.9121",y:"47.5674",width:"8.84982",height:"8.84982",transform:"rotate(-90 69.9121 47.5674)",fill:"#2D2D2D"}),a.a.createElement("g",{filter:"url(#filter0_d_193_43290)"},a.a.createElement("rect",{width:"8",height:"12",transform:"matrix(4.37114e-08 1 1 -4.37114e-08 82 67)",fill:"#21EFA3"})),a.a.createElement("rect",{x:"58.8499",y:"33.1868",width:"8.84982",height:"8.84982",transform:"rotate(-90 58.8499 33.1868)",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"78.762",y:"47.5677",width:"8.84982",height:"8.84982",transform:"rotate(-90 78.762 47.5677)",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"67.6997",y:"33.1868",width:"8.84982",height:"8.84982",transform:"rotate(-90 67.6997 33.1868)",fill:"#2D2D2D"}),a.a.createElement("rect",{x:"256.865",y:"8.84982",width:"8.84982",height:"8.84982",transform:"rotate(-90 256.865 8.84982)",fill:"#101113"}),a.a.createElement("rect",{x:"343.15",y:"8.84982",width:"8.84982",height:"8.84982",transform:"rotate(-90 343.15 8.84982)",fill:"#101113"}),a.a.createElement("rect",{x:"343.15",y:"86.2857",width:"8.84982",height:"8.84982",transform:"rotate(-90 343.15 86.2857)",fill:"#101113"}),a.a.createElement("rect",{x:"256.865",y:"86.2857",width:"8.84982",height:"8.84982",transform:"rotate(-90 256.865 86.2857)",fill:"#101113"}),a.a.createElement("defs",null,a.a.createElement("filter",{id:"filter0_d_193_43290",x:"64",y:"50",width:"48",height:"44",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.a.createElement("feMorphology",{radius:"3",operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_193_43290"}),a.a.createElement("feOffset",{dy:"1"}),a.a.createElement("feGaussianBlur",{stdDeviation:"7.5"}),a.a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.129412 0 0 0 0 0.937255 0 0 0 0 0.639216 0 0 0 0.25 0"}),a.a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_193_43290"}),a.a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_193_43290",result:"shape"}))))),p=n(105);const c={chat:"Chat",shopifyBlockPanel:"Shopify"};class h extends l.Component{constructor(e){super(e);const t=A.default.getMaestroEventViewModel().panelManagerViewModel;this.state={unlistedPanels:t.getUnlistedPanels()}}render(){const{unlistedPanels:e}=this.state;return a.a.createElement("div",{className:"hello-world-view","data-has-unlisted":e.length>0},a.a.createElement(d,null),a.a.createElement("div",{className:"title"},"HELLO, WORLD!"),a.a.createElement("p",{className:"T20 subtitle"},"Panel component has been",a.a.createElement("br",null),"installed correctly."),e.length>0&&a.a.createElement("div",{className:"unsupported-panels"},a.a.createElement("p",{className:"T10 unsupported-text"},"However, some panels currently active on this",a.a.createElement("br",null),"channel aren't supported on this device:"),a.a.createElement("ul",{className:"unsupported-list"},e.filter(e=>e.type in c).map(e=>a.a.createElement("li",{key:e.type,className:"T10"},a.a.createElement("div",{className:"panel-icon"},a.a.createElement(p.a,{iconName:e.type,width:24,height:24})),a.a.createElement("div",{className:"panel-title"},c[e.type]))))))}}var E=h;t.default=E}}]);
|
|
2
|
-
//# sourceMappingURL=9.maestro-web-sdk.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///./src/components/atoms/SvgIcon/index.ts","webpack:///./src/modules/maestro/hello-world/HelloWorldView.styles.css","webpack:///./src/modules/maestro/hello-world/HelloWorldView.styles.css?6c30","webpack:///./src/modules/maestro/hello-world/HelloWorldImage.tsx","webpack:///./src/modules/maestro/hello-world/HelloWorldView.tsx","webpack:///./src/modules/maestro/hello-world/index.ts"],"names":["Icon","___CSS_LOADER_EXPORT___","push","module","i","options","locals","HelloWorldImage","React","createElement","className","width","height","viewBox","fill","xmlns","d","stroke","strokeWidth","x","y","transform","filter","id","filterUnits","colorInterpolationFilters","floodOpacity","result","in","type","values","radius","operator","dy","stdDeviation","in2","mode","PANEL_TYPE_NAME_MAP","chat","shopifyBlockPanel","HelloWorldView","Component","constructor","props","super","vm","SDK","getMaestroEventViewModel","panelManagerViewModel","this","state","unlistedPanels","getUnlistedPanels","render","data-has-unlisted","length","p","map","panel","key","iconName"],"mappings":"0FAAA,YAEeA,MAAI,G,iCCFnB,2BAGIC,EAHJ,MAG8B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,EAAI,gwDAAiwD,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,yEAAyE,MAAQ,GAAG,SAAW,wvBAAwvB,eAAiB,CAAC,iwDAAiwD,WAAa,MAE76I,O,qFCJXC,EAAU,CAEd,OAAiB,OACjB,WAAoB,G,GAEP,IAAI,IAASA,GAIX,IAAQC,O,MCsJRC,MAhKSA,IAEpBC,IAAAC,cAAA,OAAKC,UAAU,qBACbF,IAAAC,cAAA,OACEE,MAAM,MACNC,OAAO,MACPC,QAAQ,cACRC,KAAK,OACLC,MAAM,8BAENP,IAAAC,cAAA,QACEO,EAAE,slBACFF,KAAK,YAEPN,IAAAC,cAAA,QACEO,EAAE,oFACFF,KAAK,UACLG,OAAO,UACPC,YAAY,YAEdV,IAAAC,cAAA,QACEO,EAAE,sRACFF,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,KACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,yBACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,KAAGa,OAAO,6BACRd,IAAAC,cAAA,QACEE,MAAM,IACNC,OAAO,KACPS,UAAU,6CACVP,KAAK,aAGTN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,SACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,6BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,SACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,6BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,SACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,6BACVP,KAAK,YAEPN,IAAAC,cAAA,QACEU,EAAE,UACFC,EAAE,UACFT,MAAM,UACNC,OAAO,UACPS,UAAU,8BACVP,KAAK,YAEPN,IAAAC,cAAA,YACED,IAAAC,cAAA,UACEc,GAAG,sBACHJ,EAAE,KACFC,EAAE,KACFT,MAAM,KACNC,OAAO,KACPY,YAAY,iBACZC,0BAA0B,QAE1BjB,IAAAC,cAAA,WAASiB,aAAa,IAAIC,OAAO,uBACjCnB,IAAAC,cAAA,iBACEmB,GAAG,cACHC,KAAK,SACLC,OAAO,4CACPH,OAAO,cAETnB,IAAAC,cAAA,gBACEsB,OAAO,IACPC,SAAS,SACTJ,GAAG,cACHD,OAAO,iCAETnB,IAAAC,cAAA,YAAUwB,GAAG,MACbzB,IAAAC,cAAA,kBAAgByB,aAAa,QAC7B1B,IAAAC,cAAA,eAAa0B,IAAI,YAAYH,SAAS,QACtCxB,IAAAC,cAAA,iBACEoB,KAAK,SACLC,OAAO,oEAETtB,IAAAC,cAAA,WACE2B,KAAK,SACLD,IAAI,qBACJR,OAAO,iCAETnB,IAAAC,cAAA,WACE2B,KAAK,SACLR,GAAG,gBACHO,IAAI,+BACJR,OAAO,c,SC9IrB,MAAMU,EAAsB,CAC1BC,KAAM,OACNC,kBAAmB,WAGrB,MAAMC,UAAuBC,YAC3BC,YAAYC,GACVC,MAAMD,GACN,MAAME,EAAKC,UAAIC,2BAA2BC,sBAC1CC,KAAKC,MAAQ,CACXC,eAAgBN,EAAGO,qBAIvBC,SACE,MAAM,eAAEF,GAAmBF,KAAKC,MAEhC,OACE1C,IAAAC,cAAA,OACEC,UAAU,mBACV4C,oBAAmBH,EAAeI,OAAS,GAE3C/C,IAAAC,cAACF,EAAe,MAChBC,IAAAC,cAAA,OAAKC,UAAU,SAAQ,iBACvBF,IAAAC,cAAA,KAAGC,UAAU,gBAAe,2BAE1BF,IAAAC,cAAA,WAAM,wBAIP0C,EAAeI,OAAS,GACvB/C,IAAAC,cAAA,OAAKC,UAAU,sBACbF,IAAAC,cAAA,KAAGC,UAAU,wBAAuB,gDAElCF,IAAAC,cAAA,WACC,4CAEHD,IAAAC,cAAA,MAAIC,UAAU,oBACXyC,EACE7B,OAAQkC,GAAMA,EAAE3B,QAAQQ,GACxBoB,IAAKC,GACJlD,IAAAC,cAAA,MAAIkD,IAAKD,EAAM7B,KAAMnB,UAAU,OAC7BF,IAAAC,cAAA,OAAKC,UAAU,cACbF,IAAAC,cAACT,IAAI,CAAC4D,SAAUF,EAAM7B,KAAMlB,MAAO,GAAIC,OAAQ,MAEjDJ,IAAAC,cAAA,OAAKC,UAAU,eAEX2B,EACEqB,EAAM7B,aAcjBW,QCvEAA","file":"9.maestro-web-sdk.esm.js","sourcesContent":["import Icon from './Icon';\n\nexport default Icon;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".hello-world-view {\\n text-align: center;\\n background: transparent;\\n margin-top: 60px;\\n}\\n\\n.hello-world-view[data-has-unlisted='false'] {\\n padding: 191px 80px 0 80px;\\n}\\n\\n.hello-world-view .hello-world-image {\\n margin-bottom: 32px;\\n}\\n\\n.hello-world-view .title {\\n font-weight: 700;\\n font-size: 48px;\\n line-height: 56px;\\n font-family: var(--sdk-font-headline);\\n color: var(--sdk-text100);\\n text-align: center;\\n}\\n\\n.hello-world-view .subtitle {\\n font-weight: 400;\\n font-size: 27px;\\n line-height: 36px;\\n text-align: center;\\n margin: 10px 0 16px 0;\\n font-family: var(--sdk-font-title);\\n color: var(--sdk-text100);\\n}\\n\\n.hello-world-view .unsupported-panels {\\n position: relative;\\n}\\n\\n.hello-world-view .unsupported-text {\\n font-family: var(--sdk-font-body);\\n font-size: 21px;\\n line-height: 26px;\\n text-align: center;\\n color: var(--sdk-text200);\\n margin: 0;\\n}\\n\\n.hello-world-view .unsupported-list {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n margin-top: 24px;\\n position: absolute;\\n left: 50%;\\n transform: translateX(-50%);\\n}\\n\\n.hello-world-view .unsupported-list li {\\n padding: 8px 0;\\n color: var(--sdk-text100);\\n text-align: left;\\n}\\n\\n.hello-world-view .unsupported-list .panel-icon {\\n vertical-align: middle;\\n display: inline-block;\\n margin-right: 8px;\\n border-radius: 50%;\\n background-color: var(--sdk-surface5);\\n width: 40px;\\n height: 40px;\\n color: var(--sdk-text200);\\n position: relative;\\n}\\n\\n.hello-world-view .unsupported-list .panel-icon > svg {\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n}\\n\\n.hello-world-view .unsupported-list .panel-title {\\n vertical-align: middle;\\n display: inline-block;\\n color: var(--sdk-text200);\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/modules/maestro/hello-world/HelloWorldView.styles.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,kBAAkB;EAClB,uBAAuB;EACvB,gBAAgB;AAClB;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,eAAe;EACf,iBAAiB;EACjB,qCAAqC;EACrC,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,qBAAqB;EACrB,kCAAkC;EAClC,yBAAyB;AAC3B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,iCAAiC;EACjC,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,yBAAyB;EACzB,SAAS;AACX;;AAEA;EACE,gBAAgB;EAChB,UAAU;EACV,SAAS;EACT,gBAAgB;EAChB,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,cAAc;EACd,yBAAyB;EACzB,gBAAgB;AAClB;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;EACjB,kBAAkB;EAClB,qCAAqC;EACrC,WAAW;EACX,YAAY;EACZ,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,gCAAgC;AAClC;;AAEA;EACE,sBAAsB;EACtB,qBAAqB;EACrB,yBAAyB;AAC3B\",\"sourcesContent\":[\".hello-world-view {\\n text-align: center;\\n background: transparent;\\n margin-top: 60px;\\n}\\n\\n.hello-world-view[data-has-unlisted='false'] {\\n padding: 191px 80px 0 80px;\\n}\\n\\n.hello-world-view .hello-world-image {\\n margin-bottom: 32px;\\n}\\n\\n.hello-world-view .title {\\n font-weight: 700;\\n font-size: 48px;\\n line-height: 56px;\\n font-family: var(--sdk-font-headline);\\n color: var(--sdk-text100);\\n text-align: center;\\n}\\n\\n.hello-world-view .subtitle {\\n font-weight: 400;\\n font-size: 27px;\\n line-height: 36px;\\n text-align: center;\\n margin: 10px 0 16px 0;\\n font-family: var(--sdk-font-title);\\n color: var(--sdk-text100);\\n}\\n\\n.hello-world-view .unsupported-panels {\\n position: relative;\\n}\\n\\n.hello-world-view .unsupported-text {\\n font-family: var(--sdk-font-body);\\n font-size: 21px;\\n line-height: 26px;\\n text-align: center;\\n color: var(--sdk-text200);\\n margin: 0;\\n}\\n\\n.hello-world-view .unsupported-list {\\n list-style: none;\\n padding: 0;\\n margin: 0;\\n margin-top: 24px;\\n position: absolute;\\n left: 50%;\\n transform: translateX(-50%);\\n}\\n\\n.hello-world-view .unsupported-list li {\\n padding: 8px 0;\\n color: var(--sdk-text100);\\n text-align: left;\\n}\\n\\n.hello-world-view .unsupported-list .panel-icon {\\n vertical-align: middle;\\n display: inline-block;\\n margin-right: 8px;\\n border-radius: 50%;\\n background-color: var(--sdk-surface5);\\n width: 40px;\\n height: 40px;\\n color: var(--sdk-text200);\\n position: relative;\\n}\\n\\n.hello-world-view .unsupported-list .panel-icon > svg {\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n}\\n\\n.hello-world-view .unsupported-list .panel-title {\\n vertical-align: middle;\\n display: inline-block;\\n color: var(--sdk-text200);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import api from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../node_modules/css-loader/dist/cjs.js??ref--6-1!./HelloWorldView.styles.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import React from 'react';\n\nconst HelloWorldImage = () => {\n return (\n <div className=\"hello-world-image\">\n <svg\n width=\"376\"\n height=\"236\"\n viewBox=\"0 0 376 236\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M255.234 212.541H232.178V235.597H255.234V212.541ZM116.898 235.597H139.954V212.541H116.898V235.597ZM197.594 108.789H220.65V154.901H197.594V108.789ZM174.538 154.901H151.482V108.789H174.538V154.901ZM255.234 91.4965H243.706V79.9685H232.178V68.4404H214.886V45.3843H203.358V68.4404H168.774V45.3843H157.246V68.4404H139.954V79.9685H128.426V91.4965H116.898V131.845H93.8414V143.373H116.898V183.721H139.954V212.541H168.774V183.721H203.358V212.541H232.178V183.721H255.234V143.373H278.29V131.845H255.234V91.4965ZM278.29 131.845H289.818V68.4404H278.29V131.845ZM82.3134 131.845H93.8414V68.4404H82.3134V131.845Z\"\n fill=\"#2D2D2D\"\n />\n <path\n d=\"M262.396 50.3333L246.908 65.8205H262.396V80.7546H346.469V5.53113H262.396V50.3333Z\"\n fill=\"#101113\"\n stroke=\"#2D2D2D\"\n strokeWidth=\"6.63736\"\n />\n <path\n d=\"M278.746 57.5037V29.5141H286.311V39.9156H295.616V29.5141H303.18V57.5037H295.616V46.1944H286.311V57.5037H278.746ZM308.634 57.5037V29.5141H316.199V57.5037H308.634ZM323.408 48.1612L321.593 29.5141H331.011L329.195 48.1612H323.408ZM322.387 57.5037V51.0737H330.216V57.5037H322.387Z\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"61.0623\"\n y=\"56.4176\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 61.0623 56.4176)\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"50\"\n y=\"42.0366\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 50 42.0366)\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"69.9121\"\n y=\"47.5674\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 69.9121 47.5674)\"\n fill=\"#2D2D2D\"\n />\n <g filter=\"url(#filter0_d_193_43290)\">\n <rect\n width=\"8\"\n height=\"12\"\n transform=\"matrix(4.37114e-08 1 1 -4.37114e-08 82 67)\"\n fill=\"#21EFA3\"\n />\n </g>\n <rect\n x=\"58.8499\"\n y=\"33.1868\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 58.8499 33.1868)\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"78.762\"\n y=\"47.5677\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 78.762 47.5677)\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"67.6997\"\n y=\"33.1868\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 67.6997 33.1868)\"\n fill=\"#2D2D2D\"\n />\n <rect\n x=\"256.865\"\n y=\"8.84982\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 256.865 8.84982)\"\n fill=\"#101113\"\n />\n <rect\n x=\"343.15\"\n y=\"8.84982\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 343.15 8.84982)\"\n fill=\"#101113\"\n />\n <rect\n x=\"343.15\"\n y=\"86.2857\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 343.15 86.2857)\"\n fill=\"#101113\"\n />\n <rect\n x=\"256.865\"\n y=\"86.2857\"\n width=\"8.84982\"\n height=\"8.84982\"\n transform=\"rotate(-90 256.865 86.2857)\"\n fill=\"#101113\"\n />\n <defs>\n <filter\n id=\"filter0_d_193_43290\"\n x=\"64\"\n y=\"50\"\n width=\"48\"\n height=\"44\"\n filterUnits=\"userSpaceOnUse\"\n colorInterpolationFilters=\"sRGB\"\n >\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n <feColorMatrix\n in=\"SourceAlpha\"\n type=\"matrix\"\n values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n result=\"hardAlpha\"\n />\n <feMorphology\n radius=\"3\"\n operator=\"dilate\"\n in=\"SourceAlpha\"\n result=\"effect1_dropShadow_193_43290\"\n />\n <feOffset dy=\"1\" />\n <feGaussianBlur stdDeviation=\"7.5\" />\n <feComposite in2=\"hardAlpha\" operator=\"out\" />\n <feColorMatrix\n type=\"matrix\"\n values=\"0 0 0 0 0.129412 0 0 0 0 0.937255 0 0 0 0 0.639216 0 0 0 0.25 0\"\n />\n <feBlend\n mode=\"normal\"\n in2=\"BackgroundImageFix\"\n result=\"effect1_dropShadow_193_43290\"\n />\n <feBlend\n mode=\"normal\"\n in=\"SourceGraphic\"\n in2=\"effect1_dropShadow_193_43290\"\n result=\"shape\"\n />\n </filter>\n </defs>\n </svg>\n </div>\n );\n};\n\nexport default HelloWorldImage;\n","import React, { Component } from 'react';\nimport './HelloWorldView.styles.css';\nimport SDK from '@/index';\nimport { PanelInfo } from '@/view-models/PanelManagerViewModel';\nimport HelloWorldImage from './HelloWorldImage';\nimport Icon from '@/components/atoms/SvgIcon';\n\ntype State = {\n unlistedPanels: PanelInfo[];\n};\n\nconst PANEL_TYPE_NAME_MAP = {\n chat: 'Chat',\n shopifyBlockPanel: 'Shopify',\n} as const;\n\nclass HelloWorldView extends Component<{}, State> {\n constructor(props: {}) {\n super(props);\n const vm = SDK.getMaestroEventViewModel().panelManagerViewModel;\n this.state = {\n unlistedPanels: vm.getUnlistedPanels(),\n };\n }\n\n render() {\n const { unlistedPanels } = this.state;\n\n return (\n <div\n className=\"hello-world-view\"\n data-has-unlisted={unlistedPanels.length > 0}\n >\n <HelloWorldImage />\n <div className=\"title\">HELLO, WORLD!</div>\n <p className=\"T20 subtitle\">\n Panel component has been\n <br />\n installed correctly.\n </p>\n\n {unlistedPanels.length > 0 && (\n <div className=\"unsupported-panels\">\n <p className=\"T10 unsupported-text\">\n However, some panels currently active on this\n <br />\n {\"channel aren't supported on this device:\"}\n </p>\n <ul className=\"unsupported-list\">\n {unlistedPanels\n .filter((p) => p.type in PANEL_TYPE_NAME_MAP)\n .map((panel) => (\n <li key={panel.type} className=\"T10\">\n <div className=\"panel-icon\">\n <Icon iconName={panel.type} width={24} height={24} />\n </div>\n <div className=\"panel-title\">\n {\n PANEL_TYPE_NAME_MAP[\n panel.type as keyof typeof PANEL_TYPE_NAME_MAP\n ]\n }\n </div>\n </li>\n ))}\n </ul>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default HelloWorldView;\n","import HelloWorldView from './HelloWorldView';\n\nexport default HelloWorldView;\n"],"sourceRoot":""}
|
package/dist/package.json
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@maestro_io/maestro-web-sdk",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "5.2.1",
|
|
5
|
-
"type": "commonjs",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "dist/maestro-web-sdk.umd.js",
|
|
8
|
-
"module": "dist/maestro-web-sdk.esm.js",
|
|
9
|
-
"types": "dist/index.d.ts",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"exports": {
|
|
14
|
-
".": {
|
|
15
|
-
"import": "./dist/maestro-web-sdk.esm.js",
|
|
16
|
-
"require": "./dist/maestro-web-sdk.umd.js",
|
|
17
|
-
"types": "./dist/index.d.ts"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"sideEffects": [
|
|
21
|
-
"*.css"
|
|
22
|
-
],
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": ">=10"
|
|
25
|
-
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev": "nodemon",
|
|
28
|
-
"sdk-only": "webpack-dev-server --config webpack/webpack.dev.js",
|
|
29
|
-
"lint": "eslint src --ext .ts,.tsx --ignore-pattern '**/*.test.*'",
|
|
30
|
-
"test": "jest",
|
|
31
|
-
"build": "webpack --config webpack/webpack.prod.js && tsc --emitDeclarationOnly --declarationDir dist/types && dts-bundle --name @maestro_io/maestro-web-sdk --main dist/types/src/index.d.ts --out ../../index.d.ts && rm -rf dist/types",
|
|
32
|
-
"types": "tsc -b",
|
|
33
|
-
"analyze": "ANALYZE=true webpack --config webpack/webpack.prod.js",
|
|
34
|
-
"format": "prettier --write .",
|
|
35
|
-
"format:check": "prettier --check ."
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@babel/core": "7.12.3",
|
|
39
|
-
"@babel/plugin-proposal-class-properties": "7.12.1",
|
|
40
|
-
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
41
|
-
"@babel/preset-env": "7.12.1",
|
|
42
|
-
"@babel/preset-react": "7.12.1",
|
|
43
|
-
"@babel/preset-typescript": "7.12.1",
|
|
44
|
-
"@types/enzyme-adapter-react-16": "^1.0.6",
|
|
45
|
-
"@types/jest": "24.0.25",
|
|
46
|
-
"@types/node": "10",
|
|
47
|
-
"@types/prop-types": "^15.7.10",
|
|
48
|
-
"@types/react": "16.14.34",
|
|
49
|
-
"@types/react-dom": "16.9.18",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "2.34.0",
|
|
51
|
-
"@typescript-eslint/parser": "2.34.0",
|
|
52
|
-
"babel-jest": "26.6.3",
|
|
53
|
-
"babel-loader": "8",
|
|
54
|
-
"css-loader": "5",
|
|
55
|
-
"dts-bundle": "^0.7.3",
|
|
56
|
-
"enzyme": "3.11.0",
|
|
57
|
-
"enzyme-adapter-react-16": "1.15.7",
|
|
58
|
-
"eslint": "6.8.0",
|
|
59
|
-
"eslint-config-prettier": "6.0.0",
|
|
60
|
-
"eslint-plugin-react": "7.20.0",
|
|
61
|
-
"file-loader": "^6.2.0",
|
|
62
|
-
"globals": "^10",
|
|
63
|
-
"html-webpack-plugin": "4",
|
|
64
|
-
"husky": "^6.0.0",
|
|
65
|
-
"identity-obj-proxy": "^3.0.0",
|
|
66
|
-
"jest": "26.6.3",
|
|
67
|
-
"nodemon": "^3.1.9",
|
|
68
|
-
"prettier": "2.0.5",
|
|
69
|
-
"react-test-renderer": "16.14.0",
|
|
70
|
-
"style-loader": "2",
|
|
71
|
-
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
72
|
-
"typescript": "^4",
|
|
73
|
-
"webpack": "4",
|
|
74
|
-
"webpack-bundle-analyzer": "3.9.0",
|
|
75
|
-
"webpack-cli": "3.3.12",
|
|
76
|
-
"webpack-dev-server": "3.11.2"
|
|
77
|
-
},
|
|
78
|
-
"dependencies": {
|
|
79
|
-
"@sentry/browser": "7.68.0",
|
|
80
|
-
"axios": "^0.27.2",
|
|
81
|
-
"prop-types": "15.8.1",
|
|
82
|
-
"react": "16.14.0",
|
|
83
|
-
"react-dom": "16.14.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependencies": {
|
|
86
|
-
"react": "^16.0.0",
|
|
87
|
-
"react-dom": "^16.0.0"
|
|
88
|
-
},
|
|
89
|
-
"resolutions": {
|
|
90
|
-
"sockjs-client": "1.5.1",
|
|
91
|
-
"cheerio": "0.22.0",
|
|
92
|
-
"@sentry/replay": "0.6.14"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './BaseButton.styles.css';
|
|
3
|
-
import FocusableItem from '@/components/core/ScrollableContainer/FocusableItem';
|
|
4
|
-
class BaseButton extends React.Component {
|
|
5
|
-
render() {
|
|
6
|
-
const className = ['base-button', this.props.className].join(' ');
|
|
7
|
-
return (React.createElement(FocusableItem, null,
|
|
8
|
-
React.createElement("button", { ...this.props, className: className }, this.props.children)));
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export default BaseButton;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ImgHTMLAttributes } from 'react';
|
|
3
|
-
interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
4
|
-
}
|
|
5
|
-
declare class Image extends React.Component<ImageProps> {
|
|
6
|
-
state: {
|
|
7
|
-
failed: boolean;
|
|
8
|
-
};
|
|
9
|
-
constructor(props: ImageProps);
|
|
10
|
-
handleError: () => void;
|
|
11
|
-
render(): JSX.Element | null;
|
|
12
|
-
}
|
|
13
|
-
export default Image;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
class Image extends React.Component {
|
|
3
|
-
constructor(props) {
|
|
4
|
-
super(props);
|
|
5
|
-
Object.defineProperty(this, "state", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true,
|
|
9
|
-
value: {
|
|
10
|
-
failed: false,
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(this, "handleError", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
configurable: true,
|
|
16
|
-
writable: true,
|
|
17
|
-
value: () => {
|
|
18
|
-
this.setState({ failed: true });
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
if (this.state.failed) {
|
|
24
|
-
console.warn('Image failed to load:', this.props.src);
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
if (!this.props.src) {
|
|
28
|
-
console.warn('Image source is empty');
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
return (React.createElement("img", { alt: this.props.alt || 'Image', ...this.props, onError: this.handleError }));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export default Image;
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
/// <reference types="prop-types" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { WithFocusableProps } from '@/external/spatial-navigation';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
new (props: (React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
6
|
-
id: string;
|
|
7
|
-
autoFocus: boolean;
|
|
8
|
-
autoPlay: boolean;
|
|
9
|
-
src: string;
|
|
10
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
11
|
-
} & WithFocusableProps) | Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
12
|
-
id: string;
|
|
13
|
-
autoFocus: boolean;
|
|
14
|
-
autoPlay: boolean;
|
|
15
|
-
src: string;
|
|
16
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
17
|
-
} & WithFocusableProps>): {
|
|
18
|
-
state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
|
|
19
|
-
navigation: import("../../../external/spatial-navigation/spatialNavigation").default;
|
|
20
|
-
getChildContext(): {
|
|
21
|
-
parentFocusKey: string;
|
|
22
|
-
};
|
|
23
|
-
setFocus: (focusKey: string) => void;
|
|
24
|
-
navigateByDirection: (direction: import("../../../external/spatial-navigation/utils").Direction, details?: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
25
|
-
stealFocus: () => void;
|
|
26
|
-
onUpdateFocus: (focused: boolean) => void;
|
|
27
|
-
onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
|
|
28
|
-
onEnterPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
29
|
-
onClickPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
30
|
-
onEnterReleaseHandler: () => void;
|
|
31
|
-
onBackPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
32
|
-
onArrowPressHandler: (direction: import("../../../external/spatial-navigation/utils").Direction, details: import("../../../external/spatial-navigation/utils").Details) => boolean | void;
|
|
33
|
-
onBecameFocusedHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
34
|
-
onBecameBlurredHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
35
|
-
componentDidMount(): void;
|
|
36
|
-
componentDidUpdate(): void;
|
|
37
|
-
componentWillUnmount(): void;
|
|
38
|
-
render(): React.ReactElement<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
39
|
-
id: string;
|
|
40
|
-
autoFocus: boolean;
|
|
41
|
-
autoPlay: boolean;
|
|
42
|
-
src: string;
|
|
43
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
44
|
-
} & WithFocusableProps, string | React.JSXElementConstructor<any>>;
|
|
45
|
-
context: any;
|
|
46
|
-
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<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
47
|
-
id: string;
|
|
48
|
-
autoFocus: boolean;
|
|
49
|
-
autoPlay: boolean;
|
|
50
|
-
src: string;
|
|
51
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
52
|
-
} & 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;
|
|
53
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
54
|
-
readonly props: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
55
|
-
id: string;
|
|
56
|
-
autoFocus: boolean;
|
|
57
|
-
autoPlay: boolean;
|
|
58
|
-
src: string;
|
|
59
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
60
|
-
} & WithFocusableProps> & Readonly<{
|
|
61
|
-
children?: React.ReactNode;
|
|
62
|
-
}>;
|
|
63
|
-
refs: {
|
|
64
|
-
[key: string]: React.ReactInstance;
|
|
65
|
-
};
|
|
66
|
-
shouldComponentUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
67
|
-
id: string;
|
|
68
|
-
autoFocus: boolean;
|
|
69
|
-
autoPlay: boolean;
|
|
70
|
-
src: string;
|
|
71
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
72
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
|
|
73
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
74
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
75
|
-
id: string;
|
|
76
|
-
autoFocus: boolean;
|
|
77
|
-
autoPlay: boolean;
|
|
78
|
-
src: string;
|
|
79
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
80
|
-
} & WithFocusableProps>, prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
|
|
81
|
-
componentWillMount?(): void;
|
|
82
|
-
UNSAFE_componentWillMount?(): void;
|
|
83
|
-
componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
84
|
-
id: string;
|
|
85
|
-
autoFocus: boolean;
|
|
86
|
-
autoPlay: boolean;
|
|
87
|
-
src: string;
|
|
88
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
89
|
-
} & WithFocusableProps>, nextContext: any): void;
|
|
90
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
91
|
-
id: string;
|
|
92
|
-
autoFocus: boolean;
|
|
93
|
-
autoPlay: boolean;
|
|
94
|
-
src: string;
|
|
95
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
96
|
-
} & WithFocusableProps>, nextContext: any): void;
|
|
97
|
-
componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
98
|
-
id: string;
|
|
99
|
-
autoFocus: boolean;
|
|
100
|
-
autoPlay: boolean;
|
|
101
|
-
src: string;
|
|
102
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
103
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
|
|
104
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
105
|
-
id: string;
|
|
106
|
-
autoFocus: boolean;
|
|
107
|
-
autoPlay: boolean;
|
|
108
|
-
src: string;
|
|
109
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
110
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
|
|
111
|
-
};
|
|
112
|
-
new (props: React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
113
|
-
id: string;
|
|
114
|
-
autoFocus: boolean;
|
|
115
|
-
autoPlay: boolean;
|
|
116
|
-
src: string;
|
|
117
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
118
|
-
} & WithFocusableProps, context: any): {
|
|
119
|
-
state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
|
|
120
|
-
navigation: import("../../../external/spatial-navigation/spatialNavigation").default;
|
|
121
|
-
getChildContext(): {
|
|
122
|
-
parentFocusKey: string;
|
|
123
|
-
};
|
|
124
|
-
setFocus: (focusKey: string) => void;
|
|
125
|
-
navigateByDirection: (direction: import("../../../external/spatial-navigation/utils").Direction, details?: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
126
|
-
stealFocus: () => void;
|
|
127
|
-
onUpdateFocus: (focused: boolean) => void;
|
|
128
|
-
onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
|
|
129
|
-
onEnterPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
130
|
-
onClickPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
131
|
-
onEnterReleaseHandler: () => void;
|
|
132
|
-
onBackPressHandler: (details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
133
|
-
onArrowPressHandler: (direction: import("../../../external/spatial-navigation/utils").Direction, details: import("../../../external/spatial-navigation/utils").Details) => boolean | void;
|
|
134
|
-
onBecameFocusedHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
135
|
-
onBecameBlurredHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: import("../../../external/spatial-navigation/utils").Details) => void;
|
|
136
|
-
componentDidMount(): void;
|
|
137
|
-
componentDidUpdate(): void;
|
|
138
|
-
componentWillUnmount(): void;
|
|
139
|
-
render(): React.ReactElement<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
140
|
-
id: string;
|
|
141
|
-
autoFocus: boolean;
|
|
142
|
-
autoPlay: boolean;
|
|
143
|
-
src: string;
|
|
144
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
145
|
-
} & WithFocusableProps, string | React.JSXElementConstructor<any>>;
|
|
146
|
-
context: any;
|
|
147
|
-
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<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
148
|
-
id: string;
|
|
149
|
-
autoFocus: boolean;
|
|
150
|
-
autoPlay: boolean;
|
|
151
|
-
src: string;
|
|
152
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
153
|
-
} & 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;
|
|
154
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
155
|
-
readonly props: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
156
|
-
id: string;
|
|
157
|
-
autoFocus: boolean;
|
|
158
|
-
autoPlay: boolean;
|
|
159
|
-
src: string;
|
|
160
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
161
|
-
} & WithFocusableProps> & Readonly<{
|
|
162
|
-
children?: React.ReactNode;
|
|
163
|
-
}>;
|
|
164
|
-
refs: {
|
|
165
|
-
[key: string]: React.ReactInstance;
|
|
166
|
-
};
|
|
167
|
-
shouldComponentUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
168
|
-
id: string;
|
|
169
|
-
autoFocus: boolean;
|
|
170
|
-
autoPlay: boolean;
|
|
171
|
-
src: string;
|
|
172
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
173
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
|
|
174
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
175
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
176
|
-
id: string;
|
|
177
|
-
autoFocus: boolean;
|
|
178
|
-
autoPlay: boolean;
|
|
179
|
-
src: string;
|
|
180
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
181
|
-
} & WithFocusableProps>, prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>): any;
|
|
182
|
-
componentWillMount?(): void;
|
|
183
|
-
UNSAFE_componentWillMount?(): void;
|
|
184
|
-
componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
185
|
-
id: string;
|
|
186
|
-
autoFocus: boolean;
|
|
187
|
-
autoPlay: boolean;
|
|
188
|
-
src: string;
|
|
189
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
190
|
-
} & WithFocusableProps>, nextContext: any): void;
|
|
191
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
192
|
-
id: string;
|
|
193
|
-
autoFocus: boolean;
|
|
194
|
-
autoPlay: boolean;
|
|
195
|
-
src: string;
|
|
196
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
197
|
-
} & WithFocusableProps>, nextContext: any): void;
|
|
198
|
-
componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
199
|
-
id: string;
|
|
200
|
-
autoFocus: boolean;
|
|
201
|
-
autoPlay: boolean;
|
|
202
|
-
src: string;
|
|
203
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
204
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
|
|
205
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
206
|
-
id: string;
|
|
207
|
-
autoFocus: boolean;
|
|
208
|
-
autoPlay: boolean;
|
|
209
|
-
src: string;
|
|
210
|
-
onLoadRiveInstance: (riveInstance: any) => void;
|
|
211
|
-
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
|
|
212
|
-
};
|
|
213
|
-
contextTypes: {
|
|
214
|
-
parentFocusKey: import("prop-types").Requireable<string>;
|
|
215
|
-
};
|
|
216
|
-
childContextTypes: {
|
|
217
|
-
parentFocusKey: import("prop-types").Requireable<string>;
|
|
218
|
-
};
|
|
219
|
-
contextType?: React.Context<any> | undefined;
|
|
220
|
-
};
|
|
221
|
-
export default _default;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { withFocusable, } from '@/external/spatial-navigation';
|
|
3
|
-
import SDK from '@/index';
|
|
4
|
-
class Rive extends React.Component {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
Object.defineProperty(this, "riveInstance", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
configurable: true,
|
|
10
|
-
writable: true,
|
|
11
|
-
value: null
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
componentDidMount() {
|
|
15
|
-
const canvas = document.getElementById(this.props.id);
|
|
16
|
-
if (!canvas) {
|
|
17
|
-
console.error('Canvas element not found with id:', this.props.id);
|
|
18
|
-
throw new Error('canvas not found');
|
|
19
|
-
}
|
|
20
|
-
try {
|
|
21
|
-
// Temporarily commented out due to issues with RiveCanvas import
|
|
22
|
-
// this.riveInstance = new RiveCanvas({
|
|
23
|
-
// src: this.props.src,
|
|
24
|
-
// canvas,
|
|
25
|
-
// autoplay: this.props.autoPlay,
|
|
26
|
-
// stateMachines: 'stateMachine',
|
|
27
|
-
// onLoad: () => {
|
|
28
|
-
// this.props.onLoadRiveInstance(this.riveInstance);
|
|
29
|
-
// },
|
|
30
|
-
// onLoadError: (error: any) => {
|
|
31
|
-
// console.error('RiveCanvas load error:', error);
|
|
32
|
-
// },
|
|
33
|
-
// });
|
|
34
|
-
}
|
|
35
|
-
catch (error) {
|
|
36
|
-
console.error('Error creating RiveCanvas:', error);
|
|
37
|
-
}
|
|
38
|
-
setTimeout(() => {
|
|
39
|
-
if (this.props.focusKey && this.props.autoFocus) {
|
|
40
|
-
SDK.getMaestroEventViewModel().navigation.setFocus(this.props.focusKey);
|
|
41
|
-
}
|
|
42
|
-
}, 0);
|
|
43
|
-
}
|
|
44
|
-
componentWillUnmount() {
|
|
45
|
-
if (this.riveInstance) {
|
|
46
|
-
this.riveInstance.cleanup();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
render() {
|
|
50
|
-
return (React.createElement("canvas", { style: this.props.style, id: this.props.id, "data-focused": this.props.focused }));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export default withFocusable()(Rive);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const AddIcon = (props) => {
|
|
3
|
-
return (React.createElement("svg", { width: props.width, height: props.height, viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
-
React.createElement("path", { d: "M10.5 1V20M1 10.5H20", stroke: "#FFFFFF", strokeWidth: "2", strokeLinecap: "round" })));
|
|
5
|
-
};
|
|
6
|
-
export default AddIcon;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const BetGeneralIcon = (props) => {
|
|
3
|
-
return (React.createElement("svg", { width: props.width, height: props.height, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
-
React.createElement("rect", { x: "1", y: "1", width: "46", height: "46", rx: "23", fill: "#101113" }),
|
|
5
|
-
React.createElement("rect", { x: "1", y: "1", width: "46", height: "46", rx: "23", stroke: "#A1A2A3", strokeWidth: "2" }),
|
|
6
|
-
React.createElement("path", { d: "M23.9994 25.2964L22.9624 26.3334L23.9624 27.3334L22.6661 28.6298L21.6661 27.6298L20.6476 28.6482L19.3512 27.3519L20.3697 26.3334L19.3697 25.3334L20.6661 24.037L21.6661 25.037L22.7031 24.0001L21.7031 23.0001L22.9994 21.7037L23.9994 22.7037L25.0364 21.6667L24.0364 20.6667L25.3328 19.3704L26.3328 20.3704L27.3512 19.3519L28.6476 20.6482L27.6291 21.6667L28.6291 22.6667L27.3328 23.9631L26.3328 22.9631L25.2958 24.0001L26.2958 25.0001L24.9994 26.2964L23.9994 25.2964Z", fill: "#A1A2A3" }),
|
|
7
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.425 12.9435C36.389 12.7762 36.1471 11.8521 36.1471 11.8521C36.1471 11.8521 35.2231 11.6104 35.0558 11.5744C34.7212 11.5025 34.2407 11.4098 33.6432 11.3229C32.4502 11.1494 30.781 10.9976 28.8705 11.0844C25.0579 11.2578 20.1968 12.3884 16.2923 16.2931C12.3877 20.1978 11.2571 25.0588 11.0838 28.8714C10.9969 30.7818 11.1488 32.4509 11.3223 33.644C11.4092 34.2414 11.5019 34.7218 11.5738 35.0564C11.6097 35.2238 11.8528 36.1466 11.8528 36.1466C11.8528 36.1466 12.7755 36.3896 12.9429 36.4256C13.2774 36.4975 13.7579 36.5902 14.3553 36.6771C15.5484 36.8507 17.2175 37.0026 19.1279 36.9158C22.9405 36.7426 27.8016 35.6121 31.7065 31.7073C35.6113 27.8025 36.7419 22.9414 36.9151 19.1287C37.0019 17.2182 36.85 15.5491 36.6765 14.356C36.5896 13.7586 36.4969 13.2781 36.425 12.9435ZM17.7065 17.7073C21.1351 14.2786 25.4406 13.2424 28.9614 13.0824C30.7175 13.0025 32.2568 13.1423 33.3554 13.3021C33.8244 13.3703 34.2113 13.4419 34.4984 13.501C34.5575 13.7881 34.6291 14.175 34.6973 14.644C34.8571 15.7426 34.997 17.2818 34.9172 19.0379C34.7572 22.5587 33.7211 26.8643 30.2923 30.2931C26.8634 33.7219 22.5578 34.7579 19.0372 34.9179C17.281 34.9977 15.7419 34.8578 14.6433 34.698C14.1743 34.6297 13.7874 34.5581 13.5003 34.4991C13.4413 34.212 13.3697 33.8251 13.3015 33.3561C13.1417 32.2575 13.0019 30.7183 13.0817 28.9622C13.2418 25.4415 14.2779 21.136 17.7065 17.7073Z", fill: "#A1A2A3" })));
|
|
8
|
-
};
|
|
9
|
-
export default BetGeneralIcon;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const BetsIcon = (props) => {
|
|
3
|
-
return (React.createElement("svg", { width: props.width, height: props.height, viewBox: "0 0 72 72", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
-
React.createElement("path", { d: "M38.25 43.2954H33V38.25H38.25V43.2954Z", fill: "#9D9E9F" }),
|
|
5
|
-
React.createElement("path", { d: "M28.5 28.7045V33.75H23.25V28.7045H28.5Z", fill: "#9D9E9F" }),
|
|
6
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M54.75 12.75H6.75V52.5C6.75 56.2279 9.77208 59.25 13.5 59.25H58.5C62.2279 59.25 65.25 56.2279 65.25 52.5V17.25H59.25V50.25C59.25 51.4926 58.2426 52.5 57 52.5C55.7574 52.5 54.75 51.4926 54.75 50.25V12.75ZM28.5 51V47.7954H23.16C20.7244 47.7954 18.75 45.821 18.75 43.3854V41.9659H23.25V43.2954H28.5V38.25H23.16C20.7244 38.25 18.75 36.2756 18.75 33.84V28.6145C18.75 26.179 20.7244 24.2045 23.16 24.2045H28.5V21H33V24.2045H38.34C40.7756 24.2045 42.75 26.179 42.75 28.6145V30.0341H38.25V28.7045H33V33.75H38.34C40.7756 33.75 42.75 35.7244 42.75 38.16V43.3854C42.75 45.821 40.7756 47.7954 38.34 47.7954H33V51H28.5Z", fill: "#9D9E9F" })));
|
|
7
|
-
};
|
|
8
|
-
export default BetsIcon;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
class BetsWarningIcon extends React.Component {
|
|
3
|
-
constructor(props) {
|
|
4
|
-
super(props);
|
|
5
|
-
}
|
|
6
|
-
render() {
|
|
7
|
-
return (React.createElement("svg", { width: this.props.width, height: this.props.height, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
8
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 16C3 8.8203 8.8203 3 16 3C23.1797 3 29 8.8203 29 16C29 23.1797 23.1797 29 16 29C8.8203 29 3 23.1797 3 16ZM14.6001 12.0668H17.4001V9.26676H14.6001V12.0668ZM17.3333 22.6667V14H14.6667V22.6667H17.3333Z", fill: "#FFB759" })));
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export default BetsWarningIcon;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const BuilderIcon = (props) => {
|
|
3
|
-
return (React.createElement("svg", { width: props.width, height: props.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
-
React.createElement("path", { d: "M5.25 1.25C3.84987 1.25 3.1498 1.25 2.61502 1.52248C2.14462 1.76217 1.76217 2.14462 1.52248 2.61502C1.25 3.1498 1.25 3.84987 1.25 5.25V18.75C1.25 20.1501 1.25 20.8502 1.52248 21.385C1.76217 21.8554 2.14462 22.2378 2.61502 22.4775C3.1498 22.75 3.84987 22.75 5.25 22.75H6.75C8.15013 22.75 8.8502 22.75 9.38498 22.4775C9.85538 22.2378 10.2378 21.8554 10.4775 21.385C10.75 20.8502 10.75 20.1501 10.75 18.75V5.25C10.75 3.84987 10.75 3.1498 10.4775 2.61502C10.2378 2.14462 9.85538 1.76217 9.38498 1.52248C8.8502 1.25 8.15013 1.25 6.75 1.25H5.25Z", fill: "#F3F7FF" }),
|
|
5
|
-
React.createElement("path", { d: "M13.25 5.25C13.25 3.84987 13.25 3.1498 13.5225 2.61502C13.7622 2.14462 14.1446 1.76217 14.615 1.52248C15.1498 1.25 15.8499 1.25 17.25 1.25H18.75C20.1501 1.25 20.8502 1.25 21.385 1.52248C21.8554 1.76217 22.2378 2.14462 22.4775 2.61502C22.75 3.1498 22.75 3.84987 22.75 5.25V6.75C22.75 8.15013 22.75 8.8502 22.4775 9.38498C22.2378 9.85538 21.8554 10.2378 21.385 10.4775C20.8502 10.75 20.1501 10.75 18.75 10.75H17.25C15.8499 10.75 15.1498 10.75 14.615 10.4775C14.1446 10.2378 13.7622 9.85538 13.5225 9.38498C13.25 8.8502 13.25 8.15013 13.25 6.75V5.25Z", fill: "#F3F7FF" }),
|
|
6
|
-
React.createElement("path", { d: "M17.25 13.25C15.8499 13.25 15.1498 13.25 14.615 13.5225C14.1446 13.7622 13.7622 14.1446 13.5225 14.615C13.25 15.1498 13.25 15.8499 13.25 17.25V18.75C13.25 20.1501 13.25 20.8502 13.5225 21.385C13.7622 21.8554 14.1446 22.2378 14.615 22.4775C15.1498 22.75 15.8499 22.75 17.25 22.75H18.75C20.1501 22.75 20.8502 22.75 21.385 22.4775C21.8554 22.2378 22.2378 21.8554 22.4775 21.385C22.75 20.8502 22.75 20.1501 22.75 18.75V17.25C22.75 15.8499 22.75 15.1498 22.4775 14.615C22.2378 14.1446 21.8554 13.7622 21.385 13.5225C20.8502 13.25 20.1501 13.25 18.75 13.25H17.25Z", fill: "#F3F7FF" })));
|
|
7
|
-
};
|
|
8
|
-
export default BuilderIcon;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
const ChatIcon = (props) => {
|
|
3
|
-
return (React.createElement("svg", { width: props.width, height: props.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 20.3077C3 20.1622 3.04487 20.0272 3.12152 19.9158C3.48396 19.3721 3.73959 18.988 3.92078 18.6789C4.10212 18.3696 4.18012 18.1822 4.21373 18.0371C4.23728 17.9356 4.24555 17.893 4.2506 17.8569C4.25566 17.8209 4.25941 17.7777 4.2647 17.6736C4.27129 17.5439 4.23648 17.2915 4.09725 16.7831C3.96289 16.2924 3.75483 15.6413 3.46816 14.7447C3.20249 13.9139 3 12.9666 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21H3.69231C3.30996 21 3 20.69 3 20.3077ZM8.30769 9.46154C7.92534 9.46154 7.61538 9.7715 7.61538 10.1538C7.61538 10.5362 7.92534 10.8462 8.30769 10.8462H15.6923C16.0747 10.8462 16.3846 10.5362 16.3846 10.1538C16.3846 9.7715 16.0747 9.46154 15.6923 9.46154H8.30769ZM7.61538 13.8462C7.61538 13.4638 7.92534 13.1538 8.30769 13.1538H12C12.3824 13.1538 12.6923 13.4638 12.6923 13.8462C12.6923 14.2285 12.3824 14.5385 12 14.5385H8.30769C7.92534 14.5385 7.61538 14.2285 7.61538 13.8462Z", fill: "#F3F7FF" })));
|
|
5
|
-
};
|
|
6
|
-
export default ChatIcon;
|