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