@100mslive/react-native-room-kit 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1111) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +25 -0
  3. package/lib/commonjs/HMSContainer.js +20 -0
  4. package/lib/commonjs/HMSContainer.js.map +1 -0
  5. package/lib/commonjs/HMSInstanceSetup.js +160 -0
  6. package/lib/commonjs/HMSInstanceSetup.js.map +1 -0
  7. package/lib/commonjs/HMSPrebuilt.js +32 -0
  8. package/lib/commonjs/HMSPrebuilt.js.map +1 -0
  9. package/lib/commonjs/HMSRoomSetup.js +216 -0
  10. package/lib/commonjs/HMSRoomSetup.js.map +1 -0
  11. package/lib/commonjs/Icons/100ms/assets/hms-logo.png +0 -0
  12. package/lib/commonjs/Icons/100ms/assets/hms-logo@2x.png +0 -0
  13. package/lib/commonjs/Icons/100ms/assets/hms-logo@3x.png +0 -0
  14. package/lib/commonjs/Icons/100ms/index.js +30 -0
  15. package/lib/commonjs/Icons/100ms/index.js.map +1 -0
  16. package/lib/commonjs/Icons/Alert/assets/alert.png +0 -0
  17. package/lib/commonjs/Icons/Alert/assets/alert@2x.png +0 -0
  18. package/lib/commonjs/Icons/Alert/assets/alert@3x.png +0 -0
  19. package/lib/commonjs/Icons/Alert/index.js +30 -0
  20. package/lib/commonjs/Icons/Alert/index.js.map +1 -0
  21. package/lib/commonjs/Icons/Camera/assets/camera-muted.png +0 -0
  22. package/lib/commonjs/Icons/Camera/assets/camera-muted@2x.png +0 -0
  23. package/lib/commonjs/Icons/Camera/assets/camera-muted@3x.png +0 -0
  24. package/lib/commonjs/Icons/Camera/assets/camera-unmuted.png +0 -0
  25. package/lib/commonjs/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  26. package/lib/commonjs/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  27. package/lib/commonjs/Icons/Camera/index.js +31 -0
  28. package/lib/commonjs/Icons/Camera/index.js.map +1 -0
  29. package/lib/commonjs/Icons/Chat/assets/chat.png +0 -0
  30. package/lib/commonjs/Icons/Chat/assets/chat@2x.png +0 -0
  31. package/lib/commonjs/Icons/Chat/assets/chat@3x.png +0 -0
  32. package/lib/commonjs/Icons/Chat/index.js +30 -0
  33. package/lib/commonjs/Icons/Chat/index.js.map +1 -0
  34. package/lib/commonjs/Icons/Chevron/assets/chevron-down.png +0 -0
  35. package/lib/commonjs/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  36. package/lib/commonjs/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  37. package/lib/commonjs/Icons/Chevron/assets/chevron-left.png +0 -0
  38. package/lib/commonjs/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  39. package/lib/commonjs/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  40. package/lib/commonjs/Icons/Chevron/index.js +31 -0
  41. package/lib/commonjs/Icons/Chevron/index.js.map +1 -0
  42. package/lib/commonjs/Icons/Clock/assets/clock.png +0 -0
  43. package/lib/commonjs/Icons/Clock/assets/clock@2x.png +0 -0
  44. package/lib/commonjs/Icons/Clock/assets/clock@3x.png +0 -0
  45. package/lib/commonjs/Icons/Clock/index.js +30 -0
  46. package/lib/commonjs/Icons/Clock/index.js.map +1 -0
  47. package/lib/commonjs/Icons/Close/assets/close.png +0 -0
  48. package/lib/commonjs/Icons/Close/assets/close@2x.png +0 -0
  49. package/lib/commonjs/Icons/Close/assets/close@3x.png +0 -0
  50. package/lib/commonjs/Icons/Close/index.js +30 -0
  51. package/lib/commonjs/Icons/Close/index.js.map +1 -0
  52. package/lib/commonjs/Icons/End/assets/end.png +0 -0
  53. package/lib/commonjs/Icons/End/assets/end@2x.png +0 -0
  54. package/lib/commonjs/Icons/End/assets/end@3x.png +0 -0
  55. package/lib/commonjs/Icons/End/index.js +30 -0
  56. package/lib/commonjs/Icons/End/index.js.map +1 -0
  57. package/lib/commonjs/Icons/Hand/assets/hand.png +0 -0
  58. package/lib/commonjs/Icons/Hand/assets/hand@2x.png +0 -0
  59. package/lib/commonjs/Icons/Hand/assets/hand@3x.png +0 -0
  60. package/lib/commonjs/Icons/Hand/index.js +32 -0
  61. package/lib/commonjs/Icons/Hand/index.js.map +1 -0
  62. package/lib/commonjs/Icons/Leave/assets/leave.png +0 -0
  63. package/lib/commonjs/Icons/Leave/assets/leave@2x.png +0 -0
  64. package/lib/commonjs/Icons/Leave/assets/leave@3x.png +0 -0
  65. package/lib/commonjs/Icons/Leave/index.js +30 -0
  66. package/lib/commonjs/Icons/Leave/index.js.map +1 -0
  67. package/lib/commonjs/Icons/Mic/assets/mic-muted.png +0 -0
  68. package/lib/commonjs/Icons/Mic/assets/mic-muted@2x.png +0 -0
  69. package/lib/commonjs/Icons/Mic/assets/mic-muted@3x.png +0 -0
  70. package/lib/commonjs/Icons/Mic/assets/mic-unmuted.png +0 -0
  71. package/lib/commonjs/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  72. package/lib/commonjs/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  73. package/lib/commonjs/Icons/Mic/index.js +31 -0
  74. package/lib/commonjs/Icons/Mic/index.js.map +1 -0
  75. package/lib/commonjs/Icons/NetworkQuality/assets/network_0.png +0 -0
  76. package/lib/commonjs/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  77. package/lib/commonjs/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  78. package/lib/commonjs/Icons/NetworkQuality/assets/network_1.png +0 -0
  79. package/lib/commonjs/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  80. package/lib/commonjs/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  81. package/lib/commonjs/Icons/NetworkQuality/assets/network_2.png +0 -0
  82. package/lib/commonjs/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  83. package/lib/commonjs/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  84. package/lib/commonjs/Icons/NetworkQuality/assets/network_3.png +0 -0
  85. package/lib/commonjs/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  86. package/lib/commonjs/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  87. package/lib/commonjs/Icons/NetworkQuality/assets/network_4.png +0 -0
  88. package/lib/commonjs/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  89. package/lib/commonjs/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  90. package/lib/commonjs/Icons/NetworkQuality/assets/network_5.png +0 -0
  91. package/lib/commonjs/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  92. package/lib/commonjs/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  93. package/lib/commonjs/Icons/NetworkQuality/index.js +31 -0
  94. package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -0
  95. package/lib/commonjs/Icons/Participants/assets/participants.png +0 -0
  96. package/lib/commonjs/Icons/Participants/assets/participants@2x.png +0 -0
  97. package/lib/commonjs/Icons/Participants/assets/participants@3x.png +0 -0
  98. package/lib/commonjs/Icons/Participants/index.js +30 -0
  99. package/lib/commonjs/Icons/Participants/index.js.map +1 -0
  100. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  101. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  102. package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  103. package/lib/commonjs/Icons/RotateCamera/index.js +30 -0
  104. package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -0
  105. package/lib/commonjs/Icons/ScreenShare/assets/screen-share.png +0 -0
  106. package/lib/commonjs/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  107. package/lib/commonjs/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  108. package/lib/commonjs/Icons/ScreenShare/index.js +30 -0
  109. package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -0
  110. package/lib/commonjs/Icons/Send/assets/send.png +0 -0
  111. package/lib/commonjs/Icons/Send/assets/send@2x.png +0 -0
  112. package/lib/commonjs/Icons/Send/assets/send@3x.png +0 -0
  113. package/lib/commonjs/Icons/Send/index.js +30 -0
  114. package/lib/commonjs/Icons/Send/index.js.map +1 -0
  115. package/lib/commonjs/Icons/Settings/assets/settings.png +0 -0
  116. package/lib/commonjs/Icons/Settings/assets/settings@2x.png +0 -0
  117. package/lib/commonjs/Icons/Settings/assets/settings@3x.png +0 -0
  118. package/lib/commonjs/Icons/Settings/index.js +30 -0
  119. package/lib/commonjs/Icons/Settings/index.js.map +1 -0
  120. package/lib/commonjs/Icons/Speaker/assets/speaker-muted.png +0 -0
  121. package/lib/commonjs/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  122. package/lib/commonjs/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  123. package/lib/commonjs/Icons/Speaker/assets/speaker.png +0 -0
  124. package/lib/commonjs/Icons/Speaker/assets/speaker@2x.png +0 -0
  125. package/lib/commonjs/Icons/Speaker/assets/speaker@3x.png +0 -0
  126. package/lib/commonjs/Icons/Speaker/index.js +31 -0
  127. package/lib/commonjs/Icons/Speaker/index.js.map +1 -0
  128. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  129. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  130. package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  131. package/lib/commonjs/Icons/ThreeDots/index.js +31 -0
  132. package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -0
  133. package/lib/commonjs/Icons/index.js +215 -0
  134. package/lib/commonjs/Icons/index.js.map +1 -0
  135. package/lib/commonjs/assets/100ms-logo.png +0 -0
  136. package/lib/commonjs/assets/brb.png +0 -0
  137. package/lib/commonjs/assets/icon.png +0 -0
  138. package/lib/commonjs/assets/illustration.png +0 -0
  139. package/lib/commonjs/assets/network_0.png +0 -0
  140. package/lib/commonjs/assets/network_1.png +0 -0
  141. package/lib/commonjs/assets/network_2.png +0 -0
  142. package/lib/commonjs/assets/network_3.png +0 -0
  143. package/lib/commonjs/assets/network_4.png +0 -0
  144. package/lib/commonjs/assets/user_music.png +0 -0
  145. package/lib/commonjs/components/AvatarView.js +48 -0
  146. package/lib/commonjs/components/AvatarView.js.map +1 -0
  147. package/lib/commonjs/components/BackButton.js +42 -0
  148. package/lib/commonjs/components/BackButton.js.map +1 -0
  149. package/lib/commonjs/components/Chat/ChatBanner.js +77 -0
  150. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -0
  151. package/lib/commonjs/components/Chat/ChatList.js +51 -0
  152. package/lib/commonjs/components/Chat/ChatList.js.map +1 -0
  153. package/lib/commonjs/components/Chat/ChatMessage.js +175 -0
  154. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -0
  155. package/lib/commonjs/components/Chat/PinnedMessage.js +85 -0
  156. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -0
  157. package/lib/commonjs/components/Chat/index.js +50 -0
  158. package/lib/commonjs/components/Chat/index.js.map +1 -0
  159. package/lib/commonjs/components/ChatWindow.js +608 -0
  160. package/lib/commonjs/components/ChatWindow.js.map +1 -0
  161. package/lib/commonjs/components/CustomButton.js +53 -0
  162. package/lib/commonjs/components/CustomButton.js.map +1 -0
  163. package/lib/commonjs/components/CustomHLSPlayerControls.js +81 -0
  164. package/lib/commonjs/components/CustomHLSPlayerControls.js.map +1 -0
  165. package/lib/commonjs/components/CustomInput.js +90 -0
  166. package/lib/commonjs/components/CustomInput.js.map +1 -0
  167. package/lib/commonjs/components/DefaultModal.js +104 -0
  168. package/lib/commonjs/components/DefaultModal.js.map +1 -0
  169. package/lib/commonjs/components/DisplayTrack.js +70 -0
  170. package/lib/commonjs/components/DisplayTrack.js.map +1 -0
  171. package/lib/commonjs/components/DisplayView.js +213 -0
  172. package/lib/commonjs/components/DisplayView.js.map +1 -0
  173. package/lib/commonjs/components/Footer.js +86 -0
  174. package/lib/commonjs/components/Footer.js.map +1 -0
  175. package/lib/commonjs/components/FullScreenIndicator.js +25 -0
  176. package/lib/commonjs/components/FullScreenIndicator.js.map +1 -0
  177. package/lib/commonjs/components/GridView.js +98 -0
  178. package/lib/commonjs/components/GridView.js.map +1 -0
  179. package/lib/commonjs/components/HLSPlayerEmoticons.js +48 -0
  180. package/lib/commonjs/components/HLSPlayerEmoticons.js.map +1 -0
  181. package/lib/commonjs/components/HLSPlayerStatsView.js +64 -0
  182. package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -0
  183. package/lib/commonjs/components/HLSView.js +141 -0
  184. package/lib/commonjs/components/HLSView.js.map +1 -0
  185. package/lib/commonjs/components/HMSChat.js +31 -0
  186. package/lib/commonjs/components/HMSChat.js.map +1 -0
  187. package/lib/commonjs/components/HMSHLSNotStarted.js +59 -0
  188. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -0
  189. package/lib/commonjs/components/HMSManageCameraRotation.js +42 -0
  190. package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -0
  191. package/lib/commonjs/components/HMSManageLeave.js +286 -0
  192. package/lib/commonjs/components/HMSManageLeave.js.map +1 -0
  193. package/lib/commonjs/components/HMSManageLocalAudio.js +46 -0
  194. package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -0
  195. package/lib/commonjs/components/HMSManageLocalVideo.js +46 -0
  196. package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -0
  197. package/lib/commonjs/components/HMSManageRaiseHand.js +48 -0
  198. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -0
  199. package/lib/commonjs/components/HMSPreviewDeviceSettings.js +305 -0
  200. package/lib/commonjs/components/HMSPreviewDeviceSettings.js.map +1 -0
  201. package/lib/commonjs/components/HMSPreviewEditName.js +63 -0
  202. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -0
  203. package/lib/commonjs/components/HMSPreviewJoinButton.js +56 -0
  204. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -0
  205. package/lib/commonjs/components/HMSPreviewPeersList.js +89 -0
  206. package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -0
  207. package/lib/commonjs/components/HMSPreviewSubtitle.js +32 -0
  208. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -0
  209. package/lib/commonjs/components/HMSPreviewTile.js +138 -0
  210. package/lib/commonjs/components/HMSPreviewTile.js.map +1 -0
  211. package/lib/commonjs/components/HMSPreviewTitle.js +32 -0
  212. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -0
  213. package/lib/commonjs/components/HMSRoomOptions.js +105 -0
  214. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -0
  215. package/lib/commonjs/components/HMSShareScreen.js +59 -0
  216. package/lib/commonjs/components/HMSShareScreen.js.map +1 -0
  217. package/lib/commonjs/components/HMSShowNetworkQuality.js +57 -0
  218. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +1 -0
  219. package/lib/commonjs/components/Header.js +177 -0
  220. package/lib/commonjs/components/Header.js.map +1 -0
  221. package/lib/commonjs/components/LiveButton.js +70 -0
  222. package/lib/commonjs/components/LiveButton.js.map +1 -0
  223. package/lib/commonjs/components/Meeting.js +64 -0
  224. package/lib/commonjs/components/Meeting.js.map +1 -0
  225. package/lib/commonjs/components/MeetingScreenContent.js +98 -0
  226. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -0
  227. package/lib/commonjs/components/MenuModal/Menu.js +250 -0
  228. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -0
  229. package/lib/commonjs/components/MenuModal/MenuDivider.js +27 -0
  230. package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -0
  231. package/lib/commonjs/components/MenuModal/MenuItem.js +60 -0
  232. package/lib/commonjs/components/MenuModal/MenuItem.js.map +1 -0
  233. package/lib/commonjs/components/MenuModal/index.js +27 -0
  234. package/lib/commonjs/components/MenuModal/index.js.map +1 -0
  235. package/lib/commonjs/components/Modals.js +1640 -0
  236. package/lib/commonjs/components/Modals.js.map +1 -0
  237. package/lib/commonjs/components/PIPView.js +33 -0
  238. package/lib/commonjs/components/PIPView.js.map +1 -0
  239. package/lib/commonjs/components/Participants/ParticipantsFilter.js +128 -0
  240. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +1 -0
  241. package/lib/commonjs/components/Participants/ParticipantsHeader.js +67 -0
  242. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +1 -0
  243. package/lib/commonjs/components/Participants/ParticipantsList.js +274 -0
  244. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -0
  245. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +55 -0
  246. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -0
  247. package/lib/commonjs/components/Participants/SearchableParticipantsView.js +27 -0
  248. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +1 -0
  249. package/lib/commonjs/components/Participants/index.js +61 -0
  250. package/lib/commonjs/components/Participants/index.js.map +1 -0
  251. package/lib/commonjs/components/ParticipantsModal.js +43 -0
  252. package/lib/commonjs/components/ParticipantsModal.js.map +1 -0
  253. package/lib/commonjs/components/PeerDisplayView.js +79 -0
  254. package/lib/commonjs/components/PeerDisplayView.js.map +1 -0
  255. package/lib/commonjs/components/PeerRTCStatsContainer.js +70 -0
  256. package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -0
  257. package/lib/commonjs/components/PeerRTCStatsView.js +54 -0
  258. package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -0
  259. package/lib/commonjs/components/PeerSettingsModalContent.js +241 -0
  260. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -0
  261. package/lib/commonjs/components/Picker.js +93 -0
  262. package/lib/commonjs/components/Picker.js.map +1 -0
  263. package/lib/commonjs/components/PressableIcon.js +46 -0
  264. package/lib/commonjs/components/PressableIcon.js.map +1 -0
  265. package/lib/commonjs/components/Preview.js +86 -0
  266. package/lib/commonjs/components/Preview.js.map +1 -0
  267. package/lib/commonjs/components/RoomSettingsModalContent.js +515 -0
  268. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -0
  269. package/lib/commonjs/components/StatusBar.js +26 -0
  270. package/lib/commonjs/components/StatusBar.js.map +1 -0
  271. package/lib/commonjs/components/StreamingQualityModalContent.js +215 -0
  272. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -0
  273. package/lib/commonjs/components/SwitchRow.js +49 -0
  274. package/lib/commonjs/components/SwitchRow.js.map +1 -0
  275. package/lib/commonjs/components/Tile.js +111 -0
  276. package/lib/commonjs/components/Tile.js.map +1 -0
  277. package/lib/commonjs/components/TilesContainer.js +38 -0
  278. package/lib/commonjs/components/TilesContainer.js.map +1 -0
  279. package/lib/commonjs/components/ZoomableView.js +84 -0
  280. package/lib/commonjs/components/ZoomableView.js.map +1 -0
  281. package/lib/commonjs/components/index.js +94 -0
  282. package/lib/commonjs/components/index.js.map +1 -0
  283. package/lib/commonjs/components/styles.js +965 -0
  284. package/lib/commonjs/components/styles.js.map +1 -0
  285. package/lib/commonjs/hooks/useHmsInstance.js +175 -0
  286. package/lib/commonjs/hooks/useHmsInstance.js.map +1 -0
  287. package/lib/commonjs/hooks-sdk-selectors.js +17 -0
  288. package/lib/commonjs/hooks-sdk-selectors.js.map +1 -0
  289. package/lib/commonjs/hooks-sdk.js +126 -0
  290. package/lib/commonjs/hooks-sdk.js.map +1 -0
  291. package/lib/commonjs/hooks-util-selectors.js +12 -0
  292. package/lib/commonjs/hooks-util-selectors.js.map +1 -0
  293. package/lib/commonjs/hooks-util.js +792 -0
  294. package/lib/commonjs/hooks-util.js.map +1 -0
  295. package/lib/commonjs/index.js +17 -0
  296. package/lib/commonjs/index.js.map +1 -0
  297. package/lib/commonjs/peerTrackNodeUtils.js +65 -0
  298. package/lib/commonjs/peerTrackNodeUtils.js.map +1 -0
  299. package/lib/commonjs/redux/actionTypes.js +75 -0
  300. package/lib/commonjs/redux/actionTypes.js.map +1 -0
  301. package/lib/commonjs/redux/actions/index.js +182 -0
  302. package/lib/commonjs/redux/actions/index.js.map +1 -0
  303. package/lib/commonjs/redux/index.js +12 -0
  304. package/lib/commonjs/redux/index.js.map +1 -0
  305. package/lib/commonjs/redux/reducers/appState.js +131 -0
  306. package/lib/commonjs/redux/reducers/appState.js.map +1 -0
  307. package/lib/commonjs/redux/reducers/chatWindow.js +45 -0
  308. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -0
  309. package/lib/commonjs/redux/reducers/hmsStates.js +67 -0
  310. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -0
  311. package/lib/commonjs/redux/reducers/index.js +22 -0
  312. package/lib/commonjs/redux/reducers/index.js.map +1 -0
  313. package/lib/commonjs/redux/reducers/message.js +43 -0
  314. package/lib/commonjs/redux/reducers/message.js.map +1 -0
  315. package/lib/commonjs/redux/reducers/userState.js +67 -0
  316. package/lib/commonjs/redux/reducers/userState.js.map +1 -0
  317. package/lib/commonjs/types.js +16 -0
  318. package/lib/commonjs/types.js.map +1 -0
  319. package/lib/commonjs/utils/dimension.js +64 -0
  320. package/lib/commonjs/utils/dimension.js.map +1 -0
  321. package/lib/commonjs/utils/functions.js +368 -0
  322. package/lib/commonjs/utils/functions.js.map +1 -0
  323. package/lib/commonjs/utils/getRoomLinkDetails.js +23 -0
  324. package/lib/commonjs/utils/getRoomLinkDetails.js.map +1 -0
  325. package/lib/commonjs/utils/hooks.js +46 -0
  326. package/lib/commonjs/utils/hooks.js.map +1 -0
  327. package/lib/commonjs/utils/theme.js +144 -0
  328. package/lib/commonjs/utils/theme.js.map +1 -0
  329. package/lib/commonjs/utils/types.js +104 -0
  330. package/lib/commonjs/utils/types.js.map +1 -0
  331. package/lib/commonjs/utils.js +30 -0
  332. package/lib/commonjs/utils.js.map +1 -0
  333. package/lib/module/HMSContainer.js +12 -0
  334. package/lib/module/HMSContainer.js.map +1 -0
  335. package/lib/module/HMSInstanceSetup.js +151 -0
  336. package/lib/module/HMSInstanceSetup.js.map +1 -0
  337. package/lib/module/HMSPrebuilt.js +22 -0
  338. package/lib/module/HMSPrebuilt.js.map +1 -0
  339. package/lib/module/HMSRoomSetup.js +206 -0
  340. package/lib/module/HMSRoomSetup.js.map +1 -0
  341. package/lib/module/Icons/100ms/assets/hms-logo.png +0 -0
  342. package/lib/module/Icons/100ms/assets/hms-logo@2x.png +0 -0
  343. package/lib/module/Icons/100ms/assets/hms-logo@3x.png +0 -0
  344. package/lib/module/Icons/100ms/index.js +22 -0
  345. package/lib/module/Icons/100ms/index.js.map +1 -0
  346. package/lib/module/Icons/Alert/assets/alert.png +0 -0
  347. package/lib/module/Icons/Alert/assets/alert@2x.png +0 -0
  348. package/lib/module/Icons/Alert/assets/alert@3x.png +0 -0
  349. package/lib/module/Icons/Alert/index.js +22 -0
  350. package/lib/module/Icons/Alert/index.js.map +1 -0
  351. package/lib/module/Icons/Camera/assets/camera-muted.png +0 -0
  352. package/lib/module/Icons/Camera/assets/camera-muted@2x.png +0 -0
  353. package/lib/module/Icons/Camera/assets/camera-muted@3x.png +0 -0
  354. package/lib/module/Icons/Camera/assets/camera-unmuted.png +0 -0
  355. package/lib/module/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  356. package/lib/module/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  357. package/lib/module/Icons/Camera/index.js +23 -0
  358. package/lib/module/Icons/Camera/index.js.map +1 -0
  359. package/lib/module/Icons/Chat/assets/chat.png +0 -0
  360. package/lib/module/Icons/Chat/assets/chat@2x.png +0 -0
  361. package/lib/module/Icons/Chat/assets/chat@3x.png +0 -0
  362. package/lib/module/Icons/Chat/index.js +22 -0
  363. package/lib/module/Icons/Chat/index.js.map +1 -0
  364. package/lib/module/Icons/Chevron/assets/chevron-down.png +0 -0
  365. package/lib/module/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  366. package/lib/module/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  367. package/lib/module/Icons/Chevron/assets/chevron-left.png +0 -0
  368. package/lib/module/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  369. package/lib/module/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  370. package/lib/module/Icons/Chevron/index.js +23 -0
  371. package/lib/module/Icons/Chevron/index.js.map +1 -0
  372. package/lib/module/Icons/Clock/assets/clock.png +0 -0
  373. package/lib/module/Icons/Clock/assets/clock@2x.png +0 -0
  374. package/lib/module/Icons/Clock/assets/clock@3x.png +0 -0
  375. package/lib/module/Icons/Clock/index.js +22 -0
  376. package/lib/module/Icons/Clock/index.js.map +1 -0
  377. package/lib/module/Icons/Close/assets/close.png +0 -0
  378. package/lib/module/Icons/Close/assets/close@2x.png +0 -0
  379. package/lib/module/Icons/Close/assets/close@3x.png +0 -0
  380. package/lib/module/Icons/Close/index.js +22 -0
  381. package/lib/module/Icons/Close/index.js.map +1 -0
  382. package/lib/module/Icons/End/assets/end.png +0 -0
  383. package/lib/module/Icons/End/assets/end@2x.png +0 -0
  384. package/lib/module/Icons/End/assets/end@3x.png +0 -0
  385. package/lib/module/Icons/End/index.js +22 -0
  386. package/lib/module/Icons/End/index.js.map +1 -0
  387. package/lib/module/Icons/Hand/assets/hand.png +0 -0
  388. package/lib/module/Icons/Hand/assets/hand@2x.png +0 -0
  389. package/lib/module/Icons/Hand/assets/hand@3x.png +0 -0
  390. package/lib/module/Icons/Hand/index.js +24 -0
  391. package/lib/module/Icons/Hand/index.js.map +1 -0
  392. package/lib/module/Icons/Leave/assets/leave.png +0 -0
  393. package/lib/module/Icons/Leave/assets/leave@2x.png +0 -0
  394. package/lib/module/Icons/Leave/assets/leave@3x.png +0 -0
  395. package/lib/module/Icons/Leave/index.js +22 -0
  396. package/lib/module/Icons/Leave/index.js.map +1 -0
  397. package/lib/module/Icons/Mic/assets/mic-muted.png +0 -0
  398. package/lib/module/Icons/Mic/assets/mic-muted@2x.png +0 -0
  399. package/lib/module/Icons/Mic/assets/mic-muted@3x.png +0 -0
  400. package/lib/module/Icons/Mic/assets/mic-unmuted.png +0 -0
  401. package/lib/module/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  402. package/lib/module/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  403. package/lib/module/Icons/Mic/index.js +23 -0
  404. package/lib/module/Icons/Mic/index.js.map +1 -0
  405. package/lib/module/Icons/NetworkQuality/assets/network_0.png +0 -0
  406. package/lib/module/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  407. package/lib/module/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  408. package/lib/module/Icons/NetworkQuality/assets/network_1.png +0 -0
  409. package/lib/module/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  410. package/lib/module/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  411. package/lib/module/Icons/NetworkQuality/assets/network_2.png +0 -0
  412. package/lib/module/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  413. package/lib/module/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  414. package/lib/module/Icons/NetworkQuality/assets/network_3.png +0 -0
  415. package/lib/module/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  416. package/lib/module/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  417. package/lib/module/Icons/NetworkQuality/assets/network_4.png +0 -0
  418. package/lib/module/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  419. package/lib/module/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  420. package/lib/module/Icons/NetworkQuality/assets/network_5.png +0 -0
  421. package/lib/module/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  422. package/lib/module/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  423. package/lib/module/Icons/NetworkQuality/index.js +23 -0
  424. package/lib/module/Icons/NetworkQuality/index.js.map +1 -0
  425. package/lib/module/Icons/Participants/assets/participants.png +0 -0
  426. package/lib/module/Icons/Participants/assets/participants@2x.png +0 -0
  427. package/lib/module/Icons/Participants/assets/participants@3x.png +0 -0
  428. package/lib/module/Icons/Participants/index.js +22 -0
  429. package/lib/module/Icons/Participants/index.js.map +1 -0
  430. package/lib/module/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  431. package/lib/module/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  432. package/lib/module/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  433. package/lib/module/Icons/RotateCamera/index.js +22 -0
  434. package/lib/module/Icons/RotateCamera/index.js.map +1 -0
  435. package/lib/module/Icons/ScreenShare/assets/screen-share.png +0 -0
  436. package/lib/module/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  437. package/lib/module/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  438. package/lib/module/Icons/ScreenShare/index.js +22 -0
  439. package/lib/module/Icons/ScreenShare/index.js.map +1 -0
  440. package/lib/module/Icons/Send/assets/send.png +0 -0
  441. package/lib/module/Icons/Send/assets/send@2x.png +0 -0
  442. package/lib/module/Icons/Send/assets/send@3x.png +0 -0
  443. package/lib/module/Icons/Send/index.js +22 -0
  444. package/lib/module/Icons/Send/index.js.map +1 -0
  445. package/lib/module/Icons/Settings/assets/settings.png +0 -0
  446. package/lib/module/Icons/Settings/assets/settings@2x.png +0 -0
  447. package/lib/module/Icons/Settings/assets/settings@3x.png +0 -0
  448. package/lib/module/Icons/Settings/index.js +22 -0
  449. package/lib/module/Icons/Settings/index.js.map +1 -0
  450. package/lib/module/Icons/Speaker/assets/speaker-muted.png +0 -0
  451. package/lib/module/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  452. package/lib/module/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  453. package/lib/module/Icons/Speaker/assets/speaker.png +0 -0
  454. package/lib/module/Icons/Speaker/assets/speaker@2x.png +0 -0
  455. package/lib/module/Icons/Speaker/assets/speaker@3x.png +0 -0
  456. package/lib/module/Icons/Speaker/index.js +23 -0
  457. package/lib/module/Icons/Speaker/index.js.map +1 -0
  458. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  459. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  460. package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  461. package/lib/module/Icons/ThreeDots/index.js +23 -0
  462. package/lib/module/Icons/ThreeDots/index.js.map +1 -0
  463. package/lib/module/Icons/index.js +20 -0
  464. package/lib/module/Icons/index.js.map +1 -0
  465. package/lib/module/assets/100ms-logo.png +0 -0
  466. package/lib/module/assets/brb.png +0 -0
  467. package/lib/module/assets/icon.png +0 -0
  468. package/lib/module/assets/illustration.png +0 -0
  469. package/lib/module/assets/network_0.png +0 -0
  470. package/lib/module/assets/network_1.png +0 -0
  471. package/lib/module/assets/network_2.png +0 -0
  472. package/lib/module/assets/network_3.png +0 -0
  473. package/lib/module/assets/network_4.png +0 -0
  474. package/lib/module/assets/user_music.png +0 -0
  475. package/lib/module/components/AvatarView.js +39 -0
  476. package/lib/module/components/AvatarView.js.map +1 -0
  477. package/lib/module/components/BackButton.js +33 -0
  478. package/lib/module/components/BackButton.js.map +1 -0
  479. package/lib/module/components/Chat/ChatBanner.js +67 -0
  480. package/lib/module/components/Chat/ChatBanner.js.map +1 -0
  481. package/lib/module/components/Chat/ChatList.js +44 -0
  482. package/lib/module/components/Chat/ChatList.js.map +1 -0
  483. package/lib/module/components/Chat/ChatMessage.js +165 -0
  484. package/lib/module/components/Chat/ChatMessage.js.map +1 -0
  485. package/lib/module/components/Chat/PinnedMessage.js +75 -0
  486. package/lib/module/components/Chat/PinnedMessage.js.map +1 -0
  487. package/lib/module/components/Chat/index.js +5 -0
  488. package/lib/module/components/Chat/index.js.map +1 -0
  489. package/lib/module/components/ChatWindow.js +595 -0
  490. package/lib/module/components/ChatWindow.js.map +1 -0
  491. package/lib/module/components/CustomButton.js +46 -0
  492. package/lib/module/components/CustomButton.js.map +1 -0
  493. package/lib/module/components/CustomHLSPlayerControls.js +73 -0
  494. package/lib/module/components/CustomHLSPlayerControls.js.map +1 -0
  495. package/lib/module/components/CustomInput.js +83 -0
  496. package/lib/module/components/CustomInput.js.map +1 -0
  497. package/lib/module/components/DefaultModal.js +96 -0
  498. package/lib/module/components/DefaultModal.js.map +1 -0
  499. package/lib/module/components/DisplayTrack.js +63 -0
  500. package/lib/module/components/DisplayTrack.js.map +1 -0
  501. package/lib/module/components/DisplayView.js +203 -0
  502. package/lib/module/components/DisplayView.js.map +1 -0
  503. package/lib/module/components/Footer.js +76 -0
  504. package/lib/module/components/Footer.js.map +1 -0
  505. package/lib/module/components/FullScreenIndicator.js +17 -0
  506. package/lib/module/components/FullScreenIndicator.js.map +1 -0
  507. package/lib/module/components/GridView.js +90 -0
  508. package/lib/module/components/GridView.js.map +1 -0
  509. package/lib/module/components/HLSPlayerEmoticons.js +40 -0
  510. package/lib/module/components/HLSPlayerEmoticons.js.map +1 -0
  511. package/lib/module/components/HLSPlayerStatsView.js +56 -0
  512. package/lib/module/components/HLSPlayerStatsView.js.map +1 -0
  513. package/lib/module/components/HLSView.js +132 -0
  514. package/lib/module/components/HLSView.js.map +1 -0
  515. package/lib/module/components/HMSChat.js +22 -0
  516. package/lib/module/components/HMSChat.js.map +1 -0
  517. package/lib/module/components/HMSHLSNotStarted.js +50 -0
  518. package/lib/module/components/HMSHLSNotStarted.js.map +1 -0
  519. package/lib/module/components/HMSManageCameraRotation.js +33 -0
  520. package/lib/module/components/HMSManageCameraRotation.js.map +1 -0
  521. package/lib/module/components/HMSManageLeave.js +276 -0
  522. package/lib/module/components/HMSManageLeave.js.map +1 -0
  523. package/lib/module/components/HMSManageLocalAudio.js +37 -0
  524. package/lib/module/components/HMSManageLocalAudio.js.map +1 -0
  525. package/lib/module/components/HMSManageLocalVideo.js +37 -0
  526. package/lib/module/components/HMSManageLocalVideo.js.map +1 -0
  527. package/lib/module/components/HMSManageRaiseHand.js +39 -0
  528. package/lib/module/components/HMSManageRaiseHand.js.map +1 -0
  529. package/lib/module/components/HMSPreviewDeviceSettings.js +296 -0
  530. package/lib/module/components/HMSPreviewDeviceSettings.js.map +1 -0
  531. package/lib/module/components/HMSPreviewEditName.js +54 -0
  532. package/lib/module/components/HMSPreviewEditName.js.map +1 -0
  533. package/lib/module/components/HMSPreviewJoinButton.js +47 -0
  534. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -0
  535. package/lib/module/components/HMSPreviewPeersList.js +80 -0
  536. package/lib/module/components/HMSPreviewPeersList.js.map +1 -0
  537. package/lib/module/components/HMSPreviewSubtitle.js +23 -0
  538. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -0
  539. package/lib/module/components/HMSPreviewTile.js +129 -0
  540. package/lib/module/components/HMSPreviewTile.js.map +1 -0
  541. package/lib/module/components/HMSPreviewTitle.js +23 -0
  542. package/lib/module/components/HMSPreviewTitle.js.map +1 -0
  543. package/lib/module/components/HMSRoomOptions.js +96 -0
  544. package/lib/module/components/HMSRoomOptions.js.map +1 -0
  545. package/lib/module/components/HMSShareScreen.js +50 -0
  546. package/lib/module/components/HMSShareScreen.js.map +1 -0
  547. package/lib/module/components/HMSShowNetworkQuality.js +48 -0
  548. package/lib/module/components/HMSShowNetworkQuality.js.map +1 -0
  549. package/lib/module/components/Header.js +167 -0
  550. package/lib/module/components/Header.js.map +1 -0
  551. package/lib/module/components/LiveButton.js +61 -0
  552. package/lib/module/components/LiveButton.js.map +1 -0
  553. package/lib/module/components/Meeting.js +55 -0
  554. package/lib/module/components/Meeting.js.map +1 -0
  555. package/lib/module/components/MeetingScreenContent.js +89 -0
  556. package/lib/module/components/MeetingScreenContent.js.map +1 -0
  557. package/lib/module/components/MenuModal/Menu.js +242 -0
  558. package/lib/module/components/MenuModal/Menu.js.map +1 -0
  559. package/lib/module/components/MenuModal/MenuDivider.js +20 -0
  560. package/lib/module/components/MenuModal/MenuDivider.js.map +1 -0
  561. package/lib/module/components/MenuModal/MenuItem.js +53 -0
  562. package/lib/module/components/MenuModal/MenuItem.js.map +1 -0
  563. package/lib/module/components/MenuModal/index.js +4 -0
  564. package/lib/module/components/MenuModal/index.js.map +1 -0
  565. package/lib/module/components/Modals.js +1609 -0
  566. package/lib/module/components/Modals.js.map +1 -0
  567. package/lib/module/components/PIPView.js +23 -0
  568. package/lib/module/components/PIPView.js.map +1 -0
  569. package/lib/module/components/Participants/ParticipantsFilter.js +121 -0
  570. package/lib/module/components/Participants/ParticipantsFilter.js.map +1 -0
  571. package/lib/module/components/Participants/ParticipantsHeader.js +58 -0
  572. package/lib/module/components/Participants/ParticipantsHeader.js.map +1 -0
  573. package/lib/module/components/Participants/ParticipantsList.js +264 -0
  574. package/lib/module/components/Participants/ParticipantsList.js.map +1 -0
  575. package/lib/module/components/Participants/ParticipantsSeachInput.js +45 -0
  576. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -0
  577. package/lib/module/components/Participants/SearchableParticipantsView.js +18 -0
  578. package/lib/module/components/Participants/SearchableParticipantsView.js.map +1 -0
  579. package/lib/module/components/Participants/index.js +6 -0
  580. package/lib/module/components/Participants/index.js.map +1 -0
  581. package/lib/module/components/ParticipantsModal.js +34 -0
  582. package/lib/module/components/ParticipantsModal.js.map +1 -0
  583. package/lib/module/components/PeerDisplayView.js +71 -0
  584. package/lib/module/components/PeerDisplayView.js.map +1 -0
  585. package/lib/module/components/PeerRTCStatsContainer.js +60 -0
  586. package/lib/module/components/PeerRTCStatsContainer.js.map +1 -0
  587. package/lib/module/components/PeerRTCStatsView.js +46 -0
  588. package/lib/module/components/PeerRTCStatsView.js.map +1 -0
  589. package/lib/module/components/PeerSettingsModalContent.js +233 -0
  590. package/lib/module/components/PeerSettingsModalContent.js.map +1 -0
  591. package/lib/module/components/Picker.js +83 -0
  592. package/lib/module/components/Picker.js.map +1 -0
  593. package/lib/module/components/PressableIcon.js +37 -0
  594. package/lib/module/components/PressableIcon.js.map +1 -0
  595. package/lib/module/components/Preview.js +77 -0
  596. package/lib/module/components/Preview.js.map +1 -0
  597. package/lib/module/components/RoomSettingsModalContent.js +505 -0
  598. package/lib/module/components/RoomSettingsModalContent.js.map +1 -0
  599. package/lib/module/components/StatusBar.js +17 -0
  600. package/lib/module/components/StatusBar.js.map +1 -0
  601. package/lib/module/components/StreamingQualityModalContent.js +205 -0
  602. package/lib/module/components/StreamingQualityModalContent.js.map +1 -0
  603. package/lib/module/components/SwitchRow.js +41 -0
  604. package/lib/module/components/SwitchRow.js.map +1 -0
  605. package/lib/module/components/Tile.js +104 -0
  606. package/lib/module/components/Tile.js.map +1 -0
  607. package/lib/module/components/TilesContainer.js +31 -0
  608. package/lib/module/components/TilesContainer.js.map +1 -0
  609. package/lib/module/components/ZoomableView.js +76 -0
  610. package/lib/module/components/ZoomableView.js.map +1 -0
  611. package/lib/module/components/index.js +9 -0
  612. package/lib/module/components/index.js.map +1 -0
  613. package/lib/module/components/styles.js +959 -0
  614. package/lib/module/components/styles.js.map +1 -0
  615. package/lib/module/hooks/useHmsInstance.js +174 -0
  616. package/lib/module/hooks/useHmsInstance.js.map +1 -0
  617. package/lib/module/hooks-sdk-selectors.js +9 -0
  618. package/lib/module/hooks-sdk-selectors.js.map +1 -0
  619. package/lib/module/hooks-sdk.js +115 -0
  620. package/lib/module/hooks-sdk.js.map +1 -0
  621. package/lib/module/hooks-util-selectors.js +5 -0
  622. package/lib/module/hooks-util-selectors.js.map +1 -0
  623. package/lib/module/hooks-util.js +772 -0
  624. package/lib/module/hooks-util.js.map +1 -0
  625. package/lib/module/index.js +2 -0
  626. package/lib/module/index.js.map +1 -0
  627. package/lib/module/peerTrackNodeUtils.js +52 -0
  628. package/lib/module/peerTrackNodeUtils.js.map +1 -0
  629. package/lib/module/redux/actionTypes.js +67 -0
  630. package/lib/module/redux/actionTypes.js.map +1 -0
  631. package/lib/module/redux/actions/index.js +144 -0
  632. package/lib/module/redux/actions/index.js.map +1 -0
  633. package/lib/module/redux/index.js +4 -0
  634. package/lib/module/redux/index.js.map +1 -0
  635. package/lib/module/redux/reducers/appState.js +123 -0
  636. package/lib/module/redux/reducers/appState.js.map +1 -0
  637. package/lib/module/redux/reducers/chatWindow.js +38 -0
  638. package/lib/module/redux/reducers/chatWindow.js.map +1 -0
  639. package/lib/module/redux/reducers/hmsStates.js +60 -0
  640. package/lib/module/redux/reducers/hmsStates.js.map +1 -0
  641. package/lib/module/redux/reducers/index.js +14 -0
  642. package/lib/module/redux/reducers/index.js.map +1 -0
  643. package/lib/module/redux/reducers/message.js +34 -0
  644. package/lib/module/redux/reducers/message.js.map +1 -0
  645. package/lib/module/redux/reducers/userState.js +58 -0
  646. package/lib/module/redux/reducers/userState.js.map +1 -0
  647. package/lib/module/types.js +9 -0
  648. package/lib/module/types.js.map +1 -0
  649. package/lib/module/utils/dimension.js +53 -0
  650. package/lib/module/utils/dimension.js.map +1 -0
  651. package/lib/module/utils/functions.js +338 -0
  652. package/lib/module/utils/functions.js.map +1 -0
  653. package/lib/module/utils/getRoomLinkDetails.js +16 -0
  654. package/lib/module/utils/getRoomLinkDetails.js.map +1 -0
  655. package/lib/module/utils/hooks.js +39 -0
  656. package/lib/module/utils/hooks.js.map +1 -0
  657. package/lib/module/utils/theme.js +134 -0
  658. package/lib/module/utils/theme.js.map +1 -0
  659. package/lib/module/utils/types.js +90 -0
  660. package/lib/module/utils/types.js.map +1 -0
  661. package/lib/module/utils.js +23 -0
  662. package/lib/module/utils.js.map +1 -0
  663. package/lib/typescript/HMSContainer.d.ts +3 -0
  664. package/lib/typescript/HMSContainer.d.ts.map +1 -0
  665. package/lib/typescript/HMSInstanceSetup.d.ts +3 -0
  666. package/lib/typescript/HMSInstanceSetup.d.ts.map +1 -0
  667. package/lib/typescript/HMSPrebuilt.d.ts +18 -0
  668. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -0
  669. package/lib/typescript/HMSRoomSetup.d.ts +3 -0
  670. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -0
  671. package/lib/typescript/Icons/100ms/index.d.ts +7 -0
  672. package/lib/typescript/Icons/100ms/index.d.ts.map +1 -0
  673. package/lib/typescript/Icons/Alert/index.d.ts +7 -0
  674. package/lib/typescript/Icons/Alert/index.d.ts.map +1 -0
  675. package/lib/typescript/Icons/Camera/index.d.ts +8 -0
  676. package/lib/typescript/Icons/Camera/index.d.ts.map +1 -0
  677. package/lib/typescript/Icons/Chat/index.d.ts +7 -0
  678. package/lib/typescript/Icons/Chat/index.d.ts.map +1 -0
  679. package/lib/typescript/Icons/Chevron/index.d.ts +8 -0
  680. package/lib/typescript/Icons/Chevron/index.d.ts.map +1 -0
  681. package/lib/typescript/Icons/Clock/index.d.ts +7 -0
  682. package/lib/typescript/Icons/Clock/index.d.ts.map +1 -0
  683. package/lib/typescript/Icons/Close/index.d.ts +7 -0
  684. package/lib/typescript/Icons/Close/index.d.ts.map +1 -0
  685. package/lib/typescript/Icons/End/index.d.ts +7 -0
  686. package/lib/typescript/Icons/End/index.d.ts.map +1 -0
  687. package/lib/typescript/Icons/Hand/index.d.ts +7 -0
  688. package/lib/typescript/Icons/Hand/index.d.ts.map +1 -0
  689. package/lib/typescript/Icons/Leave/index.d.ts +7 -0
  690. package/lib/typescript/Icons/Leave/index.d.ts.map +1 -0
  691. package/lib/typescript/Icons/Mic/index.d.ts +8 -0
  692. package/lib/typescript/Icons/Mic/index.d.ts.map +1 -0
  693. package/lib/typescript/Icons/NetworkQuality/index.d.ts +8 -0
  694. package/lib/typescript/Icons/NetworkQuality/index.d.ts.map +1 -0
  695. package/lib/typescript/Icons/Participants/index.d.ts +7 -0
  696. package/lib/typescript/Icons/Participants/index.d.ts.map +1 -0
  697. package/lib/typescript/Icons/RotateCamera/index.d.ts +7 -0
  698. package/lib/typescript/Icons/RotateCamera/index.d.ts.map +1 -0
  699. package/lib/typescript/Icons/ScreenShare/index.d.ts +7 -0
  700. package/lib/typescript/Icons/ScreenShare/index.d.ts.map +1 -0
  701. package/lib/typescript/Icons/Send/index.d.ts +7 -0
  702. package/lib/typescript/Icons/Send/index.d.ts.map +1 -0
  703. package/lib/typescript/Icons/Settings/index.d.ts +7 -0
  704. package/lib/typescript/Icons/Settings/index.d.ts.map +1 -0
  705. package/lib/typescript/Icons/Speaker/index.d.ts +8 -0
  706. package/lib/typescript/Icons/Speaker/index.d.ts.map +1 -0
  707. package/lib/typescript/Icons/ThreeDots/index.d.ts +8 -0
  708. package/lib/typescript/Icons/ThreeDots/index.d.ts.map +1 -0
  709. package/lib/typescript/Icons/index.d.ts +20 -0
  710. package/lib/typescript/Icons/index.d.ts.map +1 -0
  711. package/lib/typescript/components/AvatarView.d.ts +10 -0
  712. package/lib/typescript/components/AvatarView.d.ts.map +1 -0
  713. package/lib/typescript/components/BackButton.d.ts +5 -0
  714. package/lib/typescript/components/BackButton.d.ts.map +1 -0
  715. package/lib/typescript/components/Chat/ChatBanner.d.ts +3 -0
  716. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -0
  717. package/lib/typescript/components/Chat/ChatList.d.ts +5 -0
  718. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -0
  719. package/lib/typescript/components/Chat/ChatMessage.d.ts +8 -0
  720. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -0
  721. package/lib/typescript/components/Chat/PinnedMessage.d.ts +3 -0
  722. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -0
  723. package/lib/typescript/components/Chat/index.d.ts +5 -0
  724. package/lib/typescript/components/Chat/index.d.ts.map +1 -0
  725. package/lib/typescript/components/ChatWindow.d.ts +22 -0
  726. package/lib/typescript/components/ChatWindow.d.ts.map +1 -0
  727. package/lib/typescript/components/CustomButton.d.ts +14 -0
  728. package/lib/typescript/components/CustomButton.d.ts.map +1 -0
  729. package/lib/typescript/components/CustomHLSPlayerControls.d.ts +7 -0
  730. package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +1 -0
  731. package/lib/typescript/components/CustomInput.d.ts +24 -0
  732. package/lib/typescript/components/CustomInput.d.ts.map +1 -0
  733. package/lib/typescript/components/DefaultModal.d.ts +15 -0
  734. package/lib/typescript/components/DefaultModal.d.ts.map +1 -0
  735. package/lib/typescript/components/DisplayTrack.d.ts +9 -0
  736. package/lib/typescript/components/DisplayTrack.d.ts.map +1 -0
  737. package/lib/typescript/components/DisplayView.d.ts +10 -0
  738. package/lib/typescript/components/DisplayView.d.ts.map +1 -0
  739. package/lib/typescript/components/Footer.d.ts +9 -0
  740. package/lib/typescript/components/Footer.d.ts.map +1 -0
  741. package/lib/typescript/components/FullScreenIndicator.d.ts +3 -0
  742. package/lib/typescript/components/FullScreenIndicator.d.ts.map +1 -0
  743. package/lib/typescript/components/GridView.d.ts +14 -0
  744. package/lib/typescript/components/GridView.d.ts.map +1 -0
  745. package/lib/typescript/components/HLSPlayerEmoticons.d.ts +2 -0
  746. package/lib/typescript/components/HLSPlayerEmoticons.d.ts.map +1 -0
  747. package/lib/typescript/components/HLSPlayerStatsView.d.ts +6 -0
  748. package/lib/typescript/components/HLSPlayerStatsView.d.ts.map +1 -0
  749. package/lib/typescript/components/HLSView.d.ts +3 -0
  750. package/lib/typescript/components/HLSView.d.ts.map +1 -0
  751. package/lib/typescript/components/HMSChat.d.ts +3 -0
  752. package/lib/typescript/components/HMSChat.d.ts.map +1 -0
  753. package/lib/typescript/components/HMSHLSNotStarted.d.ts +3 -0
  754. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -0
  755. package/lib/typescript/components/HMSManageCameraRotation.d.ts +3 -0
  756. package/lib/typescript/components/HMSManageCameraRotation.d.ts.map +1 -0
  757. package/lib/typescript/components/HMSManageLeave.d.ts +9 -0
  758. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -0
  759. package/lib/typescript/components/HMSManageLocalAudio.d.ts +3 -0
  760. package/lib/typescript/components/HMSManageLocalAudio.d.ts.map +1 -0
  761. package/lib/typescript/components/HMSManageLocalVideo.d.ts +3 -0
  762. package/lib/typescript/components/HMSManageLocalVideo.d.ts.map +1 -0
  763. package/lib/typescript/components/HMSManageRaiseHand.d.ts +3 -0
  764. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -0
  765. package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts +3 -0
  766. package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts.map +1 -0
  767. package/lib/typescript/components/HMSPreviewEditName.d.ts +5 -0
  768. package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -0
  769. package/lib/typescript/components/HMSPreviewJoinButton.d.ts +7 -0
  770. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -0
  771. package/lib/typescript/components/HMSPreviewPeersList.d.ts +5 -0
  772. package/lib/typescript/components/HMSPreviewPeersList.d.ts.map +1 -0
  773. package/lib/typescript/components/HMSPreviewSubtitle.d.ts +6 -0
  774. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -0
  775. package/lib/typescript/components/HMSPreviewTile.d.ts +3 -0
  776. package/lib/typescript/components/HMSPreviewTile.d.ts.map +1 -0
  777. package/lib/typescript/components/HMSPreviewTitle.d.ts +6 -0
  778. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -0
  779. package/lib/typescript/components/HMSRoomOptions.d.ts +6 -0
  780. package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -0
  781. package/lib/typescript/components/HMSShareScreen.d.ts +9 -0
  782. package/lib/typescript/components/HMSShareScreen.d.ts.map +1 -0
  783. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +3 -0
  784. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +1 -0
  785. package/lib/typescript/components/Header.d.ts +9 -0
  786. package/lib/typescript/components/Header.d.ts.map +1 -0
  787. package/lib/typescript/components/LiveButton.d.ts +17 -0
  788. package/lib/typescript/components/LiveButton.d.ts.map +1 -0
  789. package/lib/typescript/components/Meeting.d.ts +8 -0
  790. package/lib/typescript/components/Meeting.d.ts.map +1 -0
  791. package/lib/typescript/components/MeetingScreenContent.d.ts +8 -0
  792. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -0
  793. package/lib/typescript/components/MenuModal/Menu.d.ts +45 -0
  794. package/lib/typescript/components/MenuModal/Menu.d.ts.map +1 -0
  795. package/lib/typescript/components/MenuModal/MenuDivider.d.ts +6 -0
  796. package/lib/typescript/components/MenuModal/MenuDivider.d.ts.map +1 -0
  797. package/lib/typescript/components/MenuModal/MenuItem.d.ts +12 -0
  798. package/lib/typescript/components/MenuModal/MenuItem.d.ts.map +1 -0
  799. package/lib/typescript/components/MenuModal/index.d.ts +7 -0
  800. package/lib/typescript/components/MenuModal/index.d.ts.map +1 -0
  801. package/lib/typescript/components/Modals.d.ts +96 -0
  802. package/lib/typescript/components/Modals.d.ts.map +1 -0
  803. package/lib/typescript/components/PIPView.d.ts +8 -0
  804. package/lib/typescript/components/PIPView.d.ts.map +1 -0
  805. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +6 -0
  806. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +1 -0
  807. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +9 -0
  808. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +1 -0
  809. package/lib/typescript/components/Participants/ParticipantsList.d.ts +7 -0
  810. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -0
  811. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts +8 -0
  812. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -0
  813. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +3 -0
  814. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +1 -0
  815. package/lib/typescript/components/Participants/index.d.ts +6 -0
  816. package/lib/typescript/components/Participants/index.d.ts.map +1 -0
  817. package/lib/typescript/components/ParticipantsModal.d.ts +5 -0
  818. package/lib/typescript/components/ParticipantsModal.d.ts.map +1 -0
  819. package/lib/typescript/components/PeerDisplayView.d.ts +11 -0
  820. package/lib/typescript/components/PeerDisplayView.d.ts.map +1 -0
  821. package/lib/typescript/components/PeerRTCStatsContainer.d.ts +9 -0
  822. package/lib/typescript/components/PeerRTCStatsContainer.d.ts.map +1 -0
  823. package/lib/typescript/components/PeerRTCStatsView.d.ts +10 -0
  824. package/lib/typescript/components/PeerRTCStatsView.d.ts.map +1 -0
  825. package/lib/typescript/components/PeerSettingsModalContent.d.ts +13 -0
  826. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -0
  827. package/lib/typescript/components/Picker.d.ts +9 -0
  828. package/lib/typescript/components/Picker.d.ts.map +1 -0
  829. package/lib/typescript/components/PressableIcon.d.ts +11 -0
  830. package/lib/typescript/components/PressableIcon.d.ts.map +1 -0
  831. package/lib/typescript/components/Preview.d.ts +6 -0
  832. package/lib/typescript/components/Preview.d.ts.map +1 -0
  833. package/lib/typescript/components/RoomSettingsModalContent.d.ts +17 -0
  834. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -0
  835. package/lib/typescript/components/StatusBar.d.ts +7 -0
  836. package/lib/typescript/components/StatusBar.d.ts.map +1 -0
  837. package/lib/typescript/components/StreamingQualityModalContent.d.ts +9 -0
  838. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -0
  839. package/lib/typescript/components/SwitchRow.d.ts +12 -0
  840. package/lib/typescript/components/SwitchRow.d.ts.map +1 -0
  841. package/lib/typescript/components/Tile.d.ts +12 -0
  842. package/lib/typescript/components/Tile.d.ts.map +1 -0
  843. package/lib/typescript/components/TilesContainer.d.ts +11 -0
  844. package/lib/typescript/components/TilesContainer.d.ts.map +1 -0
  845. package/lib/typescript/components/ZoomableView.d.ts +6 -0
  846. package/lib/typescript/components/ZoomableView.d.ts.map +1 -0
  847. package/lib/typescript/components/index.d.ts +9 -0
  848. package/lib/typescript/components/index.d.ts.map +1 -0
  849. package/lib/typescript/components/styles.d.ts +945 -0
  850. package/lib/typescript/components/styles.d.ts.map +1 -0
  851. package/lib/typescript/hooks/useHmsInstance.d.ts +1 -0
  852. package/lib/typescript/hooks/useHmsInstance.d.ts.map +1 -0
  853. package/lib/typescript/hooks-sdk-selectors.d.ts +4 -0
  854. package/lib/typescript/hooks-sdk-selectors.d.ts.map +1 -0
  855. package/lib/typescript/hooks-sdk.d.ts +12 -0
  856. package/lib/typescript/hooks-sdk.d.ts.map +1 -0
  857. package/lib/typescript/hooks-util-selectors.d.ts +3 -0
  858. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -0
  859. package/lib/typescript/hooks-util.d.ts +53 -0
  860. package/lib/typescript/hooks-util.d.ts.map +1 -0
  861. package/lib/typescript/index.d.ts +2 -0
  862. package/lib/typescript/index.d.ts.map +1 -0
  863. package/lib/typescript/peerTrackNodeUtils.d.ts +10 -0
  864. package/lib/typescript/peerTrackNodeUtils.d.ts.map +1 -0
  865. package/lib/typescript/redux/actionTypes.d.ts +56 -0
  866. package/lib/typescript/redux/actionTypes.d.ts.map +1 -0
  867. package/lib/typescript/redux/actions/index.d.ts +199 -0
  868. package/lib/typescript/redux/actions/index.d.ts.map +1 -0
  869. package/lib/typescript/redux/index.d.ts +55 -0
  870. package/lib/typescript/redux/index.d.ts.map +1 -0
  871. package/lib/typescript/redux/reducers/appState.d.ts +32 -0
  872. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -0
  873. package/lib/typescript/redux/reducers/chatWindow.d.ts +10 -0
  874. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -0
  875. package/lib/typescript/redux/reducers/hmsStates.d.ts +46 -0
  876. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -0
  877. package/lib/typescript/redux/reducers/index.d.ts +54 -0
  878. package/lib/typescript/redux/reducers/index.d.ts.map +1 -0
  879. package/lib/typescript/redux/reducers/message.d.ts +12 -0
  880. package/lib/typescript/redux/reducers/message.d.ts.map +1 -0
  881. package/lib/typescript/redux/reducers/userState.d.ts +26 -0
  882. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -0
  883. package/lib/typescript/types.d.ts +8 -0
  884. package/lib/typescript/types.d.ts.map +1 -0
  885. package/lib/typescript/utils/dimension.d.ts +15 -0
  886. package/lib/typescript/utils/dimension.d.ts.map +1 -0
  887. package/lib/typescript/utils/functions.d.ts +47 -0
  888. package/lib/typescript/utils/functions.d.ts.map +1 -0
  889. package/lib/typescript/utils/getRoomLinkDetails.d.ts +5 -0
  890. package/lib/typescript/utils/getRoomLinkDetails.d.ts.map +1 -0
  891. package/lib/typescript/utils/hooks.d.ts +2 -0
  892. package/lib/typescript/utils/hooks.d.ts.map +1 -0
  893. package/lib/typescript/utils/theme.d.ts +126 -0
  894. package/lib/typescript/utils/theme.d.ts.map +1 -0
  895. package/lib/typescript/utils/types.d.ts +82 -0
  896. package/lib/typescript/utils/types.d.ts.map +1 -0
  897. package/lib/typescript/utils.d.ts +12 -0
  898. package/lib/typescript/utils.d.ts.map +1 -0
  899. package/package.json +182 -0
  900. package/src/HMSContainer.tsx +18 -0
  901. package/src/HMSInstanceSetup.tsx +196 -0
  902. package/src/HMSPrebuilt.tsx +36 -0
  903. package/src/HMSRoomSetup.tsx +281 -0
  904. package/src/Icons/100ms/assets/hms-logo.png +0 -0
  905. package/src/Icons/100ms/assets/hms-logo@2x.png +0 -0
  906. package/src/Icons/100ms/assets/hms-logo@3x.png +0 -0
  907. package/src/Icons/100ms/index.tsx +27 -0
  908. package/src/Icons/Alert/assets/alert.png +0 -0
  909. package/src/Icons/Alert/assets/alert@2x.png +0 -0
  910. package/src/Icons/Alert/assets/alert@3x.png +0 -0
  911. package/src/Icons/Alert/index.tsx +27 -0
  912. package/src/Icons/Camera/assets/camera-muted.png +0 -0
  913. package/src/Icons/Camera/assets/camera-muted@2x.png +0 -0
  914. package/src/Icons/Camera/assets/camera-muted@3x.png +0 -0
  915. package/src/Icons/Camera/assets/camera-unmuted.png +0 -0
  916. package/src/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
  917. package/src/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
  918. package/src/Icons/Camera/index.tsx +34 -0
  919. package/src/Icons/Chat/assets/chat.png +0 -0
  920. package/src/Icons/Chat/assets/chat@2x.png +0 -0
  921. package/src/Icons/Chat/assets/chat@3x.png +0 -0
  922. package/src/Icons/Chat/index.tsx +24 -0
  923. package/src/Icons/Chevron/assets/chevron-down.png +0 -0
  924. package/src/Icons/Chevron/assets/chevron-down@2x.png +0 -0
  925. package/src/Icons/Chevron/assets/chevron-down@3x.png +0 -0
  926. package/src/Icons/Chevron/assets/chevron-left.png +0 -0
  927. package/src/Icons/Chevron/assets/chevron-left@2x.png +0 -0
  928. package/src/Icons/Chevron/assets/chevron-left@3x.png +0 -0
  929. package/src/Icons/Chevron/index.tsx +34 -0
  930. package/src/Icons/Clock/assets/clock.png +0 -0
  931. package/src/Icons/Clock/assets/clock@2x.png +0 -0
  932. package/src/Icons/Clock/assets/clock@3x.png +0 -0
  933. package/src/Icons/Clock/index.tsx +27 -0
  934. package/src/Icons/Close/assets/close.png +0 -0
  935. package/src/Icons/Close/assets/close@2x.png +0 -0
  936. package/src/Icons/Close/assets/close@3x.png +0 -0
  937. package/src/Icons/Close/index.tsx +27 -0
  938. package/src/Icons/End/assets/end.png +0 -0
  939. package/src/Icons/End/assets/end@2x.png +0 -0
  940. package/src/Icons/End/assets/end@3x.png +0 -0
  941. package/src/Icons/End/index.tsx +24 -0
  942. package/src/Icons/Hand/assets/hand.png +0 -0
  943. package/src/Icons/Hand/assets/hand@2x.png +0 -0
  944. package/src/Icons/Hand/assets/hand@3x.png +0 -0
  945. package/src/Icons/Hand/index.tsx +27 -0
  946. package/src/Icons/Leave/assets/leave.png +0 -0
  947. package/src/Icons/Leave/assets/leave@2x.png +0 -0
  948. package/src/Icons/Leave/assets/leave@3x.png +0 -0
  949. package/src/Icons/Leave/index.tsx +27 -0
  950. package/src/Icons/Mic/assets/mic-muted.png +0 -0
  951. package/src/Icons/Mic/assets/mic-muted@2x.png +0 -0
  952. package/src/Icons/Mic/assets/mic-muted@3x.png +0 -0
  953. package/src/Icons/Mic/assets/mic-unmuted.png +0 -0
  954. package/src/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
  955. package/src/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
  956. package/src/Icons/Mic/index.tsx +34 -0
  957. package/src/Icons/NetworkQuality/assets/network_0.png +0 -0
  958. package/src/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
  959. package/src/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
  960. package/src/Icons/NetworkQuality/assets/network_1.png +0 -0
  961. package/src/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
  962. package/src/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
  963. package/src/Icons/NetworkQuality/assets/network_2.png +0 -0
  964. package/src/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
  965. package/src/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
  966. package/src/Icons/NetworkQuality/assets/network_3.png +0 -0
  967. package/src/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
  968. package/src/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
  969. package/src/Icons/NetworkQuality/assets/network_4.png +0 -0
  970. package/src/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
  971. package/src/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
  972. package/src/Icons/NetworkQuality/assets/network_5.png +0 -0
  973. package/src/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
  974. package/src/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
  975. package/src/Icons/NetworkQuality/index.tsx +42 -0
  976. package/src/Icons/Participants/assets/participants.png +0 -0
  977. package/src/Icons/Participants/assets/participants@2x.png +0 -0
  978. package/src/Icons/Participants/assets/participants@3x.png +0 -0
  979. package/src/Icons/Participants/index.tsx +27 -0
  980. package/src/Icons/RotateCamera/assets/rotate-camera.png +0 -0
  981. package/src/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
  982. package/src/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
  983. package/src/Icons/RotateCamera/index.tsx +27 -0
  984. package/src/Icons/ScreenShare/assets/screen-share.png +0 -0
  985. package/src/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
  986. package/src/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
  987. package/src/Icons/ScreenShare/index.tsx +27 -0
  988. package/src/Icons/Send/assets/send.png +0 -0
  989. package/src/Icons/Send/assets/send@2x.png +0 -0
  990. package/src/Icons/Send/assets/send@3x.png +0 -0
  991. package/src/Icons/Send/index.tsx +24 -0
  992. package/src/Icons/Settings/assets/settings.png +0 -0
  993. package/src/Icons/Settings/assets/settings@2x.png +0 -0
  994. package/src/Icons/Settings/assets/settings@3x.png +0 -0
  995. package/src/Icons/Settings/index.tsx +27 -0
  996. package/src/Icons/Speaker/assets/speaker-muted.png +0 -0
  997. package/src/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
  998. package/src/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
  999. package/src/Icons/Speaker/assets/speaker.png +0 -0
  1000. package/src/Icons/Speaker/assets/speaker@2x.png +0 -0
  1001. package/src/Icons/Speaker/assets/speaker@3x.png +0 -0
  1002. package/src/Icons/Speaker/index.tsx +34 -0
  1003. package/src/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
  1004. package/src/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
  1005. package/src/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
  1006. package/src/Icons/ThreeDots/index.tsx +34 -0
  1007. package/src/Icons/index.ts +19 -0
  1008. package/src/assets/100ms-logo.png +0 -0
  1009. package/src/assets/brb.png +0 -0
  1010. package/src/assets/icon.png +0 -0
  1011. package/src/assets/illustration.png +0 -0
  1012. package/src/assets/network_0.png +0 -0
  1013. package/src/assets/network_1.png +0 -0
  1014. package/src/assets/network_2.png +0 -0
  1015. package/src/assets/network_3.png +0 -0
  1016. package/src/assets/network_4.png +0 -0
  1017. package/src/assets/user_music.png +0 -0
  1018. package/src/components/AvatarView.tsx +54 -0
  1019. package/src/components/BackButton.tsx +42 -0
  1020. package/src/components/Chat/ChatBanner.tsx +70 -0
  1021. package/src/components/Chat/ChatList.tsx +60 -0
  1022. package/src/components/Chat/ChatMessage.tsx +237 -0
  1023. package/src/components/Chat/PinnedMessage.tsx +89 -0
  1024. package/src/components/Chat/index.ts +4 -0
  1025. package/src/components/ChatWindow.tsx +706 -0
  1026. package/src/components/CustomButton.tsx +80 -0
  1027. package/src/components/CustomHLSPlayerControls.tsx +92 -0
  1028. package/src/components/CustomInput.tsx +139 -0
  1029. package/src/components/DefaultModal.tsx +117 -0
  1030. package/src/components/DisplayTrack.tsx +92 -0
  1031. package/src/components/DisplayView.tsx +314 -0
  1032. package/src/components/Footer.tsx +109 -0
  1033. package/src/components/FullScreenIndicator.tsx +21 -0
  1034. package/src/components/GridView.tsx +124 -0
  1035. package/src/components/HLSPlayerEmoticons.tsx +60 -0
  1036. package/src/components/HLSPlayerStatsView.tsx +68 -0
  1037. package/src/components/HLSView.tsx +170 -0
  1038. package/src/components/HMSChat.tsx +36 -0
  1039. package/src/components/HMSHLSNotStarted.tsx +62 -0
  1040. package/src/components/HMSManageCameraRotation.tsx +48 -0
  1041. package/src/components/HMSManageLeave.tsx +349 -0
  1042. package/src/components/HMSManageLocalAudio.tsx +49 -0
  1043. package/src/components/HMSManageLocalVideo.tsx +49 -0
  1044. package/src/components/HMSManageRaiseHand.tsx +48 -0
  1045. package/src/components/HMSPreviewDeviceSettings.tsx +387 -0
  1046. package/src/components/HMSPreviewEditName.tsx +63 -0
  1047. package/src/components/HMSPreviewJoinButton.tsx +64 -0
  1048. package/src/components/HMSPreviewPeersList.tsx +108 -0
  1049. package/src/components/HMSPreviewSubtitle.tsx +26 -0
  1050. package/src/components/HMSPreviewTile.tsx +152 -0
  1051. package/src/components/HMSPreviewTitle.tsx +26 -0
  1052. package/src/components/HMSRoomOptions.tsx +141 -0
  1053. package/src/components/HMSShareScreen.tsx +71 -0
  1054. package/src/components/HMSShowNetworkQuality.tsx +67 -0
  1055. package/src/components/Header.tsx +185 -0
  1056. package/src/components/LiveButton.tsx +77 -0
  1057. package/src/components/Meeting.tsx +72 -0
  1058. package/src/components/MeetingScreenContent.tsx +109 -0
  1059. package/src/components/MenuModal/Menu.tsx +305 -0
  1060. package/src/components/MenuModal/MenuDivider.tsx +22 -0
  1061. package/src/components/MenuModal/MenuItem.tsx +67 -0
  1062. package/src/components/MenuModal/index.ts +7 -0
  1063. package/src/components/Modals.tsx +2103 -0
  1064. package/src/components/PIPView.tsx +30 -0
  1065. package/src/components/Participants/ParticipantsFilter.tsx +144 -0
  1066. package/src/components/Participants/ParticipantsHeader.tsx +64 -0
  1067. package/src/components/Participants/ParticipantsList.tsx +331 -0
  1068. package/src/components/Participants/ParticipantsSeachInput.tsx +55 -0
  1069. package/src/components/Participants/SearchableParticipantsView.tsx +21 -0
  1070. package/src/components/Participants/index.ts +5 -0
  1071. package/src/components/ParticipantsModal.tsx +46 -0
  1072. package/src/components/PeerDisplayView.tsx +112 -0
  1073. package/src/components/PeerRTCStatsContainer.tsx +82 -0
  1074. package/src/components/PeerRTCStatsView.tsx +110 -0
  1075. package/src/components/PeerSettingsModalContent.tsx +355 -0
  1076. package/src/components/Picker.tsx +108 -0
  1077. package/src/components/PressableIcon.tsx +54 -0
  1078. package/src/components/Preview.tsx +108 -0
  1079. package/src/components/RoomSettingsModalContent.tsx +743 -0
  1080. package/src/components/StatusBar.tsx +22 -0
  1081. package/src/components/StreamingQualityModalContent.tsx +266 -0
  1082. package/src/components/SwitchRow.tsx +55 -0
  1083. package/src/components/Tile.tsx +119 -0
  1084. package/src/components/TilesContainer.tsx +48 -0
  1085. package/src/components/ZoomableView.tsx +91 -0
  1086. package/src/components/index.ts +8 -0
  1087. package/src/components/styles.ts +961 -0
  1088. package/src/hooks/useHmsInstance.ts +173 -0
  1089. package/src/hooks-sdk-selectors.tsx +9 -0
  1090. package/src/hooks-sdk.ts +156 -0
  1091. package/src/hooks-util-selectors.tsx +4 -0
  1092. package/src/hooks-util.ts +1124 -0
  1093. package/src/index.ts +1 -0
  1094. package/src/peerTrackNodeUtils.tsx +114 -0
  1095. package/src/redux/actionTypes.ts +85 -0
  1096. package/src/redux/actions/index.ts +196 -0
  1097. package/src/redux/index.ts +8 -0
  1098. package/src/redux/reducers/appState.ts +143 -0
  1099. package/src/redux/reducers/chatWindow.ts +35 -0
  1100. package/src/redux/reducers/hmsStates.ts +126 -0
  1101. package/src/redux/reducers/index.ts +14 -0
  1102. package/src/redux/reducers/message.ts +36 -0
  1103. package/src/redux/reducers/userState.ts +88 -0
  1104. package/src/types.ts +7 -0
  1105. package/src/utils/dimension.ts +57 -0
  1106. package/src/utils/functions.ts +522 -0
  1107. package/src/utils/getRoomLinkDetails.ts +23 -0
  1108. package/src/utils/hooks.ts +104 -0
  1109. package/src/utils/theme.ts +130 -0
  1110. package/src/utils/types.ts +95 -0
  1111. package/src/utils.ts +24 -0
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TrackType = exports.Theme = exports.SortingType = exports.SUPPORTED_ASPECT_RATIOS = exports.PipModes = exports.ModalTypes = exports.LayoutParams = exports.Constants = void 0;
7
+ let LayoutParams = /*#__PURE__*/function (LayoutParams) {
8
+ LayoutParams["AUDIO"] = "audio";
9
+ LayoutParams["GRID"] = "grid";
10
+ LayoutParams["ACTIVE_SPEAKER"] = "active speaker";
11
+ LayoutParams["HERO"] = "hero";
12
+ LayoutParams["MINI"] = "mini";
13
+ LayoutParams["HLS"] = "hls";
14
+ LayoutParams["DEFAULT"] = "";
15
+ return LayoutParams;
16
+ }({});
17
+ exports.LayoutParams = LayoutParams;
18
+ let TrackType = /*#__PURE__*/function (TrackType) {
19
+ TrackType["LOCAL"] = "local";
20
+ TrackType["REMOTE"] = "remote";
21
+ TrackType["SCREEN"] = "screen";
22
+ TrackType["DEFAULT"] = "";
23
+ return TrackType;
24
+ }({});
25
+ exports.TrackType = TrackType;
26
+ let ModalTypes = /*#__PURE__*/function (ModalTypes) {
27
+ ModalTypes["CHANGE_ROLE_ACCEPT"] = "changeRoleAccept";
28
+ ModalTypes["SWITCH_AUDIO_OUTPUT"] = "switchAudioOutput";
29
+ ModalTypes["CHANGE_AUDIO_MODE"] = "changeAudioMode";
30
+ ModalTypes["CHANGE_ROLE"] = "changeRole";
31
+ ModalTypes["CHANGE_TRACK"] = "changeTrackState";
32
+ ModalTypes["CHANGE_TRACK_ROLE"] = "changeTrackStateRole";
33
+ ModalTypes["CHANGE_NAME"] = "changeName";
34
+ ModalTypes["HLS_STREAMING"] = "hlsStreaming";
35
+ ModalTypes["END_HLS_STREAMING"] = "endHlsStreaming";
36
+ ModalTypes["RECORDING"] = "recording";
37
+ ModalTypes["RESOLUTION"] = "resolution";
38
+ ModalTypes["RTC_STATS"] = "rtcStats";
39
+ ModalTypes["LAYOUT"] = "layout";
40
+ ModalTypes["SORTING"] = "sorting";
41
+ ModalTypes["LEAVE_MENU"] = "leaveMenu";
42
+ ModalTypes["LEAVE_ROOM"] = "leaveRoom";
43
+ ModalTypes["END_ROOM"] = "endRoom";
44
+ ModalTypes["SETTINGS"] = "settings";
45
+ ModalTypes["CHAT"] = "chat";
46
+ ModalTypes["ZOOM"] = "zoom";
47
+ ModalTypes["PREVIEW"] = "preview";
48
+ ModalTypes["PARTICIPANTS"] = "participants";
49
+ ModalTypes["VOLUME"] = "volume";
50
+ ModalTypes["AUDIO_MIXING_MODE"] = "audioMixingMode";
51
+ ModalTypes["SET_AUDIO_SHARE_VOLUME"] = "setAudioShareVolume";
52
+ ModalTypes["WELCOME_SETTINGS"] = "welcomeSettings";
53
+ ModalTypes["BULK_ROLE_CHANGE"] = "bulkRoleChange";
54
+ ModalTypes["PEER_SETTINGS"] = "peerSettings";
55
+ ModalTypes["STREAMING_QUALITY_SETTING"] = "streamingQualitySetting";
56
+ ModalTypes["HLS_PLAYER_ASPECT_RATIO"] = "hlsPlayerAspectRatio";
57
+ ModalTypes["DEFAULT"] = "";
58
+ return ModalTypes;
59
+ }({});
60
+ exports.ModalTypes = ModalTypes;
61
+ let SortingType = /*#__PURE__*/function (SortingType) {
62
+ SortingType["ALPHABETICAL"] = "Alphabetical Order";
63
+ SortingType["VIDEO_ON"] = "Video On";
64
+ SortingType["ROLE_PRIORITY"] = "Role Priority";
65
+ SortingType["DEFAULT"] = "None";
66
+ return SortingType;
67
+ }({});
68
+ exports.SortingType = SortingType;
69
+ let Theme = /*#__PURE__*/function (Theme) {
70
+ Theme["LIGHT"] = "Light";
71
+ Theme["DARK"] = "Dark";
72
+ return Theme;
73
+ }({});
74
+ exports.Theme = Theme;
75
+ let PipModes = /*#__PURE__*/function (PipModes) {
76
+ PipModes[PipModes["NOT_AVAILABLE"] = -1] = "NOT_AVAILABLE";
77
+ PipModes[PipModes["ACTIVE"] = 0] = "ACTIVE";
78
+ PipModes[PipModes["INACTIVE"] = 1] = "INACTIVE";
79
+ return PipModes;
80
+ }({});
81
+ exports.PipModes = PipModes;
82
+ let Constants = /*#__PURE__*/function (Constants) {
83
+ Constants["MEET_URL"] = "MEET_URL";
84
+ return Constants;
85
+ }({});
86
+ exports.Constants = Constants;
87
+ const SUPPORTED_ASPECT_RATIOS = [{
88
+ value: 16 / 9,
89
+ id: '16:9'
90
+ }, {
91
+ value: 9 / 16,
92
+ id: '9:16'
93
+ }, {
94
+ value: 1,
95
+ id: '1:1'
96
+ }, {
97
+ value: 4 / 3,
98
+ id: '4:3'
99
+ }, {
100
+ value: 3 / 4,
101
+ id: '3:4'
102
+ }];
103
+ exports.SUPPORTED_ASPECT_RATIOS = SUPPORTED_ASPECT_RATIOS;
104
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["LayoutParams","exports","TrackType","ModalTypes","SortingType","Theme","PipModes","Constants","SUPPORTED_ASPECT_RATIOS","value","id"],"sourceRoot":"../../../src","sources":["utils/types.ts"],"mappings":";;;;;;IAUYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAAAC,OAAA,CAAAD,YAAA,GAAAA,YAAA;AAAA,IAUZE,SAAS,0BAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AAAAD,OAAA,CAAAC,SAAA,GAAAA,SAAA;AAAA,IAOTC,UAAU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7B;EAAED,KAAK,EAAE,CAAC;EAAEC,EAAE,EAAE;AAAM,CAAC,EACvB;EAAED,KAAK,EAAE,CAAC,GAAG,CAAC;EAAEC,EAAE,EAAE;AAAM,CAAC,EAC3B;EAAED,KAAK,EAAE,CAAC,GAAG,CAAC;EAAEC,EAAE,EAAE;AAAM,CAAC,CAC5B;AAACT,OAAA,CAAAO,uBAAA,GAAAA,uBAAA"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getJoinConfig = void 0;
7
+ // @ts-nocheck
8
+
9
+ const DEFAULT_JOINING_CONFIG = {
10
+ mutedAudio: true,
11
+ mutedVideo: true,
12
+ skipPreview: false,
13
+ audioMixer: false,
14
+ // IOS only
15
+ musicMode: false,
16
+ // IOS only
17
+ softwareDecoder: true,
18
+ // Android only
19
+ autoResize: false // Android only
20
+ };
21
+
22
+ let config = DEFAULT_JOINING_CONFIG;
23
+ const getJoinConfig = () => {
24
+ if (typeof global.joinConfig === 'object' && global.joinConfig.mutedAudio !== undefined) {
25
+ config = global.joinConfig;
26
+ }
27
+ return config;
28
+ };
29
+ exports.getJoinConfig = getJoinConfig;
30
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DEFAULT_JOINING_CONFIG","mutedAudio","mutedVideo","skipPreview","audioMixer","musicMode","softwareDecoder","autoResize","config","getJoinConfig","global","joinConfig","undefined","exports"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":";;;;;;AAAA;;AAEA,MAAMA,sBAAsB,GAAG;EAC7BC,UAAU,EAAE,IAAI;EAChBC,UAAU,EAAE,IAAI;EAChBC,WAAW,EAAE,KAAK;EAClBC,UAAU,EAAE,KAAK;EAAE;EACnBC,SAAS,EAAE,KAAK;EAAE;EAClBC,eAAe,EAAE,IAAI;EAAE;EACvBC,UAAU,EAAE,KAAK,CAAE;AACrB,CAAC;;AAED,IAAIC,MAAM,GAAGR,sBAAsB;AAE5B,MAAMS,aAAa,GAAGA,CAAA,KAAqC;EAChE,IACE,OAAOC,MAAM,CAACC,UAAU,KAAK,QAAQ,IACrCD,MAAM,CAACC,UAAU,CAACV,UAAU,KAAKW,SAAS,EAC1C;IACAJ,MAAM,GAAGE,MAAM,CAACC,UAAU;EAC5B;EAEA,OAAOH,MAAM;AACf,CAAC;AAACK,OAAA,CAAAJ,aAAA,GAAAA,aAAA"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { useSelector } from 'react-redux';
3
+ import { HMSInstanceSetup } from './HMSInstanceSetup';
4
+ import { HMSRoomSetup } from './HMSRoomSetup';
5
+ export const HMSContainer = () => {
6
+ const isHMSInstanceAvailable = useSelector(state => !!state.user.hmsInstance);
7
+ if (isHMSInstanceAvailable) {
8
+ return /*#__PURE__*/React.createElement(HMSRoomSetup, null);
9
+ }
10
+ return /*#__PURE__*/React.createElement(HMSInstanceSetup, null);
11
+ };
12
+ //# sourceMappingURL=HMSContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useSelector","HMSInstanceSetup","HMSRoomSetup","HMSContainer","isHMSInstanceAvailable","state","user","hmsInstance","createElement"],"sourceRoot":"../../src","sources":["HMSContainer.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,WAAW,QAAQ,aAAa;AAGzC,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,YAAY,QAAQ,gBAAgB;AAE7C,OAAO,MAAMC,YAAY,GAAGA,CAAA,KAAM;EAChC,MAAMC,sBAAsB,GAAGJ,WAAW,CACvCK,KAAgB,IAAK,CAAC,CAACA,KAAK,CAACC,IAAI,CAACC,WACrC,CAAC;EAED,IAAIH,sBAAsB,EAAE;IAC1B,oBAAOL,KAAA,CAAAS,aAAA,CAACN,YAAY,MAAE,CAAC;EACzB;EAEA,oBAAOH,KAAA,CAAAS,aAAA,CAACP,gBAAgB,MAAE,CAAC;AAC7B,CAAC"}
@@ -0,0 +1,151 @@
1
+ import { HMSAudioTrackSettings, HMSCameraFacing, HMSIOSAudioMode, HMSLogAlarmManager, HMSLogger, HMSLogLevel, HMSLogSettings, HMSSDK, HMSTrackSettings, HMSTrackSettingsInitState, HMSVideoTrackSettings } from '@100mslive/react-native-hms';
2
+ import React, { useEffect } from 'react';
3
+ import { getModel } from 'react-native-device-info';
4
+ import { batch, useDispatch } from 'react-redux';
5
+ import { getJoinConfig } from './utils';
6
+ import { saveUserData, setHMSInstance } from './redux/actions';
7
+ import { FullScreenIndicator } from './components/FullScreenIndicator';
8
+ import { clearConfig } from './hooks-util';
9
+ import { store } from './redux';
10
+ const getTrackSettings = () => {
11
+ const joinConfig = getJoinConfig();
12
+ const listOfFaultyDevices = ['Pixel', 'Pixel XL', 'Moto G5', 'Moto G (5S) Plus', 'Moto G4', 'TA-1053', 'Mi A1', 'Mi A2', 'E5823',
13
+ // Sony z5 compact
14
+ 'Redmi Note 5', 'FP2',
15
+ // Fairphone FP2
16
+ 'MI 5'];
17
+ const deviceModal = getModel();
18
+
19
+ /**
20
+ * Customize local peer's Audio track settings before Joining the Room.
21
+ *
22
+ * Checkout Track Settings docs for more details {@link https://www.100ms.live/docs/react-native/v2/how-to-guides/interact-with-room/track/track-settings}
23
+ */
24
+ let audioSettings = new HMSAudioTrackSettings({
25
+ initialState: joinConfig.mutedAudio ? HMSTrackSettingsInitState.MUTED : HMSTrackSettingsInitState.UNMUTED,
26
+ useHardwareEchoCancellation: listOfFaultyDevices.includes(deviceModal) ? true : false,
27
+ audioSource: joinConfig.audioMixer ? ['mic_node', 'screen_broadcast_audio_receiver_node', 'audio_file_player_node'] : undefined,
28
+ /**
29
+ * `audioMode` param allows you to capture audio in its highest quality
30
+ * by disabling voice processing and increasing the maximum bandwidth limit
31
+ *
32
+ * Checkout Music Mode docs for more details {@link https://www.100ms.live/docs/react-native/v2/how-to-guides/configure-your-device/microphone/music-mode}
33
+ */
34
+ audioMode: joinConfig.musicMode ? HMSIOSAudioMode.MUSIC : undefined
35
+ });
36
+
37
+ /**
38
+ * Customize local peer's Video track settings before Joining the Room.
39
+ *
40
+ * Checkout Track Settings docs for more details {@link https://www.100ms.live/docs/react-native/v2/how-to-guides/interact-with-room/track/track-settings}
41
+ */
42
+ let videoSettings = new HMSVideoTrackSettings({
43
+ initialState: joinConfig.mutedVideo ? HMSTrackSettingsInitState.MUTED : HMSTrackSettingsInitState.UNMUTED,
44
+ cameraFacing: HMSCameraFacing.FRONT,
45
+ disableAutoResize: !joinConfig.autoResize,
46
+ forceSoftwareDecoder: joinConfig.softwareDecoder
47
+ });
48
+ return new HMSTrackSettings({
49
+ video: videoSettings,
50
+ audio: audioSettings
51
+ });
52
+ };
53
+ const getLogSettings = () => {
54
+ return new HMSLogSettings({
55
+ level: HMSLogLevel.VERBOSE,
56
+ isLogStorageEnabled: true,
57
+ maxDirSizeInBytes: HMSLogAlarmManager.DEFAULT_DIR_SIZE
58
+ });
59
+ };
60
+ const getIOSBuildConfig = () => store.getState().user.iosBuildConfig || {};
61
+
62
+ /**
63
+ * Regular Usage:
64
+ * const hmsInstance = await HMSSDK.build();
65
+ * @returns
66
+ */
67
+ const getHmsInstance = async () => {
68
+ /**
69
+ * Only required for advanced use-case features like iOS Screen/Audio Share, Android Software Echo Cancellation, etc
70
+ * NOT required for any other features.
71
+ * @link https://www.100ms.live/docs/react-native/v2/advanced-features/track-settings
72
+ */
73
+ const trackSettings = getTrackSettings();
74
+
75
+ /**
76
+ * Regular Usage:
77
+ * const hmsInstance = await HMSSDK.build();
78
+ *
79
+ *
80
+ * Advanced Usage Example:
81
+ * @param {trackSettings} trackSettings is an optional value only required to enable features like iOS Screen/Audio Share, Android Software Echo Cancellation, etc
82
+ *
83
+ * @param {appGroup} appGroup is an optional value only required for implementing Screen & Audio Share on iOS. They are not required for Android. DO NOT USE if your app does not implements Screen or Audio Share on iOS.
84
+ *
85
+ * @param {preferredExtension} preferredExtension is an optional value only required for implementing Screen & Audio Share on iOS. They are not required for Android. DO NOT USE if your app does not implements Screen or Audio Share on iOS.
86
+ *
87
+ *
88
+ * const trackSettings = getTrackSettings();
89
+ * const hmsInstance = await HMSSDK.build({
90
+ * trackSettings,
91
+ * appGroup: 'group.reactnativehms', // required for iOS Screenshare, not required for Android
92
+ * preferredExtension: 'RNHMSExampleBroadcastUpload', // required for iOS Screenshare, not required for Android
93
+ * });
94
+ */
95
+
96
+ const logSettings = getLogSettings();
97
+ const {
98
+ appGroup,
99
+ preferredExtension
100
+ } = getIOSBuildConfig();
101
+ const hmsInstance = await HMSSDK.build({
102
+ logSettings,
103
+ trackSettings,
104
+ appGroup,
105
+ preferredExtension
106
+ });
107
+ const logger = new HMSLogger();
108
+ logger.updateLogLevel(HMSLogLevel.VERBOSE, true);
109
+ hmsInstance.setLogger(logger);
110
+ return hmsInstance;
111
+ };
112
+ export const HMSInstanceSetup = () => {
113
+ const dispatch = useDispatch();
114
+ useEffect(() => {
115
+ let ignore = false;
116
+ const setupHMSInstance = async () => {
117
+ clearConfig();
118
+ getHmsInstance().then(hmssdkInstance => {
119
+ console.log('$$$ hmssdkInstance id = ', hmssdkInstance.id);
120
+ if (!ignore) {
121
+ // If this component is mounted
122
+ // save instance in store
123
+ console.log('$$$ before batch');
124
+ batch(() => {
125
+ console.log('$$$ setHMSInstance call');
126
+ dispatch(setHMSInstance(hmssdkInstance));
127
+ // TODO: remove this from user reducer
128
+ console.log('$$$ saveUserData call');
129
+ dispatch(saveUserData({
130
+ hmsInstance: hmssdkInstance
131
+ }));
132
+ });
133
+ console.log('$$$ after batch');
134
+ } else {
135
+ // If this component is not mounted when this response is received
136
+ // that means Root componnet is unmounted, we can destroy instance safely
137
+ hmssdkInstance.leave().finally(() => hmssdkInstance.destroy());
138
+ }
139
+ }).catch(error => {
140
+ // TODO: Handle this gracefully, inform library user about this
141
+ console.warn('Get HMS Instance Error: ', error);
142
+ });
143
+ };
144
+ setupHMSInstance();
145
+ return () => {
146
+ ignore = true;
147
+ };
148
+ }, []);
149
+ return /*#__PURE__*/React.createElement(FullScreenIndicator, null);
150
+ };
151
+ //# sourceMappingURL=HMSInstanceSetup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["HMSAudioTrackSettings","HMSCameraFacing","HMSIOSAudioMode","HMSLogAlarmManager","HMSLogger","HMSLogLevel","HMSLogSettings","HMSSDK","HMSTrackSettings","HMSTrackSettingsInitState","HMSVideoTrackSettings","React","useEffect","getModel","batch","useDispatch","getJoinConfig","saveUserData","setHMSInstance","FullScreenIndicator","clearConfig","store","getTrackSettings","joinConfig","listOfFaultyDevices","deviceModal","audioSettings","initialState","mutedAudio","MUTED","UNMUTED","useHardwareEchoCancellation","includes","audioSource","audioMixer","undefined","audioMode","musicMode","MUSIC","videoSettings","mutedVideo","cameraFacing","FRONT","disableAutoResize","autoResize","forceSoftwareDecoder","softwareDecoder","video","audio","getLogSettings","level","VERBOSE","isLogStorageEnabled","maxDirSizeInBytes","DEFAULT_DIR_SIZE","getIOSBuildConfig","getState","user","iosBuildConfig","getHmsInstance","trackSettings","logSettings","appGroup","preferredExtension","hmsInstance","build","logger","updateLogLevel","setLogger","HMSInstanceSetup","dispatch","ignore","setupHMSInstance","then","hmssdkInstance","console","log","id","leave","finally","destroy","catch","error","warn","createElement"],"sourceRoot":"../../src","sources":["HMSInstanceSetup.tsx"],"mappings":"AAAA,SACEA,qBAAqB,EACrBC,eAAe,EACfC,eAAe,EACfC,kBAAkB,EAClBC,SAAS,EACTC,WAAW,EACXC,cAAc,EACdC,MAAM,EACNC,gBAAgB,EAChBC,yBAAyB,EACzBC,qBAAqB,QAChB,6BAA6B;AACpC,OAAOC,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,QAAQ,QAAQ,0BAA0B;AACnD,SAASC,KAAK,EAAEC,WAAW,QAAQ,aAAa;AAEhD,SAASC,aAAa,QAAQ,SAAS;AACvC,SAASC,YAAY,EAAEC,cAAc,QAAQ,iBAAiB;AAC9D,SAASC,mBAAmB,QAAQ,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2D,MAAM,GAAG,KAAK;IAElB,MAAMC,gBAAgB,GAAG,MAAAA,CAAA,KAAY;MACnCpD,WAAW,CAAC,CAAC;MACbuC,cAAc,CAAC,CAAC,CACbc,IAAI,CAAEC,cAAc,IAAK;QACxBC,OAAO,CAACC,GAAG,CAAC,0BAA0B,EAAEF,cAAc,CAACG,EAAE,CAAC;QAC1D,IAAI,CAACN,MAAM,EAAE;UACX;UACA;UACAI,OAAO,CAACC,GAAG,CAAC,kBAAkB,CAAC;UAC/B9D,KAAK,CAAC,MAAM;YACV6D,OAAO,CAACC,GAAG,CAAC,yBAAyB,CAAC;YACtCN,QAAQ,CAACpD,cAAc,CAACwD,cAAc,CAAC,CAAC;YACxC;YACAC,OAAO,CAACC,GAAG,CAAC,uBAAuB,CAAC;YACpCN,QAAQ,CAACrD,YAAY,CAAC;cAAE+C,WAAW,EAAEU;YAAe,CAAC,CAAC,CAAC;UACzD,CAAC,CAAC;UACFC,OAAO,CAACC,GAAG,CAAC,iBAAiB,CAAC;QAChC,CAAC,MAAM;UACL;UACA;UACAF,cAAc,CAACI,KAAK,CAAC,CAAC,CAACC,OAAO,CAAC,MAAML,cAAc,CAACM,OAAO,CAAC,CAAC,CAAC;QAChE;MACF,CAAC,CAAC,CACDC,KAAK,CAAEC,KAAK,IAAK;QAChB;QACAP,OAAO,CAACQ,IAAI,CAAC,0BAA0B,EAAED,KAAK,CAAC;MACjD,CAAC,CAAC;IACN,CAAC;IAEDV,gBAAgB,CAAC,CAAC;IAElB,OAAO,MAAM;MACXD,MAAM,GAAG,IAAI;IACf,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,oBAAO5D,KAAA,CAAAyE,aAAA,CAACjE,mBAAmB,MAAE,CAAC;AAChC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import React, { memo } from 'react';
2
+ import { Provider } from 'react-redux';
3
+ import { store } from './redux/index';
4
+ import { HMSContainer } from './HMSContainer';
5
+ import { setPrebuiltData } from './redux/actions';
6
+ export const _HMSPrebuilt = props => {
7
+ const {
8
+ roomCode,
9
+ options
10
+ } = props;
11
+ store.dispatch(setPrebuiltData({
12
+ roomCode,
13
+ options
14
+ }));
15
+ return /*#__PURE__*/React.createElement(Provider, {
16
+ store: store
17
+ }, /*#__PURE__*/React.createElement(HMSContainer, null));
18
+ };
19
+
20
+ // TODO: handle props change
21
+ export const HMSPrebuilt = /*#__PURE__*/memo(_HMSPrebuilt);
22
+ //# sourceMappingURL=HMSPrebuilt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","memo","Provider","store","HMSContainer","setPrebuiltData","_HMSPrebuilt","props","roomCode","options","dispatch","createElement","HMSPrebuilt"],"sourceRoot":"../../src","sources":["HMSPrebuilt.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,SAASC,QAAQ,QAAQ,aAAa;AAEtC,SAASC,KAAK,QAAQ,eAAe;AACrC,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,eAAe,QAAQ,iBAAiB;AAiBjD,OAAO,MAAMC,YAAwC,GAAIC,KAAK,IAAK;EACjE,MAAM;IAAEC,QAAQ;IAAEC;EAAQ,CAAC,GAAGF,KAAK;EAEnCJ,KAAK,CAACO,QAAQ,CAACL,eAAe,CAAC;IAAEG,QAAQ;IAAEC;EAAQ,CAAC,CAAC,CAAC;EAEtD,oBACET,KAAA,CAAAW,aAAA,CAACT,QAAQ;IAACC,KAAK,EAAEA;EAAM,gBACrBH,KAAA,CAAAW,aAAA,CAACP,YAAY,MAAE,CACP,CAAC;AAEf,CAAC;;AAED;AACA,OAAO,MAAMQ,WAAW,gBAAGX,IAAI,CAACK,YAAY,CAAC"}
@@ -0,0 +1,206 @@
1
+ import { HMSUpdateListenerActions } from '@100mslive/react-native-hms';
2
+ import React, { useCallback, useEffect, useRef, useState } from 'react';
3
+ import { Alert, Platform, StatusBar, StyleSheet, View } from 'react-native';
4
+ import Toast from 'react-native-simple-toast';
5
+ import { batch, useDispatch } from 'react-redux';
6
+ import { Preview } from './components';
7
+ import { clearStore, setHMSLocalPeerState, setHMSRoomState } from './redux/actions';
8
+ import { createPeerTrackNode } from './utils/functions';
9
+ import { Meeting } from './components/Meeting';
10
+ import { useHMSConfig, useHMSInstance, useHMSListeners, useHMSSessionStore } from './hooks-util';
11
+ import { peerTrackNodeExistForPeerAndTrack, replacePeerTrackNodesWithTrack, replacePeerTrackNodes, peerTrackNodeExistForPeer } from './peerTrackNodeUtils';
12
+ import { MeetingState } from './types';
13
+ import { getJoinConfig } from './utils';
14
+ import { COLORS } from './utils/theme';
15
+ import { FullScreenIndicator } from './components/FullScreenIndicator';
16
+ import { selectIsHLSViewer } from './hooks-util-selectors';
17
+ export const HMSRoomSetup = () => {
18
+ console.log('### Inside HMSRoomSetup');
19
+ const didInitMeetingAction = useRef(false);
20
+ const hmsInstance = useHMSInstance();
21
+ const dispatch = useDispatch();
22
+ console.log('### after dispatch');
23
+ const {
24
+ getConfig,
25
+ clearConfig
26
+ } = useHMSConfig();
27
+ const [meetingState, setMeetingState] = useState(MeetingState.NOT_JOINED);
28
+ const [peerTrackNodes, setPeerTrackNodes] = useState([]);
29
+ const [loading, setLoading] = useState(false);
30
+ const joinMeeting = useCallback(async () => {
31
+ setLoading(true);
32
+ const hmsConfig = await getConfig();
33
+ // TODO: handle case when promise returned from `getConfig()` is resolved when Root component has been unmounted
34
+ hmsInstance.join(hmsConfig);
35
+ }, [getConfig, hmsInstance]);
36
+ const previewMeeting = useCallback(async () => {
37
+ setLoading(true);
38
+ const hmsConfig = await getConfig();
39
+ // TODO: handle case when promise returned from `getConfig()` is resolved when Root component has been unmounted
40
+ hmsInstance.preview(hmsConfig);
41
+ }, [getConfig, hmsInstance]);
42
+
43
+ // HMS Room, Peers, Track Listeners
44
+ useHMSListeners(setPeerTrackNodes, setMeetingState);
45
+
46
+ /**
47
+ * Session store is a shared realtime key-value store that is accessible by everyone in the room.
48
+ * It can be utilized to implement features such as pinned text, spotlight (which brings a particular
49
+ * peer to the center stage for everyone in the room) and more.
50
+ *
51
+ * On adding this event listener, Inside `onSessionStoreAvailableListener` function you will get an
52
+ * instance of `HMSSessionStore` class, then you can use this instance to "set" or "get" the value
53
+ * for a specific key on session store and listen for value change updates.
54
+ *
55
+ * Checkout Session Store docs fore more details ${@link https://www.100ms.live/docs/react-native/v2/how-to-guides/interact-with-room/room/session-store}
56
+ */
57
+ useHMSSessionStore();
58
+
59
+ // HMS Error Listener
60
+ useEffect(() => {
61
+ const hmsErrorHandler = error => {
62
+ setLoading(false);
63
+
64
+ // TODO: 424 error is not recoverable
65
+ // (Leave Meeting and Destroy Instance) ???
66
+ // Inform user with Alert or Error screen and send user back
67
+ if (error.code === 424) {
68
+ Alert.alert('Error', error.description || 'Something went wrong', [{
69
+ text: 'OK',
70
+ style: 'cancel',
71
+ onPress: () => {}
72
+ }]);
73
+ } else if (Platform.OS === 'android' ? error.code === 4005 || error.code === 1003 : error.code === 2000) {
74
+ // TODO: come up with Error Handle mechanism
75
+ // (Leave Meeting and Destroy Instance) ???
76
+ // Clear Redux Store?
77
+ // Inform user with Alert or Error screen and send user back (Navigation)
78
+ }
79
+ Toast.showWithGravity(`${error === null || error === void 0 ? void 0 : error.code} ${error === null || error === void 0 ? void 0 : error.description}` || 'Something went wrong', Toast.LONG, Toast.TOP);
80
+ };
81
+ hmsInstance.addEventListener(HMSUpdateListenerActions.ON_ERROR, hmsErrorHandler);
82
+ return () => {
83
+ hmsInstance.removeEventListener(HMSUpdateListenerActions.ON_ERROR);
84
+ };
85
+ }, [hmsInstance]);
86
+
87
+ // HMS Preview Listener
88
+ useEffect(() => {
89
+ const onPreviewHandler = data => {
90
+ console.log('ON_PREVIEW called');
91
+ batch(() => {
92
+ dispatch(setHMSRoomState(data.room));
93
+ dispatch(setHMSLocalPeerState(data.room.localPeer));
94
+ });
95
+ setLoading(false);
96
+ setMeetingState(MeetingState.IN_PREVIEW);
97
+ };
98
+ console.log('HMSUpdateListenerActions.ON_PREVIEW registered');
99
+ hmsInstance.addEventListener(HMSUpdateListenerActions.ON_PREVIEW, onPreviewHandler);
100
+ return () => {
101
+ console.log('HMSUpdateListenerActions.ON_PREVIEW removed');
102
+ hmsInstance.removeEventListener(HMSUpdateListenerActions.ON_PREVIEW);
103
+ };
104
+ }, [hmsInstance]);
105
+
106
+ // HMS Join Listener
107
+ useEffect(() => {
108
+ const onJoinHandler = data => {
109
+ clearConfig();
110
+ setLoading(false);
111
+ const localPeer = data.room.localPeer;
112
+ const peer = localPeer;
113
+ const track = localPeer.videoTrack;
114
+ batch(() => {
115
+ if (selectIsHLSViewer(localPeer)) {
116
+ dispatch({
117
+ type: 'SET_SHOW_CHAT_VIEW',
118
+ showChatView: true
119
+ });
120
+ }
121
+ dispatch(setHMSRoomState(data.room));
122
+ dispatch(setHMSLocalPeerState(data.room.localPeer));
123
+ });
124
+ setPeerTrackNodes(prevPeerTrackNodes => {
125
+ if (track && peerTrackNodeExistForPeerAndTrack(prevPeerTrackNodes, peer, track)) {
126
+ return replacePeerTrackNodesWithTrack(prevPeerTrackNodes, peer, track);
127
+ }
128
+ if (peerTrackNodeExistForPeer(prevPeerTrackNodes, peer)) {
129
+ return replacePeerTrackNodes(prevPeerTrackNodes, peer);
130
+ }
131
+ const hmsLocalPeer = createPeerTrackNode(peer, track);
132
+ return [hmsLocalPeer, ...prevPeerTrackNodes];
133
+ });
134
+ setMeetingState(MeetingState.IN_MEETING);
135
+ };
136
+ hmsInstance.addEventListener(HMSUpdateListenerActions.ON_JOIN, onJoinHandler);
137
+ return () => {
138
+ hmsInstance.removeEventListener(HMSUpdateListenerActions.ON_JOIN);
139
+ };
140
+ }, [hmsInstance]);
141
+ useEffect(() => {
142
+ if (!didInitMeetingAction.current) {
143
+ didInitMeetingAction.current = true;
144
+
145
+ // let ignore = false;
146
+
147
+ const handleMeetingPreviewOrJoin = async () => {
148
+ try {
149
+ if (getJoinConfig().skipPreview) {
150
+ joinMeeting();
151
+ } else {
152
+ previewMeeting();
153
+ }
154
+ } catch (error) {
155
+ // TODO: handle token error gracefully
156
+ console.warn('🚀 ~ file: HMSRoomSetup.tsx:119 ~ handleMeetingPreviewOrJoin ~ error:', error);
157
+ }
158
+ };
159
+ handleMeetingPreviewOrJoin();
160
+ return () => {
161
+ // ignore = true;
162
+ };
163
+ }
164
+ }, []);
165
+ useEffect(() => {
166
+ return () => {
167
+ // TODOS:
168
+ // - Check If we have already left meeting, or destroyed native HMSSDK
169
+ // - No need to reset redux state?
170
+ // - HMSInstance will be available till this point
171
+ // - If we have callback fn, call it
172
+ // - When we are navigated away from screen, HMSInstance will be not available
173
+ // - Otherwise
174
+ // - call leave method, if not called
175
+ // - call destroy method, if not called
176
+ // - Reset Redux States or No need?
177
+ // - If we have callback fn, call it
178
+ // - When we are navigated away from screen, HMSInstance will be not available
179
+ hmsInstance.leave().finally(() => {
180
+ hmsInstance.destroy();
181
+ dispatch(clearStore());
182
+ });
183
+ //dispatch(clearHmsReference());
184
+ // dispatch(clearMessageData());
185
+ // dispatch(clearPeerData());
186
+ };
187
+ }, [hmsInstance]);
188
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StatusBar, {
189
+ backgroundColor: COLORS.BACKGROUND.DIM,
190
+ barStyle: 'light-content'
191
+ }), meetingState === MeetingState.IN_PREVIEW ? /*#__PURE__*/React.createElement(Preview, {
192
+ join: joinMeeting,
193
+ loadingButtonState: loading
194
+ }) : meetingState === MeetingState.IN_MEETING ? /*#__PURE__*/React.createElement(Meeting, {
195
+ peerTrackNodes: peerTrackNodes
196
+ }) : loading ? /*#__PURE__*/React.createElement(FullScreenIndicator, null) : /*#__PURE__*/React.createElement(View, {
197
+ style: styles.container
198
+ }));
199
+ };
200
+ const styles = StyleSheet.create({
201
+ container: {
202
+ flex: 1,
203
+ backgroundColor: COLORS.BACKGROUND.DIM
204
+ }
205
+ });
206
+ //# sourceMappingURL=HMSRoomSetup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["HMSUpdateListenerActions","React","useCallback","useEffect","useRef","useState","Alert","Platform","StatusBar","StyleSheet","View","Toast","batch","useDispatch","Preview","clearStore","setHMSLocalPeerState","setHMSRoomState","createPeerTrackNode","Meeting","useHMSConfig","useHMSInstance","useHMSListeners","useHMSSessionStore","peerTrackNodeExistForPeerAndTrack","replacePeerTrackNodesWithTrack","replacePeerTrackNodes","peerTrackNodeExistForPeer","MeetingState","getJoinConfig","COLORS","FullScreenIndicator","selectIsHLSViewer","HMSRoomSetup","console","log","didInitMeetingAction","hmsInstance","dispatch","getConfig","clearConfig","meetingState","setMeetingState","NOT_JOINED","peerTrackNodes","setPeerTrackNodes","loading","setLoading","joinMeeting","hmsConfig","join","previewMeeting","preview","hmsErrorHandler","error","code","alert","description","text","style","onPress","OS","showWithGravity","LONG","TOP","addEventListener","ON_ERROR","removeEventListener","onPreviewHandler","data","room","localPeer","IN_PREVIEW","ON_PREVIEW","onJoinHandler","peer","track","videoTrack","type","showChatView","prevPeerTrackNodes","hmsLocalPeer","IN_MEETING","ON_JOIN","current","handleMeetingPreviewOrJoin","skipPreview","warn","leave","finally","destroy","createElement","Fragment","backgroundColor","BACKGROUND","DIM","barStyle","loadingButtonState","styles","container","create","flex"],"sourceRoot":"../../src","sources":["HMSRoomSetup.tsx"],"mappings":"AAAA,SAIEA,wBAAwB,QACnB,6BAA6B;AACpC,OAAOC,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACvE,SAASC,KAAK,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC3E,OAAOC,KAAK,MAAM,2BAA2B;AAC7C,SAASC,KAAK,EAAEC,WAAW,QAAQ,aAAa;AAEhD,SAASC,OAAO,QAAQ,cAAc;AACtC,SACEC,UAAU,EACVC,oBAAoB,EACpBC,eAAe,QACV,iBAAiB;AACxB,SAASC,mBAAmB,QAAQ,mBAAmB;AAEvD,SAASC,OA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;AAED,MAAMD,MAAM,GAAGzF,UAAU,CAAC2F,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACTE,IAAI,EAAE,CAAC;IACPR,eAAe,EAAE/D,MAAM,CAACgE,UAAU,CAACC;EACrC;AACF,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from 'react';
3
+ import { Image, StyleSheet } from 'react-native';
4
+ export const HmsLogoIcon = _ref => {
5
+ let {
6
+ style,
7
+ ...restProps
8
+ } = _ref;
9
+ return /*#__PURE__*/React.createElement(Image, _extends({
10
+ source: require('./assets/hms-logo.png'),
11
+ style: [styles.icon, style]
12
+ }, restProps));
13
+ };
14
+ const styles = StyleSheet.create({
15
+ icon: {
16
+ maxWidth: 100,
17
+ resizeMode: 'contain',
18
+ alignItems: 'center',
19
+ justifyContent: 'center'
20
+ }
21
+ });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Image","StyleSheet","HmsLogoIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","maxWidth","resizeMode","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/100ms/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,WAAuC,GAAGC,IAAA,IAGjD;EAAA,IAHkD;IACtDC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,uBAAuB,CAAE;IACzCL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,QAAQ,EAAE,GAAG;IACbC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React from 'react';
3
+ import { Image, StyleSheet } from 'react-native';
4
+ export const AlertIcon = _ref => {
5
+ let {
6
+ style,
7
+ ...restProps
8
+ } = _ref;
9
+ return /*#__PURE__*/React.createElement(Image, _extends({
10
+ source: require('./assets/alert.png'),
11
+ style: [styles.icon, style]
12
+ }, restProps));
13
+ };
14
+ const styles = StyleSheet.create({
15
+ icon: {
16
+ width: 24,
17
+ height: 24,
18
+ alignItems: 'center',
19
+ justifyContent: 'center'
20
+ }
21
+ });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Image","StyleSheet","AlertIcon","_ref","style","restProps","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Alert/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAKhD,OAAO,MAAMC,SAAmC,GAAGC,IAAA,IAG7C;EAAA,IAH8C;IAClDC,KAAK;IACL,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,oBACEJ,KAAA,CAAAO,aAAA,CAACN,KAAK,EAAAO,QAAA;IACJC,MAAM,EAAEC,OAAO,CAAC,oBAAoB,CAAE;IACtCL,KAAK,EAAE,CAACM,MAAM,CAACC,IAAI,EAAEP,KAAK;EAAE,GACxBC,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMK,MAAM,GAAGT,UAAU,CAACW,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}