@maestro_io/maestro-web-sdk 1.0.0 → 2.0.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.
Files changed (106) hide show
  1. package/dist/1.maestro-web-sdk.umd.js +2 -0
  2. package/dist/1.maestro-web-sdk.umd.js.map +1 -0
  3. package/dist/2.maestro-web-sdk.umd.js +2 -0
  4. package/dist/2.maestro-web-sdk.umd.js.map +1 -0
  5. package/dist/3.maestro-web-sdk.umd.js +2 -0
  6. package/dist/3.maestro-web-sdk.umd.js.map +1 -0
  7. package/dist/4.maestro-web-sdk.umd.js +2 -0
  8. package/dist/4.maestro-web-sdk.umd.js.map +1 -0
  9. package/dist/5.maestro-web-sdk.umd.js +2 -0
  10. package/dist/5.maestro-web-sdk.umd.js.map +1 -0
  11. package/dist/6.maestro-web-sdk.umd.js +2 -0
  12. package/dist/6.maestro-web-sdk.umd.js.map +1 -0
  13. package/dist/MaestroEventDelegate.d.ts +9 -0
  14. package/dist/components/atoms/BaseButton/BaseButton.d.ts +9 -0
  15. package/dist/components/atoms/BaseButton/index.d.ts +2 -0
  16. package/dist/components/atoms/Image/index.d.ts +9 -0
  17. package/dist/components/atoms/SvgIcon/BetsIcon.d.ts +7 -0
  18. package/dist/components/atoms/SvgIcon/FantasyIcon.d.ts +6 -0
  19. package/dist/components/atoms/SvgIcon/Icon.d.ts +30 -0
  20. package/dist/components/atoms/SvgIcon/KeyPlaysIcon.d.ts +6 -0
  21. package/dist/components/atoms/SvgIcon/PlayIcon.d.ts +6 -0
  22. package/dist/components/atoms/SvgIcon/StatsIcon.d.ts +6 -0
  23. package/dist/components/atoms/SvgIcon/WarningIcon.d.ts +6 -0
  24. package/dist/components/atoms/SvgIcon/index.d.ts +2 -0
  25. package/dist/components/core/App/App.d.ts +10 -0
  26. package/dist/components/core/App/index.d.ts +2 -0
  27. package/dist/components/core/PanelManager/PanelManager.d.ts +14 -0
  28. package/dist/components/core/PanelManager/index.d.ts +2 -0
  29. package/dist/components/molecules/ActionButton/ActionButton.d.ts +50 -0
  30. package/dist/components/molecules/ActionButton/index.d.ts +2 -0
  31. package/dist/components/molecules/PanelNavButton/PanelNavButton.d.ts +107 -0
  32. package/dist/components/molecules/PanelNavButton/index.d.ts +2 -0
  33. package/dist/components/molecules/ScrollableGradient/ScrollableGradient.d.ts +11 -0
  34. package/dist/components/molecules/ScrollableGradient/index.d.ts +2 -0
  35. package/dist/components/molecules/SegmentButton/SegmentButton.d.ts +10 -0
  36. package/dist/components/molecules/SegmentButton/index.d.ts +2 -0
  37. package/dist/components/molecules/WatchButton/WatchButton.d.ts +10 -0
  38. package/dist/components/molecules/WatchButton/index.d.ts +2 -0
  39. package/dist/components/organisms/PanelNavigation/PanelNavigation.d.ts +15 -0
  40. package/dist/components/organisms/PanelNavigation/index.d.ts +2 -0
  41. package/dist/components/organisms/SegmentController/SegmentController.d.ts +14 -0
  42. package/dist/components/organisms/SegmentController/index.d.ts +2 -0
  43. package/dist/external/AxiosNetworkClient.d.ts +15 -0
  44. package/dist/external/LocalStorageCacheManager.d.ts +10 -0
  45. package/dist/external/ReactRenderer.d.ts +26 -0
  46. package/dist/external/ports/cacheManager.d.ts +15 -0
  47. package/dist/external/ports/networkClient.d.ts +5 -0
  48. package/dist/external/ports/renderer.d.ts +9 -0
  49. package/dist/external/spatial-navigation/index.d.ts +5 -0
  50. package/dist/external/spatial-navigation/measureLayout.d.ts +2 -0
  51. package/dist/external/spatial-navigation/spatialNavigation.d.ts +166 -0
  52. package/dist/external/spatial-navigation/utils.d.ts +15 -0
  53. package/dist/external/spatial-navigation/visualDebugger.d.ts +17 -0
  54. package/dist/external/spatial-navigation/withFocusable.d.ts +81 -0
  55. package/dist/helpers/Observable.d.ts +12 -0
  56. package/dist/helpers/deliver-focus.d.ts +5 -0
  57. package/dist/helpers/withRemoteControl.d.ts +47 -0
  58. package/dist/index.d.ts +60 -382
  59. package/dist/interfaces/IMaestroEvent.d.ts +62 -0
  60. package/dist/interfaces/IMaestroEventDelegate.d.ts +18 -0
  61. package/dist/interfaces/IMaestroManager.d.ts +82 -0
  62. package/dist/maestro-web-sdk.umd.js +2 -3
  63. package/dist/maestro-web-sdk.umd.js.map +1 -1
  64. package/dist/models/IModel.d.ts +7 -0
  65. package/dist/models/IPanel.d.ts +20 -0
  66. package/dist/models/ITheme.d.ts +77 -0
  67. package/dist/modules/key-plays/constants.d.ts +3 -0
  68. package/dist/modules/key-plays/interfaces/IKeyPlays.d.ts +31 -0
  69. package/dist/modules/key-plays/interfaces/IKeyPlaysResponse.d.ts +44 -0
  70. package/dist/modules/key-plays/view/KeyPlayCardScoreTagView.d.ts +9 -0
  71. package/dist/modules/key-plays/view/KeyPlayCardView.d.ts +115 -0
  72. package/dist/modules/key-plays/view/KeyPlayErrorStateView.d.ts +11 -0
  73. package/dist/modules/key-plays/view/KeyPlaysView.d.ts +53 -0
  74. package/dist/modules/key-plays/view-model/KeyPlaysViewModel.d.ts +29 -0
  75. package/dist/services/NetworkManager.d.ts +13 -0
  76. package/dist/services/ThemeManager/constants.d.ts +2 -0
  77. package/dist/view-models/MaestroEventViewModel.d.ts +37 -0
  78. package/dist/view-models/PanelManagerViewModel.d.ts +18 -0
  79. package/dist/view-models/ViewModel.d.ts +12 -0
  80. package/dist/view-models/index.d.ts +17 -0
  81. package/package.json +57 -36
  82. package/dist/BetsIcon-UrnN4lvP.js +0 -22
  83. package/dist/BetsIcon-UrnN4lvP.js.map +0 -1
  84. package/dist/FantasyIcon-DmloKsq_.js +0 -24
  85. package/dist/FantasyIcon-DmloKsq_.js.map +0 -1
  86. package/dist/KeyPlayErrorStateView-Dk89rtUq.js +0 -112
  87. package/dist/KeyPlayErrorStateView-Dk89rtUq.js.map +0 -1
  88. package/dist/KeyPlaysIcon-Br9gu_Zu.js +0 -24
  89. package/dist/KeyPlaysIcon-Br9gu_Zu.js.map +0 -1
  90. package/dist/KeyPlaysView-Br-88ytG.js +0 -174
  91. package/dist/KeyPlaysView-Br-88ytG.js.map +0 -1
  92. package/dist/PlayIcon-CNKWNaLP.js +0 -24
  93. package/dist/PlayIcon-CNKWNaLP.js.map +0 -1
  94. package/dist/StatsIcon-Ds4hriWX.js +0 -25
  95. package/dist/StatsIcon-Ds4hriWX.js.map +0 -1
  96. package/dist/WarningIcon-BuzZKL26.js +0 -24
  97. package/dist/WarningIcon-BuzZKL26.js.map +0 -1
  98. package/dist/index-BaSckwps.js +0 -2998
  99. package/dist/index-BaSckwps.js.map +0 -1
  100. package/dist/index-DXErYNZH.js +0 -151
  101. package/dist/index-DXErYNZH.js.map +0 -1
  102. package/dist/index-q5GKgbOd.js +0 -56
  103. package/dist/index-q5GKgbOd.js.map +0 -1
  104. package/dist/maestro-web-sdk.esm.js +0 -6
  105. package/dist/maestro-web-sdk.esm.js.map +0 -1
  106. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[1],{27:function(e,t,s){"use strict";s.r(t);var r=s(0),n=s.n(r);class o extends n.a.Component{constructor(e){super(e)}render(){return n.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.a.createElement("path",{d:"M26.4393 4.5H6.61944L3.34766 31.5C3.34766 31.5 19.7066 31.5 22.7432 31.5C23.3056 31.5 23.8679 31.4591 24.4251 31.3773C26.0406 31.1268 28.7193 30.3445 29.8491 27.6808C30.3501 26.4947 30.7387 23.1919 30.8665 22.3023C31.1783 20.1345 30.0178 18.8819 28.8625 18.1508C28.6069 17.9923 28.6733 17.6038 28.9647 17.5322C30.1814 17.2203 31.3266 16.571 31.6435 15.1906C31.8633 14.2192 32.0781 12.0872 32.2263 10.9011C32.9113 5.92643 29.568 4.5 26.4393 4.5ZM24.1542 19.792H15.8213L15.6117 21.5047H23.9497L23.4589 25.4773H10.1468L11.2715 16.3154H24.5836L24.1593 19.7869L24.1542 19.792ZM24.7779 14.7202H11.4658L11.9821 10.5227H25.2942L24.783 14.7202H24.7779Z",fill:"#9DA0A6"}))}}t.default=o}}]);
2
+ //# sourceMappingURL=1.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/BetsIcon.tsx"],"names":["BetsIcon","React","Component","constructor","props","super","render","createElement","width","this","height","viewBox","fill","xmlns","d"],"mappings":"+GAAA,2BAEA,MAAMA,UAAiBC,IAAMC,UAC3BC,YAAYC,GACVC,MAAMD,GAGRE,SACE,OACEL,IAAAM,cAAA,OACEC,MAAOC,KAAKL,MAAMI,MAClBE,OAAQD,KAAKL,MAAMM,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENZ,IAAAM,cAAA,QACEO,EAAE,soBACFF,KAAK,cAOAZ","file":"1.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\nclass BetsIcon extends React.Component<IconProps> {\n constructor(props: IconProps) {\n super(props);\n }\n\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 36 36\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M26.4393 4.5H6.61944L3.34766 31.5C3.34766 31.5 19.7066 31.5 22.7432 31.5C23.3056 31.5 23.8679 31.4591 24.4251 31.3773C26.0406 31.1268 28.7193 30.3445 29.8491 27.6808C30.3501 26.4947 30.7387 23.1919 30.8665 22.3023C31.1783 20.1345 30.0178 18.8819 28.8625 18.1508C28.6069 17.9923 28.6733 17.6038 28.9647 17.5322C30.1814 17.2203 31.3266 16.571 31.6435 15.1906C31.8633 14.2192 32.0781 12.0872 32.2263 10.9011C32.9113 5.92643 29.568 4.5 26.4393 4.5ZM24.1542 19.792H15.8213L15.6117 21.5047H23.9497L23.4589 25.4773H10.1468L11.2715 16.3154H24.5836L24.1593 19.7869L24.1542 19.792ZM24.7779 14.7202H11.4658L11.9821 10.5227H25.2942L24.783 14.7202H24.7779Z\"\n fill=\"#9DA0A6\"\n />\n </svg>\n );\n }\n}\n\nexport default BetsIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[2],{29:function(e,t,s){"use strict";s.r(t);var n=s(0),i=s.n(n);class l extends i.a.Component{render(){return i.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.96879 29.0297C11.6061 31.2694 14.6822 32.9334 18.0001 33.9152C21.3179 32.9334 24.394 31.2694 27.0313 29.0297C29.6686 26.7899 31.8089 24.0239 33.3151 20.9089C31.6987 16.1971 30.9721 11.2259 31.1722 6.24861C26.9818 4.51945 22.5273 3.51728 18.0001 3.28516C13.4728 3.51728 9.01831 4.51945 4.82788 6.24861C5.02804 11.2259 4.30143 16.1971 2.68506 20.9089C4.19119 24.0239 6.33149 26.7899 8.96879 29.0297ZM11.7503 14.7153L12.2646 10.5164H25.5772L25.0616 14.7153H11.7503ZM23.7355 25.4753H10.423L11.5486 16.3157H24.8599L24.4349 19.7871H16.1048L15.8917 21.4998H24.2282L23.7355 25.4753Z",fill:"#9DA0A6"}))}}t.default=l}}]);
2
+ //# sourceMappingURL=2.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/FantasyIcon.tsx"],"names":["FantasyIcon","React","Component","render","createElement","width","this","props","height","viewBox","fill","xmlns","fillRule","clipRule","d"],"mappings":"+GAAA,2BAGA,MAAMA,UAAoBC,IAAMC,UAC9BC,SACE,OACEF,IAAAG,cAAA,OACEC,MAAOC,KAAKC,MAAMF,MAClBG,OAAQF,KAAKC,MAAMC,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENV,IAAAG,cAAA,QACEQ,SAAS,UACTC,SAAS,UACTC,EAAE,okBACFJ,KAAK,cAOAV","file":"2.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\n\nclass FantasyIcon extends React.Component<IconProps, {}> {\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 36 36\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8.96879 29.0297C11.6061 31.2694 14.6822 32.9334 18.0001 33.9152C21.3179 32.9334 24.394 31.2694 27.0313 29.0297C29.6686 26.7899 31.8089 24.0239 33.3151 20.9089C31.6987 16.1971 30.9721 11.2259 31.1722 6.24861C26.9818 4.51945 22.5273 3.51728 18.0001 3.28516C13.4728 3.51728 9.01831 4.51945 4.82788 6.24861C5.02804 11.2259 4.30143 16.1971 2.68506 20.9089C4.19119 24.0239 6.33149 26.7899 8.96879 29.0297ZM11.7503 14.7153L12.2646 10.5164H25.5772L25.0616 14.7153H11.7503ZM23.7355 25.4753H10.423L11.5486 16.3157H24.8599L24.4349 19.7871H16.1048L15.8917 21.4998H24.2282L23.7355 25.4753Z\"\n fill=\"#9DA0A6\"\n />\n </svg>\n );\n }\n}\n\nexport default FantasyIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[3],{25:function(e,t,a){"use strict";a.r(t);var s=a(0),h=a.n(s);class i extends h.a.Component{render(){return h.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 30 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h.a.createElement("path",{d:"M27.375 4.75H2.625V7H27.375V4.75Z",fill:"white"}),h.a.createElement("path",{d:"M25.125 0.25H4.875V2.5H25.125V0.25Z",fill:"white"}),h.a.createElement("path",{d:"M0.375 9.25V31.75H29.625V9.25H0.375ZM11.625 26.125V14.875L20.625 20.5L11.625 26.125Z",fill:"white"}))}}t.default=i}}]);
2
+ //# sourceMappingURL=3.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/KeyPlaysIcon.tsx"],"names":["KeyPlaysIcon","React","Component","render","createElement","width","this","props","height","viewBox","fill","xmlns","d"],"mappings":"+GAAA,2BAGA,MAAMA,UAAqBC,IAAMC,UAC/BC,SACE,OACEF,IAAAG,cAAA,OACEC,MAAOC,KAAKC,MAAMF,MAClBG,OAAQF,KAAKC,MAAMC,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENV,IAAAG,cAAA,QAAMQ,EAAE,oCAAoCF,KAAK,UACjDT,IAAAG,cAAA,QAAMQ,EAAE,sCAAsCF,KAAK,UACnDT,IAAAG,cAAA,QACEQ,EAAE,uFACFF,KAAK,YAOAV","file":"3.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\n\nclass KeyPlaysIcon extends React.Component<IconProps, {}> {\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 30 32\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M27.375 4.75H2.625V7H27.375V4.75Z\" fill=\"white\" />\n <path d=\"M25.125 0.25H4.875V2.5H25.125V0.25Z\" fill=\"white\" />\n <path\n d=\"M0.375 9.25V31.75H29.625V9.25H0.375ZM11.625 26.125V14.875L20.625 20.5L11.625 26.125Z\"\n fill=\"white\"\n />\n </svg>\n );\n }\n}\n\nexport default KeyPlaysIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[4],{26:function(e,t,s){"use strict";s.r(t);var n=s(0),i=s.n(n);class h extends i.a.Component{render(){return i.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1891 8.29879C18.6116 8.5331 18.9367 8.80345 19.162 9.10985C19.3873 9.41624 19.5 9.71863 19.5 10.019C19.5 10.3194 19.396 10.6158 19.1837 10.9102C18.9713 11.2026 18.6463 11.4669 18.2108 11.7012L10.9111 15.6724L3.58975 19.6035C3.15207 19.8378 2.74256 19.9679 2.36122 19.994C1.98204 20.02 1.65703 19.9619 1.38836 19.8177C1.12185 19.6735 0.905177 19.4453 0.742673 19.1328C0.582335 18.8204 0.5 18.4419 0.5 17.9994V2.00062C0.5 1.55805 0.573669 1.17956 0.721006 0.867153C0.87051 0.554748 1.09152 0.326452 1.38836 0.182265C1.6852 0.0380777 2.02104 -0.0199976 2.39372 0.00603615C2.76639 0.0340725 3.16507 0.164241 3.58975 0.398545L10.9111 4.36769L18.1891 8.29879Z",fill:"white"}))}}t.default=h}}]);
2
+ //# sourceMappingURL=4.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/PlayIcon.tsx"],"names":["PlayIcon","React","Component","render","createElement","width","this","props","height","viewBox","fill","xmlns","fillRule","clipRule","d"],"mappings":"+GAAA,2BAGA,MAAMA,UAAiBC,IAAMC,UAC3BC,SACE,OACEF,IAAAG,cAAA,OACEC,MAAOC,KAAKC,MAAMF,MAClBG,OAAQF,KAAKC,MAAMC,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENV,IAAAG,cAAA,QACEQ,SAAS,UACTC,SAAS,UACTC,EAAE,opBACFJ,KAAK,YAOAV","file":"4.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\n\nclass PlayIcon extends React.Component<IconProps, {}> {\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M18.1891 8.29879C18.6116 8.5331 18.9367 8.80345 19.162 9.10985C19.3873 9.41624 19.5 9.71863 19.5 10.019C19.5 10.3194 19.396 10.6158 19.1837 10.9102C18.9713 11.2026 18.6463 11.4669 18.2108 11.7012L10.9111 15.6724L3.58975 19.6035C3.15207 19.8378 2.74256 19.9679 2.36122 19.994C1.98204 20.02 1.65703 19.9619 1.38836 19.8177C1.12185 19.6735 0.905177 19.4453 0.742673 19.1328C0.582335 18.8204 0.5 18.4419 0.5 17.9994V2.00062C0.5 1.55805 0.573669 1.17956 0.721006 0.867153C0.87051 0.554748 1.09152 0.326452 1.38836 0.182265C1.6852 0.0380777 2.02104 -0.0199976 2.39372 0.00603615C2.76639 0.0340725 3.16507 0.164241 3.58975 0.398545L10.9111 4.36769L18.1891 8.29879Z\"\n fill=\"white\"\n />\n </svg>\n );\n }\n}\n\nexport default PlayIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[5],{28:function(e,t,l){"use strict";l.r(t);var i=l(0),a=l.n(i);class n extends a.a.Component{render(){return a.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("g",{clipPath:"url(#clip0_538_5831)"},a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5925 1.7998V32.6941H10.4849V14.8588H3.671V32.6941H0.899902V34.7641H35.099V32.6941H32.3603V8.0125H25.514V32.6941H21.4397V1.7998H14.5925Z",fill:"#9DA0A6"})),a.a.createElement("defs",null,a.a.createElement("clipPath",{id:"clip0_538_5831"},a.a.createElement("rect",{width:"36",height:"36",fill:"white"}))))}}t.default=n}}]);
2
+ //# sourceMappingURL=5.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/StatsIcon.tsx"],"names":["StatsIcon","React","Component","render","createElement","width","this","props","height","viewBox","fill","xmlns","clipPath","fillRule","clipRule","d","id"],"mappings":"+GAAA,2BAGA,MAAMA,UAAkBC,IAAMC,UAC5BC,SACE,OACEF,IAAAG,cAAA,OACEC,MAAOC,KAAKC,MAAMF,MAClBG,OAAQF,KAAKC,MAAMC,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENV,IAAAG,cAAA,KAAGQ,SAAS,wBACVX,IAAAG,cAAA,QACES,SAAS,UACTC,SAAS,UACTC,EAAE,8IACFL,KAAK,aAGTT,IAAAG,cAAA,YACEH,IAAAG,cAAA,YAAUY,GAAG,kBACXf,IAAAG,cAAA,QAAMC,MAAM,KAAKG,OAAO,KAAKE,KAAK,cAQ/BV","file":"5.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\n\nclass StatsIcon extends React.Component<IconProps, {}> {\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 36 36\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_538_5831)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M14.5925 1.7998V32.6941H10.4849V14.8588H3.671V32.6941H0.899902V34.7641H35.099V32.6941H32.3603V8.0125H25.514V32.6941H21.4397V1.7998H14.5925Z\"\n fill=\"#9DA0A6\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_538_5831\">\n <rect width=\"36\" height=\"36\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n }\n}\n\nexport default StatsIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (this.webpackJsonpMaestroWebSDK=this.webpackJsonpMaestroWebSDK||[]).push([[6],{30:function(e,t,s){"use strict";s.r(t);var n=s(0),i=s.n(n);class l extends i.a.Component{render(){return i.a.createElement("svg",{width:this.props.width,height:this.props.height,viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0022 0.75L21.8012 19.4545H0.203125L11.0022 0.75ZM11.7522 13.5V7.5H10.2522V13.5H11.7522ZM11.8022 14.95H10.2022V16.55H11.8022V14.95Z",fill:"#F58B00"}))}}t.default=l}}]);
2
+ //# sourceMappingURL=6.maestro-web-sdk.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack://MaestroWebSDK/./src/components/atoms/SvgIcon/WarningIcon.tsx"],"names":["WarningIcon","React","Component","render","createElement","width","this","props","height","viewBox","fill","xmlns","fillRule","clipRule","d"],"mappings":"+GAAA,2BAGA,MAAMA,UAAoBC,IAAMC,UAC9BC,SACE,OACEF,IAAAG,cAAA,OACEC,MAAOC,KAAKC,MAAMF,MAClBG,OAAQF,KAAKC,MAAMC,OACnBC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BAENV,IAAAG,cAAA,QACEQ,SAAS,UACTC,SAAS,UACTC,EAAE,yIACFJ,KAAK,cAOAV","file":"6.maestro-web-sdk.umd.js","sourcesContent":["import React from 'react';\nimport { IconProps } from './Icon';\n\nclass WarningIcon extends React.Component<IconProps, {}> {\n render() {\n return (\n <svg\n width={this.props.width}\n height={this.props.height}\n viewBox=\"0 0 22 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M11.0022 0.75L21.8012 19.4545H0.203125L11.0022 0.75ZM11.7522 13.5V7.5H10.2522V13.5H11.7522ZM11.8022 14.95H10.2022V16.55H11.8022V14.95Z\"\n fill=\"#F58B00\"\n />\n </svg>\n );\n }\n}\n\nexport default WarningIcon;\n"],"sourceRoot":""}
@@ -0,0 +1,9 @@
1
+ import IMaestroEventDelegate from './interfaces/IMaestroEventDelegate';
2
+ /**
3
+ * Our own implementation of the IMaestroEventDelegate interface. Useful for Development and Testing
4
+ */
5
+ export default class MaestroEventDelegate implements IMaestroEventDelegate {
6
+ userRequestedNewKeyPlaysData(): Promise<void>;
7
+ startFocusManagement(): Promise<void>;
8
+ playClip(atIndex: number): void;
9
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ButtonHTMLAttributes } from 'react';
3
+ interface BaseButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ }
5
+ declare class BaseButton extends React.Component<BaseButtonProps> {
6
+ constructor(props: BaseButtonProps);
7
+ render(): React.JSX.Element;
8
+ }
9
+ export default BaseButton;
@@ -0,0 +1,2 @@
1
+ import BaseButton from './BaseButton';
2
+ export default BaseButton;
@@ -0,0 +1,9 @@
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
+ constructor(props: ImageProps);
7
+ render(): React.JSX.Element;
8
+ }
9
+ export default Image;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class BetsIcon extends React.Component<IconProps> {
4
+ constructor(props: IconProps);
5
+ render(): React.JSX.Element;
6
+ }
7
+ export default BetsIcon;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class FantasyIcon extends React.Component<IconProps, {}> {
4
+ render(): React.JSX.Element;
5
+ }
6
+ export default FantasyIcon;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ declare const iconImports: {
3
+ keyPlays: () => Promise<typeof import("./KeyPlaysIcon")>;
4
+ play: () => Promise<typeof import("./PlayIcon")>;
5
+ bets: () => Promise<typeof import("./BetsIcon")>;
6
+ stats: () => Promise<typeof import("./StatsIcon")>;
7
+ fantasy: () => Promise<typeof import("./FantasyIcon")>;
8
+ warning: () => Promise<typeof import("./WarningIcon")>;
9
+ };
10
+ export type IconsName = keyof typeof iconImports;
11
+ export type IconProps = {
12
+ iconName: IconsName;
13
+ width: number;
14
+ height: number;
15
+ };
16
+ interface IconState {
17
+ loaded: boolean;
18
+ }
19
+ declare class Icon extends React.Component<IconProps, IconState> {
20
+ private _isMounted;
21
+ private _eventHandler;
22
+ constructor(props: IconProps);
23
+ componentDidMount(): void;
24
+ componentWillUnmount(): void;
25
+ componentDidUpdate(prevProps: IconProps): void;
26
+ removeEventListener(): void;
27
+ loadIcon(): void;
28
+ render(): React.JSX.Element;
29
+ }
30
+ export default Icon;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class KeyPlaysIcon extends React.Component<IconProps, {}> {
4
+ render(): React.JSX.Element;
5
+ }
6
+ export default KeyPlaysIcon;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class PlayIcon extends React.Component<IconProps, {}> {
4
+ render(): React.JSX.Element;
5
+ }
6
+ export default PlayIcon;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class StatsIcon extends React.Component<IconProps, {}> {
4
+ render(): React.JSX.Element;
5
+ }
6
+ export default StatsIcon;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IconProps } from './Icon';
3
+ declare class WarningIcon extends React.Component<IconProps, {}> {
4
+ render(): React.JSX.Element;
5
+ }
6
+ export default WarningIcon;
@@ -0,0 +1,2 @@
1
+ import Icon from './Icon';
2
+ export default Icon;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './App.styles.css';
3
+ declare class App extends React.Component<{
4
+ children?: React.ReactNode;
5
+ }> {
6
+ componentDidMount(): void;
7
+ componentWillUnmount(): void;
8
+ render(): React.JSX.Element;
9
+ }
10
+ export default App;
@@ -0,0 +1,2 @@
1
+ import App from './App';
2
+ export default App;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import './PanelManager.styles.css';
3
+ import { MaestroPanelType } from '@/models/IPanel';
4
+ interface PanelManagerState {
5
+ activePanel: MaestroPanelType;
6
+ }
7
+ declare class PanelManager extends React.Component<{}, PanelManagerState> {
8
+ private unsubscribe;
9
+ constructor(props: {});
10
+ componentDidMount(): void;
11
+ componentWillUnmount(): void;
12
+ render(): React.JSX.Element;
13
+ }
14
+ export default PanelManager;
@@ -0,0 +1,2 @@
1
+ import PanelManager from './PanelManager';
2
+ export default PanelManager;
@@ -0,0 +1,50 @@
1
+ /// <reference types="prop-types" />
2
+ import './ActionButton.styles.css';
3
+ import { WithFocusableProps } from '@/external/spatial-navigation';
4
+ import React from 'react';
5
+ declare const _default: {
6
+ new (props?: (object & WithFocusableProps) | undefined, context?: any): {
7
+ state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
8
+ getChildContext(): {
9
+ parentFocusKey: string;
10
+ };
11
+ setFocus: (focusKey: string) => void;
12
+ navigateByDirection: (direction: import("../../../external/spatial-navigation/utils").Direction, details?: Record<string, any>) => void;
13
+ stealFocus: () => void;
14
+ onUpdateFocus: (focused: boolean) => void;
15
+ onUpdateHasFocusedChild: (hasFocusedChild: boolean) => void;
16
+ onEnterPressHandler: (details: {
17
+ pressedKeys: Record<string, number>;
18
+ }) => void;
19
+ onEnterReleaseHandler: () => void;
20
+ onArrowPressHandler: (direction: import("../../../external/spatial-navigation/utils").Direction, details: {
21
+ pressedKeys: Record<string, number>;
22
+ }) => boolean | void;
23
+ onBecameFocusedHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: any) => void;
24
+ onBecameBlurredHandler: (layout: import("../../../external/spatial-navigation/utils").Layout, details: any) => void;
25
+ componentDidMount(): void;
26
+ componentDidUpdate(): void;
27
+ componentWillUnmount(): void;
28
+ render(): React.ReactElement<object & WithFocusableProps>;
29
+ setState<K extends keyof import("../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: object & WithFocusableProps) => import("../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
30
+ forceUpdate(callBack?: (() => any) | undefined): void;
31
+ props: Readonly<{
32
+ children?: React.ReactNode;
33
+ }> & Readonly<object & WithFocusableProps>;
34
+ context: any;
35
+ refs: {
36
+ [key: string]: React.ReactInstance;
37
+ };
38
+ componentWillMount?(): void;
39
+ componentWillReceiveProps?(nextProps: Readonly<object & WithFocusableProps>, nextContext: any): void;
40
+ shouldComponentUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
41
+ componentWillUpdate?(nextProps: Readonly<object & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
42
+ };
43
+ contextTypes: {
44
+ parentFocusKey: import("prop-types").Requireable<string>;
45
+ };
46
+ childContextTypes: {
47
+ parentFocusKey: import("prop-types").Requireable<string>;
48
+ };
49
+ };
50
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import ActionButton from './ActionButton';
2
+ export default ActionButton;
@@ -0,0 +1,107 @@
1
+ import './PanelNavButton.styles.css';
2
+ import React from 'react';
3
+ import { RemoteControlProps } from '@/helpers/withRemoteControl';
4
+ declare const _default: {
5
+ new (props: RemoteControlProps & {
6
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
7
+ index: number;
8
+ active: boolean;
9
+ children?: React.ReactNode;
10
+ focused?: boolean | undefined;
11
+ focusKey: string;
12
+ onBecameFocused: () => void;
13
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
14
+ } & import("@/external/spatial-navigation").WithFocusableProps): {
15
+ cleanup?: (() => void) | undefined;
16
+ componentDidUpdate(prevProps: Readonly<RemoteControlProps & {
17
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
18
+ index: number;
19
+ active: boolean;
20
+ children?: React.ReactNode;
21
+ focused?: boolean | undefined;
22
+ focusKey: string;
23
+ onBecameFocused: () => void;
24
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
25
+ } & import("@/external/spatial-navigation").WithFocusableProps>): void;
26
+ componentDidMount(): void;
27
+ componentWillUnmount(): void;
28
+ handleKeyDown: (e: KeyboardEvent) => void;
29
+ render(): React.JSX.Element;
30
+ setState<K extends "active">(state: {
31
+ active: boolean;
32
+ } | ((prevState: Readonly<{
33
+ active: boolean;
34
+ }>, props: RemoteControlProps & {
35
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
36
+ index: number;
37
+ active: boolean;
38
+ children?: React.ReactNode;
39
+ focused?: boolean | undefined;
40
+ focusKey: string;
41
+ onBecameFocused: () => void;
42
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
43
+ } & import("@/external/spatial-navigation").WithFocusableProps) => {
44
+ active: boolean;
45
+ } | Pick<{
46
+ active: boolean;
47
+ }, K>) | Pick<{
48
+ active: boolean;
49
+ }, K>, callback?: (() => any) | undefined): void;
50
+ forceUpdate(callBack?: (() => any) | undefined): void;
51
+ props: Readonly<{
52
+ children?: React.ReactNode;
53
+ }> & Readonly<RemoteControlProps & {
54
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
55
+ index: number;
56
+ active: boolean;
57
+ children?: React.ReactNode;
58
+ focused?: boolean | undefined;
59
+ focusKey: string;
60
+ onBecameFocused: () => void;
61
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
62
+ } & import("@/external/spatial-navigation").WithFocusableProps>;
63
+ state: Readonly<{
64
+ active: boolean;
65
+ }>;
66
+ context: any;
67
+ refs: {
68
+ [key: string]: React.ReactInstance;
69
+ };
70
+ componentWillMount?(): void;
71
+ componentWillReceiveProps?(nextProps: Readonly<RemoteControlProps & {
72
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
73
+ index: number;
74
+ active: boolean;
75
+ children?: React.ReactNode;
76
+ focused?: boolean | undefined;
77
+ focusKey: string;
78
+ onBecameFocused: () => void;
79
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
80
+ } & import("@/external/spatial-navigation").WithFocusableProps>, nextContext: any): void;
81
+ shouldComponentUpdate?(nextProps: Readonly<RemoteControlProps & {
82
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
83
+ index: number;
84
+ active: boolean;
85
+ children?: React.ReactNode;
86
+ focused?: boolean | undefined;
87
+ focusKey: string;
88
+ onBecameFocused: () => void;
89
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
90
+ } & import("@/external/spatial-navigation").WithFocusableProps>, nextState: Readonly<{
91
+ active: boolean;
92
+ }>, nextContext: any): boolean;
93
+ componentWillUpdate?(nextProps: Readonly<RemoteControlProps & {
94
+ iconName: "play" | "keyPlays" | "stats" | "fantasy" | "bets" | "warning";
95
+ index: number;
96
+ active: boolean;
97
+ children?: React.ReactNode;
98
+ focused?: boolean | undefined;
99
+ focusKey: string;
100
+ onBecameFocused: () => void;
101
+ buttonRef?: React.Ref<HTMLDivElement> | undefined;
102
+ } & import("@/external/spatial-navigation").WithFocusableProps>, nextState: Readonly<{
103
+ active: boolean;
104
+ }>, nextContext: any): void;
105
+ };
106
+ };
107
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import PanelNavButton from './PanelNavButton';
2
+ export default PanelNavButton;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './ScrollableGradient.styles.css';
3
+ interface ScrollableGradientProps {
4
+ scrolled: boolean;
5
+ children?: React.ReactNode;
6
+ }
7
+ declare class ScrollableGradient extends React.Component<ScrollableGradientProps> {
8
+ constructor(props: ScrollableGradientProps);
9
+ render(): React.JSX.Element;
10
+ }
11
+ export default ScrollableGradient;
@@ -0,0 +1,2 @@
1
+ import ScrollableGradient from './ScrollableGradient';
2
+ export default ScrollableGradient;
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import './SegmentButton.styles.css';
3
+ import React from 'react';
4
+ interface SegmentButtonProps extends HTMLAttributes<HTMLButtonElement> {
5
+ }
6
+ declare class SegmentButton extends React.Component<SegmentButtonProps> {
7
+ constructor(props: SegmentButtonProps);
8
+ render(): React.JSX.Element;
9
+ }
10
+ export default SegmentButton;
@@ -0,0 +1,2 @@
1
+ import SegmentButton from './SegmentButton';
2
+ export default SegmentButton;
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import './WatchButton.styles.css';
3
+ import React from 'react';
4
+ interface WatchButtonProps extends HTMLAttributes<HTMLButtonElement> {
5
+ }
6
+ declare class WatchButton extends React.Component<WatchButtonProps> {
7
+ constructor(props: WatchButtonProps);
8
+ render(): React.JSX.Element;
9
+ }
10
+ export default WatchButton;
@@ -0,0 +1,2 @@
1
+ import WatchButton from './WatchButton';
2
+ export default WatchButton;
@@ -0,0 +1,15 @@
1
+ import { IconsName } from '@/components/atoms/SvgIcon/Icon';
2
+ import './PanelNavigation.styles.css';
3
+ import React from 'react';
4
+ interface PanelNavigationProps {
5
+ items: {
6
+ title: string;
7
+ onEnter: () => void;
8
+ iconName: IconsName;
9
+ active: boolean;
10
+ }[];
11
+ }
12
+ declare class PanelNavigation extends React.Component<PanelNavigationProps> {
13
+ render(): React.JSX.Element;
14
+ }
15
+ export default PanelNavigation;
@@ -0,0 +1,2 @@
1
+ import PanelNavigation from './PanelNavigation';
2
+ export default PanelNavigation;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import './SegmentController.styles.css';
3
+ interface SegmentControllerProps {
4
+ backgroundColor?: string;
5
+ items: {
6
+ title: string;
7
+ onEnter: () => void;
8
+ }[];
9
+ }
10
+ declare class SegmentController extends React.Component<SegmentControllerProps> {
11
+ constructor(props: SegmentControllerProps);
12
+ render(): React.JSX.Element;
13
+ }
14
+ export default SegmentController;
@@ -0,0 +1,2 @@
1
+ import SegmentController from './SegmentController';
2
+ export default SegmentController;
@@ -0,0 +1,15 @@
1
+ import { INetworkClient } from './ports/networkClient';
2
+ declare class AxiosNetworkClient implements INetworkClient {
3
+ private client;
4
+ constructor({ baseURL, retries, delay, backoff, }: {
5
+ baseURL: string;
6
+ retries: number;
7
+ delay: number;
8
+ backoff: number;
9
+ });
10
+ private handleRetry;
11
+ get<TResponseData = any>(endpoint: string, params?: any): Promise<TResponseData>;
12
+ post<TRequestData = any, TResponseData = any>(endpoint: string, data: TRequestData): Promise<TResponseData>;
13
+ setAuthentication(token: string | null, apiKey: string | null): void;
14
+ }
15
+ export default AxiosNetworkClient;
@@ -0,0 +1,10 @@
1
+ import { ICacheManager, ProduceCacheKeyParams } from './ports/cacheManager';
2
+ declare class LocalStorageCacheManager implements ICacheManager {
3
+ private cacheDuration;
4
+ constructor(cacheDuration?: number);
5
+ produceCacheKey(payload: ProduceCacheKeyParams): string;
6
+ setCache(key: string, data: unknown): void;
7
+ getCache<T = any>(key: string): T | null;
8
+ clearCache(key: string): void;
9
+ }
10
+ export default LocalStorageCacheManager;
@@ -0,0 +1,26 @@
1
+ import { type IRenderer } from './ports/renderer';
2
+ import { MaestroViewModels } from '@/view-models';
3
+ import type IMaestroEventDelegate from '@/interfaces/IMaestroEventDelegate';
4
+ declare class ReactRenderer implements IRenderer {
5
+ private renderersMap;
6
+ viewModels: MaestroViewModels | null;
7
+ /**
8
+ * Sets the view models for the renderer
9
+ * @param eventId The event ID to create view models for
10
+ * @param delegate The event delegate to use
11
+ */
12
+ setViewModels(eventId: string, delegate?: IMaestroEventDelegate): Promise<MaestroViewModels | null>;
13
+ /**
14
+ * Renders the panel manager
15
+ * @param id The element ID to render in
16
+ * @param options Options for rendering including height and width
17
+ */
18
+ renderPanel(id: string): Promise<() => void>;
19
+ /**
20
+ * @description Get the render function and renderer for the MaestroWebSDK. Useful to configure the renderer and fonts before rendering the component.
21
+ * @param {string} id - The id of the element to render the component in.
22
+ * @param {{ height: number; width: number }} options - The height and width of the component.
23
+ */
24
+ private getRenderer;
25
+ }
26
+ export default ReactRenderer;
@@ -0,0 +1,15 @@
1
+ export type CachedData = {
2
+ data: unknown;
3
+ timestamp: number;
4
+ };
5
+ export interface ProduceCacheKeyParams {
6
+ endpoint: string;
7
+ params?: Record<string, any>;
8
+ data?: any;
9
+ }
10
+ export interface ICacheManager {
11
+ setCache(key: string, data: unknown): void;
12
+ getCache<T = any>(key: string): T | null;
13
+ produceCacheKey(params: ProduceCacheKeyParams): string;
14
+ clearCache(key: string): void;
15
+ }
@@ -0,0 +1,5 @@
1
+ export interface INetworkClient {
2
+ get<TResponseData = any>(endpoint: string, params?: any): Promise<TResponseData>;
3
+ post<TRequestData = any, TResponseData = any>(endpoint: string, data: TRequestData): Promise<TResponseData>;
4
+ setAuthentication(token: string | null, apiKey: string | null): void;
5
+ }
@@ -0,0 +1,9 @@
1
+ import IMaestroEventDelegate from '../../interfaces/IMaestroEventDelegate';
2
+ import { MaestroViewModels } from '../../view-models';
3
+ type UnmountFn = () => void;
4
+ export interface IRenderer {
5
+ renderPanel(id: string): Promise<UnmountFn>;
6
+ setViewModels(eventId: string, delegate?: IMaestroEventDelegate): Promise<MaestroViewModels | null>;
7
+ viewModels: MaestroViewModels | null;
8
+ }
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import withFocusable, { WithFocusableProps } from './withFocusable';
2
+ import { InitOptions, KeyMap } from './spatialNavigation';
3
+ declare const destroy: () => void, pause: () => void, resume: () => void, setFocus: (targetFocusKey: string, details?: Record<string, any>) => void, init: ({ debug, visualDebug, nativeMode, throttle, throttleKeypresses, }?: InitOptions) => void, setKeyMap: (keyMap: KeyMap) => void;
4
+ export { withFocusable, init, setKeyMap, destroy, pause, resume, setFocus };
5
+ export type { InitOptions, KeyMap, WithFocusableProps };
@@ -0,0 +1,2 @@
1
+ declare const measureLayout: (node: any, callback: (x: number, y: number, width: number, height: number, left: number, top: number) => void) => void;
2
+ export default measureLayout;