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,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -8,6 +9,11 @@ exports.MorePopoverContent = void 0;
|
|
|
8
9
|
require("core-js/modules/es.array.filter.js");
|
|
9
10
|
require("core-js/modules/es.array.map.js");
|
|
10
11
|
require("core-js/modules/es.object.to-string.js");
|
|
12
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.map.js");
|
|
14
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
15
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
11
17
|
var _button = require("agora-ui-foundation/lib/components/button");
|
|
12
18
|
var _dialog = require("agora-ui-foundation/lib/components/dialog");
|
|
13
19
|
var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
@@ -21,6 +27,8 @@ var _type2 = require("agora-edu-core/lib/type");
|
|
|
21
27
|
var _copyText = require("../../../utilities/copyText");
|
|
22
28
|
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
23
29
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
30
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
31
|
+
var _leaveMeeting = require("../../../modules/action-bar/leave/leave-meeting");
|
|
24
32
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
33
|
var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(function (props) {
|
|
26
34
|
var ref = (0, _react.useRef)(null);
|
|
@@ -36,7 +44,18 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
36
44
|
hasStartCloudRecordingPermission = _useContext.hasStartCloudRecordingPermission,
|
|
37
45
|
hasStartLiveStreamingPermission = _useContext.hasStartLiveStreamingPermission,
|
|
38
46
|
hasGetLiveStreamingUrlPermission = _useContext.hasGetLiveStreamingUrlPermission,
|
|
39
|
-
hasStopLiveStreamingPermission = _useContext.hasStopLiveStreamingPermission
|
|
47
|
+
hasStopLiveStreamingPermission = _useContext.hasStopLiveStreamingPermission,
|
|
48
|
+
setShowMeetingDetailPortal = _useContext.setShowMeetingDetailPortal,
|
|
49
|
+
setMeetingDetailPortalPosition = _useContext.setMeetingDetailPortalPosition,
|
|
50
|
+
localUserRole = _useContext.localUserRole,
|
|
51
|
+
hasAssignHostBeforeLeavingPermission = _useContext.hasAssignHostBeforeLeavingPermission,
|
|
52
|
+
isPstnUser = _useContext.isPstnUser,
|
|
53
|
+
remoteUsers = _useContext.remoteUsers,
|
|
54
|
+
hasEndRoomPermission = _useContext.hasEndRoomPermission,
|
|
55
|
+
sendLeave = _useContext.sendLeave,
|
|
56
|
+
sendEnd = _useContext.sendEnd,
|
|
57
|
+
keepPhoneAudioConnection = _useContext.keepPhoneAudioConnection,
|
|
58
|
+
sendAssign = _useContext.sendAssign;
|
|
40
59
|
var transI18n = (0, _i18n.useI18n)();
|
|
41
60
|
var onItemClick = function onItemClick(item) {
|
|
42
61
|
if (item.onClick) {
|
|
@@ -70,6 +89,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
70
89
|
children: transI18n('fmt_popup_button_endmeeting')
|
|
71
90
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
72
91
|
size: "S",
|
|
92
|
+
type: "secondary-bordered",
|
|
73
93
|
onClick: function onClick() {
|
|
74
94
|
_dialog.FcrDialogApi.close('leave-room');
|
|
75
95
|
window.runtime.browserWindow.setIgnoreMouseEvents(true, {
|
|
@@ -80,6 +100,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
80
100
|
children: transI18n('fmt_popup_button_leavemeeting')
|
|
81
101
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
82
102
|
size: "S",
|
|
103
|
+
type: "secondary-bordered",
|
|
83
104
|
onClick: function onClick() {
|
|
84
105
|
window.runtime.browserWindow.setIgnoreMouseEvents(true, {
|
|
85
106
|
forward: true
|
|
@@ -116,11 +137,15 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
116
137
|
})]
|
|
117
138
|
});
|
|
118
139
|
};
|
|
140
|
+
|
|
141
|
+
// 分割线
|
|
119
142
|
var moreOptions = [{
|
|
143
|
+
icon: _type.FcrIconType.FCR_WEB_CHAT,
|
|
120
144
|
text: transI18n('fmt_chat_label_chat'),
|
|
121
145
|
displayWhenNoPermission: 'hidden',
|
|
122
146
|
key: _constant.RendererEventAction.OPEN_CHAT,
|
|
123
|
-
hasPermission: hasChatPermission
|
|
147
|
+
hasPermission: hasChatPermission,
|
|
148
|
+
classNames: 'share-action-nav__media-list-item-with-divider'
|
|
124
149
|
}, {
|
|
125
150
|
icon: _type.FcrIconType.FCR_EMO,
|
|
126
151
|
text: transI18n('fmt_popup_label_expression'),
|
|
@@ -128,6 +153,8 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
128
153
|
key: 'emoji',
|
|
129
154
|
hasPermission: false
|
|
130
155
|
}, {
|
|
156
|
+
icon: _type.FcrIconType.FCR_CLOUDRECORD,
|
|
157
|
+
classNames: 'share-action-nav__media-list-item-with-divider',
|
|
131
158
|
text: transI18n('fmt_screenshare_controlbar_button_more_cloudRecord'),
|
|
132
159
|
displayWhenNoPermission: 'hidden',
|
|
133
160
|
key: cloudRecordingState === _type2.FcrRecordingState.Stopped ? _constant.RendererEventAction.CLOUD_RECORDING_START : _constant.RendererEventAction.CLOUD_RECORDING_STOP,
|
|
@@ -142,6 +169,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
142
169
|
// hasStartCloudRecordingPermission && cloudRecordingState === FcrRecordingState.Stopped,
|
|
143
170
|
// },
|
|
144
171
|
{
|
|
172
|
+
classNames: 'share-action-nav__media-list-item-with-divider',
|
|
145
173
|
icon: _type.FcrIconType.FCR_LIVE,
|
|
146
174
|
text: transI18n('fmt_screenshare_controlbar_button_more_live'),
|
|
147
175
|
displayWhenNoPermission: 'hidden',
|
|
@@ -153,14 +181,29 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
153
181
|
});
|
|
154
182
|
handleMoreClick(_constant.RendererEventAction.OPEN_LIVE_STEAMING_DIALOG);
|
|
155
183
|
}
|
|
184
|
+
}, {
|
|
185
|
+
icon: _type.FcrIconType.FCR_EXCLAMATIONMASK,
|
|
186
|
+
text: transI18n('fmt_popup_button_meetinginfor'),
|
|
187
|
+
classNames: 'share-action-nav__media-list-item-with-divider',
|
|
188
|
+
displayWhenNoPermission: 'hidden',
|
|
189
|
+
key: 'copyMeetingInfo',
|
|
190
|
+
hasPermission: true,
|
|
191
|
+
onClick: function onClick() {
|
|
192
|
+
closePopover();
|
|
193
|
+
var currentPopoverPosition = document.getElementsByClassName('share-action-nav__popover')[0].getBoundingClientRect();
|
|
194
|
+
setMeetingDetailPortalPosition(currentPopoverPosition.x || 0, currentPopoverPosition.y || 0);
|
|
195
|
+
setShowMeetingDetailPortal(true);
|
|
196
|
+
}
|
|
156
197
|
}, {
|
|
157
198
|
icon: _type.FcrIconType.FCR_SETTING,
|
|
199
|
+
classNames: 'share-action-nav__media-list-item-with-divider',
|
|
158
200
|
text: transI18n('fmt_screenshare_controlbar_button_more_setting'),
|
|
159
201
|
displayWhenNoPermission: 'hidden',
|
|
160
202
|
key: _constant.RendererEventAction.OPEN_SETTING,
|
|
161
203
|
hasPermission: true
|
|
162
204
|
}, {
|
|
163
205
|
icon: _type.FcrIconType.FCR_ATTACH,
|
|
206
|
+
classNames: 'share-action-nav__media-list-item-with-divider',
|
|
164
207
|
text: transI18n('fmt_live_label_copylink'),
|
|
165
208
|
displayWhenNoPermission: 'hidden',
|
|
166
209
|
key: 'copyLiveLink',
|
|
@@ -177,43 +220,40 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
177
220
|
});
|
|
178
221
|
}
|
|
179
222
|
}, {
|
|
180
|
-
icon: _type.FcrIconType.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
hasPermission:
|
|
223
|
+
icon: _type.FcrIconType.FCR_ENDMEETING,
|
|
224
|
+
key: _constant.RendererEventAction.LEAVE_ROOM,
|
|
225
|
+
classNames: 'share-action-nav__popover-inner-content-leave-option',
|
|
226
|
+
text: isHost ? transI18n('fmt_popup_button_endmeeting') : transI18n('fmt_popup_button_leavemeeting'),
|
|
227
|
+
hasPermission: true,
|
|
185
228
|
onClick: function onClick() {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
229
|
+
window.runtime.browserWindow.setIgnoreMouseEvents(false);
|
|
230
|
+
_dialog.FcrDialogApi.info({
|
|
231
|
+
id: 'leave-room',
|
|
232
|
+
dialogProps: {
|
|
233
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_leaveMeeting.LeaveMeeting, {
|
|
234
|
+
setPopoverOpened: function setPopoverOpened(value) {
|
|
235
|
+
if (!value) {
|
|
236
|
+
_dialog.FcrDialogApi.close('leave-room');
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
localUserRole: localUserRole,
|
|
240
|
+
leave: sendLeave,
|
|
241
|
+
isLocked: false,
|
|
242
|
+
hasAssignHostBeforeLeavingPermission: hasAssignHostBeforeLeavingPermission,
|
|
243
|
+
hasEndRoomPermission: hasEndRoomPermission,
|
|
244
|
+
keepPhoneAudioConnection: keepPhoneAudioConnection,
|
|
245
|
+
isPstnUser: isPstnUser,
|
|
246
|
+
remoteUsers: remoteUsers,
|
|
247
|
+
end: sendEnd,
|
|
248
|
+
assignHost: sendAssign
|
|
249
|
+
}),
|
|
250
|
+
width: 255,
|
|
251
|
+
closable: false,
|
|
252
|
+
rootClassName: 'leave-room-dialog'
|
|
253
|
+
}
|
|
195
254
|
});
|
|
196
255
|
}
|
|
197
|
-
}
|
|
198
|
-
// {
|
|
199
|
-
// icon: FcrIconType.FCR_ENDMEETING,
|
|
200
|
-
// key: RendererEventAction.LEAVE_ROOM,
|
|
201
|
-
// text: isHost ? '结束会议' : '离开会议',
|
|
202
|
-
// hasPermission: true,
|
|
203
|
-
// onClick: () => {
|
|
204
|
-
// window.runtime.browserWindow.setIgnoreMouseEvents(false);
|
|
205
|
-
// FcrDialogApi.info({
|
|
206
|
-
// id: 'leave-room',
|
|
207
|
-
// dialogProps: {
|
|
208
|
-
// content: <LeaveRoomContent />,
|
|
209
|
-
// width: 256,
|
|
210
|
-
// closable: false,
|
|
211
|
-
// rootClassName: 'leave-room-dialog',
|
|
212
|
-
// },
|
|
213
|
-
// });
|
|
214
|
-
// },
|
|
215
|
-
// },
|
|
216
|
-
];
|
|
256
|
+
}];
|
|
217
257
|
(0, _react.useEffect)(function () {
|
|
218
258
|
function handleClickOutside(event) {
|
|
219
259
|
if (ref.current && !ref.current.contains(event.target)) {
|
|
@@ -234,7 +274,7 @@ var MorePopoverContent = exports.MorePopoverContent = (0, _mobxReact.observer)(f
|
|
|
234
274
|
className: "share-action-nav__popover-inner-content share-action-nav__not-draggable",
|
|
235
275
|
children: moreOptionsFilter.map(function (item, index) {
|
|
236
276
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
237
|
-
className: "share-action-nav__media-list-group
|
|
277
|
+
className: (0, _classnames["default"])('share-action-nav__media-list-group', item.classNames),
|
|
238
278
|
onClick: function onClick(e) {
|
|
239
279
|
e.stopPropagation();
|
|
240
280
|
onItemClick(item);
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
.security-content .fcr-drop-menu-title {
|
|
10
10
|
text-align: left;
|
|
11
|
+
font-size: 500;
|
|
11
12
|
}
|
|
12
13
|
.security-content .fcr-checkbox-inner {
|
|
13
14
|
background-color: transparent;
|
|
@@ -21,4 +22,13 @@
|
|
|
21
22
|
.security-content .fcr-checkbox-label {
|
|
22
23
|
display: inline-block;
|
|
23
24
|
flex: 1;
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.security-content .fcr-checkbox path {
|
|
29
|
+
fill: var(--fcr_ui_scene_mainicon1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.fcr-drop-menu-option-primary:hover path {
|
|
33
|
+
fill: var(--fcr_ui_scene_ramp_brand6);
|
|
24
34
|
}
|
|
@@ -7,6 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.SecurityContent = void 0;
|
|
8
8
|
require("core-js/modules/es.array.filter.js");
|
|
9
9
|
require("core-js/modules/es.object.to-string.js");
|
|
10
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
11
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
12
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
10
13
|
var _dropMenu = require("agora-ui-foundation/lib/components/drop-menu");
|
|
11
14
|
var _react = require("react");
|
|
12
15
|
var _context = require("../context");
|
|
@@ -21,6 +24,8 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
21
24
|
isLockRoomEnabled = _useContext.isLockRoomEnabled,
|
|
22
25
|
allowShareScreen = _useContext.allowShareScreen,
|
|
23
26
|
updateAllowShareScreen = _useContext.updateAllowShareScreen,
|
|
27
|
+
allowBoardWrite = _useContext.allowBoardWrite,
|
|
28
|
+
updateBoardWriteEnabled = _useContext.updateBoardWriteEnabled,
|
|
24
29
|
allowChat = _useContext.allowChat,
|
|
25
30
|
updateAllowChat = _useContext.updateAllowChat,
|
|
26
31
|
allowUnmuteSelfAudio = _useContext.allowUnmuteSelfAudio,
|
|
@@ -32,7 +37,11 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
32
37
|
hasEnableStartAudioPermission = _useContext.hasEnableStartAudioPermission,
|
|
33
38
|
hasEnableChangeNamePermission = _useContext.hasEnableChangeNamePermission,
|
|
34
39
|
hasEnableStartVideoPermission = _useContext.hasEnableStartVideoPermission,
|
|
35
|
-
hasLockRoomPermission = _useContext.hasLockRoomPermission
|
|
40
|
+
hasLockRoomPermission = _useContext.hasLockRoomPermission,
|
|
41
|
+
hasAllowWriteBoardPermission = _useContext.hasAllowWriteBoardPermission,
|
|
42
|
+
hasWaitingRoomPermission = _useContext.hasWaitingRoomPermission,
|
|
43
|
+
updateWaitingRoomEnabled = _useContext.updateWaitingRoomEnabled,
|
|
44
|
+
isWaitingRoomEnabled = _useContext.isWaitingRoomEnabled;
|
|
36
45
|
var transI18n = (0, _i18n.useI18n)();
|
|
37
46
|
var allActions = [{
|
|
38
47
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
@@ -48,14 +57,15 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
48
57
|
}
|
|
49
58
|
}, {
|
|
50
59
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
51
|
-
checked:
|
|
60
|
+
checked: isWaitingRoomEnabled,
|
|
52
61
|
label: transI18n('fmt_security_options_activatewaitingroom'),
|
|
53
62
|
styleType: "white"
|
|
54
63
|
}),
|
|
55
64
|
key: 'enable_waiting_room',
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
hasPermission: hasWaitingRoomPermission,
|
|
66
|
+
onButtonClick: function onButtonClick() {
|
|
67
|
+
return updateWaitingRoomEnabled(!isWaitingRoomEnabled);
|
|
68
|
+
},
|
|
59
69
|
classNames: 'room-control-drop-with-under-line'
|
|
60
70
|
}, {
|
|
61
71
|
title: transI18n('fmt_screenshare_options_allow'),
|
|
@@ -65,7 +75,7 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
65
75
|
}, {
|
|
66
76
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
67
77
|
checked: allowShareScreen,
|
|
68
|
-
label: transI18n('
|
|
78
|
+
label: transI18n('fmt_screenshare_screen_and_board'),
|
|
69
79
|
styleType: "white"
|
|
70
80
|
}),
|
|
71
81
|
key: 'share_screen',
|
|
@@ -74,6 +84,16 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
74
84
|
onButtonClick: function onButtonClick() {
|
|
75
85
|
updateAllowShareScreen(!allowShareScreen);
|
|
76
86
|
}
|
|
87
|
+
}, {
|
|
88
|
+
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
89
|
+
checked: allowBoardWrite,
|
|
90
|
+
label: transI18n('fmt_screenshare_options_editable'),
|
|
91
|
+
styleType: "white"
|
|
92
|
+
}),
|
|
93
|
+
key: 'enable_whiteboard',
|
|
94
|
+
type: 'primary',
|
|
95
|
+
hasPermission: hasAllowWriteBoardPermission,
|
|
96
|
+
onButtonClick: updateBoardWriteEnabled
|
|
77
97
|
}, {
|
|
78
98
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_checkbox.FcrCheckbox, {
|
|
79
99
|
checked: allowChat,
|
|
@@ -121,18 +141,23 @@ var SecurityContent = exports.SecurityContent = (0, _mobxReact.observer)(functio
|
|
|
121
141
|
updateAllowUnmuteSelfVideo(!allowUnmuteSelfVideo);
|
|
122
142
|
},
|
|
123
143
|
classNames: 'room-control-drop-with-under-line'
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
144
|
+
}
|
|
145
|
+
// 功能没实现,暂时注释
|
|
146
|
+
// {
|
|
147
|
+
// title: (
|
|
148
|
+
// <FcrCheckbox
|
|
149
|
+
// checked={false}
|
|
150
|
+
// label={transI18n('fmt_security_options_removemultiple')}
|
|
151
|
+
// styleType="white"
|
|
152
|
+
// />
|
|
153
|
+
// ),
|
|
154
|
+
// key: 'remove_fcr-participants',
|
|
155
|
+
// type: 'danger',
|
|
156
|
+
// hasPermission: true,
|
|
157
|
+
// onButtonClick: () => {},
|
|
158
|
+
// classNames: 'room-control-drop-disable',
|
|
159
|
+
// },
|
|
160
|
+
];
|
|
136
161
|
var securityHasPermissionActions = allActions.filter(function (item) {
|
|
137
162
|
return item.hasPermission;
|
|
138
163
|
});
|
|
@@ -32,6 +32,7 @@ var _type = require("agora-edu-core/lib/type");
|
|
|
32
32
|
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
33
33
|
var _platform = require("../../utilities/platform");
|
|
34
34
|
var _type2 = require("../../modules/action-bar/type");
|
|
35
|
+
var _meetingDetailsPortal = _interopRequireDefault(require("./meeting-details/meeting-details-portal"));
|
|
35
36
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
37
|
var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function () {
|
|
37
38
|
var _screenBounds$availTo;
|
|
@@ -71,7 +72,9 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
|
|
|
71
72
|
screenBounds = _useContext.screenBounds,
|
|
72
73
|
connectType = _useContext.connectType,
|
|
73
74
|
phoneMicEnabled = _useContext.phoneMicEnabled,
|
|
74
|
-
hasSecurityPermission = _useContext.hasSecurityPermission
|
|
75
|
+
hasSecurityPermission = _useContext.hasSecurityPermission,
|
|
76
|
+
setShowMeetingDetailPortal = _useContext.setShowMeetingDetailPortal,
|
|
77
|
+
fetchLeavingRoomPropsAfterInit = _useContext.fetchLeavingRoomPropsAfterInit;
|
|
75
78
|
// 控制栏本身的高度
|
|
76
79
|
var NAV_HEIGHT = 84;
|
|
77
80
|
// 鼠标移开后自动隐藏的时间
|
|
@@ -184,6 +187,7 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
|
|
|
184
187
|
(0, _react.useEffect)(function () {
|
|
185
188
|
function handleBlur(event) {
|
|
186
189
|
setMoreVisible(false);
|
|
190
|
+
setShowMeetingDetailPortal(false);
|
|
187
191
|
setShowSecurityPopover(false);
|
|
188
192
|
}
|
|
189
193
|
window.addEventListener('blur', handleBlur);
|
|
@@ -193,6 +197,8 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
|
|
|
193
197
|
}, []);
|
|
194
198
|
(0, _react.useEffect)(function () {
|
|
195
199
|
window.runtime.browserWindow.setAlwaysOnTop(false);
|
|
200
|
+
/** control-bar初始化后补偿发起一次store数据同步 */
|
|
201
|
+
fetchLeavingRoomPropsAfterInit();
|
|
196
202
|
setTimeout(function () {
|
|
197
203
|
window.runtime.browserWindow.setAlwaysOnTop(true, 'screen-saver');
|
|
198
204
|
}, 500);
|
|
@@ -315,7 +321,7 @@ var ControlBarView = exports.ControlBarView = (0, _mobxReact.observer)(function
|
|
|
315
321
|
onShareStateNavTransferPosition: handlerShareNavTransferPosition,
|
|
316
322
|
currentPosition: navCurrentPosition,
|
|
317
323
|
onStopShare: handlerStopShare
|
|
318
|
-
})]
|
|
324
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_meetingDetailsPortal["default"], {})]
|
|
319
325
|
})
|
|
320
326
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
|
|
321
327
|
});
|
|
@@ -15,6 +15,22 @@ require("core-js/modules/es.number.constructor.js");
|
|
|
15
15
|
require("core-js/modules/es.object.create.js");
|
|
16
16
|
require("core-js/modules/es.object.define-property.js");
|
|
17
17
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
18
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
19
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
20
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
21
|
+
require("core-js/modules/esnext.map.every.js");
|
|
22
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
23
|
+
require("core-js/modules/esnext.map.find.js");
|
|
24
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
25
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
26
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
27
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
28
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
29
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
30
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
31
|
+
require("core-js/modules/esnext.map.some.js");
|
|
32
|
+
require("core-js/modules/esnext.map.update.js");
|
|
33
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
18
34
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
19
35
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
20
36
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -25,6 +41,8 @@ require("core-js/modules/es.array.iterator.js");
|
|
|
25
41
|
require("core-js/modules/es.object.to-string.js");
|
|
26
42
|
require("core-js/modules/es.string.iterator.js");
|
|
27
43
|
require("core-js/modules/es.weak-map.js");
|
|
44
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
45
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
28
46
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
29
47
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
30
48
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
@@ -37,8 +55,8 @@ var _rendererEvent = require("../../utilities/renderer-event");
|
|
|
37
55
|
var _constant = require("../../utilities/constant");
|
|
38
56
|
var _LiveStreamingStore;
|
|
39
57
|
var _initProto, _init_videoSteamingUrl, _init_videoStreamingKey, _init_playUrl, _init_liveStreamingState, _init_isStartError, _initLiveStreamingDecs, _setIsStartErrorDecs, _setVideoStreamingStateDecs, _onLiveButtonClickDecs, _ref;
|
|
40
|
-
function _classPrivateFieldInitSpec(
|
|
41
|
-
function _checkPrivateRedeclaration(
|
|
58
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
59
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
42
60
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
43
61
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
44
62
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
@@ -76,9 +94,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
76
94
|
key: "videoStreamingKey",
|
|
77
95
|
get: function get() {
|
|
78
96
|
return _classPrivateFieldGet(_B, this);
|
|
79
|
-
}
|
|
80
|
-
}, {
|
|
81
|
-
key: "videoStreamingKey",
|
|
97
|
+
},
|
|
82
98
|
set: function set(v) {
|
|
83
99
|
_classPrivateFieldSet(_B, this, v);
|
|
84
100
|
}
|
|
@@ -86,9 +102,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
102
|
key: "playUrl",
|
|
87
103
|
get: function get() {
|
|
88
104
|
return _classPrivateFieldGet(_C, this);
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
key: "playUrl",
|
|
105
|
+
},
|
|
92
106
|
set: function set(v) {
|
|
93
107
|
_classPrivateFieldSet(_C, this, v);
|
|
94
108
|
}
|
|
@@ -96,9 +110,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
96
110
|
key: "liveStreamingState",
|
|
97
111
|
get: function get() {
|
|
98
112
|
return _classPrivateFieldGet(_D, this);
|
|
99
|
-
}
|
|
100
|
-
}, {
|
|
101
|
-
key: "liveStreamingState",
|
|
113
|
+
},
|
|
102
114
|
set: function set(v) {
|
|
103
115
|
_classPrivateFieldSet(_D, this, v);
|
|
104
116
|
}
|
|
@@ -106,9 +118,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
106
118
|
key: "isStartError",
|
|
107
119
|
get: function get() {
|
|
108
120
|
return _classPrivateFieldGet(_E, this);
|
|
109
|
-
}
|
|
110
|
-
}, {
|
|
111
|
-
key: "isStartError",
|
|
121
|
+
},
|
|
112
122
|
set: function set(v) {
|
|
113
123
|
_classPrivateFieldSet(_E, this, v);
|
|
114
124
|
}
|
|
@@ -134,7 +144,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
144
|
}, {
|
|
135
145
|
key: "onLiveButtonClick",
|
|
136
146
|
value: function () {
|
|
137
|
-
var _onLiveButtonClick = (0, _asyncToGenerator2["default"])(
|
|
147
|
+
var _onLiveButtonClick = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(videoSteamingUrl, videoStreamingKey, playUrl) {
|
|
138
148
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
139
149
|
while (1) switch (_context.prev = _context.next) {
|
|
140
150
|
case 0:
|
|
@@ -163,7 +173,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
163
173
|
}, {
|
|
164
174
|
key: "_startLiveStreaming",
|
|
165
175
|
value: function () {
|
|
166
|
-
var _startLiveStreaming2 = (0, _asyncToGenerator2["default"])(
|
|
176
|
+
var _startLiveStreaming2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(videoSteamingUrl, videoStreamingKey, playUrl) {
|
|
167
177
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
168
178
|
while (1) switch (_context2.prev = _context2.next) {
|
|
169
179
|
case 0:
|
|
@@ -189,7 +199,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
199
|
}, {
|
|
190
200
|
key: "_stopLiveStreaming",
|
|
191
201
|
value: function () {
|
|
192
|
-
var _stopLiveStreaming2 = (0, _asyncToGenerator2["default"])(
|
|
202
|
+
var _stopLiveStreaming2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3() {
|
|
193
203
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
194
204
|
while (1) switch (_context3.prev = _context3.next) {
|
|
195
205
|
case 0:
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AgoraRtcDisplayInfo, AgoraRtcScreenCaptureType, AgoraRtcWindowInfo } from 'agora-rte-sdk/lib/core/rtc/type';
|
|
3
2
|
import { AudioProcessingChannel } from 'agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio';
|
|
4
3
|
import { FcrUserInfo, FcrUserRole } from 'agora-edu-core/lib/type';
|