fcr-ui-scene 3.4.5 → 3.5.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 (421) hide show
  1. package/lib/base.js +4 -1
  2. package/lib/creator.d.ts +4 -1
  3. package/lib/creator.js +66 -3
  4. package/lib/electron/app.js +0 -3
  5. package/lib/electron/bootstrap-dev.js +2 -0
  6. package/lib/electron/bootstrap-sdk.js +2 -0
  7. package/lib/electron/main.js +14 -3
  8. package/lib/electron/plugins/devtool-shortcut.js +5 -0
  9. package/lib/electron/plugins/screenshot.js +4 -1
  10. package/lib/modules/action-bar/components/apps/app-item/index.css +3 -3
  11. package/lib/modules/action-bar/components/apps/app-item/index.js +35 -24
  12. package/lib/modules/action-bar/components/apps/app-list.d.ts +3 -0
  13. package/lib/modules/action-bar/components/apps/app-list.js +45 -0
  14. package/lib/modules/action-bar/components/apps/index.css +1 -0
  15. package/lib/modules/action-bar/components/apps/index.js +7 -4
  16. package/lib/modules/action-bar/components/apps/useAppItemOptions.d.ts +10 -2
  17. package/lib/modules/action-bar/components/apps/useAppItemOptions.js +10 -6
  18. package/lib/modules/action-bar/components/apps/useBeautyBackground.d.ts +1 -1
  19. package/lib/modules/action-bar/components/apps/useBeautyBackground.js +2 -2
  20. package/lib/modules/action-bar/components/apps/useInterpreter.d.ts +1 -1
  21. package/lib/modules/action-bar/components/apps/useInterpreter.js +6 -6
  22. package/lib/modules/action-bar/components/apps/useLiveStreaming.d.ts +1 -1
  23. package/lib/modules/action-bar/components/apps/useLiveStreaming.js +2 -2
  24. package/lib/modules/action-bar/components/apps/useWidgetList.d.ts +10 -0
  25. package/lib/modules/action-bar/components/apps/useWidgetList.js +38 -0
  26. package/lib/modules/action-bar/components/chat/index.css +8 -0
  27. package/lib/modules/action-bar/components/chat/index.js +2 -1
  28. package/lib/modules/action-bar/components/collapse/index.d.ts +8 -6
  29. package/lib/modules/action-bar/components/collapse/index.js +60 -74
  30. package/lib/modules/action-bar/components/interpreter/index.js +3 -3
  31. package/lib/modules/action-bar/components/item/index.js +1 -1
  32. package/lib/modules/action-bar/components/more/index.js +13 -7
  33. package/lib/modules/action-bar/components/notification-bar/index.d.ts +1 -1
  34. package/lib/modules/action-bar/components/notification-bar/index.js +13 -6
  35. package/lib/modules/action-bar/components/participants/index.js +1 -1
  36. package/lib/modules/action-bar/components/screen-share/index.js +1 -1
  37. package/lib/modules/action-bar/components/screen-share/submenu.js +55 -18
  38. package/lib/modules/action-bar/components/security/index.js +8 -2
  39. package/lib/modules/action-bar/components/trigger-output-language/index.js +68 -55
  40. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +35 -18
  41. package/lib/modules/action-bar/index.css +8 -0
  42. package/lib/modules/action-bar/index.d.ts +8 -0
  43. package/lib/modules/action-bar/index.js +6 -3
  44. package/lib/modules/action-bar/store.d.ts +37 -22
  45. package/lib/modules/action-bar/store.js +275 -375
  46. package/lib/modules/action-bar/types.d.ts +8 -13
  47. package/lib/modules/action-bar/view.js +3 -8
  48. package/lib/modules/audio-stream/index.d.ts +6 -1
  49. package/lib/modules/audio-stream/index.js +77 -11
  50. package/lib/modules/chat/chat-room-store.d.ts +4 -7
  51. package/lib/modules/chat/chat-room-store.js +39 -62
  52. package/lib/modules/chat/components/chat-action/index.js +2 -2
  53. package/lib/modules/chat/components/chat-bar/index.css +4 -0
  54. package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
  55. package/lib/modules/chat/components/chat-bar/index.js +18 -16
  56. package/lib/modules/chat/components/chat-select/index.js +16 -147
  57. package/lib/modules/chat/components/chat-select/select-input/index.d.ts +7 -0
  58. package/lib/modules/chat/components/chat-select/select-input/index.js +35 -0
  59. package/lib/modules/chat/components/chat-select/select-item/index.d.ts +12 -0
  60. package/lib/modules/chat/components/chat-select/select-item/index.js +153 -0
  61. package/lib/modules/chat/components/chat-tabs/index.d.ts +2 -0
  62. package/lib/modules/chat/components/chat-tabs/index.js +61 -0
  63. package/lib/modules/chat/components/message-list/chat-empty/index.d.ts +2 -0
  64. package/lib/modules/chat/components/message-list/chat-empty/index.js +26 -0
  65. package/lib/modules/chat/components/message-list/history-unread-message-button/index.d.ts +7 -0
  66. package/lib/modules/chat/components/message-list/history-unread-message-button/index.js +55 -0
  67. package/lib/modules/chat/components/message-list/index.d.ts +1 -1
  68. package/lib/modules/chat/components/message-list/index.js +55 -359
  69. package/lib/modules/chat/components/message-list/message-item/index.d.ts +15 -0
  70. package/lib/modules/chat/components/message-list/message-item/index.js +309 -0
  71. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.d.ts +9 -0
  72. package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +67 -0
  73. package/lib/modules/chat/index.css +9 -0
  74. package/lib/modules/chat/index.d.ts +6 -0
  75. package/lib/modules/chat/index.js +4 -1
  76. package/lib/modules/chat/store.d.ts +17 -7
  77. package/lib/modules/chat/store.js +75 -72
  78. package/lib/modules/chat/types.d.ts +7 -7
  79. package/lib/modules/chat/types.js +2 -1
  80. package/lib/modules/chat/view.js +22 -102
  81. package/lib/modules/components/device-control/store.d.ts +4 -3
  82. package/lib/modules/components/device-control/store.js +13 -24
  83. package/lib/modules/components/leave-meeting/components/assign-host.js +17 -2
  84. package/lib/modules/components/leave-meeting/index.js +8 -7
  85. package/lib/modules/components/leave-meeting/store.d.ts +15 -7
  86. package/lib/modules/components/leave-meeting/store.js +116 -95
  87. package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +6 -0
  88. package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +36 -0
  89. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +40 -0
  90. package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +170 -0
  91. package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +11 -0
  92. package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +105 -0
  93. package/lib/modules/components/member-window/components/member-actions/components/layout/index.d.ts +9 -0
  94. package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +42 -0
  95. package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +11 -0
  96. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +157 -0
  97. package/lib/modules/components/member-window/components/member-actions/components/share-status.d.ts +2 -0
  98. package/lib/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
  99. package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +16 -0
  100. package/lib/modules/components/member-window/components/member-actions/components/user-info.js +130 -0
  101. package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +12 -0
  102. package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +57 -0
  103. package/lib/modules/components/member-window/components/member-actions/index.d.ts +3 -0
  104. package/lib/modules/components/member-window/components/member-actions/index.js +122 -0
  105. package/lib/modules/components/member-window/components/member-actions/libs/index.d.ts +2 -0
  106. package/lib/modules/components/member-window/components/member-actions/libs/index.js +24 -0
  107. package/lib/modules/components/member-window/components/member-actions/provider.d.ts +21 -0
  108. package/lib/modules/components/member-window/components/member-actions/provider.js +77 -0
  109. package/lib/modules/components/member-window/components/member-actions/store.d.ts +48 -0
  110. package/lib/modules/components/member-window/components/member-actions/store.js +307 -0
  111. package/lib/modules/components/member-window/components/member-board.d.ts +2 -0
  112. package/lib/modules/components/member-window/components/member-board.js +63 -0
  113. package/lib/modules/components/member-window/components/mic-volume.d.ts +2 -0
  114. package/lib/modules/components/member-window/components/mic-volume.js +23 -0
  115. package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +4 -0
  116. package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +40 -0
  117. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +8 -0
  118. package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +62 -0
  119. package/lib/modules/components/member-window/components/video-player/index.d.ts +9 -0
  120. package/lib/modules/components/member-window/components/video-player/index.js +38 -0
  121. package/lib/modules/components/member-window/index.css +22 -2
  122. package/lib/modules/components/member-window/index.d.ts +10 -75
  123. package/lib/modules/components/member-window/index.js +20 -738
  124. package/lib/modules/components/member-window/types.d.ts +79 -0
  125. package/lib/modules/components/member-window/types.js +6 -0
  126. package/lib/modules/components/security-menu/index.css +0 -2
  127. package/lib/modules/components/security-menu/index.d.ts +5 -1
  128. package/lib/modules/components/security-menu/index.js +37 -59
  129. package/lib/modules/connection-gateway/index.d.ts +6 -0
  130. package/lib/modules/connection-gateway/index.js +4 -1
  131. package/lib/modules/connection-gateway/store.d.ts +12 -3
  132. package/lib/modules/connection-gateway/store.js +29 -27
  133. package/lib/modules/control-bar/components/meeting-details/index.js +11 -17
  134. package/lib/modules/control-bar/components/more-actions/index.js +5 -4
  135. package/lib/modules/control-bar/components/share-state-nav/index.js +22 -10
  136. package/lib/modules/control-bar/index.css +1 -2
  137. package/lib/modules/control-bar/index.d.ts +14 -0
  138. package/lib/modules/control-bar/index.js +10 -4
  139. package/lib/modules/control-bar/store.d.ts +40 -20
  140. package/lib/modules/control-bar/store.js +156 -191
  141. package/lib/modules/control-bar/view.js +65 -25
  142. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +1 -1
  143. package/lib/modules/dialog/components/control-bar/index.d.ts +1 -1
  144. package/lib/modules/dialog/components/control-bar/index.js +43 -43
  145. package/lib/modules/dialog/components/device-setting/index.js +2 -1
  146. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
  147. package/lib/modules/dialog/components/dialog-container/component/body.js +3 -2
  148. package/lib/modules/dialog/components/dialog-container/index.d.ts +2 -0
  149. package/lib/modules/dialog/components/dialog-container/index.js +19 -13
  150. package/lib/modules/dialog/components/live-streaming/index.js +4 -2
  151. package/lib/modules/dialog/components/participant/index.js +2 -2
  152. package/lib/modules/dialog/components/share-screen-selection/index.js +3 -1
  153. package/lib/modules/dialog/components/system-preference/assets/bg1.png +0 -0
  154. package/lib/modules/dialog/components/system-preference/assets/bg2.png +0 -0
  155. package/lib/modules/dialog/components/system-preference/assets/fcr_png_host.png +0 -0
  156. package/lib/modules/dialog/components/system-preference/electron.js +6 -6
  157. package/lib/modules/dialog/components/system-preference/index.css +3 -0
  158. package/lib/modules/dialog/components/system-preference/index.d.ts +17 -2
  159. package/lib/modules/dialog/components/system-preference/index.js +47 -55
  160. package/lib/modules/dialog/components/video-window/index.d.ts +1 -1
  161. package/lib/modules/dialog/components/video-window/index.js +216 -101
  162. package/lib/modules/dialog/components/widget/electron.d.ts +5 -0
  163. package/lib/modules/dialog/components/widget/electron.js +37 -0
  164. package/lib/modules/dialog/components/widget/index.d.ts +6 -0
  165. package/lib/modules/dialog/components/widget/index.js +43 -0
  166. package/lib/modules/dialog/hooks/useElectron.d.ts +7 -0
  167. package/lib/modules/dialog/hooks/useElectron.js +226 -28
  168. package/lib/modules/dialog/index.css +1 -11
  169. package/lib/modules/dialog/index.d.ts +9 -6
  170. package/lib/modules/dialog/index.js +12 -12
  171. package/lib/modules/dialog/store.d.ts +26 -10
  172. package/lib/modules/dialog/store.js +151 -82
  173. package/lib/modules/dialog/type.d.ts +84 -0
  174. package/lib/modules/dialog/type.js +6 -0
  175. package/lib/modules/dialog/view.d.ts +1 -4
  176. package/lib/modules/dialog/view.js +12 -9
  177. package/lib/modules/event-confirm/index.css +11 -0
  178. package/lib/modules/event-confirm/index.d.ts +6 -0
  179. package/lib/modules/event-confirm/index.js +3 -2
  180. package/lib/modules/event-confirm/store.d.ts +10 -4
  181. package/lib/modules/event-confirm/store.js +91 -32
  182. package/lib/modules/event-confirm/view.js +63 -24
  183. package/lib/modules/event-toast/store.js +4 -2
  184. package/lib/modules/interpreter/action/edit-btn/index.js +5 -5
  185. package/lib/modules/interpreter/action/switch-btn/index.js +7 -7
  186. package/lib/modules/interpreter/index.d.ts +5 -1
  187. package/lib/modules/interpreter/index.js +4 -2
  188. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -3
  189. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +6 -5
  190. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +2 -2
  191. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.js +2 -2
  192. package/lib/modules/interpreter/store.d.ts +8 -5
  193. package/lib/modules/interpreter/store.js +90 -39
  194. package/lib/modules/interpreter/type.d.ts +5 -1
  195. package/lib/modules/interpreter/utils.d.ts +0 -1
  196. package/lib/modules/interpreter/utils.js +2 -23
  197. package/lib/modules/interpreter/view.js +2 -6
  198. package/lib/modules/invite/index.d.ts +4 -0
  199. package/lib/modules/invite/index.js +3 -1
  200. package/lib/modules/invite/store.d.ts +11 -2
  201. package/lib/modules/invite/store.js +27 -4
  202. package/lib/modules/layout/components/Aside.js +1 -1
  203. package/lib/modules/layout/components/Carousel.js +36 -14
  204. package/lib/modules/layout/components/Gallery.js +33 -11
  205. package/lib/modules/layout/index.css +2 -2
  206. package/lib/modules/layout/index.d.ts +6 -0
  207. package/lib/modules/layout/index.js +4 -1
  208. package/lib/modules/layout/store.d.ts +23 -10
  209. package/lib/modules/layout/store.js +185 -163
  210. package/lib/modules/layout/type.d.ts +2 -0
  211. package/lib/modules/live-streaming/index.d.ts +2 -0
  212. package/lib/modules/live-streaming/index.js +2 -2
  213. package/lib/modules/live-streaming/store.d.ts +4 -8
  214. package/lib/modules/live-streaming/store.js +9 -19
  215. package/lib/modules/notification/index.css +17 -0
  216. package/lib/modules/notification/store.js +4 -2
  217. package/lib/modules/notification/view.js +7 -2
  218. package/lib/modules/offscreen-pulling/index.d.ts +1 -0
  219. package/lib/modules/offscreen-pulling/index.js +4 -0
  220. package/lib/modules/participant/components/confirm-input/index.d.ts +6 -0
  221. package/lib/modules/participant/components/confirm-input/index.js +50 -0
  222. package/lib/modules/participant/components/mute-all/index.d.ts +3 -7
  223. package/lib/modules/participant/components/mute-all/index.js +21 -33
  224. package/lib/modules/participant/components/participants/components/footer/components/buttons.d.ts +6 -0
  225. package/lib/modules/participant/components/participants/components/footer/components/buttons.js +52 -0
  226. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +60 -0
  227. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.d.ts +2 -0
  228. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +166 -0
  229. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +5 -0
  230. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +28 -0
  231. package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +13 -0
  232. package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +5 -0
  233. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +242 -0
  234. package/lib/modules/participant/components/participants/components/footer/index.d.ts +5 -0
  235. package/lib/modules/participant/components/participants/components/footer/index.js +48 -0
  236. package/lib/modules/participant/components/participants/components/merge/index.d.ts +11 -0
  237. package/lib/modules/participant/components/participants/components/merge/index.js +49 -0
  238. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +191 -0
  239. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +4 -0
  240. package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +204 -0
  241. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +49 -0
  242. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +5 -0
  243. package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +219 -0
  244. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +5 -0
  245. package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +70 -0
  246. package/lib/modules/participant/components/participants/components/participants/index.css +104 -0
  247. package/lib/modules/participant/components/participants/components/participants/index.d.ts +3 -0
  248. package/lib/modules/participant/components/participants/components/participants/index.js +110 -0
  249. package/lib/modules/participant/components/participants/components/render-tab/index.d.ts +2 -0
  250. package/lib/modules/participant/components/participants/components/render-tab/index.js +49 -0
  251. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.d.ts +3 -0
  252. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +48 -0
  253. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.d.ts +6 -0
  254. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +28 -0
  255. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.d.ts +7 -0
  256. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +39 -0
  257. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +69 -0
  258. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.d.ts +5 -0
  259. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +135 -0
  260. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.d.ts +7 -0
  261. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +31 -0
  262. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.d.ts +12 -0
  263. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +82 -0
  264. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.d.ts +4 -0
  265. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +26 -0
  266. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +2 -0
  267. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +75 -0
  268. package/lib/modules/participant/components/participants/components/render-user/index.d.ts +5 -0
  269. package/lib/modules/participant/components/participants/components/render-user/index.js +21 -0
  270. package/lib/modules/participant/components/participants/index.js +18 -112
  271. package/lib/modules/participant/components/participants/types.d.ts +96 -0
  272. package/lib/modules/participant/components/participants/types.js +37 -0
  273. package/lib/modules/participant/index.css +3 -0
  274. package/lib/modules/participant/index.d.ts +12 -0
  275. package/lib/modules/participant/index.js +7 -1
  276. package/lib/modules/participant/member-list-data-source.d.ts +2 -2
  277. package/lib/modules/participant/member-list-data-source.js +11 -17
  278. package/lib/modules/participant/store.d.ts +44 -37
  279. package/lib/modules/participant/store.js +527 -536
  280. package/lib/modules/participant/type.d.ts +2 -9
  281. package/lib/modules/pc-audio-connect/store.d.ts +1 -1
  282. package/lib/modules/pc-audio-connect/store.js +9 -6
  283. package/lib/modules/setting/audio-settings/audio-settings.js +5 -4
  284. package/lib/modules/setting/audio-settings/index.css +11 -2
  285. package/lib/modules/setting/config.js +1 -1
  286. package/lib/modules/setting/store.d.ts +1 -0
  287. package/lib/modules/setting/store.js +20 -2
  288. package/lib/modules/setting/video-settings/index.css +12 -17
  289. package/lib/modules/setting/video-settings/video-settings-basic.js +40 -44
  290. package/lib/modules/share-screen/components/selection/index.js +70 -80
  291. package/lib/modules/share-screen/index.d.ts +6 -1
  292. package/lib/modules/share-screen/index.js +4 -1
  293. package/lib/modules/share-screen/store.d.ts +37 -33
  294. package/lib/modules/share-screen/store.js +330 -438
  295. package/lib/modules/sound-effect/sound-effect-player.d.ts +0 -4
  296. package/lib/modules/sound-effect/sound-effect-player.js +4 -4
  297. package/lib/modules/state-bar/index.css +2 -15
  298. package/lib/modules/state-bar/index.d.ts +10 -0
  299. package/lib/modules/state-bar/index.js +6 -1
  300. package/lib/modules/state-bar/live-streaming-state.js +0 -17
  301. package/lib/modules/state-bar/meeting-details.js +12 -24
  302. package/lib/modules/state-bar/meeting-time.js +5 -10
  303. package/lib/modules/state-bar/store.d.ts +31 -8
  304. package/lib/modules/state-bar/store.js +146 -100
  305. package/lib/modules/state-bar/view.js +63 -32
  306. package/lib/modules/video-window/components/deviceState/index.d.ts +7 -0
  307. package/lib/modules/video-window/components/deviceState/index.js +75 -0
  308. package/lib/modules/video-window/components/members/index.css +51 -0
  309. package/lib/modules/video-window/components/members/index.d.ts +2 -0
  310. package/lib/modules/video-window/components/members/index.js +131 -0
  311. package/lib/modules/video-window/components/speaking/index.css +86 -0
  312. package/lib/modules/video-window/components/speaking/index.d.ts +3 -0
  313. package/lib/modules/video-window/components/speaking/index.js +48 -0
  314. package/lib/modules/video-window/components/topControl/index.css +35 -0
  315. package/lib/modules/video-window/components/topControl/index.d.ts +3 -0
  316. package/lib/modules/video-window/components/topControl/index.js +79 -0
  317. package/lib/modules/video-window/index.d.ts +7 -0
  318. package/lib/modules/video-window/index.js +14 -20
  319. package/lib/modules/video-window/store.d.ts +19 -88
  320. package/lib/modules/video-window/store.js +98 -365
  321. package/lib/modules/video-window/type.d.ts +40 -4
  322. package/lib/modules/video-window/type.js +4 -4
  323. package/lib/modules/video-window/view.js +11 -23
  324. package/lib/modules/whiteboard/index.d.ts +1 -0
  325. package/lib/modules/whiteboard/index.js +7 -4
  326. package/lib/modules/widget/index.css +17 -0
  327. package/lib/modules/widget/index.d.ts +10 -0
  328. package/lib/modules/widget/index.js +114 -0
  329. package/lib/modules/widget/sdk.d.ts +30 -0
  330. package/lib/modules/widget/sdk.js +224 -0
  331. package/lib/modules/widget/store.d.ts +14 -0
  332. package/lib/modules/widget/store.js +28 -0
  333. package/lib/modules/widget/type.d.ts +156 -0
  334. package/lib/modules/widget/type.js +6 -0
  335. package/lib/modules/widget/view.d.ts +2 -0
  336. package/lib/modules/widget/view.js +47 -0
  337. package/lib/modules/widget/web-widget.d.ts +29 -0
  338. package/lib/modules/widget/web-widget.js +234 -0
  339. package/lib/providers/ability-provider.d.ts +24 -0
  340. package/lib/providers/ability-provider.js +38 -0
  341. package/lib/providers/chat-provider.d.ts +16 -9
  342. package/lib/providers/chat-provider.js +76 -8
  343. package/lib/providers/device-privilege-provider.d.ts +5 -1
  344. package/lib/providers/device-privilege-provider.js +21 -1
  345. package/lib/providers/device-provider.js +5 -2
  346. package/lib/providers/device-stream-provider.d.ts +15 -3
  347. package/lib/providers/device-stream-provider.js +118 -34
  348. package/lib/providers/dialog-provider.d.ts +9 -8
  349. package/lib/providers/dialog-provider.js +8 -4
  350. package/lib/providers/event-provider.js +4 -2
  351. package/lib/providers/interpreter-provider.d.ts +7 -26
  352. package/lib/providers/interpreter-provider.js +473 -706
  353. package/lib/providers/local-storage-provider.d.ts +6 -1
  354. package/lib/providers/local-storage-provider.js +15 -2
  355. package/lib/providers/message-provider.js +4 -2
  356. package/lib/providers/phone-audio-provider.js +24 -18
  357. package/lib/providers/privilege-provider.d.ts +13 -12
  358. package/lib/providers/privilege-provider.js +19 -11
  359. package/lib/providers/renderer-provider.d.ts +5 -0
  360. package/lib/providers/renderer-provider.js +8 -1
  361. package/lib/providers/room-provider.d.ts +7 -17
  362. package/lib/providers/room-provider.js +113 -161
  363. package/lib/providers/screen-share-provider.d.ts +19 -0
  364. package/lib/providers/screen-share-provider.js +102 -10
  365. package/lib/providers/widget-provider.d.ts +52 -0
  366. package/lib/providers/widget-provider.js +171 -0
  367. package/lib/scenes/main-scene.d.ts +11 -0
  368. package/lib/scenes/main-scene.js +60 -33
  369. package/lib/scenes/waiting-scene.d.ts +9 -0
  370. package/lib/scenes/waiting-scene.js +27 -26
  371. package/lib/schema.d.ts +114 -0
  372. package/lib/schema.js +77 -0
  373. package/lib/shared-data-source/chat-data.d.ts +11 -0
  374. package/lib/shared-data-source/chat-data.js +17 -6
  375. package/lib/shared-data-source/interpreter.d.ts +34 -21
  376. package/lib/shared-data-source/interpreter.js +104 -103
  377. package/lib/shared-data-source/meeting-time.d.ts +68 -0
  378. package/lib/shared-data-source/meeting-time.js +299 -0
  379. package/lib/shared-data-source/member-data.d.ts +126 -0
  380. package/lib/shared-data-source/member-data.js +451 -0
  381. package/lib/shared-data-source/pin-data.d.ts +8 -4
  382. package/lib/shared-data-source/pin-data.js +92 -4
  383. package/lib/shared-data-source/security-data.d.ts +35 -0
  384. package/lib/shared-data-source/security-data.js +156 -0
  385. package/lib/shared-data-source/setting.d.ts +3 -1
  386. package/lib/shared-data-source/setting.js +12 -1
  387. package/lib/shared-data-source/video-window.d.ts +7 -8
  388. package/lib/shared-data-source/video-window.js +97 -94
  389. package/lib/shared-data-source/waiting-room.d.ts +29 -2
  390. package/lib/shared-data-source/waiting-room.js +103 -39
  391. package/lib/translations/enUS.d.ts +25 -12
  392. package/lib/translations/enUS.js +47 -68
  393. package/lib/translations/zhCN.d.ts +26 -12
  394. package/lib/translations/zhCN.js +63 -83
  395. package/lib/type.d.ts +64 -48
  396. package/lib/type.js +14 -1
  397. package/lib/ui-manager.d.ts +3 -2
  398. package/lib/ui-manager.js +8 -7
  399. package/lib/ui-scene.d.ts +7 -1
  400. package/lib/ui-scene.js +187 -97
  401. package/lib/utilities/constant.d.ts +7 -3
  402. package/lib/utilities/constant.js +4 -0
  403. package/lib/utilities/default-config.d.ts +5 -1
  404. package/lib/utilities/default-config.js +28 -2
  405. package/lib/utilities/logger.d.ts +8 -0
  406. package/lib/utilities/logger.js +42 -0
  407. package/lib/utilities/meeting-detail.js +11 -10
  408. package/lib/utilities/parameters.d.ts +4 -0
  409. package/lib/utilities/parameters.js +13 -1
  410. package/lib/utilities/renderer.d.ts +1 -0
  411. package/lib/utilities/renderer.js +4 -1
  412. package/lib/utilities/tools.d.ts +7 -6
  413. package/lib/utilities/tools.js +2 -6
  414. package/lib/utilities/validate-params.d.ts +2 -0
  415. package/lib/utilities/validate-params.js +16 -0
  416. package/lib/waiting-room-control-manager.d.ts +28 -0
  417. package/lib/waiting-room-control-manager.js +212 -0
  418. package/lib/widget-sdk.d.ts +2 -0
  419. package/lib/widget-sdk.js +13 -0
  420. package/package.json +7 -6
  421. package/public/index.html +12 -6
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.symbol.js");
4
+ require("core-js/modules/es.array.filter.js");
5
+ require("core-js/modules/es.array.for-each.js");
6
+ require("core-js/modules/es.array.iterator.js");
7
+ require("core-js/modules/es.array.push.js");
8
+ require("core-js/modules/es.object.define-properties.js");
9
+ require("core-js/modules/es.object.define-property.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
11
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
12
+ require("core-js/modules/es.object.keys.js");
13
+ require("core-js/modules/es.object.to-string.js");
14
+ require("core-js/modules/es.string.iterator.js");
15
+ require("core-js/modules/es.weak-map.js");
16
+ require("core-js/modules/esnext.async-iterator.filter.js");
17
+ require("core-js/modules/esnext.async-iterator.for-each.js");
18
+ require("core-js/modules/esnext.iterator.constructor.js");
19
+ require("core-js/modules/esnext.iterator.filter.js");
20
+ require("core-js/modules/esnext.iterator.for-each.js");
21
+ require("core-js/modules/esnext.weak-map.delete-all.js");
22
+ require("core-js/modules/esnext.weak-map.emplace.js");
23
+ require("core-js/modules/web.dom-collections.for-each.js");
24
+ require("core-js/modules/web.dom-collections.iterator.js");
25
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
26
+ var _typeof = require("@babel/runtime/helpers/typeof");
27
+ Object.defineProperty(exports, "__esModule", {
28
+ value: true
29
+ });
30
+ exports.userRowRenderer = exports.cache = void 0;
31
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
32
+ var _CellMeasurer = _interopRequireWildcard(require("react-virtualized/dist/es/CellMeasurer"));
33
+ var _attendee = require("../attendee");
34
+ var _jsxRuntime = require("react/jsx-runtime");
35
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
36
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
37
+ 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; }
38
+ 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; }
39
+ var cache = exports.cache = new _CellMeasurer.CellMeasurerCache({
40
+ fixedWidth: true,
41
+ defaultHeight: 52
42
+ });
43
+ var userRowRenderer = exports.userRowRenderer = function userRowRenderer(userList, userRenderer, hasPinnedStream, toggleParticipantAction) {
44
+ return function (renderProps) {
45
+ var key = renderProps.key,
46
+ parent = renderProps.parent,
47
+ index = renderProps.index,
48
+ style = renderProps.style;
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CellMeasurer["default"], {
50
+ cache: cache,
51
+ parent: parent,
52
+ columnIndex: 0,
53
+ rowIndex: index,
54
+ children: function children(_ref) {
55
+ var measure = _ref.measure;
56
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
57
+ style: _objectSpread(_objectSpread({}, style), {}, {
58
+ pointerEvents: 'all'
59
+ }),
60
+ onLoad: measure,
61
+ children: userRenderer ? userRenderer(userList[index]) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_attendee.FcrParticipant, {
62
+ hasPinnedStream: hasPinnedStream,
63
+ user: userList[index],
64
+ onParticipantsButtonClick: toggleParticipantAction
65
+ })
66
+ });
67
+ }
68
+ }, key);
69
+ };
70
+ };
@@ -0,0 +1,104 @@
1
+ .fcr-participant {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: 100%;
6
+ min-width: 320px;
7
+ min-height: 560px;
8
+ }
9
+
10
+ .fcr-participant__search-and-invite {
11
+ display: flex;
12
+ align-items: center;
13
+ /* margin-bottom: 15px; */
14
+ gap: 8px;
15
+ width: 100%;
16
+ padding: 5px 15px;
17
+ }
18
+
19
+ .fcr-participant__search-and-invite .fcr-input {
20
+ height: 32px;
21
+ flex: 1;
22
+ }
23
+
24
+ .fcr-participant__search-and-invite .fcr-button-secondary {
25
+ border: 0.5px solid var(--fcr_web_ui_scene_line4);
26
+ color: var(--fcr_ui_scene_icontext1);
27
+ }
28
+
29
+ .fcr-participant__list {
30
+ flex: 1;
31
+ }
32
+
33
+ .fcr-participant__list div:focus {
34
+ outline: none;
35
+ }
36
+ .fcr-participant__footer {
37
+ display: flex;
38
+ justify-content: space-between;
39
+ padding: 4px 15px 10px 15px;
40
+ gap: 8px;
41
+ width: 100%;
42
+ background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
43
+ }
44
+
45
+ .fcr-participant__footer button {
46
+ border-radius: var(--fcr_cornerradius_s);
47
+ }
48
+
49
+ .fcr-participant__footer .fcr-button-posticon {
50
+ width: 16px;
51
+ }
52
+
53
+ .fcr-participant__footer .fcr-button-posticon path {
54
+ fill: var(--fcr_ui_scene_icontext1);
55
+ }
56
+
57
+ .fcr-participant__footer .fcr-button:hover {
58
+ /* border-color: var(--fcr_ui_scene_ramp_brand6); */
59
+ }
60
+ .fcr-participant__footer .fcr-button:hover path {
61
+ fill: var(--fcr_web_ui_scene_mainicon2);
62
+ }
63
+
64
+ .fcr-participant__search-and-invite input {
65
+ border-radius: var(--fcr_cornerradius_s);
66
+ }
67
+
68
+ .attendee__more-actions,
69
+ .attendee__footer-more-actions {
70
+ border: 0;
71
+ box-shadow: var(--fcr_web_light_dropup_m);
72
+ border-radius: var(--fcr_cornerradius_l);
73
+ max-width: fit-content;
74
+ }
75
+
76
+ .attendee__footer-more-actions .fcr-tooltip-inner {
77
+ max-width: 364px;
78
+ min-width: 302px;
79
+ width: auto !important;
80
+ }
81
+
82
+ .attendee__more-actions .fcr-checkbox-input-wrapper,
83
+ .attendee__footer-more-actions .fcr-checkbox-input-wrapper {
84
+ border: 0;
85
+ }
86
+
87
+ .attendee__more-actions .fcr-checkbox-input-wrapper .fcr-btn-click-effect,
88
+ .attendee__footer-more-actions .fcr-checkbox-input-wrapper .fcr-btn-click-effect {
89
+ height: 24px;
90
+ width: 24px;
91
+ background: transparent;
92
+ }
93
+
94
+ .attendee__footer-more-actions .fcr-checkbox {
95
+ width: 100%;
96
+ }
97
+
98
+ .attendee__footer-more-actions .fcr-drop-menu-option {
99
+ width: auto;
100
+ }
101
+
102
+ .fcr_participants_button_invite {
103
+ min-width: 70px !important;
104
+ }
@@ -0,0 +1,3 @@
1
+ import { ParticipantProps } from '../../types';
2
+ import './index.css';
3
+ export declare const FcrParticipants: (props: ParticipantProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.symbol.js");
4
+ require("core-js/modules/es.array.filter.js");
5
+ require("core-js/modules/es.array.for-each.js");
6
+ require("core-js/modules/es.array.push.js");
7
+ require("core-js/modules/es.object.define-properties.js");
8
+ require("core-js/modules/es.object.define-property.js");
9
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
11
+ require("core-js/modules/es.object.keys.js");
12
+ require("core-js/modules/es.object.to-string.js");
13
+ require("core-js/modules/esnext.async-iterator.filter.js");
14
+ require("core-js/modules/esnext.async-iterator.for-each.js");
15
+ require("core-js/modules/esnext.iterator.constructor.js");
16
+ require("core-js/modules/esnext.iterator.filter.js");
17
+ require("core-js/modules/esnext.iterator.for-each.js");
18
+ require("core-js/modules/web.dom-collections.for-each.js");
19
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
20
+ Object.defineProperty(exports, "__esModule", {
21
+ value: true
22
+ });
23
+ exports.FcrParticipants = void 0;
24
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
25
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
26
+ var _reactVirtualized = require("react-virtualized");
27
+ var _react = require("react");
28
+ var _i18n = require("agora-ui-foundation/lib/i18n");
29
+ var _input = require("agora-ui-foundation/lib/components/input");
30
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
31
+ var _button = require("agora-ui-foundation/lib/components/button");
32
+ var _userRow = require("./components/user-row");
33
+ require("./index.css");
34
+ var _jsxRuntime = require("react/jsx-runtime");
35
+ 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; }
36
+ 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; }
37
+ var FcrParticipants = exports.FcrParticipants = function FcrParticipants(props) {
38
+ var _props = _objectSpread({}, props),
39
+ searchText = _props.searchText,
40
+ onSearch = _props.onSearch,
41
+ userList = _props.userList,
42
+ userRenderer = _props.userRenderer,
43
+ onInvite = _props.onInvite,
44
+ hasPinnedStream = _props.hasPinnedStream,
45
+ toggleParticipantAction = _props.toggleParticipantAction,
46
+ toggleRoomControlAction = _props.toggleRoomControlAction,
47
+ footer = _props.footer,
48
+ header = _props.header,
49
+ hasInvite = _props.hasInvite;
50
+
51
+ // 使用 useMemo 初始化 value 状态
52
+ var _useState = (0, _react.useState)((0, _react.useMemo)(function () {
53
+ return searchText || '';
54
+ }, [searchText])),
55
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
56
+ value = _useState2[0],
57
+ setValue = _useState2[1];
58
+ var t = (0, _i18n.useI18n)();
59
+ var handleChange = function handleChange(val) {
60
+ setValue(val);
61
+ onSearch(val);
62
+ };
63
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
64
+ className: "fcr-participant",
65
+ children: [header, /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
66
+ className: "fcr-participant__search-and-invite",
67
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_input.FcrInput, {
68
+ size: "small",
69
+ placeholder: t('fmt_attendies_button_serach'),
70
+ value: value,
71
+ shape: "rounded",
72
+ onChange: handleChange,
73
+ maxLength: 21,
74
+ style: {
75
+ background: 'var(--fcr_ui_scene_input2)'
76
+ }
77
+ // autoFocus
78
+ ,
79
+ iconPrefix: {
80
+ type: _type.FcrIconType.FCR_V2_SEARCH,
81
+ colors: {
82
+ iconPrimary: 'var(--fcr_ui_scene_icontext1)'
83
+ }
84
+ }
85
+ }), hasInvite && /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
86
+ className: "fcr_participants_button_invite",
87
+ type: "secondary-bordered",
88
+ shape: "rounded",
89
+ size: "XS",
90
+ onClick: onInvite,
91
+ children: t('fmt_participants_button_invite')
92
+ })]
93
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
94
+ className: "fcr-participant__list",
95
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactVirtualized.AutoSizer, {
96
+ children: function children(_ref) {
97
+ var height = _ref.height,
98
+ width = _ref.width;
99
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactVirtualized.List, {
100
+ width: width,
101
+ height: height,
102
+ rowCount: userList.length,
103
+ rowHeight: _userRow.cache.rowHeight,
104
+ rowRenderer: (0, _userRow.userRowRenderer)(userList, userRenderer, hasPinnedStream, toggleParticipantAction)
105
+ });
106
+ }
107
+ })
108
+ }), footer ? footer : null]
109
+ });
110
+ };
@@ -0,0 +1,2 @@
1
+ declare const RenderTabs: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default RenderTabs;
@@ -0,0 +1,49 @@
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["default"] = void 0;
8
+ var _tabs = require("agora-ui-foundation/lib/components/tabs");
9
+ var _react = require("react");
10
+ var _store = require("../../../../store");
11
+ var _i18n = require("agora-ui-foundation/lib/i18n");
12
+ var _mobxReact = require("mobx-react");
13
+ var _type = require("../../../../../../type");
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ var RenderTabs = (0, _mobxReact.observer)(function () {
16
+ var _useContext = (0, _react.useContext)(_store.StoreContext),
17
+ waitingRoomUserCount = _useContext.waitingRoomUserCount,
18
+ isNewWaitingRoomUserEnter = _useContext.isNewWaitingRoomUserEnter,
19
+ activeTab = _useContext.activeTab,
20
+ handleActiveTab = _useContext.handleActiveTab;
21
+ var transI18n = (0, _i18n.useI18n)();
22
+ var renderTabs = (0, _react.useCallback)(function () {
23
+ if (waitingRoomUserCount > 0) {
24
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tabs.FcrTabs, {
25
+ items: [{
26
+ label: transI18n('fmt_waitingroom_sidebar_chat_label_meeting'),
27
+ key: _type.FcrUIRoomType.MAIN_ROOM
28
+ }, {
29
+ label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
30
+ className: "participants-container-icon",
31
+ children: [isNewWaitingRoomUserEnter ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
32
+ className: "participants-container-red"
33
+ }) : null, transI18n('fmt_waitingroom_sidebar_label_waiting', {
34
+ reason1: waitingRoomUserCount
35
+ })]
36
+ }),
37
+ key: _type.FcrUIRoomType.WAITING_ROOM
38
+ }],
39
+ activeKey: activeTab,
40
+ onChange: function onChange(key) {
41
+ handleActiveTab(key);
42
+ }
43
+ });
44
+ }
45
+ return null;
46
+ }, [waitingRoomUserCount, isNewWaitingRoomUserEnter, transI18n, activeTab, handleActiveTab]);
47
+ return renderTabs();
48
+ });
49
+ var _default = exports["default"] = RenderTabs;
@@ -0,0 +1,3 @@
1
+ export declare const ParticipantAttendeeinterpreterTag: ({ userId }: {
2
+ userId: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,48 @@
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.ParticipantAttendeeinterpreterTag = void 0;
8
+ require("core-js/modules/es.array.find.js");
9
+ require("core-js/modules/es.object.to-string.js");
10
+ require("core-js/modules/esnext.async-iterator.find.js");
11
+ require("core-js/modules/esnext.iterator.constructor.js");
12
+ require("core-js/modules/esnext.iterator.find.js");
13
+ var _i18n = require("agora-ui-foundation/lib/i18n");
14
+ var _mobxReact = require("mobx-react");
15
+ var _react = require("react");
16
+ var _store = require("../../../../../../../../store");
17
+ var _useLanguageConfig = require("../../../../../../../../../interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig");
18
+ var _jsxRuntime = require("react/jsx-runtime");
19
+ var ParticipantAttendeeinterpreterTag = exports.ParticipantAttendeeinterpreterTag = (0, _mobxReact.observer)(function (_ref) {
20
+ var _interpreterInputLang;
21
+ var userId = _ref.userId;
22
+ var _useContext = (0, _react.useContext)(_store.StoreContext),
23
+ interpreterUserList = _useContext.interpreterUserList,
24
+ isInterpreterOpened = _useContext.isInterpreterEnabled,
25
+ interpreterInputLanguageList = _useContext.interpreterInputLanguageList;
26
+ var userInterpreterInputLanguage = (_interpreterInputLang = interpreterInputLanguageList.find(function (inputLanguageByUserId) {
27
+ return inputLanguageByUserId.userId === userId;
28
+ })) === null || _interpreterInputLang === void 0 ? void 0 : _interpreterInputLang.language;
29
+ var t = (0, _i18n.useI18n)();
30
+ var isUserIdInterpreter = (0, _react.useMemo)(function () {
31
+ return interpreterUserList === null || interpreterUserList === void 0 ? void 0 : interpreterUserList.find(function (ele) {
32
+ return ele.userId === userId;
33
+ });
34
+ }, [interpreterUserList]);
35
+ var getLanguageConfig = (0, _useLanguageConfig.useLanguageConfig)();
36
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
37
+ children: isInterpreterOpened && isUserIdInterpreter && userInterpreterInputLanguage && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
38
+ className: "attendee__host-badge attendee__interpreter-tag-bg",
39
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
40
+ className: "attendee__interpreter-tag-user",
41
+ children: t('fmt_ai_transcriptions_setting_label_translator')
42
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
43
+ className: "attendee__interpreter-tag-language",
44
+ children: getLanguageConfig(userInterpreterInputLanguage).abbr
45
+ })]
46
+ })
47
+ });
48
+ });
@@ -0,0 +1,6 @@
1
+ export declare const MicrophoneIndicator: ({ audioDeviceType, hasAudio, isLocal, userId, }: {
2
+ hasAudio: boolean;
3
+ audioDeviceType: "none" | "computer-mic" | "phone-mic";
4
+ isLocal: boolean;
5
+ userId: string;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
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.MicrophoneIndicator = void 0;
8
+ var _mobxReact = require("mobx-react");
9
+ var _react = require("react");
10
+ var _microphoneState = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/microphone-state");
11
+ var _store = require("../../../../../../../../store");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ var MicrophoneIndicator = exports.MicrophoneIndicator = (0, _mobxReact.observer)(function (_ref) {
14
+ var audioDeviceType = _ref.audioDeviceType,
15
+ hasAudio = _ref.hasAudio,
16
+ isLocal = _ref.isLocal,
17
+ userId = _ref.userId;
18
+ var _useContext = (0, _react.useContext)(_store.StoreContext),
19
+ audioVolumeMap = _useContext.audioVolumeMap,
20
+ localMicVolume = _useContext.localMicVolume;
21
+ var volume = isLocal ? localMicVolume : audioVolumeMap.get(userId);
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_microphoneState.MicrophoneState, {
23
+ isMicrophoneMuted: !hasAudio,
24
+ size: 28,
25
+ isPhoneMic: audioDeviceType === 'phone-mic',
26
+ voicePercent: volume || 0
27
+ });
28
+ });
@@ -0,0 +1,7 @@
1
+ export declare const userAvatar: (userType: string) => {
2
+ icon: import("react/jsx-runtime").JSX.Element;
3
+ backgroundColor: string;
4
+ } | {
5
+ icon: null;
6
+ backgroundColor: string;
7
+ };
@@ -0,0 +1,39 @@
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.userAvatar = void 0;
8
+ var _icon = require("agora-ui-foundation/lib/components/icon");
9
+ var _type = require("agora-ui-foundation/lib/components/icon/type");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ var userAvatar = exports.userAvatar = function userAvatar(userType) {
12
+ if (userType === 'meeting-system') {
13
+ return {
14
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
15
+ type: _type.FcrIconType.FCR_SIPDEVICE,
16
+ colors: {
17
+ iconPrimary: 'var(--fcr_ui_scene_white10)',
18
+ iconSecondary: 'var(--fcr_ui_scene_ramp_green6)'
19
+ }
20
+ }),
21
+ backgroundColor: 'var(--fcr_ui_scene_ramp_purple7)'
22
+ };
23
+ }
24
+ if (userType === 'phone') {
25
+ return {
26
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
27
+ type: _type.FcrIconType.FCR_PHONECALL3,
28
+ colors: {
29
+ iconPrimary: 'var(--fcr_ui_scene_white10)'
30
+ }
31
+ }),
32
+ backgroundColor: 'var(--fcr_ui_scene_ramp_green6)'
33
+ };
34
+ }
35
+ return {
36
+ icon: null,
37
+ backgroundColor: ''
38
+ };
39
+ };
@@ -0,0 +1,69 @@
1
+ .attendee__user-info-avatar_speakerSpotlight {
2
+ position: relative;
3
+ }
4
+ .attendee__user-info-avatar_speakerSpotlight::before {
5
+ content: '';
6
+ display: block;
7
+ position: absolute;
8
+ top: -4px;
9
+ left: -4px;
10
+ width: calc(100% + 8px);
11
+ height: calc(100% + 8px);
12
+ border: 2px solid var(--fcr_ui_scene_ramp_green6);
13
+ border-radius: var(--fcr_cornerradius_l);
14
+ }
15
+ .attendee__more-actions {
16
+ max-width: 300px;
17
+ padding: 0;
18
+ }
19
+
20
+ .operate-waiting-room-dialog-content {
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: center;
24
+ justify-content: center;
25
+ background: white;
26
+ padding: 20px;
27
+ border-radius: 20px;
28
+ }
29
+
30
+ .operate-waiting-room-dialog-title {
31
+ font-weight: 600;
32
+ font-size: 16px;
33
+ margin-bottom: 10px;
34
+ }
35
+
36
+ .operate-waiting-room-dialog-tooltip {
37
+ margin-bottom: 10px;
38
+ }
39
+
40
+ .operate-waiting-room-dialog-confirm {
41
+ display: flex;
42
+ }
43
+
44
+ .operate-waiting-room-dialog-btns {
45
+ display: flex;
46
+ justify-content: space-between;
47
+ width: 100%;
48
+ margin-top: 10px;
49
+ }
50
+
51
+ .operate-waiting-room-dialog-btns .fcr-button-normal {
52
+ width: 48%;
53
+ }
54
+
55
+ .operate-waiting-room-dialog-btns .fcr-button-white {
56
+ background-color: var(--fcr_ui_scene_btn2);
57
+ color: var(--fcr_ui_scene_icontext2);
58
+ width: 48%;
59
+ }
60
+
61
+ .operate-waiting-room-dialog-btns .fcr-button-white:hover {
62
+ background-color: var(--fcr_ui_scene_btn2) !important;
63
+ color: var(--fcr_ui_scene_icontext2) !important;
64
+ width: 48%;
65
+ }
66
+
67
+ .operate-waiting-room-dialog-btns .fcr-button-danger {
68
+ width: 48%;
69
+ }
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import './index.css';
3
+ import './index.css';
4
+ import { ParticipantAttendeeProps } from '../../../../../../type';
5
+ export declare const ParticipantAttendee: (props: PropsWithChildren<ParticipantAttendeeProps>) => import("react/jsx-runtime").JSX.Element;