@24i/bigscreen-sdk 0.9.9-alpha.2147

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 (933) hide show
  1. package/README.md +47 -0
  2. package/package.json +272 -0
  3. package/packages/adobe-heartbeat/README.md +46 -0
  4. package/packages/adobe-heartbeat/src/AdobeHeartbeat.ts +244 -0
  5. package/packages/adobe-heartbeat/src/__external__/Adobe/Adobe.d.ts +24 -0
  6. package/packages/adobe-heartbeat/src/__external__/Adobe/MediaSDK.min.d.ts +126 -0
  7. package/packages/adobe-heartbeat/src/__external__/Adobe/MediaSDK.min.js +76 -0
  8. package/packages/adobe-heartbeat/src/index.ts +5 -0
  9. package/packages/adobe-heartbeat/src/types.ts +67 -0
  10. package/packages/animations/README.md +74 -0
  11. package/packages/animations/src/AnimationUtils.ts +232 -0
  12. package/packages/animations/src/JSAnimations.ts +142 -0
  13. package/packages/animations/src/index.ts +3 -0
  14. package/packages/announcement-banner/README.md +49 -0
  15. package/packages/announcement-banner/examples/example1.gif +0 -0
  16. package/packages/announcement-banner/src/AnnouncementBanner.scss +8 -0
  17. package/packages/announcement-banner/src/AnnouncementBanner.tsx +136 -0
  18. package/packages/announcement-banner/src/index.ts +1 -0
  19. package/packages/async-image/README.md +47 -0
  20. package/packages/async-image/src/AsyncImage.tsx +96 -0
  21. package/packages/async-image/src/index.ts +2 -0
  22. package/packages/conviva/README.md +48 -0
  23. package/packages/conviva/src/ConvivaSDK.ts +38 -0
  24. package/packages/conviva/src/index.ts +1 -0
  25. package/packages/conviva/src/theoPlugin/ConvivaConviguration.ts +19 -0
  26. package/packages/conviva/src/theoPlugin/__external__/Conviva_4.0.15.js +699 -0
  27. package/packages/conviva/src/theoPlugin/__external__/convivaTheoPlugin.d.ts +7 -0
  28. package/packages/conviva/src/theoPlugin/__external__/convivaTheoPlugin.js +636 -0
  29. package/packages/conviva/src/theoPlugin/convivaTheoPluginWrapper.ts +61 -0
  30. package/packages/conviva/src/theoPlugin/index.ts +2 -0
  31. package/packages/developer-tools/DeveloperConsole/README.md +114 -0
  32. package/packages/developer-tools/DeveloperConsole/index.ts +3 -0
  33. package/packages/developer-tools/DeveloperConsole/unstyled.ts +1 -0
  34. package/packages/developer-tools/DeveloperToolsService/README.md +54 -0
  35. package/packages/developer-tools/DeveloperToolsService/index.ts +3 -0
  36. package/packages/developer-tools/DeveloperToolsService/unstyled.ts +1 -0
  37. package/packages/developer-tools/EnvironmentSelection/README.md +77 -0
  38. package/packages/developer-tools/EnvironmentSelection/index.ts +3 -0
  39. package/packages/developer-tools/EnvironmentSelection/unstyled.ts +1 -0
  40. package/packages/developer-tools/PlayerDebugWindow/README.md +65 -0
  41. package/packages/developer-tools/PlayerDebugWindow/index.ts +3 -0
  42. package/packages/developer-tools/PlayerDebugWindow/unstyled.ts +1 -0
  43. package/packages/developer-tools/README.md +24 -0
  44. package/packages/developer-tools/TechnicalInfo/README.md +90 -0
  45. package/packages/developer-tools/TechnicalInfo/index.ts +9 -0
  46. package/packages/developer-tools/TechnicalInfo/unstyled.ts +6 -0
  47. package/packages/developer-tools/src/DeveloperConsole/ControlButton.tsx +16 -0
  48. package/packages/developer-tools/src/DeveloperConsole/DeveloperConsole.tsx +388 -0
  49. package/packages/developer-tools/src/DeveloperConsole/Panel.tsx +108 -0
  50. package/packages/developer-tools/src/DeveloperConsole/PanelMessage.tsx +33 -0
  51. package/packages/developer-tools/src/DeveloperConsole/helpers/Queue.ts +38 -0
  52. package/packages/developer-tools/src/DeveloperConsole/helpers/index.ts +2 -0
  53. package/packages/developer-tools/src/DeveloperConsole/helpers/instrumentHandler.ts +165 -0
  54. package/packages/developer-tools/src/DeveloperConsole/index.ts +2 -0
  55. package/packages/developer-tools/src/DeveloperConsole/initDeveloperConsole.tsx +8 -0
  56. package/packages/developer-tools/src/DeveloperConsole/styles/DeveloperConsole/DeveloperConsole.scss +91 -0
  57. package/packages/developer-tools/src/DeveloperConsole/styles/DeveloperConsole/DeveloperConsole.styles.1080.scss +2 -0
  58. package/packages/developer-tools/src/DeveloperConsole/styles/DeveloperConsole/DeveloperConsole.styles.scss +2 -0
  59. package/packages/developer-tools/src/DeveloperConsole/styles/DeveloperConsole/_sizes.1080.scss +16 -0
  60. package/packages/developer-tools/src/DeveloperConsole/styles/DeveloperConsole/_sizes.scss +16 -0
  61. package/packages/developer-tools/src/DeveloperConsole/styles/Panel/Panel.scss +87 -0
  62. package/packages/developer-tools/src/DeveloperConsole/styles/Panel/Panel.styles.1080.scss +2 -0
  63. package/packages/developer-tools/src/DeveloperConsole/styles/Panel/Panel.styles.scss +2 -0
  64. package/packages/developer-tools/src/DeveloperConsole/styles/Panel/_sizes.1080.scss +9 -0
  65. package/packages/developer-tools/src/DeveloperConsole/styles/Panel/_sizes.scss +9 -0
  66. package/packages/developer-tools/src/DeveloperConsole/styles.ts +2 -0
  67. package/packages/developer-tools/src/DeveloperConsole/types.ts +49 -0
  68. package/packages/developer-tools/src/DeveloperToolsService/DeveloperToolItem.tsx +21 -0
  69. package/packages/developer-tools/src/DeveloperToolsService/DeveloperToolsList.tsx +114 -0
  70. package/packages/developer-tools/src/DeveloperToolsService/DeveloperToolsService.tsx +122 -0
  71. package/packages/developer-tools/src/DeveloperToolsService/index.ts +1 -0
  72. package/packages/developer-tools/src/DeveloperToolsService/styles/DeveloperToolsService.scss +64 -0
  73. package/packages/developer-tools/src/DeveloperToolsService/styles/DeveloperToolsService.styles.1080.scss +2 -0
  74. package/packages/developer-tools/src/DeveloperToolsService/styles/DeveloperToolsService.styles.animated.1080.scss +3 -0
  75. package/packages/developer-tools/src/DeveloperToolsService/styles/DeveloperToolsService.styles.animated.scss +4 -0
  76. package/packages/developer-tools/src/DeveloperToolsService/styles/DeveloperToolsService.styles.scss +2 -0
  77. package/packages/developer-tools/src/DeveloperToolsService/styles/_animated.scss +5 -0
  78. package/packages/developer-tools/src/DeveloperToolsService/styles/_sizes.1080.scss +16 -0
  79. package/packages/developer-tools/src/DeveloperToolsService/styles/_sizes.scss +16 -0
  80. package/packages/developer-tools/src/DeveloperToolsService/styles.ts +1 -0
  81. package/packages/developer-tools/src/EnvironmentSelection/EnvironmentList.tsx +93 -0
  82. package/packages/developer-tools/src/EnvironmentSelection/EnvironmentListItem.tsx +73 -0
  83. package/packages/developer-tools/src/EnvironmentSelection/EnvironmentSelection.tsx +100 -0
  84. package/packages/developer-tools/src/EnvironmentSelection/assets/checkmark.svg +18 -0
  85. package/packages/developer-tools/src/EnvironmentSelection/assets/development-stripe.png +0 -0
  86. package/packages/developer-tools/src/EnvironmentSelection/config.ts +43 -0
  87. package/packages/developer-tools/src/EnvironmentSelection/constants.ts +1 -0
  88. package/packages/developer-tools/src/EnvironmentSelection/index.ts +2 -0
  89. package/packages/developer-tools/src/EnvironmentSelection/sizes.1080.ts +9 -0
  90. package/packages/developer-tools/src/EnvironmentSelection/sizes.ts +9 -0
  91. package/packages/developer-tools/src/EnvironmentSelection/styles/EnvironmentSelection.scss +107 -0
  92. package/packages/developer-tools/src/EnvironmentSelection/styles/EnvironmentSelection.styles.1080.scss +2 -0
  93. package/packages/developer-tools/src/EnvironmentSelection/styles/EnvironmentSelection.styles.animated.1080.scss +3 -0
  94. package/packages/developer-tools/src/EnvironmentSelection/styles/EnvironmentSelection.styles.animated.scss +3 -0
  95. package/packages/developer-tools/src/EnvironmentSelection/styles/EnvironmentSelection.styles.scss +2 -0
  96. package/packages/developer-tools/src/EnvironmentSelection/styles/_animated.scss +9 -0
  97. package/packages/developer-tools/src/EnvironmentSelection/styles/_sizes.1080.scss +25 -0
  98. package/packages/developer-tools/src/EnvironmentSelection/styles/_sizes.scss +25 -0
  99. package/packages/developer-tools/src/EnvironmentSelection/styles.ts +1 -0
  100. package/packages/developer-tools/src/EnvironmentSelection/types.ts +10 -0
  101. package/packages/developer-tools/src/IDeveloperTool.ts +14 -0
  102. package/packages/developer-tools/src/PlayerDebugWindow/PlayerDebugWindow.tsx +115 -0
  103. package/packages/developer-tools/src/PlayerDebugWindow/constants.ts +113 -0
  104. package/packages/developer-tools/src/PlayerDebugWindow/index.ts +1 -0
  105. package/packages/developer-tools/src/PlayerDebugWindow/styles/PlayerDebugWindow.scss +29 -0
  106. package/packages/developer-tools/src/PlayerDebugWindow/styles/PlayerDebugWindow.styles.1080.scss +2 -0
  107. package/packages/developer-tools/src/PlayerDebugWindow/styles/PlayerDebugWindow.styles.scss +2 -0
  108. package/packages/developer-tools/src/PlayerDebugWindow/styles/_sizes.1080.scss +11 -0
  109. package/packages/developer-tools/src/PlayerDebugWindow/styles/_sizes.scss +11 -0
  110. package/packages/developer-tools/src/PlayerDebugWindow/styles.ts +1 -0
  111. package/packages/developer-tools/src/TechnicalInfo/ITechnicalInfoProvider.ts +5 -0
  112. package/packages/developer-tools/src/TechnicalInfo/TechnicalInfo.tsx +123 -0
  113. package/packages/developer-tools/src/TechnicalInfo/TechnicalInfoDetail.tsx +76 -0
  114. package/packages/developer-tools/src/TechnicalInfo/TechnicalInfoProvider.ts +318 -0
  115. package/packages/developer-tools/src/TechnicalInfo/icons/arrow-down.svg +18 -0
  116. package/packages/developer-tools/src/TechnicalInfo/icons/arrow-up.svg +18 -0
  117. package/packages/developer-tools/src/TechnicalInfo/index.ts +5 -0
  118. package/packages/developer-tools/src/TechnicalInfo/sizes.1080.ts +1 -0
  119. package/packages/developer-tools/src/TechnicalInfo/sizes.ts +1 -0
  120. package/packages/developer-tools/src/TechnicalInfo/styles/TechnicalInfo.scss +186 -0
  121. package/packages/developer-tools/src/TechnicalInfo/styles/TechnicalInfo.styles.1080.scss +2 -0
  122. package/packages/developer-tools/src/TechnicalInfo/styles/TechnicalInfo.styles.animated.1080.scss +3 -0
  123. package/packages/developer-tools/src/TechnicalInfo/styles/TechnicalInfo.styles.animated.scss +3 -0
  124. package/packages/developer-tools/src/TechnicalInfo/styles/TechnicalInfo.styles.scss +2 -0
  125. package/packages/developer-tools/src/TechnicalInfo/styles/_animated.scss +16 -0
  126. package/packages/developer-tools/src/TechnicalInfo/styles/_sizes.1080.scss +50 -0
  127. package/packages/developer-tools/src/TechnicalInfo/styles/_sizes.scss +50 -0
  128. package/packages/developer-tools/src/TechnicalInfo/styles.ts +1 -0
  129. package/packages/developer-tools/src/TechnicalInfo/translations.ts +75 -0
  130. package/packages/device/README.md +219 -0
  131. package/packages/device/keymap.ts +1 -0
  132. package/packages/device/resolver/index.ts +2 -0
  133. package/packages/device/resolver/keymap.ts +1 -0
  134. package/packages/device/src/DeviceEventMap.ts +1 -0
  135. package/packages/device/src/device.ts +6 -0
  136. package/packages/device/src/driver/index.entone.ts +1 -0
  137. package/packages/device/src/driver/index.hbbtv.tv.ts +1 -0
  138. package/packages/device/src/driver/index.kreatv.ts +1 -0
  139. package/packages/device/src/driver/index.saphi.tv.ts +1 -0
  140. package/packages/device/src/driver/index.tizen.tv.ts +1 -0
  141. package/packages/device/src/driver/index.ts +1 -0
  142. package/packages/device/src/driver/index.webos.tv.ts +1 -0
  143. package/packages/device/src/getKeyDigit.ts +35 -0
  144. package/packages/device/src/getKeyMap.ts +4 -0
  145. package/packages/device/src/index.ts +8 -0
  146. package/packages/device/src/isClickOrEnter.ts +3 -0
  147. package/packages/device/src/resolver/index.ts +2 -0
  148. package/packages/device/src/resolver/resolver.ts +60 -0
  149. package/packages/digital-clock/README.md +26 -0
  150. package/packages/digital-clock/src/DigitalClock.tsx +67 -0
  151. package/packages/digital-clock/src/index.ts +1 -0
  152. package/packages/driver-base/DeviceBase.md +139 -0
  153. package/packages/driver-base/README.md +44 -0
  154. package/packages/driver-base/src/ConnectionType.ts +1 -0
  155. package/packages/driver-base/src/DeviceBase.ts +218 -0
  156. package/packages/driver-base/src/KeyMap/Key.ts +41 -0
  157. package/packages/driver-base/src/KeyMap/KeyMap.ts +386 -0
  158. package/packages/driver-base/src/KeyMap/generateKeyCodeKeyMap.ts +11 -0
  159. package/packages/driver-base/src/KeyMap/index.ts +5 -0
  160. package/packages/driver-base/src/KeyMap/interface.ts +7 -0
  161. package/packages/driver-base/src/KeyMap/overrideValues.ts +16 -0
  162. package/packages/driver-base/src/KeyMap/switchByKey.ts +18 -0
  163. package/packages/driver-base/src/ScreenSize.ts +1 -0
  164. package/packages/driver-base/src/VolumeRange.ts +5 -0
  165. package/packages/driver-base/src/bindPreventDefaultEvent.ts +5 -0
  166. package/packages/driver-base/src/errors.ts +32 -0
  167. package/packages/driver-base/src/index.ts +10 -0
  168. package/packages/driver-base/src/loadObject.ts +30 -0
  169. package/packages/driver-base/src/types/DeviceEvent.ts +9 -0
  170. package/packages/driver-base/src/types/ExitOptions.ts +1 -0
  171. package/packages/driver-base/src/types/KeycodeKeyMap.ts +85 -0
  172. package/packages/driver-base/src/types/ScreenSaverStatus.ts +3 -0
  173. package/packages/driver-base/src/utils.ts +10 -0
  174. package/packages/driver-browser/src/DeviceBrowser.ts +170 -0
  175. package/packages/driver-browser/src/getBrowser.ts +51 -0
  176. package/packages/driver-browser/src/getOsName.ts +30 -0
  177. package/packages/driver-browser/src/index.ts +1 -0
  178. package/packages/driver-browser/src/keymap.ts +14 -0
  179. package/packages/driver-browser/src/patchSuitestKeys.ts +27 -0
  180. package/packages/driver-entone/README.md +9 -0
  181. package/packages/driver-entone/src/DeviceEntone.ts +232 -0
  182. package/packages/driver-entone/src/IEntone.ts +460 -0
  183. package/packages/driver-entone/src/constants.ts +73 -0
  184. package/packages/driver-entone/src/index.ts +1 -0
  185. package/packages/driver-entone/src/keymap.ts +56 -0
  186. package/packages/driver-hbbtv/src/DeviceHbbTV.ts +313 -0
  187. package/packages/driver-hbbtv/src/constants.ts +28 -0
  188. package/packages/driver-hbbtv/src/deviceInfo.ts +23 -0
  189. package/packages/driver-hbbtv/src/getVersion.ts +16 -0
  190. package/packages/driver-hbbtv/src/index.ts +1 -0
  191. package/packages/driver-hbbtv/src/keymap.ts +45 -0
  192. package/packages/driver-hbbtv/src/types.ts +366 -0
  193. package/packages/driver-kreatv/src/DeviceKreaTV.ts +271 -0
  194. package/packages/driver-kreatv/src/IToi.ts +379 -0
  195. package/packages/driver-kreatv/src/index.ts +1 -0
  196. package/packages/driver-kreatv/src/keymap.ts +31 -0
  197. package/packages/driver-kreatv/src/toi2.ts +107 -0
  198. package/packages/driver-kreatv/src/toi3.ts +102 -0
  199. package/packages/driver-kreatv/src/types.ts +35 -0
  200. package/packages/driver-saphi/src/DeviceSaphi.ts +144 -0
  201. package/packages/driver-saphi/src/constants.ts +1 -0
  202. package/packages/driver-saphi/src/formatUserAgent.ts +19 -0
  203. package/packages/driver-saphi/src/index.ts +1 -0
  204. package/packages/driver-saphi/src/keymap.ts +64 -0
  205. package/packages/driver-saphi/src/types.ts +75 -0
  206. package/packages/driver-tizen/src/DeviceTizen.ts +296 -0
  207. package/packages/driver-tizen/src/ITizen.ts +212 -0
  208. package/packages/driver-tizen/src/IWebapis.ts +95 -0
  209. package/packages/driver-tizen/src/TizenKeys.ts +94 -0
  210. package/packages/driver-tizen/src/constants.ts +197 -0
  211. package/packages/driver-tizen/src/index.ts +1 -0
  212. package/packages/driver-tizen/src/types.ts +14 -0
  213. package/packages/driver-webos/scripts/exportWebOSTVjs.ts +23 -0
  214. package/packages/driver-webos/scripts/template.ts +12 -0
  215. package/packages/driver-webos/src/DeviceWebos.ts +305 -0
  216. package/packages/driver-webos/src/constants.ts +20 -0
  217. package/packages/driver-webos/src/index.ts +1 -0
  218. package/packages/driver-webos/src/keymap.ts +9 -0
  219. package/packages/driver-webos/src/types.ts +344 -0
  220. package/packages/driver-webos/src/utils.ts +60 -0
  221. package/packages/driver-webos/src/webOSTVjs/webOSTVjs-1.2.3/LICENSE-2.0.txt +202 -0
  222. package/packages/driver-webos/src/webOSTVjs/webOSTVjs-1.2.3/webOSTV-dev.js +1 -0
  223. package/packages/driver-webos/src/webOSTVjs/webOSTVjs-1.2.3/webOSTV.js +1 -0
  224. package/packages/driver-xbox/__external__/winjs/directionalnavigation-1.0.0.0.js +1015 -0
  225. package/packages/driver-xbox/src/DeviceXbox.ts +231 -0
  226. package/packages/driver-xbox/src/index.ts +1 -0
  227. package/packages/driver-xbox/src/interfaces.ts +138 -0
  228. package/packages/driver-xbox/src/keymap.ts +96 -0
  229. package/packages/driver-xbox/src/utils.ts +23 -0
  230. package/packages/epg/IMPLEMENTATION.md +228 -0
  231. package/packages/epg/MockGenerator.md +102 -0
  232. package/packages/epg/README.md +582 -0
  233. package/packages/epg/src/v2/Cell.tsx +208 -0
  234. package/packages/epg/src/v2/CellsManager.ts +1 -0
  235. package/packages/epg/src/v2/DataManager.ts +301 -0
  236. package/packages/epg/src/v2/DatePicker.tsx +104 -0
  237. package/packages/epg/src/v2/DateToast/DateToast.scss +28 -0
  238. package/packages/epg/src/v2/DateToast/DateToast.styles.1080.scss +2 -0
  239. package/packages/epg/src/v2/DateToast/DateToast.styles.scss +2 -0
  240. package/packages/epg/src/v2/DateToast/DateToast.tsx +87 -0
  241. package/packages/epg/src/v2/DateToast/_sizes.1080.scss +7 -0
  242. package/packages/epg/src/v2/DateToast/_sizes.scss +7 -0
  243. package/packages/epg/src/v2/DateToast/index.tsx +1 -0
  244. package/packages/epg/src/v2/DateToast/styles.ts +1 -0
  245. package/packages/epg/src/v2/Day.tsx +30 -0
  246. package/packages/epg/src/v2/Epg.tsx +444 -0
  247. package/packages/epg/src/v2/Header.tsx +41 -0
  248. package/packages/epg/src/v2/InputEvents.ts +294 -0
  249. package/packages/epg/src/v2/MockGenerator/config.1080.ts +2 -0
  250. package/packages/epg/src/v2/MockGenerator/config.ts +2 -0
  251. package/packages/epg/src/v2/MockGenerator/generator.ts +173 -0
  252. package/packages/epg/src/v2/MockGenerator/index.ts +2 -0
  253. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_1.png +0 -0
  254. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_10.png +0 -0
  255. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_11.png +0 -0
  256. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_12.png +0 -0
  257. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_13.png +0 -0
  258. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_14.png +0 -0
  259. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_15.png +0 -0
  260. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_16.png +0 -0
  261. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_17.png +0 -0
  262. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_18.png +0 -0
  263. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_19.png +0 -0
  264. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_2.png +0 -0
  265. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_20.png +0 -0
  266. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_3.png +0 -0
  267. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_4.png +0 -0
  268. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_5.png +0 -0
  269. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_6.png +0 -0
  270. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_7.png +0 -0
  271. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_8.png +0 -0
  272. package/packages/epg/src/v2/MockGenerator/mocks/assets/channel_logo_9.png +0 -0
  273. package/packages/epg/src/v2/MockGenerator/mocks/data.ts +102 -0
  274. package/packages/epg/src/v2/MockGenerator/types.ts +25 -0
  275. package/packages/epg/src/v2/MockGenerator/utils.ts +28 -0
  276. package/packages/epg/src/v2/MouseNavigation/MouseNavigation.tsx +88 -0
  277. package/packages/epg/src/v2/MouseNavigation/MouseNavigationFallback.ts +4 -0
  278. package/packages/epg/src/v2/MouseNavigation/index.tizen.tv.ts +1 -0
  279. package/packages/epg/src/v2/MouseNavigation/index.ts +1 -0
  280. package/packages/epg/src/v2/MouseNavigation/index.web.ts +1 -0
  281. package/packages/epg/src/v2/MouseNavigation/index.webos.tv.ts +1 -0
  282. package/packages/epg/src/v2/NowLine.tsx +66 -0
  283. package/packages/epg/src/v2/Program.tsx +58 -0
  284. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.scss +67 -0
  285. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.styles.1080.scss +3 -0
  286. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.styles.animated.1080.scss +2 -0
  287. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.styles.animated.scss +2 -0
  288. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.styles.scss +3 -0
  289. package/packages/epg/src/v2/ProgramInfo/ProgramInfo.tsx +149 -0
  290. package/packages/epg/src/v2/ProgramInfo/_animated.scss +8 -0
  291. package/packages/epg/src/v2/ProgramInfo/_mixins.scss +5 -0
  292. package/packages/epg/src/v2/ProgramInfo/_sizes.1080.scss +21 -0
  293. package/packages/epg/src/v2/ProgramInfo/_sizes.scss +21 -0
  294. package/packages/epg/src/v2/ProgramInfo/index.ts +1 -0
  295. package/packages/epg/src/v2/ProgramInfo/rtl.scss +7 -0
  296. package/packages/epg/src/v2/ProgramInfo/sizes.1080.ts +3 -0
  297. package/packages/epg/src/v2/ProgramInfo/sizes.ts +3 -0
  298. package/packages/epg/src/v2/ProgramInfo/styles.ts +1 -0
  299. package/packages/epg/src/v2/ProgramInfo/utils.ts +27 -0
  300. package/packages/epg/src/v2/Row.tsx +132 -0
  301. package/packages/epg/src/v2/RowsManager.ts +1 -0
  302. package/packages/epg/src/v2/TimeManager.ts +58 -0
  303. package/packages/epg/src/v2/Timeline.ts +1 -0
  304. package/packages/epg/src/v2/TimelineSection.tsx +47 -0
  305. package/packages/epg/src/v2/basic/CellsManager.tsx +295 -0
  306. package/packages/epg/src/v2/basic/RowsManager.tsx +500 -0
  307. package/packages/epg/src/v2/basic/Timeline.tsx +88 -0
  308. package/packages/epg/src/v2/index.ts +1 -0
  309. package/packages/epg/src/v2/interface.ts +1489 -0
  310. package/packages/epg/src/v2/sizes.1080.ts +2 -0
  311. package/packages/epg/src/v2/sizes.ts +2 -0
  312. package/packages/epg/src/v2/styles/Basic/Basic.scss +116 -0
  313. package/packages/epg/src/v2/styles/Basic/index.ts +1 -0
  314. package/packages/epg/src/v2/styles/Whitelabel/index.ts +1 -0
  315. package/packages/epg/src/v2/utils.ts +40 -0
  316. package/packages/events-manager/src/EventsManager.ts +56 -0
  317. package/packages/events-manager/src/index.ts +2 -0
  318. package/packages/floating-focus/README.md +64 -0
  319. package/packages/floating-focus/src/FloatingFocus.ts +106 -0
  320. package/packages/floating-focus/src/Horizontal.tsx +20 -0
  321. package/packages/floating-focus/src/Vertical.tsx +20 -0
  322. package/packages/floating-focus/src/index.ts +4 -0
  323. package/packages/floating-focus/src/types.ts +20 -0
  324. package/packages/floating-focus/src/utils.ts +43 -0
  325. package/packages/focus/README.md +294 -0
  326. package/packages/focus/src/IFocusable.ts +3 -0
  327. package/packages/focus/src/Layout/Base.tsx +128 -0
  328. package/packages/focus/src/Layout/Horizontal.ts +12 -0
  329. package/packages/focus/src/Layout/Matrix.tsx +305 -0
  330. package/packages/focus/src/Layout/Vertical.ts +12 -0
  331. package/packages/focus/src/Layout/__test__/Base.spec.ts +162 -0
  332. package/packages/focus/src/Layout/__test__/Horizontal.spec.ts +46 -0
  333. package/packages/focus/src/Layout/__test__/Matrix.spec.ts +261 -0
  334. package/packages/focus/src/Layout/__test__/Vertical.spec.ts +46 -0
  335. package/packages/focus/src/Layout/__test__/shared.ts +15 -0
  336. package/packages/focus/src/Layout/constants.ts +10 -0
  337. package/packages/focus/src/Layout/types.ts +6 -0
  338. package/packages/focus/src/__test__/candidate.spec.tsx +245 -0
  339. package/packages/focus/src/__test__/focusFirstExisting.spec.tsx +21 -0
  340. package/packages/focus/src/__test__/refocusAfterHashChange.spec.tsx +41 -0
  341. package/packages/focus/src/__test__/safeFocus.spec.tsx +41 -0
  342. package/packages/focus/src/candidate.ts +106 -0
  343. package/packages/focus/src/focusFirstExisting.ts +13 -0
  344. package/packages/focus/src/index.ts +15 -0
  345. package/packages/focus/src/refocusAfterHashChange.ts +19 -0
  346. package/packages/focus/src/safeFocus.ts +15 -0
  347. package/packages/gallup/README.md +27 -0
  348. package/packages/gallup/src/Gallup.ts +80 -0
  349. package/packages/gallup/src/GallupMock.ts +7 -0
  350. package/packages/gallup/src/__external__/SpringStreams.d.ts +39 -0
  351. package/packages/gallup/src/__external__/SpringStreams.js +1 -0
  352. package/packages/gallup/src/index.ts +1 -0
  353. package/packages/grid/BasicGrid/README.md +78 -0
  354. package/packages/grid/BasicGrid/examples/example1.gif +0 -0
  355. package/packages/grid/BasicGrid/examples/example2.gif +0 -0
  356. package/packages/grid/BasicGrid/index.ts +1 -0
  357. package/packages/grid/FirstOnlyGrid/README.md +43 -0
  358. package/packages/grid/FirstOnlyGrid/examples/example1.gif +0 -0
  359. package/packages/grid/FirstOnlyGrid/index.ts +1 -0
  360. package/packages/grid/FixedToEndGrid/README.md +45 -0
  361. package/packages/grid/FixedToEndGrid/examples/example1.gif +0 -0
  362. package/packages/grid/FixedToEndGrid/index.ts +1 -0
  363. package/packages/grid/Item/index.ts +1 -0
  364. package/packages/grid/README.md +150 -0
  365. package/packages/grid/src/Base/Base.mouse.tsx +24 -0
  366. package/packages/grid/src/Base/Base.tsx +450 -0
  367. package/packages/grid/src/Base/index.tizen.tv.ts +1 -0
  368. package/packages/grid/src/Base/index.ts +1 -0
  369. package/packages/grid/src/Base/index.webos.tv.ts +1 -0
  370. package/packages/grid/src/Base/index.webtv.ts +1 -0
  371. package/packages/grid/src/BasicGrid/BasicGrid.tsx +137 -0
  372. package/packages/grid/src/BasicGrid/config.ts +13 -0
  373. package/packages/grid/src/FastFocusingOptimizer/FastFocusingOptimizer.ts +54 -0
  374. package/packages/grid/src/FirstOnlyGrid/FirstOnlyGrid.tsx +110 -0
  375. package/packages/grid/src/FirstOnlyGrid/config.ts +13 -0
  376. package/packages/grid/src/FirstOnlyGrid/controller.ts +10 -0
  377. package/packages/grid/src/FixedToEndGrid/FixedToEndGrid.tsx +112 -0
  378. package/packages/grid/src/FixedToEndGrid/config.ts +13 -0
  379. package/packages/grid/src/FixedToEndGrid/controller.ts +36 -0
  380. package/packages/grid/src/UnifiedGridController/UnifiedGridController.ts +550 -0
  381. package/packages/grid/src/UnifiedGridController/index.ts +2 -0
  382. package/packages/grid/src/UnifiedGridController/interface.ts +92 -0
  383. package/packages/grid/src/animate.animated.ts +1 -0
  384. package/packages/grid/src/animate.ts +1 -0
  385. package/packages/grid/src/interface.ts +28 -0
  386. package/packages/grid/src/mocks/index.tsx +41 -0
  387. package/packages/grid/src/types.ts +63 -0
  388. package/packages/grid/src/utils.ts +69 -0
  389. package/packages/i18n/README.md +460 -0
  390. package/packages/i18n/src/I18n.ts +246 -0
  391. package/packages/i18n/src/Translation.tsx +36 -0
  392. package/packages/i18n/src/addResourceBundle.ts +73 -0
  393. package/packages/i18n/src/direction.ts +33 -0
  394. package/packages/i18n/src/index.ts +4 -0
  395. package/packages/i18n/src/isRtl.ts +3 -0
  396. package/packages/i18n/src/middlewares/i18next/Context/Context.ts +25 -0
  397. package/packages/i18n/src/middlewares/i18next/Context/index.ts +1 -0
  398. package/packages/i18n/src/middlewares/i18next/Interpolation/Interpolation.ts +95 -0
  399. package/packages/i18n/src/middlewares/i18next/Interpolation/index.ts +1 -0
  400. package/packages/i18n/src/middlewares/i18next/Nesting/Nesting.ts +38 -0
  401. package/packages/i18n/src/middlewares/i18next/Nesting/index.ts +1 -0
  402. package/packages/i18n/src/middlewares/i18next/Plurals/Plurals.ts +123 -0
  403. package/packages/i18n/src/middlewares/i18next/Plurals/Resolvers.ts +124 -0
  404. package/packages/i18n/src/middlewares/i18next/Plurals/index.ts +1 -0
  405. package/packages/i18n/src/middlewares/i18next/Plurals/types.ts +6 -0
  406. package/packages/i18n/src/middlewares/icu/DateInterpolation/DateInterpolation.ts +64 -0
  407. package/packages/i18n/src/middlewares/icu/DateInterpolation/index.ts +1 -0
  408. package/packages/i18n/src/middlewares/icu/Interpolation/Interpolation.ts +39 -0
  409. package/packages/i18n/src/middlewares/icu/Interpolation/index.ts +1 -0
  410. package/packages/i18n/src/middlewares/icu/NumberInterpolation/NumberInterpolation.ts +41 -0
  411. package/packages/i18n/src/middlewares/icu/NumberInterpolation/index.ts +1 -0
  412. package/packages/i18n/src/middlewares/icu/Plurals/Plurals.ts +65 -0
  413. package/packages/i18n/src/middlewares/icu/Plurals/Resolvers.ts +130 -0
  414. package/packages/i18n/src/middlewares/icu/Plurals/index.ts +1 -0
  415. package/packages/i18n/src/middlewares/icu/Plurals/types.ts +15 -0
  416. package/packages/i18n/src/middlewares/icu/Select/Select.ts +36 -0
  417. package/packages/i18n/src/middlewares/icu/Select/index.ts +1 -0
  418. package/packages/i18n/src/middlewares/icu/TimeInterpolation/TimeInterpolation.ts +65 -0
  419. package/packages/i18n/src/middlewares/icu/TimeInterpolation/index.ts +1 -0
  420. package/packages/i18n/src/middlewares/icu/shared/hasVariable.ts +5 -0
  421. package/packages/i18n/src/middlewares/icu/shared/matchSwitchCase.ts +80 -0
  422. package/packages/i18n/src/middlewares/icu/shared/unwrap.ts +1 -0
  423. package/packages/i18n/src/pluralsCommon/PluralsHelper.ts +54 -0
  424. package/packages/i18n/src/pluralsCommon/ResolverByLanguage.ts +129 -0
  425. package/packages/i18n/src/t.tsx +6 -0
  426. package/packages/i18n/src/typedTranslate.ts +31 -0
  427. package/packages/i18n/src/types.ts +66 -0
  428. package/packages/i18n/src/utils.ts +76 -0
  429. package/packages/icon/README.md +107 -0
  430. package/packages/icon/src/Icon.tsx +49 -0
  431. package/packages/icon/src/index.ts +1 -0
  432. package/packages/ime/README.md +72 -0
  433. package/packages/ime/src/IKeyboard.ts +6 -0
  434. package/packages/ime/src/IKeyboardEvent.ts +7 -0
  435. package/packages/ime/src/ImeManager.ts +33 -0
  436. package/packages/ime/src/SystemKeyboard/SystemKeyboard.ts +33 -0
  437. package/packages/ime/src/SystemKeyboard/SystemKeyboardBase.ts +98 -0
  438. package/packages/ime/src/SystemKeyboard/TizenSystemKeyboard.ts +66 -0
  439. package/packages/ime/src/SystemKeyboard/WebosSystemKeyboard.ts +74 -0
  440. package/packages/ime/src/SystemKeyboard/index.tizen.tv.ts +1 -0
  441. package/packages/ime/src/SystemKeyboard/index.ts +1 -0
  442. package/packages/ime/src/SystemKeyboard/index.webos.tv.ts +1 -0
  443. package/packages/ime/src/index.ts +3 -0
  444. package/packages/input/README.md +62 -0
  445. package/packages/input/src/Input.scss +5 -0
  446. package/packages/input/src/Input.tsx +216 -0
  447. package/packages/input/src/handleOverflow.ts +16 -0
  448. package/packages/input/src/index.ts +1 -0
  449. package/packages/interactable/README.md +37 -0
  450. package/packages/interactable/src/Interactable.tsx +27 -0
  451. package/packages/interactable/src/index.ts +1 -0
  452. package/packages/interactable/src/interface.ts +6 -0
  453. package/packages/ipify/README.md +30 -0
  454. package/packages/ipify/src/index.ts +1 -0
  455. package/packages/ipify/src/ipify.ts +41 -0
  456. package/packages/jsx/README.md +388 -0
  457. package/packages/jsx/src/Component.ts +68 -0
  458. package/packages/jsx/src/createRef.ts +5 -0
  459. package/packages/jsx/src/forwardRef.ts +8 -0
  460. package/packages/jsx/src/index.ts +31 -0
  461. package/packages/jsx/src/jsx-runtime.ts +5 -0
  462. package/packages/jsx/src/manipulation/attachNode.ts +30 -0
  463. package/packages/jsx/src/manipulation/attachNodeBefore.ts +44 -0
  464. package/packages/jsx/src/manipulation/clearNode.ts +14 -0
  465. package/packages/jsx/src/manipulation/detachNode.ts +26 -0
  466. package/packages/jsx/src/manipulation/index.ts +7 -0
  467. package/packages/jsx/src/manipulation/removeNode.ts +18 -0
  468. package/packages/jsx/src/manipulation/replaceNode.ts +42 -0
  469. package/packages/jsx/src/manipulation/swapNodes.ts +53 -0
  470. package/packages/jsx/src/mount/guards.ts +26 -0
  471. package/packages/jsx/src/mount/handleLifecycle.ts +71 -0
  472. package/packages/jsx/src/mount/index.ts +1 -0
  473. package/packages/jsx/src/mount/lifecycle.ts +38 -0
  474. package/packages/jsx/src/mount/lifecycleHelpers.ts +29 -0
  475. package/packages/jsx/src/mount/mount.ts +141 -0
  476. package/packages/jsx/src/mount/namespaces.ts +7 -0
  477. package/packages/jsx/src/mount/props.ts +121 -0
  478. package/packages/jsx/src/nodeUtils.ts +69 -0
  479. package/packages/jsx/src/setText.ts +15 -0
  480. package/packages/jsx/src/test-utils/MountedComponent.ts +50 -0
  481. package/packages/jsx/src/test-utils/README.md +73 -0
  482. package/packages/jsx/src/test-utils/click.ts +7 -0
  483. package/packages/jsx/src/test-utils/enter.ts +4 -0
  484. package/packages/jsx/src/test-utils/index.ts +5 -0
  485. package/packages/jsx/src/test-utils/keydown.ts +21 -0
  486. package/packages/jsx/src/test-utils/shallow.ts +33 -0
  487. package/packages/jsx/src/test-utils/spec-utils.ts +6 -0
  488. package/packages/jsx/src/textNode.ts +9 -0
  489. package/packages/jsx/src/types.ts +128 -0
  490. package/packages/jsx/src/utils.ts +35 -0
  491. package/packages/jsx/src/virtualDOM.ts +121 -0
  492. package/packages/key-sequence/README.md +44 -0
  493. package/packages/key-sequence/src/KeySequence.ts +56 -0
  494. package/packages/key-sequence/src/arrayEndsWithKeyCombo.ts +22 -0
  495. package/packages/key-sequence/src/index.ts +1 -0
  496. package/packages/key-sequence/src/types.ts +13 -0
  497. package/packages/keyboard/README.md +235 -0
  498. package/packages/keyboard/src/AndroidKeyboard/Keyboard.scss +140 -0
  499. package/packages/keyboard/src/AndroidKeyboard/Keyboard.styles.1080.scss +2 -0
  500. package/packages/keyboard/src/AndroidKeyboard/Keyboard.styles.animated.1080.scss +3 -0
  501. package/packages/keyboard/src/AndroidKeyboard/Keyboard.styles.animated.scss +3 -0
  502. package/packages/keyboard/src/AndroidKeyboard/Keyboard.styles.scss +2 -0
  503. package/packages/keyboard/src/AndroidKeyboard/Keyboard.tsx +228 -0
  504. package/packages/keyboard/src/AndroidKeyboard/_animated.scss +7 -0
  505. package/packages/keyboard/src/AndroidKeyboard/_sizes.1080.scss +15 -0
  506. package/packages/keyboard/src/AndroidKeyboard/_sizes.scss +15 -0
  507. package/packages/keyboard/src/AndroidKeyboard/icons/arrow_left.svg +7 -0
  508. package/packages/keyboard/src/AndroidKeyboard/icons/arrow_right.svg +7 -0
  509. package/packages/keyboard/src/AndroidKeyboard/icons/key_backspace.svg +13 -0
  510. package/packages/keyboard/src/AndroidKeyboard/index.ts +1 -0
  511. package/packages/keyboard/src/AndroidKeyboard/makeLayout.ts +19 -0
  512. package/packages/keyboard/src/Backdrop/Backdrop.scss +15 -0
  513. package/packages/keyboard/src/Backdrop/Backdrop.styles.1080.scss +2 -0
  514. package/packages/keyboard/src/Backdrop/Backdrop.styles.scss +2 -0
  515. package/packages/keyboard/src/Backdrop/Backdrop.tsx +31 -0
  516. package/packages/keyboard/src/Backdrop/_sizes.1080.scss +2 -0
  517. package/packages/keyboard/src/Backdrop/_sizes.scss +2 -0
  518. package/packages/keyboard/src/DefaultKeyboard/Keyboard.scss +73 -0
  519. package/packages/keyboard/src/DefaultKeyboard/Keyboard.styles.1080.scss +2 -0
  520. package/packages/keyboard/src/DefaultKeyboard/Keyboard.styles.scss +2 -0
  521. package/packages/keyboard/src/DefaultKeyboard/Keyboard.tsx +154 -0
  522. package/packages/keyboard/src/DefaultKeyboard/_sizes.1080.scss +12 -0
  523. package/packages/keyboard/src/DefaultKeyboard/_sizes.scss +12 -0
  524. package/packages/keyboard/src/DefaultKeyboard/index.ts +1 -0
  525. package/packages/keyboard/src/KeyboardBase.tsx +325 -0
  526. package/packages/keyboard/src/MobiKeyboard/Keyboard.scss +180 -0
  527. package/packages/keyboard/src/MobiKeyboard/Keyboard.styles.1080.scss +2 -0
  528. package/packages/keyboard/src/MobiKeyboard/Keyboard.styles.animated.1080.scss +3 -0
  529. package/packages/keyboard/src/MobiKeyboard/Keyboard.styles.animated.scss +3 -0
  530. package/packages/keyboard/src/MobiKeyboard/Keyboard.styles.scss +2 -0
  531. package/packages/keyboard/src/MobiKeyboard/Keyboard.tsx +267 -0
  532. package/packages/keyboard/src/MobiKeyboard/_animated.scss +7 -0
  533. package/packages/keyboard/src/MobiKeyboard/_sizes.1080.scss +10 -0
  534. package/packages/keyboard/src/MobiKeyboard/_sizes.scss +10 -0
  535. package/packages/keyboard/src/MobiKeyboard/icons/arrow_left.svg +7 -0
  536. package/packages/keyboard/src/MobiKeyboard/icons/arrow_right.svg +7 -0
  537. package/packages/keyboard/src/MobiKeyboard/icons/key_backspace.svg +13 -0
  538. package/packages/keyboard/src/MobiKeyboard/icons/key_space.svg +7 -0
  539. package/packages/keyboard/src/MobiKeyboard/index.ts +1 -0
  540. package/packages/keyboard/src/MobiKeyboard/utils.ts +19 -0
  541. package/packages/keyboard/src/QwertyKeyboardBase/QwertyKeyboardBase.tsx +54 -0
  542. package/packages/keyboard/src/ShiftMode.ts +25 -0
  543. package/packages/keyboard/src/WhitelabelKeyboard/Keyboard.scss +159 -0
  544. package/packages/keyboard/src/WhitelabelKeyboard/Keyboard.styles.1080.scss +2 -0
  545. package/packages/keyboard/src/WhitelabelKeyboard/Keyboard.styles.scss +2 -0
  546. package/packages/keyboard/src/WhitelabelKeyboard/Keyboard.tsx +354 -0
  547. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/_sizes.1080.scss +7 -0
  548. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/_sizes.scss +7 -0
  549. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/index.ts +1 -0
  550. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/whitelabel.scss +77 -0
  551. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/whitelabel.styles.1080.scss +2 -0
  552. package/packages/keyboard/src/WhitelabelKeyboard/WhitelabelStyles/whitelabel.styles.scss +2 -0
  553. package/packages/keyboard/src/WhitelabelKeyboard/_sizes.1080.scss +31 -0
  554. package/packages/keyboard/src/WhitelabelKeyboard/_sizes.scss +31 -0
  555. package/packages/keyboard/src/WhitelabelKeyboard/focusMatrix.ts +19 -0
  556. package/packages/keyboard/src/WhitelabelKeyboard/icons/arrow_left.svg +10 -0
  557. package/packages/keyboard/src/WhitelabelKeyboard/icons/arrow_right.svg +10 -0
  558. package/packages/keyboard/src/WhitelabelKeyboard/icons/key_backspace.svg +10 -0
  559. package/packages/keyboard/src/WhitelabelKeyboard/icons/key_shift.svg +10 -0
  560. package/packages/keyboard/src/WhitelabelKeyboard/icons/key_shift_active.svg +10 -0
  561. package/packages/keyboard/src/WhitelabelKeyboard/index.ts +2 -0
  562. package/packages/keyboard/src/WhitelabelKeyboard/types.ts +8 -0
  563. package/packages/keyboard/src/WhitelabelNumericKeyboard/NumericKeyboard.scss +105 -0
  564. package/packages/keyboard/src/WhitelabelNumericKeyboard/NumericKeyboard.styles.1080.scss +2 -0
  565. package/packages/keyboard/src/WhitelabelNumericKeyboard/NumericKeyboard.styles.scss +2 -0
  566. package/packages/keyboard/src/WhitelabelNumericKeyboard/NumericKeyboard.tsx +158 -0
  567. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/_sizes.1080.scss +7 -0
  568. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/_sizes.scss +7 -0
  569. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/index.ts +1 -0
  570. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/whitelabel.scss +62 -0
  571. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/whitelabel.styles.1080.scss +2 -0
  572. package/packages/keyboard/src/WhitelabelNumericKeyboard/WhitelabelStyles/whitelabel.styles.scss +2 -0
  573. package/packages/keyboard/src/WhitelabelNumericKeyboard/_sizes.1080.scss +29 -0
  574. package/packages/keyboard/src/WhitelabelNumericKeyboard/_sizes.scss +29 -0
  575. package/packages/keyboard/src/WhitelabelNumericKeyboard/icons/key_backspace.svg +10 -0
  576. package/packages/keyboard/src/WhitelabelNumericKeyboard/index.ts +2 -0
  577. package/packages/keyboard/src/WhitelabelNumericKeyboard/layout.ts +14 -0
  578. package/packages/keyboard/src/hwKeyboardEventToChar.ts +11 -0
  579. package/packages/keyboard/src/types/index.ts +11 -0
  580. package/packages/l10n/README.md +102 -0
  581. package/packages/l10n/interface.ts +1 -0
  582. package/packages/l10n/locales/cs.ts +4 -0
  583. package/packages/l10n/locales/en-001.ts +4 -0
  584. package/packages/l10n/locales/en-us.ts +4 -0
  585. package/packages/l10n/src/Locale.tsx +44 -0
  586. package/packages/l10n/src/date/common.ts +153 -0
  587. package/packages/l10n/src/date/cs.ts +95 -0
  588. package/packages/l10n/src/date/en-001.ts +76 -0
  589. package/packages/l10n/src/date/en-common.ts +54 -0
  590. package/packages/l10n/src/date/en-us.ts +83 -0
  591. package/packages/l10n/src/date/iso.ts +64 -0
  592. package/packages/l10n/src/date/types.ts +47 -0
  593. package/packages/l10n/src/index.ts +2 -0
  594. package/packages/l10n/src/l10n.ts +54 -0
  595. package/packages/l10n/src/types.ts +22 -0
  596. package/packages/list/AttachDetachItem/README.md +128 -0
  597. package/packages/list/AttachDetachItem/index.ts +3 -0
  598. package/packages/list/BasicList/README.md +71 -0
  599. package/packages/list/BasicList/examples/example1.gif +0 -0
  600. package/packages/list/BasicList/examples/example2.gif +0 -0
  601. package/packages/list/BasicList/index.ts +1 -0
  602. package/packages/list/CenteredList/README.md +42 -0
  603. package/packages/list/CenteredList/examples/example1.gif +0 -0
  604. package/packages/list/CenteredList/index.ts +1 -0
  605. package/packages/list/EdgeOffsetList/README.md +58 -0
  606. package/packages/list/EdgeOffsetList/examples/example1.gif +0 -0
  607. package/packages/list/EdgeOffsetList/examples/example2.gif +0 -0
  608. package/packages/list/EdgeOffsetList/index.ts +1 -0
  609. package/packages/list/FirstOnlyList/README.md +39 -0
  610. package/packages/list/FirstOnlyList/examples/example1.gif +0 -0
  611. package/packages/list/FirstOnlyList/index.ts +1 -0
  612. package/packages/list/FirstOnlyVariedList/README.md +105 -0
  613. package/packages/list/FirstOnlyVariedList/index.ts +1 -0
  614. package/packages/list/FixedToEndList/README.md +42 -0
  615. package/packages/list/FixedToEndList/examples/example1.gif +0 -0
  616. package/packages/list/FixedToEndList/index.ts +1 -0
  617. package/packages/list/Item/index.ts +1 -0
  618. package/packages/list/README.md +176 -0
  619. package/packages/list/src/AttachDetachItem/AttachDetachItem.tsx +96 -0
  620. package/packages/list/src/AttachDetachItem/prepareAttachDetachItemData.ts +13 -0
  621. package/packages/list/src/Base/Base.mouse.tsx +28 -0
  622. package/packages/list/src/Base/Base.tsx +355 -0
  623. package/packages/list/src/Base/index.tizen.tv.ts +1 -0
  624. package/packages/list/src/Base/index.ts +1 -0
  625. package/packages/list/src/Base/index.webos.tv.ts +1 -0
  626. package/packages/list/src/Base/index.webtv.ts +1 -0
  627. package/packages/list/src/BasicList/BasicList.tsx +175 -0
  628. package/packages/list/src/BasicList/config.ts +13 -0
  629. package/packages/list/src/CenteredList/CenteredList.tsx +116 -0
  630. package/packages/list/src/CenteredList/config.ts +13 -0
  631. package/packages/list/src/CenteredList/controller.ts +47 -0
  632. package/packages/list/src/CenteredList/interface.ts +10 -0
  633. package/packages/list/src/EdgeOffsetList/EdgeOffsetList.tsx +172 -0
  634. package/packages/list/src/EdgeOffsetList/config.ts +13 -0
  635. package/packages/list/src/FastFocusingOptimizer/FastFocusingOptimizer.ts +54 -0
  636. package/packages/list/src/FirstOnlyList/FirstOnlyList.tsx +122 -0
  637. package/packages/list/src/FirstOnlyList/config.ts +13 -0
  638. package/packages/list/src/FirstOnlyList/controller.ts +11 -0
  639. package/packages/list/src/FirstOnlyVariedList/FirstOnlyVariedList.tsx +132 -0
  640. package/packages/list/src/FirstOnlyVariedList/config.ts +13 -0
  641. package/packages/list/src/FixedToEndList/FixedToEndList.tsx +125 -0
  642. package/packages/list/src/FixedToEndList/config.ts +13 -0
  643. package/packages/list/src/FixedToEndList/controller.ts +44 -0
  644. package/packages/list/src/UnifiedListController/UnifiedListController.ts +254 -0
  645. package/packages/list/src/UnifiedListController/UnifiedListControllerBase.ts +241 -0
  646. package/packages/list/src/UnifiedListController/UnifiedVariedListController.ts +241 -0
  647. package/packages/list/src/UnifiedListController/interface.ts +81 -0
  648. package/packages/list/src/__test__/utils.spec.ts +59 -0
  649. package/packages/list/src/animate.animated.ts +1 -0
  650. package/packages/list/src/animate.ts +1 -0
  651. package/packages/list/src/index.ts +1 -0
  652. package/packages/list/src/interface.ts +41 -0
  653. package/packages/list/src/mocks/index.tsx +55 -0
  654. package/packages/list/src/types.ts +120 -0
  655. package/packages/list/src/utils.ts +142 -0
  656. package/packages/logger/README.md +117 -0
  657. package/packages/logger/src/LoggerManager.ts +60 -0
  658. package/packages/logger/src/LoggerService.ts +43 -0
  659. package/packages/logger/src/index.ts +3 -0
  660. package/packages/logger/src/loggers/ConsoleLogger/ConsoleLogger.ts +51 -0
  661. package/packages/logger/src/loggers/ConsoleLogger/README.md +39 -0
  662. package/packages/logger/src/loggers/ConsoleLogger/index.ts +1 -0
  663. package/packages/logger/src/loggers/LoggerBase/LoggerBase.ts +67 -0
  664. package/packages/logger/src/loggers/LoggerBase/README.md +69 -0
  665. package/packages/logger/src/loggers/LoggerBase/index.ts +1 -0
  666. package/packages/logger/src/loggers/SentryLogger/README.md +98 -0
  667. package/packages/logger/src/loggers/SentryLogger/Sentry.ts +1 -0
  668. package/packages/logger/src/loggers/SentryLogger/SentryLogger.ts +179 -0
  669. package/packages/logger/src/loggers/SentryLogger/index.ts +2 -0
  670. package/packages/logger/src/loggers/index.ts +2 -0
  671. package/packages/logger/src/types.ts +46 -0
  672. package/packages/lottie-animations/README.md +217 -0
  673. package/packages/lottie-animations/src/LottieAnimation.tsx +125 -0
  674. package/packages/lottie-animations/src/index.ts +7 -0
  675. package/packages/menu/README.md +90 -0
  676. package/packages/menu/WhitelabelMenu/index.ts +1 -0
  677. package/packages/menu/WhitelabelMenu/interface.ts +2 -0
  678. package/packages/menu/WhitelabelMenu/styles.ts +2 -0
  679. package/packages/menu/interface.ts +3 -0
  680. package/packages/menu/src/MenuAndContentContainer/MenuAndContentContainer.tsx +166 -0
  681. package/packages/menu/src/MenuAndContentContainer/index.ts +1 -0
  682. package/packages/menu/src/MenuAndContentContainer/interface.ts +164 -0
  683. package/packages/menu/src/MenuAndContentContainer/service.ts +5 -0
  684. package/packages/menu/src/WhitelabelMenu/SideMenu.scss +41 -0
  685. package/packages/menu/src/WhitelabelMenu/SideMenu.styles.1080.scss +2 -0
  686. package/packages/menu/src/WhitelabelMenu/SideMenu.styles.animated.1080.scss +3 -0
  687. package/packages/menu/src/WhitelabelMenu/SideMenu.styles.animated.scss +3 -0
  688. package/packages/menu/src/WhitelabelMenu/SideMenu.styles.scss +2 -0
  689. package/packages/menu/src/WhitelabelMenu/SideMenu.tsx +248 -0
  690. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.scss +56 -0
  691. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.styles.1080.scss +2 -0
  692. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.styles.animated.1080.scss +3 -0
  693. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.styles.animated.scss +3 -0
  694. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.styles.scss +2 -0
  695. package/packages/menu/src/WhitelabelMenu/SideMenuItem/SideMenuItem.tsx +78 -0
  696. package/packages/menu/src/WhitelabelMenu/SideMenuItem/_animated.scss +12 -0
  697. package/packages/menu/src/WhitelabelMenu/SideMenuItem/_sizes.1080.scss +17 -0
  698. package/packages/menu/src/WhitelabelMenu/SideMenuItem/_sizes.scss +17 -0
  699. package/packages/menu/src/WhitelabelMenu/SideMenuItem/index.ts +1 -0
  700. package/packages/menu/src/WhitelabelMenu/SideMenuItem/interface.ts +49 -0
  701. package/packages/menu/src/WhitelabelMenu/SideMenuItem/rtl.scss +12 -0
  702. package/packages/menu/src/WhitelabelMenu/SideMenuItem/sizes.1080.ts +2 -0
  703. package/packages/menu/src/WhitelabelMenu/SideMenuItem/sizes.ts +2 -0
  704. package/packages/menu/src/WhitelabelMenu/SideMenuItem/styles.ts +1 -0
  705. package/packages/menu/src/WhitelabelMenu/VisualController.animated.ts +48 -0
  706. package/packages/menu/src/WhitelabelMenu/VisualController.ts +20 -0
  707. package/packages/menu/src/WhitelabelMenu/VisualControllerBase.ts +71 -0
  708. package/packages/menu/src/WhitelabelMenu/_animated.scss +39 -0
  709. package/packages/menu/src/WhitelabelMenu/_sizes.1080.scss +14 -0
  710. package/packages/menu/src/WhitelabelMenu/_sizes.scss +14 -0
  711. package/packages/menu/src/WhitelabelMenu/assets/shadow.1080.png +0 -0
  712. package/packages/menu/src/WhitelabelMenu/assets/shadow.720.png +0 -0
  713. package/packages/menu/src/WhitelabelMenu/constants.animated.ts +1 -0
  714. package/packages/menu/src/WhitelabelMenu/constants.ts +1 -0
  715. package/packages/menu/src/WhitelabelMenu/index.ts +1 -0
  716. package/packages/menu/src/WhitelabelMenu/interface.ts +14 -0
  717. package/packages/menu/src/WhitelabelMenu/rtl.scss +22 -0
  718. package/packages/menu/src/WhitelabelMenu/sizes.1080.ts +1 -0
  719. package/packages/menu/src/WhitelabelMenu/sizes.ts +1 -0
  720. package/packages/menu/src/WhitelabelMenu/styles.ts +1 -0
  721. package/packages/menu/src/WhitelabelMenu/utils.ts +34 -0
  722. package/packages/menu/src/index.ts +2 -0
  723. package/packages/modal-service/README.md +48 -0
  724. package/packages/modal-service/src/IModal.ts +3 -0
  725. package/packages/modal-service/src/ModalService.scss +7 -0
  726. package/packages/modal-service/src/ModalService.styles.1080.scss +2 -0
  727. package/packages/modal-service/src/ModalService.styles.scss +2 -0
  728. package/packages/modal-service/src/ModalService.tsx +76 -0
  729. package/packages/modal-service/src/_sizes.1080.scss +2 -0
  730. package/packages/modal-service/src/_sizes.scss +2 -0
  731. package/packages/modal-service/src/index.ts +2 -0
  732. package/packages/mouse-navigation/README.md +105 -0
  733. package/packages/mouse-navigation/src/ArrowNavigation/Arrow.tsx +58 -0
  734. package/packages/mouse-navigation/src/ArrowNavigation/ArrowNavigation.tsx +95 -0
  735. package/packages/mouse-navigation/src/ArrowNavigation/__test__/Arrow.spec.tsx +35 -0
  736. package/packages/mouse-navigation/src/ArrowNavigation/__test__/ArrowNavigation.spec.tsx +45 -0
  737. package/packages/mouse-navigation/src/ArrowNavigation/index.tsx +1 -0
  738. package/packages/mouse-navigation/src/MouseElementWrapper.tsx +70 -0
  739. package/packages/mouse-navigation/src/MouseNavigation.tsx +139 -0
  740. package/packages/mouse-navigation/src/MouseNavigationInterface.ts +8 -0
  741. package/packages/mouse-navigation/src/__test__/MouseElementWrapper.spec.tsx +61 -0
  742. package/packages/mouse-navigation/src/__test__/MouseNavigation.spec.tsx +107 -0
  743. package/packages/mouse-navigation/src/index.ts +3 -0
  744. package/packages/numeric-zapper/README.md +153 -0
  745. package/packages/numeric-zapper/src/NumericZapper.scss +20 -0
  746. package/packages/numeric-zapper/src/NumericZapper.styles.1080.scss +2 -0
  747. package/packages/numeric-zapper/src/NumericZapper.styles.scss +2 -0
  748. package/packages/numeric-zapper/src/NumericZapper.tsx +256 -0
  749. package/packages/numeric-zapper/src/ZapperAllower.ts +15 -0
  750. package/packages/numeric-zapper/src/ZapperService.tsx +8 -0
  751. package/packages/numeric-zapper/src/_sizes.1080.scss +7 -0
  752. package/packages/numeric-zapper/src/_sizes.scss +7 -0
  753. package/packages/numeric-zapper/src/index.ts +4 -0
  754. package/packages/numeric-zapper/src/interface.ts +1 -0
  755. package/packages/numeric-zapper/src/styles.ts +1 -0
  756. package/packages/perf-utils/README.md +127 -0
  757. package/packages/perf-utils/src/array/filter.ts +54 -0
  758. package/packages/perf-utils/src/array/find.ts +43 -0
  759. package/packages/perf-utils/src/array/findIndex.ts +43 -0
  760. package/packages/perf-utils/src/array/forEach.ts +48 -0
  761. package/packages/perf-utils/src/array/includes.ts +41 -0
  762. package/packages/perf-utils/src/array/includesNaN.ts +32 -0
  763. package/packages/perf-utils/src/array/index.ts +7 -0
  764. package/packages/perf-utils/src/array/map.ts +52 -0
  765. package/packages/picker/README.md +70 -0
  766. package/packages/picker/src/DatePicker.tsx +55 -0
  767. package/packages/picker/src/ModalPicker/Checkbox.tsx +38 -0
  768. package/packages/picker/src/ModalPicker/PickerItem.tsx +86 -0
  769. package/packages/picker/src/ModalPicker/PickerModal.tsx +98 -0
  770. package/packages/picker/src/ModalPicker/index.ts +1 -0
  771. package/packages/picker/src/ModalPicker/modalPicker.tsx +48 -0
  772. package/packages/picker/src/Picker.tsx +127 -0
  773. package/packages/picker/src/index.ts +3 -0
  774. package/packages/picker/src/types.ts +25 -0
  775. package/packages/pin-input/README.md +55 -0
  776. package/packages/pin-input/src/PinInput.scss +5 -0
  777. package/packages/pin-input/src/PinInput.tsx +169 -0
  778. package/packages/pin-input/src/index.ts +1 -0
  779. package/packages/player-ui/README.md +207 -0
  780. package/packages/player-ui/src/BackwardButton.tsx +41 -0
  781. package/packages/player-ui/src/CurrentTime.tsx +56 -0
  782. package/packages/player-ui/src/Duration.tsx +60 -0
  783. package/packages/player-ui/src/ForwardButton.tsx +41 -0
  784. package/packages/player-ui/src/PauseButton.tsx +57 -0
  785. package/packages/player-ui/src/PlayButton.tsx +57 -0
  786. package/packages/player-ui/src/PlayPauseButton.tsx +63 -0
  787. package/packages/player-ui/src/PlayerInteractable.tsx +66 -0
  788. package/packages/player-ui/src/PlayerTime.tsx +55 -0
  789. package/packages/player-ui/src/PlayerUI.tsx +238 -0
  790. package/packages/player-ui/src/RemainingTime.tsx +74 -0
  791. package/packages/player-ui/src/Seekbar.tsx +184 -0
  792. package/packages/player-ui/src/Seeking.ts +122 -0
  793. package/packages/player-ui/src/StopButton.tsx +35 -0
  794. package/packages/player-ui/src/Subtitles.tsx +151 -0
  795. package/packages/player-ui/src/index.ts +14 -0
  796. package/packages/player-ui/src/mocks.ts +41 -0
  797. package/packages/player-ui/src/timeUtils.ts +139 -0
  798. package/packages/player-ui/src/types.ts +42 -0
  799. package/packages/progress-bar/README.md +31 -0
  800. package/packages/progress-bar/src/ProgressBar.tsx +41 -0
  801. package/packages/progress-bar/src/index.ts +1 -0
  802. package/packages/progress-bar/src/interface.ts +14 -0
  803. package/packages/qr-code/README.md +80 -0
  804. package/packages/qr-code/src/QRCode.tsx +39 -0
  805. package/packages/qr-code/src/index.ts +2 -0
  806. package/packages/qr-code/src/qrGenerator/__external__/constants.ts +23 -0
  807. package/packages/qr-code/src/qrGenerator/__external__/qrcode.d.ts +31 -0
  808. package/packages/qr-code/src/qrGenerator/__external__/qrcode.js +618 -0
  809. package/packages/qr-code/src/qrGenerator/generateQr.ts +7 -0
  810. package/packages/qr-code/src/qrGenerator/index.ts +3 -0
  811. package/packages/router/README.md +163 -0
  812. package/packages/router/src/Route.tsx +132 -0
  813. package/packages/router/src/Router.tsx +174 -0
  814. package/packages/router/src/focusActiveRoute.ts +5 -0
  815. package/packages/router/src/history.ts +24 -0
  816. package/packages/router/src/index.ts +5 -0
  817. package/packages/router/src/types.ts +13 -0
  818. package/packages/router/src/utils.ts +24 -0
  819. package/packages/runtime-config/README.md +37 -0
  820. package/packages/runtime-config/src/Config.ts +44 -0
  821. package/packages/runtime-config/src/index.ts +1 -0
  822. package/packages/sass-utils/README.md +197 -0
  823. package/packages/sass-utils/src/box-shadow.scss +5 -0
  824. package/packages/sass-utils/src/ellipsis.scss +15 -0
  825. package/packages/sass-utils/src/linear-gradient.scss +43 -0
  826. package/packages/sass-utils/src/prefix-property.scss +7 -0
  827. package/packages/sass-utils/src/prefix-value.scss +6 -0
  828. package/packages/sass-utils/src/prefix.scss +6 -0
  829. package/packages/sass-utils/src/scale.1080.scss +3 -0
  830. package/packages/sass-utils/src/scale.720.scss +5 -0
  831. package/packages/sass-utils/src/transform.scss +5 -0
  832. package/packages/sass-utils/src/transition.scss +6 -0
  833. package/packages/scheduler/README.md +55 -0
  834. package/packages/scheduler/src/Scheduler.ts +43 -0
  835. package/packages/scheduler/src/Task.ts +72 -0
  836. package/packages/scheduler/src/index.ts +4 -0
  837. package/packages/scheduler/src/timeProvider.ts +3 -0
  838. package/packages/scroll-text/README.md +78 -0
  839. package/packages/scroll-text/src/Base.tsx +141 -0
  840. package/packages/scroll-text/src/ScrollText.animated.tsx +80 -0
  841. package/packages/scroll-text/src/ScrollText.tsx +53 -0
  842. package/packages/scroll-text/src/ScrollTextBaseClass.tsx +86 -0
  843. package/packages/scroll-text/src/index.ts +1 -0
  844. package/packages/scroller/README.md +77 -0
  845. package/packages/scroller/src/Scroller.tsx +51 -0
  846. package/packages/scroller/src/index.ts +1 -0
  847. package/packages/splash/AnimatedSplash.ts +1 -0
  848. package/packages/splash/AnimatedSplashAnimated.ts +1 -0
  849. package/packages/splash/AnimatedSplashBasic.ts +1 -0
  850. package/packages/splash/AutomaticSplashAnimated.ts +1 -0
  851. package/packages/splash/AutomaticSplashBasic.ts +1 -0
  852. package/packages/splash/README.md +93 -0
  853. package/packages/splash/StaticSplash.ts +1 -0
  854. package/packages/splash/StaticSplashAnimated.ts +1 -0
  855. package/packages/splash/StaticSplashBasic.ts +1 -0
  856. package/packages/splash/src/AnimatedSplash.animated.tsx +78 -0
  857. package/packages/splash/src/AnimatedSplash.basic.tsx +37 -0
  858. package/packages/splash/src/AutomaticSplash.animated.tsx +20 -0
  859. package/packages/splash/src/AutomaticSplash.basic.tsx +20 -0
  860. package/packages/splash/src/Splash.scss +8 -0
  861. package/packages/splash/src/StaticSplash.animated.tsx +48 -0
  862. package/packages/splash/src/StaticSplash.basic.tsx +26 -0
  863. package/packages/splash/src/index.animated.ts +1 -0
  864. package/packages/splash/src/index.ts +1 -0
  865. package/packages/splash/src/styles.ts +1 -0
  866. package/packages/splash/src/types.ts +20 -0
  867. package/packages/storage/README.md +61 -0
  868. package/packages/storage/src/CookieStorage/CookieStorage.ts +57 -0
  869. package/packages/storage/src/CookieStorage/index.ts +1 -0
  870. package/packages/storage/src/LocalStorage/LocalStorage.ts +58 -0
  871. package/packages/storage/src/LocalStorage/index.ts +1 -0
  872. package/packages/storage/src/index.ts +2 -0
  873. package/packages/storage/src/shared.ts +41 -0
  874. package/packages/storage/src/types.ts +33 -0
  875. package/packages/throbber/README.md +53 -0
  876. package/packages/throbber/src/Throbber.scss +52 -0
  877. package/packages/throbber/src/Throbber.tsx +19 -0
  878. package/packages/throbber/src/ThrobberService.tsx +55 -0
  879. package/packages/throbber/src/controlsHandling.ts +14 -0
  880. package/packages/throbber/src/index.ts +2 -0
  881. package/packages/time/README.md +113 -0
  882. package/packages/time/src/Time.ts +245 -0
  883. package/packages/time/src/adapters/worldTimeApi.ts +74 -0
  884. package/packages/time/src/constants.ts +13 -0
  885. package/packages/time/src/index.ts +1 -0
  886. package/packages/time/src/services/worldTimeApi/index.ts +7 -0
  887. package/packages/time/src/services/worldTimeApi/types.ts +75 -0
  888. package/packages/time/src/services/worldTimeApi/worldTimeApi.ts +77 -0
  889. package/packages/time/src/types.ts +39 -0
  890. package/packages/time/src/utils.ts +79 -0
  891. package/packages/toast/README.md +116 -0
  892. package/packages/toast/src/Toast/IVisualController.ts +7 -0
  893. package/packages/toast/src/Toast/Toast.scss +22 -0
  894. package/packages/toast/src/Toast/Toast.styles.1080.scss +2 -0
  895. package/packages/toast/src/Toast/Toast.styles.scss +2 -0
  896. package/packages/toast/src/Toast/Toast.tsx +83 -0
  897. package/packages/toast/src/Toast/VisualController.animated.ts +20 -0
  898. package/packages/toast/src/Toast/VisualController.ts +9 -0
  899. package/packages/toast/src/Toast/_sizes.1080.scss +8 -0
  900. package/packages/toast/src/Toast/_sizes.scss +8 -0
  901. package/packages/toast/src/Toast/index.ts +2 -0
  902. package/packages/toast/src/Toast/styles.ts +1 -0
  903. package/packages/toast/src/ToastService.scss +7 -0
  904. package/packages/toast/src/ToastService.styles.1080.scss +2 -0
  905. package/packages/toast/src/ToastService.styles.scss +2 -0
  906. package/packages/toast/src/ToastService.tsx +48 -0
  907. package/packages/toast/src/_sizes.1080.scss +2 -0
  908. package/packages/toast/src/_sizes.scss +2 -0
  909. package/packages/toast/src/index.ts +4 -0
  910. package/packages/toast/src/types.ts +4 -0
  911. package/packages/types-bigscreen-jsx/README.md +11 -0
  912. package/packages/types-bigscreen-jsx/global.d.ts +155 -0
  913. package/packages/types-bigscreen-jsx/index.d.ts +3323 -0
  914. package/packages/types-bigscreen-jsx/index.js +0 -0
  915. package/packages/types-bigscreen-jsx/src/copyTypes.js +14 -0
  916. package/packages/volume-control/README.md +79 -0
  917. package/packages/volume-control/src/IVolumeControlUI.ts +26 -0
  918. package/packages/volume-control/src/VolumeControlService.tsx +110 -0
  919. package/packages/volume-control/src/VolumeControlUI/VisualController.animated.ts +28 -0
  920. package/packages/volume-control/src/VolumeControlUI/VisualController.ts +3 -0
  921. package/packages/volume-control/src/VolumeControlUI/VisualControllerBase.ts +26 -0
  922. package/packages/volume-control/src/VolumeControlUI/VolumeControl.scss +18 -0
  923. package/packages/volume-control/src/VolumeControlUI/VolumeControl.styles.animated.scss +2 -0
  924. package/packages/volume-control/src/VolumeControlUI/VolumeControl.styles.scss +1 -0
  925. package/packages/volume-control/src/VolumeControlUI/VolumeControlUI.tsx +80 -0
  926. package/packages/volume-control/src/VolumeControlUI/_animated.scss +8 -0
  927. package/packages/volume-control/src/VolumeControlUI/index.ts +1 -0
  928. package/packages/volume-control/src/index.ts +2 -0
  929. package/packages/zapping/README.md +88 -0
  930. package/packages/zapping/src/ChannelZapping.ts +134 -0
  931. package/packages/zapping/src/Zapping.tsx +105 -0
  932. package/packages/zapping/src/index.ts +1 -0
  933. package/packages/zapping/src/interface.ts +1 -0
@@ -0,0 +1,67 @@
1
+ /* eslint-disable max-len */
2
+ import { va as Adobe } from './__external__/Adobe/MediaSDK.min';
3
+
4
+ type StreamType = typeof Adobe.MediaHeartbeat.StreamType[
5
+ keyof typeof Adobe.MediaHeartbeat.StreamType
6
+ ];
7
+
8
+ /**
9
+ * Heartbeat configuration object. Most of these values are given
10
+ * to the customer by Adobe representative or in Adobe administration
11
+ * section.
12
+ * @see https://adobe-marketing-cloud.github.io/media-sdks/reference/javascript/MediaHeartbeatConfig.html
13
+ */
14
+ export type HeartbeatConfig = {
15
+ trackingServer: string;
16
+ appVersion: string;
17
+ playerName: string;
18
+ publisher?: string;
19
+ ovp?: string;
20
+ channel?: string;
21
+ ssl?: boolean;
22
+ debugLogging?: boolean;
23
+ };
24
+
25
+ /**
26
+ * Contains parameters to be used in MediaHeartbeat.createMediaObject.
27
+ * Parameter `mediaType` is ommited, `Video` value is always used.
28
+ * Required to start tracking session.
29
+ * @see https://adobe-marketing-cloud.github.io/media-sdks/reference/javascript/MediaHeartbeat.html#.createMediaObject
30
+ */
31
+ export type StandardMetadata = {
32
+ name: string;
33
+ channel?: string;
34
+ mediaId: string;
35
+ lengthSec: number;
36
+ streamType: StreamType;
37
+ };
38
+
39
+ export type CustomerMetadataValue = string | number | boolean | undefined | null;
40
+
41
+ /**
42
+ * Customer specific parameters to be used when starting tracking session.
43
+ */
44
+ export type CustomerMetadata = Record<string, CustomerMetadataValue>;
45
+
46
+ /**
47
+ * Contains parameters to be used in MediaHeartbeat.createAdBreakObject.
48
+ * Required to start tracking ad break.
49
+ * @see https://adobe-marketing-cloud.github.io/media-sdks/reference/javascript/MediaHeartbeat.html#.createAdBreakObject
50
+ */
51
+ export type AdBreakMetadata = {
52
+ name: string;
53
+ position: number;
54
+ startTime: number;
55
+ };
56
+
57
+ /**
58
+ * Contains parameters to be used in MediaHeartbeat.createAdObject.
59
+ * Required to start tracking ad playback.
60
+ * @see https://adobe-marketing-cloud.github.io/media-sdks/reference/javascript/MediaHeartbeat.html#.createAdObject
61
+ */
62
+ export type AdMetadata = {
63
+ name: string;
64
+ adId: string;
65
+ position: number;
66
+ length: number;
67
+ };
@@ -0,0 +1,74 @@
1
+ ---
2
+ id: README
3
+ title: Animations
4
+ hide_title: true
5
+ sidebar_label: Animations
6
+ ---
7
+
8
+ # Animations
9
+ This package is for easy implementation of JS animations.
10
+
11
+ ## AnimationUtils
12
+ This part contains definitions for easing functions and calculations of easing functions.
13
+ If you use it in combination with *JSAnimations* then you will need only static easing function members.
14
+ * linear - css `linear`
15
+ * ease - css `cubic-bezier(0.25, 0.1, 0.25, 1)`
16
+ * easeInSine - css `cubic-bezier(0.47, 0, 0.745, 0.715)`
17
+ * easeOutSine - css `cubic-bezier(0.39, 0.575, 0.565, 1)`
18
+ * easeInOutSine - css `cubic-bezier(0.445, 0.05, 0.55, 0.95)`
19
+ * easeInQuad - css `cubic-bezier(0.55, 0.085, 0.68, 0.53)`
20
+ * easeOutQuad - css `cubic-bezier(0.25, 0.46, 0.45, 0.94)`
21
+ * easeInOutQuad - css `cubic-bezier(0.455, 0.03, 0.515, 0.955)`
22
+ * easeInCubic - css `cubic-bezier(0.55, 0.055, 0.675, 0.19)`
23
+ * easeOutCubic - css `cubic-bezier(0.215, 0.61, 0.355, 1)`
24
+ * easeInOutCubic - css `cubic-bezier(0.645, 0.045, 0.355, 1)`
25
+ * easeInQuart - css `cubic-bezier(0.895, 0.03, 0.685, 0.22)`
26
+ * easeOutQuart - css `cubic-bezier(0.165, 0.84, 0.44, 1)`
27
+ * easeInOutQuart - css `cubic-bezier(0.77, 0, 0.175, 1)`
28
+ * easeInQuint - css `cubic-bezier(0.755, 0.05, 0.855, 0.06)`
29
+ * easeOutQuint - css `cubic-bezier(0.23, 1, 0.32, 1)`
30
+ * easeInOutQuint - css `cubic-bezier(0.86, 0, 0.07, 1)`
31
+ * easeInExpo - css `cubic-bezier(0.95, 0.05, 0.795, 0.035)`
32
+ * easeOutExpo - css `cubic-bezier(0.19, 1, 0.22, 1)`
33
+ * easeInOutExpo - css `cubic-bezier(1, 0, 0, 1)`
34
+ * easeInCirc - css `cubic-bezier(0.6, 0.04, 0.98, 0.335)`
35
+ * easeOutCirc - css `cubic-bezier(0.075, 0.82, 0.165, 1)`
36
+ * easeInOutCirc - css `cubic-bezier(0.785, 0.135, 0.15, 0.86)`
37
+ * easeInBack - css `cubic-bezier(0.6, -0.28, 0.735, 0.045)`
38
+ * easeOutBack - css `cubic-bezier(0.175, 0.885, 0.32, 1.275)`
39
+ * easeInOutBack - css `cubic-bezier(0.68, -0.55, 0.265, 1.55)`
40
+
41
+ ## JSAnimations
42
+ Create your own instance in your component. To start the animation you call start and pass callback;
43
+ ```javascript
44
+ animations = new JSAnimations();
45
+ ...
46
+ animations.start(from, to, timeInMs, AnimationUtils.ease).onFrame(this.onFrame);
47
+ ...
48
+ ```
49
+
50
+ If you start another animation (with the same instance) before the previous ends.
51
+ Then the from is not what you passed but current position of running animation.
52
+
53
+ ## Timing Example
54
+ Time | Call | Result
55
+ ---|---|---
56
+ `0ms` | `animations.start(0, 300, 3000, AnimationUtils.linear)` | starts animation from 0 to 300 3s long
57
+ `1200ms` | `animations.start(300, 600, 3000, AnimationUtils.linear)` | starts animation from 120 to 600 3s long
58
+ `4200ms` | `...` | animation finishes
59
+
60
+ ## How to mock
61
+ To the root of your package add this file:
62
+ ```
63
+ __mocks__/@24i/smartapps-bigscreenen-animations.ts
64
+ ```
65
+ with this content
66
+ ```js
67
+ export { AnimationUtils } from '@24i/bigscreen-sdk/animations';
68
+ export { JSAnimations } from '@24i/bigscreen-sdk/animations/mock';
69
+
70
+ ```
71
+
72
+ Then you need to tell jest to use fake timers: `jest.useFakeTimers();`
73
+
74
+ And after each `animations.start(...).onFrame(...)` you need to call `jest.runAllTimers();`
@@ -0,0 +1,232 @@
1
+ /* eslint-disable no-magic-numbers */
2
+ export type EasingType = number[];
3
+
4
+ /**
5
+ * @class AnimationUtils
6
+ */
7
+ export class AnimationUtils {
8
+ /**
9
+ * @member {EasingType} linear - linear easing function
10
+ * @static
11
+ */
12
+ static linear: EasingType = [];
13
+
14
+ /**
15
+ * @member {EasingType} ease - ease easing function (default CSS easing)
16
+ * @static
17
+ */
18
+ static ease: EasingType = [0.25, 0.1, 0.25, 1];
19
+
20
+ /**
21
+ * @member {EasingType} easeInSine - in sin easing function
22
+ * @static
23
+ */
24
+ static easeInSine: EasingType = [0.47, 0, 0.745, 0.715];
25
+
26
+ /**
27
+ * @member {EasingType} easeOutSine - out sin easing function
28
+ * @static
29
+ */
30
+ static easeOutSine: EasingType = [0.39, 0.575, 0.565, 1];
31
+
32
+ /**
33
+ * @member {EasingType} easeInOutSine - in out sin easing function
34
+ * @static
35
+ */
36
+ static easeInOutSine: EasingType = [0.445, 0.05, 0.55, 0.95];
37
+
38
+ /**
39
+ * @member {EasingType} easeInQuad - in quad easing function
40
+ * @static
41
+ */
42
+ static easeInQuad: EasingType = [0.55, 0.085, 0.68, 0.53];
43
+
44
+ /**
45
+ * @member {EasingType} easeOutQuad - out quad easing function
46
+ * @static
47
+ */
48
+ static easeOutQuad: EasingType = [0.25, 0.46, 0.45, 0.94];
49
+
50
+ /**
51
+ * @member {EasingType} easeInOutQuad - in out quad easing function
52
+ * @static
53
+ */
54
+ static easeInOutQuad: EasingType = [0.455, 0.03, 0.515, 0.955];
55
+
56
+ /**
57
+ * @member {EasingType} easeInCubic - in cubic easing function
58
+ * @static
59
+ */
60
+ static easeInCubic: EasingType = [0.55, 0.055, 0.675, 0.19];
61
+
62
+ /**
63
+ * @member {EasingType} easeOutCubic - out cubic easing function
64
+ * @static
65
+ */
66
+ static easeOutCubic: EasingType = [0.215, 0.61, 0.355, 1];
67
+
68
+ /**
69
+ * @member {EasingType} easeInOutCubic - in out cubic easing function
70
+ * @static
71
+ */
72
+ static easeInOutCubic: EasingType = [0.645, 0.045, 0.355, 1];
73
+
74
+ /**
75
+ * @member {EasingType} easeInQuart - in quart easing function
76
+ * @static
77
+ */
78
+ static easeInQuart: EasingType = [0.895, 0.03, 0.685, 0.22];
79
+
80
+ /**
81
+ * @member {EasingType} easeOutQuart - out quart easing function
82
+ * @static
83
+ */
84
+ static easeOutQuart: EasingType = [0.165, 0.84, 0.44, 1];
85
+
86
+ /**
87
+ * @member {EasingType} easeInOutQuart - in out quart easing function
88
+ * @static
89
+ */
90
+ static easeInOutQuart: EasingType = [0.77, 0, 0.175, 1];
91
+
92
+ /**
93
+ * @member {EasingType} easeInQuint - in quint easing function
94
+ * @static
95
+ */
96
+ static easeInQuint: EasingType = [0.755, 0.05, 0.855, 0.06];
97
+
98
+ /**
99
+ * @member {EasingType} easeOutQuint - out quint easing function
100
+ * @static
101
+ */
102
+ static easeOutQuint: EasingType = [0.23, 1, 0.32, 1];
103
+
104
+ /**
105
+ * @member {EasingType} easeInOutQuint - in out quint easing function
106
+ * @static
107
+ */
108
+ static easeInOutQuint: EasingType = [0.86, 0, 0.07, 1];
109
+
110
+ /**
111
+ * @member {EasingType} easeInExpo - in expo easing function
112
+ * @static
113
+ */
114
+ static easeInExpo: EasingType = [0.95, 0.05, 0.795, 0.035];
115
+
116
+ /**
117
+ * @member {EasingType} easeOutExpo - out expo easing function
118
+ * @static
119
+ */
120
+ static easeOutExpo: EasingType = [0.19, 1, 0.22, 1];
121
+
122
+ /**
123
+ * @member {EasingType} easeInOutExpo - in out expo easing function
124
+ * @static
125
+ */
126
+ static easeInOutExpo: EasingType = [1, 0, 0, 1];
127
+
128
+ /**
129
+ * @member {EasingType} easeInCirc - in circ easing function
130
+ * @static
131
+ */
132
+ static easeInCirc: EasingType = [0.6, 0.04, 0.98, 0.335];
133
+
134
+ /**
135
+ * @member {EasingType} easeOutCirc - out circ easing function
136
+ * @static
137
+ */
138
+ static easeOutCirc: EasingType = [0.075, 0.82, 0.165, 1];
139
+
140
+ /**
141
+ * @member {EasingType} easeInOutCirc - in out easing function
142
+ * @static
143
+ */
144
+ static easeInOutCirc: EasingType = [0.785, 0.135, 0.15, 0.86];
145
+
146
+ /**
147
+ * @member {EasingType} easeInBack - in back easing function
148
+ * @static
149
+ */
150
+ static easeInBack: EasingType = [0.6, -0.28, 0.735, 0.045];
151
+
152
+ /**
153
+ * @member {EasingType} easeOutBack - out back easing function
154
+ * @static
155
+ */
156
+ static easeOutBack: EasingType = [0.175, 0.885, 0.32, 1.275];
157
+
158
+ /**
159
+ * @member {EasingType} easeInOutBack - in out back easing function
160
+ * @static
161
+ */
162
+ static easeInOutBack: EasingType = [0.68, -0.55, 0.265, 1.55];
163
+
164
+ /**
165
+ * Returns value at given percentage
166
+ * @param {number} min - minimal value
167
+ * @param {number} max - maximal value
168
+ * @param {number} percentage - percentage of time
169
+ * @param {EasingType} easingFunction - easing function for calculation
170
+ * @returns {number} calculated value
171
+ */
172
+ xInTime(min: number, max: number, percentage: number, easingFunction: EasingType): number {
173
+ const percentageInTime = this.getPercentageAt(percentage, easingFunction);
174
+ return this.linearInterpolation(min, max, percentageInTime);
175
+ }
176
+
177
+ /**
178
+ * Linear interpolation of two points (0 => a and 1 => b)
179
+ * @private
180
+ * @param {number} a - value at 0
181
+ * @param {number} b - value at 1
182
+ * @param {number} percentage - position of calculated value
183
+ * @returns {number} value at given percentage linearily interpolated
184
+ */
185
+ private linearInterpolation(a: number, b: number, percent: number): number {
186
+ return ((1 - percent) * a) + (percent * b);
187
+ }
188
+
189
+ /**
190
+ * Returns percentage value at given percentage time in easing function
191
+ * @private
192
+ * @param {number} percentage - percentage of time
193
+ * @param {EasingType} eF - easing function
194
+ * @returns {number} percentual value
195
+ */
196
+ private getPercentageAt(percentage: number, easingFunction: EasingType): number {
197
+ const eF = this.simplifyEF(easingFunction, percentage);
198
+ return this.linearInterpolation(eF[1], eF[3], percentage);
199
+ }
200
+
201
+ /**
202
+ * Simplifies the easing function to single degree
203
+ * @private
204
+ * @param {EasingType} eF - easing function to simplify
205
+ * @returns {EasingType} simplified easing function
206
+ */
207
+ private simplifyEF(eF: EasingType, percentage: number): EasingType {
208
+ let newEF: EasingType = [0, 0, ...eF, 1, 1];
209
+ while (newEF.length > 4) {
210
+ newEF = this.simplifyEFByDegree(newEF, percentage);
211
+ }
212
+ return newEF;
213
+ }
214
+
215
+ /**
216
+ * Simplifies easing function by one degree
217
+ * @private
218
+ * @throws Throws if easing function has odd length
219
+ * @param {EasingType} eF - easing function to simplify
220
+ * @returns {EasingType} simplified easing function
221
+ */
222
+ private simplifyEFByDegree(eF: EasingType, percentage: number): EasingType {
223
+ if (eF.length % 2 !== 0) {
224
+ throw new Error('Invalid easing function');
225
+ }
226
+ const newEF = [];
227
+ for (let i = 0; i < eF.length - 2; i += 1) {
228
+ newEF.push(this.linearInterpolation(eF[i], eF[i + 2], percentage));
229
+ }
230
+ return newEF;
231
+ }
232
+ }
@@ -0,0 +1,142 @@
1
+ import { AnimationUtils, EasingType } from './AnimationUtils';
2
+
3
+ /**
4
+ * This callback is called on each animation frame
5
+ * @callback FrameCallback
6
+ * @param {number} value - value at which the animation is
7
+ */
8
+
9
+ /**
10
+ * @class JSAnimations
11
+ */
12
+ export class JSAnimations {
13
+ /**
14
+ * @member {Animations} animations - animations class
15
+ * @private
16
+ */
17
+ animations: AnimationUtils = new AnimationUtils();
18
+
19
+ /**
20
+ * @member {AnimationFrameID} animationFrameID
21
+ * @private
22
+ */
23
+ animationFrameID: number | null = null;
24
+
25
+ /**
26
+ * @member {boolean} animationRunning - flag of running animation
27
+ * @private
28
+ */
29
+ animationRunning = false;
30
+
31
+ /**
32
+ * @member {number} from - starting point of the animation
33
+ * @private
34
+ */
35
+ from = 0;
36
+
37
+ /**
38
+ * @member {number} to - ending point of the animation
39
+ * @private
40
+ */
41
+ to = 0;
42
+
43
+ /**
44
+ * @member {number} animationTime - time of the animation
45
+ * @private
46
+ */
47
+ animationTime = 0;
48
+
49
+ /**
50
+ * @member {number} currentTime - current time of the running animation
51
+ * @private
52
+ */
53
+ currentTime = 0;
54
+
55
+ /**
56
+ * @member {number} currentPosition - current position of the running animation
57
+ * @private
58
+ */
59
+ currentPosition = 0;
60
+
61
+ /**
62
+ * @member {number} lastFrameTime - time of the previous frame
63
+ * @private
64
+ */
65
+ lastFrameTime = 0;
66
+
67
+ /**
68
+ * @member {EasingType} easingFunction - easing function that is being used
69
+ * @private
70
+ */
71
+ easingFunction: EasingType = AnimationUtils.ease;
72
+
73
+ /**
74
+ * @member {FrameCallback} frameCallback - callback being called on evry frame
75
+ * @private
76
+ */
77
+ frameCallback?: (value: number) => void;
78
+
79
+ /**
80
+ * Starts animation
81
+ * @param {number} from - value from which to animate
82
+ * @param {number} to - value to which to animate
83
+ * @param {number} time - length of animation
84
+ * @param {EasingType} easingFunction - easing function to use
85
+ */
86
+ start(from: number, to: number, time: number, easingFunction: EasingType): JSAnimations {
87
+ if (!this.animationRunning) {
88
+ this.from = from;
89
+ } else {
90
+ this.from = this.currentPosition;
91
+ window.cancelAnimationFrame(this.animationFrameID!);
92
+ }
93
+ this.to = to;
94
+ this.animationTime = time;
95
+ this.currentTime = 0;
96
+ this.lastFrameTime = Date.now();
97
+ this.easingFunction = easingFunction;
98
+ this.animationRunning = true;
99
+ this.frameCallback = undefined;
100
+ this.animationFrameID = window.requestAnimationFrame(this.frame);
101
+ return this;
102
+ }
103
+
104
+ /**
105
+ * Processes animation frame
106
+ * @private
107
+ */
108
+ frame = (): void => {
109
+ const now = Date.now();
110
+ const frameTime = now - this.lastFrameTime;
111
+ this.lastFrameTime = now;
112
+ this.currentTime += frameTime;
113
+ if (this.currentTime >= this.animationTime) {
114
+ this.currentTime = this.animationTime;
115
+ this.animationRunning = false;
116
+ }
117
+ const timePercentage = this.currentTime / this.animationTime;
118
+ const value = this.animations.xInTime(
119
+ this.from,
120
+ this.to,
121
+ timePercentage,
122
+ this.easingFunction,
123
+ );
124
+ this.currentPosition = value;
125
+ if (this.frameCallback) {
126
+ this.frameCallback(value);
127
+ }
128
+ if (this.animationRunning) {
129
+ this.animationFrameID = window.requestAnimationFrame(this.frame);
130
+ }
131
+ };
132
+
133
+ /**
134
+ * Frame callback handler
135
+ * @param {FrameCallback} callback - callback to run on every animation frame
136
+ */
137
+ onFrame(callback: (value: number) => void) {
138
+ if (typeof callback === 'function') {
139
+ this.frameCallback = callback;
140
+ }
141
+ }
142
+ }
@@ -0,0 +1,3 @@
1
+ export { AnimationUtils } from './AnimationUtils';
2
+ export type { EasingType } from './AnimationUtils';
3
+ export { JSAnimations } from './JSAnimations';
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: README
3
+ title: Announcement Banner
4
+ hide_title: true
5
+ sidebar_label: Announcement Banner
6
+ ---
7
+
8
+ # Announcement Banner
9
+ This component is used for displaying text messages that do not require any user interaction and cannot be focused or dissmissed.
10
+
11
+ ## Props
12
+ - `messages` - array of messages do display
13
+ - `heightPx` - height of the component in pixels (used in style property)
14
+ - `visibleLines` - number of lines fully visible at given height
15
+ - `timePerLineMs` (default: `1000`) - optional, used to control fadeOut animation in the animated version of the component
16
+ - `className` (default: `''`) - optional, className to pass to outermost component element
17
+
18
+ ## Usage
19
+ Upon mount the component renders all of the messages provided by props. However only `visibleLines` of text are shown.
20
+ The component waits for `timePerLineMs` for each visible line and then starts scrolling to the bottom. The animation takes `timePerLineMs` times the number of rendered lines. After that the component again waits for `timePerLineMs` for each visible line.
21
+ Then the component resets to it's starting state and the whole cycle repeats. This is illustrated on the following example picture:
22
+ ![Example 1](./examples/example1.gif)
23
+
24
+ You can use the `updateMessages` method on components reference to update the rendered messages at runtime. This will stop the component cycle and reset it immediately.
25
+
26
+ ## Styling
27
+ The component has minimal styling provided (both classes and inline styles) to make the scrolling animation work but nothing more. Calling the following example:
28
+
29
+ ```tsx
30
+ <AnnouncementBanner
31
+ messages={['msg1', 'msg2', ...]}
32
+ visibleLines={4}
33
+ heightPx={200}
34
+ className="my-class"
35
+ />
36
+ ```
37
+ will render the following html:
38
+ ```xml
39
+ <div style="height: 200px;" class="announcement-banner-outer my-class">
40
+ <div class="announcement-banner-inner" style="line-height: 50px;">
41
+ <div class="message">msg1</div>
42
+ <div class="message">msg2</div>
43
+ ...
44
+ </div>
45
+ </div>
46
+ ```
47
+
48
+ When providing custom styling note that component `height` is determined by props and message `line-height` property is calculated on mount and modifying them might break the functionality.
49
+ You can however change `font-size` or add padding to the outermost element to achieve similar result as changing `line-height`.
@@ -0,0 +1,8 @@
1
+ .announcement-banner-outer {
2
+ position: relative;
3
+ overflow: hidden;
4
+
5
+ > .announcement-banner-inner {
6
+ position: absolute;
7
+ }
8
+ }