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.
- package/lib/base.js +4 -1
- package/lib/creator.d.ts +4 -1
- package/lib/creator.js +66 -3
- package/lib/electron/app.js +0 -3
- package/lib/electron/bootstrap-dev.js +2 -0
- package/lib/electron/bootstrap-sdk.js +2 -0
- package/lib/electron/main.js +14 -3
- package/lib/electron/plugins/devtool-shortcut.js +5 -0
- package/lib/electron/plugins/screenshot.js +4 -1
- package/lib/modules/action-bar/components/apps/app-item/index.css +3 -3
- package/lib/modules/action-bar/components/apps/app-item/index.js +35 -24
- package/lib/modules/action-bar/components/apps/app-list.d.ts +3 -0
- package/lib/modules/action-bar/components/apps/app-list.js +45 -0
- package/lib/modules/action-bar/components/apps/index.css +1 -0
- package/lib/modules/action-bar/components/apps/index.js +7 -4
- package/lib/modules/action-bar/components/apps/useAppItemOptions.d.ts +10 -2
- package/lib/modules/action-bar/components/apps/useAppItemOptions.js +10 -6
- package/lib/modules/action-bar/components/apps/useBeautyBackground.d.ts +1 -1
- package/lib/modules/action-bar/components/apps/useBeautyBackground.js +2 -2
- package/lib/modules/action-bar/components/apps/useInterpreter.d.ts +1 -1
- package/lib/modules/action-bar/components/apps/useInterpreter.js +6 -6
- package/lib/modules/action-bar/components/apps/useLiveStreaming.d.ts +1 -1
- package/lib/modules/action-bar/components/apps/useLiveStreaming.js +2 -2
- package/lib/modules/action-bar/components/apps/useWidgetList.d.ts +10 -0
- package/lib/modules/action-bar/components/apps/useWidgetList.js +38 -0
- package/lib/modules/action-bar/components/chat/index.css +8 -0
- package/lib/modules/action-bar/components/chat/index.js +2 -1
- package/lib/modules/action-bar/components/collapse/index.d.ts +8 -6
- package/lib/modules/action-bar/components/collapse/index.js +60 -74
- package/lib/modules/action-bar/components/interpreter/index.js +3 -3
- package/lib/modules/action-bar/components/item/index.js +1 -1
- package/lib/modules/action-bar/components/more/index.js +13 -7
- package/lib/modules/action-bar/components/notification-bar/index.d.ts +1 -1
- package/lib/modules/action-bar/components/notification-bar/index.js +13 -6
- package/lib/modules/action-bar/components/participants/index.js +1 -1
- package/lib/modules/action-bar/components/screen-share/index.js +1 -1
- package/lib/modules/action-bar/components/screen-share/submenu.js +55 -18
- package/lib/modules/action-bar/components/security/index.js +8 -2
- package/lib/modules/action-bar/components/trigger-output-language/index.js +68 -55
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +35 -18
- package/lib/modules/action-bar/index.css +8 -0
- package/lib/modules/action-bar/index.d.ts +8 -0
- package/lib/modules/action-bar/index.js +6 -3
- package/lib/modules/action-bar/store.d.ts +37 -22
- package/lib/modules/action-bar/store.js +275 -375
- package/lib/modules/action-bar/types.d.ts +8 -13
- package/lib/modules/action-bar/view.js +3 -8
- package/lib/modules/audio-stream/index.d.ts +6 -1
- package/lib/modules/audio-stream/index.js +77 -11
- package/lib/modules/chat/chat-room-store.d.ts +4 -7
- package/lib/modules/chat/chat-room-store.js +39 -62
- package/lib/modules/chat/components/chat-action/index.js +2 -2
- package/lib/modules/chat/components/chat-bar/index.css +4 -0
- package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
- package/lib/modules/chat/components/chat-bar/index.js +18 -16
- package/lib/modules/chat/components/chat-select/index.js +16 -147
- package/lib/modules/chat/components/chat-select/select-input/index.d.ts +7 -0
- package/lib/modules/chat/components/chat-select/select-input/index.js +35 -0
- package/lib/modules/chat/components/chat-select/select-item/index.d.ts +12 -0
- package/lib/modules/chat/components/chat-select/select-item/index.js +153 -0
- package/lib/modules/chat/components/chat-tabs/index.d.ts +2 -0
- package/lib/modules/chat/components/chat-tabs/index.js +61 -0
- package/lib/modules/chat/components/message-list/chat-empty/index.d.ts +2 -0
- package/lib/modules/chat/components/message-list/chat-empty/index.js +26 -0
- package/lib/modules/chat/components/message-list/history-unread-message-button/index.d.ts +7 -0
- package/lib/modules/chat/components/message-list/history-unread-message-button/index.js +55 -0
- package/lib/modules/chat/components/message-list/index.d.ts +1 -1
- package/lib/modules/chat/components/message-list/index.js +55 -359
- package/lib/modules/chat/components/message-list/message-item/index.d.ts +15 -0
- package/lib/modules/chat/components/message-list/message-item/index.js +309 -0
- package/lib/modules/chat/components/message-list/scroll-bottom-button/index.d.ts +9 -0
- package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +67 -0
- package/lib/modules/chat/index.css +9 -0
- package/lib/modules/chat/index.d.ts +6 -0
- package/lib/modules/chat/index.js +4 -1
- package/lib/modules/chat/store.d.ts +17 -7
- package/lib/modules/chat/store.js +75 -72
- package/lib/modules/chat/types.d.ts +7 -7
- package/lib/modules/chat/types.js +2 -1
- package/lib/modules/chat/view.js +22 -102
- package/lib/modules/components/device-control/store.d.ts +4 -3
- package/lib/modules/components/device-control/store.js +13 -24
- package/lib/modules/components/leave-meeting/components/assign-host.js +17 -2
- package/lib/modules/components/leave-meeting/index.js +8 -7
- package/lib/modules/components/leave-meeting/store.d.ts +15 -7
- package/lib/modules/components/leave-meeting/store.js +116 -95
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +6 -0
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +36 -0
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +40 -0
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +170 -0
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +11 -0
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +105 -0
- package/lib/modules/components/member-window/components/member-actions/components/layout/index.d.ts +9 -0
- package/lib/modules/components/member-window/components/member-actions/components/layout/index.js +42 -0
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +11 -0
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +157 -0
- package/lib/modules/components/member-window/components/member-actions/components/share-status.d.ts +2 -0
- package/lib/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
- package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +16 -0
- package/lib/modules/components/member-window/components/member-actions/components/user-info.js +130 -0
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +12 -0
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +57 -0
- package/lib/modules/components/member-window/components/member-actions/index.d.ts +3 -0
- package/lib/modules/components/member-window/components/member-actions/index.js +122 -0
- package/lib/modules/components/member-window/components/member-actions/libs/index.d.ts +2 -0
- package/lib/modules/components/member-window/components/member-actions/libs/index.js +24 -0
- package/lib/modules/components/member-window/components/member-actions/provider.d.ts +21 -0
- package/lib/modules/components/member-window/components/member-actions/provider.js +77 -0
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +48 -0
- package/lib/modules/components/member-window/components/member-actions/store.js +307 -0
- package/lib/modules/components/member-window/components/member-board.d.ts +2 -0
- package/lib/modules/components/member-window/components/member-board.js +63 -0
- package/lib/modules/components/member-window/components/mic-volume.d.ts +2 -0
- package/lib/modules/components/member-window/components/mic-volume.js +23 -0
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.d.ts +4 -0
- package/lib/modules/components/member-window/components/video-player/components/local-video-player.js +40 -0
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player.d.ts +8 -0
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +62 -0
- package/lib/modules/components/member-window/components/video-player/index.d.ts +9 -0
- package/lib/modules/components/member-window/components/video-player/index.js +38 -0
- package/lib/modules/components/member-window/index.css +22 -2
- package/lib/modules/components/member-window/index.d.ts +10 -75
- package/lib/modules/components/member-window/index.js +20 -738
- package/lib/modules/components/member-window/types.d.ts +79 -0
- package/lib/modules/components/member-window/types.js +6 -0
- package/lib/modules/components/security-menu/index.css +0 -2
- package/lib/modules/components/security-menu/index.d.ts +5 -1
- package/lib/modules/components/security-menu/index.js +37 -59
- package/lib/modules/connection-gateway/index.d.ts +6 -0
- package/lib/modules/connection-gateway/index.js +4 -1
- package/lib/modules/connection-gateway/store.d.ts +12 -3
- package/lib/modules/connection-gateway/store.js +29 -27
- package/lib/modules/control-bar/components/meeting-details/index.js +11 -17
- package/lib/modules/control-bar/components/more-actions/index.js +5 -4
- package/lib/modules/control-bar/components/share-state-nav/index.js +22 -10
- package/lib/modules/control-bar/index.css +1 -2
- package/lib/modules/control-bar/index.d.ts +14 -0
- package/lib/modules/control-bar/index.js +10 -4
- package/lib/modules/control-bar/store.d.ts +40 -20
- package/lib/modules/control-bar/store.js +156 -191
- package/lib/modules/control-bar/view.js +65 -25
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +1 -1
- package/lib/modules/dialog/components/control-bar/index.d.ts +1 -1
- package/lib/modules/dialog/components/control-bar/index.js +43 -43
- package/lib/modules/dialog/components/device-setting/index.js +2 -1
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +3 -2
- package/lib/modules/dialog/components/dialog-container/index.d.ts +2 -0
- package/lib/modules/dialog/components/dialog-container/index.js +19 -13
- package/lib/modules/dialog/components/live-streaming/index.js +4 -2
- package/lib/modules/dialog/components/participant/index.js +2 -2
- package/lib/modules/dialog/components/share-screen-selection/index.js +3 -1
- package/lib/modules/dialog/components/system-preference/assets/bg1.png +0 -0
- package/lib/modules/dialog/components/system-preference/assets/bg2.png +0 -0
- package/lib/modules/dialog/components/system-preference/assets/fcr_png_host.png +0 -0
- package/lib/modules/dialog/components/system-preference/electron.js +6 -6
- package/lib/modules/dialog/components/system-preference/index.css +3 -0
- package/lib/modules/dialog/components/system-preference/index.d.ts +17 -2
- package/lib/modules/dialog/components/system-preference/index.js +47 -55
- package/lib/modules/dialog/components/video-window/index.d.ts +1 -1
- package/lib/modules/dialog/components/video-window/index.js +216 -101
- package/lib/modules/dialog/components/widget/electron.d.ts +5 -0
- package/lib/modules/dialog/components/widget/electron.js +37 -0
- package/lib/modules/dialog/components/widget/index.d.ts +6 -0
- package/lib/modules/dialog/components/widget/index.js +43 -0
- package/lib/modules/dialog/hooks/useElectron.d.ts +7 -0
- package/lib/modules/dialog/hooks/useElectron.js +226 -28
- package/lib/modules/dialog/index.css +1 -11
- package/lib/modules/dialog/index.d.ts +9 -6
- package/lib/modules/dialog/index.js +12 -12
- package/lib/modules/dialog/store.d.ts +26 -10
- package/lib/modules/dialog/store.js +151 -82
- package/lib/modules/dialog/type.d.ts +84 -0
- package/lib/modules/dialog/type.js +6 -0
- package/lib/modules/dialog/view.d.ts +1 -4
- package/lib/modules/dialog/view.js +12 -9
- package/lib/modules/event-confirm/index.css +11 -0
- package/lib/modules/event-confirm/index.d.ts +6 -0
- package/lib/modules/event-confirm/index.js +3 -2
- package/lib/modules/event-confirm/store.d.ts +10 -4
- package/lib/modules/event-confirm/store.js +91 -32
- package/lib/modules/event-confirm/view.js +63 -24
- package/lib/modules/event-toast/store.js +4 -2
- package/lib/modules/interpreter/action/edit-btn/index.js +5 -5
- package/lib/modules/interpreter/action/switch-btn/index.js +7 -7
- package/lib/modules/interpreter/index.d.ts +5 -1
- package/lib/modules/interpreter/index.js +4 -2
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -3
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +6 -5
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +2 -2
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.js +2 -2
- package/lib/modules/interpreter/store.d.ts +8 -5
- package/lib/modules/interpreter/store.js +90 -39
- package/lib/modules/interpreter/type.d.ts +5 -1
- package/lib/modules/interpreter/utils.d.ts +0 -1
- package/lib/modules/interpreter/utils.js +2 -23
- package/lib/modules/interpreter/view.js +2 -6
- package/lib/modules/invite/index.d.ts +4 -0
- package/lib/modules/invite/index.js +3 -1
- package/lib/modules/invite/store.d.ts +11 -2
- package/lib/modules/invite/store.js +27 -4
- package/lib/modules/layout/components/Aside.js +1 -1
- package/lib/modules/layout/components/Carousel.js +36 -14
- package/lib/modules/layout/components/Gallery.js +33 -11
- package/lib/modules/layout/index.css +2 -2
- package/lib/modules/layout/index.d.ts +6 -0
- package/lib/modules/layout/index.js +4 -1
- package/lib/modules/layout/store.d.ts +23 -10
- package/lib/modules/layout/store.js +185 -163
- package/lib/modules/layout/type.d.ts +2 -0
- package/lib/modules/live-streaming/index.d.ts +2 -0
- package/lib/modules/live-streaming/index.js +2 -2
- package/lib/modules/live-streaming/store.d.ts +4 -8
- package/lib/modules/live-streaming/store.js +9 -19
- package/lib/modules/notification/index.css +17 -0
- package/lib/modules/notification/store.js +4 -2
- package/lib/modules/notification/view.js +7 -2
- package/lib/modules/offscreen-pulling/index.d.ts +1 -0
- package/lib/modules/offscreen-pulling/index.js +4 -0
- package/lib/modules/participant/components/confirm-input/index.d.ts +6 -0
- package/lib/modules/participant/components/confirm-input/index.js +50 -0
- package/lib/modules/participant/components/mute-all/index.d.ts +3 -7
- package/lib/modules/participant/components/mute-all/index.js +21 -33
- package/lib/modules/participant/components/participants/components/footer/components/buttons.d.ts +6 -0
- package/lib/modules/participant/components/participants/components/footer/components/buttons.js +52 -0
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +60 -0
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.d.ts +2 -0
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +166 -0
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +28 -0
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +13 -0
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +242 -0
- package/lib/modules/participant/components/participants/components/footer/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/footer/index.js +48 -0
- package/lib/modules/participant/components/participants/components/merge/index.d.ts +11 -0
- package/lib/modules/participant/components/participants/components/merge/index.js +49 -0
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +191 -0
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.d.ts +4 -0
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +204 -0
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +49 -0
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +219 -0
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/participants/components/user-row/index.js +70 -0
- package/lib/modules/participant/components/participants/components/participants/index.css +104 -0
- package/lib/modules/participant/components/participants/components/participants/index.d.ts +3 -0
- package/lib/modules/participant/components/participants/components/participants/index.js +110 -0
- package/lib/modules/participant/components/participants/components/render-tab/index.d.ts +2 -0
- package/lib/modules/participant/components/participants/components/render-tab/index.js +49 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.d.ts +3 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +48 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.d.ts +6 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +28 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.d.ts +7 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +39 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +69 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +135 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.d.ts +7 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +31 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.d.ts +12 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +82 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.d.ts +4 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +26 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.d.ts +2 -0
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +75 -0
- package/lib/modules/participant/components/participants/components/render-user/index.d.ts +5 -0
- package/lib/modules/participant/components/participants/components/render-user/index.js +21 -0
- package/lib/modules/participant/components/participants/index.js +18 -112
- package/lib/modules/participant/components/participants/types.d.ts +96 -0
- package/lib/modules/participant/components/participants/types.js +37 -0
- package/lib/modules/participant/index.css +3 -0
- package/lib/modules/participant/index.d.ts +12 -0
- package/lib/modules/participant/index.js +7 -1
- package/lib/modules/participant/member-list-data-source.d.ts +2 -2
- package/lib/modules/participant/member-list-data-source.js +11 -17
- package/lib/modules/participant/store.d.ts +44 -37
- package/lib/modules/participant/store.js +527 -536
- package/lib/modules/participant/type.d.ts +2 -9
- package/lib/modules/pc-audio-connect/store.d.ts +1 -1
- package/lib/modules/pc-audio-connect/store.js +9 -6
- package/lib/modules/setting/audio-settings/audio-settings.js +5 -4
- package/lib/modules/setting/audio-settings/index.css +11 -2
- package/lib/modules/setting/config.js +1 -1
- package/lib/modules/setting/store.d.ts +1 -0
- package/lib/modules/setting/store.js +20 -2
- package/lib/modules/setting/video-settings/index.css +12 -17
- package/lib/modules/setting/video-settings/video-settings-basic.js +40 -44
- package/lib/modules/share-screen/components/selection/index.js +70 -80
- package/lib/modules/share-screen/index.d.ts +6 -1
- package/lib/modules/share-screen/index.js +4 -1
- package/lib/modules/share-screen/store.d.ts +37 -33
- package/lib/modules/share-screen/store.js +330 -438
- package/lib/modules/sound-effect/sound-effect-player.d.ts +0 -4
- package/lib/modules/sound-effect/sound-effect-player.js +4 -4
- package/lib/modules/state-bar/index.css +2 -15
- package/lib/modules/state-bar/index.d.ts +10 -0
- package/lib/modules/state-bar/index.js +6 -1
- package/lib/modules/state-bar/live-streaming-state.js +0 -17
- package/lib/modules/state-bar/meeting-details.js +12 -24
- package/lib/modules/state-bar/meeting-time.js +5 -10
- package/lib/modules/state-bar/store.d.ts +31 -8
- package/lib/modules/state-bar/store.js +146 -100
- package/lib/modules/state-bar/view.js +63 -32
- package/lib/modules/video-window/components/deviceState/index.d.ts +7 -0
- package/lib/modules/video-window/components/deviceState/index.js +75 -0
- package/lib/modules/video-window/components/members/index.css +51 -0
- package/lib/modules/video-window/components/members/index.d.ts +2 -0
- package/lib/modules/video-window/components/members/index.js +131 -0
- package/lib/modules/video-window/components/speaking/index.css +86 -0
- package/lib/modules/video-window/components/speaking/index.d.ts +3 -0
- package/lib/modules/video-window/components/speaking/index.js +48 -0
- package/lib/modules/video-window/components/topControl/index.css +35 -0
- package/lib/modules/video-window/components/topControl/index.d.ts +3 -0
- package/lib/modules/video-window/components/topControl/index.js +79 -0
- package/lib/modules/video-window/index.d.ts +7 -0
- package/lib/modules/video-window/index.js +14 -20
- package/lib/modules/video-window/store.d.ts +19 -88
- package/lib/modules/video-window/store.js +98 -365
- package/lib/modules/video-window/type.d.ts +40 -4
- package/lib/modules/video-window/type.js +4 -4
- package/lib/modules/video-window/view.js +11 -23
- package/lib/modules/whiteboard/index.d.ts +1 -0
- package/lib/modules/whiteboard/index.js +7 -4
- package/lib/modules/widget/index.css +17 -0
- package/lib/modules/widget/index.d.ts +10 -0
- package/lib/modules/widget/index.js +114 -0
- package/lib/modules/widget/sdk.d.ts +30 -0
- package/lib/modules/widget/sdk.js +224 -0
- package/lib/modules/widget/store.d.ts +14 -0
- package/lib/modules/widget/store.js +28 -0
- package/lib/modules/widget/type.d.ts +156 -0
- package/lib/modules/widget/type.js +6 -0
- package/lib/modules/widget/view.d.ts +2 -0
- package/lib/modules/widget/view.js +47 -0
- package/lib/modules/widget/web-widget.d.ts +29 -0
- package/lib/modules/widget/web-widget.js +234 -0
- package/lib/providers/ability-provider.d.ts +24 -0
- package/lib/providers/ability-provider.js +38 -0
- package/lib/providers/chat-provider.d.ts +16 -9
- package/lib/providers/chat-provider.js +76 -8
- package/lib/providers/device-privilege-provider.d.ts +5 -1
- package/lib/providers/device-privilege-provider.js +21 -1
- package/lib/providers/device-provider.js +5 -2
- package/lib/providers/device-stream-provider.d.ts +15 -3
- package/lib/providers/device-stream-provider.js +118 -34
- package/lib/providers/dialog-provider.d.ts +9 -8
- package/lib/providers/dialog-provider.js +8 -4
- package/lib/providers/event-provider.js +4 -2
- package/lib/providers/interpreter-provider.d.ts +7 -26
- package/lib/providers/interpreter-provider.js +473 -706
- package/lib/providers/local-storage-provider.d.ts +6 -1
- package/lib/providers/local-storage-provider.js +15 -2
- package/lib/providers/message-provider.js +4 -2
- package/lib/providers/phone-audio-provider.js +24 -18
- package/lib/providers/privilege-provider.d.ts +13 -12
- package/lib/providers/privilege-provider.js +19 -11
- package/lib/providers/renderer-provider.d.ts +5 -0
- package/lib/providers/renderer-provider.js +8 -1
- package/lib/providers/room-provider.d.ts +7 -17
- package/lib/providers/room-provider.js +113 -161
- package/lib/providers/screen-share-provider.d.ts +19 -0
- package/lib/providers/screen-share-provider.js +102 -10
- package/lib/providers/widget-provider.d.ts +52 -0
- package/lib/providers/widget-provider.js +171 -0
- package/lib/scenes/main-scene.d.ts +11 -0
- package/lib/scenes/main-scene.js +60 -33
- package/lib/scenes/waiting-scene.d.ts +9 -0
- package/lib/scenes/waiting-scene.js +27 -26
- package/lib/schema.d.ts +114 -0
- package/lib/schema.js +77 -0
- package/lib/shared-data-source/chat-data.d.ts +11 -0
- package/lib/shared-data-source/chat-data.js +17 -6
- package/lib/shared-data-source/interpreter.d.ts +34 -21
- package/lib/shared-data-source/interpreter.js +104 -103
- package/lib/shared-data-source/meeting-time.d.ts +68 -0
- package/lib/shared-data-source/meeting-time.js +299 -0
- package/lib/shared-data-source/member-data.d.ts +126 -0
- package/lib/shared-data-source/member-data.js +451 -0
- package/lib/shared-data-source/pin-data.d.ts +8 -4
- package/lib/shared-data-source/pin-data.js +92 -4
- package/lib/shared-data-source/security-data.d.ts +35 -0
- package/lib/shared-data-source/security-data.js +156 -0
- package/lib/shared-data-source/setting.d.ts +3 -1
- package/lib/shared-data-source/setting.js +12 -1
- package/lib/shared-data-source/video-window.d.ts +7 -8
- package/lib/shared-data-source/video-window.js +97 -94
- package/lib/shared-data-source/waiting-room.d.ts +29 -2
- package/lib/shared-data-source/waiting-room.js +103 -39
- package/lib/translations/enUS.d.ts +25 -12
- package/lib/translations/enUS.js +47 -68
- package/lib/translations/zhCN.d.ts +26 -12
- package/lib/translations/zhCN.js +63 -83
- package/lib/type.d.ts +64 -48
- package/lib/type.js +14 -1
- package/lib/ui-manager.d.ts +3 -2
- package/lib/ui-manager.js +8 -7
- package/lib/ui-scene.d.ts +7 -1
- package/lib/ui-scene.js +187 -97
- package/lib/utilities/constant.d.ts +7 -3
- package/lib/utilities/constant.js +4 -0
- package/lib/utilities/default-config.d.ts +5 -1
- package/lib/utilities/default-config.js +28 -2
- package/lib/utilities/logger.d.ts +8 -0
- package/lib/utilities/logger.js +42 -0
- package/lib/utilities/meeting-detail.js +11 -10
- package/lib/utilities/parameters.d.ts +4 -0
- package/lib/utilities/parameters.js +13 -1
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +4 -1
- package/lib/utilities/tools.d.ts +7 -6
- package/lib/utilities/tools.js +2 -6
- package/lib/utilities/validate-params.d.ts +2 -0
- package/lib/utilities/validate-params.js +16 -0
- package/lib/waiting-room-control-manager.d.ts +28 -0
- package/lib/waiting-room-control-manager.js +212 -0
- package/lib/widget-sdk.d.ts +2 -0
- package/lib/widget-sdk.js +13 -0
- package/package.json +7 -6
- package/public/index.html +12 -6
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
2
2
|
import { User } from 'agora-ui-foundation/lib/components/participants/attendee';
|
|
3
|
-
import { FcrInterpreterUserInfo, FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
4
|
-
import { FcrRoomType } from 'fcr-core/lib/room-control/type';
|
|
5
3
|
import { FcrStreamInfo, FcrUserInfo } from 'fcr-core/lib/type';
|
|
4
|
+
import { FcrUIMemberDataImpl } from './member-list-data-source';
|
|
6
5
|
export declare enum FcrUIMemberSortingPriority {
|
|
7
6
|
MYSELF = 100,
|
|
8
7
|
HOST = 99,
|
|
@@ -15,6 +14,7 @@ export declare enum FcrUIMemberSortingPriority {
|
|
|
15
14
|
export interface FcrUIMemberListDataSource {
|
|
16
15
|
list: FcrUIMemberData[];
|
|
17
16
|
resetList: (users: FcrUserInfo[], streams: Record<string, FcrStreamInfo[]>) => boolean;
|
|
17
|
+
init: (memberDatas: FcrUIMemberDataImpl[]) => boolean;
|
|
18
18
|
add: (user: FcrUserInfo, streams: FcrStreamInfo[], isMySelf: boolean) => boolean;
|
|
19
19
|
updateWithStreamAdd: (stream: FcrStreamInfo) => boolean;
|
|
20
20
|
updateWithStreamRemove: (stream: FcrStreamInfo) => boolean;
|
|
@@ -39,13 +39,6 @@ export interface FcrUIRequestOpenDevicePayload {
|
|
|
39
39
|
}
|
|
40
40
|
export interface ParticipantAttendeeProps {
|
|
41
41
|
user: User;
|
|
42
|
-
enableSpotlight: boolean;
|
|
43
|
-
isBoardActive?: boolean;
|
|
44
|
-
activeTab: FcrRoomType;
|
|
45
|
-
interpreterUsers?: FcrInterpreterUserInfo[] | null;
|
|
46
|
-
interpreterState: boolean;
|
|
47
|
-
interpreterInputLanguage: FcrLanguage | undefined;
|
|
48
|
-
type: 'modal' | 'window';
|
|
49
42
|
}
|
|
50
43
|
export type OperateWaitingRoomMemberDialogProps = {
|
|
51
44
|
type: 'remove' | 'removeAll' | 'admitAll';
|
|
@@ -16,7 +16,7 @@ export default class ConnectionGatewayStore {
|
|
|
16
16
|
private _devicePrivilegeProvider?;
|
|
17
17
|
private _sharedDevicePrivilegeDataSource?;
|
|
18
18
|
private _dialogProvider;
|
|
19
|
-
private
|
|
19
|
+
private _needShowConfirmDialog;
|
|
20
20
|
accessor phoneCallState: FcrRoomConnectorSessionState;
|
|
21
21
|
accessor phoneCallReason: FcrRoomConnectorSessionReason;
|
|
22
22
|
accessor connectSession: FcrPhoneConnectorSession | null;
|
|
@@ -91,7 +91,7 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
91
91
|
(0, _classCallCheck2["default"])(this, ConnectionGatewayStore);
|
|
92
92
|
(0, _defineProperty2["default"])(this, "_disposers", (_initProto(this), []));
|
|
93
93
|
(0, _defineProperty2["default"])(this, "_failureTimer", null);
|
|
94
|
-
(0, _defineProperty2["default"])(this, "
|
|
94
|
+
(0, _defineProperty2["default"])(this, "_needShowConfirmDialog", true);
|
|
95
95
|
_classPrivateFieldInitSpec(this, _A, _init_phoneCallState(this, _type.FcrRoomConnectorSessionState.CALLING));
|
|
96
96
|
_classPrivateFieldInitSpec(this, _B, _init_phoneCallReason(this, _type.FcrRoomConnectorSessionReason.NONE));
|
|
97
97
|
_classPrivateFieldInitSpec(this, _C, _init_connectSession(this, null));
|
|
@@ -104,6 +104,7 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
104
104
|
this._sharedDevicePrivilegeDataSource = sharedDevicePrivilegeDataSource;
|
|
105
105
|
this._deviceObserver = {
|
|
106
106
|
onAudioConnected: function onAudioConnected() {
|
|
107
|
+
_this._needShowConfirmDialog = false;
|
|
107
108
|
_this.closeConnectionDialog();
|
|
108
109
|
}
|
|
109
110
|
};
|
|
@@ -200,7 +201,11 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
200
201
|
value: function _handleInterceptorCloseDialog(dialogKey) {
|
|
201
202
|
var _this2 = this;
|
|
202
203
|
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
203
|
-
if (
|
|
204
|
+
if (!this._needShowConfirmDialog) {
|
|
205
|
+
return false;
|
|
206
|
+
}
|
|
207
|
+
this._needShowConfirmDialog = false;
|
|
208
|
+
if (this.hasOwnPstnStream) {
|
|
204
209
|
return false;
|
|
205
210
|
}
|
|
206
211
|
var _dialogKey = this._eventProvider.openConfirmDialog({
|
|
@@ -211,16 +216,15 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
211
216
|
alignCenter: true,
|
|
212
217
|
showCancel: true,
|
|
213
218
|
width: 255,
|
|
214
|
-
height: 255,
|
|
215
219
|
cancelButtonProps: {
|
|
216
220
|
block: true,
|
|
217
221
|
type: 'secondary',
|
|
218
|
-
shape: '
|
|
222
|
+
shape: 'rounded'
|
|
219
223
|
},
|
|
220
224
|
okButtonProps: {
|
|
221
225
|
block: true,
|
|
222
226
|
type: 'primary',
|
|
223
|
-
shape: '
|
|
227
|
+
shape: 'rounded'
|
|
224
228
|
},
|
|
225
229
|
closable: false,
|
|
226
230
|
onCancel: function onCancel() {
|
|
@@ -249,7 +253,6 @@ var ConnectionGatewayStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
249
253
|
return onOk;
|
|
250
254
|
}()
|
|
251
255
|
});
|
|
252
|
-
this._isFirstConnecting = false;
|
|
253
256
|
return true;
|
|
254
257
|
}
|
|
255
258
|
return false;
|
|
@@ -89,7 +89,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
89
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
90
90
|
className: ns.b(),
|
|
91
91
|
ref: containerRef,
|
|
92
|
-
children: [
|
|
92
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
93
93
|
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-speaker')),
|
|
94
94
|
id: _constant.FcrUIHighlightElement.AUDIO_SPEAKER,
|
|
95
95
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -114,7 +114,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
114
114
|
value: speakerTestVolumeLevel / 100,
|
|
115
115
|
barCount: 13
|
|
116
116
|
})]
|
|
117
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
117
|
+
}), (0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
118
118
|
className: ns.e('form-item'),
|
|
119
119
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
120
120
|
className: ns.e('form-label'),
|
|
@@ -128,7 +128,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
128
128
|
draggableDom: containerDom
|
|
129
129
|
})]
|
|
130
130
|
})]
|
|
131
|
-
})
|
|
131
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
132
132
|
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-microphones')),
|
|
133
133
|
id: _constant.FcrUIHighlightElement.AUDIO_MICROPHONE,
|
|
134
134
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -151,7 +151,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
151
151
|
className: ns.e('form-label'),
|
|
152
152
|
children: t('fmt_internalsetting_label_inputlevel')
|
|
153
153
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_volumeIndicator.FcrVolumeIndicator, {
|
|
154
|
-
value: microphoneTestVolumeLevel / 100,
|
|
154
|
+
value: microphoneDetecting ? microphoneTestVolumeLevel / 100 : 0,
|
|
155
155
|
barCount: 13
|
|
156
156
|
})]
|
|
157
157
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -219,6 +219,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
219
219
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
220
220
|
className: ns.e('switch-wrapper'),
|
|
221
221
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
222
|
+
className: ns.e('switch-wrapper-orinalvoise-tip'),
|
|
222
223
|
children: t('fmt_setting_option_orinalvoise')
|
|
223
224
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
224
225
|
className: ns.e('switch-wrapper-switch'),
|
|
@@ -33,10 +33,15 @@
|
|
|
33
33
|
align-items: center;
|
|
34
34
|
justify-content: space-between;
|
|
35
35
|
}
|
|
36
|
+
|
|
36
37
|
.fcr-device-settings-audio__switch-wrapper-switch {
|
|
37
38
|
flex-shrink: 0;
|
|
38
39
|
}
|
|
39
40
|
|
|
41
|
+
.fcr-device-settings-audio__switch-wrapper-orinalvoise-tip {
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
}
|
|
44
|
+
|
|
40
45
|
.fcr-device-settings-audio__switch-title {
|
|
41
46
|
padding: 0 10px 0 12px;
|
|
42
47
|
font-size: 12px;
|
|
@@ -68,8 +73,12 @@
|
|
|
68
73
|
|
|
69
74
|
.fcr-device-settings-audio__section .fcr-radio {
|
|
70
75
|
min-width: 100px;
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
padding: 6px 10px;
|
|
77
|
+
align-items: start;
|
|
78
|
+
}
|
|
79
|
+
.fcr-device-settings-audio__section .fcr-radio .fcr-radio-label {
|
|
80
|
+
padding-left: 6px;
|
|
81
|
+
line-height: 20px;
|
|
73
82
|
}
|
|
74
83
|
.fcr-device-settings-audio__section-title + .fcr-radio {
|
|
75
84
|
margin-top: 4px;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.hdCameraVideoEncoderConfig = exports.defaultCameraVideoEncoderConfig = void 0;
|
|
8
8
|
var _defaultConfig = require("../../utilities/default-config");
|
|
9
|
-
var defaultCameraVideoEncoderConfig = exports.defaultCameraVideoEncoderConfig = _defaultConfig.
|
|
9
|
+
var defaultCameraVideoEncoderConfig = exports.defaultCameraVideoEncoderConfig = _defaultConfig.cameraVideoHighStreamEncoderConfig;
|
|
10
10
|
var hdCameraVideoEncoderConfig = exports.hdCameraVideoEncoderConfig = {
|
|
11
11
|
dimensions: {
|
|
12
12
|
width: 1920,
|
|
@@ -60,6 +60,7 @@ export { DEFAULT_BEAUTY_VALUE };
|
|
|
60
60
|
export type BeautyKey = 'none' | 'smoothnessLevel' | 'lighteningLevel' | 'lighteningLevel';
|
|
61
61
|
export default class SettingStore {
|
|
62
62
|
protected logger: import("agora-foundation/lib/logger").Logger;
|
|
63
|
+
private _enableRemoteVideoStatsDebugLog;
|
|
63
64
|
private _disposers;
|
|
64
65
|
private _currentDialogId;
|
|
65
66
|
private _monitorControl;
|
|
@@ -50,7 +50,9 @@ require("core-js/modules/es.array.iterator.js");
|
|
|
50
50
|
require("core-js/modules/es.array.map.js");
|
|
51
51
|
require("core-js/modules/es.array.push.js");
|
|
52
52
|
require("core-js/modules/es.array.reduce.js");
|
|
53
|
+
require("core-js/modules/es.date.to-json.js");
|
|
53
54
|
require("core-js/modules/es.function.bind.js");
|
|
55
|
+
require("core-js/modules/es.json.stringify.js");
|
|
54
56
|
require("core-js/modules/es.map.js");
|
|
55
57
|
require("core-js/modules/es.math.log10.js");
|
|
56
58
|
require("core-js/modules/es.number.constructor.js");
|
|
@@ -92,7 +94,6 @@ require("core-js/modules/web.dom-collections.for-each.js");
|
|
|
92
94
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
93
95
|
require("core-js/modules/web.timers.js");
|
|
94
96
|
var _fcrCore = require("fcr-core");
|
|
95
|
-
var _logger = require("agora-foundation/lib/logger");
|
|
96
97
|
var _mobx = require("mobx");
|
|
97
98
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
98
99
|
var _constant = require("../../utilities/constant");
|
|
@@ -102,6 +103,7 @@ var _config = require("./config");
|
|
|
102
103
|
var _parameters = require("../../utilities/parameters");
|
|
103
104
|
var _react = require("react");
|
|
104
105
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
106
|
+
var _logger = require("../../utilities/logger");
|
|
105
107
|
var _excluded = ["dialogId"];
|
|
106
108
|
var _SettingStore;
|
|
107
109
|
var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _calculateSystemInfoDecs, _getSystemInformationDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _ref;
|
|
@@ -166,7 +168,10 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
166
168
|
sharedSettingDataSource = _ref2.sharedSettingDataSource,
|
|
167
169
|
settingConfig = _ref2.settingConfig;
|
|
168
170
|
(0, _classCallCheck2["default"])(this, SettingStore);
|
|
169
|
-
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.
|
|
171
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
172
|
+
prefix: 'SettingStore'
|
|
173
|
+
})));
|
|
174
|
+
(0, _defineProperty2["default"])(this, "_enableRemoteVideoStatsDebugLog", false);
|
|
170
175
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
171
176
|
(0, _defineProperty2["default"])(this, "_currentDialogId", '');
|
|
172
177
|
(0, _defineProperty2["default"])(this, "_settingVideoOpened", false);
|
|
@@ -272,6 +277,13 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
272
277
|
if (this.dialogConfig.activeTab === DeviceSettingTab.STATE) {
|
|
273
278
|
this._setupAudioVolumeAnalyzerTask();
|
|
274
279
|
}
|
|
280
|
+
var streamInfoList = new Map();
|
|
281
|
+
this._streamControl.getStreamList().forEach(function (streamInfo) {
|
|
282
|
+
streamInfoList.set(streamInfo.streamId, streamInfo);
|
|
283
|
+
});
|
|
284
|
+
this._streamInfoList = streamInfoList;
|
|
285
|
+
// @ts-ignore
|
|
286
|
+
window._settingStore = this;
|
|
275
287
|
}
|
|
276
288
|
return (0, _createClass2["default"])(SettingStore, [{
|
|
277
289
|
key: "loudestStreamVolumeLevel",
|
|
@@ -1040,6 +1052,12 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1040
1052
|
key: "_onRemoteVideoStatsUpdated",
|
|
1041
1053
|
value: function _onRemoteVideoStatsUpdated(roomId, streamId, stats) {
|
|
1042
1054
|
var streamInfo = this._streamInfoList.get(streamId);
|
|
1055
|
+
if (this._enableRemoteVideoStatsDebugLog) {
|
|
1056
|
+
this.logger.debug('_onRemoteVideoStatsUpdated', JSON.stringify({
|
|
1057
|
+
streamId: streamId,
|
|
1058
|
+
stats: stats
|
|
1059
|
+
}));
|
|
1060
|
+
}
|
|
1043
1061
|
// console.log('onRemoteVideoStatsUpdated', streamId, stats, streamInfo);
|
|
1044
1062
|
if ((streamInfo === null || streamInfo === void 0 ? void 0 : streamInfo.videoSourceState) === _fcrCore.FcrMediaSourceState.OPEN) {
|
|
1045
1063
|
this.remoteVideoStreamMap.set(streamId, _objectSpread(_objectSpread({}, stats), {}, {
|
|
@@ -70,14 +70,6 @@
|
|
|
70
70
|
background: var(--fcr_ui_scene_click);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.fcr-device-settings-video__tab-wrapper {
|
|
74
|
-
margin-top: 20px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.fcr-device-settings-video__tab-wrapper .fcr-fashion-tabs {
|
|
78
|
-
width: 100%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
73
|
.fcr-video-settings-basic__basic-form {
|
|
82
74
|
margin-top: 10px;
|
|
83
75
|
margin-bottom: 10px;
|
|
@@ -92,7 +84,7 @@
|
|
|
92
84
|
}
|
|
93
85
|
|
|
94
86
|
.fcr-video-settings-basic__basic-form .fcr-checkbox {
|
|
95
|
-
height: 32px;
|
|
87
|
+
min-height: 32px;
|
|
96
88
|
}
|
|
97
89
|
|
|
98
90
|
.fcr-video-settings-basic__basic-form.fcr-video-settings-basic__max-person-form {
|
|
@@ -100,9 +92,7 @@
|
|
|
100
92
|
}
|
|
101
93
|
|
|
102
94
|
.fcr-video-settings-basic__max-person-label {
|
|
103
|
-
height: 32px;
|
|
104
|
-
font-size: 12px;
|
|
105
|
-
line-height: 32px;
|
|
95
|
+
min-height: 32px;
|
|
106
96
|
font-weight: 300;
|
|
107
97
|
color: var(--fcr_ui_scene_icontext1);
|
|
108
98
|
}
|
|
@@ -152,6 +142,11 @@
|
|
|
152
142
|
max-height: 296px;
|
|
153
143
|
min-height: 279px;
|
|
154
144
|
position: relative;
|
|
145
|
+
margin-top: 20px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.fcr-device-settings-video__tab-wrapper .fcr-fashion-tabs {
|
|
149
|
+
width: 100%;
|
|
155
150
|
}
|
|
156
151
|
|
|
157
152
|
.fcr-device-settings-video__active-tab-wrapper {
|
|
@@ -170,13 +165,14 @@
|
|
|
170
165
|
.fcr-device-settings-video__tips {
|
|
171
166
|
background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
172
167
|
border-radius: var(--fcr_cornerradius_s);
|
|
173
|
-
line-height:
|
|
168
|
+
line-height: 17px;
|
|
174
169
|
display: flex;
|
|
175
170
|
align-items: center;
|
|
176
171
|
justify-content: center;
|
|
177
|
-
margin:
|
|
172
|
+
margin: 10px 0px;
|
|
178
173
|
color: var(--fcr_ui_scene_icontext7);
|
|
179
|
-
padding:
|
|
174
|
+
padding: 8px;
|
|
175
|
+
font-size: 12px;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
178
|
.fcr-virtual-background-setting__virtual-list {
|
|
@@ -199,6 +195,7 @@
|
|
|
199
195
|
|
|
200
196
|
.fcr-virtual-background-setting__virtual-none {
|
|
201
197
|
color: var(--fcr_web_ui_scene_mainicon1);
|
|
198
|
+
font-size: 12px;
|
|
202
199
|
}
|
|
203
200
|
.fcr-virtual-background-setting__virtual-item.is-active {
|
|
204
201
|
border: 2px solid var(--fcr_ui_scene_ramp_brand6);
|
|
@@ -343,8 +340,6 @@
|
|
|
343
340
|
|
|
344
341
|
.fcr-video-settings-basic__checkbox-item {
|
|
345
342
|
gap: 8px;
|
|
346
|
-
font-size: 12px;
|
|
347
|
-
line-height: 32px;
|
|
348
343
|
color: var(--fcr_ui_scene_icontext1);
|
|
349
344
|
display: flex;
|
|
350
345
|
align-items: center;
|
|
@@ -106,52 +106,48 @@ var VideoSettingsBasic = exports.VideoSettingsBasic = (0, _mobxReact.observer)(f
|
|
|
106
106
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
107
107
|
className: ns.e('device-select-title'),
|
|
108
108
|
children: t('fmt_internalsetting_labels_advancedsetting')
|
|
109
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
size: 14
|
|
121
|
-
})
|
|
109
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
110
|
+
size: "small",
|
|
111
|
+
label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
112
|
+
className: ns.e('checkbox-item'),
|
|
113
|
+
children: [t('fmt_internalsetting_options_videonoisereduction'), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
114
|
+
mouseEnterDelay: 0,
|
|
115
|
+
content: t('fmt_internalsetting_tips_optimizevideo'),
|
|
116
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
117
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
118
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
119
|
+
size: 14
|
|
122
120
|
})
|
|
123
|
-
})
|
|
124
|
-
})
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
size: 14
|
|
144
|
-
})
|
|
121
|
+
})
|
|
122
|
+
})]
|
|
123
|
+
}),
|
|
124
|
+
checked: setting.videoNoise,
|
|
125
|
+
onChange: function onChange(v) {
|
|
126
|
+
return setSetting({
|
|
127
|
+
videoNoise: v
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
131
|
+
size: "small",
|
|
132
|
+
label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
133
|
+
className: ns.e('checkbox-item'),
|
|
134
|
+
children: [t('fmt_internalsetting_options_hardwareacceleration'), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
135
|
+
mouseEnterDelay: 0,
|
|
136
|
+
content: t('fmt_internalsetting_tips_reducevideo'),
|
|
137
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
138
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
139
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
140
|
+
size: 14
|
|
145
141
|
})
|
|
146
|
-
})
|
|
147
|
-
})
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
}
|
|
142
|
+
})
|
|
143
|
+
})]
|
|
144
|
+
}),
|
|
145
|
+
checked: setting.hardwareForReception,
|
|
146
|
+
onChange: function onChange(v) {
|
|
147
|
+
return setSetting({
|
|
148
|
+
hardwareForReception: v
|
|
149
|
+
});
|
|
150
|
+
}
|
|
155
151
|
})]
|
|
156
152
|
})]
|
|
157
153
|
});
|
|
@@ -70,7 +70,6 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
|
70
70
|
require("./index.css");
|
|
71
71
|
var _store = require("../../store");
|
|
72
72
|
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
73
|
-
var _tabFrame = _interopRequireDefault(require("../../../components/tab-frame"));
|
|
74
73
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
75
74
|
var ShareSelectionWindowType = /*#__PURE__*/function (ShareSelectionWindowType) {
|
|
76
75
|
ShareSelectionWindowType["BASIC"] = "basic";
|
|
@@ -103,6 +102,7 @@ var ShareSelection = exports.ShareSelection = (0, _mobxReact.observer)(function
|
|
|
103
102
|
var t = (0, _i18n.useI18n)();
|
|
104
103
|
(0, _react.useEffect)(function () {
|
|
105
104
|
setLoading(false);
|
|
105
|
+
setShareWithAudioState(false);
|
|
106
106
|
return function () {
|
|
107
107
|
setLoading(false);
|
|
108
108
|
};
|
|
@@ -139,88 +139,78 @@ var ShareSelection = exports.ShareSelection = (0, _mobxReact.observer)(function
|
|
|
139
139
|
var transI18n = (0, _i18n.useI18n)();
|
|
140
140
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
141
141
|
className: "share-selection-window",
|
|
142
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
type: screen.image,
|
|
183
|
-
size: 48,
|
|
184
|
-
colors: {
|
|
185
|
-
iconPrimary: '#4262FF'
|
|
186
|
-
}
|
|
187
|
-
})
|
|
188
|
-
}, "screen-".concat(screen.id));
|
|
142
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
143
|
+
className: "share-selection-window__share-content frc-flex",
|
|
144
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
145
|
+
className: "share-selection-window__share-windows share-selection-window__share-card",
|
|
146
|
+
children: screenCaptureSources.map(function (screen) {
|
|
147
|
+
var type = _type.AgoraRtcScreenCaptureType.SCREEN;
|
|
148
|
+
var isWhiteboard = screen.id.split('-')[0] === 'whiteboard';
|
|
149
|
+
var screenWithBounds = screen;
|
|
150
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
|
|
151
|
+
disabled: isWhiteboard && !!(boardOwnerUser !== null && boardOwnerUser !== void 0 && boardOwnerUser.userId),
|
|
152
|
+
title: isWhiteboard ? t('fmt_share_options_whiteboard') : screen.title,
|
|
153
|
+
active: currentSelectionType === type && screen.id === currentSelection || screen.id === currentSelection,
|
|
154
|
+
onCardClick: function onCardClick() {
|
|
155
|
+
handleChooseScreen(screen.id, type, screenWithBounds.bounds);
|
|
156
|
+
},
|
|
157
|
+
onDoubleClickCard: function onDoubleClickCard() {
|
|
158
|
+
if (boardOwnerUser) return;
|
|
159
|
+
handleStartShare(screen.id, type, shareWithAudio, _shareAudio.AudioProcessingChannel.MONO, screenWithBounds.bounds);
|
|
160
|
+
},
|
|
161
|
+
content: screen.image instanceof Uint8Array ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ThumbnailRender, {
|
|
162
|
+
image: screen.image,
|
|
163
|
+
width: screen.imageWidth,
|
|
164
|
+
height: screen.imageHeight,
|
|
165
|
+
title: screen.title
|
|
166
|
+
}) : [_type2.FcrUserRole.HOST, _type2.FcrUserRole.COHOST].includes(localUserRole) && isWhiteboard && (boardOwnerUser === null || boardOwnerUser === void 0 ? void 0 : boardOwnerUser.userId) !== (localUser === null || localUser === void 0 ? void 0 : localUser.userId) && boardOwnerUser ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
167
|
+
trigger: "hover",
|
|
168
|
+
content: transI18n('fmt_screenshare_tips_alreadyopened'),
|
|
169
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
170
|
+
styleType: "danger",
|
|
171
|
+
size: "XXS",
|
|
172
|
+
shape: "rounded",
|
|
173
|
+
onClick: handlerBoardShareStop,
|
|
174
|
+
children: transI18n('fmt_screenshare_button_stopshare')
|
|
175
|
+
})
|
|
176
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
177
|
+
type: screen.image,
|
|
178
|
+
size: 48,
|
|
179
|
+
colors: {
|
|
180
|
+
iconPrimary: '#4262FF'
|
|
181
|
+
}
|
|
189
182
|
})
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
183
|
+
}, "screen-".concat(screen.id));
|
|
184
|
+
})
|
|
185
|
+
}), !!applicationCaptureSources.length && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
186
|
+
className: "frc-flex",
|
|
187
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
188
|
+
style: {
|
|
189
|
+
marginTop: '38px'
|
|
190
|
+
},
|
|
191
|
+
children: transI18n('fmt_uimanager_labels_Application')
|
|
192
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
193
|
+
className: "share-selection-window__share-application share-selection-window__share-card",
|
|
194
|
+
children: applicationCaptureSources.map(function (application) {
|
|
195
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.FcrCard, {
|
|
196
|
+
active: currentSelectionType === _type.AgoraRtcScreenCaptureType.WINDOW && application.id === currentSelection,
|
|
197
|
+
onCardClick: function onCardClick() {
|
|
198
|
+
handleChooseScreen(application.id, _type.AgoraRtcScreenCaptureType.WINDOW, application.bounds);
|
|
195
199
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
onDoubleClickCard: function onDoubleClickCard() {
|
|
206
|
-
handleStartShare(application.id, _type.AgoraRtcScreenCaptureType.WINDOW, shareWithAudio, _shareAudio.AudioProcessingChannel.MONO, application.bounds);
|
|
207
|
-
},
|
|
208
|
-
title: application.title,
|
|
209
|
-
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(ThumbnailRender, {
|
|
210
|
-
image: application.image,
|
|
211
|
-
width: application.imageWidth,
|
|
212
|
-
height: application.imageHeight,
|
|
213
|
-
title: application.title
|
|
214
|
-
})
|
|
215
|
-
}, "application-".concat(application.id));
|
|
200
|
+
onDoubleClickCard: function onDoubleClickCard() {
|
|
201
|
+
handleStartShare(application.id, _type.AgoraRtcScreenCaptureType.WINDOW, shareWithAudio, _shareAudio.AudioProcessingChannel.MONO, application.bounds);
|
|
202
|
+
},
|
|
203
|
+
title: application.title,
|
|
204
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(ThumbnailRender, {
|
|
205
|
+
image: application.image,
|
|
206
|
+
width: application.imageWidth,
|
|
207
|
+
height: application.imageHeight,
|
|
208
|
+
title: application.title
|
|
216
209
|
})
|
|
217
|
-
})
|
|
218
|
-
})
|
|
219
|
-
})
|
|
220
|
-
}
|
|
221
|
-
label: transI18n('fmt_screenshare_window_tab_advanced'),
|
|
222
|
-
key: ShareSelectionWindowType.ADVANCED
|
|
223
|
-
}]
|
|
210
|
+
}, "application-".concat(application.id));
|
|
211
|
+
})
|
|
212
|
+
})]
|
|
213
|
+
})]
|
|
224
214
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
225
215
|
className: "share-selection-window__footer",
|
|
226
216
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -2,10 +2,12 @@ import { UIModule } from '../../base';
|
|
|
2
2
|
import './index.css';
|
|
3
3
|
import { FcrUIEventProvider } from '../../providers/event-provider';
|
|
4
4
|
import { FcrUIPrivilegeProvider } from '../../providers/privilege-provider';
|
|
5
|
-
import { FcrUIMainRoomControlProvider } from '../../providers/room-provider';
|
|
5
|
+
import { FcrUIMainRoomControlProvider, FcrUIRoomProvider } from '../../providers/room-provider';
|
|
6
6
|
import { FcrUIDeviceProvider } from '../../providers/device-provider';
|
|
7
7
|
import { FcrUIMessageProvider } from '../../providers/message-provider';
|
|
8
8
|
import { FcrUIDialogProvider } from '../../providers/dialog-provider';
|
|
9
|
+
import { FcrUIMemberSharedDataSource } from '../../shared-data-source/member-data';
|
|
10
|
+
import { FcrUISharedConfigDataSource } from '../../shared-data-source/config';
|
|
9
11
|
export declare class ShareScreenUIModule extends UIModule {
|
|
10
12
|
private _store?;
|
|
11
13
|
mainRoomControlProvider?: FcrUIMainRoomControlProvider;
|
|
@@ -14,6 +16,9 @@ export declare class ShareScreenUIModule extends UIModule {
|
|
|
14
16
|
privilegeProvider?: FcrUIPrivilegeProvider;
|
|
15
17
|
dialogProvider?: FcrUIDialogProvider;
|
|
16
18
|
messageProvider?: FcrUIMessageProvider;
|
|
19
|
+
sharedMemberDataSource?: FcrUIMemberSharedDataSource;
|
|
20
|
+
roomProvider?: FcrUIRoomProvider;
|
|
21
|
+
sharedConfigDataSource?: FcrUISharedConfigDataSource;
|
|
17
22
|
onNodeWillActive(): void;
|
|
18
23
|
onNodeWillInactive(): void;
|
|
19
24
|
getComponent(): import("react/jsx-runtime").JSX.Element;
|