fcr-ui-scene 3.2.0 → 3.3.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 (356) hide show
  1. package/dist/electron/app.js +148 -0
  2. package/dist/electron/bootstrap-dev.js +51 -0
  3. package/dist/electron/bootstrap-sdk.js +56 -0
  4. package/dist/electron/default-options.js +25 -0
  5. package/dist/electron/env.js +13 -0
  6. package/dist/electron/index.js +20 -0
  7. package/dist/electron/injections.js +702 -0
  8. package/dist/electron/logger.js +66 -0
  9. package/dist/electron/main.js +67 -0
  10. package/dist/electron/plugins/meeting-state.js +39 -0
  11. package/dist/electron/plugins/screenshot.js +49 -0
  12. package/dist/electron/preload.js +36 -0
  13. package/dist/electron/tools.js +66 -0
  14. package/dist/electron/window.js +124 -0
  15. package/installer/icons/favicon.ico +0 -0
  16. package/installer/icons/favicon.png +0 -0
  17. package/installer/mac/entitlements.mac.plist +16 -0
  18. package/lib/common/device-store.d.ts +1 -1
  19. package/lib/common/device-store.js +11 -3
  20. package/lib/common/event-store.d.ts +17 -1
  21. package/lib/common/event-store.js +38 -5
  22. package/lib/common/room-store.d.ts +55 -0
  23. package/lib/common/room-store.js +395 -0
  24. package/lib/common/security-store.d.ts +14 -4
  25. package/lib/common/security-store.js +149 -30
  26. package/lib/creator.js +2 -0
  27. package/lib/electron/app.js +8 -0
  28. package/lib/electron/bootstrap-dev.d.ts +1 -0
  29. package/lib/electron/bootstrap-dev.js +51 -0
  30. package/lib/electron/bootstrap-sdk.d.ts +1 -0
  31. package/lib/electron/bootstrap-sdk.js +57 -0
  32. package/lib/electron/bootstrap.d.ts +1 -0
  33. package/lib/electron/bootstrap.js +56 -0
  34. package/lib/electron/default-options.js +1 -1
  35. package/lib/electron/dev.d.ts +1 -0
  36. package/lib/electron/dev.js +51 -0
  37. package/lib/electron/injections.d.ts +2 -1
  38. package/lib/electron/injections.js +6 -6
  39. package/lib/electron/main.js +4 -16
  40. package/lib/electron/plugins/meeting-state.d.ts +2 -0
  41. package/lib/electron/plugins/meeting-state.js +39 -0
  42. package/lib/electron/preload.js +2 -1
  43. package/lib/fragments/control-bar/control-bar-store.d.ts +34 -1
  44. package/lib/fragments/control-bar/control-bar-store.js +371 -79
  45. package/lib/fragments/control-bar/device/index.js +5 -3
  46. package/lib/fragments/control-bar/index.css +15 -10
  47. package/lib/fragments/control-bar/index.js +18 -0
  48. package/lib/fragments/control-bar/meeting-details/meeting-detail.css +109 -0
  49. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +3 -0
  50. package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +60 -0
  51. package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +2 -0
  52. package/lib/fragments/control-bar/meeting-details/meeting-details.js +179 -0
  53. package/lib/fragments/control-bar/more-actions/index.css +53 -0
  54. package/lib/fragments/control-bar/more-actions/index.js +72 -37
  55. package/lib/fragments/control-bar/security-content/index.css +10 -0
  56. package/lib/fragments/control-bar/security-content/index.js +40 -18
  57. package/lib/fragments/control-bar/view.js +8 -2
  58. package/lib/login-confirm-dialog.d.ts +12 -0
  59. package/lib/login-confirm-dialog.js +80 -0
  60. package/lib/modules/Interpreter/add-button/index.css +4 -0
  61. package/lib/modules/Interpreter/add-button/index.d.ts +11 -0
  62. package/lib/modules/Interpreter/add-button/index.js +41 -0
  63. package/lib/modules/Interpreter/config.d.ts +16 -0
  64. package/lib/modules/Interpreter/config.js +17 -0
  65. package/lib/modules/Interpreter/constant.d.ts +44 -0
  66. package/lib/modules/Interpreter/constant.js +60 -0
  67. package/lib/modules/Interpreter/context.d.ts +2 -0
  68. package/lib/modules/Interpreter/context.js +9 -0
  69. package/lib/modules/Interpreter/dialog-content/index.css +33 -0
  70. package/lib/modules/Interpreter/dialog-content/index.d.ts +8 -0
  71. package/lib/modules/Interpreter/dialog-content/index.js +34 -0
  72. package/lib/modules/Interpreter/footer/components/interpreter-btn/index.d.ts +5 -0
  73. package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +56 -0
  74. package/lib/modules/Interpreter/footer/components/set-btn/index.d.ts +5 -0
  75. package/lib/modules/Interpreter/footer/components/set-btn/index.js +46 -0
  76. package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.d.ts +6 -0
  77. package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.js +28 -0
  78. package/lib/modules/Interpreter/footer/index.css +10 -0
  79. package/lib/modules/Interpreter/footer/index.d.ts +3 -0
  80. package/lib/modules/Interpreter/footer/index.js +35 -0
  81. package/lib/modules/Interpreter/index.css +8 -0
  82. package/lib/modules/Interpreter/index.d.ts +21 -0
  83. package/lib/modules/Interpreter/index.js +110 -0
  84. package/lib/modules/Interpreter/interpreter-list/index.css +21 -0
  85. package/lib/modules/Interpreter/interpreter-list/index.d.ts +3 -0
  86. package/lib/modules/Interpreter/interpreter-list/index.js +65 -0
  87. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +31 -0
  88. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +11 -0
  89. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +141 -0
  90. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  91. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  92. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  93. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  94. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  95. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  96. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  97. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  98. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  99. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  100. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  101. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  102. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  103. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  104. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  105. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  106. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  107. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +11 -0
  108. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +119 -0
  109. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +41 -0
  110. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +12 -0
  111. package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +118 -0
  112. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.css +34 -0
  113. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +8 -0
  114. package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +65 -0
  115. package/lib/modules/Interpreter/loading-wrapper/index.css +53 -0
  116. package/lib/modules/Interpreter/loading-wrapper/index.d.ts +6 -0
  117. package/lib/modules/Interpreter/loading-wrapper/index.js +28 -0
  118. package/lib/modules/Interpreter/store.d.ts +82 -0
  119. package/lib/modules/Interpreter/store.js +1382 -0
  120. package/lib/modules/Interpreter/view.d.ts +3 -0
  121. package/lib/modules/Interpreter/view.js +32 -0
  122. package/lib/modules/action-bar/Interpreter/index.d.ts +6 -0
  123. package/lib/modules/action-bar/Interpreter/index.js +44 -0
  124. package/lib/modules/action-bar/action-bar-collapes-items.js +5 -5
  125. package/lib/modules/action-bar/apps/appitems.d.ts +2 -0
  126. package/lib/modules/action-bar/apps/appitems.js +40 -0
  127. package/lib/modules/action-bar/apps/index.css +6 -0
  128. package/lib/modules/action-bar/apps/index.d.ts +4 -0
  129. package/lib/modules/action-bar/apps/index.js +58 -0
  130. package/lib/modules/action-bar/chat/index.js +5 -5
  131. package/lib/modules/action-bar/device/index.css +7 -2
  132. package/lib/modules/action-bar/device/index.js +4 -4
  133. package/lib/modules/action-bar/index.css +59 -12
  134. package/lib/modules/action-bar/index.d.ts +3 -2
  135. package/lib/modules/action-bar/index.dev.js +1 -1
  136. package/lib/modules/action-bar/index.js +21 -0
  137. package/lib/modules/action-bar/leave/assign-host.d.ts +3 -0
  138. package/lib/modules/action-bar/leave/assign-host.js +2 -4
  139. package/lib/modules/action-bar/leave/index.js +29 -6
  140. package/lib/modules/action-bar/leave/leave-meeting.d.ts +11 -0
  141. package/lib/modules/action-bar/leave/leave-meeting.js +25 -16
  142. package/lib/modules/action-bar/more/poppover-content.js +4 -4
  143. package/lib/modules/action-bar/participants/index.css +12 -0
  144. package/lib/modules/action-bar/participants/index.js +21 -14
  145. package/lib/modules/action-bar/screen-share/index.js +5 -1
  146. package/lib/modules/action-bar/screen-share/submenu.js +16 -22
  147. package/lib/modules/action-bar/security/drop-menu.js +90 -13
  148. package/lib/modules/action-bar/store.d.ts +38 -6
  149. package/lib/modules/action-bar/store.js +487 -95
  150. package/lib/modules/action-bar/switch-input-language-room/fcr_translateswitch.png +0 -0
  151. package/lib/modules/action-bar/switch-input-language-room/index.css +86 -0
  152. package/lib/modules/action-bar/switch-input-language-room/index.d.ts +17 -0
  153. package/lib/modules/action-bar/switch-input-language-room/index.js +145 -0
  154. package/lib/modules/action-bar/switch-output-language-room/drop-menu.d.ts +1 -0
  155. package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +197 -0
  156. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.css +18 -0
  157. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +8 -0
  158. package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +59 -0
  159. package/lib/modules/action-bar/switch-output-language-room/index.d.ts +12 -0
  160. package/lib/modules/action-bar/switch-output-language-room/index.js +238 -0
  161. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +54 -0
  162. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.d.ts +8 -0
  163. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +94 -0
  164. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +8 -0
  165. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +4 -0
  166. package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +31 -0
  167. package/lib/modules/action-bar/switch-output-language-room/notification-bar/dome.png +0 -0
  168. package/lib/modules/action-bar/switch-output-language-room/notification-bar/fcr_translateswitch.png +0 -0
  169. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +71 -0
  170. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.d.ts +2 -0
  171. package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +82 -0
  172. package/lib/modules/action-bar/view.js +65 -42
  173. package/lib/modules/chat/chat-bar/index.js +39 -27
  174. package/lib/modules/chat/chat-select/index.css +14 -4
  175. package/lib/modules/chat/chat.d.ts +1 -2
  176. package/lib/modules/chat/chat.js +184 -105
  177. package/lib/modules/chat/index.css +49 -0
  178. package/lib/modules/chat/index.d.ts +2 -2
  179. package/lib/modules/chat/index.dev.js +1 -1
  180. package/lib/modules/chat/index.js +13 -8
  181. package/lib/modules/chat/message-list.js +59 -48
  182. package/lib/modules/chat/store.d.ts +48 -2
  183. package/lib/modules/chat/store.js +258 -45
  184. package/lib/modules/connection-gateway/index.d.ts +2 -1
  185. package/lib/modules/connection-gateway/store.d.ts +6 -3
  186. package/lib/modules/connection-gateway/store.js +5 -1
  187. package/lib/modules/device-pretest/audio-preview/speaker-control.js +1 -1
  188. package/lib/modules/device-pretest/index.css +0 -4
  189. package/lib/modules/device-pretest/settings/beauty.js +17 -6
  190. package/lib/modules/device-pretest/store.js +7 -11
  191. package/lib/modules/dialog/components/Interpreter/electron.d.ts +2 -0
  192. package/lib/modules/dialog/components/Interpreter/electron.js +72 -0
  193. package/lib/modules/dialog/components/Interpreter/index.css +30 -0
  194. package/lib/modules/dialog/components/Interpreter/index.d.ts +4 -0
  195. package/lib/modules/dialog/components/Interpreter/index.js +61 -0
  196. package/lib/modules/dialog/components/Interpreter/user-queue/index.css +36 -0
  197. package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +3 -0
  198. package/lib/modules/dialog/components/Interpreter/user-queue/index.js +47 -0
  199. package/lib/modules/dialog/components/chat/electron.js +2 -1
  200. package/lib/modules/dialog/components/confirm/electron.js +5 -3
  201. package/lib/modules/dialog/components/connection-gateway/electron.js +3 -1
  202. package/lib/modules/dialog/components/connection-gateway/index.css +0 -2
  203. package/lib/modules/dialog/components/device-setting/electron.js +3 -1
  204. package/lib/modules/dialog/components/device-setting/index.css +0 -1
  205. package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +5 -0
  206. package/lib/modules/dialog/components/operation-waiting-room/electron.js +89 -0
  207. package/lib/modules/dialog/components/operation-waiting-room/index.css +44 -0
  208. package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +5 -0
  209. package/lib/modules/dialog/components/operation-waiting-room/index.js +156 -0
  210. package/lib/modules/dialog/components/participant/electron.js +2 -1
  211. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +5 -0
  212. package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +89 -0
  213. package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +50 -0
  214. package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +5 -0
  215. package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +90 -0
  216. package/lib/modules/dialog/components/switch-language-channels/electron.d.ts +2 -0
  217. package/lib/modules/dialog/components/switch-language-channels/electron.js +72 -0
  218. package/lib/modules/dialog/components/switch-language-channels/index.css +30 -0
  219. package/lib/modules/dialog/components/switch-language-channels/index.d.ts +4 -0
  220. package/lib/modules/dialog/components/switch-language-channels/index.js +63 -0
  221. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.css +36 -0
  222. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.d.ts +3 -0
  223. package/lib/modules/dialog/components/switch-language-channels/user-queue/index.js +47 -0
  224. package/lib/modules/dialog/components/whiteboard/index.js +2 -1
  225. package/lib/modules/dialog/dialogs.js +17 -13
  226. package/lib/modules/dialog/index.css +2 -0
  227. package/lib/modules/dialog/store.d.ts +4 -0
  228. package/lib/modules/dialog/store.js +16 -2
  229. package/lib/modules/event-notification/context.d.ts +2 -0
  230. package/lib/modules/event-notification/context.js +9 -0
  231. package/lib/modules/event-notification/index.css +58 -0
  232. package/lib/modules/event-notification/index.d.ts +13 -0
  233. package/lib/modules/event-notification/index.js +48 -0
  234. package/lib/modules/event-notification/store.d.ts +17 -0
  235. package/lib/modules/event-notification/store.js +133 -0
  236. package/lib/modules/event-notification/view.d.ts +5 -0
  237. package/lib/modules/event-notification/view.js +114 -0
  238. package/lib/modules/invite/index.css +4 -4
  239. package/lib/modules/invite/pstn-invite.js +1 -0
  240. package/lib/modules/layout/components/Gallery.js +7 -1
  241. package/lib/modules/layout/components/Layout.js +82 -57
  242. package/lib/modules/layout/components/index.css +33 -6
  243. package/lib/modules/layout/index.css +30 -0
  244. package/lib/modules/layout/member-window/index.js +9 -3
  245. package/lib/modules/layout/store.d.ts +19 -2
  246. package/lib/modules/layout/store.js +177 -70
  247. package/lib/modules/layout/video-window-datasource.d.ts +1 -1
  248. package/lib/modules/layout/video-window-datasource.js +1 -1
  249. package/lib/modules/live-streaming/index.dev.js +1 -1
  250. package/lib/modules/notification/context.d.ts +2 -0
  251. package/lib/modules/notification/context.js +9 -0
  252. package/lib/modules/notification/index.css +58 -0
  253. package/lib/modules/notification/index.d.ts +15 -0
  254. package/lib/modules/notification/index.js +51 -0
  255. package/lib/modules/notification/interpreter-status/index.css +72 -0
  256. package/lib/modules/notification/interpreter-status/index.d.ts +3 -0
  257. package/lib/modules/notification/interpreter-status/index.js +59 -0
  258. package/lib/modules/notification/store.d.ts +16 -0
  259. package/lib/modules/notification/store.js +127 -0
  260. package/lib/modules/notification/view.d.ts +10 -0
  261. package/lib/modules/notification/view.js +116 -0
  262. package/lib/modules/participant/attendee/index.d.ts +12 -3
  263. package/lib/modules/participant/attendee/index.js +132 -30
  264. package/lib/modules/participant/index.css +20 -0
  265. package/lib/modules/participant/index.d.ts +5 -2
  266. package/lib/modules/participant/index.dev.js +1 -1
  267. package/lib/modules/participant/index.js +27 -0
  268. package/lib/modules/participant/room-control-drop-menu/index.css +37 -0
  269. package/lib/modules/participant/store.d.ts +30 -5
  270. package/lib/modules/participant/store.js +347 -74
  271. package/lib/modules/participant/view.js +133 -34
  272. package/lib/modules/setting/index.css +1 -5
  273. package/lib/modules/setting/index.dev.js +1 -1
  274. package/lib/modules/setting/store.d.ts +2 -2
  275. package/lib/modules/setting/store.js +3 -8
  276. package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
  277. package/lib/modules/setting/video-settings/index.css +9 -6
  278. package/lib/modules/share-screen/index.d.ts +2 -0
  279. package/lib/modules/share-screen/index.dev.js +3 -2
  280. package/lib/modules/share-screen/selection/index.css +2 -0
  281. package/lib/modules/share-screen/store.d.ts +6 -3
  282. package/lib/modules/share-screen/store.js +170 -129
  283. package/lib/modules/state-bar/index.css +2 -2
  284. package/lib/modules/state-bar/index.d.ts +2 -2
  285. package/lib/modules/state-bar/index.dev.js +1 -1
  286. package/lib/modules/state-bar/meeting-detail.css +6 -4
  287. package/lib/modules/state-bar/meeting-details.js +32 -5
  288. package/lib/modules/state-bar/meeting-network-state.css +14 -3
  289. package/lib/modules/state-bar/meeting-network-state.js +10 -4
  290. package/lib/modules/state-bar/recording.js +3 -5
  291. package/lib/modules/state-bar/store.d.ts +5 -2
  292. package/lib/modules/state-bar/store.js +32 -5
  293. package/lib/modules/state-bar/view.js +7 -10
  294. package/lib/modules/video-window/index.css +1 -0
  295. package/lib/modules/video-window/store.d.ts +2 -2
  296. package/lib/modules/video-window/store.js +14 -11
  297. package/lib/modules/waiting-room-layout/context.d.ts +2 -0
  298. package/lib/modules/waiting-room-layout/context.js +9 -0
  299. package/lib/modules/waiting-room-layout/index.css +71 -0
  300. package/lib/modules/waiting-room-layout/index.d.ts +8 -0
  301. package/lib/modules/waiting-room-layout/index.js +47 -0
  302. package/lib/modules/waiting-room-layout/store.d.ts +30 -0
  303. package/lib/modules/waiting-room-layout/store.js +189 -0
  304. package/lib/modules/waiting-room-layout/type.d.ts +0 -0
  305. package/lib/modules/waiting-room-layout/type.js +1 -0
  306. package/lib/modules/waiting-room-layout/view.d.ts +3 -0
  307. package/lib/modules/waiting-room-layout/view.js +67 -0
  308. package/lib/modules/whiteboard/app.js +0 -6
  309. package/lib/modules/whiteboard/components/control-bar/index.css +3 -0
  310. package/lib/modules/whiteboard/components/multi-window/index.js +6 -1
  311. package/lib/modules/whiteboard/components/progress/electron.js +2 -1
  312. package/lib/modules/whiteboard/components/switch-theme/index.css +4 -0
  313. package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -1
  314. package/lib/modules/whiteboard/components/switch-theme/index.js +20 -15
  315. package/lib/modules/whiteboard/components/switch-theme/item.d.ts +1 -0
  316. package/lib/modules/whiteboard/components/switch-theme/item.js +9 -2
  317. package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +14 -10
  318. package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
  319. package/lib/modules/whiteboard/components/toolbar/store.js +3 -0
  320. package/lib/modules/whiteboard/context.d.ts +4 -0
  321. package/lib/modules/whiteboard/context.js +4 -2
  322. package/lib/modules/whiteboard/index.js +22 -6
  323. package/lib/plugins/browser-runtime-plugin.js +4 -1
  324. package/lib/plugins/module-dev-plugin.js +8 -6
  325. package/lib/runtime.d.ts +2 -1
  326. package/lib/translations/enUS.d.ts +449 -6
  327. package/lib/translations/enUS.js +485 -32
  328. package/lib/translations/zhCN.d.ts +447 -6
  329. package/lib/translations/zhCN.js +468 -17
  330. package/lib/type.d.ts +6 -2
  331. package/lib/ui-manager.d.ts +7 -3
  332. package/lib/ui-manager.js +576 -139
  333. package/lib/ui-scene.d.ts +1 -0
  334. package/lib/ui-scene.js +26 -21
  335. package/lib/utilities/constant.d.ts +43 -4
  336. package/lib/utilities/constant.js +41 -1
  337. package/lib/utilities/parameters.js +2 -2
  338. package/lib/utilities/renderer.d.ts +1 -0
  339. package/lib/utilities/renderer.js +6 -2
  340. package/package.json +14 -14
  341. package/public/assets/fcr_defaultpage.png +0 -0
  342. package/public/assets/login_confirm.png +0 -0
  343. package/public/index.html +34 -11
  344. package/dist/132.js +0 -2
  345. package/dist/132.js.LICENSE.txt +0 -311
  346. package/dist/651.js +0 -2
  347. package/dist/651.js.LICENSE.txt +0 -1
  348. package/dist/73.js +0 -1
  349. package/dist/index.html +0 -13
  350. package/dist/main.da7c203ab32d15742cfe.css +0 -11760
  351. package/dist/main.js +0 -2
  352. package/dist/main.js.LICENSE.txt +0 -254
  353. package/dist/worker-entry.worker.js.LICENSE.txt +0 -13
  354. package/lib/modules/device-pretest/settings/index.css +0 -15
  355. package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
  356. package/lib/modules/participant/attendee/participants-more-action.js +0 -278
@@ -27,6 +27,7 @@ var _env = require("agora-foundation/lib/utilities/env");
27
27
  var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
28
28
  var _dialog = require("agora-ui-foundation/lib/components/dialog");
29
29
  var _participants = require("agora-ui-foundation/lib/components/participants");
30
+ var _tabs = require("agora-ui-foundation/lib/components/tabs");
30
31
  var _footer = require("agora-ui-foundation/lib/components/participants/footer");
31
32
  var _mobxReact = require("mobx-react");
32
33
  var _react = require("react");
@@ -37,6 +38,8 @@ var _context2 = require("../dialog/context");
37
38
  require("./index.css");
38
39
  var _roomControlDropMenu = require("./room-control-drop-menu");
39
40
  var _i18n = require("agora-ui-foundation/lib/i18n");
41
+ var _button = require("agora-ui-foundation/lib/components/button");
42
+ var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
40
43
  var _jsxRuntime = require("react/jsx-runtime");
41
44
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
42
45
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -73,7 +76,11 @@ var MuteAllDialog = exports.MuteAllDialog = function MuteAllDialog(_ref) {
73
76
  title: transI18n('fmt_attendies_options_muteall'),
74
77
  visible: showMuteAllDialog,
75
78
  okButtonProps: {
76
- styleType: 'danger'
79
+ styleType: 'danger',
80
+ shape: 'rounded'
81
+ },
82
+ cancelButtonProps: {
83
+ shape: 'rounded'
77
84
  },
78
85
  onCancel: onCancel,
79
86
  okText: transI18n('fmt_attendies_button_muteall'),
@@ -92,6 +99,9 @@ var MuteAllDialog = exports.MuteAllDialog = function MuteAllDialog(_ref) {
92
99
  checked: allowUnmute,
93
100
  onChange: function onChange(checked) {
94
101
  return setAllowUnmute(checked);
102
+ },
103
+ style: {
104
+ marginTop: '16px'
95
105
  }
96
106
  })]
97
107
  })
@@ -135,34 +145,103 @@ var MergeConfrimDialog = function MergeConfrimDialog(_ref2) {
135
145
  })
136
146
  });
137
147
  };
138
- var ParticipantsContainer = (0, _mobxReact.observer)(function () {
148
+ var ParticipantWaitingRoomFooterBtnList = function ParticipantWaitingRoomFooterBtnList(_ref3) {
149
+ var openRemoveAdmitWaitingRoomDialog = _ref3.openRemoveAdmitWaitingRoomDialog;
150
+ var t = (0, _i18n.useI18n)();
151
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
152
+ className: "fcr-participant__footer fcr-participant__footer_waiting_room",
153
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
154
+ content: t('fmt_waitingroom_sidebar_button_removeall'),
155
+ mouseEnterDelay: 0,
156
+ trigger: "hover",
157
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
158
+ type: "secondary-bordered",
159
+ size: "XS",
160
+ onClick: function onClick() {
161
+ openRemoveAdmitWaitingRoomDialog(_constant.DialogKey.WAITING_ROOM_ALL_REMOVE, {
162
+ title: t('fmt_waitingroom_sidebar_popup_removeall'),
163
+ type: 'removeAll',
164
+ tooltip: t('fmt_waitingroom_mobile_memberlist_popup_label_sure_to_remove_all')
165
+ });
166
+ },
167
+ children: t('fmt_waitingroom_sidebar_button_removeall')
168
+ })
169
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
170
+ content: t('fmt_waitingroom_sidebar_button_admitall'),
171
+ mouseEnterDelay: 0,
172
+ trigger: "hover",
173
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
174
+ type: "secondary-bordered",
175
+ size: "XS",
176
+ onClick: function onClick() {
177
+ openRemoveAdmitWaitingRoomDialog(_constant.DialogKey.WAITING_ROOM_ALL_ADMIT, {
178
+ title: t('fmt_waitingroom_mobile_memberlist_popup_label_admit_all'),
179
+ type: 'admitAll',
180
+ tooltip: t('fmt_waitingroom_mobile_memberlist_popup_label_sure_to_admit_all')
181
+ });
182
+ },
183
+ children: t('fmt_waitingroom_sidebar_button_admitall')
184
+ })
185
+ })]
186
+ });
187
+ };
188
+ var ParticipantFooter = (0, _mobxReact.observer)(function (_ref4) {
189
+ var handlerRoomControlClick = _ref4.handlerRoomControlClick;
139
190
  var _useContext = (0, _react.useContext)(_context.StoreContext),
140
- userList = _useContext.userList,
141
- handlerSearchUser = _useContext.handlerSearchUser,
142
- searchText = _useContext.searchText,
143
- currentPerspectiveType = _useContext.currentPerspectiveType,
144
- setCurrentModal = _useContext.setCurrentModal,
145
- handlerRoomControlAction = _useContext.handlerRoomControlAction,
146
- handlerUserAction = _useContext.handlerUserAction,
147
- allowUnmuteSelfAudio = _useContext.allowUnmuteSelfAudio,
148
- allowJoinWithMuteAudio = _useContext.allowJoinWithMuteAudio,
149
- currentModal = _useContext.currentModal,
150
- openParticipantsWindow = _useContext.openParticipantsWindow,
151
- onInvite = _useContext.onInvite,
191
+ activeTab = _useContext.activeTab,
152
192
  hasRevokeHostPermission = _useContext.hasRevokeHostPermission,
153
- checkIsPin = _useContext.checkIsPin,
154
- hasPinnedStream = _useContext.hasPinnedStream,
155
- enableSpotlight = _useContext.enableSpotlight,
156
- mergeConfirmDialog = _useContext.mergeConfirmDialog,
157
- setMergeConfirmDialog = _useContext.setMergeConfirmDialog,
158
- mergeConfirmDialogOk = _useContext.mergeConfirmDialogOk,
159
- mergeUserId = _useContext.mergeUserId,
160
- mergeUserInfo = _useContext.mergeUserInfo,
161
- getAllowedOperations = _useContext.getAllowedOperations,
162
- hasMutePermission = _useContext.hasMutePermission,
163
- hasUnmutePermission = _useContext.hasUnmutePermission,
164
- hasRequestStartAudioPermission = _useContext.hasRequestStartAudioPermission;
193
+ currentPerspectiveType = _useContext.currentPerspectiveType,
194
+ kickOutWaitingRoomAllMember = _useContext.kickOutWaitingRoomAllMember,
195
+ moveToMainRoomAllMember = _useContext.moveToMainRoomAllMember,
196
+ openRemoveAdmitWaitingRoomDialog = _useContext.openRemoveAdmitWaitingRoomDialog;
197
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
198
+ children: activeTab === _constant.RoomType.MAIN_ROOM ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_footer.FcrParticipantsFooter, {
199
+ hasRevokeHostPermission: hasRevokeHostPermission,
200
+ onRoomControlClick: handlerRoomControlClick,
201
+ type: currentPerspectiveType,
202
+ moreDropMenu: /*#__PURE__*/(0, _jsxRuntime.jsx)(_roomControlDropMenu.RoomControlDropMenu, {})
203
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantWaitingRoomFooterBtnList, {
204
+ openRemoveAdmitWaitingRoomDialog: openRemoveAdmitWaitingRoomDialog
205
+ })
206
+ });
207
+ });
208
+ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
209
+ var _useContext2 = (0, _react.useContext)(_context.StoreContext),
210
+ userList = _useContext2.userList,
211
+ handlerSearchUser = _useContext2.handlerSearchUser,
212
+ searchText = _useContext2.searchText,
213
+ currentPerspectiveType = _useContext2.currentPerspectiveType,
214
+ setCurrentModal = _useContext2.setCurrentModal,
215
+ handlerRoomControlAction = _useContext2.handlerRoomControlAction,
216
+ handlerUserAction = _useContext2.handlerUserAction,
217
+ allowUnmuteSelfAudio = _useContext2.allowUnmuteSelfAudio,
218
+ allowJoinWithMuteAudio = _useContext2.allowJoinWithMuteAudio,
219
+ currentModal = _useContext2.currentModal,
220
+ openParticipantsWindow = _useContext2.openParticipantsWindow,
221
+ onInvite = _useContext2.onInvite,
222
+ hasRevokeHostPermission = _useContext2.hasRevokeHostPermission,
223
+ checkIsPin = _useContext2.checkIsPin,
224
+ hasPinnedStream = _useContext2.hasPinnedStream,
225
+ enableSpotlight = _useContext2.enableSpotlight,
226
+ mergeConfirmDialog = _useContext2.mergeConfirmDialog,
227
+ setMergeConfirmDialog = _useContext2.setMergeConfirmDialog,
228
+ mergeConfirmDialogOk = _useContext2.mergeConfirmDialogOk,
229
+ mergeUserId = _useContext2.mergeUserId,
230
+ mergeUserInfo = _useContext2.mergeUserInfo,
231
+ getAllowedOperations = _useContext2.getAllowedOperations,
232
+ hasMutePermission = _useContext2.hasMutePermission,
233
+ hasUnmutePermission = _useContext2.hasUnmutePermission,
234
+ hasRequestStartAudioPermission = _useContext2.hasRequestStartAudioPermission,
235
+ hasWaitingRoomPermission = _useContext2.hasWaitingRoomPermission,
236
+ handleActiveTab = _useContext2.handleActiveTab,
237
+ activeTab = _useContext2.activeTab,
238
+ moveToMainRoomByUserIds = _useContext2.moveToMainRoomByUserIds,
239
+ kickOutWaitingRoomAllMember = _useContext2.kickOutWaitingRoomAllMember,
240
+ moveToMainRoomAllMember = _useContext2.moveToMainRoomAllMember,
241
+ isNewWaitingRoomUserEnter = _useContext2.isNewWaitingRoomUserEnter,
242
+ waitingRoomUserCount = _useContext2.waitingRoomUserCount;
165
243
  var dialogStore = (0, _react.useContext)(_context2.StoreContext);
244
+ var transI18n = (0, _i18n.useI18n)();
166
245
  var handlerRoomControlClick = function handlerRoomControlClick(action, userId) {
167
246
  if (action === _constant.RoomControlType.MUTE_ALL_AUDIO) {
168
247
  setShowMuteAllDialog(true);
@@ -186,16 +265,39 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
186
265
  } : void 0;
187
266
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
188
267
  className: "participants-container",
189
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_participants.FcrParticipants, {
268
+ children: [waitingRoomUserCount > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.FcrTabs, {
269
+ items: [{
270
+ label: transI18n('fmt_waitingroom_sidebar_chat_label_meeting'),
271
+ key: _constant.RoomType.MAIN_ROOM
272
+ }, {
273
+ label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
274
+ className: "participants-container-icon",
275
+ children: [isNewWaitingRoomUserEnter ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
276
+ className: "participants-container-red"
277
+ }) : null, transI18n('fmt_waitingroom_sidebar_label_waiting', {
278
+ reason1: waitingRoomUserCount
279
+ })]
280
+ }),
281
+ key: _constant.RoomType.WAITING_ROOM
282
+ }],
283
+ activeKey: activeTab,
284
+ onChange: function onChange(key) {
285
+ handleActiveTab(key);
286
+ }
287
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_participants.FcrParticipants, {
190
288
  type: currentModal,
191
289
  userList: userList,
192
290
  onSearch: handlerSearchUser,
193
291
  searchText: searchText,
194
292
  onInvite: onInvite,
293
+ hasPinnedStream: hasPinnedStream,
294
+ toggleParticipantAction: handlerUserAction,
195
295
  userRenderer: function userRenderer(user) {
196
296
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mobxReact.Observer, {
197
297
  children: function children() {
198
298
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_attendee.ParticipantAttendee, _objectSpread(_objectSpread({
299
+ activeTab: activeTab,
300
+ moveToMainRoomByUserIds: moveToMainRoomByUserIds,
199
301
  hasMutePermission: hasMutePermission,
200
302
  hasUnmutePermission: hasUnmutePermission,
201
303
  hasRequestStartAudioPermission: hasRequestStartAudioPermission,
@@ -215,11 +317,8 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
215
317
  // <FcrWindowHeader type={currentModal} onTypeChange={handlerTypeChange} title="参会人" />
216
318
  // }
217
319
  ,
218
- footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(_footer.FcrParticipantsFooter, {
219
- hasRevokeHostPermission: hasRevokeHostPermission,
220
- onRoomControlClick: handlerRoomControlClick,
221
- type: currentPerspectiveType,
222
- moreDropMenu: /*#__PURE__*/(0, _jsxRuntime.jsx)(_roomControlDropMenu.RoomControlDropMenu, {})
320
+ footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantFooter, {
321
+ handlerRoomControlClick: handlerRoomControlClick
223
322
  })
224
323
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(MuteAllDialog, {
225
324
  getContainer: dialogContaner,
@@ -253,8 +352,8 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
253
352
  });
254
353
  });
255
354
  var View = exports.View = (0, _mobxReact.observer)(function () {
256
- var _useContext2 = (0, _react.useContext)(_context.StoreContext),
257
- currentModal = _useContext2.currentModal;
355
+ var _useContext3 = (0, _react.useContext)(_context.StoreContext),
356
+ currentModal = _useContext3.currentModal;
258
357
  if (currentModal === 'modal') {
259
358
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantsContainer, {});
260
359
  }
@@ -101,11 +101,7 @@
101
101
  width: 100%;
102
102
  height: 100%;
103
103
  }
104
- .fcr-device-settings__tab-content-wrapper .fcr-device-settings-video__bottom {
105
- position: inherit;
106
- bottom: 8px;
107
- width: calc(100% - 30px);
108
- }
104
+
109
105
  .fcr-device-settings__tab-content-wrapper.is-tab-content-video-wrapper {
110
106
  overflow: hidden;
111
107
  }
@@ -28,7 +28,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
28
28
  _context.next = 5;
29
29
  return engine.login();
30
30
  case 5:
31
- roomControl = engine.createRoomControl(roomId);
31
+ roomControl = engine.createMainRoomControl(roomId);
32
32
  userName = 'test-user';
33
33
  _context.next = 9;
34
34
  return roomControl.join({
@@ -8,7 +8,7 @@ import { DEFAULT_BEAUTY_VALUE } from 'agora-ui-foundation/lib/components/local-v
8
8
  import { FcrUISceneConfig } from '../../type';
9
9
  import { VirtualBackground } from '../device-pretest/assets/virtual-backdound-resources';
10
10
  import { FcrDeviceStore } from '../../common/device-store';
11
- import { FcrMainRoomControl } from 'agora-edu-core/lib/room-control/type';
11
+ import { FcrBaseRoomControl } from 'agora-edu-core/lib/room-control/type';
12
12
  export interface DeviceItem {
13
13
  text: string;
14
14
  value: string;
@@ -159,7 +159,7 @@ export default class SettingStore {
159
159
  uiEventStore: FcrUIEventStore;
160
160
  monitorControl: FcrMonitorControl;
161
161
  streamControl: FcrStreamControl;
162
- roomControl: FcrMainRoomControl;
162
+ roomControl: FcrBaseRoomControl;
163
163
  deviceStore: FcrDeviceStore;
164
164
  });
165
165
  enableVirtualBackground(enable: boolean, source?: VirtualBackground): void;
@@ -1092,16 +1092,11 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1092
1092
  }, {
1093
1093
  key: "_handleCameraListUpdated",
1094
1094
  value: function () {
1095
- var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(cameraList, currentDeviceExist) {
1096
- var deviceId, cameraTrack;
1095
+ var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(cameraList) {
1097
1096
  return _regenerator["default"].wrap(function _callee3$(_context3) {
1098
1097
  while (1) switch (_context3.prev = _context3.next) {
1099
1098
  case 0:
1100
- if (!currentDeviceExist && cameraList.length > 0) {
1101
- deviceId = cameraList[0].deviceId;
1102
- this._deviceStore.setCameraId(deviceId);
1103
- cameraTrack = this._mediaControl.getCameraTrack(this._deviceStore.cameraId);
1104
- cameraTrack.start();
1099
+ if (cameraList.length > 0) {
1105
1100
  this._settingVideoOpened && this._deviceStore.startOrStopCamera(true);
1106
1101
  }
1107
1102
  case 1:
@@ -1110,7 +1105,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
1110
1105
  }
1111
1106
  }, _callee3, this);
1112
1107
  }));
1113
- function _handleCameraListUpdated(_x, _x2) {
1108
+ function _handleCameraListUpdated(_x) {
1114
1109
  return _handleCameraListUpdated2.apply(this, arguments);
1115
1110
  }
1116
1111
  return _handleCameraListUpdated;
@@ -51,7 +51,7 @@ var TranslateSettings = exports.TranslateSettings = (0, _mobxReact.observer)(fun
51
51
  addition: '',
52
52
  value: 1
53
53
  }, {
54
- label: t('fmt_ai_transcriptions_setting_option_translate_'),
54
+ label: t('fmt_ai_transcriptions_setting_option_translate'),
55
55
  addition: '',
56
56
  value: 2
57
57
  }];
@@ -33,7 +33,6 @@
33
33
  align-items: center;
34
34
  padding: 10px 12px;
35
35
  flex: 1;
36
- max-width: 76%;
37
36
  }
38
37
 
39
38
  .fcr-device-settings-video__beauty-slider-value {
@@ -56,8 +55,8 @@
56
55
  .fcr-device-settings-video__video-flip-container {
57
56
  position: absolute;
58
57
  z-index: 10;
59
- right: 8px;
60
- bottom: 8px;
58
+ right: 6px;
59
+ bottom: 6px;
61
60
  border-radius: var(--fcr_cornerradius_s);
62
61
  background: var(--fcr_ui_scene_click);
63
62
  }
@@ -166,7 +165,6 @@
166
165
  .fcr-virtual-background-setting__container {
167
166
  display: flex;
168
167
  flex-direction: column;
169
- gap: 10px;
170
168
  }
171
169
 
172
170
  .fcr-device-settings-video__tips {
@@ -176,7 +174,7 @@
176
174
  display: flex;
177
175
  align-items: center;
178
176
  justify-content: center;
179
- margin-bottom: 20px;
177
+ margin: 20px 0px;
180
178
  color: var(--fcr_ui_scene_icontext7);
181
179
  }
182
180
 
@@ -221,6 +219,11 @@
221
219
  flex-direction: column;
222
220
  }
223
221
 
222
+ .fcr-virtual-background-setting__virtual-item:not(:first-child):hover
223
+ .fcr-virtual-background-setting__virtual-source {
224
+ transform: scale(1.05);
225
+ }
226
+
224
227
  .fcr-virtual-background-setting__virtual-video-source {
225
228
  position: relative;
226
229
  width: 100%;
@@ -297,7 +300,7 @@
297
300
  font-weight: 300;
298
301
  font-size: 12px;
299
302
  line-height: 12px;
300
- color: var(--fcr_ui_scene_icontext2);
303
+ color: var(--fcr_ui_scene_icontext1);
301
304
  padding: 10px 0px 8px;
302
305
  }
303
306
 
@@ -5,6 +5,7 @@ import { FcrDeviceStore } from '../../common/device-store';
5
5
  import { FcrSecurityStore } from '../../common/security-store';
6
6
  import { FcrUIEventStore } from '../../common/event-store';
7
7
  import { FcrDeviceStreamStore } from '../../common/device-stream-store';
8
+ import { FcrUISceneConfig } from '../../type';
8
9
  export declare class ShareScreenUIModule extends UIModule {
9
10
  private _store;
10
11
  constructor(args: {
@@ -14,6 +15,7 @@ export declare class ShareScreenUIModule extends UIModule {
14
15
  securityStore: FcrSecurityStore;
15
16
  uiEventStore: FcrUIEventStore;
16
17
  deviceStreamStore: FcrDeviceStreamStore;
18
+ config: FcrUISceneConfig;
17
19
  });
18
20
  getShareState(): void;
19
21
  startShareScreen(): void;
@@ -31,7 +31,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
31
31
  _context.next = 5;
32
32
  return engine.login();
33
33
  case 5:
34
- roomControl = engine.createRoomControl(roomId);
34
+ roomControl = engine.createMainRoomControl(roomId);
35
35
  userName = 'test-user';
36
36
  deviceStore = new _deviceStore.FcrDeviceStore(userName, engine.getDesktopMediaControl());
37
37
  _context.next = 10;
@@ -66,7 +66,8 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
66
66
  uiEventStore: uiEventStore
67
67
  }),
68
68
  securityStore: securityStore,
69
- uiEventStore: uiEventStore
69
+ uiEventStore: uiEventStore,
70
+ config: {}
70
71
  });
71
72
  App = (0, _root.hot)(function () {
72
73
  (0, _hooks.useUnmount)(function () {
@@ -18,6 +18,8 @@
18
18
  min-height: 550px;
19
19
  overflow: hidden;
20
20
  -webkit-app-region: no-drag;
21
+ background-color: #fff;
22
+ border-radius: var(--fcr_cornerradius_l);
21
23
  }
22
24
 
23
25
  .share-selection-window__share-content {
@@ -7,6 +7,7 @@ import { FcrSecurityStore } from '../../common/security-store';
7
7
  import { DialogKey } from '../../utilities/constant';
8
8
  import { FcrDeviceStreamStore } from '../../common/device-stream-store';
9
9
  import { FcrDeviceStore } from '../../common/device-store';
10
+ import { FcrUISceneConfig } from '../../type';
10
11
  type ScreenCaptureSourceType = Omit<AgoraRtcDisplayInfo, 'image'> & {
11
12
  image: React.ReactNode | Uint8Array;
12
13
  };
@@ -59,16 +60,18 @@ export default class ShareScreenStore {
59
60
  accessor localUserRole: FcrUserRole;
60
61
  accessor title: string;
61
62
  accessor localMicrophoneMute: boolean;
63
+ private _config;
62
64
  get localVideoState(): boolean | undefined;
63
65
  get localAudioState(): boolean | undefined;
64
66
  get localAudioVolume(): boolean | undefined;
65
- constructor({ roomControl, mediaControl, securityStore, uiEventStore, deviceStore, deviceStreamStore, }: {
67
+ constructor({ roomControl, mediaControl, securityStore, uiEventStore, deviceStore, deviceStreamStore, config, }: {
66
68
  roomControl: FcrBaseRoomControl;
67
69
  mediaControl: FcrDesktopMediaControl;
68
70
  securityStore: FcrSecurityStore;
69
71
  uiEventStore: FcrUIEventStore;
70
72
  deviceStore: FcrDeviceStore;
71
73
  deviceStreamStore: FcrDeviceStreamStore;
74
+ config: FcrUISceneConfig;
72
75
  });
73
76
  handleChooseScreen: (id: string, type?: AgoraRtcScreenCaptureType) => void;
74
77
  setShareWithAudioState(withAudio: boolean): void;
@@ -94,7 +97,6 @@ export default class ShareScreenStore {
94
97
  setAllowUnmuteSelfVideo(allow: boolean): void;
95
98
  setAllowUnmuteSelfAudio(allow: boolean): void;
96
99
  setLockRoomEnabled(lock: boolean): void;
97
- setWaitingRoomEnabled(allow: boolean): void;
98
100
  openDialog(item: DialogKey): void;
99
101
  closeDialog(item: DialogKey): void;
100
102
  openLiveStreamingDialog(): void;
@@ -104,7 +106,7 @@ export default class ShareScreenStore {
104
106
  openVideoWindowDialog(): void;
105
107
  closeControlBar(): void;
106
108
  closeVideoWindowDialog(): void;
107
- setShareWithAudio(withAudio: any, confirmAudioShareWhileMicOff?: boolean): void;
109
+ setShareWithAudio(withAudio: boolean, confirmAudioShareWhileMicOff?: boolean): void;
108
110
  private _setWithAudioState;
109
111
  handleShareScreenResource(): Promise<void>;
110
112
  handleStartShare(id?: string, type?: AgoraRtcScreenCaptureType, withAudio?: boolean, audioProcessingChannel?: AudioProcessingChannel): Promise<void>;
@@ -134,6 +136,7 @@ export default class ShareScreenStore {
134
136
  private _validateShareStart;
135
137
  private _hasScreenSharePermission;
136
138
  private _getExcludeWindows;
139
+ private _initToolbar;
137
140
  }
138
141
  export declare const StoreContext: import("react").Context<ShareScreenStore>;
139
142
  export {};