@100mslive/react-native-room-kit 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (969) hide show
  1. package/README.md +1 -10
  2. package/lib/commonjs/HMSPrebuilt.js +6 -6
  3. package/lib/commonjs/HMSPrebuilt.js.map +1 -1
  4. package/lib/commonjs/HMSRoomSetup.js +27 -30
  5. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  6. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  7. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  8. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  9. package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
  10. package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
  11. package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
  12. package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  13. package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  14. package/lib/commonjs/Icons/Eye/index.js +35 -0
  15. package/lib/commonjs/Icons/Eye/index.js.map +1 -0
  16. package/lib/commonjs/Icons/Hamburger/assets/hamburger.png +0 -0
  17. package/lib/commonjs/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  18. package/lib/commonjs/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  19. package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
  20. package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
  21. package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
  22. package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
  23. package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
  24. package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
  25. package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
  26. package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
  27. package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
  28. package/lib/commonjs/Icons/Person/index.js +2 -1
  29. package/lib/commonjs/Icons/Person/index.js.map +1 -1
  30. package/lib/commonjs/Icons/Radio/assets/radio-xlarge.png +0 -0
  31. package/lib/commonjs/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  32. package/lib/commonjs/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  33. package/lib/commonjs/Icons/Radio/index.js +29 -1
  34. package/lib/commonjs/Icons/Radio/index.js.map +1 -1
  35. package/lib/commonjs/Icons/Search/assets/search.png +0 -0
  36. package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
  37. package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
  38. package/lib/commonjs/Icons/Search/index.js +34 -0
  39. package/lib/commonjs/Icons/Search/index.js.map +1 -0
  40. package/lib/commonjs/Icons/Stop/assets/stop.png +0 -0
  41. package/lib/commonjs/Icons/Stop/assets/stop@2x.png +0 -0
  42. package/lib/commonjs/Icons/Stop/assets/stop@3x.png +0 -0
  43. package/lib/commonjs/Icons/Stop/index.js.map +1 -1
  44. package/lib/commonjs/Icons/index.js +22 -0
  45. package/lib/commonjs/Icons/index.js.map +1 -1
  46. package/lib/commonjs/assets/audio-level-white.json +1271 -0
  47. package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
  48. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  49. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  50. package/lib/commonjs/assets/welcome.png +0 -0
  51. package/lib/commonjs/components/AnimatedFooter.js +35 -0
  52. package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
  53. package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
  54. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
  55. package/lib/commonjs/components/AnimatedHeader.js +44 -0
  56. package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
  57. package/lib/commonjs/components/BottomSheet.js +6 -3
  58. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  59. package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
  60. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  61. package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
  62. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  63. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
  64. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  65. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
  66. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  67. package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
  68. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
  69. package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
  70. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
  71. package/lib/commonjs/components/Chat/ChatList.js +6 -6
  72. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  73. package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
  74. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  75. package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
  76. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
  77. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
  78. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  79. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
  80. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  81. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
  82. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  83. package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
  84. package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
  85. package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
  86. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  87. package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
  88. package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
  89. package/lib/commonjs/components/CompanyLogo.js +5 -4
  90. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  91. package/lib/commonjs/components/DefaultModal.js +2 -6
  92. package/lib/commonjs/components/DefaultModal.js.map +1 -1
  93. package/lib/commonjs/components/DisplayView.js +9 -21
  94. package/lib/commonjs/components/DisplayView.js.map +1 -1
  95. package/lib/commonjs/components/EndRoomModalContent.js +20 -6
  96. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  97. package/lib/commonjs/components/Footer.js +41 -27
  98. package/lib/commonjs/components/Footer.js.map +1 -1
  99. package/lib/commonjs/components/FullScreenVideoView.js +74 -0
  100. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
  101. package/lib/commonjs/components/GridView.js +129 -48
  102. package/lib/commonjs/components/GridView.js.map +1 -1
  103. package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
  104. package/lib/commonjs/components/HLSFooter.js.map +1 -0
  105. package/lib/commonjs/components/HLSView.js +10 -22
  106. package/lib/commonjs/components/HLSView.js.map +1 -1
  107. package/lib/commonjs/components/HMSChat.js +15 -14
  108. package/lib/commonjs/components/HMSChat.js.map +1 -1
  109. package/lib/commonjs/components/HMSHLSMessage.js +67 -0
  110. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
  111. package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
  112. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
  113. package/lib/commonjs/components/HMSHLSNotStarted.js +27 -24
  114. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  115. package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
  116. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
  117. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
  118. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
  119. package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
  120. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
  121. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
  122. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
  123. package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
  124. package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
  125. package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
  126. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  127. package/lib/commonjs/components/HMSManageLeave.js +47 -37
  128. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  129. package/lib/commonjs/components/HMSManageRaiseHand.js +2 -15
  130. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
  131. package/lib/commonjs/components/HMSNotification.js +96 -0
  132. package/lib/commonjs/components/HMSNotification.js.map +1 -0
  133. package/lib/commonjs/components/HMSNotifications.js +114 -0
  134. package/lib/commonjs/components/HMSNotifications.js.map +1 -0
  135. package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
  136. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
  137. package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
  138. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  139. package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
  140. package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
  141. package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
  142. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  143. package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
  144. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  145. package/lib/commonjs/components/HMSRecordingIndicator.js +7 -3
  146. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  147. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
  148. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  149. package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
  150. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
  151. package/lib/commonjs/components/HMSTextInput.js +98 -12
  152. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  153. package/lib/commonjs/components/HMSVideoView.js +43 -0
  154. package/lib/commonjs/components/HMSVideoView.js.map +1 -0
  155. package/lib/commonjs/components/Header.js +19 -123
  156. package/lib/commonjs/components/Header.js.map +1 -1
  157. package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
  158. package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
  159. package/lib/commonjs/components/Meeting.js +7 -5
  160. package/lib/commonjs/components/Meeting.js.map +1 -1
  161. package/lib/commonjs/components/MeetingScreenContent.js +23 -9
  162. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  163. package/lib/commonjs/components/MenuModal/Menu.js +2 -2
  164. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
  165. package/lib/commonjs/components/MiniView.js +8 -3
  166. package/lib/commonjs/components/MiniView.js.map +1 -1
  167. package/lib/commonjs/components/Modals.js +88 -317
  168. package/lib/commonjs/components/Modals.js.map +1 -1
  169. package/lib/commonjs/components/OverlayContainer.js +41 -0
  170. package/lib/commonjs/components/OverlayContainer.js.map +1 -0
  171. package/lib/commonjs/components/OverlayedViews.js +22 -0
  172. package/lib/commonjs/components/OverlayedViews.js.map +1 -0
  173. package/lib/commonjs/components/PaginationDots.js +4 -4
  174. package/lib/commonjs/components/PaginationDots.js.map +1 -1
  175. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
  176. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  177. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
  178. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  179. package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
  180. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
  181. package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
  182. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
  183. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
  184. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
  185. package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
  186. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  187. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
  188. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  189. package/lib/commonjs/components/Participants/index.js +0 -33
  190. package/lib/commonjs/components/Participants/index.js.map +1 -1
  191. package/lib/commonjs/components/PeerMinimizedView.js +1 -1
  192. package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
  193. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  194. package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
  195. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  196. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
  197. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  198. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
  199. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  200. package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
  201. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  202. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
  203. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  204. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
  205. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  206. package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
  207. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  208. package/lib/commonjs/components/PressableIcon.js +10 -5
  209. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  210. package/lib/commonjs/components/Preview.js +5 -14
  211. package/lib/commonjs/components/Preview.js.map +1 -1
  212. package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
  213. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
  214. package/lib/commonjs/components/ReconnectionView.js +66 -0
  215. package/lib/commonjs/components/ReconnectionView.js.map +1 -0
  216. package/lib/commonjs/components/RoomSettingsModalContent.js +25 -33
  217. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  218. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
  219. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  220. package/lib/commonjs/components/StatusBar.js +7 -5
  221. package/lib/commonjs/components/StatusBar.js.map +1 -1
  222. package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
  223. package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
  224. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
  225. package/lib/commonjs/components/TilesContainer.js +31 -9
  226. package/lib/commonjs/components/TilesContainer.js.map +1 -1
  227. package/lib/commonjs/components/WebrtcView.js +11 -14
  228. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  229. package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
  230. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  231. package/lib/commonjs/components/index.js +0 -33
  232. package/lib/commonjs/components/index.js.map +1 -1
  233. package/lib/commonjs/hooks-util-selectors.js +43 -9
  234. package/lib/commonjs/hooks-util-selectors.js.map +1 -1
  235. package/lib/commonjs/hooks-util.js +619 -213
  236. package/lib/commonjs/hooks-util.js.map +1 -1
  237. package/lib/commonjs/modules/HMSManager.js +3 -3
  238. package/lib/commonjs/modules/HMSManager.js.map +1 -1
  239. package/lib/commonjs/modules/parser.js +2 -3
  240. package/lib/commonjs/modules/parser.js.map +1 -1
  241. package/lib/commonjs/redux/actionTypes.js +25 -1
  242. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  243. package/lib/commonjs/redux/actions/index.js +90 -1
  244. package/lib/commonjs/redux/actions/index.js.map +1 -1
  245. package/lib/commonjs/redux/reducers/appState.js +77 -2
  246. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  247. package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
  248. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
  249. package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
  250. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
  251. package/lib/commonjs/utils/functions.js +11 -4
  252. package/lib/commonjs/utils/functions.js.map +1 -1
  253. package/lib/commonjs/utils/theme.js +2 -0
  254. package/lib/commonjs/utils/theme.js.map +1 -1
  255. package/lib/commonjs/utils/types.js +9 -3
  256. package/lib/commonjs/utils/types.js.map +1 -1
  257. package/lib/commonjs/utils.js +8 -1
  258. package/lib/commonjs/utils.js.map +1 -1
  259. package/lib/module/HMSPrebuilt.js +6 -6
  260. package/lib/module/HMSPrebuilt.js.map +1 -1
  261. package/lib/module/HMSRoomSetup.js +29 -32
  262. package/lib/module/HMSRoomSetup.js.map +1 -1
  263. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  264. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  265. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  266. package/lib/module/Icons/AlertTriangle/index.js +2 -1
  267. package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
  268. package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
  269. package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  270. package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  271. package/lib/module/Icons/Eye/index.js +27 -0
  272. package/lib/module/Icons/Eye/index.js.map +1 -0
  273. package/lib/module/Icons/Hamburger/assets/hamburger.png +0 -0
  274. package/lib/module/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  275. package/lib/module/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  276. package/lib/module/Icons/Person/assets/person-left.png +0 -0
  277. package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
  278. package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
  279. package/lib/module/Icons/Person/assets/person-off.png +0 -0
  280. package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
  281. package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
  282. package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
  283. package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
  284. package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
  285. package/lib/module/Icons/Person/index.js +2 -1
  286. package/lib/module/Icons/Person/index.js.map +1 -1
  287. package/lib/module/Icons/Radio/assets/radio-xlarge.png +0 -0
  288. package/lib/module/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  289. package/lib/module/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  290. package/lib/module/Icons/Radio/index.js +30 -2
  291. package/lib/module/Icons/Radio/index.js.map +1 -1
  292. package/lib/module/Icons/Search/assets/search.png +0 -0
  293. package/lib/module/Icons/Search/assets/search@2x.png +0 -0
  294. package/lib/module/Icons/Search/assets/search@3x.png +0 -0
  295. package/lib/module/Icons/Search/index.js +26 -0
  296. package/lib/module/Icons/Search/index.js.map +1 -0
  297. package/lib/module/Icons/Stop/assets/stop.png +0 -0
  298. package/lib/module/Icons/Stop/assets/stop@2x.png +0 -0
  299. package/lib/module/Icons/Stop/assets/stop@3x.png +0 -0
  300. package/lib/module/Icons/Stop/index.js.map +1 -1
  301. package/lib/module/Icons/index.js +2 -0
  302. package/lib/module/Icons/index.js.map +1 -1
  303. package/lib/module/assets/audio-level-white.json +1271 -0
  304. package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
  305. package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  306. package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  307. package/lib/module/assets/welcome.png +0 -0
  308. package/lib/module/components/AnimatedFooter.js +26 -0
  309. package/lib/module/components/AnimatedFooter.js.map +1 -0
  310. package/lib/module/components/AnimatedHLSFooter.js +27 -0
  311. package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
  312. package/lib/module/components/AnimatedHeader.js +35 -0
  313. package/lib/module/components/AnimatedHeader.js.map +1 -0
  314. package/lib/module/components/BottomSheet.js +6 -3
  315. package/lib/module/components/BottomSheet.js.map +1 -1
  316. package/lib/module/components/ChangeNameModalContent.js +2 -14
  317. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  318. package/lib/module/components/Chat/ChatBanner.js +36 -55
  319. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  320. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
  321. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  322. package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
  323. package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  324. package/lib/module/components/Chat/ChatFilterItem.js +62 -0
  325. package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
  326. package/lib/module/components/Chat/ChatFilterView.js +189 -0
  327. package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
  328. package/lib/module/components/Chat/ChatList.js +6 -6
  329. package/lib/module/components/Chat/ChatList.js.map +1 -1
  330. package/lib/module/components/Chat/ChatMessage.js +36 -135
  331. package/lib/module/components/Chat/ChatMessage.js.map +1 -1
  332. package/lib/module/components/Chat/PinnedMessage.js +40 -43
  333. package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
  334. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
  335. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  336. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
  337. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  338. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
  339. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  340. package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
  341. package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
  342. package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
  343. package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  344. package/lib/module/components/ChatAndParticipants/index.js +2 -0
  345. package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
  346. package/lib/module/components/CompanyLogo.js +5 -4
  347. package/lib/module/components/CompanyLogo.js.map +1 -1
  348. package/lib/module/components/DefaultModal.js +2 -6
  349. package/lib/module/components/DefaultModal.js.map +1 -1
  350. package/lib/module/components/DisplayView.js +10 -22
  351. package/lib/module/components/DisplayView.js.map +1 -1
  352. package/lib/module/components/EndRoomModalContent.js +20 -6
  353. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  354. package/lib/module/components/Footer.js +43 -29
  355. package/lib/module/components/Footer.js.map +1 -1
  356. package/lib/module/components/FullScreenVideoView.js +64 -0
  357. package/lib/module/components/FullScreenVideoView.js.map +1 -0
  358. package/lib/module/components/GridView.js +130 -49
  359. package/lib/module/components/GridView.js.map +1 -1
  360. package/lib/module/components/HLSFooter.js +26 -0
  361. package/lib/module/components/HLSFooter.js.map +1 -0
  362. package/lib/module/components/HLSView.js +11 -23
  363. package/lib/module/components/HLSView.js.map +1 -1
  364. package/lib/module/components/HMSChat.js +16 -15
  365. package/lib/module/components/HMSChat.js.map +1 -1
  366. package/lib/module/components/HMSHLSMessage.js +58 -0
  367. package/lib/module/components/HMSHLSMessage.js.map +1 -0
  368. package/lib/module/components/HMSHLSMessageList.js +49 -0
  369. package/lib/module/components/HMSHLSMessageList.js.map +1 -0
  370. package/lib/module/components/HMSHLSNotStarted.js +29 -26
  371. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  372. package/lib/module/components/HMSHandRaiseNotification.js +75 -0
  373. package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
  374. package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
  375. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
  376. package/lib/module/components/HMSLiveIndicator.js +96 -0
  377. package/lib/module/components/HMSLiveIndicator.js.map +1 -0
  378. package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
  379. package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
  380. package/lib/module/components/HMSLocalVideoView.js +4 -23
  381. package/lib/module/components/HMSLocalVideoView.js.map +1 -1
  382. package/lib/module/components/HMSManageAudioOutput.js +8 -2
  383. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  384. package/lib/module/components/HMSManageLeave.js +49 -39
  385. package/lib/module/components/HMSManageLeave.js.map +1 -1
  386. package/lib/module/components/HMSManageRaiseHand.js +2 -15
  387. package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
  388. package/lib/module/components/HMSNotification.js +87 -0
  389. package/lib/module/components/HMSNotification.js.map +1 -0
  390. package/lib/module/components/HMSNotifications.js +105 -0
  391. package/lib/module/components/HMSNotifications.js.map +1 -0
  392. package/lib/module/components/HMSOverlayChatView.js +20 -0
  393. package/lib/module/components/HMSOverlayChatView.js.map +1 -0
  394. package/lib/module/components/HMSPreviewJoinButton.js +2 -3
  395. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
  396. package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
  397. package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
  398. package/lib/module/components/HMSPreviewSubtitle.js +2 -4
  399. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  400. package/lib/module/components/HMSPreviewTitle.js +2 -4
  401. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  402. package/lib/module/components/HMSRecordingIndicator.js +7 -3
  403. package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
  404. package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
  405. package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  406. package/lib/module/components/HMSSendMessageInput.js +48 -0
  407. package/lib/module/components/HMSSendMessageInput.js.map +1 -0
  408. package/lib/module/components/HMSTextInput.js +99 -13
  409. package/lib/module/components/HMSTextInput.js.map +1 -1
  410. package/lib/module/components/HMSVideoView.js +34 -0
  411. package/lib/module/components/HMSVideoView.js.map +1 -0
  412. package/lib/module/components/Header.js +18 -123
  413. package/lib/module/components/Header.js.map +1 -1
  414. package/lib/module/components/LocalPeerScreenshareView.js +1 -6
  415. package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
  416. package/lib/module/components/Meeting.js +9 -7
  417. package/lib/module/components/Meeting.js.map +1 -1
  418. package/lib/module/components/MeetingScreenContent.js +25 -11
  419. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  420. package/lib/module/components/MenuModal/Menu.js +2 -2
  421. package/lib/module/components/MenuModal/Menu.js.map +1 -1
  422. package/lib/module/components/MiniView.js +8 -3
  423. package/lib/module/components/MiniView.js.map +1 -1
  424. package/lib/module/components/Modals.js +88 -313
  425. package/lib/module/components/Modals.js.map +1 -1
  426. package/lib/module/components/OverlayContainer.js +32 -0
  427. package/lib/module/components/OverlayContainer.js.map +1 -0
  428. package/lib/module/components/OverlayedViews.js +13 -0
  429. package/lib/module/components/OverlayedViews.js.map +1 -0
  430. package/lib/module/components/PaginationDots.js +4 -4
  431. package/lib/module/components/PaginationDots.js.map +1 -1
  432. package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
  433. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  434. package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
  435. package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  436. package/lib/module/components/Participants/ParticipantsItem.js +123 -0
  437. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
  438. package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
  439. package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
  440. package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
  441. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
  442. package/lib/module/components/Participants/ParticipantsList.js +42 -225
  443. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  444. package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
  445. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
  446. package/lib/module/components/Participants/index.js +0 -3
  447. package/lib/module/components/Participants/index.js.map +1 -1
  448. package/lib/module/components/PeerMinimizedView.js +1 -1
  449. package/lib/module/components/PeerSettingsModalContent.js +50 -126
  450. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  451. package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
  452. package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
  453. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
  454. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  455. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
  456. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  457. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
  458. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  459. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
  460. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  461. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
  462. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  463. package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
  464. package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
  465. package/lib/module/components/PressableIcon.js +11 -6
  466. package/lib/module/components/PressableIcon.js.map +1 -1
  467. package/lib/module/components/Preview.js +6 -13
  468. package/lib/module/components/Preview.js.map +1 -1
  469. package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
  470. package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
  471. package/lib/module/components/ReconnectionView.js +56 -0
  472. package/lib/module/components/ReconnectionView.js.map +1 -0
  473. package/lib/module/components/RoomSettingsModalContent.js +27 -35
  474. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  475. package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
  476. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  477. package/lib/module/components/StatusBar.js +7 -5
  478. package/lib/module/components/StatusBar.js.map +1 -1
  479. package/lib/module/components/StopRecordingModalContent.js.map +1 -1
  480. package/lib/module/components/StreamingQualityModalContent.js +8 -8
  481. package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
  482. package/lib/module/components/TilesContainer.js +31 -9
  483. package/lib/module/components/TilesContainer.js.map +1 -1
  484. package/lib/module/components/WebrtcView.js +11 -14
  485. package/lib/module/components/WebrtcView.js.map +1 -1
  486. package/lib/module/components/WelcomeInMeeting.js +8 -32
  487. package/lib/module/components/WelcomeInMeeting.js.map +1 -1
  488. package/lib/module/components/index.js +0 -3
  489. package/lib/module/components/index.js.map +1 -1
  490. package/lib/module/hooks-util-selectors.js +38 -8
  491. package/lib/module/hooks-util-selectors.js.map +1 -1
  492. package/lib/module/hooks-util.js +615 -213
  493. package/lib/module/hooks-util.js.map +1 -1
  494. package/lib/module/modules/HMSManager.js +3 -3
  495. package/lib/module/modules/HMSManager.js.map +1 -1
  496. package/lib/module/modules/parser.js +2 -3
  497. package/lib/module/modules/parser.js.map +1 -1
  498. package/lib/module/redux/actionTypes.js +25 -1
  499. package/lib/module/redux/actionTypes.js.map +1 -1
  500. package/lib/module/redux/actions/index.js +74 -0
  501. package/lib/module/redux/actions/index.js.map +1 -1
  502. package/lib/module/redux/reducers/appState.js +78 -2
  503. package/lib/module/redux/reducers/appState.js.map +1 -1
  504. package/lib/module/redux/reducers/chatWindow.js +3 -7
  505. package/lib/module/redux/reducers/chatWindow.js.map +1 -1
  506. package/lib/module/redux/reducers/hmsStates.js +70 -7
  507. package/lib/module/redux/reducers/hmsStates.js.map +1 -1
  508. package/lib/module/utils/functions.js +9 -3
  509. package/lib/module/utils/functions.js.map +1 -1
  510. package/lib/module/utils/theme.js +2 -0
  511. package/lib/module/utils/theme.js.map +1 -1
  512. package/lib/module/utils/types.js +6 -2
  513. package/lib/module/utils/types.js.map +1 -1
  514. package/lib/module/utils.js +6 -0
  515. package/lib/module/utils.js.map +1 -1
  516. package/lib/typescript/HMSPrebuilt.d.ts +1 -0
  517. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
  518. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
  519. package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
  520. package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
  521. package/lib/typescript/Icons/Eye/index.d.ts +8 -0
  522. package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
  523. package/lib/typescript/Icons/Person/index.d.ts +1 -0
  524. package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
  525. package/lib/typescript/Icons/Radio/index.d.ts +7 -3
  526. package/lib/typescript/Icons/Radio/index.d.ts.map +1 -1
  527. package/lib/typescript/Icons/Search/index.d.ts +7 -0
  528. package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
  529. package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
  530. package/lib/typescript/Icons/index.d.ts +2 -0
  531. package/lib/typescript/Icons/index.d.ts.map +1 -1
  532. package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
  533. package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
  534. package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
  535. package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
  536. package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
  537. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
  538. package/lib/typescript/components/BottomSheet.d.ts +4 -1
  539. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  540. package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
  541. package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
  542. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
  543. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
  544. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
  545. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
  546. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
  547. package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
  548. package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
  549. package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
  550. package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
  551. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  552. package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
  553. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
  554. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
  555. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
  556. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
  557. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
  558. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
  559. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
  560. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
  561. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
  562. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
  563. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
  564. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
  565. package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
  566. package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
  567. package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
  568. package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
  569. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  570. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  571. package/lib/typescript/components/Footer.d.ts +0 -2
  572. package/lib/typescript/components/Footer.d.ts.map +1 -1
  573. package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
  574. package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
  575. package/lib/typescript/components/GridView.d.ts +12 -1
  576. package/lib/typescript/components/GridView.d.ts.map +1 -1
  577. package/lib/typescript/components/HLSFooter.d.ts +8 -0
  578. package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
  579. package/lib/typescript/components/HLSView.d.ts.map +1 -1
  580. package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
  581. package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
  582. package/lib/typescript/components/HMSChat.d.ts.map +1 -1
  583. package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
  584. package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
  585. package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
  586. package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
  587. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  588. package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
  589. package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
  590. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
  591. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
  592. package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
  593. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
  594. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
  595. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
  596. package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
  597. package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
  598. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
  599. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
  600. package/lib/typescript/components/HMSNotification.d.ts +15 -0
  601. package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
  602. package/lib/typescript/components/HMSNotifications.d.ts +5 -0
  603. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
  604. package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
  605. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
  606. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
  607. package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
  608. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
  609. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
  610. package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
  611. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
  612. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
  613. package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
  614. package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
  615. package/lib/typescript/components/HMSTextInput.d.ts +20 -6
  616. package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
  617. package/lib/typescript/components/HMSVideoView.d.ts +6 -0
  618. package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
  619. package/lib/typescript/components/Header.d.ts +3 -2
  620. package/lib/typescript/components/Header.d.ts.map +1 -1
  621. package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
  622. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  623. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  624. package/lib/typescript/components/MiniView.d.ts.map +1 -1
  625. package/lib/typescript/components/Modals.d.ts +1 -21
  626. package/lib/typescript/components/Modals.d.ts.map +1 -1
  627. package/lib/typescript/components/OverlayContainer.d.ts +9 -0
  628. package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
  629. package/lib/typescript/components/OverlayedViews.d.ts +4 -0
  630. package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
  631. package/lib/typescript/components/PaginationDots.d.ts +3 -0
  632. package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
  633. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
  634. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
  635. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
  636. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
  637. package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
  638. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
  639. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
  640. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
  641. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
  642. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
  643. package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
  644. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  645. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
  646. package/lib/typescript/components/Participants/index.d.ts +0 -3
  647. package/lib/typescript/components/Participants/index.d.ts.map +1 -1
  648. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  649. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
  650. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
  651. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
  652. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
  653. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
  654. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
  655. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
  656. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
  657. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  658. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
  659. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  660. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
  661. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
  662. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  663. package/lib/typescript/components/Preview.d.ts.map +1 -1
  664. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
  665. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
  666. package/lib/typescript/components/ReconnectionView.d.ts +4 -0
  667. package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
  668. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  669. package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
  670. package/lib/typescript/components/StatusBar.d.ts +2 -1
  671. package/lib/typescript/components/StatusBar.d.ts.map +1 -1
  672. package/lib/typescript/components/StopRecordingModalContent.d.ts.map +1 -1
  673. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
  674. package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
  675. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  676. package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
  677. package/lib/typescript/components/index.d.ts +0 -3
  678. package/lib/typescript/components/index.d.ts.map +1 -1
  679. package/lib/typescript/hooks-util-selectors.d.ts +7 -2
  680. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
  681. package/lib/typescript/hooks-util.d.ts +53 -23
  682. package/lib/typescript/hooks-util.d.ts.map +1 -1
  683. package/lib/typescript/modules/HMSManager.d.ts +1 -1
  684. package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
  685. package/lib/typescript/modules/parser.d.ts +1 -1
  686. package/lib/typescript/modules/parser.d.ts.map +1 -1
  687. package/lib/typescript/redux/actionTypes.d.ts +16 -1
  688. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  689. package/lib/typescript/redux/actions/index.d.ts +92 -4
  690. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  691. package/lib/typescript/redux/index.d.ts +22 -2
  692. package/lib/typescript/redux/index.d.ts.map +1 -1
  693. package/lib/typescript/redux/reducers/appState.d.ts +10 -0
  694. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  695. package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
  696. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
  697. package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
  698. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
  699. package/lib/typescript/redux/reducers/index.d.ts +22 -2
  700. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  701. package/lib/typescript/redux/reducers/userState.d.ts +1 -0
  702. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
  703. package/lib/typescript/utils/functions.d.ts +3 -1
  704. package/lib/typescript/utils/functions.d.ts.map +1 -1
  705. package/lib/typescript/utils/theme.d.ts +1 -1
  706. package/lib/typescript/utils/theme.d.ts.map +1 -1
  707. package/lib/typescript/utils/types.d.ts +6 -2
  708. package/lib/typescript/utils/types.d.ts.map +1 -1
  709. package/lib/typescript/utils.d.ts +5 -0
  710. package/lib/typescript/utils.d.ts.map +1 -1
  711. package/package.json +13 -8
  712. package/src/HMSPrebuilt.tsx +10 -10
  713. package/src/HMSRoomSetup.tsx +50 -28
  714. package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  715. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  716. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  717. package/src/Icons/AlertTriangle/index.tsx +9 -2
  718. package/src/Icons/Eye/assets/eye-on-small.png +0 -0
  719. package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  720. package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  721. package/src/Icons/Eye/index.tsx +36 -0
  722. package/src/Icons/Hamburger/assets/hamburger.png +0 -0
  723. package/src/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  724. package/src/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  725. package/src/Icons/Person/assets/person-left.png +0 -0
  726. package/src/Icons/Person/assets/person-left@2x.png +0 -0
  727. package/src/Icons/Person/assets/person-left@3x.png +0 -0
  728. package/src/Icons/Person/assets/person-off.png +0 -0
  729. package/src/Icons/Person/assets/person-off@2x.png +0 -0
  730. package/src/Icons/Person/assets/person-off@3x.png +0 -0
  731. package/src/Icons/Person/assets/person-rectangle.png +0 -0
  732. package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
  733. package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
  734. package/src/Icons/Person/index.tsx +13 -2
  735. package/src/Icons/Radio/assets/radio-xlarge.png +0 -0
  736. package/src/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  737. package/src/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  738. package/src/Icons/Radio/index.tsx +53 -4
  739. package/src/Icons/Search/assets/search.png +0 -0
  740. package/src/Icons/Search/assets/search@2x.png +0 -0
  741. package/src/Icons/Search/assets/search@3x.png +0 -0
  742. package/src/Icons/Search/index.tsx +33 -0
  743. package/src/Icons/Stop/assets/stop.png +0 -0
  744. package/src/Icons/Stop/assets/stop@2x.png +0 -0
  745. package/src/Icons/Stop/assets/stop@3x.png +0 -0
  746. package/src/Icons/Stop/index.tsx +1 -4
  747. package/src/Icons/index.ts +2 -0
  748. package/src/assets/audio-level-white.json +1271 -0
  749. package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
  750. package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  751. package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  752. package/src/assets/welcome.png +0 -0
  753. package/src/components/AnimatedFooter.tsx +37 -0
  754. package/src/components/AnimatedHLSFooter.tsx +43 -0
  755. package/src/components/AnimatedHeader.tsx +53 -0
  756. package/src/components/BottomSheet.tsx +8 -4
  757. package/src/components/ChangeNameModalContent.tsx +2 -11
  758. package/src/components/Chat/ChatBanner.tsx +37 -52
  759. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
  760. package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
  761. package/src/components/Chat/ChatFilterItem.tsx +71 -0
  762. package/src/components/Chat/ChatFilterView.tsx +250 -0
  763. package/src/components/Chat/ChatList.tsx +16 -12
  764. package/src/components/Chat/ChatMessage.tsx +48 -197
  765. package/src/components/Chat/PinnedMessage.tsx +45 -45
  766. package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
  767. package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
  768. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
  769. package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
  770. package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
  771. package/src/components/ChatAndParticipants/index.ts +1 -0
  772. package/src/components/CompanyLogo.tsx +4 -3
  773. package/src/components/DefaultModal.tsx +4 -6
  774. package/src/components/DisplayView.tsx +11 -28
  775. package/src/components/EndRoomModalContent.tsx +32 -7
  776. package/src/components/Footer.tsx +76 -36
  777. package/src/components/FullScreenVideoView.tsx +77 -0
  778. package/src/components/GridView.tsx +186 -65
  779. package/src/components/HLSFooter.tsx +32 -0
  780. package/src/components/HLSView.tsx +6 -33
  781. package/src/components/HMSBaseButton.tsx +2 -2
  782. package/src/components/HMSChat.tsx +12 -25
  783. package/src/components/HMSHLSMessage.tsx +72 -0
  784. package/src/components/HMSHLSMessageList.tsx +60 -0
  785. package/src/components/HMSHLSNotStarted.tsx +27 -32
  786. package/src/components/HMSHandRaiseNotification.tsx +101 -0
  787. package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
  788. package/src/components/HMSLiveIndicator.tsx +124 -0
  789. package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
  790. package/src/components/HMSLocalVideoView.tsx +4 -31
  791. package/src/components/HMSManageAudioOutput.tsx +14 -2
  792. package/src/components/HMSManageLeave.tsx +56 -35
  793. package/src/components/HMSManageRaiseHand.tsx +2 -16
  794. package/src/components/HMSNotification.tsx +126 -0
  795. package/src/components/HMSNotifications.tsx +154 -0
  796. package/src/components/HMSOverlayChatView.tsx +36 -0
  797. package/src/components/HMSPreviewJoinButton.tsx +6 -3
  798. package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
  799. package/src/components/HMSPreviewSubtitle.tsx +2 -6
  800. package/src/components/HMSPreviewTitle.tsx +2 -6
  801. package/src/components/HMSRecordingIndicator.tsx +18 -5
  802. package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
  803. package/src/components/HMSSendMessageInput.tsx +59 -0
  804. package/src/components/HMSTextInput.tsx +157 -23
  805. package/src/components/HMSVideoView.tsx +43 -0
  806. package/src/components/Header.tsx +28 -136
  807. package/src/components/LocalPeerScreenshareView.tsx +0 -6
  808. package/src/components/Meeting.tsx +15 -8
  809. package/src/components/MeetingScreenContent.tsx +29 -12
  810. package/src/components/MiniView.tsx +10 -4
  811. package/src/components/Modals.tsx +112 -370
  812. package/src/components/OverlayContainer.tsx +31 -0
  813. package/src/components/OverlayedViews.tsx +22 -0
  814. package/src/components/PaginationDots.tsx +9 -8
  815. package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
  816. package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
  817. package/src/components/Participants/ParticipantsItem.tsx +170 -0
  818. package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
  819. package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
  820. package/src/components/Participants/ParticipantsList.tsx +68 -278
  821. package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
  822. package/src/components/Participants/index.ts +0 -3
  823. package/src/components/PeerMinimizedView.tsx +1 -1
  824. package/src/components/PeerSettingsModalContent.tsx +44 -191
  825. package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
  826. package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
  827. package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
  828. package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
  829. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
  830. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
  831. package/src/components/PeerVideoTile/VideoView.tsx +59 -9
  832. package/src/components/PressableIcon.tsx +26 -13
  833. package/src/components/Preview.tsx +17 -24
  834. package/src/components/PreviewForRoleChangeModal.tsx +448 -0
  835. package/src/components/ReconnectionView.tsx +73 -0
  836. package/src/components/RoomSettingsModalContent.tsx +32 -29
  837. package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
  838. package/src/components/StatusBar.tsx +6 -4
  839. package/src/components/StopRecordingModalContent.tsx +3 -1
  840. package/src/components/StreamingQualityModalContent.tsx +8 -8
  841. package/src/components/TilesContainer.tsx +54 -24
  842. package/src/components/WebrtcView.tsx +29 -19
  843. package/src/components/WelcomeInMeeting.tsx +5 -34
  844. package/src/components/index.ts +0 -3
  845. package/src/hooks-util-selectors.tsx +69 -6
  846. package/src/hooks-util.ts +856 -273
  847. package/src/modules/HMSManager.ts +3 -3
  848. package/src/modules/parser.ts +3 -4
  849. package/src/redux/actionTypes.ts +33 -0
  850. package/src/redux/actions/index.ts +99 -2
  851. package/src/redux/reducers/appState.ts +87 -2
  852. package/src/redux/reducers/chatWindow.ts +12 -5
  853. package/src/redux/reducers/hmsStates.ts +136 -4
  854. package/src/redux/reducers/userState.ts +1 -1
  855. package/src/utils/functions.ts +10 -1
  856. package/src/utils/theme.ts +3 -1
  857. package/src/utils/types.ts +6 -2
  858. package/src/utils.ts +6 -0
  859. package/lib/commonjs/assets/100ms-logo.png +0 -0
  860. package/lib/commonjs/assets/brb.png +0 -0
  861. package/lib/commonjs/assets/icon.png +0 -0
  862. package/lib/commonjs/assets/illustration.png +0 -0
  863. package/lib/commonjs/assets/network_0.png +0 -0
  864. package/lib/commonjs/assets/network_1.png +0 -0
  865. package/lib/commonjs/assets/network_2.png +0 -0
  866. package/lib/commonjs/assets/network_3.png +0 -0
  867. package/lib/commonjs/assets/network_4.png +0 -0
  868. package/lib/commonjs/assets/user_music.png +0 -0
  869. package/lib/commonjs/components/ChatWindow.js +0 -608
  870. package/lib/commonjs/components/ChatWindow.js.map +0 -1
  871. package/lib/commonjs/components/CustomInput.js +0 -89
  872. package/lib/commonjs/components/CustomInput.js.map +0 -1
  873. package/lib/commonjs/components/DisplayTrack.js +0 -70
  874. package/lib/commonjs/components/DisplayTrack.js.map +0 -1
  875. package/lib/commonjs/components/HMSShareScreen.js +0 -59
  876. package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
  877. package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
  878. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
  879. package/lib/commonjs/components/LiveButton.js +0 -70
  880. package/lib/commonjs/components/LiveButton.js.map +0 -1
  881. package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
  882. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
  883. package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
  884. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
  885. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
  886. package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
  887. package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  888. package/lib/commonjs/components/Picker.js +0 -93
  889. package/lib/commonjs/components/Picker.js.map +0 -1
  890. package/lib/module/assets/100ms-logo.png +0 -0
  891. package/lib/module/assets/brb.png +0 -0
  892. package/lib/module/assets/icon.png +0 -0
  893. package/lib/module/assets/illustration.png +0 -0
  894. package/lib/module/assets/network_0.png +0 -0
  895. package/lib/module/assets/network_1.png +0 -0
  896. package/lib/module/assets/network_2.png +0 -0
  897. package/lib/module/assets/network_3.png +0 -0
  898. package/lib/module/assets/network_4.png +0 -0
  899. package/lib/module/assets/user_music.png +0 -0
  900. package/lib/module/components/ChatWindow.js +0 -595
  901. package/lib/module/components/ChatWindow.js.map +0 -1
  902. package/lib/module/components/CustomInput.js +0 -82
  903. package/lib/module/components/CustomInput.js.map +0 -1
  904. package/lib/module/components/DisplayTrack.js +0 -63
  905. package/lib/module/components/DisplayTrack.js.map +0 -1
  906. package/lib/module/components/HMSShareScreen.js +0 -50
  907. package/lib/module/components/HMSShareScreen.js.map +0 -1
  908. package/lib/module/components/HMSShowNetworkQuality.js +0 -47
  909. package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
  910. package/lib/module/components/LiveButton.js +0 -61
  911. package/lib/module/components/LiveButton.js.map +0 -1
  912. package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
  913. package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
  914. package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
  915. package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
  916. package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
  917. package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
  918. package/lib/module/components/ParticipantsModal.js +0 -34
  919. package/lib/module/components/ParticipantsModal.js.map +0 -1
  920. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
  921. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  922. package/lib/module/components/Picker.js +0 -83
  923. package/lib/module/components/Picker.js.map +0 -1
  924. package/lib/typescript/components/ChatWindow.d.ts +0 -22
  925. package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
  926. package/lib/typescript/components/CustomInput.d.ts +0 -24
  927. package/lib/typescript/components/CustomInput.d.ts.map +0 -1
  928. package/lib/typescript/components/DisplayTrack.d.ts +0 -9
  929. package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
  930. package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
  931. package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
  932. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
  933. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
  934. package/lib/typescript/components/LiveButton.d.ts +0 -17
  935. package/lib/typescript/components/LiveButton.d.ts.map +0 -1
  936. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
  937. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
  938. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
  939. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
  940. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
  941. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
  942. package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
  943. package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
  944. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
  945. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
  946. package/lib/typescript/components/Picker.d.ts +0 -9
  947. package/lib/typescript/components/Picker.d.ts.map +0 -1
  948. package/src/assets/100ms-logo.png +0 -0
  949. package/src/assets/brb.png +0 -0
  950. package/src/assets/icon.png +0 -0
  951. package/src/assets/illustration.png +0 -0
  952. package/src/assets/network_0.png +0 -0
  953. package/src/assets/network_1.png +0 -0
  954. package/src/assets/network_2.png +0 -0
  955. package/src/assets/network_3.png +0 -0
  956. package/src/assets/network_4.png +0 -0
  957. package/src/assets/user_music.png +0 -0
  958. package/src/components/ChatWindow.tsx +0 -706
  959. package/src/components/CustomInput.tsx +0 -138
  960. package/src/components/DisplayTrack.tsx +0 -92
  961. package/src/components/HMSShareScreen.tsx +0 -71
  962. package/src/components/HMSShowNetworkQuality.tsx +0 -68
  963. package/src/components/LiveButton.tsx +0 -77
  964. package/src/components/Participants/ParticipantsFilter.tsx +0 -144
  965. package/src/components/Participants/ParticipantsHeader.tsx +0 -64
  966. package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
  967. package/src/components/ParticipantsModal.tsx +0 -46
  968. package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
  969. package/src/components/Picker.tsx +0 -108
@@ -3,20 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.SaveScreenshot = exports.RtcStatsModal = exports.RecordingModal = exports.RealTime = exports.LeaveRoomModal = exports.HlsStreamingModal = exports.EndHlsModal = exports.ChangeTrackStateModal = exports.ChangeTrackStateForRoleModal = exports.ChangeSortingModal = exports.ChangeRoleModal = exports.ChangeRoleAccepteModal = exports.ChangeLayoutModal = exports.ChangeBulkRoleModal = exports.ChangeAudioOutputModal = exports.ChangeAudioModeModal = exports.ChangeAudioMixingModeModal = exports.ChangeAspectRatio = void 0;
6
+ exports.SaveScreenshot = exports.RtcStatsModal = exports.RecordingModal = exports.RealTime = exports.HlsStreamingModal = exports.ChangeTrackStateModal = exports.ChangeTrackStateForRoleModal = exports.ChangeRoleModal = exports.ChangeRoleAccepteModal = exports.ChangeBulkRoleModal = exports.ChangeAudioOutputModal = exports.ChangeAudioModeModal = exports.ChangeAudioMixingModeModal = exports.ChangeAspectRatio = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _reactNativeSimpleToast = _interopRequireDefault(require("react-native-simple-toast"));
10
10
  var _reactRedux = require("react-redux");
11
11
  var _reactNativeHms = require("@100mslive/react-native-hms");
12
- var _Feather = _interopRequireDefault(require("react-native-vector-icons/Feather"));
13
- var _Entypo = _interopRequireDefault(require("react-native-vector-icons/Entypo"));
14
- var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
15
- var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
16
12
  var _styles = require("./styles");
17
13
  var _CustomButton = require("./CustomButton");
18
14
  var _MenuModal = require("./MenuModal");
19
- var _Picker = require("./Picker");
20
15
  var _actions = require("../redux/actions");
21
16
  var _functions = require("../utils/functions");
22
17
  var _types = require("../utils/types");
@@ -39,7 +34,7 @@ const ChangeRoleModal = _ref => {
39
34
  const hideMenu = () => setVisible(false);
40
35
  const showMenu = () => setVisible(true);
41
36
  const changeRole = () => {
42
- instance === null || instance === void 0 ? void 0 : instance.changeRoleOfPeer(peer, newRole, !request).catch(e => {
37
+ instance === null || instance === void 0 || instance.changeRoleOfPeer(peer, newRole, !request).catch(e => {
43
38
  console.log('Change Role of Peer Error: ', e);
44
39
  _reactNativeSimpleToast.default.showWithGravity(e.message, _reactNativeSimpleToast.default.LONG, _reactNativeSimpleToast.default.TOP);
45
40
  });
@@ -59,11 +54,7 @@ const ChangeRoleModal = _ref => {
59
54
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
60
55
  style: _styles.styles.participantFilterText,
61
56
  numberOfLines: 1
62
- }, newRole === null || newRole === void 0 ? void 0 : newRole.name), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
63
- name: visible ? 'arrow-drop-up' : 'arrow-drop-down',
64
- style: _styles.styles.participantFilterIcon,
65
- size: 24
66
- })),
57
+ }, newRole === null || newRole === void 0 ? void 0 : newRole.name)),
67
58
  onRequestClose: hideMenu,
68
59
  style: _styles.styles.participantsMenuContainer
69
60
  }, roles === null || roles === void 0 ? void 0 : roles.map(knownRole => {
@@ -83,14 +74,10 @@ const ChangeRoleModal = _ref => {
83
74
  onPress: () => {
84
75
  setRequest(!request);
85
76
  }
86
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
87
- style: _styles.styles.roleChangeModalCheckBox
88
- }, request && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
89
- name: "check",
90
- style: _styles.styles.roleChangeModalCheck,
91
- size: 10
92
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
93
- style: _styles.styles.roleChangeModalPermission
77
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
78
+ style: [_styles.styles.roleChangeModalPermission, request ? {
79
+ color: _theme.COLORS.PRIMARY.DEFAULT
80
+ } : null]
94
81
  }, "Request permission from the user")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
95
82
  style: _styles.styles.roleChangeModalPermissionContainer
96
83
  }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
@@ -230,11 +217,7 @@ const RtcStatsModal = () => {
230
217
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
231
218
  style: _styles.styles.participantFilterText,
232
219
  numberOfLines: 1
233
- }, (currentTrack === null || currentTrack === void 0 ? void 0 : currentTrack.name) ?? 'Choose'), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
234
- name: tracksListModalVisible ? 'arrow-drop-up' : 'arrow-drop-down',
235
- style: _styles.styles.participantFilterIcon,
236
- size: 24
237
- })),
220
+ }, (currentTrack === null || currentTrack === void 0 ? void 0 : currentTrack.name) ?? 'Choose')),
238
221
  onRequestClose: hideMenu,
239
222
  style: _styles.styles.participantsMenuContainer
240
223
  }, statsList.map(trackObj => {
@@ -285,53 +268,15 @@ const RtcStatsModal = () => {
285
268
  }) : null));
286
269
  };
287
270
  exports.RtcStatsModal = RtcStatsModal;
288
- const LeaveRoomModal = _ref3 => {
271
+ const ChangeAudioOutputModal = _ref3 => {
289
272
  let {
290
- onSuccess,
291
273
  cancelModal
292
274
  } = _ref3;
293
- const onLeave = () => {
294
- cancelModal();
295
- onSuccess();
296
- };
297
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
298
- style: _styles.styles.volumeModalContainer
299
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
300
- style: _styles.styles.participantMenuItem
301
- }, /*#__PURE__*/_react.default.createElement(_Feather.default, {
302
- name: "log-out",
303
- style: _styles.styles.participantMenuItemIcon,
304
- size: 24
305
- }), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
306
- style: _styles.styles.roleChangeModalHeading
307
- }, "Leave Studio")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
308
- style: _styles.styles.roleChangeModalPermissionContainer
309
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
310
- style: _styles.styles.roleChangeModalDescription
311
- }, "Others will continue after you leave. You can join the studio again.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
312
- style: _styles.styles.roleChangeModalPermissionContainer
313
- }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
314
- title: "Don\u2019t Leave",
315
- onPress: cancelModal,
316
- viewStyle: _styles.styles.roleChangeModalCancelButton,
317
- textStyle: _styles.styles.roleChangeModalButtonText
318
- }), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
319
- title: "Leave",
320
- onPress: onLeave,
321
- viewStyle: [_styles.styles.roleChangeModalSuccessButton, _styles.styles.errorContainer],
322
- textStyle: _styles.styles.roleChangeModalButtonText
323
- })));
324
- };
325
- exports.LeaveRoomModal = LeaveRoomModal;
326
- const ChangeAudioOutputModal = _ref4 => {
327
- let {
328
- cancelModal
329
- } = _ref4;
330
275
  const instance = (0, _hooksUtil.useHMSInstance)();
331
276
  const [currentOutputDevice, setCurrentOutputDevice] = (0, _react.useState)(_reactNativeHms.HMSAudioDevice.SPEAKER_PHONE);
332
277
  const [audioOutputDevicesList, setAudioOutputDevicesList] = (0, _react.useState)([]);
333
278
  const switchAudioOutput = () => {
334
- instance === null || instance === void 0 ? void 0 : instance.switchAudioOutput(currentOutputDevice);
279
+ instance === null || instance === void 0 || instance.switchAudioOutput(currentOutputDevice);
335
280
  cancelModal();
336
281
  };
337
282
  (0, _react.useEffect)(() => {
@@ -352,14 +297,10 @@ const ChangeAudioOutputModal = _ref4 => {
352
297
  onPress: () => {
353
298
  setCurrentOutputDevice(device);
354
299
  }
355
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
356
- style: _styles.styles.roleChangeModalCheckBox
357
- }, currentOutputDevice === device && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
358
- name: "check",
359
- style: _styles.styles.roleChangeModalCheck,
360
- size: 10
361
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
362
- style: _styles.styles.roleChangeModalPermission
300
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
301
+ style: [_styles.styles.roleChangeModalPermission, currentOutputDevice === device ? {
302
+ color: _theme.COLORS.PRIMARY.DEFAULT
303
+ } : null]
363
304
  }, device));
364
305
  }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
365
306
  style: _styles.styles.roleChangeModalPermissionContainer
@@ -376,10 +317,10 @@ const ChangeAudioOutputModal = _ref4 => {
376
317
  })));
377
318
  };
378
319
  exports.ChangeAudioOutputModal = ChangeAudioOutputModal;
379
- const ChangeAspectRatio = _ref5 => {
320
+ const ChangeAspectRatio = _ref4 => {
380
321
  let {
381
322
  cancelModal
382
- } = _ref5;
323
+ } = _ref4;
383
324
  const {
384
325
  height
385
326
  } = (0, _reactNative.useWindowDimensions)();
@@ -407,14 +348,10 @@ const ChangeAspectRatio = _ref5 => {
407
348
  key: ratio.id,
408
349
  style: _styles.styles.roleChangeModalPermissionContainer,
409
350
  onPress: () => setSelectedRatio(ratio)
410
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
411
- style: _styles.styles.roleChangeModalCheckBox
412
- }, selectedRatio.id === ratio.id ? /*#__PURE__*/_react.default.createElement(_Entypo.default, {
413
- name: "check",
414
- style: _styles.styles.roleChangeModalCheck,
415
- size: 10
416
- }) : null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
417
- style: _styles.styles.roleChangeModalPermission
351
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
352
+ style: [_styles.styles.roleChangeModalPermission, selectedRatio.id === ratio.id ? {
353
+ color: _theme.COLORS.PRIMARY.DEFAULT
354
+ } : null]
418
355
  }, ratio.id));
419
356
  })), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
420
357
  style: _styles.styles.roleChangeModalPermissionContainer
@@ -431,17 +368,17 @@ const ChangeAspectRatio = _ref5 => {
431
368
  })));
432
369
  };
433
370
  exports.ChangeAspectRatio = ChangeAspectRatio;
434
- const ChangeAudioModeModal = _ref6 => {
371
+ const ChangeAudioModeModal = _ref5 => {
435
372
  let {
436
373
  cancelModal,
437
374
  audioMode,
438
375
  setAudioMode
439
- } = _ref6;
376
+ } = _ref5;
440
377
  const instance = (0, _hooksUtil.useHMSInstance)();
441
378
  const [currentAudioMode, setCurrentAudioMode] = (0, _react.useState)(audioMode);
442
379
  const AudioModeList = ['MODE_NORMAL', 'MODE_RINGTONE', 'MODE_IN_CALL', 'MODE_IN_COMMUNICATION', 'MODE_CALL_SCREENING'];
443
380
  const switchAudioMode = () => {
444
- instance === null || instance === void 0 ? void 0 : instance.setAudioMode(currentAudioMode);
381
+ instance === null || instance === void 0 || instance.setAudioMode(currentAudioMode);
445
382
  setAudioMode(currentAudioMode);
446
383
  cancelModal();
447
384
  };
@@ -456,14 +393,10 @@ const ChangeAudioModeModal = _ref6 => {
456
393
  onPress: () => {
457
394
  setCurrentAudioMode(AudioModeList.indexOf(mode));
458
395
  }
459
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
460
- style: _styles.styles.roleChangeModalCheckBox
461
- }, currentAudioMode === AudioModeList.indexOf(mode) && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
462
- name: "check",
463
- style: _styles.styles.roleChangeModalCheck,
464
- size: 10
465
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
466
- style: _styles.styles.roleChangeModalPermission
396
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
397
+ style: [_styles.styles.roleChangeModalPermission, currentAudioMode === AudioModeList.indexOf(mode) ? {
398
+ color: _theme.COLORS.PRIMARY.DEFAULT
399
+ } : null]
467
400
  }, mode));
468
401
  }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
469
402
  style: _styles.styles.roleChangeModalPermissionContainer
@@ -480,12 +413,12 @@ const ChangeAudioModeModal = _ref6 => {
480
413
  })));
481
414
  };
482
415
  exports.ChangeAudioModeModal = ChangeAudioModeModal;
483
- const ChangeAudioMixingModeModal = _ref7 => {
416
+ const ChangeAudioMixingModeModal = _ref6 => {
484
417
  let {
485
418
  newAudioMixingMode,
486
419
  cancelModal,
487
420
  setNewAudioMixingMode
488
- } = _ref7;
421
+ } = _ref6;
489
422
  const instance = (0, _hooksUtil.useHMSInstance)();
490
423
  const changeAudioMixingMode = async () => {
491
424
  await (instance === null || instance === void 0 ? void 0 : instance.setAudioMixingMode(newAudioMixingMode));
@@ -504,14 +437,10 @@ const ChangeAudioMixingModeModal = _ref7 => {
504
437
  onPress: () => {
505
438
  setNewAudioMixingMode(audioMixingMode);
506
439
  }
507
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
508
- style: _styles.styles.roleChangeModalCheckBox
509
- }, newAudioMixingMode === audioMixingMode && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
510
- name: "check",
511
- style: _styles.styles.roleChangeModalCheck,
512
- size: 10
513
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
514
- style: _styles.styles.roleChangeModalPermission
440
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
441
+ style: [_styles.styles.roleChangeModalPermission, newAudioMixingMode === audioMixingMode ? {
442
+ color: _theme.COLORS.PRIMARY.DEFAULT
443
+ } : null]
515
444
  }, audioMixingMode));
516
445
  }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
517
446
  style: _styles.styles.roleChangeModalPermissionContainer
@@ -528,83 +457,11 @@ const ChangeAudioMixingModeModal = _ref7 => {
528
457
  })));
529
458
  };
530
459
  exports.ChangeAudioMixingModeModal = ChangeAudioMixingModeModal;
531
- const ChangeSortingModal = _ref8 => {
532
- let {
533
- data,
534
- selectedItem,
535
- onItemSelected,
536
- cancelModal
537
- } = _ref8;
538
- const [sortingType, setSortingType] = (0, _react.useState)(selectedItem || _types.SortingType.DEFAULT);
539
- const changeSorting = () => {
540
- onItemSelected(sortingType);
541
- cancelModal();
542
- };
543
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
544
- style: _styles.styles.roleChangeModal
545
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
546
- style: _styles.styles.roleChangeModalHeading
547
- }, "Sorting Style"), /*#__PURE__*/_react.default.createElement(_Picker.CustomPicker, {
548
- data: data,
549
- selectedItem: sortingType,
550
- onItemSelected: setSortingType,
551
- viewStyle: _styles.styles.picker
552
- }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
553
- style: _styles.styles.sortingButtonContainer
554
- }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
555
- title: "Cancel",
556
- onPress: cancelModal,
557
- viewStyle: _styles.styles.roleChangeModalCancelButton,
558
- textStyle: _styles.styles.roleChangeModalButtonText
559
- }), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
560
- title: "Change",
561
- onPress: changeSorting,
562
- viewStyle: _styles.styles.roleChangeModalSuccessButton,
563
- textStyle: _styles.styles.roleChangeModalButtonText
564
- })));
565
- };
566
- exports.ChangeSortingModal = ChangeSortingModal;
567
- const ChangeLayoutModal = _ref9 => {
568
- let {
569
- data,
570
- selectedItem,
571
- onItemSelected,
572
- cancelModal
573
- } = _ref9;
574
- const [layout, setLayout] = (0, _react.useState)(selectedItem);
575
- const changeLayout = () => {
576
- onItemSelected(layout);
577
- cancelModal();
578
- };
579
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
580
- style: _styles.styles.roleChangeModal
581
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
582
- style: _styles.styles.roleChangeModalHeading
583
- }, "Layout Style"), /*#__PURE__*/_react.default.createElement(_Picker.CustomPicker, {
584
- data: data,
585
- selectedItem: layout,
586
- onItemSelected: setLayout,
587
- viewStyle: _styles.styles.picker
588
- }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
589
- style: _styles.styles.sortingButtonContainer
590
- }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
591
- title: "Cancel",
592
- onPress: cancelModal,
593
- viewStyle: _styles.styles.roleChangeModalCancelButton,
594
- textStyle: _styles.styles.roleChangeModalButtonText
595
- }), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
596
- title: "Change",
597
- onPress: changeLayout,
598
- viewStyle: _styles.styles.roleChangeModalSuccessButton,
599
- textStyle: _styles.styles.roleChangeModalButtonText
600
- })));
601
- };
602
- exports.ChangeLayoutModal = ChangeLayoutModal;
603
- const ChangeTrackStateForRoleModal = _ref10 => {
460
+ const ChangeTrackStateForRoleModal = _ref7 => {
604
461
  var _localPeerRole$permis, _localPeerRole$permis2;
605
462
  let {
606
463
  cancelModal
607
- } = _ref10;
464
+ } = _ref7;
608
465
  const instance = (0, _hooksUtil.useHMSInstance)();
609
466
  const roles = (0, _reactRedux.useSelector)(state => state.hmsStates.roles);
610
467
  const localPeerRole = (0, _reactRedux.useSelector)(state => {
@@ -634,11 +491,7 @@ const ChangeTrackStateForRoleModal = _ref10 => {
634
491
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
635
492
  style: _styles.styles.participantFilterText,
636
493
  numberOfLines: 1
637
- }, role === null || role === void 0 ? void 0 : role.name), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
638
- name: visible ? 'arrow-drop-up' : 'arrow-drop-down',
639
- style: _styles.styles.participantFilterIcon,
640
- size: 24
641
- })),
494
+ }, role === null || role === void 0 ? void 0 : role.name)),
642
495
  onRequestClose: hideMenu,
643
496
  style: _styles.styles.participantsMenuContainer
644
497
  }, roles === null || roles === void 0 ? void 0 : roles.map(knownRole => {
@@ -660,25 +513,17 @@ const ChangeTrackStateForRoleModal = _ref10 => {
660
513
  }, 'Track State: '), (localPeerRole === null || localPeerRole === void 0 || (_localPeerRole$permis = localPeerRole.permissions) === null || _localPeerRole$permis === void 0 ? void 0 : _localPeerRole$permis.mute) && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
661
514
  style: _styles.styles.changeTrackStateRoleOption,
662
515
  onPress: () => setTrackState(true)
663
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
664
- style: _styles.styles.roleChangeModalCheckBox
665
- }, trackState && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
666
- name: "check",
667
- style: _styles.styles.roleChangeModalCheck,
668
- size: 10
669
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
670
- style: _styles.styles.roleChangeModalPermission
516
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
517
+ style: [_styles.styles.roleChangeModalPermission, trackState ? {
518
+ color: _theme.COLORS.PRIMARY.DEFAULT
519
+ } : null]
671
520
  }, "MUTE")), (localPeerRole === null || localPeerRole === void 0 || (_localPeerRole$permis2 = localPeerRole.permissions) === null || _localPeerRole$permis2 === void 0 ? void 0 : _localPeerRole$permis2.unmute) && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
672
521
  style: _styles.styles.changeTrackStateRoleOption,
673
522
  onPress: () => setTrackState(false)
674
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
675
- style: _styles.styles.roleChangeModalCheckBox
676
- }, !trackState && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
677
- name: "check",
678
- style: _styles.styles.roleChangeModalCheck,
679
- size: 10
680
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
681
- style: _styles.styles.roleChangeModalPermission
523
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
524
+ style: [_styles.styles.roleChangeModalPermission, !trackState ? {
525
+ color: _theme.COLORS.PRIMARY.DEFAULT
526
+ } : null]
682
527
  }, "UNMUTE"))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
683
528
  style: _styles.styles.roleChangeModalPermissionContainer
684
529
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
@@ -686,25 +531,17 @@ const ChangeTrackStateForRoleModal = _ref10 => {
686
531
  }, 'Track Type: '), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
687
532
  style: _styles.styles.changeTrackStateRoleOption,
688
533
  onPress: () => setTrackType(_reactNativeHms.HMSTrackType.AUDIO)
689
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
690
- style: _styles.styles.roleChangeModalCheckBox
691
- }, trackType === _reactNativeHms.HMSTrackType.AUDIO && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
692
- name: "check",
693
- style: _styles.styles.roleChangeModalCheck,
694
- size: 10
695
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
696
- style: _styles.styles.roleChangeModalPermission
534
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
535
+ style: [_styles.styles.roleChangeModalPermission, trackType === _reactNativeHms.HMSTrackType.AUDIO ? {
536
+ color: _theme.COLORS.PRIMARY.DEFAULT
537
+ } : null]
697
538
  }, _reactNativeHms.HMSTrackType.AUDIO)), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
698
539
  style: _styles.styles.changeTrackStateRoleOption,
699
540
  onPress: () => setTrackType(_reactNativeHms.HMSTrackType.VIDEO)
700
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
701
- style: _styles.styles.roleChangeModalCheckBox
702
- }, trackType === _reactNativeHms.HMSTrackType.VIDEO && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
703
- name: "check",
704
- style: _styles.styles.roleChangeModalCheck,
705
- size: 10
706
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
707
- style: _styles.styles.roleChangeModalPermission
541
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
542
+ style: [_styles.styles.roleChangeModalPermission, trackType === _reactNativeHms.HMSTrackType.VIDEO ? {
543
+ color: _theme.COLORS.PRIMARY.DEFAULT
544
+ } : null]
708
545
  }, _reactNativeHms.HMSTrackType.VIDEO))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
709
546
  style: _styles.styles.roleChangeModalPermissionContainer
710
547
  }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
@@ -720,21 +557,21 @@ const ChangeTrackStateForRoleModal = _ref10 => {
720
557
  })));
721
558
  };
722
559
  exports.ChangeTrackStateForRoleModal = ChangeTrackStateForRoleModal;
723
- const ChangeTrackStateModal = _ref11 => {
560
+ const ChangeTrackStateModal = _ref8 => {
724
561
  var _roleChangeRequest$re, _roleChangeRequest$su2;
725
562
  let {
726
563
  roleChangeRequest,
727
564
  cancelModal
728
- } = _ref11;
565
+ } = _ref8;
729
566
  const localPeer = (0, _reactRedux.useSelector)(state => state.hmsStates.localPeer);
730
567
  const changeLayout = () => {
731
568
  var _roleChangeRequest$su;
732
569
  if ((roleChangeRequest === null || roleChangeRequest === void 0 || (_roleChangeRequest$su = roleChangeRequest.suggestedRole) === null || _roleChangeRequest$su === void 0 ? void 0 : _roleChangeRequest$su.toLocaleLowerCase()) === 'video') {
733
570
  var _localPeer$localVideo;
734
- localPeer === null || localPeer === void 0 || (_localPeer$localVideo = localPeer.localVideoTrack()) === null || _localPeer$localVideo === void 0 ? void 0 : _localPeer$localVideo.setMute(false);
571
+ localPeer === null || localPeer === void 0 || (_localPeer$localVideo = localPeer.localVideoTrack()) === null || _localPeer$localVideo === void 0 || _localPeer$localVideo.setMute(false);
735
572
  } else {
736
573
  var _localPeer$localAudio;
737
- localPeer === null || localPeer === void 0 || (_localPeer$localAudio = localPeer.localAudioTrack()) === null || _localPeer$localAudio === void 0 ? void 0 : _localPeer$localAudio.setMute(false);
574
+ localPeer === null || localPeer === void 0 || (_localPeer$localAudio = localPeer.localAudioTrack()) === null || _localPeer$localAudio === void 0 || _localPeer$localAudio.setMute(false);
738
575
  }
739
576
  cancelModal();
740
577
  };
@@ -759,10 +596,10 @@ const ChangeTrackStateModal = _ref11 => {
759
596
  })));
760
597
  };
761
598
  exports.ChangeTrackStateModal = ChangeTrackStateModal;
762
- const HlsStreamingModal = _ref12 => {
599
+ const HlsStreamingModal = _ref9 => {
763
600
  let {
764
601
  cancelModal
765
- } = _ref12;
602
+ } = _ref9;
766
603
  const instance = (0, _hooksUtil.useHMSInstance)();
767
604
  const roomID = (0, _reactRedux.useSelector)(state => state.user.roomID);
768
605
  const [hlsStreamingDetails, setHLSStreamingDetails] = (0, _react.useState)({
@@ -775,14 +612,14 @@ const HlsStreamingModal = _ref12 => {
775
612
  videoOnDemand: false
776
613
  });
777
614
  const changeLayout = () => {
778
- instance === null || instance === void 0 ? void 0 : instance.startHLSStreaming().then(d => console.log('Start HLS Streaming Success: ', d)).catch(err => {
615
+ instance === null || instance === void 0 || instance.startHLSStreaming().then(d => console.log('Start HLS Streaming Success: ', d)).catch(err => {
779
616
  if (startHlsRetry) {
780
617
  setStartHlsRetry(false);
781
618
  const hmsHLSConfig = new _reactNativeHms.HMSHLSConfig({
782
619
  hlsRecordingConfig: hlsRecordingDetails,
783
620
  meetingURLVariants: [hlsStreamingDetails]
784
621
  });
785
- instance === null || instance === void 0 ? void 0 : instance.startHLSStreaming(hmsHLSConfig).then(d => console.log('Start HLS Streaming Success: ', d)).catch(e => console.log('Start HLS Streaming Error: ', e));
622
+ instance === null || instance === void 0 || instance.startHLSStreaming(hmsHLSConfig).then(d => console.log('Start HLS Streaming Success: ', d)).catch(e => console.log('Start HLS Streaming Error: ', e));
786
623
  } else {
787
624
  console.log('Start HLS Streaming Error: ', err);
788
625
  }
@@ -815,14 +652,10 @@ const HlsStreamingModal = _ref12 => {
815
652
  singleFilePerLayer: !hlsRecordingDetails.singleFilePerLayer
816
653
  });
817
654
  }
818
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
819
- style: _styles.styles.roleChangeModalCheckBox
820
- }, hlsRecordingDetails.singleFilePerLayer && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
821
- name: "check",
822
- style: _styles.styles.roleChangeModalCheck,
823
- size: 10
824
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
825
- style: _styles.styles.roleChangeModalPermission
655
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
656
+ style: [_styles.styles.roleChangeModalPermission, hlsRecordingDetails.singleFilePerLayer ? {
657
+ color: _theme.COLORS.PRIMARY.DEFAULT
658
+ } : null]
826
659
  }, "SingleFilePerLayer")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
827
660
  style: _styles.styles.checkboxButtonContainer,
828
661
  onPress: () => {
@@ -831,14 +664,10 @@ const HlsStreamingModal = _ref12 => {
831
664
  videoOnDemand: !hlsRecordingDetails.videoOnDemand
832
665
  });
833
666
  }
834
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
835
- style: _styles.styles.roleChangeModalCheckBox
836
- }, hlsRecordingDetails.videoOnDemand && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
837
- name: "check",
838
- style: _styles.styles.roleChangeModalCheck,
839
- size: 10
840
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
841
- style: _styles.styles.roleChangeModalPermission
667
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
668
+ style: [_styles.styles.roleChangeModalPermission, hlsRecordingDetails.videoOnDemand ? {
669
+ color: _theme.COLORS.PRIMARY.DEFAULT
670
+ } : null]
842
671
  }, "VideoOnDemand")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
843
672
  style: _styles.styles.roleChangeModalPermissionContainer
844
673
  }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
@@ -854,10 +683,10 @@ const HlsStreamingModal = _ref12 => {
854
683
  })));
855
684
  };
856
685
  exports.HlsStreamingModal = HlsStreamingModal;
857
- const RecordingModal = _ref13 => {
686
+ const RecordingModal = _ref10 => {
858
687
  let {
859
688
  setModalVisible
860
- } = _ref13;
689
+ } = _ref10;
861
690
  const instance = (0, _hooksUtil.useHMSInstance)();
862
691
  const roomID = (0, _reactRedux.useSelector)(state => state.user.roomID);
863
692
  const [recordingDetails, setRecordingDetails] = (0, _react.useState)({
@@ -865,7 +694,7 @@ const RecordingModal = _ref13 => {
865
694
  meetingURL: roomID ? roomID + '?token=beam_recording' : undefined
866
695
  });
867
696
  const changeLayout = () => {
868
- instance === null || instance === void 0 ? void 0 : instance.startRTMPOrRecording(recordingDetails).then(d => console.log('Start RTMP Or Recording Success: ', d)).catch(e => console.log('Start RTMP Or Recording Error: ', e));
697
+ instance === null || instance === void 0 || instance.startRTMPOrRecording(recordingDetails).then(d => console.log('Start RTMP Or Recording Success: ', d)).catch(e => console.log('Start RTMP Or Recording Error: ', e));
869
698
  setModalVisible(_types.ModalTypes.DEFAULT);
870
699
  };
871
700
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
@@ -915,14 +744,10 @@ const RecordingModal = _ref13 => {
915
744
  record: !recordingDetails.record
916
745
  });
917
746
  }
918
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
919
- style: _styles.styles.roleChangeModalCheckBox
920
- }, recordingDetails.record && /*#__PURE__*/_react.default.createElement(_Entypo.default, {
921
- name: "check",
922
- style: _styles.styles.roleChangeModalCheck,
923
- size: 10
924
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
925
- style: _styles.styles.roleChangeModalPermission
747
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
748
+ style: [_styles.styles.roleChangeModalPermission, recordingDetails.record ? {
749
+ color: _theme.COLORS.PRIMARY.DEFAULT
750
+ } : null]
926
751
  }, "Record")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
927
752
  style: _styles.styles.roleChangeModalPermissionContainer
928
753
  }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
@@ -938,15 +763,15 @@ const RecordingModal = _ref13 => {
938
763
  })));
939
764
  };
940
765
  exports.RecordingModal = RecordingModal;
941
- const ChangeRoleAccepteModal = _ref14 => {
766
+ const ChangeRoleAccepteModal = _ref11 => {
942
767
  var _roleChangeRequest$re2, _roleChangeRequest$su3;
943
768
  let {
944
769
  instance,
945
770
  roleChangeRequest,
946
771
  cancelModal
947
- } = _ref14;
772
+ } = _ref11;
948
773
  const changeLayout = () => {
949
- instance === null || instance === void 0 ? void 0 : instance.acceptRoleChange();
774
+ instance === null || instance === void 0 || instance.acceptRoleChange();
950
775
  cancelModal();
951
776
  };
952
777
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
@@ -970,48 +795,10 @@ const ChangeRoleAccepteModal = _ref14 => {
970
795
  })));
971
796
  };
972
797
  exports.ChangeRoleAccepteModal = ChangeRoleAccepteModal;
973
- const EndHlsModal = _ref15 => {
974
- let {
975
- onSuccess,
976
- cancelModal
977
- } = _ref15;
978
- const onEnd = () => {
979
- cancelModal();
980
- onSuccess();
981
- };
982
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
983
- style: _styles.styles.volumeModalContainer
984
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
985
- style: _styles.styles.participantMenuItem
986
- }, /*#__PURE__*/_react.default.createElement(_Feather.default, {
987
- name: "alert-triangle",
988
- style: [_styles.styles.participantMenuItemIcon, _styles.styles.error],
989
- size: 24
990
- }), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
991
- style: [_styles.styles.roleChangeModalHeading, _styles.styles.error]
992
- }, "End live stream for all?")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
993
- style: _styles.styles.roleChangeModalPermissionContainer
994
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
995
- style: _styles.styles.roleChangeModalDescription
996
- }, "Your stream will end and everone will go offline immediately in this room. You can\u2019t undo this action.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
997
- style: _styles.styles.roleChangeModalPermissionContainer
998
- }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
999
- title: "Don\u2019t End",
1000
- onPress: cancelModal,
1001
- viewStyle: _styles.styles.roleChangeModalCancelButton,
1002
- textStyle: _styles.styles.roleChangeModalButtonText
1003
- }), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
1004
- title: "End Stream",
1005
- onPress: onEnd,
1006
- viewStyle: [_styles.styles.roleChangeModalSuccessButton, _styles.styles.errorContainer],
1007
- textStyle: _styles.styles.roleChangeModalButtonText
1008
- })));
1009
- };
1010
- exports.EndHlsModal = EndHlsModal;
1011
- const RealTime = _ref16 => {
798
+ const RealTime = _ref12 => {
1012
799
  let {
1013
800
  startedAt
1014
- } = _ref16;
801
+ } = _ref12;
1015
802
  const [hour, setHour] = (0, _react.useState)(0);
1016
803
  const [minute, setMinute] = (0, _react.useState)(0);
1017
804
  const [second, setSecond] = (0, _react.useState)(0);
@@ -1066,10 +853,10 @@ var RoleSelection = /*#__PURE__*/function (RoleSelection) {
1066
853
  RoleSelection["TO_CHANGE"] = "TO_CHANGE";
1067
854
  return RoleSelection;
1068
855
  }(RoleSelection || {});
1069
- const ChangeBulkRoleModal = _ref17 => {
856
+ const ChangeBulkRoleModal = _ref13 => {
1070
857
  let {
1071
858
  cancelModal
1072
- } = _ref17;
859
+ } = _ref13;
1073
860
  const hmsInstance = (0, _reactRedux.useSelector)(state => state.user.hmsInstance);
1074
861
  const roles = (0, _reactRedux.useSelector)(state => state.hmsStates.roles);
1075
862
  const [showRolesSelectionView, setShowRolesSelectionView] = (0, _react.useState)(null);
@@ -1114,11 +901,7 @@ const ChangeBulkRoleModal = _ref17 => {
1114
901
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
1115
902
  style: bulkRoleStyles.value,
1116
903
  numberOfLines: 1
1117
- }, rolesToChange.map(role => role.name).join(', ') || 'Select Roles'), /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
1118
- name: "chevron-right",
1119
- size: 16,
1120
- style: bulkRoleStyles.chevronIcon
1121
- }))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
904
+ }, rolesToChange.map(role => role.name).join(', ') || 'Select Roles'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
1122
905
  style: bulkRoleStyles.row
1123
906
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
1124
907
  style: bulkRoleStyles.label
@@ -1127,11 +910,7 @@ const ChangeBulkRoleModal = _ref17 => {
1127
910
  onPress: () => setShowRolesSelectionView(RoleSelection.TARGET)
1128
911
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
1129
912
  style: bulkRoleStyles.value
1130
- }, targetRole ? targetRole.name : 'Select Role'), /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
1131
- name: "chevron-right",
1132
- size: 16,
1133
- style: bulkRoleStyles.chevronIcon
1134
- })))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
913
+ }, targetRole ? targetRole.name : 'Select Role')))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
1135
914
  style: _styles.styles.roleChangeModalPermissionContainer
1136
915
  }, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
1137
916
  title: "Cancel",
@@ -1159,18 +938,10 @@ const ChangeBulkRoleModal = _ref17 => {
1159
938
  key: role.name,
1160
939
  style: bulkRoleStyles.roleBtn,
1161
940
  onPress: () => handleRoleSelection(role)
1162
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
1163
- style: bulkRoleStyles.checkboxContainer
1164
- }, showRolesSelectionView === RoleSelection.TARGET ? /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
1165
- name: selected ? 'radiobox-marked' : 'radiobox-blank',
1166
- style: _styles.styles.roleChangeModalCheck,
1167
- size: 20
1168
- }) : /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
1169
- name: selected ? 'checkbox-outline' : 'checkbox-blank-outline',
1170
- style: _styles.styles.roleChangeModalCheck,
1171
- size: 24
1172
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
1173
- style: bulkRoleStyles.checkboxLabel
941
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
942
+ style: {
943
+ color: selected ? _theme.COLORS.PRIMARY.DEFAULT : _theme.COLORS.TEXT.MEDIUM_EMPHASIS
944
+ }
1174
945
  }, role.name));
1175
946
  })), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
1176
947
  style: bulkRoleStyles.roleSelectionDone,