fcr-ui-scene 3.1.1 → 3.3.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/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +16 -0
- package/lib/base.d.ts +0 -1
- package/lib/base.js +16 -0
- package/lib/common/device-store.d.ts +4 -5
- package/lib/common/device-store.js +178 -86
- 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 +20 -3
- package/lib/common/event-store.js +43 -5
- package/lib/common/security-store.d.ts +16 -16
- package/lib/common/security-store.js +278 -124
- package/lib/electron/app.js +13 -5
- 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 +56 -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 +3 -4
- package/lib/electron/injections.js +46 -33
- package/lib/electron/logger.d.ts +6 -0
- package/lib/electron/logger.js +66 -0
- package/lib/electron/main.js +15 -11
- 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/electron/tools.js +9 -0
- package/lib/electron/window.d.ts +1 -1
- package/lib/electron/window.js +14 -2
- package/lib/fragments/control-bar/context.d.ts +0 -1
- package/lib/fragments/control-bar/control-bar-store.d.ts +34 -1
- package/lib/fragments/control-bar/control-bar-store.js +394 -81
- package/lib/fragments/control-bar/device/index.js +12 -3
- package/lib/fragments/control-bar/index.css +15 -10
- package/lib/fragments/control-bar/index.js +19 -1
- 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 +77 -37
- package/lib/fragments/control-bar/security-content/index.css +10 -0
- package/lib/fragments/control-bar/security-content/index.js +43 -18
- package/lib/fragments/control-bar/view.js +8 -2
- 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.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/login-confirm-dialog.d.ts +12 -0
- package/lib/login-confirm-dialog.js +80 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +14 -5
- package/lib/modules/action-bar/chat/index.js +6 -6
- package/lib/modules/action-bar/context.d.ts +0 -1
- package/lib/modules/action-bar/device/index.css +7 -2
- package/lib/modules/action-bar/device/index.d.ts +2 -2
- package/lib/modules/action-bar/device/index.js +6 -4
- package/lib/modules/action-bar/index.css +63 -12
- package/lib/modules/action-bar/index.d.ts +3 -2
- package/lib/modules/action-bar/index.dev.js +8 -7
- package/lib/modules/action-bar/index.js +21 -0
- 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.d.ts +3 -1
- package/lib/modules/action-bar/leave/assign-host.js +7 -7
- package/lib/modules/action-bar/leave/index.js +35 -7
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +11 -1
- package/lib/modules/action-bar/leave/leave-meeting.js +25 -16
- package/lib/modules/action-bar/more/poppover-content.d.ts +0 -1
- package/lib/modules/action-bar/more/poppover-content.js +14 -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 +17 -22
- package/lib/modules/action-bar/security/drop-menu.js +124 -14
- 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 +45 -21
- package/lib/modules/action-bar/store.js +544 -134
- package/lib/modules/action-bar/view.js +65 -42
- package/lib/modules/audio-stream/index.js +12 -6
- package/lib/modules/chat/chat-bar/index.js +46 -27
- package/lib/modules/chat/chat-select/index.css +19 -4
- package/lib/modules/chat/chat-select/index.d.ts +0 -1
- package/lib/modules/chat/chat-select/index.js +29 -3
- package/lib/modules/chat/chat.d.ts +2 -3
- package/lib/modules/chat/chat.js +210 -107
- package/lib/modules/chat/contex.d.ts +0 -1
- package/lib/modules/chat/demo-wrapper.d.ts +0 -1
- package/lib/modules/chat/index.css +49 -0
- package/lib/modules/chat/index.d.ts +3 -3
- package/lib/modules/chat/index.dev.js +4 -4
- package/lib/modules/chat/index.js +32 -11
- package/lib/modules/chat/message-list.js +81 -49
- package/lib/modules/chat/store.d.ts +50 -4
- package/lib/modules/chat/store.js +303 -124
- 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 +3 -2
- package/lib/modules/connection-gateway/index.js +2 -0
- package/lib/modules/connection-gateway/store.d.ts +6 -4
- package/lib/modules/connection-gateway/store.js +46 -15
- 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/audio-preview/speaker-control.d.ts +0 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +1 -1
- package/lib/modules/device-pretest/context.d.ts +0 -1
- package/lib/modules/device-pretest/index.css +0 -4
- package/lib/modules/device-pretest/index.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +2 -1
- package/lib/modules/device-pretest/settings/beauty.js +19 -6
- package/lib/modules/device-pretest/settings/video-effect.d.ts +0 -1
- 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 +34 -19
- package/lib/modules/dialog/components/chat/electron.js +3 -2
- package/lib/modules/dialog/components/chat/index.js +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +7 -5
- package/lib/modules/dialog/components/confirm/index.js +16 -2
- package/lib/modules/dialog/components/connection-gateway/electron.js +4 -2
- package/lib/modules/dialog/components/connection-gateway/index.css +0 -2
- package/lib/modules/dialog/components/device-setting/electron.d.ts +2 -0
- package/lib/modules/dialog/components/device-setting/electron.js +74 -0
- package/lib/modules/dialog/components/device-setting/index.css +26 -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/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 +8 -2
- 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/share-screen-selection/index.js +1 -1
- package/lib/modules/dialog/components/whiteboard/index.js +2 -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 +62 -103
- package/lib/modules/dialog/index.css +7 -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 +6 -2
- package/lib/modules/dialog/store.js +52 -9
- package/lib/modules/dialog/view.js +2 -0
- 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/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.css +4 -4
- package/lib/modules/invite/index.d.ts +2 -2
- package/lib/modules/invite/pstn-invite.js +4 -1
- package/lib/modules/invite/store.d.ts +2 -2
- package/lib/modules/invite/store.js +27 -7
- package/lib/modules/invite/voip-invite.d.ts +0 -1
- package/lib/modules/invite/voip-invite.js +1 -1
- package/lib/modules/layout/components/Aside.d.ts +0 -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 +16 -9
- package/lib/modules/layout/components/Layout.js +82 -57
- package/lib/modules/layout/components/index.css +42 -5
- package/lib/modules/layout/components/index.js +3 -0
- package/lib/modules/layout/context.d.ts +0 -1
- package/lib/modules/layout/index.css +30 -0
- 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 -7
- package/lib/modules/layout/member-window/index.js +59 -13
- package/lib/modules/layout/store.d.ts +61 -50
- package/lib/modules/layout/store.js +517 -342
- 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 +5 -4
- 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.d.ts +12 -3
- package/lib/modules/participant/attendee/index.js +142 -30
- package/lib/modules/participant/context.d.ts +0 -1
- package/lib/modules/participant/index.css +20 -0
- package/lib/modules/participant/index.d.ts +5 -2
- package/lib/modules/participant/index.dev.js +14 -12
- package/lib/modules/participant/index.js +27 -0
- 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.css +37 -0
- package/lib/modules/participant/room-control-drop-menu/index.js +35 -1
- package/lib/modules/participant/store.d.ts +59 -34
- package/lib/modules/participant/store.js +541 -222
- package/lib/modules/participant/view.d.ts +6 -6
- package/lib/modules/participant/view.js +138 -34
- 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.css +1 -5
- package/lib/modules/setting/index.d.ts +2 -2
- package/lib/modules/setting/index.dev.js +14 -12
- 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 +7 -5
- package/lib/modules/setting/store.js +69 -46
- 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/setting/translate-settings/language-select.js +50 -0
- 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 +15 -6
- 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 +4 -2
- package/lib/modules/share-screen/index.dev.js +17 -14
- package/lib/modules/share-screen/index.js +2 -0
- package/lib/modules/share-screen/selection/index.css +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 +23 -13
- package/lib/modules/share-screen/store.js +733 -606
- package/lib/modules/state-bar/context.d.ts +0 -1
- 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 +12 -10
- 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/meeting-detail.css +6 -4
- package/lib/modules/state-bar/meeting-details.js +29 -3
- 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 +9 -11
- package/lib/modules/state-bar/store.d.ts +7 -5
- package/lib/modules/state-bar/store.js +68 -8
- package/lib/modules/state-bar/view.js +4 -8
- 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/index.css +1 -0
- package/lib/modules/video-window/members/index.js +7 -4
- package/lib/modules/video-window/store.d.ts +5 -4
- package/lib/modules/video-window/store.js +49 -17
- package/lib/modules/video-window/topControl/index.js +7 -0
- package/lib/modules/video-window/view.js +2 -0
- 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 +2 -8
- package/lib/modules/whiteboard/components/control-bar/index.css +3 -0
- 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 +8 -3
- package/lib/modules/whiteboard/components/pagination/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +3 -2
- package/lib/modules/whiteboard/components/progress/style.css +4 -3
- 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 +29 -17
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +1 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +11 -2
- 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 +18 -12
- 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 +8 -7
- package/lib/modules/whiteboard/components/toolbar/store.js +25 -4
- package/lib/modules/whiteboard/context.d.ts +7 -3
- package/lib/modules/whiteboard/context.js +6 -4
- package/lib/modules/whiteboard/index.d.ts +6 -8
- package/lib/modules/whiteboard/index.js +310 -255
- 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 -1
- package/lib/plugins/module-dev-plugin.js +12 -10
- package/lib/plugins/multi-lang-plugin.d.ts +1 -5
- package/lib/plugins/multi-lang-plugin.js +2 -0
- package/lib/runtime.d.ts +3 -5
- package/lib/translations/enUS.d.ts +590 -0
- package/lib/translations/enUS.js +608 -6
- package/lib/translations/zhCN.d.ts +588 -0
- package/lib/translations/zhCN.js +604 -4
- package/lib/type.d.ts +6 -2
- package/lib/ui-manager.d.ts +7 -3
- package/lib/ui-manager.js +597 -143
- package/lib/ui-scene.d.ts +1 -0
- package/lib/ui-scene.js +32 -22
- package/lib/utilities/board-context.d.ts +0 -1
- package/lib/utilities/constant.d.ts +47 -5
- package/lib/utilities/constant.js +44 -1
- package/lib/utilities/copyText.js +1 -1
- package/lib/utilities/extract.js +26 -3
- package/lib/utilities/hooks.js +2 -0
- package/lib/utilities/parameters.js +2 -2
- package/lib/utilities/renderer-event.js +28 -0
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +15 -6
- 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 +17 -16
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/login_confirm.png +0 -0
- package/public/index.html +29 -11
- 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 -275
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
export declare const MuteAllDialog: ({ getContainer, allowUnmuteSelfAudio, allowJoinWithMuteAudio, showMuteAllDialog, onCancel, onOk, onClose, }: {
|
|
3
|
-
getContainer?: (
|
|
4
|
-
allowUnmuteSelfAudio?: boolean
|
|
5
|
-
allowJoinWithMuteAudio?: boolean
|
|
3
|
+
getContainer?: () => HTMLElement;
|
|
4
|
+
allowUnmuteSelfAudio?: boolean;
|
|
5
|
+
allowJoinWithMuteAudio?: boolean;
|
|
6
6
|
showMuteAllDialog: boolean;
|
|
7
|
-
onCancel?: (
|
|
8
|
-
onClose?: (
|
|
9
|
-
onOk?: (
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
onOk?: (allowUnmute: boolean, joinWidthMute: boolean) => void;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const View: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -10,6 +10,11 @@ require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
|
10
10
|
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11
11
|
require("core-js/modules/es.object.keys.js");
|
|
12
12
|
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
14
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
15
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
17
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
13
18
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
14
19
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
15
20
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -22,6 +27,7 @@ var _env = require("agora-foundation/lib/utilities/env");
|
|
|
22
27
|
var _checkbox = require("agora-ui-foundation/lib/components/checkbox");
|
|
23
28
|
var _dialog = require("agora-ui-foundation/lib/components/dialog");
|
|
24
29
|
var _participants = require("agora-ui-foundation/lib/components/participants");
|
|
30
|
+
var _tabs = require("agora-ui-foundation/lib/components/tabs");
|
|
25
31
|
var _footer = require("agora-ui-foundation/lib/components/participants/footer");
|
|
26
32
|
var _mobxReact = require("mobx-react");
|
|
27
33
|
var _react = require("react");
|
|
@@ -32,6 +38,8 @@ var _context2 = require("../dialog/context");
|
|
|
32
38
|
require("./index.css");
|
|
33
39
|
var _roomControlDropMenu = require("./room-control-drop-menu");
|
|
34
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");
|
|
35
43
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
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; }
|
|
37
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; }
|
|
@@ -68,7 +76,11 @@ var MuteAllDialog = exports.MuteAllDialog = function MuteAllDialog(_ref) {
|
|
|
68
76
|
title: transI18n('fmt_attendies_options_muteall'),
|
|
69
77
|
visible: showMuteAllDialog,
|
|
70
78
|
okButtonProps: {
|
|
71
|
-
styleType: 'danger'
|
|
79
|
+
styleType: 'danger',
|
|
80
|
+
shape: 'rounded'
|
|
81
|
+
},
|
|
82
|
+
cancelButtonProps: {
|
|
83
|
+
shape: 'rounded'
|
|
72
84
|
},
|
|
73
85
|
onCancel: onCancel,
|
|
74
86
|
okText: transI18n('fmt_attendies_button_muteall'),
|
|
@@ -87,6 +99,9 @@ var MuteAllDialog = exports.MuteAllDialog = function MuteAllDialog(_ref) {
|
|
|
87
99
|
checked: allowUnmute,
|
|
88
100
|
onChange: function onChange(checked) {
|
|
89
101
|
return setAllowUnmute(checked);
|
|
102
|
+
},
|
|
103
|
+
style: {
|
|
104
|
+
marginTop: '16px'
|
|
90
105
|
}
|
|
91
106
|
})]
|
|
92
107
|
})
|
|
@@ -130,34 +145,103 @@ var MergeConfrimDialog = function MergeConfrimDialog(_ref2) {
|
|
|
130
145
|
})
|
|
131
146
|
});
|
|
132
147
|
};
|
|
133
|
-
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;
|
|
134
190
|
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
135
|
-
|
|
136
|
-
handlerSearchUser = _useContext.handlerSearchUser,
|
|
137
|
-
searchText = _useContext.searchText,
|
|
138
|
-
currentPerspectiveType = _useContext.currentPerspectiveType,
|
|
139
|
-
setCurrentModal = _useContext.setCurrentModal,
|
|
140
|
-
handlerRoomControlAction = _useContext.handlerRoomControlAction,
|
|
141
|
-
handlerUserAction = _useContext.handlerUserAction,
|
|
142
|
-
allowUnmuteSelfAudio = _useContext.allowUnmuteSelfAudio,
|
|
143
|
-
allowJoinWithMuteAudio = _useContext.allowJoinWithMuteAudio,
|
|
144
|
-
currentModal = _useContext.currentModal,
|
|
145
|
-
openParticipantsWindow = _useContext.openParticipantsWindow,
|
|
146
|
-
onInvite = _useContext.onInvite,
|
|
191
|
+
activeTab = _useContext.activeTab,
|
|
147
192
|
hasRevokeHostPermission = _useContext.hasRevokeHostPermission,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
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;
|
|
160
243
|
var dialogStore = (0, _react.useContext)(_context2.StoreContext);
|
|
244
|
+
var transI18n = (0, _i18n.useI18n)();
|
|
161
245
|
var handlerRoomControlClick = function handlerRoomControlClick(action, userId) {
|
|
162
246
|
if (action === _constant.RoomControlType.MUTE_ALL_AUDIO) {
|
|
163
247
|
setShowMuteAllDialog(true);
|
|
@@ -181,16 +265,39 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
|
181
265
|
} : void 0;
|
|
182
266
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
183
267
|
className: "participants-container",
|
|
184
|
-
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, {
|
|
185
288
|
type: currentModal,
|
|
186
289
|
userList: userList,
|
|
187
290
|
onSearch: handlerSearchUser,
|
|
188
291
|
searchText: searchText,
|
|
189
292
|
onInvite: onInvite,
|
|
293
|
+
hasPinnedStream: hasPinnedStream,
|
|
294
|
+
toggleParticipantAction: handlerUserAction,
|
|
190
295
|
userRenderer: function userRenderer(user) {
|
|
191
296
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mobxReact.Observer, {
|
|
192
297
|
children: function children() {
|
|
193
298
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_attendee.ParticipantAttendee, _objectSpread(_objectSpread({
|
|
299
|
+
activeTab: activeTab,
|
|
300
|
+
moveToMainRoomByUserIds: moveToMainRoomByUserIds,
|
|
194
301
|
hasMutePermission: hasMutePermission,
|
|
195
302
|
hasUnmutePermission: hasUnmutePermission,
|
|
196
303
|
hasRequestStartAudioPermission: hasRequestStartAudioPermission,
|
|
@@ -210,11 +317,8 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
|
210
317
|
// <FcrWindowHeader type={currentModal} onTypeChange={handlerTypeChange} title="参会人" />
|
|
211
318
|
// }
|
|
212
319
|
,
|
|
213
|
-
footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
214
|
-
|
|
215
|
-
onRoomControlClick: handlerRoomControlClick,
|
|
216
|
-
type: currentPerspectiveType,
|
|
217
|
-
moreDropMenu: /*#__PURE__*/(0, _jsxRuntime.jsx)(_roomControlDropMenu.RoomControlDropMenu, {})
|
|
320
|
+
footer: /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantFooter, {
|
|
321
|
+
handlerRoomControlClick: handlerRoomControlClick
|
|
218
322
|
})
|
|
219
323
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(MuteAllDialog, {
|
|
220
324
|
getContainer: dialogContaner,
|
|
@@ -248,8 +352,8 @@ var ParticipantsContainer = (0, _mobxReact.observer)(function () {
|
|
|
248
352
|
});
|
|
249
353
|
});
|
|
250
354
|
var View = exports.View = (0, _mobxReact.observer)(function () {
|
|
251
|
-
var
|
|
252
|
-
currentModal =
|
|
355
|
+
var _useContext3 = (0, _react.useContext)(_context.StoreContext),
|
|
356
|
+
currentModal = _useContext3.currentModal;
|
|
253
357
|
if (currentModal === 'modal') {
|
|
254
358
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantsContainer, {});
|
|
255
359
|
}
|
|
@@ -12,6 +12,8 @@ require("core-js/modules/es.date.to-string.js");
|
|
|
12
12
|
require("core-js/modules/es.number.constructor.js");
|
|
13
13
|
require("core-js/modules/es.object.to-string.js");
|
|
14
14
|
require("core-js/modules/es.regexp.to-string.js");
|
|
15
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
15
17
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
18
|
var _react = require("react");
|
|
17
19
|
var _radio = require("agora-ui-foundation/lib/components/radio");
|
|
@@ -27,11 +29,12 @@ var _speakerDetection = require("../../device-pretest/audio-preview/speaker-dete
|
|
|
27
29
|
var _mobxReact = require("mobx-react");
|
|
28
30
|
var _context = require("../context");
|
|
29
31
|
require("./index.css");
|
|
30
|
-
var _type = require("agora-edu-core/lib/type");
|
|
31
32
|
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
32
|
-
var
|
|
33
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
33
34
|
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
34
35
|
var _constant = require("../../../utilities/constant");
|
|
36
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
37
|
+
var _agoraEduCore = require("agora-edu-core");
|
|
35
38
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
39
|
var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function () {
|
|
37
40
|
var ns = (0, _useNamespace.useNamespace)('device-settings-audio');
|
|
@@ -68,19 +71,19 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
68
71
|
var noiseReduceOptions = (0, _react.useMemo)(function () {
|
|
69
72
|
return [{
|
|
70
73
|
label: t('fmt_internalsetting_label_automatic'),
|
|
71
|
-
value:
|
|
74
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.AUTO
|
|
72
75
|
}, {
|
|
73
76
|
label: t('fmt_setting_option_3alow'),
|
|
74
77
|
addition: t('fmt_internalsetting_tips_backgroundsound'),
|
|
75
|
-
value:
|
|
78
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.LOW
|
|
76
79
|
}, {
|
|
77
80
|
label: t('fmt_setting_option_3amoderate'),
|
|
78
81
|
addition: t('fmt_internalsetting_tips_fanpan'),
|
|
79
|
-
value:
|
|
82
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.MEDIUM
|
|
80
83
|
}, {
|
|
81
84
|
label: t('fmt_setting_option_3ahigh'),
|
|
82
85
|
addition: t('fmt_internalsetting_tips_dogbarking'),
|
|
83
|
-
value:
|
|
86
|
+
value: _agoraEduCore.FcrAiDenoiseLevel.HIGH
|
|
84
87
|
}];
|
|
85
88
|
}, [t]);
|
|
86
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
@@ -139,7 +142,8 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
139
142
|
microphoneDeviceList: microphoneDeviceList,
|
|
140
143
|
setMicrophoneDevice: setMicrophoneDevice,
|
|
141
144
|
startMicrophoneTest: startMicrophoneTest,
|
|
142
|
-
stopMicrophoneTest: stopMicrophoneTest
|
|
145
|
+
stopMicrophoneTest: stopMicrophoneTest,
|
|
146
|
+
microphoneDetecting: false
|
|
143
147
|
})
|
|
144
148
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
145
149
|
className: ns.e('form-item'),
|
|
@@ -164,7 +168,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
164
168
|
draggableDom: containerDom,
|
|
165
169
|
disabled: setting.autoAdjustmentMicrophoneVolume
|
|
166
170
|
})]
|
|
167
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
171
|
+
}), (0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
168
172
|
className: ns.em('checkbox-wrapper', 'bordered'),
|
|
169
173
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
170
174
|
size: "small",
|
|
@@ -206,7 +210,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
206
210
|
}, item.value);
|
|
207
211
|
})
|
|
208
212
|
})]
|
|
209
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
213
|
+
}), (0, _env.isElectron)() && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
210
214
|
className: (0, _classnames["default"])(ns.e('section'), ns.e('section-pro-audio')),
|
|
211
215
|
id: _constant.HighlightElement.AUDIO_PRO_AUDIO,
|
|
212
216
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -246,7 +250,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
246
250
|
content: t('fmt_internalsetting_tips_optiomizeaudio'),
|
|
247
251
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
248
252
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
249
|
-
type:
|
|
253
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
250
254
|
size: 14
|
|
251
255
|
})
|
|
252
256
|
})
|
|
@@ -261,7 +265,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
261
265
|
content: t('fmt_internalsetting_tips_preventechoes'),
|
|
262
266
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
263
267
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
264
|
-
type:
|
|
268
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
265
269
|
size: 14
|
|
266
270
|
})
|
|
267
271
|
})
|
|
@@ -282,7 +286,7 @@ var AudioSettings = exports.AudioSettings = (0, _mobxReact.observer)(function ()
|
|
|
282
286
|
content: t('fmt_internalsetting_labels_audiostereoencode'),
|
|
283
287
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
284
288
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
285
|
-
type:
|
|
289
|
+
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
286
290
|
size: 14
|
|
287
291
|
})
|
|
288
292
|
})
|
|
@@ -33,9 +33,10 @@ var GeneralSettings = exports.GeneralSettings = (0, _mobxReact.observer)(functio
|
|
|
33
33
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
34
34
|
children: t('fmt_internalsetting_labels_voicestimulation')
|
|
35
35
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
36
|
+
mouseEnterDelay: 0,
|
|
36
37
|
trigger: "hover",
|
|
37
38
|
placement: "top",
|
|
38
|
-
content: t('
|
|
39
|
+
content: t('fmt_internalsetting_other_spot_light_desc'),
|
|
39
40
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
40
41
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
41
42
|
type: _type.FcrIconType.FCR_HELPQUESTION,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
margin-bottom: 10px;
|
|
4
4
|
border-radius: var(--fcr_cornerradius_s);
|
|
5
5
|
width: 100%;
|
|
6
|
-
padding: 10px;
|
|
6
|
+
padding: 0 10px 10px;
|
|
7
7
|
background: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.fcr-general-settings__basic-form:first-child {
|
|
11
|
-
margin-top:
|
|
11
|
+
margin-top: 0px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.fcr-general-settings__basic-form .fcr-checkbox {
|
|
@@ -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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FcrDesktopMediaControl,
|
|
1
|
+
import { FcrDesktopMediaControl, FcrBaseRoomControl, FcrStreamControl } from 'agora-edu-core';
|
|
2
2
|
import { UIModule } from '../../base';
|
|
3
3
|
import './index.css';
|
|
4
4
|
import { FcrUIEventStore } from '../../common/event-store';
|
|
@@ -13,7 +13,7 @@ export declare class SettingUIModule extends UIModule {
|
|
|
13
13
|
uiEventStore: FcrUIEventStore;
|
|
14
14
|
monitorControl: FcrMonitorControl;
|
|
15
15
|
streamControl: FcrStreamControl;
|
|
16
|
-
roomControl:
|
|
16
|
+
roomControl: FcrBaseRoomControl;
|
|
17
17
|
deviceStore: FcrDeviceStore;
|
|
18
18
|
});
|
|
19
19
|
getComponent(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,32 +16,34 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
16
16
|
var App = (0, _root.hot)(function () {
|
|
17
17
|
return null;
|
|
18
18
|
});
|
|
19
|
-
_reactDom["default"].render(
|
|
20
|
-
window.__DEV_ENGINE_IS_READY__.then(
|
|
21
|
-
var engine, roomId, roomControl, userName, uiEventStore, securityStore, deviceStore, uiModule, App;
|
|
19
|
+
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
20
|
+
window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
21
|
+
var engine, roomId, token, roomControl, userName, uiEventStore, securityStore, deviceStore, uiModule, App;
|
|
22
22
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
23
23
|
while (1) switch (_context.prev = _context.next) {
|
|
24
24
|
case 0:
|
|
25
25
|
engine = window.__DEV_ENGINE__;
|
|
26
26
|
roomId = window.__DEV_ROOM_ID__;
|
|
27
|
-
|
|
27
|
+
token = window.__DEV_USER_TOKEN__;
|
|
28
|
+
_context.next = 5;
|
|
28
29
|
return engine.login();
|
|
29
|
-
case
|
|
30
|
-
roomControl = engine.
|
|
30
|
+
case 5:
|
|
31
|
+
roomControl = engine.createMainRoomControl(roomId);
|
|
31
32
|
userName = 'test-user';
|
|
32
|
-
_context.next =
|
|
33
|
+
_context.next = 9;
|
|
33
34
|
return roomControl.join({
|
|
34
35
|
userRole: _type.FcrUserRole.HOST,
|
|
35
36
|
userName: userName,
|
|
37
|
+
roomToken: token,
|
|
36
38
|
streamLatency: _type.FcrStreamLatencyLevel.ULTRA_LOW,
|
|
37
39
|
createStreamConfigs: []
|
|
38
40
|
});
|
|
39
|
-
case
|
|
41
|
+
case 9:
|
|
40
42
|
uiEventStore = new _eventStore.FcrUIEventStore();
|
|
41
43
|
securityStore = new _securityStore.FcrSecurityStore(roomControl.getPrivilegeControl(), roomControl.getUserControl(), roomControl.getStreamControl(), roomControl.getRoomSessionControl(), uiEventStore);
|
|
42
|
-
deviceStore = new _deviceStore.FcrDeviceStore(userName, engine.
|
|
44
|
+
deviceStore = new _deviceStore.FcrDeviceStore(userName, engine.getDesktopMediaControl());
|
|
43
45
|
uiModule = new _.SettingUIModule({
|
|
44
|
-
mediaControl: engine.
|
|
46
|
+
mediaControl: engine.getDesktopMediaControl(),
|
|
45
47
|
config: {
|
|
46
48
|
roomToken: '',
|
|
47
49
|
userName: 'lxy',
|
|
@@ -62,8 +64,8 @@ window.__DEV_ENGINE_IS_READY__.then( /*#__PURE__*/(0, _asyncToGenerator2["defaul
|
|
|
62
64
|
});
|
|
63
65
|
return uiModule.getComponent();
|
|
64
66
|
});
|
|
65
|
-
_reactDom["default"].render(
|
|
66
|
-
case
|
|
67
|
+
_reactDom["default"].render(/*#__PURE__*/(0, _jsxRuntime.jsx)(App, {}), document.querySelector('#root'));
|
|
68
|
+
case 15:
|
|
67
69
|
case "end":
|
|
68
70
|
return _context.stop();
|
|
69
71
|
}
|
|
@@ -19,6 +19,22 @@ require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
|
19
19
|
require("core-js/modules/es.object.to-string.js");
|
|
20
20
|
require("core-js/modules/es.reflect.construct.js");
|
|
21
21
|
require("core-js/modules/es.string.iterator.js");
|
|
22
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
23
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
24
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
25
|
+
require("core-js/modules/esnext.map.every.js");
|
|
26
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
27
|
+
require("core-js/modules/esnext.map.find.js");
|
|
28
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
29
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
30
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
31
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
32
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
33
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
34
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
35
|
+
require("core-js/modules/esnext.map.some.js");
|
|
36
|
+
require("core-js/modules/esnext.map.update.js");
|
|
37
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
22
38
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
23
39
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
24
40
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.fcr-minutes-settings {
|
|
2
|
+
padding-top: 15px;
|
|
3
|
+
}
|
|
4
|
+
.fcr-minutes-settings__section {
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
7
|
+
width: 100%;
|
|
8
|
+
background: var(--fcr_mobile_ui_scene_color_popup_block5);
|
|
9
|
+
padding-bottom: 12px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.fcr-minutes-settings__section:first-child {
|
|
13
|
+
margin-top: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fcr-minutes-settings__section:last-child {
|
|
17
|
+
margin-bottom: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.fcr-minutes-settings__section-title {
|
|
21
|
+
padding: 0 10px 0 12px;
|
|
22
|
+
font-size: 13px;
|
|
23
|
+
line-height: 32px;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
26
|
+
}
|
|
27
|
+
.fcr-minutes-settings__section-sub-title {
|
|
28
|
+
padding: 0 10px 0 12px;
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
}
|
|
33
|
+
.fcr-minutes-settings__section-content-mode {
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: 7px;
|
|
36
|
+
padding: 0 9px;
|
|
37
|
+
}
|
|
38
|
+
.fcr-minutes-settings__mode-item-content {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
height: 100%;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
46
|
+
border-radius: var(--fcr_cornerradius_xs);
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
padding: 5px;
|
|
49
|
+
}
|
|
50
|
+
.fcr-minutes-settings__mode-item {
|
|
51
|
+
flex: 1;
|
|
52
|
+
padding: 3px;
|
|
53
|
+
height: 90px;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
56
|
+
border: 2px solid transparent;
|
|
57
|
+
}
|
|
58
|
+
.fcr-minutes-settings__mode-item-active {
|
|
59
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
60
|
+
border: 2px solid var(--fcr_ui_scene_ramp_brand6);
|
|
61
|
+
}
|
|
62
|
+
.fcr-minutes-settings__mode-text {
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|