agora-appbuilder-core 4.0.0-api.5 → 4.0.0-api.6

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 (406) hide show
  1. package/package.json +2 -2
  2. package/template/.bundle/config +2 -0
  3. package/template/Gemfile +4 -0
  4. package/template/Gulpfile.js +29 -29
  5. package/template/_eslintrc.js +3 -3
  6. package/template/_gitignore +12 -11
  7. package/template/_package-lock.json +26471 -22749
  8. package/template/_prettierrc.js +2 -2
  9. package/template/agora-rn-uikit/src/Contexts/PropsContext.tsx +30 -10
  10. package/template/agora-rn-uikit/src/Contexts/RtcContext.tsx +19 -0
  11. package/template/agora-rn-uikit/src/Controls/BtnTemplate.tsx +1 -0
  12. package/template/agora-rn-uikit/src/Controls/Icons.ts +45 -0
  13. package/template/agora-rn-uikit/src/Controls/Local/EndCall.tsx +6 -4
  14. package/template/agora-rn-uikit/src/Controls/Local/FullScreen.tsx +3 -1
  15. package/template/agora-rn-uikit/src/Controls/Local/LocalAudioMute.tsx +1 -0
  16. package/template/agora-rn-uikit/src/Controls/Local/LocalVideoMute.tsx +1 -0
  17. package/template/agora-rn-uikit/src/Controls/Local/SwitchCamera.tsx +1 -0
  18. package/template/agora-rn-uikit/src/Controls/Remote/RemoteAudioMute.tsx +1 -0
  19. package/template/agora-rn-uikit/src/Controls/Remote/RemoteSwap.tsx +3 -1
  20. package/template/agora-rn-uikit/src/Controls/Remote/RemoteVideoMute.tsx +1 -0
  21. package/template/agora-rn-uikit/src/Reducer/ActiveSpeaker.ts +30 -0
  22. package/template/agora-rn-uikit/src/Reducer/LocalMuteAudio.ts +3 -1
  23. package/template/agora-rn-uikit/src/Reducer/LocalMuteVideo.ts +3 -1
  24. package/template/agora-rn-uikit/src/Reducer/LocalPermissionState.ts +1 -1
  25. package/template/agora-rn-uikit/src/Reducer/RemoteAudioStateChanged.ts +3 -3
  26. package/template/agora-rn-uikit/src/Reducer/RemoteVideoStateChanged.ts +5 -4
  27. package/template/agora-rn-uikit/src/Reducer/UpdateDualStreamMode.ts +1 -1
  28. package/template/agora-rn-uikit/src/Reducer/UserJoined.ts +8 -5
  29. package/template/agora-rn-uikit/src/Reducer/UserMuteRemoteAudio.ts +1 -1
  30. package/template/agora-rn-uikit/src/Reducer/UserMuteRemoteVideo.ts +1 -1
  31. package/template/agora-rn-uikit/src/Reducer/UserOffline.ts +1 -1
  32. package/template/agora-rn-uikit/src/Reducer/UserPin.ts +18 -1
  33. package/template/agora-rn-uikit/src/Reducer/UserSecondaryPin.ts +23 -0
  34. package/template/agora-rn-uikit/src/Reducer/index.ts +2 -0
  35. package/template/agora-rn-uikit/src/Rtc/Create.tsx +47 -21
  36. package/template/agora-rn-uikit/src/Rtc/Join.tsx +37 -15
  37. package/template/agora-rn-uikit/src/RtcConfigure.tsx +122 -12
  38. package/template/agora-rn-uikit/src/Views/MaxVideoView.native.tsx +32 -4
  39. package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +21 -2
  40. package/template/agora-rn-uikit/src/Views/MinVideoView.tsx +2 -0
  41. package/template/android/app/build.gradle +59 -156
  42. package/template/android/app/src/debug/AndroidManifest.xml +6 -1
  43. package/template/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java +7 -4
  44. package/template/android/app/src/main/AndroidManifest.xml +6 -19
  45. package/template/android/app/src/main/assets/fonts/icomoon.ttf +0 -0
  46. package/template/android/app/src/main/java/com/helloworld/MainActivity.java +17 -0
  47. package/template/android/app/src/main/java/com/helloworld/MainApplication.java +19 -36
  48. package/template/android/app/src/release/java/com/helloworld/ReactNativeFlipper.java +20 -0
  49. package/template/android/build.gradle +19 -33
  50. package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  51. package/template/android/gradle/wrapper/gradle-wrapper.properties +3 -2
  52. package/template/android/gradle.properties +18 -4
  53. package/template/android/gradlew +165 -104
  54. package/template/android/gradlew.bat +12 -23
  55. package/template/android/settings.gradle +1 -0
  56. package/template/bridge/rtc/webNg/RtcEngine.ts +131 -16
  57. package/template/bridge/rtc/webNg/index.ts +72 -1
  58. package/template/bridge/rtm/web/index.ts +5 -3
  59. package/template/configTransform.js +16 -1
  60. package/template/customization-api/action-library.ts +0 -8
  61. package/template/customization-api/app-state.ts +11 -2
  62. package/template/customization-api/customEvents.ts +6 -1
  63. package/template/customization-api/index.ts +4 -0
  64. package/template/customization-api/sub-components.ts +6 -3
  65. package/template/customization-api/temp.ts +50 -0
  66. package/template/customization-api/typeDefinition.ts +26 -14
  67. package/template/customization-api/types.ts +26 -0
  68. package/template/customization-api/utils.ts +2 -0
  69. package/template/customization-implementation/index.ts +0 -1
  70. package/template/defaultConfig.js +72 -0
  71. package/template/global.d.ts +13 -1
  72. package/template/index.js +0 -4
  73. package/template/index.web.js +0 -5
  74. package/template/index.wsdk.tsx +1 -19
  75. package/template/ios/.xcode.env +11 -0
  76. package/template/ios/HelloWorld/AppDelegate.h +2 -4
  77. package/template/ios/HelloWorld/AppDelegate.mm +42 -0
  78. package/template/ios/HelloWorld/Info.plist +1 -1
  79. package/template/ios/HelloWorld/main.m +2 -1
  80. package/template/ios/HelloWorld.xcodeproj/project.pbxproj +529 -17
  81. package/template/ios/HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  82. package/template/ios/HelloWorld.xcworkspace/contents.xcworkspacedata +10 -0
  83. package/template/ios/HelloWorld.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  84. package/template/ios/HelloWorldTests/HelloWorldTests.m +14 -13
  85. package/template/ios/HelloWorldTests/Info.plist +2 -2
  86. package/template/ios/Podfile +53 -20
  87. package/template/ios/Podfile.lock +873 -0
  88. package/template/ios/ScreenSharing/Info.plist +15 -0
  89. package/template/ios/ScreenSharing/SampleHandler.h +9 -0
  90. package/template/ios/ScreenSharing/SampleHandler.m +70 -0
  91. package/template/jest.config.js +4 -0
  92. package/template/metro.config.js +7 -32
  93. package/template/package.json +52 -39
  94. package/template/react-native-toast-message/index.d.ts +3 -1
  95. package/template/react-native-toast-message/index.js +1 -0
  96. package/template/react-native-toast-message/src/components/base/index.js +20 -32
  97. package/template/react-native-toast-message/src/components/base/styles.js +18 -21
  98. package/template/react-native-toast-message/src/components/checkbox.js +24 -19
  99. package/template/react-native-toast-message/src/index.js +3 -1
  100. package/template/react-native-toast-message/src/index.sdk.tsx +4 -1
  101. package/template/src/App.tsx +13 -85
  102. package/template/src/AppRoutes.tsx +77 -0
  103. package/template/src/AppWrapper.tsx +38 -33
  104. package/template/src/SDKAppWrapper.tsx +79 -43
  105. package/template/src/app-state/useNoiseSupression.native.tsx +67 -0
  106. package/template/src/app-state/useNoiseSupression.tsx +107 -0
  107. package/template/src/app-state/useVideoQuality.tsx +39 -0
  108. package/template/src/assets/font-styles.css +171 -3
  109. package/template/src/assets/fonts/icomoon.ttf +0 -0
  110. package/template/src/assets/selection.json +1 -1
  111. package/template/src/atoms/ActionMenu.tsx +50 -11
  112. package/template/src/atoms/Avatar.tsx +51 -0
  113. package/template/src/atoms/Card.tsx +21 -8
  114. package/template/src/atoms/Carousel.native.tsx +105 -0
  115. package/template/src/atoms/Carousel.tsx +103 -0
  116. package/template/src/atoms/Checkbox.tsx +98 -0
  117. package/template/src/atoms/CircularProgress.tsx +0 -1
  118. package/template/src/atoms/ClipboardIconButton.tsx +91 -0
  119. package/template/src/atoms/CustomIcon.tsx +45 -0
  120. package/template/src/atoms/DropDownMulti.tsx +349 -0
  121. package/template/src/atoms/Dropdown.tsx +3 -3
  122. package/template/src/atoms/IconButton.tsx +52 -9
  123. package/template/src/atoms/ImageIcon.tsx +6 -3
  124. package/template/src/atoms/InlineNotification.tsx +81 -0
  125. package/template/src/atoms/MeetingLink.tsx +160 -0
  126. package/template/src/atoms/ParticipantsCount.tsx +18 -7
  127. package/template/src/atoms/Popup.tsx +49 -27
  128. package/template/src/atoms/PrimaryButton.tsx +19 -5
  129. package/template/src/atoms/RecordingInfo.tsx +2 -2
  130. package/template/src/atoms/SecondaryButton.tsx +2 -0
  131. package/template/src/atoms/Spacer.tsx +1 -0
  132. package/template/src/atoms/TertiaryButton.tsx +35 -5
  133. package/template/src/atoms/TextInput.tsx +2 -1
  134. package/template/src/atoms/Toolbar.tsx +64 -30
  135. package/template/src/atoms/ToolbarItem.tsx +11 -5
  136. package/template/src/atoms/ToolbarPreset.tsx +13 -2
  137. package/template/src/atoms/Tooltip.tsx +26 -4
  138. package/template/src/auth/AuthProvider.tsx +500 -0
  139. package/template/src/auth/AuthRoute.tsx +94 -0
  140. package/template/src/auth/IDPAuth.electron.tsx +31 -0
  141. package/template/src/auth/IDPAuth.tsx +67 -0
  142. package/template/src/auth/IDPLogoutComponent.tsx +158 -0
  143. package/template/src/auth/UserCancelPopup.tsx +115 -0
  144. package/template/src/auth/config.ts +52 -0
  145. package/template/src/auth/openIDPURL.electron.tsx +39 -0
  146. package/template/src/auth/openIDPURL.native.tsx +51 -0
  147. package/template/src/auth/openIDPURL.tsx +20 -0
  148. package/template/src/auth/useIDPAuth.electron.tsx +65 -0
  149. package/template/src/auth/useIDPAuth.native.tsx +70 -0
  150. package/template/src/auth/useIDPAuth.tsx +63 -0
  151. package/template/src/auth/useTokenAuth.tsx +194 -0
  152. package/template/src/components/Chat.tsx +5 -8
  153. package/template/src/components/ChatContext.ts +4 -0
  154. package/template/src/components/ColorConfigure.tsx +0 -1
  155. package/template/src/components/CommonStyles.ts +9 -2
  156. package/template/src/components/Controls.tsx +659 -52
  157. package/template/src/components/DeviceConfigure.tsx +362 -156
  158. package/template/src/components/DeviceContext.tsx +2 -0
  159. package/template/src/components/EventsConfigure.tsx +713 -109
  160. package/template/src/components/GraphQLProvider.tsx +62 -36
  161. package/template/src/components/GridVideo.tsx +23 -13
  162. package/template/src/components/HostControlView.tsx +11 -14
  163. package/template/src/components/JoinPhrase.tsx +0 -1
  164. package/template/src/components/Leftbar.tsx +4 -3
  165. package/template/src/components/Navbar.tsx +110 -42
  166. package/template/src/components/NavbarMobile.tsx +47 -36
  167. package/template/src/components/Navigation.native.tsx +1 -15
  168. package/template/src/{subComponents/screenshare/ScreenshareButton.native.tsx → components/Navigation.sdk.tsx} +17 -3
  169. package/template/src/components/Navigation.tsx +1 -15
  170. package/template/src/components/ParticipantsView.tsx +56 -48
  171. package/template/src/components/PinnedVideo.tsx +188 -114
  172. package/template/src/components/Precall.native.tsx +169 -67
  173. package/template/src/components/Precall.tsx +237 -71
  174. package/template/src/components/RTMConfigure.tsx +167 -55
  175. package/template/src/components/Rightbar.tsx +4 -3
  176. package/template/src/components/Router.electron.ts +1 -0
  177. package/template/src/components/Router.native.ts +1 -0
  178. package/template/src/components/Router.sdk.ts +1 -0
  179. package/template/src/components/Router.ts +1 -0
  180. package/template/src/components/SdkApiContext.tsx +179 -27
  181. package/template/src/components/SdkMuteToggleListener.tsx +88 -0
  182. package/template/src/components/SessionContext.tsx +0 -1
  183. package/template/src/components/Settings.tsx +25 -3
  184. package/template/src/components/SettingsView.tsx +44 -9
  185. package/template/src/components/Share.tsx +149 -71
  186. package/template/src/components/StorageContext.tsx +19 -5
  187. package/template/src/components/ToastComponent.tsx +3 -0
  188. package/template/src/components/WhiteboardLayout.tsx +291 -0
  189. package/template/src/components/chat-messages/useChatMessages.tsx +420 -207
  190. package/template/src/components/common/Error.tsx +2 -0
  191. package/template/src/components/common/Logo.tsx +2 -2
  192. package/template/src/components/contexts/LiveStreamDataContext.tsx +5 -4
  193. package/template/src/components/contexts/ScreenShareContext.tsx +15 -1
  194. package/template/src/components/contexts/WaitingRoomContext.tsx +50 -0
  195. package/template/src/components/contexts/WhiteboardContext.tsx +54 -54
  196. package/template/src/components/disable-chat/useDisableChat.tsx +32 -0
  197. package/template/src/components/livestream/LiveStreamContext.tsx +262 -177
  198. package/template/src/components/livestream/Types.ts +34 -18
  199. package/template/src/components/livestream/views/LiveStreamAttendeeLandingTile.tsx +295 -0
  200. package/template/src/components/livestream/views/LiveStreamControls.tsx +2 -4
  201. package/template/src/components/meeting-info-invite/MeetingInfo.tsx +82 -0
  202. package/template/src/components/meeting-info-invite/MeetingInfoCardHeader.tsx +86 -0
  203. package/template/src/components/meeting-info-invite/MeetingInfoGridTile.tsx +218 -0
  204. package/template/src/components/meeting-info-invite/MeetingInfoLinks.tsx +122 -0
  205. package/template/src/components/participants/AllAudienceParticipants.tsx +4 -5
  206. package/template/src/components/participants/AllHostParticipants.tsx +5 -6
  207. package/template/src/components/participants/Participant.tsx +40 -9
  208. package/template/src/components/participants/ParticipantSectionTitle.tsx +5 -2
  209. package/template/src/components/participants/ScreenshareParticipants.tsx +15 -17
  210. package/template/src/components/participants/UserActionMenuOptions.tsx +157 -49
  211. package/template/src/components/participants/WaitingRoomParticipants.tsx +74 -0
  212. package/template/src/components/popups/InvitePopup.tsx +110 -45
  213. package/template/src/components/popups/StartScreenSharePopup.native.tsx +182 -0
  214. package/template/src/components/popups/StartScreenSharePopup.tsx +6 -0
  215. package/template/src/components/popups/StopRecordingPopup.tsx +11 -5
  216. package/template/src/components/popups/StopScreenSharePopup.native.tsx +135 -0
  217. package/template/src/components/popups/StopScreenSharePopup.tsx +6 -0
  218. package/template/src/components/popups/WhiteboardClearAllPopup.tsx +123 -0
  219. package/template/src/components/precall/LocalMute.tsx +69 -45
  220. package/template/src/components/precall/PermissionHelper.tsx +52 -24
  221. package/template/src/components/precall/PreCallSettings.tsx +1 -0
  222. package/template/src/components/precall/VideoFallback.tsx +173 -0
  223. package/template/src/components/precall/VideoPreview.native.tsx +16 -50
  224. package/template/src/components/precall/VideoPreview.tsx +27 -162
  225. package/template/src/components/precall/index.tsx +2 -0
  226. package/template/src/components/precall/joinCallBtn.native.tsx +10 -3
  227. package/template/src/components/precall/joinCallBtn.tsx +11 -2
  228. package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +210 -0
  229. package/template/src/components/precall/joinWaitingRoomBtn.tsx +250 -0
  230. package/template/src/components/precall/meetingTitle.tsx +35 -9
  231. package/template/src/components/precall/selectDevice.tsx +5 -5
  232. package/template/src/components/precall/textInput.tsx +16 -18
  233. package/template/src/components/precall/usePreCall.tsx +14 -4
  234. package/template/src/components/room-info/useRoomInfo.tsx +34 -0
  235. package/template/src/components/useShareLink.tsx +24 -59
  236. package/template/src/components/useUserPreference.tsx +73 -10
  237. package/template/src/components/useVideoCall.tsx +76 -3
  238. package/template/src/components/virtual-background/VBButton.tsx +64 -0
  239. package/template/src/components/virtual-background/VBCard.native.tsx +282 -0
  240. package/template/src/components/virtual-background/VBCard.tsx +272 -0
  241. package/template/src/components/virtual-background/VBPanel.tsx +279 -0
  242. package/template/src/components/virtual-background/VButils.native.ts +37 -0
  243. package/template/src/components/virtual-background/VButils.ts +104 -0
  244. package/template/src/components/virtual-background/VideoPreview.native.tsx +43 -0
  245. package/template/src/components/virtual-background/VideoPreview.tsx +106 -0
  246. package/template/src/components/virtual-background/imagePaths.ts +87 -0
  247. package/template/src/components/virtual-background/images/beachImageBase64.ts +1 -0
  248. package/template/src/components/virtual-background/images/bedroomImageBase64.ts +1 -0
  249. package/template/src/components/virtual-background/images/bookImageBase64.ts +1 -0
  250. package/template/src/components/virtual-background/images/earthImageBase64.ts +1 -0
  251. package/template/src/components/virtual-background/images/index.ts +37 -0
  252. package/template/src/components/virtual-background/images/lampImageBase64.ts +1 -0
  253. package/template/src/components/virtual-background/images/mountainsImageBase64.ts +1 -0
  254. package/template/src/components/virtual-background/images/office1ImageBase64.ts +1 -0
  255. package/template/src/components/virtual-background/images/officeImageBase64.ts +1 -0
  256. package/template/src/components/virtual-background/images/plantsImageBase64.ts +1 -0
  257. package/template/src/components/virtual-background/images/skyImageBase64.ts +1 -0
  258. package/template/src/components/virtual-background/images/wallImageBase64.ts +1 -0
  259. package/template/src/components/virtual-background/useVB.native.tsx +188 -0
  260. package/template/src/components/virtual-background/useVB.tsx +267 -0
  261. package/template/src/components/whiteboard/StrokeWidthTool.tsx +137 -0
  262. package/template/src/components/whiteboard/WhiteboardButton.tsx +93 -0
  263. package/template/src/components/whiteboard/WhiteboardCanvas.tsx +99 -0
  264. package/template/src/components/whiteboard/WhiteboardConfigure.native.tsx +137 -0
  265. package/template/src/components/whiteboard/WhiteboardConfigure.tsx +441 -0
  266. package/template/src/components/whiteboard/WhiteboardCursor.tsx +152 -0
  267. package/template/src/components/whiteboard/WhiteboardToolBox.tsx +1246 -0
  268. package/template/src/components/whiteboard/WhiteboardView.native.tsx +109 -0
  269. package/template/src/components/whiteboard/WhiteboardView.tsx +81 -0
  270. package/template/src/components/whiteboard/WhiteboardWidget.tsx +674 -0
  271. package/template/src/components/whiteboard/WhiteboardWrapper.tsx +38 -0
  272. package/template/src/language/default-labels/commonLabels.ts +51 -14
  273. package/template/src/language/default-labels/createScreenLabels.ts +97 -17
  274. package/template/src/language/default-labels/joinScreenLabels.ts +45 -6
  275. package/template/src/language/default-labels/precallScreenLabels.ts +145 -23
  276. package/template/src/language/default-labels/shareLinkScreenLabels.ts +85 -37
  277. package/template/src/language/default-labels/videoCallScreenLabels.ts +1137 -158
  278. package/template/src/pages/Create.tsx +125 -80
  279. package/template/src/pages/Join.tsx +76 -34
  280. package/template/src/pages/Login.tsx +26 -0
  281. package/template/src/pages/VideoCall.tsx +229 -114
  282. package/template/src/pages/video-call/ActionSheet.native.tsx +54 -7
  283. package/template/src/pages/video-call/ActionSheet.tsx +55 -16
  284. package/template/src/pages/video-call/ActionSheetContent.tsx +366 -291
  285. package/template/src/pages/video-call/ActionSheetHandle.tsx +7 -1
  286. package/template/src/pages/video-call/DefaultLayouts.ts +11 -5
  287. package/template/src/pages/video-call/NameWithMicIcon.tsx +17 -9
  288. package/template/src/pages/video-call/PinchableView.tsx +119 -0
  289. package/template/src/pages/video-call/RenderComponent.tsx +12 -3
  290. package/template/src/pages/video-call/SidePanelHeader.tsx +208 -6
  291. package/template/src/pages/video-call/VideoCallMobileView.tsx +140 -106
  292. package/template/src/pages/video-call/VideoCallScreen.native.tsx +3 -2
  293. package/template/src/pages/video-call/VideoCallScreen.tsx +113 -66
  294. package/template/src/pages/video-call/VideoComponent.tsx +53 -5
  295. package/template/src/pages/video-call/VideoRenderer.tsx +309 -52
  296. package/template/src/pages/video-call/VisibilitySensor.tsx +104 -0
  297. package/template/src/pages/video-call/ZoomableWrapper.native.tsx +34 -0
  298. package/template/src/pages/video-call/ZoomableWrapper.tsx +5 -0
  299. package/template/src/pages/video-call/index.ts +2 -0
  300. package/template/src/rtm/RTMEngine.ts +9 -4
  301. package/template/src/rtm-events/constants.ts +20 -0
  302. package/template/src/rtm-events-api/Events.ts +2 -0
  303. package/template/src/rtm-events-api/LocalEvents.ts +8 -0
  304. package/template/src/selection.json +1 -0
  305. package/template/src/subComponents/ChatBubble.tsx +81 -64
  306. package/template/src/subComponents/ChatContainer.tsx +20 -13
  307. package/template/src/subComponents/ChatInput.ios.tsx +11 -2
  308. package/template/src/subComponents/ChatInput.tsx +12 -3
  309. package/template/src/subComponents/Checkbox.native.tsx +46 -46
  310. package/template/src/subComponents/Checkbox.tsx +7 -6
  311. package/template/src/subComponents/CopyJoinInfo.tsx +26 -11
  312. package/template/src/subComponents/EndcallPopup.tsx +83 -12
  313. package/template/src/subComponents/LanguageSelector.tsx +34 -30
  314. package/template/src/subComponents/LayoutIconButton.tsx +30 -8
  315. package/template/src/subComponents/LayoutIconDropdown.tsx +19 -3
  316. package/template/src/subComponents/Loading.tsx +60 -0
  317. package/template/src/subComponents/LocalAudioMute.tsx +106 -30
  318. package/template/src/subComponents/LocalEndCall.tsx +91 -15
  319. package/template/src/subComponents/LocalSwitchCamera.tsx +50 -11
  320. package/template/src/subComponents/LocalVideoMute.tsx +126 -32
  321. package/template/src/subComponents/LogoutButton.tsx +1 -1
  322. package/template/src/subComponents/NetworkQualityPill.tsx +14 -31
  323. package/template/src/subComponents/Recording.tsx +23 -6
  324. package/template/src/subComponents/RemoteAudioMute.tsx +3 -3
  325. package/template/src/subComponents/RemoteMutePopup.tsx +55 -14
  326. package/template/src/subComponents/RemoteVideoMute.tsx +3 -3
  327. package/template/src/subComponents/RemoveMeetingPopup.tsx +19 -6
  328. package/template/src/subComponents/RemoveScreensharePopup.tsx +20 -5
  329. package/template/src/subComponents/ScreenShareNotice.tsx +11 -6
  330. package/template/src/subComponents/SelectDevice.tsx +98 -32
  331. package/template/src/subComponents/SidePanelEnum.tsx +2 -0
  332. package/template/src/subComponents/SidePanelHeader.tsx +97 -63
  333. package/template/src/subComponents/ToastConfig.tsx +70 -61
  334. package/template/src/subComponents/caption/Caption.tsx +130 -0
  335. package/template/src/subComponents/caption/CaptionContainer.tsx +302 -0
  336. package/template/src/subComponents/caption/CaptionIcon.tsx +111 -0
  337. package/template/src/subComponents/caption/CaptionText.tsx +182 -0
  338. package/template/src/subComponents/caption/DownloadTranscriptBtn.tsx +65 -0
  339. package/template/src/subComponents/caption/LanguageSelectorPopup.tsx +192 -0
  340. package/template/src/subComponents/caption/Transcript.tsx +449 -0
  341. package/template/src/subComponents/caption/TranscriptIcon.tsx +123 -0
  342. package/template/src/subComponents/caption/TranscriptText.tsx +98 -0
  343. package/template/src/subComponents/caption/index.ts +3 -0
  344. package/template/src/subComponents/caption/proto/ptoto.js +91 -0
  345. package/template/src/subComponents/caption/proto/test.proto +23 -0
  346. package/template/src/subComponents/caption/useCaption.tsx +123 -0
  347. package/template/src/subComponents/caption/useCaptionWidth.ts +27 -0
  348. package/template/src/subComponents/caption/useSTTAPI.tsx +179 -0
  349. package/template/src/subComponents/caption/useStreamMessageUtils.native.ts +211 -0
  350. package/template/src/subComponents/caption/useStreamMessageUtils.ts +235 -0
  351. package/template/src/subComponents/caption/useTranscriptDownload.native.ts +68 -0
  352. package/template/src/subComponents/caption/useTranscriptDownload.ts +52 -0
  353. package/template/src/subComponents/caption/utils.ts +125 -0
  354. package/template/src/subComponents/chat/ChatParticipants.tsx +53 -17
  355. package/template/src/subComponents/livestream/CurrentLiveStreamRequestsView.tsx +11 -13
  356. package/template/src/subComponents/livestream/controls/LocalRaiseHand.tsx +33 -9
  357. package/template/src/subComponents/livestream/controls/RemoteLiveStreamApprovedRequestRecall.tsx +1 -0
  358. package/template/src/subComponents/livestream/controls/RemoteLiveStreamRequestApprove.tsx +10 -6
  359. package/template/src/subComponents/livestream/controls/RemoteLiveStreamRequestReject.tsx +28 -19
  360. package/template/src/subComponents/recording/useRecording.tsx +49 -20
  361. package/template/src/subComponents/recording/useRecordingLayoutQuery.tsx +0 -1
  362. package/template/src/subComponents/screenshare/ScreenshareButton.tsx +29 -10
  363. package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +270 -66
  364. package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +182 -95
  365. package/template/src/subComponents/screenshare/useScreenshare.tsx +2 -0
  366. package/template/src/subComponents/waiting-rooms/WaitingRoomControls.tsx +85 -0
  367. package/template/src/subComponents/waiting-rooms/useWaitingRoomAPI.ts +75 -0
  368. package/template/src/theme/index.ts +9 -0
  369. package/template/src/utils/SdkEvents.ts +14 -0
  370. package/template/src/utils/SdkMethodEvents.ts +23 -3
  371. package/template/src/utils/axiomLogger.ts +117 -0
  372. package/template/src/utils/book.jpg +0 -0
  373. package/template/src/utils/common.tsx +118 -6
  374. package/template/src/utils/endCallEveryOne.ts +7 -0
  375. package/template/src/utils/getCustomRoute.ts +7 -0
  376. package/template/src/utils/index.tsx +23 -0
  377. package/template/src/utils/useActionSheet.tsx +50 -0
  378. package/template/src/utils/useActiveSpeaker.ts +3 -7
  379. package/template/src/utils/useAppState.ts +17 -0
  380. package/template/src/utils/useAsyncEffect.ts +138 -0
  381. package/template/src/utils/useCreateRoom.ts +8 -12
  382. package/template/src/utils/useDisableButton.tsx +37 -0
  383. package/template/src/utils/useFindActiveSpeaker.native.ts +4 -0
  384. package/template/src/utils/useFindActiveSpeaker.ts +335 -0
  385. package/template/src/utils/useIsLocalUserSpeaking.native.ts +4 -0
  386. package/template/src/utils/useIsLocalUserSpeaking.ts +98 -0
  387. package/template/src/utils/useJoinRoom.ts +97 -36
  388. package/template/src/utils/useMuteToggleLocal.ts +114 -96
  389. package/template/src/utils/useString.ts +13 -3
  390. package/template/static.d.ts +42 -0
  391. package/template/tsconfig_rsdk_index.json +3 -3
  392. package/template/tsconfig_wsdk_index.json +1 -1
  393. package/template/web/index.html +20 -0
  394. package/template/webpack.commons.js +21 -10
  395. package/template/webpack.web.config.js +7 -3
  396. package/template/_buckconfig +0 -6
  397. package/template/_gitattributes +0 -1
  398. package/template/android/app/_BUCK +0 -55
  399. package/template/android/app/build_defs.bzl +0 -19
  400. package/template/ios/HelloWorld/AppDelegate.m +0 -74
  401. package/template/src/components/OAuth.electron.tsx +0 -41
  402. package/template/src/components/OAuth.native.tsx +0 -55
  403. package/template/src/components/OAuth.tsx +0 -30
  404. package/template/src/components/OAuthConfig.ts +0 -77
  405. package/template/src/components/Settings.native.tsx +0 -21
  406. package/template/src/components/StoreToken.tsx +0 -39
@@ -1,4 +1,33 @@
1
1
  import {I18nBaseType, I18nConditionalType, I18nDynamicType} from '../i18nTypes';
2
+ import {room} from './createScreenLabels';
3
+
4
+ export interface deviceDetectionToastSubHeadingDataInterface {
5
+ name: string;
6
+ label: string;
7
+ }
8
+
9
+ export type sttSpokenLanguageToastHeadingDataType = 'Set' | 'Changed';
10
+ export interface sttSpokenLanguageToastSubHeadingDataInterface {
11
+ action: sttSpokenLanguageToastHeadingDataType;
12
+ newLanguage: string;
13
+ oldLanguage: string;
14
+ username: string;
15
+ }
16
+
17
+ export type whiteboardFileUploadToastDataType = 'File' | 'Image';
18
+ export interface publicChatToastSubHeadingDataInterface {
19
+ count: number;
20
+ from: string;
21
+ }
22
+ export interface privateChatToastHeadingDataInterface {
23
+ count: number;
24
+ }
25
+
26
+ export interface publicAndPrivateChatToastSubHeadingDataInterface {
27
+ publicChatCount: number;
28
+ privateChatCount: number;
29
+ from: string;
30
+ }
2
31
  interface NetworkQualityStatusInterface {
3
32
  unknown?: 'Unknown';
4
33
  excellent?: 'Excellent';
@@ -26,166 +55,1116 @@ export interface MeetingInviteInterface {
26
55
  attendee?: string;
27
56
  };
28
57
  }
58
+
59
+ export enum I18nMuteType {
60
+ audio = 'audio',
61
+ video = 'video',
62
+ }
63
+
64
+ export interface I18nRequestConfirmation {
65
+ name: string;
66
+ type: I18nMuteType;
67
+ }
68
+ export interface I18nMuteConfirmation {
69
+ name: string;
70
+ type: I18nMuteType;
71
+ }
72
+
73
+ export enum I18nDeviceStatus {
74
+ PERMISSION_DENIED = -1,
75
+ OFF = 0,
76
+ ON = 1,
77
+ }
78
+
79
+ export const toolbarItemPeopleText = 'toolbarItemPeopleText';
80
+ export const toolbarItemChatText = 'toolbarItemChatText';
81
+ export const toolbarItemSettingText = 'toolbarItemSettingText';
82
+
83
+ export const toolbarItemLayoutText = 'toolbarItemLayoutText';
84
+ export const toolbarItemLayoutOptionGridText =
85
+ 'toolbarItemLayoutOptionGridText';
86
+ export const toolbarItemLayoutOptionSidebarText =
87
+ 'toolbarItemLayoutOptionSidebarText';
88
+ export const toolbarItemInviteText = 'toolbarItemInviteText';
89
+
90
+ export const toolbarItemMicrophoneText = 'toolbarItemMicrophoneText';
91
+ export const toolbarItemMicrophoneTooltipText =
92
+ 'toolbarItemMicrophoneTooltipText';
93
+ export const toolbarItemCameraText = 'toolbarItemCameraText';
94
+ export const toolbarItemCameraTooltipText = 'toolbarItemCameraTooltipText';
95
+ export const toolbarItemSwitchCameraText = 'toolbarItemSwitchCameraText';
96
+ export const toolbarItemShareText = 'toolbarItemShareText';
97
+ export const toolbarItemRecordingText = 'toolbarItemRecordingText';
98
+ export const toolbarItemLeaveText = 'toolbarItemLeaveText';
99
+
100
+ export const toolbarItemMoreText = 'toolbarItemMoreText';
101
+ export const toolbarItemNoiseCancellationText =
102
+ 'toolbarItemNoiseCancellationText';
103
+ export const toolbarItemWhiteboardText = 'toolbarItemWhiteboardText';
104
+ export const toolbarItemCaptionText = 'toolbarItemCaptionText';
105
+ export const toolbarItemTranscriptText = 'toolbarItemTranscriptText';
106
+ export const toolbarItemVirtualBackgroundText =
107
+ 'toolbarItemVirtualBackgroundText';
108
+
109
+ export const toolbarItemRaiseHandText = 'toolbarItemRaiseHandText';
110
+
111
+ export const inviteTileWelcomeText = 'inviteTileWelcomeText';
112
+ export const inviteTileNoElseJoinedYetText = 'inviteTileNoElseJoinedYetText';
113
+ export const inviteTileCopyInviteBtnText = 'inviteTileCopyInviteBtnText';
114
+
115
+ export const settingPanelNameCantbeChangedInfo =
116
+ 'settingPanelNameCantbeChangedInfo';
117
+ export const settingPanelNameInputLabel = 'settingPanelNameInputLabel';
118
+
119
+ export const invitePopupHeading = 'invitePopupHeading';
120
+ export const invitePopupPrimaryBtnText = 'invitePopupPrimaryBtnText';
121
+
122
+ export const PSTNUserLabel = 'pstnUserLabel';
123
+
124
+ export const vbPanelApplyBtnText = 'vbPanelApplyBtnText';
125
+ export const vbPanelAppliedBtnText = 'vbPanelAppliedBtnText';
126
+
127
+ export const videoTileNetworkQuailtyLabel = 'videoTileNetworkQuailtyLabel';
128
+
129
+ export const nativeScreensharePopupHeading = 'nativeScreensharePopupHeading';
130
+ export const nativeScreensharePopupSubHeading =
131
+ 'nativeScreensharePopupSubHeading';
132
+ export const nativeScreensharePopupPrimaryBtnText =
133
+ 'nativeScreensharePopupPrimaryBtnText';
134
+ export const nativeScreensharePopupIncludeDeviceAudioText =
135
+ 'nativeScreensharePopupIncludeDeviceAudioText';
136
+
137
+ export const nativeStopScreensharePopupHeading =
138
+ 'nativeStopScreensharePopupHeading';
139
+ export const nativeStopScreensharePopupSubHeading =
140
+ 'nativeStopScreensharePopupSubHeading';
141
+ export const nativeStopScreensharePopupPrimaryBtnText =
142
+ 'nativeStopScreensharePopupPrimaryBtnText';
143
+
144
+ export const stopRecordingPopupHeading = 'stopRecordingPopupHeading';
145
+ export const stopRecordingPopupSubHeading = 'stopRecordingPopupSubHeading';
146
+ export const stopRecordingPopupPrimaryBtnText =
147
+ 'stopRecordingPopupPrimaryBtnText';
148
+
149
+ export const clearAllWhiteboardPopupHeading = 'clearAllWhiteboardPopupHeading';
150
+ export const clearAllWhiteboardPopupSubHeading =
151
+ 'clearAllWhiteboardPopupSubHeading';
152
+ export const clearAllWhiteboardPopupPrimaryBtnText =
153
+ 'clearAllWhiteboardPopupPrimaryBtnText';
154
+
155
+ export const leavePopupHeading = `leave${room}PopupHeading`;
156
+ export const leavePopupSubHeading = `leave${room}PopupSubHeading`;
157
+ export const leavePopupPrimaryBtnText = `leave${room}PopupPrimaryBtnText`;
158
+
159
+ export const removeUserFromRoomPopupHeading = `removeUserFrom${room}PopupHeading`;
160
+ export const removeUserFromRoomPopupSubHeading = `removeUserFrom${room}PopupSubHeading`;
161
+ export const removeUserFromRoomPopupPrimaryBtnText = `removeUserFrom${room}PopupPrimaryBtnText`;
162
+
163
+ export const removeScreenshareFromRoomPopupHeading = `removeScreenshareFrom${room}PopupHeading`;
164
+ export const removeScreenshareFromRoomPopupSubHeading = `removeScreenshareFrom${room}PopupSubHeading`;
165
+ export const removeScreenshareFromRoomPopupPrimaryBtnText = `removeScreenshareFrom${room}PopupPrimaryBtnText`;
166
+
167
+ export const stt = 'stt';
168
+
169
+ export const sttChangeLanguagePopupHeading = `${stt}ChangeSpokenLanguagePopupHeading`;
170
+ export const sttChangeLanguagePopupSubHeading = `${stt}ChangeSpokenLanguagePopupSubHeading`;
171
+ export const sttChangeLanguagePopupDropdownError = `${stt}ChangeSpokenLanguagePopupDropdownError`;
172
+ export const sttChangeLanguagePopupDropdownInfo = `${stt}ChangeSpokenLanguagePopupDropdownInfo`;
173
+ export const sttChangeLanguagePopupPrimaryBtnText = `${stt}ChangeSpokenLanguagePopupPrimaryBtnText`;
174
+
175
+ export const sttChangeSpokenLanguageText = `${stt}ChangeSpokenLanguageText`;
176
+ export const sttSettingSpokenLanguageText = `${stt}SettingSpokenLanguageText`;
177
+ export const sttTranscriptPanelHeaderText = `${stt}TranscriptPanelHeaderText`;
178
+ export const sttDownloadBtnText = `${stt}DownloadBtnText`;
179
+ export const sttDownloadTranscriptBtnText = `${stt}DownloadTranscriptBtnText`;
180
+ export const sttLanguageChangeInProgress = `${stt}LanguageChangeInProgress`;
181
+
182
+ export const chatPanelGroupTabText = 'chatPanelGroupTabText';
183
+ export const chatPanelPrivateTabText = 'chatPanelPrivateTabText';
184
+
185
+ export const groupChatWelcomeContent = 'groupChatWelcomeContent';
186
+
187
+ export const peoplePanelHeaderText = 'peoplePanelHeaderText';
188
+
189
+ export const groupChatInputPlaceHolderText = 'groupChatInputPlaceHolderText';
190
+ export const privateChatInputPlaceHolderText =
191
+ 'privateChatInputPlaceHolderText';
192
+
193
+ export const peoplePanelTurnoffAllCameraBtnText =
194
+ 'peoplePanelTurnoffAllCameraBtnText';
195
+ export const peoplePanelMuteAllMicBtnText = 'peoplePanelMuteAllMicBtnText';
196
+
197
+ export const peoplePanelHostSectionHeaderText =
198
+ 'peoplePanelHostSectionHeaderText';
199
+ export const peoplePanelAudienceSectionHeaderText =
200
+ 'peoplePanelAudienceSectionHeaderText';
201
+
202
+ export const peoplePanelInThisMeetingLabel = 'peoplePanelInThisMeetingLabel';
203
+ export const peoplePanelNoHostJoinedContent = 'peoplePanelNoHostJoinedContent';
204
+ export const peoplePanelNoUsersJoinedContent =
205
+ 'peoplePanelNoUsersJoinedContent';
206
+ export const peoplePanelNoAudienceJoinedContent =
207
+ 'peoplePanelNoAudienceJoinedContent';
208
+
209
+ export const moreBtnViewWhiteboard = 'moreBtnViewWhiteboard';
210
+ export const moreBtnViewInLarge = 'moreBtnViewInLarge';
211
+ export const moreBtnRemoveFromLarge = 'moreBtnRemoveFromLarge';
212
+ export const moreBtnPinToTop = 'moreBtnPinToTop';
213
+ export const moreBtnRemoveFromTop = 'moreBtnRemoveFromTop';
214
+ export const moreBtnMessagePrivately = 'moreBtnMessagePrivately';
215
+
216
+ export const moreBtnAudio = 'moreBtnAudio';
217
+ export const moreBtnVideo = 'moreBtnVideo';
218
+
219
+ export const moreBtnAddAsPresenter = 'moreBtnAddAsPresenter';
220
+ export const moreBtnRemoveAsPresenter = 'moreBtnRemoveAsPresenter';
221
+
222
+ export const moreBtnRemoveFromRoom = 'moreBtnRemoveFromRoom';
223
+ export const moreBtnChangeName = 'moreBtnChangeName';
224
+ export const moreBtnStopScreenShare = 'moreBtnStopScreenShare';
225
+ export const moreBtnRemoveScreenShare = 'moreBtnRemoveScreenShare';
226
+
227
+ export const muteAllConfirmationPopoverContent =
228
+ 'muteAllConfirmationPopoverContent';
229
+ export const muteAllConfirmationPopoverPrimaryBtnText =
230
+ 'muteAllConfirmationPopoverPrimaryBtnText';
231
+
232
+ export const muteConfirmationPopoverContent = 'muteConfirmationPopoverContent';
233
+ export const muteConfirmationPopoverPrimaryBtnText =
234
+ 'muteConfirmationPopoverPrimaryBtnText';
235
+
236
+ export const requestConfirmationPopoverContent =
237
+ 'requestConfirmationPopoverContent';
238
+ export const requestConfirmationPopoverPrimaryBtnText =
239
+ 'requestConfirmationPopoverPrimaryBtnText';
240
+
241
+ export const peoplePanelWantToJoinText = 'peoplePanelWantToJoinText';
242
+ export const peoplePanelWaitingText = 'peoplePanelWaitingText';
243
+
244
+ export const livestreamingAttendeeRaiseHandInfoHeading =
245
+ 'livestreamingAttendeeRaiseHandInfoHeading';
246
+ export const livestreamingAttendeeRaiseHandInfoSubHeading =
247
+ 'livestreamingAttendeeRaiseHandInfoSubHeading';
248
+
249
+ export const livestreamingAttendeeChatWithOthersInfoHeading =
250
+ 'livestreamingAttendeeChatWithOthersInfoHeading';
251
+ export const livestreamingAttendeeChatWithOthersInfoSubHeading =
252
+ 'livestreamingAttendeeChatWithOthersInfoSubHeading';
253
+
254
+ export const livestreamingAttendeePresentYourScreenInfoHeading =
255
+ 'livestreamingAttendeePresentYourScreenInfoHeading';
256
+ export const livestreamingAttendeePresentYourScreenInfoSubHeading =
257
+ 'livestreamingAttendeePresentYourScreenInfoSubHeading';
258
+
259
+ export const livestreamingAttendeeJoinWithActivitiesInfoHeading =
260
+ 'livestreamingAttendeeJoinWithActivitiesInfoHeading';
261
+ export const livestreamingAttendeeJoinWithActivitiesInfoSubHeading =
262
+ 'livestreamingAttendeeJoinWithActivitiesInfoSubHeading';
263
+
264
+ export const livestreamingAttendeeInviteOthersText =
265
+ 'livestreamingAttendeeInviteOthersText';
266
+
267
+ export const livestreamingAttendeeWhatYouCanDoText =
268
+ 'livestreamingAttendeeWhatYouCanDoText';
269
+
270
+ export const livestreamingAttendeeWaitingForHostToJoinText =
271
+ 'livestreamingAttendeeWaitingForHostToJoinText';
272
+
273
+ export const publicChatToastHeading = 'publicChatToastHeading';
274
+
275
+ export const multiplePublicChatToastHeading = 'multiplePublicChatToastHeading';
276
+ export const multiplePublicChatToastSubHeading =
277
+ 'multiplePublicChatToastSubHeading';
278
+
279
+ export const privateChatToastHeading = 'privateChatToastHeading';
280
+ export const multiplePrivateChatToastHeading =
281
+ 'multiplePrivateChatToastHeading';
282
+
283
+ export const multiplePublicAndPrivateChatToastHeading =
284
+ 'multiplePublicAndPrivateChatToastHeading';
285
+ export const multiplePublicAndPrivateChatToastSubHeading =
286
+ 'multiplePublicAndPrivateChatToastSubHeading';
287
+
288
+ export const livestreamToastApprovalBtnText = 'livestreamToastApprovalBtnText';
289
+ export const livestreamToastDenyBtnText = 'livestreamToastDenyBtnText';
290
+
291
+ export const livestreamRaiseHandRequestToastHeading =
292
+ 'livestreamRaiseHandRequestToastHeading';
293
+
294
+ export const livestreamRaiseHandRequestToastSubHeading =
295
+ 'livestreamRaiseHandRequestToastSubHeading';
296
+
297
+ export const livestreamRaiseHandRequestReceivedToastHeading =
298
+ 'livestreamRaiseHandRequestReceivedToastHeading';
299
+
300
+ export const livestreamRaiseHandRequestReceivedToastSubHeading =
301
+ 'livestreamRaiseHandRequestReceivedToastSubHeading';
302
+
303
+ export const livestreamRaiseHandRequestAcceptedToastHeading =
304
+ 'livestreamRaiseHandRequestAcceptedToastHeading';
305
+ export const livestreamRaiseHandRequestAcceptedToastSubHeading =
306
+ 'livestreamRaiseHandRequestAcceptedToastSubHeading';
307
+
308
+ export const livestreamRaiseHandRequestRejectedToastHeading =
309
+ 'livestreamRaiseHandRequestRejectedToastHeading';
310
+
311
+ export const livestreamRaiseHandRequestRecallToastHeading =
312
+ 'livestreamRaiseHandRequestRecallToastHeading';
313
+
314
+ export const livestreamRaiseHandRequestRecallLocalToastHeading =
315
+ 'livestreamRaiseHandRequestRecallLocalToastHeading';
316
+
317
+ export const livestreamRaiseHandApprovedRequestRecallToastHeading =
318
+ 'livestreamRaiseHandApprovedRequestRecallToastHeading';
319
+
320
+ export const livestreamPromoteAsCoHostToastHeading =
321
+ 'livestreamPromoteAsCoHostToastHeading';
322
+
323
+ export const livestreamRequestAlreadyProcessed =
324
+ 'livestreamRequestAlreadyProcessed';
325
+
326
+ export const videoRoomUserFallbackText = `video${room}UserFallbackText`;
327
+
328
+ export const peoplePanelMeText = 'peoplePanelMeText';
329
+ export const peoplePanelPresenterText = 'peoplePanelPresenterText';
330
+
331
+ export const userRemovedFromTheRoomToastHeading = `userRemovedFromThe${room}ToastHeading`;
332
+
333
+ export const vbPanelImageUploadErrorToastHeading =
334
+ 'vbPanelImageUploadErrorToastHeading';
335
+ export const vbPanelImageUploadErrorToastSubHeading =
336
+ 'vbPanelImageUploadErrorToastSubHeading';
337
+ export const vbPanelImageTypeErrorToastHeading =
338
+ 'vbPanelImageTypeErrorToastHeading';
339
+ export const vbPanelImageTypeErrorToastSubHeading =
340
+ 'vbPanelImageTypeErrorToastSubHeading';
341
+ export const vbPanelImageSizeLimitErrorToastHeading =
342
+ 'vbPanelImageSizeLimitErrorToastHeading';
343
+ export const vbPanelImageSizeLimitErrorToastSubHeading =
344
+ 'vbPanelImageSizeLimitErrorToastSubHeading';
345
+
346
+ export const whiteboardToolboxWidthLabel = 'whiteboardToolboxWidthLabel';
347
+ export const whiteboardToolboxPxLabel = 'whiteboardToolboxPxLabel';
348
+ export const whiteboardInitializingText = 'whiteboardInitializingText';
349
+ export const whiteboardExportErrorToastHeading =
350
+ 'whiteboardExportErrorToastHeading';
351
+ export const whiteboardExportInfoToastHeading =
352
+ 'whiteboardExportInfoToastHeading';
353
+ export const whiteboardExportSuccessToastHeading =
354
+ 'whiteboardExportSuccessToastHeading';
355
+ export const whiteboardWidgetViewOnlyText = 'whiteboardWidgetViewOnlyText';
356
+ export const whiteboardWidgetExportToCloudText =
357
+ 'whiteboardWidgetExportToCloudText';
358
+ export const whiteboardWidgetZoomInText = 'whiteboardWidgetZoomInText';
359
+ export const whiteboardWidgetZoomOutText = 'whiteboardWidgetZoomOutText';
360
+ export const whiteboardWidgetFitToScreenText =
361
+ 'whiteboardWidgetFitToScreenText';
362
+ export const whiteboardWidgetUndoText = 'whiteboardWidgetUndoText';
363
+ export const whiteboardWidgetRedoText = 'whiteboardWidgetRedoText';
364
+
365
+ export const whiteboardFileUploadErrorToastHeading =
366
+ 'whiteboardFileUploadErrorToastHeading';
367
+ export const whiteboardFileUploadInfoToastHeading =
368
+ 'whiteboardFileUploadInfoToastHeading';
369
+ export const whiteboardFileUploadTypeErrorToastHeading =
370
+ 'whiteboardFileUploadTypeErrorToastHeading';
371
+ export const whiteboardFileUploadTypeErrorToastSubHeading =
372
+ 'whiteboardFileUploadTypeErrorToastSubHeading';
373
+
374
+ export const whiteboardToolboxSelectText = 'whiteboardToolboxSelectText';
375
+ export const whiteboardToolboxTextFormatting =
376
+ 'whiteboardToolboxTextFormatting';
377
+ export const whiteboardToolboxMoveText = 'whiteboardToolboxMoveText';
378
+ export const whiteboardToolboxLaserText = 'whiteboardToolboxLaserText';
379
+ export const whiteboardToolboxEraseText = 'whiteboardToolboxEraseText';
380
+ export const whiteboardToolboxUploadText = 'whiteboardToolboxUploadText';
381
+ export const whiteboardToolboxClearAllText = 'whiteboardToolboxClearAllText';
382
+
383
+ export const sttSpokenLanguageToastHeading = `${stt}SpokenLanguageToastHeading`;
384
+ export const sttSpokenLanguageToastSubHeading = `${stt}SpokenLanguageToastSubHeading`;
385
+
386
+ export const deviceDetectionToastHeading = 'deviceDetectionToastHeading';
387
+ export const deviceDetectionToastSubHeading = 'deviceDetectionToastSubHeading';
388
+ export const deviceDetectionPrimaryBtnText = 'deviceDetectionPrimaryBtnText';
389
+ export const deviceDetectionSecondaryBtnText =
390
+ 'deviceDetectionSecondaryBtnText';
391
+ export const deviceDetectionCheckboxText = 'deviceDetectionCheckboxText';
392
+
393
+ export const hostMutedUserToastHeading = 'hostMutedUserToastHeading';
394
+ export const hostRequestedUserToastHeading = 'hostRequestedUserToastHeading';
395
+ export const hostRequestedUserToastPrimaryBtnText =
396
+ 'hostRequestedUserToastPrimaryBtnText';
397
+ export const hostRequestedUserToastSecondaryBtnText =
398
+ 'hostRequestedUserToastSecondaryBtnText';
399
+
400
+ export const hostRemovedUserToastHeading = 'hostRemovedUserToastHeading';
401
+
402
+ export const waitingRoomApprovalRequiredToastHeading =
403
+ 'waitingRoomApprovalRequiredToastHeading';
404
+ export const waitingRoomApprovalRequiredToastSubHeading =
405
+ 'waitingRoomApprovalRequiredToastSubHeading';
406
+ export const waitingRoomApprovalRequiredPrimaryBtnText =
407
+ 'waitingRoomApprovalRequiredPrimaryBtnText';
408
+ export const waitingRoomApprovalRequiredSecondaryBtnText =
409
+ 'waitingRoomApprovalRequiredSecondaryBtnText';
410
+
411
+ export const waitingRoomApprovalRejectionToastHeading =
412
+ 'waitingRoomApprovalRejectionToastHeading';
413
+ export const waitingRoomApprovalRejectionToastSubHeading =
414
+ 'waitingRoomApprovalRejectionToastSubHeading';
415
+
416
+ export const videoRoomRecordingText = `video${room}RecordingText`;
417
+ export const videoRoomGoToActiveSpeakerText = `video${room}GoToActiveSpeakerText`;
418
+ export const videoRoomScreenshareText = `video${room}ScreenshareText`;
419
+ export const videoRoomStartingCallText = `video${room}StartingCallText`;
420
+ export const videoRoomScreenshareOverlayText = `video${room}ScreenshareOverlayText`;
421
+ export const videoRoomScreenshareStopSharingBtnText = `video${room}ScreenshareStopSharingBtnText`;
422
+
423
+ export const chatPanelUserOfflineText = 'chatPanelUserOfflineText';
424
+ export const chatPanelUnreadMessageText = 'chatPanelUnreadMessageText';
425
+
426
+ export const livestreamingMicrophoneTooltipText =
427
+ 'livestreamingMicrophoneTooltipText';
428
+ export const livestreamingCameraTooltipText = 'livestreamingCameraTooltipText';
429
+ export const livestreamingShareTooltipText = 'livestreamingShareTooltipText';
430
+
431
+ export const peoplePanelWaitingRoomRequestApprovalBtnTxt =
432
+ 'peoplePanelWaitingRoomRequestApprovalBtnTxt';
433
+ export const peoplePanelWaitingRoomRequestDenyBtnTxt =
434
+ 'peoplePanelWaitingRoomRequestDenyBtnTxt';
435
+
436
+ export const videoRoomScreenShareErrorToastHeading = `video${room}ScreenShareErrorToastHeading`;
437
+ export const videoRoomScreenShareErrorToastSubHeading = `video${room}ScreenShareErrorToastSubHeading`;
438
+
439
+ export const videoRoomRecordingToastHeading = `video${room}RecordingToastHeading`;
440
+ export const videoRoomRecordingToastSubHeading = `video${room}RecordingToastSubHeading`;
441
+
442
+ export const peoplePanelUserNotFoundLabel = 'peoplePanelUserNotFoundLabel';
443
+ export const peoplePanelStreamingRequestSectionHeader =
444
+ 'peoplePanelStreamingRequestSectionHeader';
445
+ export const peoplePanelLivestreamingApprovalBtnText =
446
+ 'peoplePanelLivestreamingApprovalBtnText';
447
+ export const peoplePanelLivestreamingDenyBtnText =
448
+ 'peoplePanelLivestreamingDenyBtnText';
449
+
450
+ export const sttTranscriptPanelSearchText = `${stt}TranscriptPanelSearchText`;
451
+ export const sttTranscriptPanelNoSearchResultsFoundText = `${stt}TranscriptPanelNoSearchResultsFoundText`;
452
+ export const sttTranscriptPanelViewLatestText = `${stt}TranscriptPanelViewLatestText`;
453
+
454
+ export const videoRoomPeopleCountTooltipHostText = `video${room}PeopleCountTooltipHostText`;
455
+ export const videoRoomPeopleCountTooltipAttendeeText = `video${room}PeopleCountTooltipAttendeeText`;
456
+
29
457
  export interface I18nVideoCallScreenLabelsInterface {
30
- //commented for v1 release
31
- // toggleVideoButton?: I18nBaseType; //
32
- // toggleAudioButton?: I18nBaseType; //
33
- // screenShareButton?: I18nBaseType; //
34
- // recordingNotificationLabel?: I18nConditionalType;
35
- // endCallButton?: I18nBaseType; //
36
- // participantsLabel?: I18nBaseType; //
37
- // groupChatLabel?: I18nBaseType; //
38
- // privateChatLabel?: I18nBaseType; //
39
- // chatMessageInputPlaceholder?: I18nBaseType; //
40
- // hostControlsLabel?: I18nBaseType; //
41
- // muteAllVideoButton?: I18nBaseType; //
42
- // muteAllAudioButton?: I18nBaseType; //
43
- // switchCameraButton?: I18nBaseType; //
44
- // localScreenshareDefaultLabel?: I18nBaseType; //
45
- // localUserDefaultLabel?: I18nBaseType; //
46
- // remoteUserDefaultLabel?: I18nBaseType; //
47
- pstnUserLabel?: I18nBaseType; //
48
- // commented for v1 release
49
- // authenticationSuccessLabel?: I18nBaseType; //
50
- // meetingCreatedNotificationLabel?: I18nBaseType; //
51
- // joiningLoaderLabel?: I18nBaseType; //
52
- // oauthLoginLabel?: I18nBaseType; //
53
- // oauthProviderLabel?: I18nBaseType; //
54
- // copyMeetingInviteButton?: I18nBaseType; //
55
- // pin?: I18nBaseType;
56
- // language?: I18nBaseType;
57
- // screensharingActiveOverlayLabel?: I18nBaseType; //
58
- // recordingButton?: I18nConditionalType; //
59
- // screenshareUserName?: I18nDynamicType; //
60
- // messageSenderNotificationLabel?: I18nDynamicType; //
61
- // networkQualityLabel?: I18nBaseType<NetworkQualities>; //
62
- // meetingInviteText?: I18nBaseType<MeetingInviteInterface>; //
63
- // participantListPlaceholder?: I18nBaseType; //
64
- // raisedHandsListPlaceholder?: I18nBaseType; //
65
- // raisedHandsListTitleLabel?: I18nBaseType; //
66
- // hostLabel?: I18nBaseType; //
67
- // audienceLabel?: I18nBaseType; //
68
- // raiseHandButton?: I18nConditionalType; //
69
- // noUserFoundLabel?: I18nBaseType;
70
- // userOfflineLabel?: I18nBaseType;
71
- // raiseHandLocalNotification?: I18nBaseType; //
72
- // raiseHandRemoteHostNotification?: I18nConditionalType; //
73
- // raiseHandApprovedLocalNotification?: I18nBaseType; //
74
- // raiseHandRejectedLocalNotification?: I18nBaseType; //
75
- // lowerHandRemoteHostNotification?: I18nConditionalType; //
76
- // lowerHandsLocalNotification?: I18nBaseType; //
77
- // raiseHandRevokedLocalNotification?: I18nBaseType; //
78
- // recordingLabel?: I18nBaseType;
79
- // settingScreenInfoMessage?: I18nBaseType;
80
- // chatLabel?: I18nBaseType;
81
- // settingsLabel?: I18nBaseType;
82
- // layoutLabel?: I18nBaseType;
458
+ [toolbarItemPeopleText]?: I18nBaseType;
459
+ [toolbarItemChatText]?: I18nBaseType;
460
+ [toolbarItemSettingText]?: I18nBaseType;
461
+
462
+ [toolbarItemLayoutText]?: I18nBaseType;
463
+ [toolbarItemInviteText]?: I18nBaseType;
464
+
465
+ [toolbarItemMicrophoneText]?: I18nBaseType<I18nDeviceStatus>;
466
+ [toolbarItemMicrophoneTooltipText]?: I18nBaseType<I18nDeviceStatus>;
467
+ [toolbarItemCameraText]?: I18nBaseType<I18nDeviceStatus>;
468
+ [toolbarItemCameraTooltipText]?: I18nBaseType<I18nDeviceStatus>;
469
+ [toolbarItemSwitchCameraText]?: I18nBaseType;
470
+
471
+ [toolbarItemShareText]?: I18nConditionalType;
472
+ [toolbarItemRecordingText]?: I18nConditionalType;
473
+ [toolbarItemLeaveText]?: I18nBaseType;
474
+
475
+ [toolbarItemMoreText]?: I18nBaseType;
476
+
477
+ [toolbarItemNoiseCancellationText]?: I18nBaseType;
478
+ [toolbarItemWhiteboardText]?: I18nConditionalType;
479
+ [toolbarItemCaptionText]?: I18nConditionalType;
480
+ [toolbarItemTranscriptText]?: I18nConditionalType;
481
+ [toolbarItemVirtualBackgroundText]?: I18nBaseType;
482
+
483
+ [toolbarItemRaiseHandText]?: I18nConditionalType;
484
+
485
+ [inviteTileWelcomeText]?: I18nBaseType;
486
+ [inviteTileNoElseJoinedYetText]?: I18nBaseType;
487
+ [inviteTileCopyInviteBtnText]?: I18nBaseType;
488
+
489
+ [settingPanelNameCantbeChangedInfo]?: I18nBaseType;
490
+ [settingPanelNameInputLabel]?: I18nBaseType;
491
+
492
+ [invitePopupHeading]?: I18nBaseType;
493
+ [invitePopupPrimaryBtnText]?: I18nBaseType;
494
+
495
+ [PSTNUserLabel]?: I18nBaseType; //
496
+
497
+ [vbPanelApplyBtnText]?: I18nBaseType;
498
+ [vbPanelAppliedBtnText]?: I18nBaseType;
499
+
500
+ [videoTileNetworkQuailtyLabel]?: I18nBaseType<NetworkQualities>; //
501
+
502
+ [toolbarItemLayoutOptionGridText]?: I18nBaseType;
503
+ [toolbarItemLayoutOptionSidebarText]?: I18nBaseType;
504
+
505
+ [nativeScreensharePopupHeading]?: I18nBaseType;
506
+ [nativeScreensharePopupSubHeading]?: I18nConditionalType;
507
+ [nativeScreensharePopupPrimaryBtnText]?: I18nBaseType;
508
+ [nativeScreensharePopupIncludeDeviceAudioText]?: I18nBaseType;
509
+
510
+ [nativeStopScreensharePopupHeading]?: I18nBaseType;
511
+ [nativeStopScreensharePopupSubHeading]?: I18nBaseType;
512
+ [nativeStopScreensharePopupPrimaryBtnText]?: I18nBaseType;
513
+
514
+ [stopRecordingPopupHeading]?: I18nBaseType;
515
+ [stopRecordingPopupSubHeading]?: I18nBaseType;
516
+ [stopRecordingPopupPrimaryBtnText]?: I18nBaseType;
517
+
518
+ [clearAllWhiteboardPopupHeading]?: I18nBaseType;
519
+ [clearAllWhiteboardPopupSubHeading]?: I18nBaseType;
520
+ [clearAllWhiteboardPopupPrimaryBtnText]?: I18nBaseType;
521
+
522
+ [leavePopupHeading]?: I18nBaseType;
523
+ [leavePopupSubHeading]?: I18nConditionalType;
524
+ [leavePopupPrimaryBtnText]?: I18nBaseType;
525
+
526
+ [removeUserFromRoomPopupHeading]?: I18nDynamicType;
527
+ [removeUserFromRoomPopupSubHeading]?: I18nDynamicType;
528
+ [removeUserFromRoomPopupPrimaryBtnText]?: I18nBaseType;
529
+
530
+ [removeScreenshareFromRoomPopupHeading]?: I18nBaseType;
531
+ [removeScreenshareFromRoomPopupSubHeading]?: I18nDynamicType;
532
+ [removeScreenshareFromRoomPopupPrimaryBtnText]?: I18nBaseType;
533
+
534
+ [sttChangeLanguagePopupHeading]?: I18nConditionalType;
535
+ [sttChangeLanguagePopupSubHeading]?: I18nBaseType;
536
+ [sttChangeLanguagePopupDropdownError]?: I18nBaseType;
537
+ [sttChangeLanguagePopupDropdownInfo]?: I18nBaseType;
538
+ [sttChangeLanguagePopupPrimaryBtnText]?: I18nBaseType;
539
+
540
+ [sttChangeSpokenLanguageText]?: I18nBaseType;
541
+ [sttSettingSpokenLanguageText]?: I18nBaseType;
542
+ [sttTranscriptPanelHeaderText]?: I18nBaseType;
543
+ [sttDownloadBtnText]?: I18nBaseType;
544
+ [sttDownloadTranscriptBtnText]?: I18nBaseType;
545
+ [sttLanguageChangeInProgress]?: I18nBaseType;
546
+
547
+ [peoplePanelHeaderText]?: I18nBaseType;
548
+
549
+ [chatPanelGroupTabText]?: I18nBaseType;
550
+ [chatPanelPrivateTabText]?: I18nBaseType;
551
+
552
+ [groupChatWelcomeContent]?: I18nConditionalType;
553
+
554
+ [groupChatInputPlaceHolderText]?: I18nBaseType;
555
+ [privateChatInputPlaceHolderText]?: I18nBaseType;
556
+
557
+ [peoplePanelTurnoffAllCameraBtnText]?: I18nBaseType;
558
+ [peoplePanelMuteAllMicBtnText]?: I18nBaseType;
559
+
560
+ [peoplePanelHostSectionHeaderText]?: I18nBaseType;
561
+ [peoplePanelAudienceSectionHeaderText]?: I18nBaseType;
562
+ [peoplePanelInThisMeetingLabel]?: I18nBaseType;
563
+ [peoplePanelNoHostJoinedContent]?: I18nBaseType;
564
+ [peoplePanelNoUsersJoinedContent]?: I18nBaseType;
565
+ [peoplePanelNoAudienceJoinedContent]?: I18nBaseType;
566
+
567
+ [moreBtnViewWhiteboard]?: I18nBaseType;
568
+ [moreBtnViewInLarge]?: I18nBaseType;
569
+ [moreBtnRemoveFromLarge]?: I18nBaseType;
570
+ [moreBtnPinToTop]?: I18nBaseType;
571
+ [moreBtnRemoveFromTop]?: I18nBaseType;
572
+ [moreBtnMessagePrivately]?: I18nBaseType;
573
+ [moreBtnAudio]?: I18nConditionalType;
574
+ [moreBtnVideo]?: I18nConditionalType;
575
+ [moreBtnAddAsPresenter]?: I18nBaseType;
576
+ [moreBtnRemoveAsPresenter]?: I18nBaseType;
577
+ [moreBtnRemoveFromRoom]?: I18nBaseType;
578
+ [moreBtnChangeName]?: I18nBaseType;
579
+ [moreBtnStopScreenShare]?: I18nBaseType;
580
+ [moreBtnRemoveScreenShare]?: I18nBaseType;
581
+
582
+ [muteAllConfirmationPopoverContent]?: I18nBaseType<I18nMuteType>;
583
+ [muteAllConfirmationPopoverPrimaryBtnText]?: I18nBaseType;
584
+
585
+ [requestConfirmationPopoverContent]?: I18nBaseType<I18nRequestConfirmation>;
586
+ [requestConfirmationPopoverPrimaryBtnText]?: I18nBaseType;
587
+
588
+ [muteConfirmationPopoverContent]?: I18nBaseType<I18nMuteConfirmation>;
589
+ [muteConfirmationPopoverPrimaryBtnText]?: I18nBaseType;
590
+
591
+ [peoplePanelWantToJoinText]?: I18nBaseType;
592
+ [peoplePanelWaitingText]?: I18nBaseType;
593
+
594
+ [livestreamingAttendeeRaiseHandInfoHeading]?: I18nBaseType;
595
+ [livestreamingAttendeeRaiseHandInfoSubHeading]?: I18nBaseType;
596
+ [livestreamingAttendeeChatWithOthersInfoHeading]?: I18nBaseType;
597
+ [livestreamingAttendeeChatWithOthersInfoSubHeading]?: I18nBaseType;
598
+ [livestreamingAttendeePresentYourScreenInfoHeading]?: I18nBaseType;
599
+ [livestreamingAttendeePresentYourScreenInfoSubHeading]?: I18nBaseType;
600
+ [livestreamingAttendeeJoinWithActivitiesInfoHeading]?: I18nBaseType;
601
+ [livestreamingAttendeeJoinWithActivitiesInfoSubHeading]?: I18nBaseType;
602
+
603
+ [livestreamingAttendeeWaitingForHostToJoinText]?: I18nBaseType;
604
+ [livestreamingAttendeeWhatYouCanDoText]?: I18nBaseType;
605
+ [livestreamingAttendeeInviteOthersText]?: I18nBaseType;
606
+
607
+ [publicChatToastHeading]?: I18nBaseType;
608
+ [multiplePublicChatToastHeading]?: I18nBaseType;
609
+ [multiplePublicChatToastSubHeading]?: I18nBaseType<publicChatToastSubHeadingDataInterface>;
610
+
611
+ [privateChatToastHeading]?: I18nBaseType;
612
+ [multiplePrivateChatToastHeading]?: I18nBaseType<privateChatToastHeadingDataInterface>;
613
+
614
+ [multiplePublicAndPrivateChatToastHeading]?: I18nBaseType;
615
+ [multiplePublicAndPrivateChatToastSubHeading]?: I18nBaseType<publicAndPrivateChatToastSubHeadingDataInterface>;
616
+
617
+ [livestreamToastApprovalBtnText]?: I18nBaseType;
618
+ [livestreamToastDenyBtnText]?: I18nBaseType;
619
+
620
+ [livestreamRaiseHandRequestToastHeading]?: I18nBaseType;
621
+ [livestreamRaiseHandRequestToastSubHeading]?: I18nBaseType;
622
+
623
+ [livestreamRaiseHandRequestReceivedToastHeading]?: I18nBaseType;
624
+ [livestreamRaiseHandRequestReceivedToastSubHeading]?: I18nBaseType;
625
+
626
+ [livestreamRaiseHandRequestAcceptedToastHeading]?: I18nBaseType;
627
+ [livestreamRaiseHandRequestAcceptedToastSubHeading]?: I18nBaseType;
628
+
629
+ [livestreamRaiseHandRequestRejectedToastHeading]?: I18nBaseType;
630
+
631
+ [livestreamRaiseHandRequestRecallToastHeading]?: I18nBaseType;
632
+
633
+ [livestreamRaiseHandRequestRecallLocalToastHeading]?: I18nBaseType;
634
+
635
+ [livestreamRaiseHandApprovedRequestRecallToastHeading]?: I18nBaseType;
636
+
637
+ [livestreamPromoteAsCoHostToastHeading]?: I18nBaseType;
638
+
639
+ [livestreamRequestAlreadyProcessed]?: I18nBaseType;
640
+ [videoRoomUserFallbackText]?: I18nBaseType;
641
+
642
+ [peoplePanelMeText]?: I18nBaseType;
643
+ [peoplePanelPresenterText]?: I18nBaseType;
644
+ [userRemovedFromTheRoomToastHeading]?: I18nDynamicType;
645
+
646
+ [vbPanelImageUploadErrorToastHeading]?: I18nBaseType;
647
+ [vbPanelImageUploadErrorToastSubHeading]?: I18nBaseType;
648
+ [vbPanelImageSizeLimitErrorToastHeading]?: I18nBaseType;
649
+ [vbPanelImageSizeLimitErrorToastSubHeading]?: I18nBaseType;
650
+ [vbPanelImageTypeErrorToastHeading]?: I18nBaseType;
651
+ [vbPanelImageTypeErrorToastSubHeading]?: I18nBaseType;
652
+
653
+ [whiteboardToolboxWidthLabel]?: I18nBaseType;
654
+ [whiteboardToolboxPxLabel]?: I18nBaseType;
655
+
656
+ [whiteboardInitializingText]?: I18nBaseType;
657
+
658
+ [whiteboardWidgetViewOnlyText]?: I18nBaseType;
659
+ [whiteboardWidgetZoomInText]?: I18nBaseType;
660
+ [whiteboardWidgetZoomOutText]?: I18nBaseType;
661
+ [whiteboardWidgetFitToScreenText]?: I18nBaseType;
662
+ [whiteboardWidgetRedoText]?: I18nBaseType;
663
+ [whiteboardWidgetUndoText]?: I18nBaseType;
664
+ [whiteboardWidgetExportToCloudText]?: I18nBaseType;
665
+
666
+ [whiteboardExportErrorToastHeading]?: I18nBaseType;
667
+ [whiteboardExportInfoToastHeading]?: I18nBaseType;
668
+ [whiteboardExportSuccessToastHeading]?: I18nBaseType;
669
+
670
+ [whiteboardToolboxSelectText]?: I18nBaseType;
671
+ [whiteboardToolboxTextFormatting]?: I18nBaseType;
672
+ [whiteboardToolboxMoveText]?: I18nBaseType;
673
+ [whiteboardToolboxLaserText]?: I18nBaseType;
674
+ [whiteboardToolboxEraseText]?: I18nBaseType;
675
+ [whiteboardToolboxUploadText]?: I18nBaseType;
676
+ [whiteboardToolboxClearAllText]?: I18nBaseType;
677
+
678
+ [whiteboardFileUploadErrorToastHeading]?: I18nBaseType<whiteboardFileUploadToastDataType>;
679
+ [whiteboardFileUploadInfoToastHeading]?: I18nBaseType<whiteboardFileUploadToastDataType>;
680
+ [whiteboardFileUploadTypeErrorToastHeading]?: I18nBaseType<whiteboardFileUploadToastDataType>;
681
+ [whiteboardFileUploadTypeErrorToastSubHeading]?: I18nBaseType<whiteboardFileUploadToastDataType>;
682
+
683
+ [sttSpokenLanguageToastHeading]?: I18nBaseType<sttSpokenLanguageToastHeadingDataType>;
684
+ [sttSpokenLanguageToastSubHeading]?: I18nBaseType<sttSpokenLanguageToastSubHeadingDataInterface>;
685
+
686
+ [deviceDetectionToastHeading]?: I18nDynamicType;
687
+ [deviceDetectionToastSubHeading]?: I18nBaseType<deviceDetectionToastSubHeadingDataInterface>;
688
+ [deviceDetectionPrimaryBtnText]?: I18nBaseType;
689
+ [deviceDetectionSecondaryBtnText]?: I18nBaseType;
690
+ [deviceDetectionCheckboxText]?: I18nBaseType;
691
+
692
+ [hostMutedUserToastHeading]?: I18nBaseType<I18nMuteType>;
693
+
694
+ [hostRequestedUserToastHeading]?: I18nBaseType<I18nMuteType>;
695
+ [hostRequestedUserToastPrimaryBtnText]?: I18nBaseType<I18nMuteType>;
696
+ [hostRequestedUserToastSecondaryBtnText]?: I18nBaseType<I18nMuteType>;
697
+ [hostRemovedUserToastHeading]?: I18nBaseType;
698
+ [waitingRoomApprovalRequiredToastHeading]?: I18nBaseType;
699
+ [waitingRoomApprovalRequiredToastSubHeading]?: I18nDynamicType;
700
+ [waitingRoomApprovalRequiredPrimaryBtnText]?: I18nBaseType;
701
+ [waitingRoomApprovalRequiredSecondaryBtnText]?: I18nBaseType;
702
+
703
+ [waitingRoomApprovalRejectionToastHeading]?: I18nBaseType;
704
+ [waitingRoomApprovalRejectionToastSubHeading]?: I18nBaseType;
705
+
706
+ [videoRoomRecordingText]?: I18nBaseType;
707
+ [videoRoomGoToActiveSpeakerText]?: I18nBaseType;
708
+ [videoRoomScreenshareText]?: I18nDynamicType;
709
+ [videoRoomStartingCallText]?: I18nBaseType;
710
+
711
+ [videoRoomScreenshareOverlayText]?: I18nBaseType;
712
+ [videoRoomScreenshareStopSharingBtnText]?: I18nBaseType;
713
+
714
+ [chatPanelUserOfflineText]?: I18nBaseType;
715
+ [chatPanelUnreadMessageText]?: I18nBaseType;
716
+
717
+ [livestreamingMicrophoneTooltipText]?: I18nConditionalType;
718
+ [livestreamingCameraTooltipText]?: I18nConditionalType;
719
+ [livestreamingShareTooltipText]?: I18nConditionalType;
720
+
721
+ [peoplePanelWaitingRoomRequestApprovalBtnTxt]?: I18nBaseType;
722
+ [peoplePanelWaitingRoomRequestDenyBtnTxt]?: I18nBaseType;
723
+
724
+ [videoRoomScreenShareErrorToastHeading]?: I18nBaseType;
725
+ [videoRoomScreenShareErrorToastSubHeading]?: I18nBaseType;
726
+ [videoRoomRecordingToastHeading]?: I18nConditionalType;
727
+ [videoRoomRecordingToastSubHeading]?: I18nDynamicType;
728
+ [peoplePanelUserNotFoundLabel]?: I18nBaseType;
729
+ [peoplePanelStreamingRequestSectionHeader]?: I18nBaseType;
730
+ [peoplePanelLivestreamingApprovalBtnText]?: I18nBaseType;
731
+ [peoplePanelLivestreamingDenyBtnText]?: I18nBaseType;
732
+ [sttTranscriptPanelSearchText]?: I18nBaseType;
733
+ [sttTranscriptPanelNoSearchResultsFoundText]?: I18nBaseType;
734
+ [sttTranscriptPanelViewLatestText]?: I18nBaseType;
735
+
736
+ [videoRoomPeopleCountTooltipHostText]?: I18nBaseType;
737
+ [videoRoomPeopleCountTooltipAttendeeText]?: I18nBaseType;
83
738
  }
84
739
 
85
740
  export const VideoCallScreenLabels: I18nVideoCallScreenLabelsInterface = {
86
- //need to check
87
- //remoteScreenshareDefaultLabel - User's screenshare
88
- //commented for v1 release
89
- // toggleVideoButton: 'Video',
90
- // toggleAudioButton: 'Audio',
91
- // screenShareButton: 'Share',
92
- // switchCameraButton: 'Switch',
93
- // recordingLabel: 'Recording',
94
- // recordingNotificationLabel: (active) =>
95
- // active ? 'Recording Started' : 'Recording Stopped',
96
- // endCallButton: 'Hang Up',
97
- // participantsLabel: 'Participants',
98
- // groupChatLabel: 'Group',
99
- // privateChatLabel: 'Private',
100
- // chatMessageInputPlaceholder: 'Type your message..',
101
- // localScreenshareDefaultLabel: 'Your screenshare',
102
- // localUserDefaultLabel: 'You',
103
- // remoteUserDefaultLabel: 'User',
104
- pstnUserLabel: 'PSTN User',
105
- //commented for v1 release
106
- // authenticationSuccessLabel: 'Authenticated Successfully!',
107
- // meetingCreatedNotificationLabel: 'Created',
108
- // joiningLoaderLabel: 'Starting Call. Just a second.',
109
- // oauthLoginLabel: 'Login using OAuth',
110
- // oauthProviderLabel: 'Please select an OAuth provider to login.',
111
- // copyMeetingInviteButton: 'Copy Room Invite',
112
- // pin: 'Pin',
113
- // language: 'Language',
114
- // hostControlsLabel: 'Host Controls',
115
- // muteAllAudioButton: 'Mute all audios',
116
- // muteAllVideoButton: 'Mute all videos',
117
- // screensharingActiveOverlayLabel: 'Your screen share is active.',
118
- // participantListPlaceholder: 'No one has joined yet',
119
- // raisedHandsListPlaceholder: 'No streaming request(s)',
120
- // raisedHandsListTitleLabel: 'Streaming Request',
121
- // hostLabel: 'Host',
122
- // audienceLabel: 'Audience',
123
- // noUserFoundLabel: 'User not found',
124
- // userOfflineLabel: 'User is offline',
125
- // chatLabel: 'Chat',
126
- // settingsLabel: 'Settings',
127
- // layoutLabel: 'Layouts',
128
- // raiseHandLocalNotification:
129
- // 'You have raised your hand. Request sent to host for approval',
130
- // raiseHandRemoteHostNotification: (name) => `${name} has raised their hand`,
131
- // raiseHandApprovedLocalNotification:
132
- // 'Your request was approved, unmute to start talking',
133
- // raiseHandRejectedLocalNotification: 'Your request was rejected by the host',
134
- // lowerHandRemoteHostNotification: (name) => `${name} has lowered their hand`,
135
- // lowerHandsLocalNotification: 'You have lowered your hand',
136
- // raiseHandRevokedLocalNotification:
137
- // 'The host has revoked streaming permissions',
138
- // settingScreenInfoMessage:
139
- // 'Video and Audio sharing is disabled for attendees. Raise hand to request permission to share.',
140
- // screenshareUserName: (name) => `${name}'s screenshare`, //
141
- // recordingButton: (recording) => (recording ? 'Recording' : 'Record'),
142
- // raiseHandButton: (toggle) => (toggle ? 'Lower hand' : 'Raise Hand'),
143
- // messageSenderNotificationLabel: (name) => `From : ${name}`,
144
- // networkQualityLabel: (quality) => {
145
- // switch (quality) {
146
- // case 'unknown':
147
- // return 'Unknown';
148
- // case 'excellent':
149
- // return 'Excellent';
150
- // case 'good':
151
- // return 'Good';
152
- // case 'bad':
153
- // return 'Bad';
154
- // case 'veryBad':
155
- // return 'Very Bad';
156
- // case 'unpublished':
157
- // return 'Unpublished';
158
- // case 'loading':
159
- // return 'Loading';
160
- // default:
161
- // return 'Loading';
162
- // }
163
- // },
164
- // meetingInviteText: ({meetingName, id, url, pstn}) => {
165
- // let inviteContent = '';
166
- // if (url) {
167
- // // if host data is present generate links for both host and attendee
168
- // if (url?.host) {
169
- // inviteContent += `Room - ${meetingName}\nURL for Attendee: ${url?.attendee}\nURL for Host: ${url?.host}`;
170
- // }
171
- // // if host data is not present then generate link for attendee alone
172
- // else {
173
- // inviteContent += `Room - ${meetingName}\nMeeting URL: ${url?.attendee}`;
174
- // }
175
- // } else {
176
- // // if host data is present generate meeting ID for both host and attendee
177
- // if (id?.host) {
178
- // inviteContent += `Room - ${meetingName}\nAttendee Room ID: ${id?.attendee}\nHost Room ID: ${id?.host}`;
179
- // }
180
- // // if host data is not present then generate meeting ID for attendee alone
181
- // else {
182
- // inviteContent += `Room - ${meetingName}\nMeeting ID: ${id?.attendee}`;
183
- // }
184
- // }
185
- // // Adding pstn data into meeting data if present
186
- // if (pstn?.number && pstn?.pin) {
187
- // inviteContent += `\nPSTN Number: ${pstn.number}\nPSTN Pin: ${pstn.pin}`;
188
- // }
189
- // return inviteContent;
190
- // },
741
+ [toolbarItemPeopleText]: 'People',
742
+ [toolbarItemChatText]: 'Chat',
743
+ [toolbarItemSettingText]: 'Settings',
744
+ [toolbarItemLayoutText]: 'Layout',
745
+ [toolbarItemInviteText]: 'Invite',
746
+
747
+ [toolbarItemMicrophoneText]: deviceStatus => {
748
+ switch (deviceStatus) {
749
+ case I18nDeviceStatus.ON:
750
+ return 'Mic On';
751
+ case I18nDeviceStatus.OFF:
752
+ return 'Mic Off';
753
+ case I18nDeviceStatus.PERMISSION_DENIED:
754
+ return 'Mic';
755
+ default:
756
+ return 'Mic';
757
+ }
758
+ },
759
+ [toolbarItemMicrophoneTooltipText]: deviceStatus => {
760
+ switch (deviceStatus) {
761
+ case I18nDeviceStatus.ON:
762
+ return 'Disable Mic';
763
+ case I18nDeviceStatus.OFF:
764
+ return 'Enable Mic';
765
+ case I18nDeviceStatus.PERMISSION_DENIED:
766
+ return 'Give Permissions';
767
+ default:
768
+ return 'Mic';
769
+ }
770
+ },
771
+ [toolbarItemCameraText]: deviceStatus => {
772
+ switch (deviceStatus) {
773
+ case I18nDeviceStatus.ON:
774
+ return 'Video On';
775
+ case I18nDeviceStatus.OFF:
776
+ return 'Video Off';
777
+ case I18nDeviceStatus.PERMISSION_DENIED:
778
+ return 'Video';
779
+ default:
780
+ return 'Video';
781
+ }
782
+ },
783
+ [toolbarItemCameraTooltipText]: deviceStatus => {
784
+ switch (deviceStatus) {
785
+ case I18nDeviceStatus.ON:
786
+ return 'Disable Camera';
787
+ case I18nDeviceStatus.OFF:
788
+ return 'Enable Camera';
789
+ case I18nDeviceStatus.PERMISSION_DENIED:
790
+ return 'Give Permissions';
791
+ default:
792
+ return 'Video';
793
+ }
794
+ },
795
+ [toolbarItemShareText]: active => (active ? 'Stop Share' : 'Share'),
796
+ [toolbarItemRecordingText]: active => (active ? 'Stop Rec' : 'Record'),
797
+ [toolbarItemLeaveText]: 'Leave',
798
+ [toolbarItemMoreText]: 'More',
799
+
800
+ [toolbarItemNoiseCancellationText]: 'Noise Cancellation',
801
+ [toolbarItemVirtualBackgroundText]: 'Virtual Background',
802
+ [toolbarItemWhiteboardText]: active =>
803
+ active ? 'Hide Whiteboard' : 'Show Whiteboard',
804
+ [toolbarItemCaptionText]: active =>
805
+ active ? 'Hide Caption' : 'Show Caption',
806
+ [toolbarItemTranscriptText]: active =>
807
+ active ? 'Hide Transcript' : 'Show Transcript',
808
+
809
+ [toolbarItemRaiseHandText]: active => (active ? 'Lower Hand' : 'Raise Hand'),
810
+ [toolbarItemSwitchCameraText]: 'Switch Camera',
811
+
812
+ [inviteTileWelcomeText]: 'Welcome',
813
+ [inviteTileNoElseJoinedYetText]: 'No one else has joined yet',
814
+ [inviteTileCopyInviteBtnText]: 'COPY INVITATION',
815
+
816
+ [settingPanelNameCantbeChangedInfo]: `Name can't be changed while whiteboard is active`,
817
+ [settingPanelNameInputLabel]: 'Your Name',
818
+
819
+ [invitePopupHeading]: 'Invite others to join this room',
820
+ [invitePopupPrimaryBtnText]: 'COPY INVITATION',
821
+
822
+ [PSTNUserLabel]: 'PSTN User',
823
+ [videoTileNetworkQuailtyLabel]: (quality: NetworkQualities) => {
824
+ switch (quality) {
825
+ case 'unknown':
826
+ return 'Network Unsupported';
827
+ case 'excellent':
828
+ return 'Excellent Network';
829
+ case 'good':
830
+ return 'Good Network';
831
+ case 'bad':
832
+ return 'Bad Network';
833
+ case 'veryBad':
834
+ return 'Very Bad Network';
835
+ case 'unpublished':
836
+ return 'Network Unpublished';
837
+ case 'loading':
838
+ return 'Network Loading';
839
+ default:
840
+ return 'Loading';
841
+ }
842
+ },
843
+
844
+ [vbPanelAppliedBtnText]: 'Applied',
845
+ [vbPanelApplyBtnText]: 'Apply',
846
+ [toolbarItemLayoutOptionGridText]: 'Grid',
847
+ [toolbarItemLayoutOptionSidebarText]: 'Sidebar',
848
+
849
+ [nativeScreensharePopupHeading]: 'Screen Share',
850
+ [nativeScreensharePopupSubHeading]: camActive =>
851
+ camActive
852
+ ? 'NOTE: Camera and all incoming videos will be turned OFF for an optimised performance, do you wish to proceed?'
853
+ : 'NOTE: All incoming videos will be turned OFF for an optimised performance, do you wish to proceed?',
854
+ [nativeScreensharePopupPrimaryBtnText]: 'PROCEED',
855
+ [nativeScreensharePopupIncludeDeviceAudioText]: 'Include device audio',
856
+
857
+ [nativeStopScreensharePopupHeading]: 'Stop Screen Share?',
858
+ [nativeStopScreensharePopupSubHeading]:
859
+ 'You need to stop sharing your screen in order to turn the camera ON',
860
+ [nativeStopScreensharePopupPrimaryBtnText]: 'STOP SHARE & TURN CAMERA ON',
861
+
862
+ [stopRecordingPopupHeading]: 'Stop Recording?',
863
+ [stopRecordingPopupSubHeading]:
864
+ 'Are you sure you want to stop recording? You can’t undo this action.',
865
+ [stopRecordingPopupPrimaryBtnText]: 'END RECORDING',
866
+
867
+ [clearAllWhiteboardPopupHeading]: 'Clear Whiteboard?',
868
+ [clearAllWhiteboardPopupSubHeading]:
869
+ 'Are you sure you want to clear the whiteboard?',
870
+ [clearAllWhiteboardPopupPrimaryBtnText]: 'CLEAR ALL',
871
+
872
+ [leavePopupHeading]: 'Leave Room?',
873
+ [leavePopupSubHeading]: transcriptDownloadAvailable =>
874
+ transcriptDownloadAvailable
875
+ ? `Sure you want to leave? You haven't downloaded your transcripts yet.`
876
+ : 'Are you sure you want to leave this meeting?',
877
+ [leavePopupPrimaryBtnText]: 'LEAVE',
878
+
879
+ [removeUserFromRoomPopupHeading]: name => `Remove ${name}?`,
880
+ [removeUserFromRoomPopupSubHeading]: name =>
881
+ `Once removed, ${name} will still be able to rejoin the room later.`,
882
+ [removeUserFromRoomPopupPrimaryBtnText]: 'REMOVE',
883
+
884
+ [removeScreenshareFromRoomPopupHeading]: 'Remove Screenshare?',
885
+ [removeScreenshareFromRoomPopupSubHeading]: name =>
886
+ `Once removed, ${name} will still be able to screen share later.`,
887
+ [removeScreenshareFromRoomPopupPrimaryBtnText]: 'REMOVE',
888
+
889
+ [sttChangeLanguagePopupHeading]: isFirstTimeOpened =>
890
+ isFirstTimeOpened ? 'Set Spoken Language' : 'Change Spoken Language',
891
+ [sttChangeLanguagePopupSubHeading]:
892
+ 'What language(s) are being spoken by everyone in this meeting?',
893
+ [sttChangeLanguagePopupPrimaryBtnText]: 'CONFIRM',
894
+ [sttChangeLanguagePopupDropdownInfo]:
895
+ 'You can choose a maximum of two languages',
896
+ [sttChangeLanguagePopupDropdownError]:
897
+ 'Choose at least one language to proceed',
898
+ [sttChangeSpokenLanguageText]: 'Change Spoken Language',
899
+
900
+ [sttTranscriptPanelHeaderText]: 'Meeting Transcript',
901
+ [sttDownloadBtnText]: 'Download',
902
+ [sttDownloadTranscriptBtnText]: 'Download Transcript',
903
+ [sttSettingSpokenLanguageText]: 'Setting Spoken Language',
904
+ [sttLanguageChangeInProgress]: 'Language Change is in progress...',
905
+
906
+ [peoplePanelHeaderText]: 'People',
907
+
908
+ [chatPanelGroupTabText]: 'Group',
909
+ [chatPanelPrivateTabText]: 'Private',
910
+
911
+ [groupChatWelcomeContent]: noMessage =>
912
+ noMessage
913
+ ? 'Welcome to Chat!\nAll messages are deleted when call ends.'
914
+ : 'All messages are deleted when call ends.',
915
+
916
+ [groupChatInputPlaceHolderText]: name => `Chat publicly as ${name}...`,
917
+ [privateChatInputPlaceHolderText]: name => `Private Message to ${name}`,
918
+
919
+ [peoplePanelTurnoffAllCameraBtnText]: 'Turn off all cameras',
920
+ [peoplePanelMuteAllMicBtnText]: 'Mute All',
921
+
922
+ [peoplePanelHostSectionHeaderText]: 'HOST',
923
+ [peoplePanelAudienceSectionHeaderText]: 'AUDIENCE',
924
+ [peoplePanelInThisMeetingLabel]: 'IN THIS MEETING',
925
+ [peoplePanelNoHostJoinedContent]: 'No Host has joined yet.',
926
+ [peoplePanelNoAudienceJoinedContent]: 'No Audience has joined yet.',
927
+ [peoplePanelNoUsersJoinedContent]: 'No Users has joined yet.',
928
+
929
+ [moreBtnViewWhiteboard]: 'View Whiteboard',
930
+ [moreBtnRemoveFromLarge]: 'Remove from large',
931
+ [moreBtnViewInLarge]: 'View in large',
932
+ [moreBtnPinToTop]: 'Pin to top',
933
+ [moreBtnRemoveFromTop]: 'Remove from top',
934
+ [moreBtnMessagePrivately]: 'Message Privately',
935
+ [moreBtnAudio]: audio => (audio ? 'Mute Audio' : 'Request Audio'),
936
+ [moreBtnVideo]: video => (video ? 'Mute Video' : 'Request Video'),
937
+ [moreBtnAddAsPresenter]: 'Add as Presenter',
938
+ [moreBtnRemoveAsPresenter]: 'Remove as Presenter',
939
+ [moreBtnRemoveFromRoom]: 'Remove from Room',
940
+ [moreBtnChangeName]: 'Change Name',
941
+ [moreBtnStopScreenShare]: 'Stop Screenshare',
942
+ [moreBtnRemoveScreenShare]: 'Remove Screenshare',
943
+
944
+ [muteAllConfirmationPopoverContent]: (type: I18nMuteType) =>
945
+ `Mute everyone's ${type} on the call?`,
946
+ [requestConfirmationPopoverContent]: ({
947
+ name,
948
+ type,
949
+ }: I18nRequestConfirmation) =>
950
+ `Request ${name} to turn on their ${
951
+ type === I18nMuteType.audio ? 'microphone' : 'camera'
952
+ }?`,
953
+ [muteConfirmationPopoverContent]: ({name, type}: I18nMuteConfirmation) =>
954
+ `Mute ${name}'s ${type} for everyone on the call? Only ${name} can unmute themselves.`,
955
+
956
+ [muteAllConfirmationPopoverPrimaryBtnText]: 'Mute All',
957
+ [muteConfirmationPopoverPrimaryBtnText]: 'Mute',
958
+ [requestConfirmationPopoverPrimaryBtnText]: 'Request',
959
+
960
+ [peoplePanelWantToJoinText]: 'WANT TO JOIN',
961
+ [peoplePanelWaitingText]: 'WAITING',
962
+
963
+ [livestreamingAttendeeRaiseHandInfoHeading]: 'Raise Your hand',
964
+ [livestreamingAttendeeRaiseHandInfoSubHeading]:
965
+ "Let everyone know that you've something to say",
966
+ [livestreamingAttendeeChatWithOthersInfoHeading]: 'Chat with others',
967
+ [livestreamingAttendeeChatWithOthersInfoSubHeading]:
968
+ 'Message fellow attendees or the hosts',
969
+ [livestreamingAttendeePresentYourScreenInfoHeading]: 'Present Your screen',
970
+ [livestreamingAttendeePresentYourScreenInfoSubHeading]:
971
+ 'Be a presenter post the host’s approval',
972
+ [livestreamingAttendeeJoinWithActivitiesInfoHeading]: 'Join in activities',
973
+ [livestreamingAttendeeJoinWithActivitiesInfoSubHeading]:
974
+ 'Jam with everyone on a whiteboard',
975
+
976
+ [livestreamingAttendeeInviteOthersText]: 'INVITE OTHER ATTENDEES',
977
+ [livestreamingAttendeeWaitingForHostToJoinText]:
978
+ 'Waiting for the host to join',
979
+ [livestreamingAttendeeWhatYouCanDoText]: "Here's what you can do here :",
980
+
981
+ [publicChatToastHeading]: (name: string) =>
982
+ `${name} commented in the public chat`,
983
+
984
+ [multiplePublicChatToastHeading]: 'New comments in Public Chat',
985
+ [multiplePublicChatToastSubHeading]: ({count, from}) =>
986
+ `You have ${count} new messages from ${from}`,
987
+
988
+ [privateChatToastHeading]: 'You’ve received a private message',
989
+
990
+ [multiplePrivateChatToastHeading]: ({count}) =>
991
+ `You’ve received ${count} private messages`,
992
+
993
+ [multiplePublicAndPrivateChatToastHeading]:
994
+ 'New comments in Public & Private Chat',
995
+ [multiplePublicAndPrivateChatToastSubHeading]: ({
996
+ publicChatCount,
997
+ privateChatCount,
998
+ from,
999
+ }) =>
1000
+ `You have ${publicChatCount} new messages from ${from} and ${privateChatCount} Private chat`,
1001
+
1002
+ [livestreamToastApprovalBtnText]: 'ALLOW TO BE A PRESENTER',
1003
+ [livestreamToastDenyBtnText]: 'DENY',
1004
+
1005
+ [livestreamRaiseHandRequestToastHeading]: 'You’ve raised your hand.',
1006
+ [livestreamRaiseHandRequestToastSubHeading]:
1007
+ 'Waiting for host to approve the request',
1008
+
1009
+ [livestreamRaiseHandRequestReceivedToastHeading]: name =>
1010
+ `${name} has raised their hand to be a Presenter`,
1011
+ [livestreamRaiseHandRequestReceivedToastSubHeading]:
1012
+ 'Once approved they will be able to speak, share their video and present during this call.',
1013
+
1014
+ [livestreamRaiseHandRequestAcceptedToastHeading]:
1015
+ 'Host has approved your request.',
1016
+ [livestreamRaiseHandRequestAcceptedToastSubHeading]:
1017
+ 'You are now a Presenter',
1018
+
1019
+ [livestreamRaiseHandRequestRejectedToastHeading]:
1020
+ 'Your request was rejected by the host',
1021
+
1022
+ [livestreamRaiseHandRequestRecallToastHeading]: name =>
1023
+ `${name} has lowered their hand`,
1024
+
1025
+ [livestreamRaiseHandRequestRecallLocalToastHeading]:
1026
+ 'You’ve lowered your hand.',
1027
+
1028
+ [livestreamRaiseHandApprovedRequestRecallToastHeading]:
1029
+ 'Host has revoked streaming permissions.',
1030
+
1031
+ [livestreamPromoteAsCoHostToastHeading]: 'Host promoted you as a Presenter',
1032
+ [livestreamRequestAlreadyProcessed]: 'Request already processed.',
1033
+
1034
+ [videoRoomUserFallbackText]: 'User',
1035
+ [peoplePanelMeText]: 'Me',
1036
+ [peoplePanelPresenterText]: 'Presenter',
1037
+
1038
+ [userRemovedFromTheRoomToastHeading]: name =>
1039
+ `The system will remove ${name} from this call after 5 secs.`,
1040
+
1041
+ [vbPanelImageUploadErrorToastHeading]: 'Upload Failed',
1042
+ [vbPanelImageUploadErrorToastSubHeading]:
1043
+ 'Selected image is already uploaded',
1044
+ [vbPanelImageTypeErrorToastHeading]: 'Upload Failed',
1045
+ [vbPanelImageTypeErrorToastSubHeading]: 'Please select a JPG or PNG file',
1046
+ [vbPanelImageSizeLimitErrorToastHeading]: 'Upload Failed',
1047
+ [vbPanelImageSizeLimitErrorToastSubHeading]:
1048
+ 'File size must be less than 1MB.',
1049
+
1050
+ [whiteboardToolboxWidthLabel]: 'Width',
1051
+ [whiteboardToolboxPxLabel]: ' px',
1052
+ [whiteboardInitializingText]: 'Whiteboard is initializing',
1053
+
1054
+ [whiteboardWidgetViewOnlyText]: 'View Only',
1055
+ [whiteboardWidgetZoomInText]: 'Zoom In',
1056
+ [whiteboardWidgetZoomOutText]: 'Zoom Out',
1057
+ [whiteboardWidgetFitToScreenText]: 'Fit To Screen',
1058
+ [whiteboardWidgetRedoText]: 'Redo',
1059
+ [whiteboardWidgetUndoText]: 'Undo',
1060
+ [whiteboardWidgetExportToCloudText]: 'Export To Cloud',
1061
+
1062
+ [whiteboardExportErrorToastHeading]: 'Failed to export the whiteboard',
1063
+ [whiteboardExportInfoToastHeading]:
1064
+ 'Please wait few seconds to get the screenshot link of the whiteboard',
1065
+ [whiteboardExportSuccessToastHeading]:
1066
+ 'Whiteboard exported as an image. Link copied to your clipboard.',
1067
+
1068
+ [whiteboardToolboxSelectText]: 'Select',
1069
+ [whiteboardToolboxTextFormatting]: 'Text',
1070
+ [whiteboardToolboxMoveText]: 'Move',
1071
+ [whiteboardToolboxLaserText]: 'Laser',
1072
+ [whiteboardToolboxEraseText]: 'Eraser',
1073
+ [whiteboardToolboxUploadText]: 'Upload Document or Image',
1074
+
1075
+ [whiteboardToolboxClearAllText]: 'Clear All',
1076
+
1077
+ [whiteboardFileUploadErrorToastHeading]: type =>
1078
+ `Error on uploading ${type}, please try again.`,
1079
+ [whiteboardFileUploadInfoToastHeading]: type =>
1080
+ `${type} Upload will take few seconds to appear in whiteboard`,
1081
+ [whiteboardFileUploadTypeErrorToastHeading]: () => 'Unsupported file',
1082
+ [whiteboardFileUploadTypeErrorToastSubHeading]: () =>
1083
+ 'Please select file format with pdf, doc, docx, ppt, pptx, png, jpg, jpeg',
1084
+
1085
+ [sttSpokenLanguageToastHeading]: action => `Spoken Language ${action}`,
1086
+ [sttSpokenLanguageToastSubHeading]: ({
1087
+ action,
1088
+ newLanguage,
1089
+ oldLanguage,
1090
+ username,
1091
+ }) =>
1092
+ action === 'Set'
1093
+ ? `${username} has set the spoken language to "${newLanguage}"`
1094
+ : `${username} changed the spoken language from "${oldLanguage}" to ${newLanguage}`,
1095
+
1096
+ [deviceDetectionToastHeading]: name => `New ${name} detected`,
1097
+ [deviceDetectionToastSubHeading]: ({name, label}) =>
1098
+ `New ${name} named ${label} detected. Do you want to switch?`,
1099
+ [deviceDetectionPrimaryBtnText]: 'SWITCH DEVICE',
1100
+ [deviceDetectionSecondaryBtnText]: 'IGNORE',
1101
+ [deviceDetectionCheckboxText]: 'Remember my choice',
1102
+
1103
+ [hostMutedUserToastHeading]: type =>
1104
+ type === 'audio'
1105
+ ? 'The host has muted your audio.'
1106
+ : 'The host has muted your video.',
1107
+ [hostRequestedUserToastHeading]: type =>
1108
+ type === 'audio'
1109
+ ? 'The host has requested you to speak'
1110
+ : 'The host has asked you to start your video.',
1111
+ [hostRequestedUserToastPrimaryBtnText]: () => 'UNMUTE',
1112
+ [hostRequestedUserToastSecondaryBtnText]: () => 'LATER',
1113
+ [hostRemovedUserToastHeading]: 'The host has removed you from the room.',
1114
+
1115
+ [waitingRoomApprovalRequiredToastHeading]: 'Approval Required',
1116
+ [waitingRoomApprovalRequiredToastSubHeading]: username =>
1117
+ `${username} is waiting for approval to join the call`,
1118
+ [waitingRoomApprovalRequiredPrimaryBtnText]: 'Admit',
1119
+ [waitingRoomApprovalRequiredSecondaryBtnText]: 'Deny',
1120
+
1121
+ [waitingRoomApprovalRejectionToastHeading]: 'Approval Required',
1122
+ [waitingRoomApprovalRejectionToastSubHeading]:
1123
+ 'Permission to enter the meeting was denied by the host',
1124
+
1125
+ [videoRoomRecordingText]: 'Recording',
1126
+ [videoRoomGoToActiveSpeakerText]: 'Go To Active Speaker',
1127
+ [videoRoomScreenshareText]: username => `${username}'s screenshare`,
1128
+ [videoRoomStartingCallText]: 'Starting Call. Just a second.',
1129
+
1130
+ [videoRoomScreenshareOverlayText]: 'You are sharing your screen',
1131
+ [videoRoomScreenshareStopSharingBtnText]: 'Stop Sharing',
1132
+
1133
+ [chatPanelUserOfflineText]: 'User is offline',
1134
+ [chatPanelUnreadMessageText]: 'Unread message',
1135
+
1136
+ [livestreamingMicrophoneTooltipText]: isHandRaised =>
1137
+ isHandRaised
1138
+ ? 'Waiting for host to appove the request'
1139
+ : 'Raise Hand in order to turn mic on',
1140
+ [livestreamingCameraTooltipText]: isHandRaised =>
1141
+ isHandRaised
1142
+ ? 'Waiting for host to appove the request'
1143
+ : 'Raise Hand in order to turn video on',
1144
+ [livestreamingShareTooltipText]: isHandRaised =>
1145
+ isHandRaised
1146
+ ? 'Waiting for host to appove the request'
1147
+ : 'Raise Hand in order to present',
1148
+
1149
+ [peoplePanelWaitingRoomRequestApprovalBtnTxt]: 'Admit',
1150
+ [peoplePanelWaitingRoomRequestDenyBtnTxt]: 'Deny',
1151
+ [videoRoomScreenShareErrorToastHeading]: 'Failed to initiate screen sharing',
1152
+ [videoRoomScreenShareErrorToastSubHeading]: 'Permission denied',
1153
+
1154
+ [videoRoomRecordingToastHeading]: active =>
1155
+ active ? 'Recording Started' : 'Recording Stopped',
1156
+ [videoRoomRecordingToastSubHeading]: name =>
1157
+ `This room is being recorded by ${name}`,
1158
+ [peoplePanelUserNotFoundLabel]: 'User not found',
1159
+ [peoplePanelStreamingRequestSectionHeader]: 'STREAMING REQUEST',
1160
+ [peoplePanelLivestreamingApprovalBtnText]: 'Accept',
1161
+ [peoplePanelLivestreamingDenyBtnText]: 'Deny',
1162
+
1163
+ [sttTranscriptPanelSearchText]: 'Search',
1164
+ [sttTranscriptPanelNoSearchResultsFoundText]: 'No search results found',
1165
+ [sttTranscriptPanelViewLatestText]: 'View Latest',
1166
+
1167
+ [videoRoomPeopleCountTooltipHostText]: 'Host',
1168
+ [videoRoomPeopleCountTooltipAttendeeText]: ({eventMode}) =>
1169
+ eventMode ? 'Audience' : 'Attendee',
191
1170
  };