fcr-ui-scene 3.1.0 → 3.2.0
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/132.js +2 -0
- package/dist/132.js.LICENSE.txt +311 -0
- package/dist/651.js +2 -0
- package/dist/651.js.LICENSE.txt +1 -0
- package/dist/73.js +1 -0
- package/dist/index.html +13 -0
- package/dist/main.da7c203ab32d15742cfe.css +11760 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +254 -0
- package/dist/worker-entry.worker.js.LICENSE.txt +13 -0
- package/lib/base.js +16 -0
- package/lib/common/device-store.d.ts +3 -4
- package/lib/common/device-store.js +167 -83
- package/lib/common/device-stream-store.d.ts +3 -2
- package/lib/common/device-stream-store.js +94 -72
- package/lib/common/event-store.d.ts +3 -1
- package/lib/common/event-store.js +5 -0
- package/lib/common/security-store.d.ts +6 -16
- package/lib/common/security-store.js +136 -101
- package/lib/electron/app.d.ts +1 -0
- package/lib/electron/app.js +148 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +25 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +44 -0
- package/lib/electron/injections.js +705 -0
- package/lib/electron/logger.d.ts +6 -0
- package/lib/electron/logger.js +66 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +79 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +36 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +66 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +124 -0
- package/lib/fragments/control-bar/context.d.ts +0 -1
- package/lib/fragments/control-bar/control-bar-store.js +23 -2
- package/lib/fragments/control-bar/device/index.js +7 -0
- package/lib/fragments/control-bar/index.js +11 -1
- package/lib/fragments/control-bar/more-actions/index.js +5 -0
- package/lib/fragments/control-bar/security-content/index.js +3 -0
- package/lib/fragments/live-streaming/context.d.ts +0 -1
- package/lib/fragments/live-streaming/store.js +27 -17
- package/lib/fragments/share-screen-selection/context.d.ts +0 -1
- package/lib/fragments/share-screen-selection/selection-store.js +34 -33
- package/lib/fragments/share-screen-selection/view.js +7 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +4 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +5 -1
- package/lib/fragments/toolbar/components/color-picker.js +3 -1
- package/lib/fragments/toolbar/components/eraser-picker.js +4 -13
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +5 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +2 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +2 -0
- package/lib/fragments/toolbar/components/shape-picker.js +2 -0
- package/lib/fragments/toolbar/hooks.d.ts +1 -1
- package/lib/fragments/toolbar/hooks.js +13 -8
- package/lib/fragments/toolbar/store.d.ts +4 -4
- package/lib/fragments/toolbar/store.js +20 -2
- package/lib/fragments/toolbar/view.js +2 -0
- package/lib/global.d.ts +1 -0
- package/lib/hooks/meeting-time.d.ts +2 -2
- package/lib/modules/action-bar/action-bar-collapes-items.js +9 -0
- package/lib/modules/action-bar/chat/index.js +1 -1
- package/lib/modules/action-bar/context.d.ts +0 -1
- package/lib/modules/action-bar/device/index.d.ts +2 -2
- package/lib/modules/action-bar/device/index.js +2 -0
- package/lib/modules/action-bar/index.css +4 -0
- package/lib/modules/action-bar/index.d.ts +2 -2
- package/lib/modules/action-bar/index.dev.js +7 -6
- package/lib/modules/action-bar/item-placement.d.ts +1 -2
- package/lib/modules/action-bar/item.js +5 -0
- package/lib/modules/action-bar/leave/assign-host.js +5 -3
- package/lib/modules/action-bar/leave/index.js +6 -1
- package/lib/modules/action-bar/more/poppover-content.js +10 -0
- package/lib/modules/action-bar/screen-share/submenu.js +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +34 -1
- package/lib/modules/action-bar/security/index.js +1 -1
- package/lib/modules/action-bar/settings/index.js +1 -1
- package/lib/modules/action-bar/store.d.ts +9 -17
- package/lib/modules/action-bar/store.js +67 -49
- package/lib/modules/audio-stream/index.js +12 -6
- package/lib/modules/chat/chat-bar/index.js +7 -0
- package/lib/modules/chat/chat-select/index.css +5 -0
- package/lib/modules/chat/chat-select/index.js +29 -3
- package/lib/modules/chat/chat.d.ts +1 -1
- package/lib/modules/chat/chat.js +28 -4
- package/lib/modules/chat/contex.d.ts +0 -1
- package/lib/modules/chat/index.d.ts +3 -3
- package/lib/modules/chat/index.dev.js +3 -3
- package/lib/modules/chat/index.js +19 -3
- package/lib/modules/chat/message-list.js +24 -3
- package/lib/modules/chat/store.d.ts +3 -3
- package/lib/modules/chat/store.js +45 -79
- package/lib/modules/chat/util.js +1 -1
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -0
- package/lib/modules/connection-gateway/components/phone/index.js +2 -0
- package/lib/modules/connection-gateway/index.d.ts +2 -2
- package/lib/modules/connection-gateway/index.js +2 -0
- package/lib/modules/connection-gateway/store.d.ts +1 -2
- package/lib/modules/connection-gateway/store.js +41 -14
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +1 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -2
- package/lib/modules/device-pretest/context.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +2 -1
- package/lib/modules/device-pretest/settings/beauty.js +2 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -0
- package/lib/modules/device-pretest/store.js +28 -9
- package/lib/modules/dialog/components/chat/electron.js +1 -1
- package/lib/modules/dialog/components/chat/index.js +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +2 -2
- package/lib/modules/dialog/components/confirm/index.js +16 -2
- package/lib/modules/dialog/components/connection-gateway/electron.js +1 -1
- package/lib/modules/dialog/components/device-setting/electron.d.ts +2 -0
- package/lib/modules/dialog/components/device-setting/electron.js +72 -0
- package/lib/modules/dialog/components/device-setting/index.css +27 -0
- package/lib/modules/dialog/components/device-setting/index.d.ts +4 -0
- package/lib/modules/dialog/components/device-setting/index.js +60 -0
- package/lib/modules/dialog/components/participant/electron.js +6 -1
- package/lib/modules/dialog/components/share-screen-selection/index.js +1 -1
- package/lib/modules/dialog/context.d.ts +0 -1
- package/lib/modules/dialog/dialogs.d.ts +0 -2
- package/lib/modules/dialog/dialogs.js +46 -91
- package/lib/modules/dialog/index.css +5 -6
- package/lib/modules/dialog/index.d.ts +1 -1
- package/lib/modules/dialog/index.js +17 -0
- package/lib/modules/dialog/store.d.ts +2 -2
- package/lib/modules/dialog/store.js +36 -7
- package/lib/modules/dialog/view.js +2 -0
- package/lib/modules/event-toast/context.d.ts +0 -1
- package/lib/modules/event-toast/store.js +16 -0
- package/lib/modules/invite/context.d.ts +0 -1
- package/lib/modules/invite/index.d.ts +2 -2
- package/lib/modules/invite/pstn-invite.js +3 -1
- package/lib/modules/invite/store.d.ts +2 -2
- package/lib/modules/invite/store.js +27 -7
- package/lib/modules/invite/voip-invite.js +1 -1
- package/lib/modules/layout/components/Aside.js +4 -1
- package/lib/modules/layout/components/Carousel.js +6 -5
- package/lib/modules/layout/components/Gallery.js +9 -8
- package/lib/modules/layout/components/index.css +11 -1
- package/lib/modules/layout/components/index.js +3 -0
- package/lib/modules/layout/context.d.ts +0 -1
- package/lib/modules/layout/index.dev.js +11 -11
- package/lib/modules/layout/index.js +0 -6
- package/lib/modules/layout/member-window/index.css +5 -5
- package/lib/modules/layout/member-window/index.d.ts +7 -6
- package/lib/modules/layout/member-window/index.js +50 -10
- package/lib/modules/layout/store.d.ts +44 -49
- package/lib/modules/layout/store.js +406 -338
- package/lib/modules/layout/type.d.ts +2 -1
- package/lib/modules/layout/video-window-datasource.d.ts +14 -8
- package/lib/modules/layout/video-window-datasource.js +129 -78
- package/lib/modules/live-streaming/context.d.ts +0 -1
- package/lib/modules/live-streaming/index.d.ts +2 -2
- package/lib/modules/live-streaming/index.dev.js +4 -3
- package/lib/modules/live-streaming/store.d.ts +2 -2
- package/lib/modules/live-streaming/store.js +32 -11
- package/lib/modules/participant/attendee/index.js +10 -0
- package/lib/modules/participant/attendee/participants-more-action.js +5 -2
- package/lib/modules/participant/context.d.ts +0 -1
- package/lib/modules/participant/index.d.ts +3 -3
- package/lib/modules/participant/index.dev.js +13 -11
- package/lib/modules/participant/member-list-data-source.d.ts +3 -3
- package/lib/modules/participant/member-list-data-source.js +29 -3
- package/lib/modules/participant/room-control-drop-menu/index.js +35 -1
- package/lib/modules/participant/store.d.ts +31 -31
- package/lib/modules/participant/store.js +203 -157
- package/lib/modules/participant/view.d.ts +6 -6
- package/lib/modules/participant/view.js +5 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +16 -12
- package/lib/modules/setting/audio-settings/index.css +2 -2
- package/lib/modules/setting/context.d.ts +0 -1
- package/lib/modules/setting/general-settings/general-settings.js +2 -1
- package/lib/modules/setting/general-settings/index.css +2 -2
- package/lib/modules/setting/index.d.ts +2 -2
- package/lib/modules/setting/index.dev.js +13 -11
- package/lib/modules/setting/index.js +16 -0
- package/lib/modules/setting/minutes-settings/index.css +65 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.d.ts +4 -0
- package/lib/modules/setting/minutes-settings/minutes-settings.js +159 -0
- package/lib/modules/setting/state/index.css +0 -4
- package/lib/modules/setting/state/index.js +11 -1
- package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
- package/lib/modules/setting/store.d.ts +6 -4
- package/lib/modules/setting/store.js +68 -40
- package/lib/modules/setting/translate-settings/index.css +45 -0
- package/lib/modules/setting/translate-settings/language-select.d.ts +12 -0
- package/lib/modules/{device-settings/video-settings/camera-select.js → setting/translate-settings/language-select.js} +16 -17
- package/lib/modules/setting/translate-settings/translate-settings.d.ts +4 -0
- package/lib/modules/setting/translate-settings/translate-settings.js +139 -0
- package/lib/modules/setting/video-settings/index.css +7 -1
- package/lib/modules/setting/video-settings/video-settings-basic.js +3 -2
- package/lib/modules/setting/video-settings/video-settings.js +5 -1
- package/lib/modules/setting/view.js +34 -2
- package/lib/modules/share-screen/index.d.ts +2 -2
- package/lib/modules/share-screen/index.dev.js +14 -12
- package/lib/modules/share-screen/index.js +2 -0
- package/lib/modules/share-screen/selection/index.js +44 -6
- package/lib/modules/share-screen/share-state-bar/index.css +49 -11
- package/lib/modules/share-screen/share-state-bar/index.d.ts +0 -1
- package/lib/modules/share-screen/share-state-bar/index.js +51 -20
- package/lib/modules/share-screen/store.d.ts +18 -11
- package/lib/modules/share-screen/store.js +656 -570
- package/lib/modules/state-bar/context.d.ts +0 -1
- package/lib/modules/state-bar/index.d.ts +1 -1
- package/lib/modules/state-bar/index.dev.js +11 -9
- package/lib/modules/state-bar/layout-config.js +2 -0
- package/lib/modules/state-bar/live-streaming-state.js +3 -0
- package/lib/modules/state-bar/recording.js +6 -6
- package/lib/modules/state-bar/store.d.ts +4 -4
- package/lib/modules/state-bar/store.js +50 -5
- package/lib/modules/state-bar/view.js +3 -2
- package/lib/modules/video-window/context.d.ts +0 -1
- package/lib/modules/video-window/deviceState/index.d.ts +3 -3
- package/lib/modules/video-window/members/index.js +7 -4
- package/lib/modules/video-window/store.d.ts +3 -2
- package/lib/modules/video-window/store.js +35 -6
- package/lib/modules/video-window/topControl/index.js +7 -0
- package/lib/modules/video-window/view.js +2 -0
- package/lib/modules/whiteboard/app.js +2 -2
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/control-bar/store.js +29 -29
- package/lib/modules/whiteboard/components/loading/index.js +2 -2
- package/lib/modules/whiteboard/components/multi-window/index.js +2 -2
- package/lib/modules/whiteboard/components/pagination/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +1 -1
- package/lib/modules/whiteboard/components/progress/style.css +4 -3
- package/lib/modules/whiteboard/components/switch-theme/index.js +9 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +2 -1
- package/lib/modules/whiteboard/components/switch-theme/libs.js +21 -20
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +3 -1
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +11 -9
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +4 -2
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +3 -3
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +16 -11
- package/lib/modules/whiteboard/components/toolbar/index.js +9 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -7
- package/lib/modules/whiteboard/components/toolbar/store.js +22 -4
- package/lib/modules/whiteboard/context.d.ts +3 -3
- package/lib/modules/whiteboard/context.js +2 -2
- package/lib/modules/whiteboard/index.d.ts +6 -7
- package/lib/modules/whiteboard/index.js +292 -253
- package/lib/modules/whiteboard/type.d.ts +4 -12
- package/lib/modules/whiteboard/type.js +6 -16
- package/lib/modules/whiteboard/utils.d.ts +1 -0
- package/lib/modules/whiteboard/utils.js +12 -1
- package/lib/plugins/browser-runtime-plugin.js +2 -4
- package/lib/plugins/module-dev-plugin.js +4 -4
- package/lib/plugins/multi-lang-plugin.d.ts +1 -5
- package/lib/plugins/multi-lang-plugin.js +2 -0
- package/lib/runtime.d.ts +84 -0
- package/lib/translations/enUS.d.ts +148 -1
- package/lib/translations/enUS.js +156 -7
- package/lib/translations/zhCN.d.ts +148 -1
- package/lib/translations/zhCN.js +152 -3
- package/lib/ui-manager.d.ts +2 -2
- package/lib/ui-manager.js +37 -20
- package/lib/ui-scene.js +6 -1
- package/lib/utilities/board-context.d.ts +0 -1
- package/lib/utilities/constant.d.ts +4 -1
- package/lib/utilities/constant.js +3 -0
- package/lib/utilities/copyText.js +1 -1
- package/lib/utilities/extract.js +26 -3
- package/lib/utilities/hooks.js +2 -0
- package/lib/utilities/renderer-event.js +28 -0
- package/lib/utilities/renderer.js +9 -4
- package/lib/utilities/tools.js +5 -2
- package/lib/utilities/ui-resources.d.ts +2 -2
- package/lib/utilities/ui-resources.js +20 -3
- package/lib/utilities/video-track-render-context.d.ts +0 -1
- package/package.json +10 -8
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +0 -16
- package/lib/common/device-streams-store.d.ts +0 -34
- package/lib/common/device-streams-store.js +0 -403
- package/lib/fragments/participant/context.d.ts +0 -3
- package/lib/fragments/participant/context.js +0 -9
- package/lib/fragments/participant/index.css +0 -20
- package/lib/fragments/participant/index.d.ts +0 -9
- package/lib/fragments/participant/index.js +0 -90
- package/lib/fragments/participant/room-control-drop-menu/index.css +0 -19
- package/lib/fragments/participant/room-control-drop-menu/index.d.ts +0 -2
- package/lib/fragments/participant/room-control-drop-menu/index.js +0 -134
- package/lib/fragments/participant/store.d.ts +0 -34
- package/lib/fragments/participant/store.js +0 -326
- package/lib/fragments/participant/view.d.ts +0 -2
- package/lib/fragments/participant/view.js +0 -86
- package/lib/fragments/state-bar/index.d.ts +0 -9
- package/lib/fragments/state-bar/index.js +0 -68
- package/lib/fragments/type.d.ts +0 -2
- package/lib/fragments/type.js +0 -6
- package/lib/modules/connection-gateway/components/computer/menu.d.ts +0 -0
- package/lib/modules/connection-gateway/components/computer/menu.js +0 -1
- package/lib/modules/device-settings/audio-settings/audio-settings.d.ts +0 -4
- package/lib/modules/device-settings/audio-settings/audio-settings.js +0 -297
- package/lib/modules/device-settings/audio-settings/index.css +0 -139
- package/lib/modules/device-settings/audio-settings/microphone-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/microphone-detection.js +0 -68
- package/lib/modules/device-settings/audio-settings/speaker-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/speaker-detection.js +0 -72
- package/lib/modules/device-settings/common/advance-link.d.ts +0 -3
- package/lib/modules/device-settings/common/advance-link.js +0 -27
- package/lib/modules/device-settings/common/index.css +0 -26
- package/lib/modules/device-settings/common/useNamespace.d.ts +0 -15
- package/lib/modules/device-settings/common/useNamespace.js +0 -66
- package/lib/modules/device-settings/context.d.ts +0 -3
- package/lib/modules/device-settings/context.js +0 -9
- package/lib/modules/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/modules/device-settings/dialog-wrapper.js +0 -110
- package/lib/modules/device-settings/general-settings/general-settings.d.ts +0 -4
- package/lib/modules/device-settings/general-settings/general-settings.js +0 -66
- package/lib/modules/device-settings/general-settings/index.css +0 -26
- package/lib/modules/device-settings/index.css +0 -109
- package/lib/modules/device-settings/index.d.ts +0 -21
- package/lib/modules/device-settings/index.dev.js +0 -112
- package/lib/modules/device-settings/index.js +0 -84
- package/lib/modules/device-settings/state/index.css +0 -211
- package/lib/modules/device-settings/state/index.d.ts +0 -4
- package/lib/modules/device-settings/state/index.js +0 -330
- package/lib/modules/device-settings/storage-settings/index.css +0 -91
- package/lib/modules/device-settings/storage-settings/storage-settings.d.ts +0 -3
- package/lib/modules/device-settings/storage-settings/storage-settings.js +0 -84
- package/lib/modules/device-settings/store.d.ts +0 -205
- package/lib/modules/device-settings/store.js +0 -1035
- package/lib/modules/device-settings/video-settings/camera-select.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/index.css +0 -327
- package/lib/modules/device-settings/video-settings/local-video-player.d.ts +0 -3
- package/lib/modules/device-settings/video-settings/local-video-player.js +0 -37
- package/lib/modules/device-settings/video-settings/mirror-toggle.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/mirror-toggle.js +0 -62
- package/lib/modules/device-settings/video-settings/video-settings-basic.d.ts +0 -9
- package/lib/modules/device-settings/video-settings/video-settings-basic.js +0 -177
- package/lib/modules/device-settings/video-settings/video-settings.d.ts +0 -6
- package/lib/modules/device-settings/video-settings/video-settings.js +0 -185
- package/lib/modules/device-settings/view.d.ts +0 -10
- package/lib/modules/device-settings/view.js +0 -193
- package/lib/modules/layout/components/UserWindow.d.ts +0 -8
- package/lib/modules/layout/components/UserWindow.js +0 -513
- package/lib/modules/layout/hooks.d.ts +0 -14
- package/lib/modules/layout/hooks.js +0 -48
- package/lib/modules/share-screen/context.d.ts +0 -3
- package/lib/modules/share-screen/context.js +0 -9
- package/lib/modules/whiteboard/i18n/config.d.ts +0 -1
- package/lib/modules/whiteboard/i18n/config.js +0 -15
- package/lib/modules/whiteboard/i18n/en/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/en/index.js +0 -38
- package/lib/modules/whiteboard/i18n/zh/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/zh/index.js +0 -38
- /package/lib/{modules/device-settings/index.dev.d.ts → electron/preload.d.ts} +0 -0
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
.fcr-device-settings-video__header {
|
|
2
|
-
height: 36px;
|
|
3
|
-
font-size: 13px;
|
|
4
|
-
line-height: 1;
|
|
5
|
-
font-weight: 700;
|
|
6
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fcr-device-settings-mirror-toggle {
|
|
13
|
-
border-radius: var(--fcr_cornerradius_xs);
|
|
14
|
-
border: 1px solid var(--fcr_ui_scene_line1);
|
|
15
|
-
padding: 2px;
|
|
16
|
-
background: var(--fcr_web_ui_scene_fill2);
|
|
17
|
-
backdrop-filter: blur(16.7px);
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
transition: all 0.2s ease;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.fcr-device-settings-mirror-toggle:hover {
|
|
23
|
-
background: var(--fcr_web_ui_scene_hover);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.fcr-device-settings-video__beauty-slider {
|
|
27
|
-
/* width: 260px; */
|
|
28
|
-
height: 28px;
|
|
29
|
-
background: var(--fcr_mobile_ui_scene_color_popup_block4);
|
|
30
|
-
border-radius: 8px;
|
|
31
|
-
display: flex;
|
|
32
|
-
position: relative;
|
|
33
|
-
align-items: center;
|
|
34
|
-
padding: 10px 12px;
|
|
35
|
-
flex: 1;
|
|
36
|
-
max-width: 76%;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.fcr-device-settings-video__beauty-slider-value {
|
|
40
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
41
|
-
font-weight: 700;
|
|
42
|
-
margin-left: 13px;
|
|
43
|
-
user-select: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.fcr-device-settings-video__beauty-slider .fcr-slider {
|
|
47
|
-
width: 100%;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.fcr-device-settings-video__beauty-reset {
|
|
51
|
-
z-index: 10;
|
|
52
|
-
border: none;
|
|
53
|
-
background: var(--fcr_mobile_ui_scene_color_popup_block4);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.fcr-device-settings-video__video-flip-container {
|
|
57
|
-
position: absolute;
|
|
58
|
-
z-index: 10;
|
|
59
|
-
right: 8px;
|
|
60
|
-
bottom: 8px;
|
|
61
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
62
|
-
background: var(--fcr_mobile_ui_scene_color_popup_block4);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.fcr-device-settings-video__video-flip {
|
|
66
|
-
background: var(--fcr_mobile_ui_scene_color_popup_block4);
|
|
67
|
-
border: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.fcr-device-settings-video__tab-wrapper {
|
|
71
|
-
margin-top: 10px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.fcr-device-settings-video__tab-wrapper .fcr-fashion-tabs {
|
|
75
|
-
width: 100%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.fcr-video-settings-basic__basic-form {
|
|
79
|
-
margin-top: 10px;
|
|
80
|
-
margin-bottom: 10px;
|
|
81
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
82
|
-
width: 100%;
|
|
83
|
-
padding: 10px;
|
|
84
|
-
background: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.fcr-video-settings-basic__basic-form:first-child {
|
|
88
|
-
margin-top: 12px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.fcr-video-settings-basic__basic-form .fcr-checkbox {
|
|
92
|
-
height: 32px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.fcr-video-settings-basic__basic-form.fcr-video-settings-basic__max-person-form {
|
|
96
|
-
padding: 5px 10px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.fcr-video-settings-basic__max-person-label {
|
|
100
|
-
height: 32px;
|
|
101
|
-
font-size: 12px;
|
|
102
|
-
line-height: 32px;
|
|
103
|
-
font-weight: 300;
|
|
104
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
105
|
-
}
|
|
106
|
-
.fcr-video-settings-basic__spotlight-label {
|
|
107
|
-
display: flex;
|
|
108
|
-
justify-content: center;
|
|
109
|
-
align-items: center;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.fcr-video-settings-basic__max-person-radio-group {
|
|
113
|
-
height: 32px;
|
|
114
|
-
display: flex;
|
|
115
|
-
column-gap: 30px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/* 修复没有设备时展示 no device 的样式 */
|
|
119
|
-
.fcr-device-settings-video__device-select-no-device {
|
|
120
|
-
border-width: 1px;
|
|
121
|
-
border-style: solid;
|
|
122
|
-
box-sizing: border-box;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
font-size: 12px;
|
|
125
|
-
line-height: 1.5;
|
|
126
|
-
overflow: hidden;
|
|
127
|
-
user-select: none;
|
|
128
|
-
font-weight: 400;
|
|
129
|
-
border-color: transparent;
|
|
130
|
-
background: var(--fcr_ui_scene_black3);
|
|
131
|
-
backdrop-filter: blur(25px);
|
|
132
|
-
color: var(--fcr_ui_scene_white10);
|
|
133
|
-
padding: 6px 6px 6px 12px;
|
|
134
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.fcr-device-settings-video__device-select-no-device span {
|
|
140
|
-
flex: 1;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.fcr-device-settings-video__device-select-no-device .icon {
|
|
144
|
-
flex-shrink: 0;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.fcr-device-settings-video__tab-wrapper {
|
|
148
|
-
width: 100%;
|
|
149
|
-
max-height: 296px;
|
|
150
|
-
min-height: 279px;
|
|
151
|
-
position: relative;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.fcr-device-settings-video__active-tab-wrapper {
|
|
155
|
-
width: 100%;
|
|
156
|
-
max-height: 250px;
|
|
157
|
-
overflow-y: scroll;
|
|
158
|
-
padding-bottom: 20px;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.fcr-virtual-background-setting__container {
|
|
162
|
-
display: flex;
|
|
163
|
-
flex-direction: column;
|
|
164
|
-
gap: 10px;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.fcr-device-settings-video__tips {
|
|
168
|
-
background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
169
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
170
|
-
height: 32px;
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
justify-content: center;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.fcr-virtual-background-setting__virtual-list {
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-wrap: wrap;
|
|
179
|
-
row-gap: 14px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.fcr-virtual-background-setting__virtual-item {
|
|
183
|
-
width: 88px;
|
|
184
|
-
height: 62px;
|
|
185
|
-
padding: 3px;
|
|
186
|
-
border: 2px solid transparent;
|
|
187
|
-
position: relative;
|
|
188
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
189
|
-
flex: 25%;
|
|
190
|
-
max-width: 88px;
|
|
191
|
-
box-sizing: border-box;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.fcr-virtual-background-setting__virtual-none {
|
|
195
|
-
color: var(--fcr_web_ui_scene_mainicon1);
|
|
196
|
-
}
|
|
197
|
-
.fcr-virtual-background-setting__virtual-item.is-active {
|
|
198
|
-
border: 2px solid var(--fcr_ui_scene_ramp_brand6);
|
|
199
|
-
}
|
|
200
|
-
.fcr-virtual-background-setting__virtual-item.is-active
|
|
201
|
-
.fcr-virtual-background-setting__virtual-none {
|
|
202
|
-
color: var(--fcr_ui_scene_ramp_brand6);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.fcr-virtual-background-setting__virtual-source {
|
|
206
|
-
width: 100%;
|
|
207
|
-
height: 100%;
|
|
208
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
209
|
-
overflow: hidden;
|
|
210
|
-
display: flex;
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: center;
|
|
213
|
-
background-color: var(--fcr_web_ui_scene_fill4_popup);
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.fcr-virtual-background-setting__virtual-video-source {
|
|
218
|
-
position: relative;
|
|
219
|
-
width: 100%;
|
|
220
|
-
height: 100%;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.fcr-virtual-background-setting__virtual-tag {
|
|
224
|
-
position: absolute;
|
|
225
|
-
right: 0;
|
|
226
|
-
bottom: 0;
|
|
227
|
-
background-color: var(--fcr_ui_scene_black5);
|
|
228
|
-
width: 28px;
|
|
229
|
-
height: 18px;
|
|
230
|
-
border-radius: 8px 0 8px 0;
|
|
231
|
-
display: flex;
|
|
232
|
-
align-items: center;
|
|
233
|
-
justify-content: center;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.fcr-virtual-background-setting__virtual-source img,
|
|
237
|
-
.fcr-virtual-background-setting__virtual-source video {
|
|
238
|
-
width: 100%;
|
|
239
|
-
height: 100%;
|
|
240
|
-
object-fit: cover;
|
|
241
|
-
}
|
|
242
|
-
.fcr-beauty-setting__beauty-options {
|
|
243
|
-
display: flex;
|
|
244
|
-
flex-wrap: wrap;
|
|
245
|
-
justify-content: flex-start;
|
|
246
|
-
}
|
|
247
|
-
.fcr-beauty-setting__card {
|
|
248
|
-
width: 88px;
|
|
249
|
-
height: 106px;
|
|
250
|
-
border: 2px solid transparent;
|
|
251
|
-
border-radius: var(--fcr_cornerradiu_sm);
|
|
252
|
-
padding: 3px;
|
|
253
|
-
display: flex;
|
|
254
|
-
flex-direction: column;
|
|
255
|
-
justify-content: space-between;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.fcr-beauty-setting__card-container {
|
|
259
|
-
box-sizing: border-box;
|
|
260
|
-
|
|
261
|
-
background: var(--fcr_web_ui_scene_fill4_popup);
|
|
262
|
-
border: 1px solid var(--fcr_ui_scene_line1);
|
|
263
|
-
border-radius: var(--fcr_cornerradius_s);
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
align-items: center;
|
|
267
|
-
padding: 4px;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.fcr-beauty-setting__card-container__wrapper {
|
|
271
|
-
height: 56px;
|
|
272
|
-
display: flex;
|
|
273
|
-
width: 100%;
|
|
274
|
-
justify-content: center;
|
|
275
|
-
align-items: center;
|
|
276
|
-
align-content: center;
|
|
277
|
-
border-radius: var(--fcr_cornerradius_xs);
|
|
278
|
-
background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.fcr-beauty-setting__card-container__wrapper-highlight {
|
|
282
|
-
background-color: var(--fcr_ui_scene_ramp_brand1);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.fcr-beauty-setting__card-title {
|
|
286
|
-
font-weight: 300;
|
|
287
|
-
font-size: 12px;
|
|
288
|
-
line-height: 12px;
|
|
289
|
-
|
|
290
|
-
color: var(--fcr_ui_scene_icontext2);
|
|
291
|
-
padding: 10px 0px 8px;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.fcr-beauty-setting__card-container__wrapper .fcr-switch {
|
|
295
|
-
transform-origin: center;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.fcr-beauty-setting__card.fcr-beauty-setting__card__content-active {
|
|
299
|
-
border: 2px solid var(--fcr_ui_scene_ramp_brand6);
|
|
300
|
-
border-radius: var(--fcr_cornerradius_m);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.fcr-video-settings-basic__device-select .fcr-select.fcr-select--blurred:not(.fcr-select--focused) {
|
|
304
|
-
background-color: var(--fcr_ui_scene_input2);
|
|
305
|
-
border: 0.5px solid var(--fcr_web_ui_scene_line4);
|
|
306
|
-
}
|
|
307
|
-
.fcr-video-settings-basic__device-select
|
|
308
|
-
.fcr-select.fcr-select--blurred:not(.fcr-select--focused)
|
|
309
|
-
.fcr-select__selected {
|
|
310
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.fcr-video-settings-basic__device-select-title {
|
|
314
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
315
|
-
font-weight: 700;
|
|
316
|
-
size: 14px;
|
|
317
|
-
margin-bottom: 7px;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.fcr-video-settings-basic__checkbox-item {
|
|
321
|
-
gap: 8px;
|
|
322
|
-
font-size: 12px;
|
|
323
|
-
line-height: 32px;
|
|
324
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
325
|
-
display: flex;
|
|
326
|
-
align-items: center;
|
|
327
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
var _useNamespace = require("../common/useNamespace");
|
|
10
|
-
var _context = require("../context");
|
|
11
|
-
var _mobxReact = require("mobx-react");
|
|
12
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
var LocalVideoPlayer = (0, _mobxReact.observer)(function () {
|
|
14
|
-
var ns = (0, _useNamespace.useNamespace)('device-settings-video-player');
|
|
15
|
-
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
16
|
-
cameraDeviceId = _useContext.cameraDeviceId,
|
|
17
|
-
cameraEnabled = _useContext.cameraEnabled,
|
|
18
|
-
startLocalVideo = _useContext.startLocalVideo,
|
|
19
|
-
stopLocalVideo = _useContext.stopLocalVideo;
|
|
20
|
-
var elementRef = (0, _react.useRef)(null);
|
|
21
|
-
(0, _react.useEffect)(function () {
|
|
22
|
-
if (cameraDeviceId && cameraEnabled && elementRef.current) {
|
|
23
|
-
startLocalVideo(elementRef.current);
|
|
24
|
-
}
|
|
25
|
-
return function () {
|
|
26
|
-
stopLocalVideo();
|
|
27
|
-
};
|
|
28
|
-
}, [cameraDeviceId, cameraEnabled]);
|
|
29
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
30
|
-
className: ns.e('frame'),
|
|
31
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
32
|
-
className: ns.b(),
|
|
33
|
-
ref: elementRef
|
|
34
|
-
})
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
var _default = exports["default"] = LocalVideoPlayer;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.MirrorToggle = void 0;
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
var _react = require("react");
|
|
11
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
12
|
-
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
13
|
-
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
14
|
-
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
15
|
-
var _useNamespace = require("../common/useNamespace");
|
|
16
|
-
var _context = require("../context");
|
|
17
|
-
var _mobxReact = require("mobx-react");
|
|
18
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
-
var MirrorToggle = exports.MirrorToggle = (0, _mobxReact.observer)(function () {
|
|
20
|
-
var ns = (0, _useNamespace.useNamespace)('device-settings-mirror-toggle');
|
|
21
|
-
var t = (0, _i18n.useI18n)();
|
|
22
|
-
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
23
|
-
isLocalMirrorEnabled = _useContext.isLocalMirrorEnabled,
|
|
24
|
-
toggleLocalMirror = _useContext.toggleLocalMirror;
|
|
25
|
-
var _useState = (0, _react.useState)(false),
|
|
26
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
27
|
-
isIconHovered = _useState2[0],
|
|
28
|
-
setIsIconHovered = _useState2[1];
|
|
29
|
-
var iconType = (0, _react.useMemo)(function () {
|
|
30
|
-
return isLocalMirrorEnabled ? _type.FcrIconType.FCR_MIRRORIMAGE_LEFT : _type.FcrIconType.FCR_MIRRORIMAGE_RIGHT;
|
|
31
|
-
}, [isLocalMirrorEnabled]);
|
|
32
|
-
var iconColors = (0, _react.useMemo)(function () {
|
|
33
|
-
return isIconHovered ? {
|
|
34
|
-
iconPrimary: 'var(--fcr_web_ui_scene_mainicon2)'
|
|
35
|
-
} : {
|
|
36
|
-
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
37
|
-
};
|
|
38
|
-
}, [isIconHovered]);
|
|
39
|
-
var onMouseEnter = function onMouseEnter() {
|
|
40
|
-
setIsIconHovered(true);
|
|
41
|
-
};
|
|
42
|
-
var onMouseLeave = function onMouseLeave() {
|
|
43
|
-
setIsIconHovered(false);
|
|
44
|
-
};
|
|
45
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
46
|
-
trigger: "hover",
|
|
47
|
-
placement: "top",
|
|
48
|
-
mouseEnterDelay: 0.2,
|
|
49
|
-
content: t('mirror'),
|
|
50
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
51
|
-
onMouseEnter: onMouseEnter,
|
|
52
|
-
onMouseLeave: onMouseLeave,
|
|
53
|
-
onClick: toggleLocalMirror,
|
|
54
|
-
className: ns.b(),
|
|
55
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
56
|
-
type: iconType,
|
|
57
|
-
colors: iconColors,
|
|
58
|
-
size: 20
|
|
59
|
-
})
|
|
60
|
-
})
|
|
61
|
-
});
|
|
62
|
-
});
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.VideoSettingsBasic = void 0;
|
|
9
|
-
require("core-js/modules/es.error.to-string.js");
|
|
10
|
-
require("core-js/modules/es.date.to-string.js");
|
|
11
|
-
require("core-js/modules/es.number.constructor.js");
|
|
12
|
-
require("core-js/modules/es.object.to-string.js");
|
|
13
|
-
require("core-js/modules/es.regexp.to-string.js");
|
|
14
|
-
var _react = require("react");
|
|
15
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
16
|
-
var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
|
|
17
|
-
var _radio = require("agora-ui-foundation/lib/components/radio");
|
|
18
|
-
var _useNamespace = require("../common/useNamespace");
|
|
19
|
-
var _mobxReact = require("mobx-react");
|
|
20
|
-
var _context = require("../context");
|
|
21
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
22
|
-
var _cameraSelect = require("../../device-pretest/settings/camera-select");
|
|
23
|
-
var _constant = require("../../../utilities/constant");
|
|
24
|
-
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
25
|
-
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
26
|
-
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
27
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
|
-
var VideoSettingsBasic = exports.VideoSettingsBasic = (0, _mobxReact.observer)(function (_ref) {
|
|
29
|
-
var cameraDeviceId = _ref.cameraDeviceId,
|
|
30
|
-
setCameraDevice = _ref.setCameraDevice,
|
|
31
|
-
cameraDeviceList = _ref.cameraDeviceList;
|
|
32
|
-
var ns = (0, _useNamespace.useNamespace)('video-settings-basic');
|
|
33
|
-
var t = (0, _i18n.useI18n)();
|
|
34
|
-
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
35
|
-
setting = _useContext.setting,
|
|
36
|
-
setSetting = _useContext.setSetting;
|
|
37
|
-
console.log('setting', setting);
|
|
38
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
39
|
-
className: ns.b(),
|
|
40
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
41
|
-
className: ns.e('basic-form'),
|
|
42
|
-
id: _constant.HighlightElement.VIDEO_BASIC,
|
|
43
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
44
|
-
className: ns.e('device-select-title'),
|
|
45
|
-
children: "Camera"
|
|
46
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
47
|
-
className: ns.e('device-select'),
|
|
48
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_cameraSelect.CameraSelect, {
|
|
49
|
-
cameraDeviceId: cameraDeviceId,
|
|
50
|
-
setCameraDevice: setCameraDevice,
|
|
51
|
-
cameraDeviceList: cameraDeviceList
|
|
52
|
-
})
|
|
53
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
54
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
55
|
-
size: "small",
|
|
56
|
-
label: '视频高清',
|
|
57
|
-
checked: setting.videoHD,
|
|
58
|
-
onChange: function onChange(v) {
|
|
59
|
-
return setSetting({
|
|
60
|
-
videoHD: v
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
64
|
-
size: "small",
|
|
65
|
-
label: '调整以使用弱光',
|
|
66
|
-
checked: setting.videoLowLight,
|
|
67
|
-
onChange: function onChange(v) {
|
|
68
|
-
return setSetting({
|
|
69
|
-
videoLowLight: v
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
})]
|
|
73
|
-
})]
|
|
74
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
75
|
-
className: ns.e('basic-form'),
|
|
76
|
-
id: _constant.HighlightElement.VIDEO_BASIC,
|
|
77
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
78
|
-
size: "small",
|
|
79
|
-
label: t('video_basic_settings_1'),
|
|
80
|
-
checked: setting.shouldTurnOffVideo,
|
|
81
|
-
onChange: function onChange(v) {
|
|
82
|
-
return setSetting({
|
|
83
|
-
shouldTurnOffVideo: v
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
87
|
-
size: "small",
|
|
88
|
-
label: t('video_basic_settings_2'),
|
|
89
|
-
checked: setting.shouldDisplayPreviewDialog,
|
|
90
|
-
onChange: function onChange(v) {
|
|
91
|
-
return setSetting({
|
|
92
|
-
shouldDisplayPreviewDialog: v
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
})]
|
|
96
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
97
|
-
className: (0, _classnames["default"])(ns.e('basic-form'), ns.e('max-person-form')),
|
|
98
|
-
id: _constant.HighlightElement.VIDEO_MAX_PERSON,
|
|
99
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
100
|
-
className: ns.e('max-person-label'),
|
|
101
|
-
children: t('video_basic_settings_4')
|
|
102
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
103
|
-
className: ns.e('max-person-radio-group'),
|
|
104
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_radio.FcrRadioGroup, {
|
|
105
|
-
value: setting.displayedMaxAttendees.toString(),
|
|
106
|
-
onChange: function onChange(v) {
|
|
107
|
-
return setSetting({
|
|
108
|
-
displayedMaxAttendees: Number(v)
|
|
109
|
-
});
|
|
110
|
-
},
|
|
111
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_radio.FcrRadio, {
|
|
112
|
-
value: "16",
|
|
113
|
-
label: t('attendees_16'),
|
|
114
|
-
checked: setting.displayedMaxAttendees.toString() === '16'
|
|
115
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_radio.FcrRadio, {
|
|
116
|
-
value: "25",
|
|
117
|
-
label: t('attendees_25'),
|
|
118
|
-
checked: setting.displayedMaxAttendees.toString() === '25'
|
|
119
|
-
})]
|
|
120
|
-
})
|
|
121
|
-
})]
|
|
122
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
123
|
-
className: ns.e('basic-form'),
|
|
124
|
-
id: _constant.HighlightElement.VIDEO_BASIC,
|
|
125
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
126
|
-
className: ns.e('device-select-title'),
|
|
127
|
-
children: t('advance_settings')
|
|
128
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
129
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
130
|
-
size: "small",
|
|
131
|
-
label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
132
|
-
className: ns.e('checkbox-item'),
|
|
133
|
-
children: ["\u901A\u8FC7\u964D\u566A\u4F18\u5316\u89C6\u9891\u8D28\u91CF", /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
134
|
-
mouseEnterDelay: 0,
|
|
135
|
-
content: "\u52FE\u9009\u540E\uFF0C\u57FA\u4E8E\u8F6F\u4EF6\u7684\u566A\u58F0\u6D88\u9664\u5C06\u4F18\u5316\u89C6\u9891\u753B\u8D28",
|
|
136
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
137
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
138
|
-
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
139
|
-
size: 14
|
|
140
|
-
})
|
|
141
|
-
})
|
|
142
|
-
})]
|
|
143
|
-
}),
|
|
144
|
-
checked: setting.videoNoise,
|
|
145
|
-
onChange: function onChange(v) {
|
|
146
|
-
return setSetting({
|
|
147
|
-
videoNoise: v
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
})
|
|
151
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
152
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
153
|
-
size: "small",
|
|
154
|
-
label: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
155
|
-
className: ns.e('checkbox-item'),
|
|
156
|
-
children: ["\u4E3A\u89C6\u9891\u63A5\u6536\u4F7F\u7528\u786C\u4EF6\u52A0\u901F", /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
157
|
-
mouseEnterDelay: 0,
|
|
158
|
-
content: "\u52FE\u9009\u540E\uFF0C\u786C\u4EF6\u7F16\u89E3\u7801\u5668\u5C06\u964D\u4F4E\u89C6\u9891\u7F16\u89E3\u7801\u5BF9CPU\u7684\u6D88\u8017",
|
|
159
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
160
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
161
|
-
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
162
|
-
size: 14
|
|
163
|
-
})
|
|
164
|
-
})
|
|
165
|
-
})]
|
|
166
|
-
}),
|
|
167
|
-
checked: setting.hardwareForReception,
|
|
168
|
-
onChange: function onChange(v) {
|
|
169
|
-
return setSetting({
|
|
170
|
-
hardwareForReception: v
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
})
|
|
174
|
-
})]
|
|
175
|
-
})]
|
|
176
|
-
});
|
|
177
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import 'agora-ui-foundation/lib/components/local-video-player/index.css';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import './index.css';
|
|
4
|
-
import 'agora-ui-foundation/lib/components/local-video-player/index.css';
|
|
5
|
-
export declare const VideoSettings: FC;
|
|
6
|
-
export default VideoSettings;
|