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
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.MeetingNetworkState = void 0;
8
+ require("core-js/modules/es.array.concat.js");
8
9
  var _react = require("react");
9
10
  var _i18n = require("agora-ui-foundation/lib/i18n");
10
11
  var _mobxReact = require("mobx-react");
@@ -51,16 +52,21 @@ var MeetingNetworkState = exports.MeetingNetworkState = (0, _mobxReact.observer)
51
52
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
52
53
  children: t('fmt_networkstatus_window_title')
53
54
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
54
- className: networkStatusData.text.toLowerCase(),
55
- children: [networkStatusData.text, " ", networkStatusData.icon]
55
+ className: networkStatus,
56
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
57
+ className: "meeting-network-state_text",
58
+ children: [networkStatusData.text, " "]
59
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
60
+ children: networkStatusData.icon
61
+ })]
56
62
  })]
57
63
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
58
64
  className: "meeting-network-state__delay",
59
65
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
60
66
  children: t('fmt_networkstatus_window_latency')
61
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
67
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
62
68
  className: "meeting-network-state__delay__value",
63
- children: [networkStats.networkDelay, " ", t('fmt_statusbar_label_millisecond')]
69
+ children: "".concat(networkStats.networkDelay, " ").concat(t('fmt_statusbar_label_millisecond'))
64
70
  })]
65
71
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
66
72
  className: "meeting-network-state__loss-rate",
@@ -20,7 +20,7 @@ var _context = require("./context");
20
20
  var _store = require("./store");
21
21
  var _jsxRuntime = require("react/jsx-runtime");
22
22
  var colors = {
23
- iconPrimary: 'currentColor'
23
+ iconPrimary: 'var(--fcr_ui_scene_icontext2)'
24
24
  };
25
25
  var Recording = exports.Recording = (0, _mobxReact.observer)(function () {
26
26
  var t = (0, _i18n.useI18n)();
@@ -43,7 +43,7 @@ var Recording = exports.Recording = (0, _mobxReact.observer)(function () {
43
43
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
44
44
  type: _type2.FcrIconType.FCR_CLOUDRECORD,
45
45
  colors: {
46
- iconPrimary: galleryWidth < _store.GALLERY_MIN_SIZE ? '' : 'currentColor'
46
+ iconPrimary: galleryWidth < _store.GALLERY_MIN_SIZE ? '' : 'var(--fcr_ui_scene_icontext2)'
47
47
  }
48
48
  }), galleryWidth >= _store.GALLERY_MIN_SIZE && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
49
49
  className: ns.e('record-text'),
@@ -53,9 +53,7 @@ var Recording = exports.Recording = (0, _mobxReact.observer)(function () {
53
53
  className: ns.e('record-tag'),
54
54
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
55
55
  type: _type2.FcrIconType.FCR_CLOUDRECORD,
56
- colors: {
57
- iconPrimary: 'currentColor'
58
- }
56
+ colors: colors
59
57
  }), galleryWidth >= _store.GALLERY_MIN_SIZE && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
60
58
  className: ns.e('record-text'),
61
59
  children: "REC"
@@ -3,7 +3,7 @@ import { FcrUIEventStore } from '../../common/event-store';
3
3
  import { DeviceSettingDialogConfig } from '../setting/store';
4
4
  import { FcrSecurityStore } from '../../common/security-store';
5
5
  import { FcrUISceneConfig } from '../../type';
6
- import { FcrMainRoomControl } from 'agora-edu-core/lib/room-control/type';
6
+ import { FcrMainRoomControl, FcrWaitingRoomControl } from 'agora-edu-core/lib/room-control/type';
7
7
  export type NetworkStatus = 'excellent' | 'average' | 'poor' | 'unknown';
8
8
  export declare const GALLERY_MIN_SIZE = 825;
9
9
  export default class StateBarStore {
@@ -32,13 +32,15 @@ export default class StateBarStore {
32
32
  accessor layoutSize: 16 | 25;
33
33
  accessor layoutView: 'speaker' | 'gallery';
34
34
  accessor cloudRecordingState: FcrRecordingState;
35
+ accessor meetingId: string | undefined;
35
36
  get isUserHost(): boolean;
36
37
  get shouldShowMeetingTime(): number | undefined;
37
38
  get hasStartCloudRecordingPermission(): boolean;
38
39
  get hasStopLiveStreamingPermission(): boolean;
39
40
  get hasGetLiveStreamingLinkPermission(): boolean;
41
+ get password(): string | undefined;
40
42
  constructor({ roomControl, uiEventStore, securityStore, config, }: {
41
- roomControl: FcrMainRoomControl;
43
+ roomControl: FcrMainRoomControl | FcrWaitingRoomControl;
42
44
  uiEventStore: FcrUIEventStore;
43
45
  securityStore: FcrSecurityStore;
44
46
  config: FcrUISceneConfig;
@@ -60,6 +62,7 @@ export default class StateBarStore {
60
62
  resumeCloudRecording(): void;
61
63
  stopCloudRecording(): void;
62
64
  getShareLink(): string;
65
+ toastCopyInfo(type: 'error' | 'warn' | 'info' | 'normal', content: string): void;
63
66
  private _onNetworkQualityUpdated;
64
67
  private _uiEvents;
65
68
  private _setBrowserWidth;
@@ -97,7 +97,7 @@ var _constant = require("../../utilities/constant");
97
97
  var _debounce = _interopRequireDefault(require("lodash/debounce"));
98
98
  var _components = require("../layout/components");
99
99
  var _StateBarStore;
100
- var _initProto, _init_networkStatus, _init_localUser, _init_roomInfo, _init_scheduleInfo, _init_isLiveStreaming, _init_liveStreamingPlayUrl, _init_galleryWidth, _init_browserWidth, _init_networkStats, _init_attendeeCount, _init_asideOpenedItem, _init_layoutSize, _init_layoutView, _init_cloudRecordingState, _setNetworkStatusDecs, _setLocalUserDecs, _setRoomInfoDecs, _setScheduleInfoDecs, _stopLiveStreamingDialogDecs, _uiEventsDecs, _setBrowserWidthDecs, _onNetworkStatsUpdatedDecs, _onLiveStreamingStateUpdatedDecs, _ref;
100
+ var _initProto, _init_networkStatus, _init_localUser, _init_roomInfo, _init_scheduleInfo, _init_isLiveStreaming, _init_liveStreamingPlayUrl, _init_galleryWidth, _init_browserWidth, _init_networkStats, _init_attendeeCount, _init_asideOpenedItem, _init_layoutSize, _init_layoutView, _init_cloudRecordingState, _init_meetingId, _setNetworkStatusDecs, _setLocalUserDecs, _setRoomInfoDecs, _setScheduleInfoDecs, _stopLiveStreamingDialogDecs, _uiEventsDecs, _setBrowserWidthDecs, _onNetworkStatsUpdatedDecs, _onLiveStreamingStateUpdatedDecs, _ref;
101
101
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
102
102
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
103
103
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
@@ -123,6 +123,7 @@ var _K = /*#__PURE__*/new WeakMap();
123
123
  var _L = /*#__PURE__*/new WeakMap();
124
124
  var _M = /*#__PURE__*/new WeakMap();
125
125
  var _N = /*#__PURE__*/new WeakMap();
126
+ var _O = /*#__PURE__*/new WeakMap();
126
127
  _ref = (_setNetworkStatusDecs = [_mobx.action, _mobx.action.bound], _setLocalUserDecs = [_mobx.action, _mobx.action.bound], _setRoomInfoDecs = [_mobx.action, _mobx.action.bound], _setScheduleInfoDecs = [_mobx.action, _mobx.action.bound], _stopLiveStreamingDialogDecs = [_mobx.action, _mobx.action.bound], _uiEventsDecs = [_mobx.action, _mobx.action.bound], _setBrowserWidthDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
127
128
  var StateBarStore = exports["default"] = /*#__PURE__*/function () {
128
129
  function StateBarStore(_ref2) {
@@ -159,6 +160,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
159
160
  _classPrivateFieldInitSpec(this, _L, _init_layoutSize(this, 16));
160
161
  _classPrivateFieldInitSpec(this, _M, _init_layoutView(this, 'gallery'));
161
162
  _classPrivateFieldInitSpec(this, _N, _init_cloudRecordingState(this, _type.FcrRecordingState.Stopped));
163
+ _classPrivateFieldInitSpec(this, _O, _init_meetingId(this, undefined));
162
164
  this._config = config;
163
165
  this._roomControl = roomControl;
164
166
  this.attendeeCount = 0;
@@ -294,6 +296,14 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
294
296
  set: function set(v) {
295
297
  _classPrivateFieldSet(_N, this, v);
296
298
  }
299
+ }, {
300
+ key: "meetingId",
301
+ get: function get() {
302
+ return _classPrivateFieldGet(_O, this);
303
+ },
304
+ set: function set(v) {
305
+ _classPrivateFieldSet(_O, this, v);
306
+ }
297
307
  }, {
298
308
  key: "isUserHost",
299
309
  get: function get() {
@@ -320,6 +330,12 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
320
330
  get: function get() {
321
331
  return this._securityStore.hasGetLiveStreamingLinkPermission();
322
332
  }
333
+ }, {
334
+ key: "password",
335
+ get: function get() {
336
+ var _this$_roomControl$ge2;
337
+ return (_this$_roomControl$ge2 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge2 === void 0 ? void 0 : _this$_roomControl$ge2.password;
338
+ }
323
339
  }, {
324
340
  key: "isLockRoomEnabled",
325
341
  value: function isLockRoomEnabled() {
@@ -439,6 +455,14 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
439
455
  }
440
456
  return "".concat(baseLink, "?").concat(strArgs);
441
457
  }
458
+ }, {
459
+ key: "toastCopyInfo",
460
+ value: function toastCopyInfo(type, content) {
461
+ this._uiEventStore.showToast({
462
+ type: type,
463
+ message: content
464
+ });
465
+ }
442
466
  }, {
443
467
  key: "_onNetworkQualityUpdated",
444
468
  value: function _onNetworkQualityUpdated(_roomId, event) {
@@ -453,6 +477,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
453
477
  case 3:
454
478
  case 4:
455
479
  case 5:
480
+ case 6:
456
481
  this.setNetworkStatus('poor');
457
482
  break;
458
483
  default:
@@ -531,10 +556,11 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
531
556
  }, {
532
557
  key: "_initRoomInfo",
533
558
  value: function _initRoomInfo() {
534
- var _this$_roomControl$ge2;
559
+ var _this$_roomControl$ge3;
535
560
  var info = this._roomControl.getRoomInfo();
561
+ this.meetingId = this._roomControl.getRoomPropertiesByKeyPath('meetingId');
536
562
  this.setRoomInfo(info);
537
- var user = (_this$_roomControl$ge2 = this._roomControl.getUserControl()) === null || _this$_roomControl$ge2 === void 0 ? void 0 : _this$_roomControl$ge2.getLocalUser();
563
+ var user = (_this$_roomControl$ge3 = this._roomControl.getUserControl()) === null || _this$_roomControl$ge3 === void 0 ? void 0 : _this$_roomControl$ge3.getLocalUser();
538
564
  this.setLocalUser(user);
539
565
  var scheduleInfo = this._roomControl.getRoomSchedule();
540
566
  scheduleInfo && this.setScheduleInfo(scheduleInfo);
@@ -542,7 +568,7 @@ var StateBarStore = exports["default"] = /*#__PURE__*/function () {
542
568
  }]);
543
569
  }();
544
570
  _StateBarStore = StateBarStore;
545
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_StateBarStore, [[_mobx.observable, 1, "networkStatus"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "scheduleInfo"], [_mobx.observable, 1, "isLiveStreaming"], [_mobx.observable, 1, "liveStreamingPlayUrl"], [_mobx.observable, 1, "galleryWidth"], [_mobx.observable, 1, "browserWidth"], [_mobx.observable, 1, "networkStats"], [_mobx.observable, 1, "attendeeCount"], [_mobx.observable, 1, "asideOpenedItem"], [_mobx.observable, 1, "layoutSize"], [_mobx.observable, 1, "layoutView"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.computed, 3, "isUserHost"], [_mobx.computed, 3, "shouldShowMeetingTime"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingLinkPermission"], [_decorator.bound, 2, "isLockRoomEnabled"], [_setNetworkStatusDecs, 18, "setNetworkStatus"], [_setLocalUserDecs, 18, "setLocalUser"], [_setRoomInfoDecs, 18, "setRoomInfo"], [_setScheduleInfoDecs, 18, "setScheduleInfo"], [_mobx.action, 2, "refreshLayoutSize"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_stopLiveStreamingDialogDecs, 18, "stopLiveStreamingDialog"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "pauseCloudRecording"], [_decorator.bound, 2, "resumeCloudRecording"], [_decorator.bound, 2, "stopCloudRecording"], [_decorator.bound, 2, "getShareLink"], [_uiEventsDecs, 18, "_uiEvents"], [_setBrowserWidthDecs, 18, "_setBrowserWidth"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLiveStreamingStateUpdatedDecs, 18, "_onLiveStreamingStateUpdated"]], []).e, 15);
571
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_StateBarStore, [[_mobx.observable, 1, "networkStatus"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "scheduleInfo"], [_mobx.observable, 1, "isLiveStreaming"], [_mobx.observable, 1, "liveStreamingPlayUrl"], [_mobx.observable, 1, "galleryWidth"], [_mobx.observable, 1, "browserWidth"], [_mobx.observable, 1, "networkStats"], [_mobx.observable, 1, "attendeeCount"], [_mobx.observable, 1, "asideOpenedItem"], [_mobx.observable, 1, "layoutSize"], [_mobx.observable, 1, "layoutView"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "meetingId"], [_mobx.computed, 3, "isUserHost"], [_mobx.computed, 3, "shouldShowMeetingTime"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingLinkPermission"], [_mobx.computed, 3, "password"], [_decorator.bound, 2, "isLockRoomEnabled"], [_setNetworkStatusDecs, 18, "setNetworkStatus"], [_setLocalUserDecs, 18, "setLocalUser"], [_setRoomInfoDecs, 18, "setRoomInfo"], [_setScheduleInfoDecs, 18, "setScheduleInfo"], [_mobx.action, 2, "refreshLayoutSize"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_stopLiveStreamingDialogDecs, 18, "stopLiveStreamingDialog"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "pauseCloudRecording"], [_decorator.bound, 2, "resumeCloudRecording"], [_decorator.bound, 2, "stopCloudRecording"], [_decorator.bound, 2, "getShareLink"], [_decorator.bound, 2, "toastCopyInfo"], [_uiEventsDecs, 18, "_uiEvents"], [_setBrowserWidthDecs, 18, "_setBrowserWidth"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLiveStreamingStateUpdatedDecs, 18, "_onLiveStreamingStateUpdated"]], []).e, 16);
546
572
  _init_networkStatus = _applyDecs$e[0];
547
573
  _init_localUser = _applyDecs$e[1];
548
574
  _init_roomInfo = _applyDecs$e[2];
@@ -557,4 +583,5 @@ _init_asideOpenedItem = _applyDecs$e[10];
557
583
  _init_layoutSize = _applyDecs$e[11];
558
584
  _init_layoutView = _applyDecs$e[12];
559
585
  _init_cloudRecordingState = _applyDecs$e[13];
560
- _initProto = _applyDecs$e[14];
586
+ _init_meetingId = _applyDecs$e[14];
587
+ _initProto = _applyDecs$e[15];
@@ -12,7 +12,6 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
12
12
  var _mobxReact = require("mobx-react");
13
13
  require("./index.css");
14
14
  var _useNamespace = require("../../utilities/useNamespace");
15
- var _stateBarLogo = _interopRequireDefault(require("../../../public/assets/state-bar-logo.png"));
16
15
  var _stepGradient = _interopRequireDefault(require("../../../public/assets/step-gradient.svg"));
17
16
  var _icon = require("agora-ui-foundation/lib/components/icon");
18
17
  var _type = require("agora-ui-foundation/lib/components/icon/type");
@@ -55,7 +54,8 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
55
54
  attendeeCount = _useContext.attendeeCount,
56
55
  toggleLayoutBarLock = _useContext.toggleLayoutBarLock,
57
56
  galleryWidth = _useContext.galleryWidth,
58
- openVideoWindowDialog = _useContext.openVideoWindowDialog;
57
+ openVideoWindowDialog = _useContext.openVideoWindowDialog,
58
+ meetingId = _useContext.meetingId;
59
59
  var _useState = (0, _react.useState)(false),
60
60
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
61
61
  isFullScreen = _useState2[0],
@@ -64,8 +64,9 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
64
64
  isFullScreen ? (0, _screen.enterFullScreen)() : (0, _screen.exitFullScreen)();
65
65
  }, [isFullScreen]);
66
66
  var onMeetingIdCopy = function onMeetingIdCopy() {
67
- if (!(roomInfo !== null && roomInfo !== void 0 && roomInfo.roomId)) return;
68
- (0, _copyText.copyText)(roomInfo.roomId).then(function () {
67
+ var _meetingId = meetingId !== null && meetingId !== void 0 ? meetingId : roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomId;
68
+ if (!_meetingId) return;
69
+ (0, _copyText.copyText)(_meetingId).then(function () {
69
70
  _toast.FcrToastApi.open({
70
71
  toastProps: {
71
72
  type: 'normal',
@@ -86,11 +87,7 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
86
87
  className: ns.b(),
87
88
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
88
89
  className: ns.e('left-nav'),
89
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
90
- src: _stateBarLogo["default"],
91
- alt: "logo",
92
- className: ns.e('logo')
93
- }), isLockRoomEnabled() && /*#__PURE__*/(0, _jsxRuntime.jsx)(MyFcrToolTip, {
90
+ children: [isLockRoomEnabled() && /*#__PURE__*/(0, _jsxRuntime.jsx)(MyFcrToolTip, {
94
91
  content: "".concat(t('fmt_role_host')).concat(t('fmt_information_tips_lockedbyhost', {
95
92
  reason1: isUserHost ? t('fmt_participant_label_Me') : ''
96
93
  }), ")"),
@@ -148,7 +145,7 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
148
145
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
149
146
  className: ns.e('info-meeting-id'),
150
147
  onClick: onMeetingIdCopy,
151
- children: roomInfo ? roomInfo.roomId : ''
148
+ children: meetingId !== null && meetingId !== void 0 ? meetingId : roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomId
152
149
  })
153
150
  })]
154
151
  }), isLiveStreaming && /*#__PURE__*/(0, _jsxRuntime.jsx)(_liveStreamingState.LiveStreamingState, {})]
@@ -8,6 +8,7 @@ body {
8
8
  height: 100%;
9
9
  width: 100%;
10
10
  box-sizing: border-box;
11
+ overflow: hidden;
11
12
  }
12
13
  .fcr-video-window-dialog-wrapper.electron {
13
14
  border: none !important;
@@ -65,9 +65,9 @@ export default class VideoWindowStore {
65
65
  sendParticipantEvent(payload: unknown): void;
66
66
  muteAudio(mute: boolean, userId: string): void;
67
67
  setLocalUserRole(role: FcrUserRole): void;
68
- computedVideoWindowHeight(list: FcrUIVideoWindowData[]): number;
68
+ computedVideoWindowHeight(list: FcrUIVideoWindowData[], previewType: FcrVideoWindowPreviewType): number;
69
69
  sliceFoldList(list: FcrUIVideoWindowData[], previewType: FcrVideoWindowPreviewType): FcrUIVideoWindowData[];
70
- changeVideoWindowBounds(x: number, y: number, width: number, height: number, list: FcrUIVideoWindowData[]): void;
70
+ changeVideoWindowBounds(x: number, y: number, width: number, height: number, list: FcrUIVideoWindowData[], previewType: FcrVideoWindowPreviewType): void;
71
71
  openPrivateChat(userId: string): void;
72
72
  hasMutePermission(targetRole: FcrPrivilegeUserRole | FcrUserRole): boolean;
73
73
  hasUnmutePermission(targetRole: FcrPrivilegeUserRole | FcrUserRole): boolean;
@@ -76,6 +76,7 @@ var _type4 = require("agora-rte-sdk/lib/core/rtc/type");
76
76
  var _renderer = require("../../utilities/renderer");
77
77
  var _type5 = require("agora-edu-core/lib/type");
78
78
  var _env = require("agora-foundation/lib/utilities/env");
79
+ var _attendee = require("agora-ui-foundation/lib/components/participants/attendee");
79
80
  var _VideoWindowStore;
80
81
  var _initProto, _init_userVolumeMap, _init_speakHover, _init_videoWindowPreviewType, _init_videoWindowCurrentWidth, _init_videoWindowCurrentHeight, _init_foldList, _init_workareaX, _init_workareaY, _init_workareaWidth, _init_workareaHeight, _init_localUserRole, _init__spotlightStreamId, _init_shouldHideNonVideoParticipants, _init_connectType, _init_bounds, _setBoundsDecs, _onAudioVolumeUpdatedDecs, _changeVideoWindowBoundsDecs, _onUserInfoUpdatedDecs, _setVideoWindowPreviewTypeDecs, _closeVideoWindowDecs, _setSpeakHoverDecs, _getAllowedOperationsDecs, _getCurrentDisplayBoundsDecs, _handleStreamsAddedOrUpdatedDecs, _ref;
81
82
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
@@ -387,7 +388,7 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
387
388
  key: "muteAudio",
388
389
  value: function muteAudio(mute, userId) {
389
390
  this._uiEventStore.sendEvent(_constant.UIAction.PARTICIPANT_ACTION, {
390
- action: mute ? _constant.ParticipantType.MUTE_AUDIO : _constant.ParticipantType.UNMUTE_AUDIO,
391
+ action: mute ? _attendee.ParticipantActionType.MUTE_AUDIO : _attendee.ParticipantActionType.UNMUTE_AUDIO,
391
392
  userId: userId
392
393
  });
393
394
  }
@@ -398,13 +399,13 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
398
399
  }
399
400
  }, {
400
401
  key: "computedVideoWindowHeight",
401
- value: function computedVideoWindowHeight(list) {
402
+ value: function computedVideoWindowHeight(list, previewType) {
402
403
  var _height = _type2.DefaultVideoWindowHeight;
403
404
  var listCount = list.length > 4 ? 4 : list.length;
404
- if (this.videoWindowPreviewType !== _type2.FcrVideoWindowPreviewType.MIX) {
405
- if (this.videoWindowPreviewType === _type2.FcrVideoWindowPreviewType.SMALL) {
405
+ if (previewType !== _type2.FcrVideoWindowPreviewType.MIX) {
406
+ if (previewType === _type2.FcrVideoWindowPreviewType.SMALL) {
406
407
  _height = _type2.DefaultVideoWindowHeight + _type2.VideoWindowItemHeight;
407
- } else if (this.videoWindowPreviewType === _type2.FcrVideoWindowPreviewType.MIDDLE) {
408
+ } else if (previewType === _type2.FcrVideoWindowPreviewType.MIDDLE) {
408
409
  _height = _type2.DefaultVideoWindowHeight + listCount * _type2.VideoWindowItemHeight;
409
410
  }
410
411
  }
@@ -417,9 +418,9 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
417
418
  }
418
419
  }, {
419
420
  key: "changeVideoWindowBounds",
420
- value: function changeVideoWindowBounds(x, y, width, height, list) {
421
+ value: function changeVideoWindowBounds(x, y, width, height, list, previewType) {
421
422
  this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_BOUNDS, {
422
- videoWindowHeight: this.computedVideoWindowHeight(list),
423
+ videoWindowHeight: this.computedVideoWindowHeight(list, previewType),
423
424
  videoWindowPreviewType: this.videoWindowPreviewType,
424
425
  workareaX: x,
425
426
  workareaY: y,
@@ -465,11 +466,13 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
465
466
  }, {
466
467
  key: "setVideoWindowPreviewType",
467
468
  value: function setVideoWindowPreviewType(type) {
469
+ var _list = this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants);
468
470
  this.videoWindowPreviewType = type;
469
- this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants));
471
+ this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, _list, type);
472
+ this.setBounds(_type2.DefaultVideoWindowWidth, this.computedVideoWindowHeight(_list, type));
470
473
  this._uiEventStore.sendEvent(_constant.UIAction.VIDEO_WINDOW_RESIZE, {
471
474
  width: _type2.DefaultVideoWindowWidth,
472
- height: this.computedVideoWindowHeight(this.filterFoldList(this.foldList, this.shouldHideNonVideoParticipants))
475
+ height: this.computedVideoWindowHeight(_list, type)
473
476
  });
474
477
  }
475
478
  }, {
@@ -533,7 +536,7 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
533
536
  this.workareaY = y;
534
537
  this.workareaWidth = width;
535
538
  this.workareaHeight = height;
536
- this.changeVideoWindowBounds(x, y, width, height, filterList);
539
+ this.changeVideoWindowBounds(x, y, width, height, filterList, this.videoWindowPreviewType);
537
540
  case 10:
538
541
  case "end":
539
542
  return _context.stop();
@@ -592,7 +595,7 @@ var VideoWindowStore = exports["default"] = /*#__PURE__*/function () {
592
595
  }
593
596
  if (action === _constant.UIAction.FOLD_LIST_CHANGED) {
594
597
  this.foldList = payload || [];
595
- this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, this.filterFoldList(payload, this.shouldHideNonVideoParticipants));
598
+ this.changeVideoWindowBounds(this.workareaX, this.workareaY, this.workareaWidth, this.workareaHeight, this.filterFoldList(payload, this.shouldHideNonVideoParticipants), this.videoWindowPreviewType);
596
599
  }
597
600
  if (action === _constant.UIAction.SPOTLIGHT_STREAM_CHANGED) {
598
601
  var _ref6 = payload,
@@ -0,0 +1,2 @@
1
+ import LayoutStore from './store';
2
+ export declare const StoreContext: import("react").Context<LayoutStore>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.StoreContext = void 0;
8
+ var _react = require("react");
9
+ var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
@@ -0,0 +1,71 @@
1
+ .waiting-room-layout {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ align-items: center;
6
+ }
7
+
8
+ .waiting-room-module {
9
+ width: 100%;
10
+ background-color: var(--fcr_web_ui_scene_fill2);
11
+ }
12
+
13
+ .waiting-room-bottom {
14
+ position: absolute;
15
+ bottom: 0;
16
+ }
17
+
18
+ .waiting-room-title {
19
+ margin-top: 50px;
20
+ margin-bottom: 20px;
21
+ font-weight: 700;
22
+ font-size: 24px;
23
+ color: var(--fcr_ui_scene_icontext1);
24
+ text-align: center;
25
+ }
26
+
27
+ .waiting-room-desc {
28
+ margin-bottom: 20px;
29
+ font-weight: 400;
30
+ font-size: 15px;
31
+ color: var(--fcr_ui_scene_icontext1);
32
+ text-align: center;
33
+ line-height: 22.5px;
34
+ width: 570px;
35
+ }
36
+
37
+ .waiting-room-content {
38
+ display: flex;
39
+ height: calc(100vh - 275px);
40
+ margin: 0 auto;
41
+ border-radius: 10px;
42
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
43
+ align-items: center;
44
+ width: 815px;
45
+ }
46
+
47
+ .waiting-room-video-content {
48
+ position: relative;
49
+ display: flex;
50
+ width: 452px;
51
+ height: 95%;
52
+ margin: 10px;
53
+ }
54
+
55
+ .waiting-room-chat-content {
56
+ height: 95%;
57
+ margin: 10px;
58
+ }
59
+
60
+ .waiting-room-attendee-name {
61
+ color: var(--fcr_ui_scene_icontext1);
62
+ font-weight: 400;
63
+ font-size: 12px;
64
+ position: absolute;
65
+ left: 10px;
66
+ bottom: 10px;
67
+ background: white;
68
+ border-radius: 50px;
69
+ padding: 5px 10px;
70
+ z-index: 100;
71
+ }
@@ -0,0 +1,8 @@
1
+ import { UIModule } from '../../base';
2
+ import { LayoutStoreParams, FcrLayoutSlots } from './store';
3
+ export declare class WaitingRoomLayout extends UIModule {
4
+ private _store;
5
+ constructor(args: LayoutStoreParams);
6
+ getComponent(slots?: Partial<FcrLayoutSlots>): import("react/jsx-runtime").JSX.Element;
7
+ onUnload(): void;
8
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ require("core-js/modules/es.reflect.construct.js");
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.WaitingRoomLayout = void 0;
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
12
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
13
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
14
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
+ var _base = require("../../base");
16
+ var _context = require("./context");
17
+ var _store = _interopRequireDefault(require("./store"));
18
+ var _view = _interopRequireDefault(require("./view"));
19
+ var _jsxRuntime = require("react/jsx-runtime");
20
+ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
21
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
22
+ var WaitingRoomLayout = exports.WaitingRoomLayout = /*#__PURE__*/function (_UIModule) {
23
+ function WaitingRoomLayout(args) {
24
+ var _this;
25
+ (0, _classCallCheck2["default"])(this, WaitingRoomLayout);
26
+ _this = _callSuper(this, WaitingRoomLayout);
27
+ _this._store = new _store["default"](args);
28
+ return _this;
29
+ }
30
+ (0, _inherits2["default"])(WaitingRoomLayout, _UIModule);
31
+ return (0, _createClass2["default"])(WaitingRoomLayout, [{
32
+ key: "getComponent",
33
+ value: function getComponent() {
34
+ var slots = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
35
+ this._store.updateSlots(slots);
36
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.StoreContext.Provider, {
37
+ value: this._store,
38
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_view["default"], {})
39
+ });
40
+ }
41
+ }, {
42
+ key: "onUnload",
43
+ value: function onUnload() {
44
+ this._store.release();
45
+ }
46
+ }]);
47
+ }(_base.UIModule);
@@ -0,0 +1,30 @@
1
+ import { FcrDeviceStore } from '../../common/device-store';
2
+ import { FcrUserControl } from 'agora-edu-core';
3
+ export interface FcrLayoutSlots {
4
+ chat: React.ReactNode;
5
+ stateBar: React.ReactNode;
6
+ actionBar: React.ReactNode;
7
+ }
8
+ export interface LayoutStoreParams {
9
+ deviceStore: FcrDeviceStore;
10
+ userControl: FcrUserControl;
11
+ }
12
+ export default class LayoutStore implements FcrLayoutSlots {
13
+ private _deviceStore;
14
+ private _userControl;
15
+ accessor participant: React.ReactNode;
16
+ accessor chat: React.ReactNode;
17
+ accessor stateBar: React.ReactNode;
18
+ accessor actionBar: React.ReactNode;
19
+ accessor layers: React.ReactNode;
20
+ accessor whiteboard: React.ReactNode;
21
+ constructor(params: LayoutStoreParams);
22
+ get localUser(): import("agora-edu-core/lib/type").FcrUserInfo;
23
+ get cameraId(): string;
24
+ get cameraEnabled(): boolean;
25
+ startPlayLocalVideo(view: HTMLElement, isMirror?: boolean): void;
26
+ stopPlayLocalVideo(view: HTMLElement): void;
27
+ setCameraEnabled(enable: boolean): void;
28
+ updateSlots(slots: Partial<FcrLayoutSlots>): void;
29
+ release(): void;
30
+ }