fcr-ui-scene 3.5.1 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/lib/creator.d.ts +14 -0
  2. package/lib/creator.js +239 -14
  3. package/lib/electron/app.js +0 -21
  4. package/lib/electron/bootstrap-sdk.js +145 -7
  5. package/lib/electron/injections.d.ts +19 -7
  6. package/lib/electron/injections.js +206 -77
  7. package/lib/electron/ipc/ipc.d.ts +26 -0
  8. package/lib/electron/ipc/ipc.js +137 -0
  9. package/lib/electron/ipc/type.d.ts +11 -0
  10. package/lib/electron/ipc/type.js +19 -0
  11. package/lib/electron/logger.js +1 -1
  12. package/lib/electron/main.js +1 -1
  13. package/lib/electron/plugins/meeting-state.d.ts +1 -0
  14. package/lib/electron/plugins/meeting-state.js +3 -3
  15. package/lib/electron/plugins/screenshot.js +2 -2
  16. package/lib/electron/preload.js +67 -5
  17. package/lib/electron/window.js +0 -2
  18. package/lib/global.css +39 -0
  19. package/lib/modules/action-bar/components/apps/index.js +1 -0
  20. package/lib/modules/action-bar/components/apps/useWidgetList.js +1 -1
  21. package/lib/modules/action-bar/components/board/index.js +0 -2
  22. package/lib/modules/action-bar/components/breakout-room/index.js +0 -2
  23. package/lib/modules/action-bar/components/item/index.d.ts +2 -0
  24. package/lib/modules/action-bar/components/item/index.js +4 -2
  25. package/lib/modules/action-bar/components/leave/index.js +2 -12
  26. package/lib/modules/action-bar/components/more/index.js +1 -0
  27. package/lib/modules/action-bar/components/more/poppover-content.js +6 -9
  28. package/lib/modules/action-bar/components/participants/index.js +1 -9
  29. package/lib/modules/action-bar/components/record/index.js +43 -106
  30. package/lib/modules/action-bar/components/record/popover.d.ts +4 -0
  31. package/lib/modules/action-bar/components/record/popover.js +57 -0
  32. package/lib/modules/action-bar/components/record/stop-record-dialog.js +1 -0
  33. package/lib/modules/action-bar/components/screen-share/index.js +11 -3
  34. package/lib/modules/action-bar/components/screen-share/submenu.js +2 -2
  35. package/lib/modules/action-bar/components/security/index.js +2 -1
  36. package/lib/modules/action-bar/components/smaller/index.js +1 -1
  37. package/lib/modules/action-bar/components/trigger-output-language/index.js +17 -22
  38. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -1
  39. package/lib/modules/action-bar/index.css +3 -2
  40. package/lib/modules/action-bar/index.js +2 -1
  41. package/lib/modules/action-bar/store.d.ts +5 -2
  42. package/lib/modules/action-bar/store.js +34 -22
  43. package/lib/modules/action-bar/types.d.ts +1 -0
  44. package/lib/modules/action-bar/view.js +1 -1
  45. package/lib/modules/audio-stream/index.js +4 -4
  46. package/lib/modules/chat/chat-room-store.js +4 -5
  47. package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
  48. package/lib/modules/chat/components/chat-bar/index.js +5 -3
  49. package/lib/modules/chat/components/chat-select/select-item/index.js +1 -1
  50. package/lib/modules/chat/components/message-list/index.js +1 -2
  51. package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -1
  52. package/lib/modules/chat/components/message-list/message-item/index.js +9 -10
  53. package/lib/modules/chat/index.css +24 -0
  54. package/lib/modules/chat/view.js +13 -3
  55. package/lib/modules/components/device-control/components/carmera/index.js +4 -5
  56. package/lib/modules/components/device-control/components/microphone/index.js +4 -5
  57. package/lib/modules/components/device-control/index.css +6 -3
  58. package/lib/modules/components/leave-meeting/components/assign-host.js +26 -4
  59. package/lib/modules/components/leave-meeting/components/index.css +35 -0
  60. package/lib/modules/components/leave-meeting/index.js +1 -0
  61. package/lib/modules/components/leave-meeting/store.js +25 -67
  62. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +3 -2
  63. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +1 -2
  64. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +10 -9
  65. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
  66. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +1 -1
  67. package/lib/modules/components/member-window/components/member-actions/index.js +2 -4
  68. package/lib/modules/components/member-window/components/member-actions/libs/index.js +0 -1
  69. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +1 -1
  70. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +4 -16
  71. package/lib/modules/components/member-window/index.css +19 -7
  72. package/lib/modules/components/member-window/index.js +0 -1
  73. package/lib/modules/components/member-window/types.d.ts +1 -1
  74. package/lib/modules/components/security-menu/index.css +2 -2
  75. package/lib/modules/components/security-menu/index.js +80 -28
  76. package/lib/modules/components/tab-frame/index.css +1 -1
  77. package/lib/modules/connection-gateway/components/phone/index.js +1 -1
  78. package/lib/modules/control-bar/components/meeting-details/index.css +1 -1
  79. package/lib/modules/control-bar/components/meeting-details/index.js +15 -9
  80. package/lib/modules/control-bar/components/more-actions/index.js +3 -21
  81. package/lib/modules/control-bar/components/share-state-nav/index.js +4 -20
  82. package/lib/modules/control-bar/index.d.ts +2 -0
  83. package/lib/modules/control-bar/index.js +3 -1
  84. package/lib/modules/control-bar/store.d.ts +12 -3
  85. package/lib/modules/control-bar/store.js +106 -98
  86. package/lib/modules/control-bar/view.js +1 -6
  87. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  88. package/lib/modules/dialog/components/chat/electron.d.ts +1 -3
  89. package/lib/modules/dialog/components/chat/index.js +24 -17
  90. package/lib/modules/dialog/components/confirm-leave-meeting/index.d.ts +6 -0
  91. package/lib/modules/dialog/components/confirm-leave-meeting/index.js +86 -0
  92. package/lib/modules/dialog/components/control-bar/index.d.ts +1 -2
  93. package/lib/modules/dialog/components/control-bar/index.js +5 -17
  94. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
  95. package/lib/modules/dialog/components/dialog-container/component/body.js +4 -2
  96. package/lib/modules/dialog/components/dialog-container/index.css +18 -1
  97. package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
  98. package/lib/modules/dialog/components/dialog-container/index.js +3 -1
  99. package/lib/modules/dialog/components/participant/index.d.ts +0 -1
  100. package/lib/modules/dialog/components/participant/index.js +15 -24
  101. package/lib/modules/dialog/components/pre-setting/electron.d.ts +2 -0
  102. package/lib/modules/dialog/components/pre-setting/electron.js +51 -0
  103. package/lib/modules/dialog/components/pre-setting/index.css +26 -0
  104. package/lib/modules/dialog/components/pre-setting/index.d.ts +6 -0
  105. package/lib/modules/dialog/components/pre-setting/index.js +38 -0
  106. package/lib/modules/dialog/components/pre-setting-container/component/body.d.ts +8 -0
  107. package/lib/modules/dialog/components/pre-setting-container/component/body.js +80 -0
  108. package/lib/modules/dialog/components/pre-setting-container/index.css +82 -0
  109. package/lib/modules/dialog/components/pre-setting-container/index.d.ts +18 -0
  110. package/lib/modules/dialog/components/pre-setting-container/index.js +117 -0
  111. package/lib/modules/dialog/components/rename/index.d.ts +4 -0
  112. package/lib/modules/dialog/components/rename/index.js +72 -0
  113. package/lib/modules/dialog/components/share-screen-selection/index.js +1 -2
  114. package/lib/modules/dialog/components/video-window/index.js +18 -16
  115. package/lib/modules/dialog/components/widget/electron.d.ts +2 -1
  116. package/lib/modules/dialog/components/widget/electron.js +3 -2
  117. package/lib/modules/dialog/components/widget/index.d.ts +2 -1
  118. package/lib/modules/dialog/components/widget/index.js +4 -6
  119. package/lib/modules/dialog/dialogs.d.ts +1 -0
  120. package/lib/modules/dialog/dialogs.js +3 -2
  121. package/lib/modules/dialog/hooks/useElectron.d.ts +2 -0
  122. package/lib/modules/dialog/hooks/useElectron.js +22 -101
  123. package/lib/modules/dialog/index.d.ts +2 -0
  124. package/lib/modules/dialog/index.js +2 -2
  125. package/lib/modules/dialog/store.d.ts +8 -3
  126. package/lib/modules/dialog/store.js +38 -26
  127. package/lib/modules/dialog/type.d.ts +1 -0
  128. package/lib/modules/dialog/view.js +2 -1
  129. package/lib/modules/event-confirm/index.d.ts +2 -0
  130. package/lib/modules/event-confirm/index.js +2 -1
  131. package/lib/modules/event-confirm/store.d.ts +9 -1
  132. package/lib/modules/event-confirm/store.js +100 -8
  133. package/lib/modules/event-confirm/view.js +55 -46
  134. package/lib/modules/{sound-effect → event-sound}/index.d.ts +3 -2
  135. package/lib/modules/{sound-effect → event-sound}/index.js +9 -5
  136. package/lib/modules/event-toast/store.js +6 -1
  137. package/lib/modules/interpreter/dialog-content/index.js +4 -1
  138. package/lib/modules/interpreter/index.d.ts +2 -0
  139. package/lib/modules/interpreter/index.js +2 -1
  140. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -0
  141. package/lib/modules/interpreter/store.d.ts +2 -2
  142. package/lib/modules/interpreter/store.js +30 -24
  143. package/lib/modules/interpreter/type.d.ts +2 -0
  144. package/lib/modules/invite/components/pstn-invite.js +2 -25
  145. package/lib/modules/invite/components/voip-invite.css +26 -0
  146. package/lib/modules/invite/components/voip-invite.d.ts +1 -0
  147. package/lib/modules/invite/components/voip-invite.js +8 -11
  148. package/lib/modules/invite/index.css +16 -3
  149. package/lib/modules/invite/index.d.ts +2 -1
  150. package/lib/modules/invite/index.js +2 -1
  151. package/lib/modules/invite/store.d.ts +5 -1
  152. package/lib/modules/invite/store.js +8 -1
  153. package/lib/modules/layout/components/Aside.js +0 -1
  154. package/lib/modules/layout/components/Carousel.d.ts +1 -1
  155. package/lib/modules/layout/components/Carousel.js +16 -118
  156. package/lib/modules/layout/components/CommonVideoRenderer.d.ts +13 -0
  157. package/lib/modules/layout/components/CommonVideoRenderer.js +214 -0
  158. package/lib/modules/layout/components/Gallery.d.ts +1 -0
  159. package/lib/modules/layout/components/Gallery.js +62 -205
  160. package/lib/modules/layout/components/index.css +17 -34
  161. package/lib/modules/layout/index.d.ts +2 -0
  162. package/lib/modules/layout/index.js +2 -1
  163. package/lib/modules/layout/store.d.ts +5 -2
  164. package/lib/modules/layout/store.js +53 -39
  165. package/lib/modules/layout/type.d.ts +4 -0
  166. package/lib/modules/layout/type.js +6 -1
  167. package/lib/modules/live-streaming/store.d.ts +1 -0
  168. package/lib/modules/live-streaming/store.js +19 -8
  169. package/lib/modules/participant/components/confirm-input/index.d.ts +4 -4
  170. package/lib/modules/participant/components/confirm-input/index.js +74 -6
  171. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +27 -3
  172. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +4 -0
  173. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -4
  174. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +4 -3
  175. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +1 -0
  176. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +9 -1
  177. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +1 -1
  178. package/lib/modules/participant/components/participants/components/participants/index.css +1 -0
  179. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +18 -0
  180. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +12 -5
  181. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -8
  182. package/lib/modules/participant/index.css +6 -0
  183. package/lib/modules/participant/index.d.ts +1 -0
  184. package/lib/modules/participant/index.js +9 -0
  185. package/lib/modules/participant/store.d.ts +6 -0
  186. package/lib/modules/participant/store.js +130 -96
  187. package/lib/modules/pc-audio-connect/store.js +3 -2
  188. package/lib/modules/phone-audio-connect/index.d.ts +2 -0
  189. package/lib/modules/phone-audio-connect/index.js +2 -1
  190. package/lib/modules/phone-audio-connect/store.d.ts +4 -1
  191. package/lib/modules/phone-audio-connect/store.js +4 -2
  192. package/lib/modules/setting/audio-settings/audio-settings.js +70 -48
  193. package/lib/modules/setting/audio-settings/index.css +23 -6
  194. package/lib/modules/setting/general-settings/general-settings.d.ts +1 -2
  195. package/lib/modules/setting/general-settings/general-settings.js +111 -37
  196. package/lib/modules/setting/general-settings/index.css +15 -0
  197. package/lib/modules/setting/index.d.ts +4 -1
  198. package/lib/modules/setting/index.js +7 -4
  199. package/lib/modules/setting/state/index.js +1 -1
  200. package/lib/modules/setting/store.d.ts +24 -11
  201. package/lib/modules/setting/store.js +203 -142
  202. package/lib/modules/setting/video-settings/index.css +13 -2
  203. package/lib/modules/setting/video-settings/video-settings-basic.js +18 -27
  204. package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
  205. package/lib/modules/setting/video-settings/video-settings.js +3 -2
  206. package/lib/modules/setting/view.d.ts +11 -2
  207. package/lib/modules/setting/view.js +93 -71
  208. package/lib/modules/share-screen/components/selection/index.js +6 -2
  209. package/lib/modules/share-screen/index.d.ts +4 -1
  210. package/lib/modules/share-screen/index.js +3 -1
  211. package/lib/modules/share-screen/store.d.ts +15 -5
  212. package/lib/modules/share-screen/store.js +105 -59
  213. package/lib/modules/share-screen/view.js +1 -1
  214. package/lib/modules/state-bar/index.css +4 -2
  215. package/lib/modules/state-bar/index.d.ts +2 -0
  216. package/lib/modules/state-bar/index.js +2 -1
  217. package/lib/modules/state-bar/layout-config.js +1 -0
  218. package/lib/modules/state-bar/live-streaming-state.js +1 -0
  219. package/lib/modules/state-bar/meeting-detail.css +10 -1
  220. package/lib/modules/state-bar/meeting-details.js +35 -25
  221. package/lib/modules/state-bar/meeting-network-state.css +8 -0
  222. package/lib/modules/state-bar/meeting-time.js +9 -20
  223. package/lib/modules/state-bar/store.d.ts +5 -1
  224. package/lib/modules/state-bar/store.js +10 -3
  225. package/lib/modules/state-bar/view.js +17 -6
  226. package/lib/modules/video-window/components/members/index.js +0 -3
  227. package/lib/modules/waiting-room-layout/index.css +13 -0
  228. package/lib/modules/waiting-room-layout/index.d.ts +2 -1
  229. package/lib/modules/waiting-room-layout/index.js +2 -1
  230. package/lib/modules/waiting-room-layout/store.d.ts +12 -1
  231. package/lib/modules/waiting-room-layout/store.js +42 -6
  232. package/lib/modules/waiting-room-layout/view.js +22 -5
  233. package/lib/modules/whiteboard/components/control-bar/index.css +1 -1
  234. package/lib/modules/whiteboard/components/control-bar/index.js +0 -2
  235. package/lib/modules/whiteboard/components/scene-pagination.js +0 -2
  236. package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +1 -1
  237. package/lib/modules/whiteboard/components/switch-theme/libs.js +3 -1
  238. package/lib/modules/whiteboard/components/toolbar/ style.css +1 -0
  239. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +1 -2
  240. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +1 -0
  241. package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +1 -0
  242. package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +3 -14
  243. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.d.ts +1 -0
  244. package/lib/modules/whiteboard/components/toolbar/components/expansion/index.js +83 -0
  245. package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +2 -2
  246. package/lib/modules/whiteboard/components/toolbar/components/history.js +3 -3
  247. package/lib/modules/whiteboard/components/toolbar/components/item/index.d.ts +1 -0
  248. package/lib/modules/whiteboard/components/toolbar/components/item/index.js +42 -0
  249. package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -2
  250. package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +2 -2
  251. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +3 -3
  252. package/lib/modules/whiteboard/components/toolbar/hooks/index.js +6 -6
  253. package/lib/modules/whiteboard/components/toolbar/index.js +9 -113
  254. package/lib/modules/whiteboard/components/toolbar/store.d.ts +18 -0
  255. package/lib/modules/whiteboard/components/toolbar/store.js +276 -83
  256. package/lib/modules/whiteboard/context.d.ts +1 -2
  257. package/lib/modules/whiteboard/index.d.ts +1 -14
  258. package/lib/modules/whiteboard/index.js +131 -426
  259. package/lib/modules/whiteboard/view.js +12 -10
  260. package/lib/modules/widget/sdk.js +2 -2
  261. package/lib/object-manager.d.ts +8 -0
  262. package/lib/object-manager.js +75 -0
  263. package/lib/plugins/browser-runtime-plugin.js +19 -14
  264. package/lib/providers/ability-provider.d.ts +8 -0
  265. package/lib/providers/ability-provider.js +14 -0
  266. package/lib/providers/device-privilege-provider.d.ts +1 -0
  267. package/lib/providers/device-privilege-provider.js +53 -75
  268. package/lib/providers/device-provider.d.ts +18 -8
  269. package/lib/providers/device-provider.js +378 -206
  270. package/lib/providers/device-stream-provider.js +0 -4
  271. package/lib/providers/dialog-provider.d.ts +1 -0
  272. package/lib/providers/dialog-provider.js +4 -18
  273. package/lib/providers/event-provider.js +45 -2
  274. package/lib/providers/interpreter-provider.d.ts +4 -0
  275. package/lib/providers/interpreter-provider.js +166 -137
  276. package/lib/providers/message-provider.js +44 -2
  277. package/lib/providers/privilege-provider.d.ts +33 -0
  278. package/lib/providers/privilege-provider.js +120 -45
  279. package/lib/providers/room-provider.d.ts +12 -10
  280. package/lib/providers/room-provider.js +162 -262
  281. package/lib/providers/screen-share-provider.d.ts +4 -0
  282. package/lib/providers/screen-share-provider.js +3 -6
  283. package/lib/providers/widget-provider.js +6 -4
  284. package/lib/runtime.d.ts +20 -8
  285. package/lib/scenes/main-scene.d.ts +2 -0
  286. package/lib/scenes/main-scene.js +95 -37
  287. package/lib/scenes/waiting-scene.js +16 -13
  288. package/lib/schema.d.ts +55 -32
  289. package/lib/schema.js +23 -9
  290. package/lib/shared-data-source/config.d.ts +6 -2
  291. package/lib/shared-data-source/config.js +81 -10
  292. package/lib/shared-data-source/meeting-time.js +2 -2
  293. package/lib/shared-data-source/member-data.d.ts +16 -20
  294. package/lib/shared-data-source/member-data.js +121 -110
  295. package/lib/shared-data-source/screen-share-data-source.d.ts +37 -0
  296. package/lib/shared-data-source/screen-share-data-source.js +134 -0
  297. package/lib/shared-data-source/security-data.d.ts +1 -0
  298. package/lib/shared-data-source/security-data.js +3 -5
  299. package/lib/shared-data-source/setting.d.ts +1 -0
  300. package/lib/shared-data-source/setting.js +33 -17
  301. package/lib/shared-data-source/video-window.d.ts +3 -4
  302. package/lib/shared-data-source/video-window.js +58 -48
  303. package/lib/translations/enUS.d.ts +48 -1
  304. package/lib/translations/enUS.js +101 -17
  305. package/lib/translations/zhCN.d.ts +48 -1
  306. package/lib/translations/zhCN.js +88 -4
  307. package/lib/type.d.ts +40 -20
  308. package/lib/type.js +14 -1
  309. package/lib/ui-manager.d.ts +11 -9
  310. package/lib/ui-manager.js +118 -29
  311. package/lib/ui-scene.d.ts +7 -4
  312. package/lib/ui-scene.js +111 -130
  313. package/lib/utilities/constant.d.ts +3 -1
  314. package/lib/utilities/constant.js +2 -0
  315. package/lib/utilities/copyText.js +15 -11
  316. package/lib/utilities/default-config.d.ts +2 -0
  317. package/lib/utilities/default-config.js +11 -5
  318. package/lib/utilities/i18n-common-data.d.ts +2 -0
  319. package/lib/utilities/i18n-common-data.js +15 -0
  320. package/lib/utilities/logger.d.ts +0 -1
  321. package/lib/utilities/logger.js +3 -4
  322. package/lib/utilities/renderer.d.ts +0 -9
  323. package/lib/utilities/renderer.js +1 -70
  324. package/lib/utilities/screen.js +3 -1
  325. package/lib/utilities/setting-config-storage.d.ts +6 -1
  326. package/lib/utilities/setting-config-storage.js +21 -4
  327. package/lib/utilities/tools.d.ts +30 -6
  328. package/lib/utilities/tools.js +74 -44
  329. package/lib/utilities/ui-resources.d.ts +6 -0
  330. package/lib/utilities/ui-resources.js +47 -9
  331. package/lib/waiting-room-control-manager.d.ts +4 -4
  332. package/lib/waiting-room-control-manager.js +29 -9
  333. package/package.json +6 -6
  334. package/public/assets/browser/images/default1.jpg +0 -0
  335. package/public/assets/browser/images/default2.jpg +0 -0
  336. package/public/assets/browser/images/default3.jpg +0 -0
  337. package/public/assets/browser/images/default4.jpg +0 -0
  338. package/public/assets/browser/images/default5.jpg +0 -0
  339. package/public/assets/browser/images/default6.jpg +0 -0
  340. package/public/assets/browser/images/default7.jpg +0 -0
  341. package/public/assets/browser/sound_effects/pretest.mp3 +0 -0
  342. package/public/assets/browser/sound_effects/recording_started.mp3 +0 -0
  343. package/public/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
  344. package/public/assets/browser/sound_effects/speaker_test.mp3 +0 -0
  345. package/public/assets/browser/videos/default8.mp4 +0 -0
  346. package/public/assets/browser/videos/default9.mp4 +0 -0
  347. package/public/assets/electron/images/default1.jpg +0 -0
  348. package/public/assets/electron/images/default2.jpg +0 -0
  349. package/public/assets/electron/sound_effects/pretest.mp3 +0 -0
  350. package/public/assets/electron/videos/default8.mp4 +0 -0
  351. package/public/index.html +103 -82
  352. package/lib/hooks/meeting-time.d.ts +0 -15
  353. package/lib/hooks/meeting-time.js +0 -92
  354. package/lib/login-confirm-dialog.d.ts +0 -13
  355. package/lib/login-confirm-dialog.js +0 -85
  356. package/lib/modules/action-bar/components/apps/appitems.d.ts +0 -3
  357. package/lib/modules/action-bar/components/apps/appitems.js +0 -45
  358. package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
  359. package/lib/modules/components/member-window/components/member-board.js +0 -63
  360. package/lib/modules/dialog/components/system-preference/bg1.png +0 -0
  361. package/lib/modules/dialog/components/system-preference/bg2.png +0 -0
  362. package/lib/modules/dialog/types/index.d.ts +0 -70
  363. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +0 -6
  364. package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +0 -28
  365. package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +0 -7
  366. package/lib/modules/participant/components/attendee/components/user-avatar/index.js +0 -39
  367. package/lib/modules/participant/components/attendee/index.css +0 -69
  368. package/lib/modules/participant/components/attendee/index.d.ts +0 -4
  369. package/lib/modules/participant/components/attendee/index.js +0 -337
  370. package/lib/modules/participant/components/drop-menu/index.css +0 -60
  371. package/lib/modules/participant/components/drop-menu/index.d.ts +0 -2
  372. package/lib/modules/participant/components/drop-menu/index.js +0 -189
  373. package/lib/modules/participant/components/footer/buttons.d.ts +0 -6
  374. package/lib/modules/participant/components/footer/buttons.js +0 -52
  375. package/lib/modules/participant/components/footer/index.d.ts +0 -4
  376. package/lib/modules/participant/components/footer/index.js +0 -37
  377. package/lib/modules/participant/components/merge/index.d.ts +0 -11
  378. package/lib/modules/participant/components/merge/index.js +0 -49
  379. package/lib/modules/participant/components/rename/index.d.ts +0 -4
  380. package/lib/modules/participant/components/rename/index.js +0 -45
  381. package/lib/modules/participant/components/user-action/index.d.ts +0 -17
  382. package/lib/modules/participant/components/user-action/index.js +0 -169
  383. package/lib/modules/video-window/deviceState/index.d.ts +0 -16
  384. package/lib/modules/video-window/deviceState/index.js +0 -75
  385. package/lib/modules/video-window/members/index.css +0 -51
  386. package/lib/modules/video-window/members/index.d.ts +0 -2
  387. package/lib/modules/video-window/members/index.js +0 -157
  388. package/lib/modules/video-window/speaking/index.css +0 -69
  389. package/lib/modules/video-window/speaking/index.d.ts +0 -3
  390. package/lib/modules/video-window/speaking/index.js +0 -57
  391. package/lib/modules/video-window/topControl/index.css +0 -35
  392. package/lib/modules/video-window/topControl/index.d.ts +0 -3
  393. package/lib/modules/video-window/topControl/index.js +0 -92
  394. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.d.ts +0 -0
  395. /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.js +0 -0
@@ -20,6 +20,7 @@ Object.defineProperty(exports, "__esModule", {
20
20
  value: true
21
21
  });
22
22
  exports["default"] = exports.StoreContext = void 0;
23
+ require("core-js/modules/es.array.every.js");
23
24
  require("core-js/modules/es.array.filter.js");
24
25
  require("core-js/modules/es.array.find.js");
25
26
  require("core-js/modules/es.array.for-each.js");
@@ -34,11 +35,13 @@ require("core-js/modules/es.object.values.js");
34
35
  require("core-js/modules/es.set.js");
35
36
  require("core-js/modules/es.string.iterator.js");
36
37
  require("core-js/modules/es.weak-map.js");
38
+ require("core-js/modules/esnext.async-iterator.every.js");
37
39
  require("core-js/modules/esnext.async-iterator.filter.js");
38
40
  require("core-js/modules/esnext.async-iterator.find.js");
39
41
  require("core-js/modules/esnext.async-iterator.for-each.js");
40
42
  require("core-js/modules/esnext.async-iterator.some.js");
41
43
  require("core-js/modules/esnext.iterator.constructor.js");
44
+ require("core-js/modules/esnext.iterator.every.js");
42
45
  require("core-js/modules/esnext.iterator.filter.js");
43
46
  require("core-js/modules/esnext.iterator.find.js");
44
47
  require("core-js/modules/esnext.iterator.for-each.js");
@@ -107,7 +110,7 @@ var _view = require("./view");
107
110
  var _logger = require("../../utilities/logger");
108
111
  var _env = require("agora-foundation/lib/utilities/env");
109
112
  var _LayoutStore;
110
- var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_whiteboardActive, _init_participantCount, _init_ownerUser, _addPinMessageDecs, _cancelPinMessageDecs, _setWhiteboardActiveDecs, _setAsideWidthDecs, _updateSlotsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _handleLiveLayoutChangeDecs, _onUserInfoUpdatedDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleFoldListChangedDecs, _handleMainListLengthChangedDecs, _handleMainListChangedDecs, _setBarHoveringDecs, _onAllUserCountUpdatedDecs, _handleConnectionUpdatedDecs, _onAudioVolumeUpdatedDecs, _ref;
113
+ var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_whiteboardActive, _init_ownerUser, _addPinMessageDecs, _cancelPinMessageDecs, _setWhiteboardActiveDecs, _setAsideWidthDecs, _updateSlotsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _handleLiveLayoutChangeDecs, _onUserInfoUpdatedDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleFoldListChangedDecs, _handleMainListLengthChangedDecs, _handleMainListChangedDecs, _setBarHoveringDecs, _handleConnectionUpdatedDecs, _onAudioVolumeUpdatedDecs, _ref;
111
114
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
112
115
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
113
116
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
@@ -135,8 +138,7 @@ var _N = /*#__PURE__*/new WeakMap();
135
138
  var _O = /*#__PURE__*/new WeakMap();
136
139
  var _P = /*#__PURE__*/new WeakMap();
137
140
  var _Q = /*#__PURE__*/new WeakMap();
138
- var _R = /*#__PURE__*/new WeakMap();
139
- _ref = (_participantDecs = [_mobx.observable, _mobx.observable.ref], _chatDecs = [_mobx.observable, _mobx.observable.ref], _chatActionDecs = [_mobx.observable, _mobx.observable.ref], _stateBarDecs = [_mobx.observable, _mobx.observable.ref], _actionBarDecs = [_mobx.observable, _mobx.observable.ref], _layersDecs = [_mobx.observable, _mobx.observable.ref], _whiteboardDecs = [_mobx.observable, _mobx.observable.ref], _addPinMessageDecs = [_mobx.action, _mobx.action.bound], _cancelPinMessageDecs = [_mobx.action, _mobx.action.bound], _setWhiteboardActiveDecs = [_mobx.action, _mobx.action.bound], _setAsideWidthDecs = [_mobx.action, _mobx.action.bound], _updateSlotsDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutDecs = [_mobx.action, _mobx.action.bound], _toggleCollapsedDecs = [_mobx.action, _mobx.action.bound], _toggleAsideDecs = [_mobx.action, _mobx.action.bound], _asideWidthChangedDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarHiddenDecs = [_mobx.action, _mobx.action.bound], _resetLockTimerDecs = [_mobx.action, _mobx.action.bound], _setHoveringHandlerDecs = [_mobx.action, _mobx.action.bound], _setHoveringLeaveHandlerDecs = [_mobx.action, _mobx.action.bound], _handleLiveLayoutChangeDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLayoutUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleFoldListChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListLengthChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListChangedDecs = [_mobx.action, _mobx.action.bound], _setBarHoveringDecs = [_mobx.action, _mobx.action.bound], _onAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleConnectionUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
141
+ _ref = (_participantDecs = [_mobx.observable, _mobx.observable.ref], _chatDecs = [_mobx.observable, _mobx.observable.ref], _chatActionDecs = [_mobx.observable, _mobx.observable.ref], _stateBarDecs = [_mobx.observable, _mobx.observable.ref], _actionBarDecs = [_mobx.observable, _mobx.observable.ref], _layersDecs = [_mobx.observable, _mobx.observable.ref], _whiteboardDecs = [_mobx.observable, _mobx.observable.ref], _addPinMessageDecs = [_mobx.action, _mobx.action.bound], _cancelPinMessageDecs = [_mobx.action, _mobx.action.bound], _setWhiteboardActiveDecs = [_mobx.action, _mobx.action.bound], _setAsideWidthDecs = [_mobx.action, _mobx.action.bound], _updateSlotsDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutDecs = [_mobx.action, _mobx.action.bound], _toggleCollapsedDecs = [_mobx.action, _mobx.action.bound], _toggleAsideDecs = [_mobx.action, _mobx.action.bound], _asideWidthChangedDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarHiddenDecs = [_mobx.action, _mobx.action.bound], _resetLockTimerDecs = [_mobx.action, _mobx.action.bound], _setHoveringHandlerDecs = [_mobx.action, _mobx.action.bound], _setHoveringLeaveHandlerDecs = [_mobx.action, _mobx.action.bound], _handleLiveLayoutChangeDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLayoutUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleFoldListChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListLengthChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListChangedDecs = [_mobx.action, _mobx.action.bound], _setBarHoveringDecs = [_mobx.action, _mobx.action.bound], _handleConnectionUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
140
142
  var LayoutStore = exports["default"] = /*#__PURE__*/function () {
141
143
  function LayoutStore(params) {
142
144
  var _this = this;
@@ -167,10 +169,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
167
169
  _classPrivateFieldInitSpec(this, _N, _init_userVolumeMap(this, new Map()));
168
170
  _classPrivateFieldInitSpec(this, _O, _init_chatRoomState(this, _type4.FcrChatRoomConnectionState.Disconnected));
169
171
  _classPrivateFieldInitSpec(this, _P, _init_whiteboardActive(this, false));
170
- // @observable accessor spotlightStreamId = '';
171
- // @observable accessor shouldHideNonVideoParticipants = false;
172
- _classPrivateFieldInitSpec(this, _Q, _init_participantCount(this, 0));
173
- _classPrivateFieldInitSpec(this, _R, _init_ownerUser(this, undefined));
172
+ _classPrivateFieldInitSpec(this, _Q, _init_ownerUser(this, undefined));
174
173
  (0, _defineProperty2["default"])(this, "getAllowedOperations", (0, _mobxUtils.computedFn)(function (targetRole, isSelf) {
175
174
  return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
176
175
  }));
@@ -207,6 +206,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
207
206
  this._screenShareProvider = params.screenShareProvider;
208
207
  this._pinDataSource = params.sharedPinDataSource;
209
208
  this.chatRoomState = this._chatRoomControl.getConnectionState();
209
+ this._interpreterProvider = params.interpreterProvider;
210
210
  this._addListeners();
211
211
  //@ts-ignore
212
212
  window.layoutStore = this;
@@ -216,9 +216,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
216
216
  this._handleMainListLengthChanged();
217
217
  this._handleLayoutUpdated(this._videoWindowDataSource.layoutType);
218
218
  this.setWhiteboardActive(this._whiteBoardControl.getBoardActiveInfo().isActive);
219
- (0, _mobx.runInAction)(function () {
220
- _this.participantCount = _this._userControl.getAllUserCount();
221
- });
222
219
  }
223
220
  return (0, _createClass2["default"])(LayoutStore, [{
224
221
  key: "participant",
@@ -349,21 +346,13 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
349
346
  _classPrivateFieldSet(_P, this, v);
350
347
  }
351
348
  }, {
352
- key: "participantCount",
349
+ key: "ownerUser",
353
350
  get: function get() {
354
351
  return _classPrivateFieldGet(_Q, this);
355
352
  },
356
353
  set: function set(v) {
357
354
  _classPrivateFieldSet(_Q, this, v);
358
355
  }
359
- }, {
360
- key: "ownerUser",
361
- get: function get() {
362
- return _classPrivateFieldGet(_R, this);
363
- },
364
- set: function set(v) {
365
- _classPrivateFieldSet(_R, this, v);
366
- }
367
356
  }, {
368
357
  key: "streamControl",
369
358
  get: function get() {
@@ -384,6 +373,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
384
373
  get: function get() {
385
374
  return this._sharedSettingDataSource.setting.shouldHideNonVideoParticipants || false;
386
375
  }
376
+ }, {
377
+ key: "shouldHideMyVideo",
378
+ get: function get() {
379
+ return this._sharedSettingDataSource.setting.shouldHideMyVideo || false;
380
+ }
387
381
  }, {
388
382
  key: "enableSpotlight",
389
383
  get: function get() {
@@ -423,7 +417,16 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
423
417
  var nonVideoStreamParticipantList = this.sourceList.filter(function (i) {
424
418
  return _this2._isVideoParticipantVisible(i);
425
419
  });
426
- return this.shouldHideNonVideoParticipants ? nonVideoStreamParticipantList : this.sourceList;
420
+ var list = this.shouldHideNonVideoParticipants ? nonVideoStreamParticipantList : this.sourceList;
421
+ var isOnlyOne = list.every(function (i) {
422
+ return i.isMySelf && i.type === _type2.FcrUIWindowType.VIDEO;
423
+ });
424
+ return list.filter(function (i) {
425
+ if (_this2.shouldHideMyVideo && !isOnlyOne && i.isMySelf && i.type === _type2.FcrUIWindowType.VIDEO) {
426
+ return false;
427
+ }
428
+ return true;
429
+ });
427
430
  }
428
431
  }, {
429
432
  key: "mainList",
@@ -567,6 +570,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
567
570
  get: function get() {
568
571
  return this._sharedInterpreterDataSource.isInterpreterEnabled;
569
572
  }
573
+ }, {
574
+ key: "participantCount",
575
+ get: function get() {
576
+ return this._sharedMemberDataSource.totalUserCount;
577
+ }
570
578
  }, {
571
579
  key: "isVideoSuspended",
572
580
  get: function get() {
@@ -909,9 +917,15 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
909
917
  if (isLoneyWindow) {
910
918
  this._videoWindowDataSource.removeBoard();
911
919
  } else {
912
- var ownerUserId = this._whiteBoardControl.getBoardActiveInfo().ownerUserId;
913
- var ownerUser = this._userControl.getUser(ownerUserId);
914
- this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._privilegeProvider.hasWriteBoardPermission());
920
+ var _this$_whiteBoardCont = this._whiteBoardControl.getBoardActiveInfo(),
921
+ ownerUserId = _this$_whiteBoardCont.ownerUserId,
922
+ isActive = _this$_whiteBoardCont.isActive;
923
+ if (isActive) {
924
+ var ownerUser = this._userControl.getUser(ownerUserId);
925
+ this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._privilegeProvider.hasWriteBoardPermission());
926
+ } else {
927
+ this.logger.warn('LayoutStore onEvent, WhiteboardControlbarEvents.LONEYWINDOW isLoneyWindow false, boardActiveInfo isActive is false, ownerUserId is null');
928
+ }
915
929
  }
916
930
  }
917
931
  if (changeAction === _type3.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
@@ -941,8 +955,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
941
955
  onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
942
956
  };
943
957
  var userObserver = {
944
- onUserInfoUpdated: this.onUserInfoUpdated,
945
- onAllUserCountUpdated: this._onAllUserCountUpdated
958
+ onUserInfoUpdated: this.onUserInfoUpdated
946
959
  };
947
960
  var videoWindowObserver = {
948
961
  onLayoutUpdated: this._handleLayoutUpdated,
@@ -989,9 +1002,13 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
989
1002
  return _this5.whiteboardActive;
990
1003
  }, function (opened) {
991
1004
  if (opened) {
992
- var ownerUserId = _this5._whiteBoardControl.getBoardActiveInfo().ownerUserId;
993
- var ownerUser = _this5._userControl.getUser(ownerUserId);
994
- _this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
1005
+ var _this5$_whiteBoardCon = _this5._whiteBoardControl.getBoardActiveInfo(),
1006
+ ownerUserId = _this5$_whiteBoardCon.ownerUserId,
1007
+ isActive = _this5$_whiteBoardCon.isActive;
1008
+ if (isActive) {
1009
+ var ownerUser = _this5._userControl.getUser(ownerUserId);
1010
+ _this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
1011
+ }
995
1012
  if (_this5.layout === _type2.FcrUIVideoWindowLayoutType.Gallery) {
996
1013
  _this5.toggleLayout(_type2.FcrUIVideoWindowLayoutType.Speaker);
997
1014
  }
@@ -1135,11 +1152,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
1135
1152
  value: function _setBarHovering(state) {
1136
1153
  this.barHovering = state;
1137
1154
  }
1138
- }, {
1139
- key: "_onAllUserCountUpdated",
1140
- value: function _onAllUserCountUpdated(_roomId, count) {
1141
- this.participantCount = count;
1142
- }
1143
1155
  }, {
1144
1156
  key: "_initStream",
1145
1157
  value: function _initStream() {
@@ -1241,8 +1253,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
1241
1253
  volume: 0
1242
1254
  };
1243
1255
  this.userVolumeMap.forEach(function (volume, id) {
1256
+ var _this10$interpreterUs;
1244
1257
  var windowData = _this10.mainListMapByAudioStreamId.get(id);
1245
- if (id !== '0' && !res.streamId && volume > 0 && windowData !== null && windowData !== void 0 && windowData.hasMicrophoneAudioStream && windowData.videoSourceType !== _fcrCore.FcrVideoSourceType.SCREEN) {
1258
+ if (id !== '0' && !res.streamId && volume > 45 && windowData !== null && windowData !== void 0 && windowData.hasMicrophoneAudioStream && windowData.videoSourceType !== _fcrCore.FcrVideoSourceType.SCREEN && !((_this10$interpreterUs = _this10.interpreterUserList) !== null && _this10$interpreterUs !== void 0 && _this10$interpreterUs.find(function (user) {
1259
+ return user.userId === windowData.userId;
1260
+ }))) {
1246
1261
  res = {
1247
1262
  streamId: windowData.windowId,
1248
1263
  volume: volume
@@ -1254,7 +1269,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
1254
1269
  }]);
1255
1270
  }();
1256
1271
  _LayoutStore = LayoutStore;
1257
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_LayoutStore, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_mobx.observable, 1, "collapsed"], [_mobx.observable, 1, "aside"], [_mobx.observable, 1, "barHovering"], [_mobx.observable, 1, "barLocked"], [_mobx.observable, 1, "barHidden"], [_mobx.observable, 1, "asideWidth"], [_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "chatRoomState"], [_mobx.observable, 1, "whiteboardActive"], [_mobx.observable, 1, "participantCount"], [_mobx.observable, 1, "ownerUser"], [_mobx.computed, 3, "localUserRole"], [_mobx.computed, 3, "localUser"], [_mobx.computed, 3, "shouldHideNonVideoParticipants"], [_mobx.computed, 3, "enableSpotlight"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "layout"], [_mobx.computed, 3, "manualLayout"], [_mobx.computed, 3, "sourceList"], [_mobx.computed, 3, "layoutMainList"], [_mobx.computed, 3, "mainList"], [_mobx.computed, 3, "mainListMapByAudioStreamId"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "foldList"], [_mobx.computed, 3, "galleryList"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "carouselList"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "isRobot"], [_mobx.computed, 3, "findSpotlightUser"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "isHostOrCoHost"], [_mobx.computed, 3, "galleryMaxSize"], [_mobx.computed, 3, "localUserId"], [_mobx.computed, 3, "isVideoSuspended"], [_mobx.computed, 3, "asideContent"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "chatRenderAt"], [_decorator.bound, 2, "getWaterMarkContent"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_decorator.bound, 2, "toggleMainStream"], [_addPinMessageDecs, 18, "addPinMessage"], [_cancelPinMessageDecs, 18, "cancelPinMessage"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_updateSlotsDecs, 18, "updateSlots"], [_decorator.bound, 2, "closeParticipantFromAside"], [_decorator.bound, 2, "moveParticipantFromAsideToDialog"], [_decorator.bound, 2, "closeChatFromAside"], [_decorator.bound, 2, "closeAsideChat"], [_decorator.bound, 2, "moveChatFromAsideToDialog"], [_decorator.bound, 2, "openPrivateChat"], [_decorator.bound, 2, "openRenameDialog"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_handleLiveLayoutChangeDecs, 18, "handleLiveLayoutChange"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [_decorator.bound, 2, "stopLocalPreview"], [_decorator.bound, 2, "startLocalPreview"], [_decorator.bound, 2, "setAllowChatWithPayload"], [_decorator.bound, 2, "muteAudio"], [_decorator.bound, 2, "sendParticipantEvent"], [_decorator.bound, 2, "onEvent"], [_decorator.bound, 2, "_addListeners"], [_mobx.computed, 3, "_hasVideoStreamUser"], [_handleFoldListChangedDecs, 18, "_handleFoldListChanged"], [_handleMainListLengthChangedDecs, 18, "_handleMainListLengthChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [_mobx.action, 2, "_switchToSpeaker"], [_mobx.action, 2, "_switchToGallery"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_onAllUserCountUpdatedDecs, 18, "_onAllUserCountUpdated"], [_decorator.bound, 2, "_initStream"], [_decorator.bound, 2, "_isSetSpotlightEnable"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_decorator.bound, 2, "_handleLiveStreamingStateUpdated"], [_decorator.bound, 2, "_handleStreamAdded"], [_decorator.bound, 2, "_onStreamsAdded"], [_decorator.bound, 2, "_onStreamsUpdated"], [_decorator.bound, 2, "_onStreamsRemoved"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 20);
1272
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_LayoutStore, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_mobx.observable, 1, "collapsed"], [_mobx.observable, 1, "aside"], [_mobx.observable, 1, "barHovering"], [_mobx.observable, 1, "barLocked"], [_mobx.observable, 1, "barHidden"], [_mobx.observable, 1, "asideWidth"], [_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "chatRoomState"], [_mobx.observable, 1, "whiteboardActive"], [_mobx.observable, 1, "ownerUser"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "layout"], [_mobx.computed, 3, "manualLayout"], [_mobx.computed, 3, "sourceList"], [_mobx.computed, 3, "layoutMainList"], [_mobx.computed, 3, "mainList"], [_mobx.computed, 3, "mainListMapByAudioStreamId"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "foldList"], [_mobx.computed, 3, "galleryList"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "carouselList"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "isRobot"], [_mobx.computed, 3, "findSpotlightUser"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "galleryMaxSize"], [_mobx.computed, 3, "isVideoSuspended"], [_mobx.computed, 3, "asideContent"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "chatRenderAt"], [_decorator.bound, 2, "getWaterMarkContent"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_decorator.bound, 2, "toggleMainStream"], [_addPinMessageDecs, 18, "addPinMessage"], [_cancelPinMessageDecs, 18, "cancelPinMessage"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_updateSlotsDecs, 18, "updateSlots"], [_decorator.bound, 2, "closeParticipantFromAside"], [_decorator.bound, 2, "moveParticipantFromAsideToDialog"], [_decorator.bound, 2, "closeChatFromAside"], [_decorator.bound, 2, "closeAsideChat"], [_decorator.bound, 2, "moveChatFromAsideToDialog"], [_decorator.bound, 2, "openPrivateChat"], [_decorator.bound, 2, "openRenameDialog"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_handleLiveLayoutChangeDecs, 18, "handleLiveLayoutChange"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [_decorator.bound, 2, "stopLocalPreview"], [_decorator.bound, 2, "startLocalPreview"], [_decorator.bound, 2, "setAllowChatWithPayload"], [_decorator.bound, 2, "muteAudio"], [_decorator.bound, 2, "sendParticipantEvent"], [_decorator.bound, 2, "onEvent"], [_decorator.bound, 2, "_addListeners"], [_mobx.computed, 3, "_hasVideoStreamUser"], [_handleFoldListChangedDecs, 18, "_handleFoldListChanged"], [_handleMainListLengthChangedDecs, 18, "_handleMainListLengthChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [_mobx.action, 2, "_switchToSpeaker"], [_mobx.action, 2, "_switchToGallery"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_decorator.bound, 2, "_initStream"], [_decorator.bound, 2, "_isSetSpotlightEnable"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_decorator.bound, 2, "_handleLiveStreamingStateUpdated"], [_decorator.bound, 2, "_handleStreamAdded"], [_decorator.bound, 2, "_onStreamsAdded"], [_decorator.bound, 2, "_onStreamsUpdated"], [_decorator.bound, 2, "_onStreamsRemoved"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 19);
1258
1273
  _init_participant = _applyDecs$e[0];
1259
1274
  _init_chat = _applyDecs$e[1];
1260
1275
  _init_chatAction = _applyDecs$e[2];
@@ -1271,9 +1286,8 @@ _init_asideWidth = _applyDecs$e[12];
1271
1286
  _init_userVolumeMap = _applyDecs$e[13];
1272
1287
  _init_chatRoomState = _applyDecs$e[14];
1273
1288
  _init_whiteboardActive = _applyDecs$e[15];
1274
- _init_participantCount = _applyDecs$e[16];
1275
- _init_ownerUser = _applyDecs$e[17];
1276
- _init__handleLayoutUpdated = _applyDecs$e[18];
1277
- _initProto = _applyDecs$e[19];
1289
+ _init_ownerUser = _applyDecs$e[16];
1290
+ _init__handleLayoutUpdated = _applyDecs$e[17];
1291
+ _initProto = _applyDecs$e[18];
1278
1292
  (0, _defineProperty2["default"])(LayoutStore, "MIN_USERS_TO_ENABLE_SPOTLIGHT", 2);
1279
1293
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
@@ -65,3 +65,7 @@ export declare enum FcrUIWindowType {
65
65
  VIDEO = 1,
66
66
  BOARD = 2
67
67
  }
68
+ export declare enum FcrUILayoutType {
69
+ CAROUSEL = "carousel",
70
+ GALLERY = "gallery"
71
+ }
@@ -4,7 +4,7 @@ require("core-js/modules/es.object.define-property.js");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.VideoRatio = exports.GalleryMaxSize = exports.FcrUIWindowType = exports.FcrUIVideoWindowMainSortingPriority = exports.FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowFoldSortingPriority = void 0;
7
+ exports.VideoRatio = exports.GalleryMaxSize = exports.FcrUIWindowType = exports.FcrUIVideoWindowMainSortingPriority = exports.FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowFoldSortingPriority = exports.FcrUILayoutType = void 0;
8
8
  var FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowLayoutType = /*#__PURE__*/function (FcrUIVideoWindowLayoutType) {
9
9
  FcrUIVideoWindowLayoutType["Speaker"] = "speaker";
10
10
  FcrUIVideoWindowLayoutType["Gallery"] = "gallery";
@@ -49,4 +49,9 @@ var FcrUIWindowType = exports.FcrUIWindowType = /*#__PURE__*/function (FcrUIWind
49
49
  FcrUIWindowType[FcrUIWindowType["VIDEO"] = 1] = "VIDEO";
50
50
  FcrUIWindowType[FcrUIWindowType["BOARD"] = 2] = "BOARD";
51
51
  return FcrUIWindowType;
52
+ }({});
53
+ var FcrUILayoutType = exports.FcrUILayoutType = /*#__PURE__*/function (FcrUILayoutType) {
54
+ FcrUILayoutType["CAROUSEL"] = "carousel";
55
+ FcrUILayoutType["GALLERY"] = "gallery";
56
+ return FcrUILayoutType;
52
57
  }({});
@@ -15,6 +15,7 @@ export default class LiveStreamingStore {
15
15
  private _messageProvider;
16
16
  private _sharedVideoWindowDataSource;
17
17
  private _sharedMemberDataSource;
18
+ private _hasDoneRequestStartLiveStreaming;
18
19
  get liveStreamingState(): FcrLiveStreamingState;
19
20
  get videoStreamingUrl(): string;
20
21
  get videoStreamingKey(): string;
@@ -74,7 +74,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
74
74
  function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
75
75
  function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
76
76
  var _A = /*#__PURE__*/new WeakMap();
77
- _ref = (_onLiveButtonClickDecs = [_mobx.action, _mobx.action.bound], _startLiveStreamingDecs = [_mobx.action, _mobx.action.bound], "logger");
77
+ _ref = (_onLiveButtonClickDecs = [_mobx.action, _mobx.action.bound, void 0, (0, _decorator.debounced)(800)], _startLiveStreamingDecs = [_mobx.action, _mobx.action.bound], "logger");
78
78
  var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
79
79
  function LiveStreamingStore(_ref2) {
80
80
  var _this = this;
@@ -90,6 +90,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
90
90
  })));
91
91
  _classPrivateFieldInitSpec(this, _A, _init_isStartError(this, false));
92
92
  (0, _defineProperty2["default"])(this, "_disposers", []);
93
+ (0, _defineProperty2["default"])(this, "_hasDoneRequestStartLiveStreaming", true);
93
94
  this._roomControl = roomControl;
94
95
  this._roomProvider = roomProvider;
95
96
  this._dialogProvider = dialogProvider;
@@ -194,31 +195,41 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
194
195
  while (1) switch (_context2.prev = _context2.next) {
195
196
  case 0:
196
197
  _context2.prev = 0;
197
- _context2.next = 3;
198
+ if (!this._hasDoneRequestStartLiveStreaming) {
199
+ _context2.next = 7;
200
+ break;
201
+ }
202
+ this._hasDoneRequestStartLiveStreaming = false;
203
+ _context2.next = 5;
198
204
  return this._roomProvider.startLiveStreaming({
199
205
  pushStreamingUrl: videoSteamingUrl,
200
206
  pullStreamingUrl: playUrl,
201
207
  pushStreamingKey: videoStreamingKey,
202
208
  layoutType: this._layoutView === 'speaker' ? _type.FcrLiveStreamingLayoutType.SPEAKER : _type.FcrLiveStreamingLayoutType.GALLERY
203
209
  });
204
- case 3:
210
+ case 5:
205
211
  (0, _mobx.runInAction)(function () {
206
212
  _this2.isStartError = false;
207
213
  });
208
214
  this._dialogProvider.closeLiveStreamingDialog();
209
- _context2.next = 10;
210
- break;
211
215
  case 7:
212
- _context2.prev = 7;
216
+ _context2.next = 12;
217
+ break;
218
+ case 9:
219
+ _context2.prev = 9;
213
220
  _context2.t0 = _context2["catch"](0);
214
221
  (0, _mobx.runInAction)(function () {
215
222
  _this2.isStartError = true;
216
223
  });
217
- case 10:
224
+ case 12:
225
+ _context2.prev = 12;
226
+ this._hasDoneRequestStartLiveStreaming = true;
227
+ return _context2.finish(12);
228
+ case 15:
218
229
  case "end":
219
230
  return _context2.stop();
220
231
  }
221
- }, _callee2, this, [[0, 7]]);
232
+ }, _callee2, this, [[0, 9, 12, 15]]);
222
233
  }));
223
234
  function _startLiveStreaming(_x4, _x5, _x6) {
224
235
  return _startLiveStreaming2.apply(this, arguments);
@@ -1,6 +1,6 @@
1
- declare function ConfirmInput(props: {
1
+ export declare const FcrConfirmInput: (props: {
2
2
  onChange: (name: string | number) => void;
3
3
  placeholder?: string;
4
- type?: 'number' | 'text';
5
- }): import("react/jsx-runtime").JSX.Element;
6
- export default ConfirmInput;
4
+ type?: "number" | "text";
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const FcrWrapConfirmRenameForm: () => import("react/jsx-runtime").JSX.Element;
@@ -5,21 +5,28 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = void 0;
8
+ exports.FcrWrapConfirmRenameForm = exports.FcrConfirmInput = void 0;
9
9
  require("core-js/modules/es.regexp.exec.js");
10
10
  require("core-js/modules/es.regexp.test.js");
11
+ require("core-js/modules/es.string.replace.js");
11
12
  require("core-js/modules/es.string.trim.js");
12
13
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
14
  var _input = require("agora-ui-foundation/lib/components/input");
14
15
  var _i18n = require("agora-ui-foundation/lib/i18n");
15
16
  var _react = require("react");
17
+ var _store = require("../../store");
18
+ var _mobxReact = require("mobx-react");
19
+ var _button = require("agora-ui-foundation/lib/components/button");
16
20
  var _jsxRuntime = require("react/jsx-runtime");
17
- function ConfirmInput(props) {
21
+ var FcrConfirmRenameForm = function FcrConfirmRenameForm(props) {
18
22
  var onChange = props.onChange,
23
+ onSubmit = props.onSubmit,
24
+ onCancel = props.onCancel,
19
25
  placeholder = props.placeholder,
20
26
  _props$type = props.type,
21
- type = _props$type === void 0 ? 'text' : _props$type;
22
- var _useState = (0, _react.useState)(''),
27
+ type = _props$type === void 0 ? 'text' : _props$type,
28
+ value = props.value;
29
+ var _useState = (0, _react.useState)(value),
23
30
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
24
31
  name = _useState2[0],
25
32
  setName = _useState2[1];
@@ -27,6 +34,54 @@ function ConfirmInput(props) {
27
34
  (0, _react.useEffect)(function () {
28
35
  onChange(name);
29
36
  }, [name]);
37
+ function handleNameChange(name) {
38
+ var length = name.replace(/[^\x00-\xff]/g, '**').length;
39
+ if (length > 36) {
40
+ return;
41
+ }
42
+ type === 'number' ? (/^\d+$/.test(name) || name === '') && setName(name.trim()) : setName(name.trim());
43
+ }
44
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
45
+ className: "participants-container-rename",
46
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_input.FcrInput, {
47
+ autoFocus: true,
48
+ style: {
49
+ width: '272px'
50
+ },
51
+ value: name,
52
+ onChange: handleNameChange,
53
+ size: "large",
54
+ allowClear: true,
55
+ shape: "rounded",
56
+ placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname')
57
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
58
+ className: 'participants-container-rename-footer fcr-confirm-content-footer fcr-confirm-content-footer__center',
59
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
60
+ size: "XS",
61
+ type: "secondary",
62
+ onClick: onCancel,
63
+ children: t('fmt_popup_button_cancel')
64
+ }, 0), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
65
+ size: "XS",
66
+ onClick: onSubmit,
67
+ children: t('fmt_uimanager_button_determine')
68
+ }, 1)]
69
+ })]
70
+ });
71
+ };
72
+ var FcrConfirmInput = exports.FcrConfirmInput = function FcrConfirmInput(props) {
73
+ var onChange = props.onChange,
74
+ placeholder = props.placeholder,
75
+ _props$type2 = props.type,
76
+ type = _props$type2 === void 0 ? 'text' : _props$type2;
77
+ var _useState3 = (0, _react.useState)(''),
78
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
79
+ name = _useState4[0],
80
+ setName = _useState4[1];
81
+ var t = (0, _i18n.useI18n)();
82
+ (0, _react.useEffect)(function () {
83
+ onChange(name);
84
+ }, [name]);
30
85
  function handleNameChange(name) {
31
86
  type === 'number' ? (/^\d+$/.test(name) || name === '') && setName(name.trim()) : setName(name.trim());
32
87
  }
@@ -46,5 +101,18 @@ function ConfirmInput(props) {
46
101
  placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname')
47
102
  })
48
103
  });
49
- }
50
- var _default = exports["default"] = ConfirmInput;
104
+ };
105
+ var FcrWrapConfirmRenameForm = exports.FcrWrapConfirmRenameForm = (0, _mobxReact.observer)(function () {
106
+ var store = (0, _react.useContext)(_store.StoreContext);
107
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
108
+ className: "operate-rename-dialog-content",
109
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FcrConfirmRenameForm, {
110
+ value: store.operatorRenameUserName,
111
+ onChange: function onChange(value) {
112
+ return store.newName = String(value);
113
+ },
114
+ onSubmit: store.handleConfirmChangeName,
115
+ onCancel: store.handleCancelChangeName
116
+ })
117
+ });
118
+ });
@@ -18,6 +18,7 @@
18
18
  align-items: center;
19
19
  padding: 2px;
20
20
  margin-left: 80px;
21
+ border-radius: var(--fcr_cornerradius_xxs);
21
22
  }
22
23
 
23
24
  .room-control-options-watermark-btn {
@@ -26,15 +27,38 @@
26
27
  display: flex;
27
28
  justify-content: center;
28
29
  align-items: center;
29
- color: var(--fcr_ui_scene_icontext1);
30
- font-size: 12px;
31
30
  background-color: transparent;
32
31
  padding: 0px 4px;
33
32
  width: auto !important;
34
33
  border-radius: var(--fcr_cornerradius_xxs);
35
34
  }
35
+ .room-control-options-watermark-btn .btn-label {
36
+ color: var(--fcr_ui_scene_icontext1);
37
+ font-size: 12px;
38
+ }
39
+
40
+ .fcr-watermark-rotate-icon {
41
+ animation: rotate 1s linear infinite;
42
+ }
43
+
44
+ @keyframes rotate {
45
+ from {
46
+ transform: rotate(0deg);
47
+ }
48
+ to {
49
+ transform: rotate(360deg);
50
+ }
51
+ }
52
+
36
53
  .room-control-options-watermark-btn--active {
37
- background-color: #ffffff;
54
+ background-color: var(--fcr_ui_scene_white10);
55
+ }
56
+
57
+ .room-control-options-watermark-btn--active svg path {
58
+ fill: var(--fcr_ui_scene_ramp_brand6) !important;
59
+ }
60
+
61
+ .room-control-options-watermark-btn--active .btn-label {
38
62
  color: var(--fcr_ui_scene_ramp_brand6);
39
63
  }
40
64
 
@@ -11,3 +11,7 @@
11
11
  .fcr-participant__footer-creator button {
12
12
  flex: 1;
13
13
  }
14
+
15
+ .fcr-participant__footer-creator button {
16
+ padding: 0 !important;
17
+ }
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  require("core-js/modules/es.object.define-property.js");
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.FcrParticipantsFooterWithRevokeHost = exports.FcrParticipantsFooterRename = exports.FcrParticipantsFooter = void 0;
9
8
  require("core-js/modules/es.array.unshift.js");
10
- var _react = _interopRequireDefault(require("react"));
11
9
  var _i18n = require("agora-ui-foundation/lib/i18n");
12
10
  var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
13
11
  var _dropMenu = require("agora-ui-foundation/lib/components/drop-menu");
@@ -182,6 +180,7 @@ var FcrParticipantsFooter = exports.FcrParticipantsFooter = function FcrParticip
182
180
  children: t('fmt_participants_button_unmuteAll')
183
181
  })
184
182
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
183
+ showArrow: false,
185
184
  trigger: "click",
186
185
  overlayClassName: "attendee__footer-more-actions",
187
186
  mouseEnterDelay: 0,
@@ -206,7 +205,7 @@ var FcrParticipantsFooterRename = exports.FcrParticipantsFooterRename = function
206
205
  var onRoomControlClick = _ref.onRoomControlClick;
207
206
  var t = (0, _i18n.useI18n)();
208
207
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
209
- content: t('fmt_additional_popup_label_change_nickname'),
208
+ content: t('fmt_additional_option_rename_in_meeting'),
210
209
  mouseEnterDelay: 0,
211
210
  trigger: "hover",
212
211
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
@@ -216,7 +215,7 @@ var FcrParticipantsFooterRename = exports.FcrParticipantsFooterRename = function
216
215
  onClick: function onClick() {
217
216
  return onRoomControlClick === null || onRoomControlClick === void 0 ? void 0 : onRoomControlClick(ACTION_CHANGE_NAME);
218
217
  },
219
- children: t('fmt_additional_popup_label_change_nickname')
218
+ children: t('fmt_additional_option_rename_in_meeting')
220
219
  })
221
220
  });
222
221
  };
@@ -48,7 +48,7 @@
48
48
  .attendee__name {
49
49
  color: var(--for_head2);
50
50
  display: -webkit-box;
51
- -webkit-line-clamp: 2;
51
+ -webkit-line-clamp: 1;
52
52
  -webkit-box-orient: vertical;
53
53
  overflow: hidden;
54
54
  text-overflow: ellipsis;
@@ -68,6 +68,7 @@
68
68
  display: flex;
69
69
  align-items: center;
70
70
  line-height: 16px;
71
+ margin-right: 8px;
71
72
  }
72
73
 
73
74
  .attendee__tag-group {
@@ -86,7 +87,7 @@
86
87
  font-weight: 400;
87
88
  background: rgba(0, 0, 0, 1);
88
89
  padding-left: 0;
89
- margin-left: 8px;
90
+ margin-left: 0px;
90
91
  border-radius: 8px;
91
92
  background: var(--fcr_mobile_ui_scene_color_popup_fill3);
92
93
  }
@@ -144,7 +145,7 @@
144
145
  }
145
146
  .attendee__footer-more-actions .fcr-tooltip-inner {
146
147
  max-width: 364px !important;
147
- min-width: 302px !important;
148
+ min-width: auto !important;
148
149
  width: auto !important;
149
150
  }
150
151
 
@@ -98,6 +98,7 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
98
98
  children: t('fmt_chats_label_privatechat')
99
99
  })
100
100
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
101
+ showArrow: false,
101
102
  visible: isShowDropMenu,
102
103
  overlayInnerStyle: {
103
104
  border: 0,
@@ -25,6 +25,14 @@
25
25
  line-height: 32px;
26
26
  padding-left: 8px;
27
27
  text-align: left;
28
+ width: 280px;
29
+ display: -webkit-box;
30
+ -webkit-box-orient: vertical;
31
+ overflow: hidden;
32
+ text-overflow: ellipsis;
33
+ -webkit-line-clamp: 1;
34
+ font-size: 12px;
35
+ font-weight: 700;
28
36
  }
29
37
 
30
38
  .fcr-participants-more-dropmenu .fcr-drop-menu-options {
@@ -35,7 +43,7 @@
35
43
  min-height: 32px;
36
44
  height: auto;
37
45
  padding: 5px 10px 5px 5px;
38
- align-items: start;
46
+ align-items: center;
39
47
  }
40
48
 
41
49
  .fcr-participants-more-dropmenu .fcr-drop-menu-group {