fcr-ui-scene 3.7.4 → 3.7.6
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/icon.png +0 -0
- package/installer/mac/entitlements.mac.plist +5 -1
- package/lib/assets/mic-loading.gif +0 -0
- package/lib/base.d.ts +15 -6
- package/lib/base.js +139 -107
- package/lib/{creator.d.ts → creator/index.d.ts} +16 -12
- package/lib/{creator.js → creator/index.js} +281 -210
- package/lib/creator/provider-initializer.browser.d.ts +14 -0
- package/lib/creator/provider-initializer.browser.js +303 -0
- package/lib/creator/provider-initializer.electron.d.ts +14 -0
- package/lib/creator/provider-initializer.electron.js +343 -0
- package/lib/creator/type.d.ts +15 -0
- package/lib/electron/app.js +84 -48
- package/lib/electron/bootstrap-sdk.js +138 -15
- package/lib/electron/event-manager.d.ts +88 -0
- package/lib/electron/event-manager.js +242 -0
- package/lib/electron/injections.d.ts +14 -32
- package/lib/electron/injections.js +207 -326
- package/lib/electron/ipc/type.d.ts +2 -0
- package/lib/electron/ipc/type.js +2 -0
- package/lib/electron/ipc-protocol.d.ts +91 -0
- package/lib/electron/ipc-protocol.js +61 -0
- package/lib/electron/main.js +64 -86
- package/lib/electron/preload.d.ts +1 -1
- package/lib/electron/preload.js +18 -112
- package/lib/electron/sdk-helper.d.ts +4 -0
- package/lib/electron/sdk-helper.js +272 -0
- package/lib/electron/struct.d.ts +12 -0
- package/lib/electron/struct.js +21 -0
- package/lib/electron/until.d.ts +32 -0
- package/lib/electron/until.js +58 -0
- package/lib/electron/window-proxy/browser-window-proxy.d.ts +63 -0
- package/lib/electron/window-proxy/browser-window-proxy.js +728 -0
- package/lib/electron/window-proxy/main-process-handler.d.ts +45 -0
- package/lib/electron/window-proxy/main-process-handler.js +446 -0
- package/lib/electron/window.d.ts +0 -4
- package/lib/electron/window.js +10 -21
- package/lib/fragments/annotation/index.d.ts +1 -0
- package/lib/fragments/annotation/index.js +3 -1
- package/lib/fragments/annotation/store.d.ts +1 -0
- package/lib/fragments/annotation/store.js +45 -18
- package/lib/fragments/annotation/toolbar/store.d.ts +6 -6
- package/lib/fragments/annotation/toolbar/store.js +13 -41
- package/lib/fragments/annotation/toolbar/view.js +32 -37
- package/lib/fragments/annotation/view.d.ts +0 -1
- package/lib/fragments/annotation/view.js +11 -12
- package/lib/fragments/base.d.ts +3 -0
- package/lib/fragments/base.js +3 -1
- package/lib/fragments/whiteboard/index.d.ts +1 -1
- package/lib/fragments/whiteboard/index.js +3 -6
- package/lib/fragments/whiteboard/store.d.ts +1 -0
- package/lib/fragments/whiteboard/store.js +15 -8
- package/lib/global.css +22 -10
- package/lib/global.d.ts +19 -1
- package/lib/modules/action-bar/components/apps/index.js +1 -1
- package/lib/modules/action-bar/components/chat/index.js +1 -1
- package/lib/modules/action-bar/components/collapse/index.d.ts +1 -1
- package/lib/modules/action-bar/components/collapse/index.js +1 -3
- package/lib/modules/action-bar/components/confirm-leave-meeting/index.d.ts +3 -0
- package/lib/modules/action-bar/components/confirm-leave-meeting/index.js +78 -0
- package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -1
- package/lib/modules/action-bar/components/interpreter/index.js +1 -1
- package/lib/modules/action-bar/components/item/index.d.ts +1 -1
- package/lib/modules/action-bar/components/leave/index.js +1 -1
- package/lib/modules/action-bar/components/live-streaming/index.js +1 -1
- package/lib/modules/action-bar/components/more/index.js +3 -9
- package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -1
- package/lib/modules/action-bar/components/more/poppover-content.js +13 -13
- package/lib/modules/action-bar/components/notification-bar/index.js +1 -1
- package/lib/modules/action-bar/components/participants/index.js +1 -1
- package/lib/modules/action-bar/components/placement/index.d.ts +1 -1
- package/lib/modules/action-bar/components/record/index.js +1 -1
- package/lib/modules/action-bar/components/record/popover.js +1 -1
- package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -1
- package/lib/modules/action-bar/components/screen-share/index.browser.d.ts +4 -0
- package/lib/modules/action-bar/components/screen-share/index.browser.js +62 -0
- package/lib/modules/action-bar/components/screen-share/index.electron.d.ts +4 -0
- package/lib/modules/action-bar/components/screen-share/index.electron.js +72 -0
- package/lib/modules/action-bar/components/screen-share/index.js +3 -85
- package/lib/modules/action-bar/components/screen-share/submenu.d.ts +5 -1
- package/lib/modules/action-bar/components/screen-share/submenu.js +56 -43
- package/lib/modules/action-bar/components/security/index.js +2 -14
- package/lib/modules/action-bar/components/settings/index.js +3 -3
- package/lib/modules/action-bar/components/smaller/index.js +1 -1
- package/lib/modules/action-bar/components/trigger-output-language/index.js +1 -1
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +1 -1
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -2
- package/lib/modules/action-bar/constants.d.ts +1 -0
- package/lib/modules/action-bar/constants.js +8 -0
- package/lib/modules/action-bar/main-scene/index.d.ts +19 -0
- package/lib/modules/action-bar/main-scene/index.js +141 -0
- package/lib/modules/action-bar/{store.d.ts → main-scene/store.base.d.ts} +84 -108
- package/lib/modules/action-bar/{store.js → main-scene/store.base.js} +285 -288
- package/lib/modules/action-bar/main-scene/store.browser.d.ts +4 -0
- package/lib/modules/action-bar/main-scene/store.browser.js +111 -0
- package/lib/modules/action-bar/main-scene/store.electron.d.ts +10 -0
- package/lib/modules/action-bar/main-scene/store.electron.js +100 -0
- package/lib/modules/action-bar/main-scene/view.d.ts +4 -0
- package/lib/modules/action-bar/{view.js → main-scene/view.js} +16 -17
- package/lib/modules/action-bar/{types.d.ts → type.d.ts} +9 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/waiting-scene/index.d.ts +15 -0
- package/lib/modules/action-bar/waiting-scene/index.js +102 -0
- package/lib/modules/action-bar/waiting-scene/store.base.d.ts +9 -0
- package/lib/{shared-data-source/annotation-data.js → modules/action-bar/waiting-scene/store.base.js} +20 -35
- package/lib/modules/action-bar/waiting-scene/store.browser.d.ts +3 -0
- package/lib/modules/action-bar/waiting-scene/store.browser.js +25 -0
- package/lib/modules/action-bar/waiting-scene/store.electron.d.ts +9 -0
- package/lib/modules/action-bar/waiting-scene/store.electron.js +45 -0
- package/lib/modules/action-bar/waiting-scene/view.d.ts +2 -0
- package/lib/modules/action-bar/waiting-scene/view.js +123 -0
- package/lib/modules/audio-stream/index.d.ts +3 -14
- package/lib/modules/audio-stream/index.js +21 -16
- package/lib/modules/chat/chat-room-store.d.ts +7 -20
- package/lib/modules/chat/chat-room-store.js +21 -20
- package/lib/modules/chat/components/message-list/index.js +1 -1
- package/lib/modules/chat/components/message-list/message-item/index.js +2 -2
- package/lib/modules/chat/index.css +4 -0
- package/lib/modules/chat/index.d.ts +6 -22
- package/lib/modules/chat/index.dev.js +9 -9
- package/lib/modules/chat/index.js +52 -108
- package/lib/modules/chat/store.d.ts +16 -30
- package/lib/modules/chat/store.js +138 -53
- package/lib/modules/chat/types.d.ts +19 -2
- package/lib/modules/chat/view.js +5 -4
- package/lib/modules/components/annotation-menu/index.js +1 -6
- package/lib/modules/components/control-bar/components/switch-theme/index.js +2 -2
- package/lib/modules/components/control-bar/index.css +17 -5
- package/lib/modules/components/control-bar/index.d.ts +19 -11
- package/lib/modules/components/control-bar/index.js +101 -29
- package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/carmera/index.js +16 -16
- package/lib/modules/components/device-control/components/microphone/index.d.ts +3 -2
- package/lib/modules/components/device-control/components/microphone/index.js +44 -28
- package/lib/modules/components/device-control/components/none-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/phone-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/video-menu/index.js +4 -4
- package/lib/modules/components/device-control/main-scene/store.d.ts +9 -0
- package/lib/modules/components/device-control/main-scene/store.js +94 -0
- package/lib/modules/components/device-control/{store.d.ts → store.base.d.ts} +12 -15
- package/lib/modules/components/device-control/{store.js → store.base.js} +39 -33
- package/lib/modules/components/device-control/type.d.ts +4 -0
- package/lib/modules/components/device-control/waiting-scene/store.d.ts +5 -0
- package/lib/modules/components/device-control/waiting-scene/store.js +90 -0
- package/lib/modules/components/leave-meeting/components/assign-host.d.ts +1 -1
- package/lib/modules/components/leave-meeting/index.js +7 -11
- package/lib/modules/components/leave-meeting/main-scene/store.d.ts +14 -0
- package/lib/modules/components/leave-meeting/main-scene/store.js +113 -0
- package/lib/modules/components/leave-meeting/store.base.d.ts +36 -0
- package/lib/modules/components/leave-meeting/{store.js → store.base.js} +45 -50
- package/lib/modules/components/leave-meeting/type.d.ts +4 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +13 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.js +104 -0
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +5 -6
- package/lib/modules/components/member-window/components/member-actions/index.js +2 -0
- package/lib/modules/components/member-window/components/member-actions/libs/index.js +12 -14
- package/lib/modules/components/member-window/components/member-actions/provider.d.ts +1 -0
- package/lib/modules/components/member-window/components/member-actions/provider.js +14 -3
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +17 -5
- package/lib/modules/components/member-window/components/member-actions/store.js +28 -10
- package/lib/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +4 -4
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +1 -1
- package/lib/modules/components/member-window/components/video-player/components/zoomable-container.js +18 -32
- package/lib/modules/components/member-window/types.d.ts +1 -0
- package/lib/modules/components/security-menu/index.d.ts +1 -9
- package/lib/modules/components/security-menu/index.js +42 -39
- package/lib/modules/components/security-menu/store.d.ts +47 -0
- package/lib/modules/components/security-menu/store.js +332 -0
- package/lib/modules/components/security-menu/type.d.ts +4 -0
- package/lib/modules/components/security-menu/type.js +6 -0
- package/lib/modules/components/tab-frame/index.js +6 -21
- package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +1 -0
- package/lib/modules/components/toolbar/components/capture-tool/index.js +3 -4
- package/lib/modules/components/toolbar/components/color-tool/index.d.ts +2 -1
- package/lib/modules/components/toolbar/components/graphic-tool/index.js +0 -2
- package/lib/modules/components/toolbar/components/multiple-color-tool/index.d.ts +2 -1
- package/lib/modules/components/toolbar/components/multiple-color-tool/index.js +1 -1
- package/lib/modules/components/toolbar/components/vertical-frame/index.js +9 -5
- package/lib/modules/components/toolbar/hooks/use-resize-visible.js +16 -4
- package/lib/modules/components/toolbar/index.d.ts +3 -1
- package/lib/modules/components/toolbar/index.js +5 -3
- package/lib/modules/connection-gateway/index.d.ts +3 -18
- package/lib/modules/connection-gateway/index.js +25 -28
- package/lib/modules/connection-gateway/store.d.ts +4 -20
- package/lib/modules/connection-gateway/store.js +19 -21
- package/lib/modules/connection-gateway/types.d.ts +4 -0
- package/lib/modules/control-bar/components/boundary-detector.d.ts +8 -0
- package/lib/modules/control-bar/components/boundary-detector.js +56 -0
- package/lib/modules/control-bar/components/carmera/index.d.ts +1 -0
- package/lib/modules/control-bar/components/carmera/index.js +147 -0
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +3 -0
- package/lib/modules/control-bar/components/meeting-details/index.js +7 -17
- package/lib/modules/control-bar/components/microphone/index.d.ts +6 -0
- package/lib/modules/control-bar/components/microphone/index.js +233 -0
- package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -1
- package/lib/modules/control-bar/components/more-actions/index.js +22 -59
- package/lib/modules/control-bar/components/share-audio/index.d.ts +0 -2
- package/lib/modules/control-bar/components/share-audio/index.js +6 -24
- package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -1
- package/lib/modules/control-bar/components/share-state-nav/index.js +9 -5
- package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -1
- package/lib/modules/control-bar/context.d.ts +5 -0
- package/lib/modules/control-bar/context.js +12 -0
- package/lib/modules/control-bar/enums.d.ts +3 -1
- package/lib/modules/control-bar/enums.js +2 -0
- package/lib/modules/control-bar/hooks.d.ts +3 -0
- package/lib/modules/control-bar/hooks.js +36 -0
- package/lib/modules/control-bar/index.d.ts +21 -49
- package/lib/modules/control-bar/index.dev.js +40 -0
- package/lib/modules/control-bar/index.js +99 -45
- package/lib/modules/control-bar/reactor.d.ts +2 -0
- package/lib/modules/control-bar/reactor.js +8 -0
- package/lib/modules/control-bar/store.d.ts +58 -117
- package/lib/modules/control-bar/store.js +360 -456
- package/lib/modules/control-bar/type.d.ts +43 -0
- package/lib/modules/control-bar/type.js +6 -0
- package/lib/modules/control-bar/view.d.ts +1 -5
- package/lib/modules/control-bar/view.js +622 -459
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +1 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +3 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
- package/lib/modules/device-pretest/index.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +3 -4
- package/lib/modules/device-pretest/settings/beauty.d.ts +1 -1
- package/lib/modules/device-pretest/settings/beauty.js +3 -3
- package/lib/modules/device-pretest/settings/video-effect.js +1 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
- package/lib/modules/device-pretest/store.d.ts +3 -2
- package/lib/modules/dialog/components/confirm/index.d.ts +5 -0
- package/lib/modules/dialog/components/confirm/index.js +162 -0
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +10 -8
- package/lib/modules/dialog/components/dialog-container/component/body.js +40 -26
- package/lib/modules/dialog/components/dialog-container/index.css +10 -0
- package/lib/modules/dialog/components/dialog-container/index.d.ts +5 -7
- package/lib/modules/dialog/components/dialog-container/index.js +42 -62
- package/lib/modules/dialog/components/host-area-container/index.d.ts +1 -1
- package/lib/modules/dialog/components/host-area-container/index.js +142 -200
- package/lib/modules/dialog/components/normal-window/index.d.ts +17 -14
- package/lib/modules/dialog/components/normal-window/index.js +40 -57
- package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +6 -3
- package/lib/modules/dialog/dialogs/annotation-tool/index.js +18 -19
- package/lib/modules/dialog/dialogs/chat/components/actions.d.ts +3 -1
- package/lib/modules/dialog/dialogs/chat/components/actions.js +17 -7
- package/lib/modules/dialog/dialogs/chat/index.d.ts +27 -4
- package/lib/modules/dialog/dialogs/chat/index.js +51 -30
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -0
- package/lib/modules/dialog/dialogs/confirm/index.d.ts +22 -1
- package/lib/modules/dialog/dialogs/confirm/index.js +49 -33
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +18 -6
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +25 -43
- package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +24 -8
- package/lib/modules/dialog/dialogs/connection-gateway/index.js +36 -43
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +17 -15
- package/lib/modules/dialog/dialogs/control-bar/index.d.ts +21 -8
- package/lib/modules/dialog/dialogs/control-bar/index.js +19 -114
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +19 -0
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +41 -0
- package/lib/modules/dialog/dialogs/device-setting/index.d.ts +16 -1
- package/lib/modules/dialog/dialogs/device-setting/index.js +29 -27
- package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +10 -10
- package/lib/modules/dialog/dialogs/end-meeting/index.js +35 -26
- package/lib/modules/dialog/dialogs/interpreter/index.d.ts +18 -3
- package/lib/modules/dialog/dialogs/interpreter/index.js +33 -31
- package/lib/modules/dialog/dialogs/invite/index.d.ts +22 -1
- package/lib/modules/dialog/dialogs/invite/index.js +43 -43
- package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +12 -1
- package/lib/modules/dialog/dialogs/live-streaming/index.js +23 -22
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -0
- package/lib/modules/dialog/dialogs/mute-all/index.d.ts +20 -0
- package/lib/modules/dialog/dialogs/mute-all/index.js +49 -0
- package/lib/modules/dialog/dialogs/participant/components/actions.d.ts +3 -1
- package/lib/modules/dialog/dialogs/participant/components/actions.js +6 -8
- package/lib/modules/dialog/dialogs/participant/components/title.d.ts +6 -1
- package/lib/modules/dialog/dialogs/participant/components/title.js +4 -7
- package/lib/modules/dialog/dialogs/participant/index.d.ts +26 -2
- package/lib/modules/dialog/dialogs/participant/index.js +46 -40
- package/lib/modules/dialog/dialogs/rename/index.d.ts +18 -3
- package/lib/modules/dialog/dialogs/rename/index.js +29 -14
- package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +21 -0
- package/lib/modules/dialog/dialogs/sample-dialog/index.js +55 -0
- package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +19 -4
- package/lib/modules/dialog/dialogs/share-screen-selection/index.js +40 -33
- package/lib/modules/dialog/dialogs/sub-window/index.d.ts +21 -1
- package/lib/modules/dialog/dialogs/sub-window/index.js +27 -91
- package/lib/modules/dialog/dialogs/system-preference/electron.js +15 -16
- package/lib/modules/dialog/dialogs/system-preference/index.css +2 -2
- package/lib/modules/dialog/dialogs/system-preference/index.d.ts +32 -5
- package/lib/modules/dialog/dialogs/system-preference/index.js +55 -46
- package/lib/modules/dialog/dialogs/toast/index.d.ts +21 -3
- package/lib/modules/dialog/dialogs/toast/index.js +18 -41
- package/lib/modules/dialog/dialogs/video-window/index.d.ts +29 -2
- package/lib/modules/dialog/dialogs/video-window/index.js +50 -261
- package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +23 -4
- package/lib/modules/dialog/dialogs/whiteboard/index.js +58 -64
- package/lib/modules/dialog/dialogs/widget/index.d.ts +18 -6
- package/lib/modules/dialog/dialogs/widget/index.js +34 -28
- package/lib/modules/dialog/index.css +8 -1
- package/lib/modules/dialog/index.d.ts +5 -46
- package/lib/modules/dialog/index.js +29 -74
- package/lib/modules/dialog/level-config.d.ts +11 -11
- package/lib/modules/dialog/level-config.js +12 -15
- package/lib/modules/dialog/store.base.d.ts +46 -0
- package/lib/modules/dialog/store.base.js +279 -0
- package/lib/modules/dialog/store.browser.d.ts +18 -0
- package/lib/modules/dialog/store.browser.js +141 -0
- package/lib/modules/dialog/store.electron.d.ts +36 -0
- package/lib/modules/dialog/store.electron.js +299 -0
- package/lib/modules/dialog/type.d.ts +16 -11
- package/lib/modules/dialog/view.d.ts +1 -1
- package/lib/modules/dialog/view.js +10 -12
- package/lib/modules/event-sound/index.d.ts +3 -37
- package/lib/modules/event-sound/index.js +18 -273
- package/lib/modules/event-sound/store.d.ts +36 -0
- package/lib/modules/event-sound/store.js +283 -0
- package/lib/modules/event-sound/type.d.ts +4 -0
- package/lib/modules/event-sound/type.js +6 -0
- package/lib/modules/event-toast/index.css +0 -1
- package/lib/modules/event-toast/index.d.ts +5 -6
- package/lib/modules/event-toast/index.js +41 -24
- package/lib/modules/event-toast/store.base.d.ts +20 -0
- package/lib/modules/event-toast/{store.js → store.base.js} +80 -86
- package/lib/modules/event-toast/store.browser.d.ts +4 -0
- package/lib/modules/event-toast/store.browser.js +30 -0
- package/lib/modules/event-toast/store.electron.d.ts +17 -0
- package/lib/modules/event-toast/store.electron.js +144 -0
- package/lib/modules/event-toast/type.d.ts +10 -0
- package/lib/modules/event-toast/type.js +6 -0
- package/lib/modules/event-toast/view.js +13 -9
- package/lib/modules/interpreter/index.css +4 -0
- package/lib/modules/interpreter/index.d.ts +3 -15
- package/lib/modules/interpreter/index.js +18 -16
- package/lib/modules/interpreter/store.d.ts +10 -16
- package/lib/modules/interpreter/store.js +20 -49
- package/lib/modules/interpreter/type.d.ts +3 -15
- package/lib/modules/interpreter/view.d.ts +1 -0
- package/lib/modules/interpreter/view.js +4 -19
- package/lib/modules/invite/components/pstn-invite.js +2 -2
- package/lib/modules/invite/index.d.ts +3 -10
- package/lib/modules/invite/index.js +25 -12
- package/lib/modules/invite/store.d.ts +17 -30
- package/lib/modules/invite/store.js +65 -79
- package/lib/modules/invite/types.d.ts +5 -1
- package/lib/modules/layout/components/Aside.js +1 -1
- package/lib/modules/layout/components/Carousel.js +1 -1
- package/lib/modules/layout/components/CommonVideoRenderer.js +41 -5
- package/lib/modules/layout/components/Gallery.js +1 -1
- package/lib/modules/layout/components/who-is-speaking.js +1 -1
- package/lib/modules/layout/index.d.ts +3 -39
- package/lib/modules/layout/index.dev.js +8 -8
- package/lib/modules/layout/index.js +32 -45
- package/lib/modules/layout/{store.d.ts → store.base.d.ts} +31 -24
- package/lib/modules/layout/{store.js → store.base.js} +65 -137
- package/lib/modules/layout/store.browser.d.ts +11 -0
- package/lib/modules/layout/store.browser.js +56 -0
- package/lib/modules/layout/store.electron.d.ts +16 -0
- package/lib/modules/layout/store.electron.js +177 -0
- package/lib/modules/layout/type.d.ts +3 -39
- package/lib/modules/layout/view.js +1 -1
- package/lib/modules/live-streaming/index.d.ts +2 -15
- package/lib/modules/live-streaming/index.dev.js +3 -3
- package/lib/modules/live-streaming/index.js +25 -12
- package/lib/modules/live-streaming/store.d.ts +6 -18
- package/lib/modules/live-streaming/store.js +22 -26
- package/lib/modules/live-streaming/type.d.ts +4 -0
- package/lib/modules/live-streaming/type.js +6 -0
- package/lib/modules/notification/index.d.ts +3 -7
- package/lib/modules/notification/index.js +26 -16
- package/lib/modules/notification/store.d.ts +11 -6
- package/lib/modules/notification/store.js +51 -11
- package/lib/modules/notification/type.d.ts +4 -0
- package/lib/modules/notification/type.js +6 -0
- package/lib/modules/notification/view.d.ts +6 -6
- package/lib/modules/notification/view.js +23 -32
- package/lib/modules/offscreen-pulling/index.js +1 -1
- package/lib/modules/participant/components/confirm-input/index.js +5 -4
- package/lib/modules/participant/components/mute-all/index.d.ts +1 -4
- package/lib/modules/participant/components/mute-all/index.js +32 -11
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +1 -1
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -2
- package/lib/modules/participant/components/participants/components/footer/index.js +5 -3
- package/lib/modules/participant/components/participants/components/merge/index.d.ts +1 -2
- package/lib/modules/participant/components/participants/components/merge/index.js +1 -3
- package/lib/modules/participant/components/participants/components/render-tab/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +5 -4
- package/lib/modules/participant/components/participants/index.js +17 -37
- package/lib/modules/participant/components/participants/types.d.ts +1 -0
- package/lib/modules/participant/index.css +4 -0
- package/lib/modules/participant/index.d.ts +6 -47
- package/lib/modules/participant/index.dev.js +9 -9
- package/lib/modules/participant/index.js +60 -56
- package/lib/modules/participant/member-list-data-source.d.ts +2 -1
- package/lib/modules/participant/member-list-data-source.js +14 -14
- package/lib/modules/participant/store.base.d.ts +434 -0
- package/lib/modules/participant/store.base.js +2365 -0
- package/lib/modules/participant/store.browser.d.ts +9 -0
- package/lib/modules/participant/store.browser.js +123 -0
- package/lib/modules/participant/store.electron.d.ts +13 -0
- package/lib/modules/participant/store.electron.js +130 -0
- package/lib/modules/participant/struct.d.ts +49 -0
- package/lib/modules/participant/struct.js +60 -0
- package/lib/modules/participant/type.d.ts +5 -22
- package/lib/modules/participant/type.js +1 -25
- package/lib/modules/participant/view.js +1 -1
- package/lib/modules/pc-audio-connect/main-scene/index.d.ts +14 -0
- package/lib/modules/pc-audio-connect/{index.js → main-scene/index.js} +38 -19
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +33 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +313 -0
- package/lib/modules/pc-audio-connect/types.d.ts +4 -0
- package/lib/modules/pc-audio-connect/types.js +6 -1
- package/lib/modules/pc-audio-connect/view.js +2 -1
- package/lib/modules/pc-audio-connect/waiting-scene/index.d.ts +10 -0
- package/lib/modules/pc-audio-connect/waiting-scene/index.js +69 -0
- package/lib/modules/pc-audio-connect/waiting-scene/store.d.ts +30 -0
- package/lib/modules/pc-audio-connect/{store.js → waiting-scene/store.js} +38 -47
- package/lib/modules/phone-audio-connect/index.d.ts +2 -10
- package/lib/modules/phone-audio-connect/index.js +16 -9
- package/lib/modules/phone-audio-connect/store.d.ts +2 -11
- package/lib/modules/phone-audio-connect/store.js +12 -13
- package/lib/modules/phone-audio-connect/types.d.ts +4 -0
- package/lib/modules/secondary-window/index.d.ts +8 -29
- package/lib/modules/secondary-window/index.js +51 -9
- package/lib/modules/secondary-window/store.d.ts +27 -24
- package/lib/modules/secondary-window/store.js +171 -64
- package/lib/modules/secondary-window/type.d.ts +4 -0
- package/lib/modules/secondary-window/view.js +105 -73
- package/lib/modules/setting/audio-settings/audio-settings.js +5 -16
- package/lib/modules/setting/general-settings/general-settings.js +16 -11
- package/lib/modules/setting/index.css +1 -0
- package/lib/modules/setting/index.d.ts +8 -27
- package/lib/modules/setting/index.dev.js +10 -10
- package/lib/modules/setting/index.js +57 -30
- package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
- package/lib/modules/setting/state/index.js +3 -3
- package/lib/modules/setting/storage-settings/storage-settings.js +3 -14
- package/lib/modules/setting/{store.d.ts → store.base.d.ts} +32 -92
- package/lib/modules/setting/{store.js → store.base.js} +304 -286
- package/lib/modules/setting/store.browser.d.ts +7 -0
- package/lib/modules/setting/store.browser.js +55 -0
- package/lib/modules/setting/store.electron.d.ts +9 -0
- package/lib/modules/setting/store.electron.js +69 -0
- package/lib/modules/setting/translate-settings/translate-settings.js +2 -2
- package/lib/modules/setting/type.d.ts +69 -0
- package/lib/modules/setting/type.js +26 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +2 -2
- package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
- package/lib/modules/setting/video-settings/video-settings.js +9 -10
- package/lib/modules/setting/view.d.ts +0 -8
- package/lib/modules/setting/view.js +15 -27
- package/lib/modules/share-screen/components/control-bar/index.js +87 -81
- package/lib/modules/share-screen/components/selection/index.css +6 -3
- package/lib/modules/share-screen/components/selection/index.js +178 -202
- package/lib/modules/share-screen/index.d.ts +16 -30
- package/lib/modules/share-screen/index.dev.js +11 -11
- package/lib/modules/share-screen/index.js +47 -35
- package/lib/modules/share-screen/store.base.d.ts +49 -0
- package/lib/modules/share-screen/store.base.js +468 -0
- package/lib/modules/share-screen/store.browser.d.ts +9 -0
- package/lib/modules/share-screen/store.browser.js +43 -0
- package/lib/modules/share-screen/store.electron.d.ts +25 -0
- package/lib/modules/share-screen/store.electron.js +268 -0
- package/lib/modules/share-screen/type.d.ts +40 -0
- package/lib/modules/share-screen/type.js +13 -0
- package/lib/modules/share-screen/view.js +5 -6
- package/lib/modules/state-bar/index.d.ts +6 -35
- package/lib/modules/state-bar/index.dev.js +7 -7
- package/lib/modules/state-bar/index.js +18 -48
- package/lib/modules/state-bar/layout-config.js +5 -4
- package/lib/modules/state-bar/live-streaming-state.js +6 -5
- package/lib/modules/state-bar/main-scene/index.d.ts +5 -0
- package/lib/modules/state-bar/main-scene/index.js +47 -0
- package/lib/modules/state-bar/main-scene/store.base.d.ts +23 -0
- package/lib/modules/state-bar/main-scene/store.base.js +132 -0
- package/lib/modules/state-bar/main-scene/store.browser.d.ts +4 -0
- package/lib/modules/state-bar/main-scene/store.browser.js +86 -0
- package/lib/modules/state-bar/main-scene/store.electron.d.ts +13 -0
- package/lib/modules/state-bar/main-scene/store.electron.js +113 -0
- package/lib/modules/state-bar/meeting-details.js +20 -36
- package/lib/modules/state-bar/meeting-network-state.js +3 -3
- package/lib/modules/state-bar/meeting-time.js +1 -1
- package/lib/modules/state-bar/network-quality.js +1 -1
- package/lib/modules/state-bar/recording.js +7 -6
- package/lib/modules/state-bar/store.base.d.ts +82 -0
- package/lib/modules/state-bar/store.base.electron.d.ts +15 -0
- package/lib/{providers/whiteboard-provider.js → modules/state-bar/store.base.electron.js} +42 -60
- package/lib/modules/state-bar/{store.js → store.base.js} +140 -208
- package/lib/modules/state-bar/type.d.ts +5 -0
- package/lib/modules/state-bar/type.js +6 -0
- package/lib/modules/state-bar/view.js +36 -38
- package/lib/modules/state-bar/waiting-scene/index.d.ts +5 -0
- package/lib/modules/state-bar/waiting-scene/index.js +47 -0
- package/lib/modules/state-bar/waiting-scene/store.base.d.ts +11 -0
- package/lib/modules/state-bar/waiting-scene/store.base.js +50 -0
- package/lib/modules/state-bar/waiting-scene/store.browser.d.ts +4 -0
- package/lib/modules/state-bar/waiting-scene/store.browser.js +86 -0
- package/lib/modules/state-bar/waiting-scene/store.electron.d.ts +12 -0
- package/lib/modules/state-bar/waiting-scene/store.electron.js +105 -0
- package/lib/modules/video-window/components/members/index.js +3 -5
- package/lib/modules/video-window/index.d.ts +6 -38
- package/lib/modules/video-window/index.js +46 -56
- package/lib/modules/video-window/popover-watcher.d.ts +9 -0
- package/lib/modules/video-window/popover-watcher.js +60 -0
- package/lib/modules/video-window/store.d.ts +32 -22
- package/lib/modules/video-window/store.js +181 -140
- package/lib/modules/video-window/type.d.ts +3 -27
- package/lib/modules/video-window/view.js +58 -7
- package/lib/modules/waiting-room-layout/index.d.ts +3 -9
- package/lib/modules/waiting-room-layout/index.js +28 -21
- package/lib/modules/waiting-room-layout/store.d.ts +4 -10
- package/lib/modules/waiting-room-layout/store.js +10 -7
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +6 -14
- package/lib/modules/whiteboard/components/control-bar/store.js +29 -31
- package/lib/modules/whiteboard/components/loading/index.d.ts +7 -1
- package/lib/modules/whiteboard/components/loading/index.js +6 -9
- package/lib/modules/whiteboard/components/multi-window/index.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -6
- package/lib/modules/whiteboard/components/toolbar/store.js +4 -13
- package/lib/modules/whiteboard/index.d.ts +4 -92
- package/lib/modules/whiteboard/index.js +24 -813
- package/lib/modules/whiteboard/libs/theme.d.ts +4 -0
- package/lib/modules/whiteboard/libs/theme.js +31 -0
- package/lib/modules/whiteboard/store.browser.d.ts +5 -0
- package/lib/modules/whiteboard/store.browser.js +28 -0
- package/lib/modules/whiteboard/store.d.ts +67 -0
- package/lib/modules/whiteboard/store.electron.d.ts +10 -0
- package/lib/modules/whiteboard/store.electron.js +135 -0
- package/lib/modules/whiteboard/store.js +433 -0
- package/lib/modules/whiteboard/style.css +2 -12
- package/lib/modules/whiteboard/type.d.ts +4 -0
- package/lib/modules/whiteboard/view.js +95 -41
- package/lib/modules/widget/index.css +7 -15
- package/lib/modules/widget/index.d.ts +3 -3
- package/lib/modules/widget/index.js +22 -14
- package/lib/modules/widget/store.base.d.ts +15 -0
- package/lib/modules/widget/{store.js → store.base.js} +8 -6
- package/lib/modules/widget/store.browser.d.ts +6 -0
- package/lib/modules/widget/store.browser.js +81 -0
- package/lib/modules/widget/store.electron.d.ts +12 -0
- package/lib/modules/widget/store.electron.js +129 -0
- package/lib/modules/widget/type.d.ts +8 -7
- package/lib/modules/widget/view.d.ts +1 -0
- package/lib/modules/widget/view.js +22 -16
- package/lib/modules/widget/web-widget.d.ts +5 -4
- package/lib/modules/widget/web-widget.js +32 -40
- package/lib/object-manager.d.ts +79 -4
- package/lib/object-manager.js +135 -10
- package/lib/plugins/browser-runtime-plugin.js +1 -110
- package/lib/plugins/css-preset-plugin.js +0 -2
- package/lib/plugins/module-dev-plugin.js +62 -81
- package/lib/providers/ability-provider.d.ts +9 -1
- package/lib/providers/ability-provider.js +51 -49
- package/lib/providers/annotation/provider.d.ts +15 -0
- package/lib/providers/annotation/provider.js +69 -0
- package/lib/providers/annotation/type.d.ts +60 -0
- package/lib/providers/annotation/type.js +6 -0
- package/lib/providers/app-list-provider.d.ts +8 -6
- package/lib/providers/app-list-provider.js +17 -15
- package/lib/providers/board-share/bar-control/base.d.ts +47 -0
- package/lib/providers/board-share/bar-control/base.js +306 -0
- package/lib/providers/board-share/bar-control/browser.d.ts +10 -0
- package/lib/providers/board-share/bar-control/browser.js +42 -0
- package/lib/providers/board-share/bar-control/electron.d.ts +29 -0
- package/lib/providers/board-share/bar-control/electron.js +202 -0
- package/lib/providers/board-share/bar-control.d.ts +51 -0
- package/lib/{shared-data-source/whiteboard-data.js → providers/board-share/bar-control.js} +104 -62
- package/lib/providers/board-share/provider.base.d.ts +63 -0
- package/lib/providers/board-share/provider.base.js +394 -0
- package/lib/providers/board-share/provider.browser.d.ts +15 -0
- package/lib/providers/board-share/provider.browser.js +136 -0
- package/lib/providers/board-share/provider.electron.d.ts +22 -0
- package/lib/providers/board-share/provider.electron.js +163 -0
- package/lib/providers/board-share/struct.d.ts +14 -0
- package/lib/providers/board-share/struct.js +23 -0
- package/lib/providers/board-share/type.d.ts +161 -0
- package/lib/providers/board-share/type.js +6 -0
- package/lib/providers/chat-provider.d.ts +8 -2
- package/lib/providers/chat-provider.js +26 -12
- package/lib/providers/device-privilege-provider.d.ts +3 -2
- package/lib/providers/device-privilege-provider.js +1 -3
- package/lib/providers/device-provider.d.ts +39 -8
- package/lib/providers/device-provider.js +237 -142
- package/lib/providers/device-stream-provider.d.ts +6 -6
- package/lib/providers/device-stream-provider.js +31 -36
- package/lib/providers/dialog/provider.base.d.ts +43 -0
- package/lib/providers/dialog/provider.base.js +289 -0
- package/lib/providers/dialog/provider.browser.d.ts +16 -0
- package/lib/{modules/annotation/index.js → providers/dialog/provider.browser.js} +91 -92
- package/lib/providers/dialog/provider.electron.d.ts +16 -0
- package/lib/providers/dialog/provider.electron.js +263 -0
- package/lib/providers/dialog/type.d.ts +168 -0
- package/lib/providers/dialog/type.js +15 -0
- package/lib/providers/event-provider.d.ts +3 -67
- package/lib/providers/event-provider.js +4 -229
- package/lib/providers/facility/provider.base.d.ts +31 -0
- package/lib/providers/facility/provider.base.js +159 -0
- package/lib/providers/facility/provider.browser.d.ts +14 -0
- package/lib/providers/facility/provider.browser.js +75 -0
- package/lib/providers/facility/provider.electron.d.ts +17 -0
- package/lib/providers/facility/provider.electron.js +91 -0
- package/lib/providers/facility/struct.d.ts +5 -0
- package/lib/providers/facility/struct.js +13 -0
- package/lib/providers/facility/type.d.ts +36 -0
- package/lib/providers/facility/type.js +6 -0
- package/lib/providers/interpreter-provider.d.ts +4 -3
- package/lib/providers/interpreter-provider.js +2 -4
- package/lib/providers/local-storage-provider.d.ts +8 -1
- package/lib/providers/local-storage-provider.js +4 -3
- package/lib/providers/message/provider.d.ts +14 -0
- package/lib/providers/{message-provider.js → message/provider.js} +16 -52
- package/lib/providers/message/struct.d.ts +4 -0
- package/lib/providers/message/struct.js +12 -0
- package/lib/providers/{message-provider.d.ts → message/type.d.ts} +9 -27
- package/lib/providers/message/type.js +6 -0
- package/lib/providers/monitor-provider.d.ts +3 -1
- package/lib/providers/monitor-provider.js +4 -3
- package/lib/providers/mouse-detect/provider.d.ts +24 -0
- package/lib/providers/mouse-detect/provider.js +294 -0
- package/lib/providers/mouse-detect/struct.d.ts +4 -0
- package/lib/providers/mouse-detect/struct.js +12 -0
- package/lib/providers/mouse-detect/type.d.ts +14 -0
- package/lib/providers/mouse-detect/type.js +6 -0
- package/lib/providers/multi-display-provider.d.ts +27 -19
- package/lib/providers/multi-display-provider.js +127 -101
- package/lib/providers/phone-audio-provider.d.ts +3 -2
- package/lib/providers/phone-audio-provider.js +16 -16
- package/lib/providers/privilege-provider.d.ts +2 -1
- package/lib/providers/privilege-provider.js +9 -9
- package/lib/providers/renderer-provider.d.ts +23 -8
- package/lib/providers/renderer-provider.js +93 -28
- package/lib/providers/{room-provider.d.ts → room-provider/room-provider.d.ts} +19 -47
- package/lib/providers/{room-provider.js → room-provider/room-provider.js} +48 -206
- package/lib/{waiting-room-control-manager.d.ts → providers/room-provider/waiting-room-control-manager.d.ts} +1 -1
- package/lib/{waiting-room-control-manager.js → providers/room-provider/waiting-room-control-manager.js} +1 -1
- package/lib/providers/screen-share/provider.base.d.ts +95 -0
- package/lib/providers/screen-share/provider.base.js +525 -0
- package/lib/providers/screen-share/provider.browser.d.ts +19 -0
- package/lib/providers/screen-share/provider.browser.js +301 -0
- package/lib/providers/screen-share/provider.electron.d.ts +18 -0
- package/lib/providers/screen-share/provider.electron.js +452 -0
- package/lib/providers/screen-share/strategy/browser.d.ts +22 -0
- package/lib/providers/screen-share/strategy/browser.js +266 -0
- package/lib/providers/screen-share/strategy/electron.d.ts +22 -0
- package/lib/providers/screen-share/strategy/electron.js +294 -0
- package/lib/providers/screen-share/strategy/type.d.ts +39 -0
- package/lib/providers/screen-share/strategy/type.js +39 -0
- package/lib/providers/screen-share/stream-state-sync.d.ts +18 -0
- package/lib/providers/screen-share/stream-state-sync.js +217 -0
- package/lib/providers/screen-share/struct.d.ts +46 -0
- package/lib/providers/screen-share/struct.js +56 -0
- package/lib/providers/screen-share/type.d.ts +170 -0
- package/lib/providers/screen-share/type.js +6 -0
- package/lib/providers/session-provider.d.ts +3 -1
- package/lib/providers/session-provider.js +4 -3
- package/lib/providers/setting-storage/provider.base.d.ts +9 -0
- package/lib/providers/setting-storage/provider.base.js +14 -0
- package/lib/providers/setting-storage/provider.browser.d.ts +7 -0
- package/lib/providers/{user-setting-storage-provider.js → setting-storage/provider.browser.js} +23 -24
- package/lib/providers/setting-storage/provider.electron.d.ts +10 -0
- package/lib/providers/setting-storage/provider.electron.js +62 -0
- package/lib/providers/setting-storage/type.d.ts +18 -0
- package/lib/providers/setting-storage/type.js +6 -0
- package/lib/providers/widget-provider.d.ts +14 -6
- package/lib/providers/widget-provider.js +18 -24
- package/lib/providers/window/main-window.d.ts +51 -0
- package/lib/providers/window/main-window.js +306 -0
- package/lib/providers/window/provider.d.ts +27 -0
- package/lib/providers/window/provider.js +164 -0
- package/lib/providers/window/renderer-window.d.ts +77 -0
- package/lib/providers/window/renderer-window.js +512 -0
- package/lib/providers/window/type.d.ts +122 -0
- package/lib/providers/window/type.js +6 -0
- package/lib/runtime.d.ts +85 -82
- package/lib/runtime.js +7 -0
- package/lib/scenes/main-scene.d.ts +4 -110
- package/lib/scenes/main-scene.js +442 -545
- package/lib/scenes/type.d.ts +7 -0
- package/lib/scenes/type.js +6 -0
- package/lib/scenes/waiting-scene.d.ts +2 -76
- package/lib/scenes/waiting-scene.js +58 -165
- package/lib/schema.d.ts +2 -2
- package/lib/{utilities → shared-context}/board-context.d.ts +2 -0
- package/lib/{utilities → shared-context}/board-context.js +2 -0
- package/lib/shared-context/dialog-context.d.ts +13 -0
- package/lib/shared-context/dialog-context.js +10 -0
- package/lib/{utilities → shared-context}/video-track-render-context.js +1 -1
- package/lib/{shared-data-source → shared-data}/app-list-data.d.ts +6 -4
- package/lib/{shared-data-source → shared-data}/app-list-data.js +7 -4
- package/lib/{shared-data-source → shared-data}/chat-data.d.ts +4 -2
- package/lib/{shared-data-source → shared-data}/chat-data.js +11 -8
- package/lib/{shared-data-source → shared-data}/config.d.ts +8 -3
- package/lib/{shared-data-source → shared-data}/config.js +9 -3
- package/lib/{shared-data-source → shared-data}/confirm-data.d.ts +10 -9
- package/lib/{shared-data-source → shared-data}/confirm-data.js +10 -9
- package/lib/{shared-data-source → shared-data}/device-privilege-data.d.ts +3 -1
- package/lib/{shared-data-source → shared-data}/device-privilege-data.js +4 -3
- package/lib/{shared-data-source → shared-data}/interpreter.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/interpreter.js +16 -21
- package/lib/{shared-data-source → shared-data}/layout-data.d.ts +3 -1
- package/lib/{shared-data-source → shared-data}/layout-data.js +12 -9
- package/lib/{shared-data-source → shared-data}/meeting-time.d.ts +2 -6
- package/lib/{shared-data-source → shared-data}/meeting-time.js +12 -12
- package/lib/{shared-data-source → shared-data}/member-data.d.ts +8 -17
- package/lib/{shared-data-source → shared-data}/member-data.js +66 -94
- package/lib/{shared-data-source → shared-data}/pin-data.d.ts +6 -4
- package/lib/{shared-data-source → shared-data}/pin-data.js +14 -11
- package/lib/shared-data/screen-share/index.d.ts +26 -0
- package/lib/shared-data/screen-share/index.js +211 -0
- package/lib/shared-data/screen-share/type.d.ts +42 -0
- package/lib/shared-data/screen-share/type.js +6 -0
- package/lib/{shared-data-source → shared-data}/security-data.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/security-data.js +13 -13
- package/lib/{shared-data-source → shared-data}/setting.d.ts +5 -3
- package/lib/{shared-data-source → shared-data}/setting.js +8 -5
- package/lib/shared-data/speaker-spotlight.d.ts +7 -0
- package/lib/{shared-data-source → shared-data}/speaker-spotlight.js +10 -6
- package/lib/{shared-data-source → shared-data}/video-window.d.ts +3 -2
- package/lib/{shared-data-source → shared-data}/video-window.js +4 -3
- package/lib/{shared-data-source → shared-data}/waiting-room.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/waiting-room.js +10 -10
- package/lib/shared-data/widget-data.d.ts +13 -0
- package/lib/shared-data/widget-data.js +50 -0
- package/lib/translations/enUS.d.ts +16 -3
- package/lib/translations/enUS.js +22 -9
- package/lib/translations/zhCN.d.ts +16 -3
- package/lib/translations/zhCN.js +22 -9
- package/lib/type.d.ts +70 -79
- package/lib/type.js +16 -4
- package/lib/ui-manager.d.ts +6 -6
- package/lib/ui-manager.js +38 -10
- package/lib/ui-scene.d.ts +9 -39
- package/lib/ui-scene.js +160 -226
- package/lib/utilities/{screen.d.ts → browser-api.d.ts} +1 -0
- package/lib/utilities/{copyText.js → browser-api.js} +36 -1
- package/lib/utilities/constant.d.ts +67 -73
- package/lib/utilities/constant.js +70 -73
- package/lib/utilities/default-config.d.ts +32 -1
- package/lib/utilities/default-config.js +33 -1
- package/lib/utilities/dialog-utils.d.ts +8 -12
- package/lib/utilities/dialog-utils.js +63 -74
- package/lib/utilities/focus-helper.d.ts +2 -0
- package/lib/utilities/focus-helper.js +26 -0
- package/lib/utilities/logger.js +9 -1
- package/lib/utilities/meeting-detail.d.ts +10 -1
- package/lib/utilities/meeting-detail.js +25 -3
- package/lib/utilities/platform.d.ts +1 -0
- package/lib/utilities/platform.js +4 -1
- package/lib/utilities/renderer.d.ts +75 -17
- package/lib/utilities/renderer.js +418 -78
- package/package.json +6 -6
- package/public/index.html +50 -21
- package/lib/modules/action-bar/index.d.ts +0 -58
- package/lib/modules/action-bar/index.dev.d.ts +0 -0
- package/lib/modules/action-bar/index.dev.js +0 -94
- package/lib/modules/action-bar/index.js +0 -109
- package/lib/modules/action-bar/view.d.ts +0 -5
- package/lib/modules/annotation/annotation-index.d.ts +0 -2
- package/lib/modules/annotation/annotation-index.js +0 -80
- package/lib/modules/annotation/annotation-toolbar-store.d.ts +0 -75
- package/lib/modules/annotation/annotation-toolbar-store.js +0 -459
- package/lib/modules/annotation/board-cursor.css +0 -77
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +0 -5
- package/lib/modules/annotation/components/color-picker/components/color.js +0 -38
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/panel.js +0 -109
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/picker.js +0 -75
- package/lib/modules/annotation/components/color-picker/index.d.ts +0 -2
- package/lib/modules/annotation/components/color-picker/index.js +0 -47
- package/lib/modules/annotation/components/eraser-picker.d.ts +0 -4
- package/lib/modules/annotation/components/eraser-picker.js +0 -144
- package/lib/modules/annotation/components/expansion/index.js +0 -100
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +0 -1
- package/lib/modules/annotation/components/extra-tool-picker.js +0 -62
- package/lib/modules/annotation/components/history.d.ts +0 -2
- package/lib/modules/annotation/components/history.js +0 -78
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +0 -2
- package/lib/modules/annotation/components/icons/fold-icon.js +0 -41
- package/lib/modules/annotation/components/icons/move-icon.d.ts +0 -1
- package/lib/modules/annotation/components/icons/move-icon.js +0 -66
- package/lib/modules/annotation/components/item/index.d.ts +0 -1
- package/lib/modules/annotation/components/item/index.js +0 -43
- package/lib/modules/annotation/components/move-handle.d.ts +0 -5
- package/lib/modules/annotation/components/move-handle.js +0 -134
- package/lib/modules/annotation/components/pen-picker.d.ts +0 -4
- package/lib/modules/annotation/components/pen-picker.js +0 -155
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +0 -4
- package/lib/modules/annotation/components/screen-capture-picker.js +0 -85
- package/lib/modules/annotation/components/shape-picker.d.ts +0 -4
- package/lib/modules/annotation/components/shape-picker.js +0 -210
- package/lib/modules/annotation/hooks/index.d.ts +0 -14
- package/lib/modules/annotation/hooks/index.js +0 -292
- package/lib/modules/annotation/index.d.ts +0 -45
- package/lib/modules/annotation/store.d.ts +0 -98
- package/lib/modules/annotation/store.js +0 -620
- package/lib/modules/annotation/style.css +0 -36
- package/lib/modules/annotation/view.d.ts +0 -3
- package/lib/modules/annotation/view.js +0 -44
- package/lib/modules/components/leave-meeting/store.d.ts +0 -39
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +0 -1
- package/lib/modules/control-bar/components/annotation-button/index.js +0 -72
- package/lib/modules/control-bar/types.d.ts +0 -20
- package/lib/modules/dialog/dialogs/pre-setting/index.css +0 -26
- package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +0 -6
- package/lib/modules/dialog/dialogs/pre-setting/index.js +0 -62
- package/lib/modules/dialog/dialogs/widget/electron.d.ts +0 -6
- package/lib/modules/dialog/dialogs/widget/electron.js +0 -38
- package/lib/modules/dialog/hooks/use-popover-watcher.d.ts +0 -14
- package/lib/modules/dialog/hooks/use-popover-watcher.js +0 -110
- package/lib/modules/dialog/hooks/useElectron.d.ts +0 -28
- package/lib/modules/dialog/hooks/useElectron.js +0 -277
- package/lib/modules/dialog/store.d.ts +0 -135
- package/lib/modules/dialog/store.js +0 -616
- package/lib/modules/event-confirm/components/window/index.d.ts +0 -7
- package/lib/modules/event-confirm/components/window/index.js +0 -221
- package/lib/modules/event-confirm/index.d.ts +0 -27
- package/lib/modules/event-confirm/index.js +0 -76
- package/lib/modules/event-confirm/store.d.ts +0 -50
- package/lib/modules/event-confirm/store.js +0 -394
- package/lib/modules/event-confirm/view.d.ts +0 -2
- package/lib/modules/event-confirm/view.js +0 -55
- package/lib/modules/event-toast/store.d.ts +0 -27
- package/lib/modules/participant/store.d.ts +0 -222
- package/lib/modules/participant/store.js +0 -1929
- package/lib/modules/pc-audio-connect/index.d.ts +0 -22
- package/lib/modules/pc-audio-connect/store.d.ts +0 -46
- package/lib/modules/setting/common/advance-link.d.ts +0 -3
- package/lib/modules/setting/common/advance-link.js +0 -27
- package/lib/modules/setting/common/index.css +0 -26
- package/lib/modules/setting/common/useNamespace.d.ts +0 -15
- package/lib/modules/setting/common/useNamespace.js +0 -66
- package/lib/modules/setting/dialog-wrapper.d.ts +0 -2
- package/lib/modules/setting/dialog-wrapper.js +0 -110
- package/lib/modules/share-screen/store.d.ts +0 -148
- package/lib/modules/share-screen/store.js +0 -950
- package/lib/modules/share-screen/types.d.ts +0 -26
- package/lib/modules/state-bar/store.d.ts +0 -124
- package/lib/modules/whiteboard/components/progress/electron.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +0 -33
- package/lib/modules/widget/store.d.ts +0 -14
- package/lib/providers/annotation-provider.d.ts +0 -124
- package/lib/providers/annotation-provider.js +0 -369
- package/lib/providers/dialog-provider.d.ts +0 -137
- package/lib/providers/dialog-provider.js +0 -194
- package/lib/providers/screen-share-provider.d.ts +0 -246
- package/lib/providers/screen-share-provider.js +0 -850
- package/lib/providers/sharing-provider.d.ts +0 -42
- package/lib/providers/sharing-provider.js +0 -228
- package/lib/providers/user-setting-storage-provider.d.ts +0 -21
- package/lib/providers/whiteboard-provider.d.ts +0 -24
- package/lib/shared-data-source/annotation-data.d.ts +0 -17
- package/lib/shared-data-source/screen-share-data.d.ts +0 -364
- package/lib/shared-data-source/screen-share-data.js +0 -520
- package/lib/shared-data-source/speaker-spotlight.d.ts +0 -5
- package/lib/shared-data-source/whiteboard-data.d.ts +0 -70
- package/lib/utilities/copyText.d.ts +0 -2
- package/lib/utilities/renderer-event.d.ts +0 -10
- package/lib/utilities/renderer-event.js +0 -95
- package/lib/utilities/screen-capture-permission.d.ts +0 -2
- package/lib/utilities/screen-capture-permission.js +0 -24
- package/lib/utilities/screen.js +0 -53
- /package/lib/{modules/action-bar/types.js → creator/type.js} +0 -0
- /package/lib/modules/{control-bar/types.js → components/device-control/type.js} +0 -0
- /package/lib/modules/{share-screen/types.js → components/leave-meeting/type.js} +0 -0
- /package/lib/modules/{annotation/components/expansion/index.d.ts → control-bar/index.dev.d.ts} +0 -0
- /package/lib/modules/{event-confirm → dialog/components/confirm}/index.css +0 -0
- /package/lib/{utilities → shared-context}/video-track-render-context.d.ts +0 -0
|
@@ -9,6 +9,7 @@ require("core-js/modules/es.array.filter.js");
|
|
|
9
9
|
require("core-js/modules/es.array.is-array.js");
|
|
10
10
|
require("core-js/modules/es.date.to-primitive.js");
|
|
11
11
|
require("core-js/modules/es.function.name.js");
|
|
12
|
+
require("core-js/modules/es.map.js");
|
|
12
13
|
require("core-js/modules/es.number.constructor.js");
|
|
13
14
|
require("core-js/modules/es.object.create.js");
|
|
14
15
|
require("core-js/modules/es.object.define-properties.js");
|
|
@@ -18,13 +19,27 @@ require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
|
18
19
|
require("core-js/modules/es.object.keys.js");
|
|
19
20
|
require("core-js/modules/esnext.function.metadata.js");
|
|
20
21
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
22
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
23
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
24
|
+
require("core-js/modules/esnext.map.every.js");
|
|
25
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
26
|
+
require("core-js/modules/esnext.map.find.js");
|
|
27
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
28
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
29
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
30
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
31
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
32
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
33
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
34
|
+
require("core-js/modules/esnext.map.some.js");
|
|
35
|
+
require("core-js/modules/esnext.map.update.js");
|
|
21
36
|
require("core-js/modules/esnext.symbol.metadata.js");
|
|
22
37
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
23
38
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
24
39
|
Object.defineProperty(exports, "__esModule", {
|
|
25
40
|
value: true
|
|
26
41
|
});
|
|
27
|
-
exports
|
|
42
|
+
exports.ActionBarMainSceneStoreBase = exports.ActionBarContext = void 0;
|
|
28
43
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
29
44
|
require("core-js/modules/es.array.find.js");
|
|
30
45
|
require("core-js/modules/es.array.for-each.js");
|
|
@@ -34,7 +49,6 @@ require("core-js/modules/es.array.push.js");
|
|
|
34
49
|
require("core-js/modules/es.array.reduce.js");
|
|
35
50
|
require("core-js/modules/es.array.some.js");
|
|
36
51
|
require("core-js/modules/es.function.bind.js");
|
|
37
|
-
require("core-js/modules/es.map.js");
|
|
38
52
|
require("core-js/modules/es.object.to-string.js");
|
|
39
53
|
require("core-js/modules/es.object.values.js");
|
|
40
54
|
require("core-js/modules/es.string.includes.js");
|
|
@@ -45,20 +59,6 @@ require("core-js/modules/esnext.iterator.find.js");
|
|
|
45
59
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
46
60
|
require("core-js/modules/esnext.iterator.reduce.js");
|
|
47
61
|
require("core-js/modules/esnext.iterator.some.js");
|
|
48
|
-
require("core-js/modules/esnext.map.delete-all.js");
|
|
49
|
-
require("core-js/modules/esnext.map.emplace.js");
|
|
50
|
-
require("core-js/modules/esnext.map.every.js");
|
|
51
|
-
require("core-js/modules/esnext.map.filter.js");
|
|
52
|
-
require("core-js/modules/esnext.map.find.js");
|
|
53
|
-
require("core-js/modules/esnext.map.find-key.js");
|
|
54
|
-
require("core-js/modules/esnext.map.includes.js");
|
|
55
|
-
require("core-js/modules/esnext.map.key-of.js");
|
|
56
|
-
require("core-js/modules/esnext.map.map-keys.js");
|
|
57
|
-
require("core-js/modules/esnext.map.map-values.js");
|
|
58
|
-
require("core-js/modules/esnext.map.merge.js");
|
|
59
|
-
require("core-js/modules/esnext.map.reduce.js");
|
|
60
|
-
require("core-js/modules/esnext.map.some.js");
|
|
61
|
-
require("core-js/modules/esnext.map.update.js");
|
|
62
62
|
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
63
63
|
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
64
64
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
@@ -69,21 +69,23 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
69
69
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
70
70
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
71
71
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
72
|
-
var
|
|
72
|
+
var _react = require("react");
|
|
73
73
|
var _mobx = require("mobx");
|
|
74
|
-
var _type = require("fcr-core/lib/type");
|
|
74
|
+
var _type = require("fcr-core/lib/room-control/type");
|
|
75
|
+
var _logger = require("agora-foundation/lib/logger");
|
|
76
|
+
var _type2 = require("../../../type");
|
|
77
|
+
var _type3 = require("fcr-core/lib/type");
|
|
78
|
+
var _enums = require("../enums");
|
|
79
|
+
var _objectManager = require("../../../object-manager");
|
|
75
80
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
76
|
-
var _type2 = require("../../type");
|
|
77
|
-
var _env = require("agora-foundation/lib/utilities/env");
|
|
78
|
-
var _type3 = require("agora-ui-foundation/lib/components/icon/type");
|
|
79
81
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var
|
|
83
|
-
var
|
|
84
|
-
var
|
|
85
|
-
var
|
|
86
|
-
var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex,
|
|
82
|
+
var _constant = require("../../../utilities/constant");
|
|
83
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
84
|
+
var _type4 = require("agora-ui-foundation/lib/components/icon/type");
|
|
85
|
+
var _defaultConfig = require("../../../utilities/default-config");
|
|
86
|
+
var _struct = require("../../../providers/facility/struct");
|
|
87
|
+
var _ActionBarMainSceneStoreBase;
|
|
88
|
+
var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_hasOfflineUserExistence, _init_connectionState, _init_appActionbarPopoverVisible, _init_stateBarLeaveMeeting, _setCheckedStateMapDecs, _setStateBarLeaveMeetingDecs, _setPopoverOpenedDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _setEndMeetingPopoverOpenedDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _getOfflineUserExistenceStateDecs, _clickWidgetDecs, _closeWidgetDecs, _ref;
|
|
87
89
|
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; }
|
|
88
90
|
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; }
|
|
89
91
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -96,12 +98,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
96
98
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
97
99
|
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
98
100
|
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
99
|
-
var AudioConnectType = exports.AudioConnectType = /*#__PURE__*/function (AudioConnectType) {
|
|
100
|
-
AudioConnectType[AudioConnectType["NONE"] = 0] = "NONE";
|
|
101
|
-
AudioConnectType[AudioConnectType["COMPUTER"] = 1] = "COMPUTER";
|
|
102
|
-
AudioConnectType[AudioConnectType["PHONE"] = 2] = "PHONE";
|
|
103
|
-
return AudioConnectType;
|
|
104
|
-
}({});
|
|
105
101
|
var _A = /*#__PURE__*/new WeakMap();
|
|
106
102
|
var _B = /*#__PURE__*/new WeakMap();
|
|
107
103
|
var _C = /*#__PURE__*/new WeakMap();
|
|
@@ -116,18 +112,19 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
116
112
|
var _L = /*#__PURE__*/new WeakMap();
|
|
117
113
|
var _M = /*#__PURE__*/new WeakMap();
|
|
118
114
|
var _N = /*#__PURE__*/new WeakMap();
|
|
119
|
-
_ref = (_setCheckedStateMapDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
115
|
+
_ref = (_setCheckedStateMapDecs = [_mobx.action, _mobx.action.bound], _setStateBarLeaveMeetingDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
120
116
|
leading: true
|
|
121
117
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
122
118
|
leading: true
|
|
123
119
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
124
120
|
leading: true
|
|
125
|
-
})], _showLockedRoomToastDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound],
|
|
126
|
-
var
|
|
127
|
-
function
|
|
121
|
+
})], _showLockedRoomToastDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _handleJoinWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _setAppActionbarPopoverVisibleDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _setOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _setEndMeetingPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _subscribeLanguageDecs = [_mobx.action, _mobx.action.bound], _subscribeExtraOriginLanguageDecs = [_mobx.action, _mobx.action.bound], _getOfflineUserExistenceStateDecs = [_mobx.action, _mobx.action.bound], _clickWidgetDecs = [_mobx.action, _mobx.action.bound], _closeWidgetDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
122
|
+
var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
|
|
123
|
+
function ActionBarMainSceneStoreBase(_ref2) {
|
|
128
124
|
var _this = this,
|
|
129
125
|
_this$_roomControl$ge;
|
|
130
|
-
|
|
126
|
+
var objectManager = _ref2.objectManager;
|
|
127
|
+
(0, _classCallCheck2["default"])(this, ActionBarMainSceneStoreBase);
|
|
131
128
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
132
129
|
prefix: 'ActionBarStore'
|
|
133
130
|
})));
|
|
@@ -136,10 +133,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
136
133
|
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
137
134
|
onRemoteUsersLeft: this._handleRemoteUsersLeft
|
|
138
135
|
});
|
|
139
|
-
// private _waitingRoomUserObserver: FcrUserObserver = {
|
|
140
|
-
// onRemoteUsersJoined: this._handleRemoteWaitingUserJoined,
|
|
141
|
-
// onRemoteUsersLeft: this._handleRemoteWaitingUserLeft,
|
|
142
|
-
// };
|
|
143
136
|
(0, _defineProperty2["default"])(this, "_roomObserver", {
|
|
144
137
|
onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
|
|
145
138
|
});
|
|
@@ -150,7 +143,10 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
150
143
|
(0, _defineProperty2["default"])(this, "_uiEventObserver", {
|
|
151
144
|
onEvent: this._onEvent
|
|
152
145
|
});
|
|
153
|
-
(0, _defineProperty2["default"])(this, "
|
|
146
|
+
(0, _defineProperty2["default"])(this, "_dialogObserver", {
|
|
147
|
+
onDialogOpen: this._handleDialogOpen,
|
|
148
|
+
onDialogClose: this._handleDialogClose
|
|
149
|
+
});
|
|
154
150
|
(0, _defineProperty2["default"])(this, "_newMessageTooltipTimer", null);
|
|
155
151
|
(0, _defineProperty2["default"])(this, "_hideBarArrowTimer", null);
|
|
156
152
|
(0, _defineProperty2["default"])(this, "_interpreterProviderObserver", {
|
|
@@ -171,48 +167,45 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
171
167
|
_classPrivateFieldInitSpec(this, _H, _init_showArrow(this, false));
|
|
172
168
|
_classPrivateFieldInitSpec(this, _I, _init_phoneMicEnabled(this, false));
|
|
173
169
|
_classPrivateFieldInitSpec(this, _J, _init_chatTabIndex(this, _type2.FcrUIRoomType.MAIN_ROOM));
|
|
174
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
175
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
176
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
177
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this._sharedWaitingRoomDataSource =
|
|
189
|
-
this._sharedInterpreterDataSource =
|
|
190
|
-
this._sharedChatDataSource =
|
|
191
|
-
this._sharedDevicePrivilegeDataSource =
|
|
192
|
-
this._sharedMemberDataSource =
|
|
193
|
-
this._widgetProvider =
|
|
194
|
-
this.
|
|
195
|
-
this._sharedScreenShareSharedDataSource =
|
|
196
|
-
this._abilityProvider =
|
|
197
|
-
this._applistProvider =
|
|
198
|
-
this.
|
|
199
|
-
this._sharedWhiteboardDataSource = args.sharedWhiteboardDataSource;
|
|
170
|
+
_classPrivateFieldInitSpec(this, _K, _init_hasOfflineUserExistence(this, true));
|
|
171
|
+
_classPrivateFieldInitSpec(this, _L, _init_connectionState(this, _type3.FcrConnectionState.CONNECTED));
|
|
172
|
+
_classPrivateFieldInitSpec(this, _M, _init_appActionbarPopoverVisible(this, false));
|
|
173
|
+
_classPrivateFieldInitSpec(this, _N, _init_stateBarLeaveMeeting(this, false));
|
|
174
|
+
this._sharedLayoutDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
|
|
175
|
+
this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
|
|
176
|
+
this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
|
|
177
|
+
this._roomProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ROOM_PROVIDER);
|
|
178
|
+
this._roomControl = this._roomProvider.currentRoomControl;
|
|
179
|
+
this._deviceProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PROVIDER);
|
|
180
|
+
this._dialogProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
181
|
+
this._messageProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MESSAGE_PROVIDER);
|
|
182
|
+
this._privilegeProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_PRIVILEGE_PROVIDER);
|
|
183
|
+
this._deviceStreamProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_STREAM_PROVIDER);
|
|
184
|
+
this._sharedWaitingRoomDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_WAITING_ROOM_DATA_SOURCE);
|
|
185
|
+
this._sharedInterpreterDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
|
|
186
|
+
this._sharedChatDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_CHAT_DATA_SOURCE);
|
|
187
|
+
this._sharedDevicePrivilegeDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_DEVICE_PRIVILEGE_DATA_SOURCE);
|
|
188
|
+
this._sharedMemberDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
|
|
189
|
+
this._widgetProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_WIDGET_PROVIDER);
|
|
190
|
+
this._sharedSecurityDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_SECURITY_DATA_SOURCE);
|
|
191
|
+
this._sharedScreenShareSharedDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_SCREEN_SHARE_DATA_SOURCE);
|
|
192
|
+
this._abilityProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ABILITY_PROVIDER);
|
|
193
|
+
this._applistProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_APPLIST_PROVIDER);
|
|
194
|
+
this._facilityProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_FACILITY_PROVIDER);
|
|
200
195
|
this._applistProvider.addObserver(this._applistObserver);
|
|
201
196
|
this._userControl = this._roomControl.getUserControl();
|
|
202
197
|
this._roomType = (_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType;
|
|
203
198
|
this.liveStreamingState = this._roomControl.getLiveStreamingState();
|
|
204
199
|
this.cloudRecordingState = this._roomControl.getCloudRecordingState();
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
this._interpreterProvider.addObserver(this._interpreterProviderObserver);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
200
|
+
this._interpreterProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_INTERPRETER_PROVIDER);
|
|
201
|
+
this._interpreterProvider.addObserver(this._interpreterProviderObserver);
|
|
202
|
+
this._roomProvider.addObserver(this._roomObserver);
|
|
203
|
+
this._boardShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_BOARD_SHARE_PROVIDER);
|
|
212
204
|
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
213
205
|
this._userControl.addObserver(this._userObserver);
|
|
214
206
|
this._roomControl.addObserver(this._mainRoomObserver);
|
|
215
207
|
this._eventProvider.addObserver(this._uiEventObserver);
|
|
208
|
+
this._dialogProvider.addObserver(this._dialogObserver);
|
|
216
209
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
217
210
|
return _this.localUserRole;
|
|
218
211
|
}, function (role) {
|
|
@@ -232,19 +225,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
232
225
|
} else {
|
|
233
226
|
_this._handleChatVisible(false);
|
|
234
227
|
}
|
|
235
|
-
}),
|
|
236
|
-
// reaction(
|
|
237
|
-
// () => this._sharedWaitingRoomDataSource.totalWaitingRoomUser,
|
|
238
|
-
// (totalWaitingRoomUser) => {
|
|
239
|
-
// if (totalWaitingRoomUser === 0) {
|
|
240
|
-
// this.newMessageCount = {
|
|
241
|
-
// ...this.newMessageCount,
|
|
242
|
-
// [FcrRoomType.Waitingroom]: 0,
|
|
243
|
-
// };
|
|
244
|
-
// }
|
|
245
|
-
// },
|
|
246
|
-
// ),
|
|
247
|
-
(0, _mobx.reaction)(function () {
|
|
228
|
+
}), (0, _mobx.reaction)(function () {
|
|
248
229
|
return _this.newMessageCount;
|
|
249
230
|
}, function (count) {
|
|
250
231
|
var hasMainRoomMessage = count[_type2.FcrUIRoomType.MAIN_ROOM] && count[_type2.FcrUIRoomType.MAIN_ROOM] > 0;
|
|
@@ -258,7 +239,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
258
239
|
}
|
|
259
240
|
}));
|
|
260
241
|
}
|
|
261
|
-
return (0, _createClass2["default"])(
|
|
242
|
+
return (0, _createClass2["default"])(ActionBarMainSceneStoreBase, [{
|
|
262
243
|
key: "newMessageTooltipVisible",
|
|
263
244
|
get: function get() {
|
|
264
245
|
return _classPrivateFieldGet(_A, this);
|
|
@@ -339,7 +320,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
339
320
|
_classPrivateFieldSet(_J, this, v);
|
|
340
321
|
}
|
|
341
322
|
}, {
|
|
342
|
-
key: "
|
|
323
|
+
key: "hasOfflineUserExistence",
|
|
343
324
|
get: function get() {
|
|
344
325
|
return _classPrivateFieldGet(_K, this);
|
|
345
326
|
},
|
|
@@ -347,7 +328,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
347
328
|
_classPrivateFieldSet(_K, this, v);
|
|
348
329
|
}
|
|
349
330
|
}, {
|
|
350
|
-
key: "
|
|
331
|
+
key: "connectionState",
|
|
351
332
|
get: function get() {
|
|
352
333
|
return _classPrivateFieldGet(_L, this);
|
|
353
334
|
},
|
|
@@ -355,7 +336,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
355
336
|
_classPrivateFieldSet(_L, this, v);
|
|
356
337
|
}
|
|
357
338
|
}, {
|
|
358
|
-
key: "
|
|
339
|
+
key: "appActionbarPopoverVisible",
|
|
359
340
|
get: function get() {
|
|
360
341
|
return _classPrivateFieldGet(_M, this);
|
|
361
342
|
},
|
|
@@ -363,7 +344,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
363
344
|
_classPrivateFieldSet(_M, this, v);
|
|
364
345
|
}
|
|
365
346
|
}, {
|
|
366
|
-
key: "
|
|
347
|
+
key: "stateBarLeaveMeeting",
|
|
367
348
|
get: function get() {
|
|
368
349
|
return _classPrivateFieldGet(_N, this);
|
|
369
350
|
},
|
|
@@ -371,19 +352,19 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
371
352
|
_classPrivateFieldSet(_N, this, v);
|
|
372
353
|
}
|
|
373
354
|
}, {
|
|
374
|
-
key: "
|
|
375
|
-
|
|
376
|
-
this.
|
|
355
|
+
key: "endMeetingPopoverOpened",
|
|
356
|
+
get: function get() {
|
|
357
|
+
return this._sharedLayoutDataSource.endMeetingPopoverOpened;
|
|
377
358
|
}
|
|
378
359
|
}, {
|
|
379
360
|
key: "checkedStateMap",
|
|
380
361
|
get: function get() {
|
|
381
|
-
return this.
|
|
362
|
+
return this._sharedSecurityDataSource.checkedStateMap;
|
|
382
363
|
}
|
|
383
364
|
}, {
|
|
384
365
|
key: "setCheckedStateMap",
|
|
385
366
|
value: function setCheckedStateMap(val) {
|
|
386
|
-
this.
|
|
367
|
+
this._sharedSecurityDataSource.setCheckedStateMap(val);
|
|
387
368
|
}
|
|
388
369
|
}, {
|
|
389
370
|
key: "registeredWidgetConfigs",
|
|
@@ -516,17 +497,19 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
516
497
|
}, {
|
|
517
498
|
key: "hasStopScreenSharePermission",
|
|
518
499
|
get: function get() {
|
|
519
|
-
return
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
return this._sharedScreenShareSharedDataSource.screenSharingOwner;
|
|
500
|
+
return false;
|
|
501
|
+
// this.hasScreenShare && this.hasEnableStartScreenSharePermission
|
|
502
|
+
// &&
|
|
503
|
+
// this.sharingOwnerUser &&
|
|
504
|
+
// this.localUserId !== this.sharingOwnerUser?.userId
|
|
525
505
|
}
|
|
526
506
|
}, {
|
|
527
507
|
key: "hasEnableStartScreenSharePermission",
|
|
528
508
|
get: function get() {
|
|
529
|
-
return this._privilegeProvider.hasStopScreenSharePermission(
|
|
509
|
+
// return this._privilegeProvider.hasStopScreenSharePermission(
|
|
510
|
+
// this.sharingOwnerUser?.userRole as FcrUserRole,
|
|
511
|
+
// );
|
|
512
|
+
return false;
|
|
530
513
|
}
|
|
531
514
|
}, {
|
|
532
515
|
key: "hasStartLiveStreamingPermission",
|
|
@@ -583,11 +566,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
583
566
|
get: function get() {
|
|
584
567
|
return this._privilegeProvider.hasAllowWriteBoardPermission();
|
|
585
568
|
}
|
|
586
|
-
}, {
|
|
587
|
-
key: "hasScreenShare",
|
|
588
|
-
get: function get() {
|
|
589
|
-
return this._sharedScreenShareSharedDataSource.isSharingScreen;
|
|
590
|
-
}
|
|
591
569
|
}, {
|
|
592
570
|
key: "hasAllowScreenShareAndBoardPermission",
|
|
593
571
|
get: function get() {
|
|
@@ -658,7 +636,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
658
636
|
}, {
|
|
659
637
|
key: "isMainRoom",
|
|
660
638
|
get: function get() {
|
|
661
|
-
return this._roomType ===
|
|
639
|
+
return this._roomType === _type.FcrRoomType.Mainroom;
|
|
662
640
|
}
|
|
663
641
|
}, {
|
|
664
642
|
key: "hasAllowChangeNamePromission",
|
|
@@ -678,11 +656,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
678
656
|
set: function set(value) {
|
|
679
657
|
this._sharedChatDataSource.newMessageCount = value;
|
|
680
658
|
}
|
|
681
|
-
}, {
|
|
682
|
-
key: "endMeetingPopoverOpened",
|
|
683
|
-
get: function get() {
|
|
684
|
-
return this._sharedLayoutDataSource.endMeetingPopoverOpened;
|
|
685
|
-
}
|
|
686
659
|
}, {
|
|
687
660
|
key: "latestMessage",
|
|
688
661
|
get: function get() {
|
|
@@ -696,19 +669,51 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
696
669
|
}, {
|
|
697
670
|
key: "isMeSharingScreen",
|
|
698
671
|
get: function get() {
|
|
699
|
-
|
|
700
|
-
|
|
672
|
+
return this._screenShareProvider.isLocalUserScreenSharing;
|
|
673
|
+
}
|
|
674
|
+
}, {
|
|
675
|
+
key: "isBoardActive",
|
|
676
|
+
get: function get() {
|
|
677
|
+
return this._boardShareProvider.isActive;
|
|
701
678
|
}
|
|
702
679
|
}, {
|
|
703
680
|
key: "isMeSharingBoard",
|
|
704
681
|
get: function get() {
|
|
705
|
-
|
|
706
|
-
return ((_this$_sharedWhiteboa = this._sharedWhiteboardDataSource) === null || _this$_sharedWhiteboa === void 0 || (_this$_sharedWhiteboa = _this$_sharedWhiteboa.sharingUserInfo) === null || _this$_sharedWhiteboa === void 0 ? void 0 : _this$_sharedWhiteboa.userId) === this.localUserId;
|
|
682
|
+
return this._boardShareProvider.isMyBoard;
|
|
707
683
|
}
|
|
708
684
|
}, {
|
|
709
685
|
key: "boardOwnerUser",
|
|
710
686
|
get: function get() {
|
|
711
|
-
return this.
|
|
687
|
+
return this._boardShareProvider.ownerUser;
|
|
688
|
+
}
|
|
689
|
+
}, {
|
|
690
|
+
key: "canStopOtherBoard",
|
|
691
|
+
get: function get() {
|
|
692
|
+
// TODO: 检查 canStopOtherBoard 使用的地方,如果使用逻辑一致,将下面的逻辑移动到 _boardShareProvider
|
|
693
|
+
return this.isBoardActive && !this.isMeSharingBoard && this._boardShareProvider.canStopOtherBoard;
|
|
694
|
+
}
|
|
695
|
+
}, {
|
|
696
|
+
key: "isRemoteUserScreenSharing",
|
|
697
|
+
get: function get() {
|
|
698
|
+
return this._screenShareProvider.isRemoteUserScreenSharing;
|
|
699
|
+
}
|
|
700
|
+
}, {
|
|
701
|
+
key: "isLocalUserScreenSharing",
|
|
702
|
+
get: function get() {
|
|
703
|
+
return this._screenShareProvider.isLocalUserScreenSharing;
|
|
704
|
+
}
|
|
705
|
+
}, {
|
|
706
|
+
key: "setStateBarLeaveMeeting",
|
|
707
|
+
value: function setStateBarLeaveMeeting(isShow) {
|
|
708
|
+
this.stateBarLeaveMeeting = isShow;
|
|
709
|
+
}
|
|
710
|
+
}, {
|
|
711
|
+
key: "setPopoverOpened",
|
|
712
|
+
value: function setPopoverOpened(isShow) {
|
|
713
|
+
this._sharedLayoutDataSource.endMeetingPopoverOpened = isShow;
|
|
714
|
+
if (this.stateBarLeaveMeeting && !isShow) {
|
|
715
|
+
this.stateBarLeaveMeeting = false;
|
|
716
|
+
}
|
|
712
717
|
}
|
|
713
718
|
}, {
|
|
714
719
|
key: "pauseCloudRecording",
|
|
@@ -728,19 +733,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
728
733
|
}, {
|
|
729
734
|
key: "startCloudRecording",
|
|
730
735
|
value: function startCloudRecording() {
|
|
731
|
-
this._roomControl.startCloudRecording(
|
|
732
|
-
audioProfile: _type.FcrCloudRecordingAudioProfile.DEFAULT,
|
|
733
|
-
videoEncoderConfig: {
|
|
734
|
-
dimensions: {
|
|
735
|
-
width: 1280,
|
|
736
|
-
height: 720
|
|
737
|
-
},
|
|
738
|
-
bitrate: 1200,
|
|
739
|
-
frameRate: 15,
|
|
740
|
-
isMirror: false
|
|
741
|
-
},
|
|
742
|
-
retryTimeout: 60
|
|
743
|
-
});
|
|
736
|
+
this._roomControl.startCloudRecording(_defaultConfig.cloudRecordingConfig);
|
|
744
737
|
}
|
|
745
738
|
}, {
|
|
746
739
|
key: "showLockedRoomToast",
|
|
@@ -806,19 +799,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
806
799
|
value: function setAllowScreenShare(state) {
|
|
807
800
|
this._privilegeProvider.setAllowShareScreen(state);
|
|
808
801
|
}
|
|
809
|
-
}, {
|
|
810
|
-
key: "setPopoverOpened",
|
|
811
|
-
value: function setPopoverOpened(isShow) {
|
|
812
|
-
this._sharedLayoutDataSource.endMeetingPopoverOpened = isShow;
|
|
813
|
-
if (this.stateBarLeaveMeeting && !isShow) {
|
|
814
|
-
this.stateBarLeaveMeeting = false;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}, {
|
|
818
|
-
key: "setStateBarLeaveMeeting",
|
|
819
|
-
value: function setStateBarLeaveMeeting(isShow) {
|
|
820
|
-
this.stateBarLeaveMeeting = isShow;
|
|
821
|
-
}
|
|
822
802
|
}, {
|
|
823
803
|
key: "release",
|
|
824
804
|
value: function release() {
|
|
@@ -830,8 +810,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
830
810
|
this._userControl.removeObserver(this._userObserver);
|
|
831
811
|
this._roomControl.removeObserver(this._mainRoomObserver);
|
|
832
812
|
this._eventProvider.removeObserver(this._uiEventObserver);
|
|
813
|
+
this._dialogProvider.removeObserver(this._dialogObserver);
|
|
833
814
|
this._applistProvider.removeObserver(this._applistObserver);
|
|
834
|
-
if (this._roomType ===
|
|
815
|
+
if (this._roomType === _type.FcrRoomType.Mainroom) {
|
|
835
816
|
var _this$_interpreterPro;
|
|
836
817
|
this._roomProvider.removeObserver(this._roomObserver);
|
|
837
818
|
(_this$_interpreterPro = this._interpreterProvider) === null || _this$_interpreterPro === void 0 || _this$_interpreterPro.removeObserver(this._interpreterProviderObserver);
|
|
@@ -936,13 +917,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
936
917
|
value: function closeChat() {
|
|
937
918
|
if (!this.chatVisible) return;
|
|
938
919
|
if (this.chatRenderAt === 'dialog') {
|
|
939
|
-
|
|
940
|
-
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
941
|
-
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
942
|
-
chatDialogId = dialogId;
|
|
943
|
-
}
|
|
944
|
-
});
|
|
945
|
-
chatDialogId && this._dialogProvider.closeDialog(chatDialogId);
|
|
920
|
+
this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.CHAT);
|
|
946
921
|
}
|
|
947
922
|
this._sharedLayoutDataSource.setAsideLayout({
|
|
948
923
|
chat: false
|
|
@@ -962,27 +937,16 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
962
937
|
this._sharedLayoutDataSource.setAsideLayout({
|
|
963
938
|
participant: true
|
|
964
939
|
});
|
|
965
|
-
// if (this._participantVisible) {
|
|
966
|
-
// if (this._participantTab === FcrRoomType.Waitingroom) {
|
|
967
|
-
// this.isNewWaitingRoomUserEnter = false;
|
|
968
|
-
// }
|
|
969
|
-
// }
|
|
970
940
|
}
|
|
971
941
|
}, {
|
|
972
942
|
key: "closeParticipants",
|
|
973
943
|
value: function closeParticipants() {
|
|
974
944
|
if (!this.participantVisible) return;
|
|
975
945
|
if (this.participantsRenderAt === 'dialog') {
|
|
976
|
-
var participantDialogId = '';
|
|
977
|
-
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
978
|
-
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
979
|
-
participantDialogId = dialogId;
|
|
980
|
-
}
|
|
981
|
-
});
|
|
982
946
|
this._sharedLayoutDataSource.setAsideLayout({
|
|
983
947
|
participant: false
|
|
984
948
|
});
|
|
985
|
-
|
|
949
|
+
this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.PARTICIPANT);
|
|
986
950
|
}
|
|
987
951
|
this._sharedLayoutDataSource.setAsideLayout({
|
|
988
952
|
participant: false
|
|
@@ -990,35 +954,35 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
990
954
|
}
|
|
991
955
|
}, {
|
|
992
956
|
key: "openDeviceSettingDialog",
|
|
993
|
-
value: function openDeviceSettingDialog(
|
|
994
|
-
this._dialogProvider.
|
|
957
|
+
value: function openDeviceSettingDialog(config) {
|
|
958
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.SETTINGS, config);
|
|
995
959
|
}
|
|
996
960
|
}, {
|
|
997
961
|
key: "startScreenShare",
|
|
998
962
|
value: function startScreenShare() {
|
|
999
963
|
if (!this._interceptShareScreen()) return;
|
|
1000
|
-
this.
|
|
964
|
+
this.clickScreenShare();
|
|
1001
965
|
}
|
|
1002
966
|
}, {
|
|
1003
967
|
key: "openInterpreterDialog",
|
|
1004
968
|
value: function openInterpreterDialog() {
|
|
1005
|
-
this.
|
|
969
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.INTERPRETER);
|
|
1006
970
|
}
|
|
1007
971
|
}, {
|
|
1008
972
|
key: "openWhiteboard",
|
|
1009
973
|
value: function openWhiteboard() {
|
|
1010
974
|
if (!this._interceptShareBoard()) return;
|
|
1011
|
-
this.
|
|
975
|
+
this._boardShareProvider.startShare();
|
|
1012
976
|
}
|
|
1013
977
|
}, {
|
|
1014
978
|
key: "closeWhiteboard",
|
|
1015
979
|
value: function closeWhiteboard() {
|
|
1016
|
-
this.
|
|
980
|
+
this._boardShareProvider.stopShare();
|
|
1017
981
|
}
|
|
1018
982
|
}, {
|
|
1019
983
|
key: "closeShareScreen",
|
|
1020
984
|
value: function closeShareScreen() {
|
|
1021
|
-
this._screenShareProvider.
|
|
985
|
+
this._screenShareProvider.stopShare();
|
|
1022
986
|
}
|
|
1023
987
|
}, {
|
|
1024
988
|
key: "openLiveStreamingDialog",
|
|
@@ -1034,20 +998,14 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1034
998
|
}, {
|
|
1035
999
|
key: "openConnection",
|
|
1036
1000
|
value: function openConnection(type) {
|
|
1037
|
-
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CONNECTION_GATEWAY,
|
|
1001
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CONNECTION_GATEWAY, {
|
|
1038
1002
|
type: type
|
|
1039
1003
|
});
|
|
1040
1004
|
}
|
|
1041
1005
|
}, {
|
|
1042
1006
|
key: "closeConnection",
|
|
1043
1007
|
value: function closeConnection() {
|
|
1044
|
-
|
|
1045
|
-
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1046
|
-
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
1047
|
-
connectionDialogId = dialogId;
|
|
1048
|
-
}
|
|
1049
|
-
});
|
|
1050
|
-
this._dialogProvider.closeDialog(connectionDialogId);
|
|
1008
|
+
this._dialogProvider.closeDialog(_constant.FcrUIDialogKey.CONNECTION_GATEWAY);
|
|
1051
1009
|
}
|
|
1052
1010
|
}, {
|
|
1053
1011
|
key: "_handleJoinWaitingRoom",
|
|
@@ -1101,14 +1059,14 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1101
1059
|
enableWaitingRoom: false
|
|
1102
1060
|
}));
|
|
1103
1061
|
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, false);
|
|
1104
|
-
_this4._dialogProvider.
|
|
1062
|
+
_this4._dialogProvider.closeDialogById(dialogId);
|
|
1105
1063
|
},
|
|
1106
1064
|
onOk: function onOk() {
|
|
1107
1065
|
_this4.setCheckedStateMap(_objectSpread(_objectSpread({}, _this4.checkedStateMap), {
|
|
1108
1066
|
enableWaitingRoom: false
|
|
1109
1067
|
}));
|
|
1110
1068
|
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, true);
|
|
1111
|
-
_this4._dialogProvider.
|
|
1069
|
+
_this4._dialogProvider.closeDialogById(dialogId);
|
|
1112
1070
|
},
|
|
1113
1071
|
okText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_admit_all'),
|
|
1114
1072
|
cancelText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_cancel'),
|
|
@@ -1161,7 +1119,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1161
1119
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1162
1120
|
case 0:
|
|
1163
1121
|
_context2.next = 1;
|
|
1164
|
-
return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([
|
|
1122
|
+
return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([_type3.FcrUserRole.PARTICIPANT], type);
|
|
1165
1123
|
case 1:
|
|
1166
1124
|
case "end":
|
|
1167
1125
|
return _context2.stop();
|
|
@@ -1182,7 +1140,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1182
1140
|
while (1) switch (_context3.prev = _context3.next) {
|
|
1183
1141
|
case 0:
|
|
1184
1142
|
_context3.next = 1;
|
|
1185
|
-
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([
|
|
1143
|
+
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([_type3.FcrUserRole.PARTICIPANT]);
|
|
1186
1144
|
case 1:
|
|
1187
1145
|
case "end":
|
|
1188
1146
|
return _context3.stop();
|
|
@@ -1193,17 +1151,66 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1193
1151
|
return _moveToMainRoomAllMember.apply(this, arguments);
|
|
1194
1152
|
}
|
|
1195
1153
|
return moveToMainRoomAllMember;
|
|
1196
|
-
}()
|
|
1154
|
+
}() // TODO: 需要拦截时返回 true 更符合直觉
|
|
1197
1155
|
}, {
|
|
1198
1156
|
key: "_interceptShareScreen",
|
|
1199
1157
|
value: function _interceptShareScreen() {
|
|
1200
1158
|
var _this5 = this;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1159
|
+
// const isOtherSharingBoard =
|
|
1160
|
+
// this.boardOwnerUser && this.boardOwnerUser.userId !== this.localUserId;
|
|
1161
|
+
|
|
1162
|
+
if (!this._facilityProvider.isNetworkConnected) {
|
|
1163
|
+
var params = {
|
|
1164
|
+
message: (0, _i18n.transI18n)('fmt_screenshare_toast_network_error_unable_start_screen_share'),
|
|
1165
|
+
type: 'error'
|
|
1166
|
+
};
|
|
1167
|
+
this._messageProvider.showToast(params);
|
|
1168
|
+
return false;
|
|
1169
|
+
}
|
|
1170
|
+
if (!this._facilityProvider.hasGrantedScreenCapturePermission()) {
|
|
1171
|
+
var dialogId = this._dialogProvider.openConfirmDialog({
|
|
1172
|
+
title: (0, _i18n.transI18n)('fmt_screenshare_options_allowshare'),
|
|
1173
|
+
content: (0, _i18n.transI18n)('fmt_screenshare_tips_notavailable'),
|
|
1174
|
+
okText: (0, _i18n.transI18n)('fmt_group_popup_creat_next_sidpop_label_setting'),
|
|
1175
|
+
cancelText: (0, _i18n.transI18n)('fmt_group_popup_creat_next_sidpop_button_help_ignore'),
|
|
1176
|
+
onCancel: function onCancel() {
|
|
1177
|
+
_this5._dialogProvider.closeConfirmDialog(dialogId);
|
|
1178
|
+
},
|
|
1179
|
+
onOk: function () {
|
|
1180
|
+
var _onOk = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4() {
|
|
1181
|
+
return _regenerator["default"].wrap(function (_context4) {
|
|
1182
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
1183
|
+
case 0:
|
|
1184
|
+
_context4.next = 1;
|
|
1185
|
+
return _this5._facilityProvider.checkScreenCapturePermission();
|
|
1186
|
+
case 1:
|
|
1187
|
+
if (_this5._facilityProvider.hasDeniedScreenCapturePermission()) {
|
|
1188
|
+
_this5._facilityProvider.openSystemPreferences(_struct.FcrUISystemPereferencesType.Sharing);
|
|
1189
|
+
}
|
|
1190
|
+
_this5._dialogProvider.closeConfirmDialog(dialogId);
|
|
1191
|
+
case 2:
|
|
1192
|
+
case "end":
|
|
1193
|
+
return _context4.stop();
|
|
1194
|
+
}
|
|
1195
|
+
}, _callee4);
|
|
1196
|
+
}));
|
|
1197
|
+
function onOk() {
|
|
1198
|
+
return _onOk.apply(this, arguments);
|
|
1199
|
+
}
|
|
1200
|
+
return onOk;
|
|
1201
|
+
}(),
|
|
1202
|
+
closable: false
|
|
1203
|
+
});
|
|
1204
|
+
return false;
|
|
1205
|
+
}
|
|
1206
|
+
var isOtherSharingBoard = false;
|
|
1207
|
+
if (isOtherSharingBoard) {
|
|
1208
|
+
var _dialogId = this._dialogProvider.openConfirmDialog({
|
|
1204
1209
|
title: (0, _i18n.transI18n)('fmt_share_tips_otherssharing'),
|
|
1205
1210
|
content: (0, _i18n.transI18n)("fmt_share_tips_stopothersharing", {
|
|
1206
|
-
reason1:
|
|
1211
|
+
reason1:
|
|
1212
|
+
// this.sharingOwnerUser?.userName ||
|
|
1213
|
+
(0, _i18n.transI18n)('fmt_actionbar_screenshare_labels_others')
|
|
1207
1214
|
}),
|
|
1208
1215
|
okText: (0, _i18n.transI18n)('fmt_screenshare_continue_share'),
|
|
1209
1216
|
okButtonProps: {
|
|
@@ -1212,11 +1219,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1212
1219
|
closable: false,
|
|
1213
1220
|
alignCenter: true,
|
|
1214
1221
|
onOk: function onOk() {
|
|
1215
|
-
|
|
1216
|
-
_this5._dialogProvider.
|
|
1222
|
+
// this._screenShareProvider.bootstrap();
|
|
1223
|
+
_this5._dialogProvider.closeDialogById(_dialogId);
|
|
1217
1224
|
},
|
|
1218
1225
|
onCancel: function onCancel() {
|
|
1219
|
-
_this5._dialogProvider.
|
|
1226
|
+
_this5._dialogProvider.closeDialogById(_dialogId);
|
|
1220
1227
|
}
|
|
1221
1228
|
});
|
|
1222
1229
|
return false;
|
|
@@ -1224,24 +1231,25 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1224
1231
|
return true;
|
|
1225
1232
|
}
|
|
1226
1233
|
}
|
|
1234
|
+
|
|
1235
|
+
// TODO: 需要拦截时返回 true 更符合直觉
|
|
1227
1236
|
}, {
|
|
1228
1237
|
key: "_interceptShareBoard",
|
|
1229
1238
|
value: function _interceptShareBoard() {
|
|
1230
1239
|
var _this6 = this;
|
|
1231
|
-
if (this.
|
|
1232
|
-
var
|
|
1233
|
-
icon:
|
|
1240
|
+
if (this.isBoardActive && !this.isMeSharingBoard) {
|
|
1241
|
+
var dialogId = this._dialogProvider.openConfirmDialog({
|
|
1242
|
+
icon: _type4.FcrIconType.FCR_SCREENSHARING,
|
|
1234
1243
|
title: (0, _i18n.transI18n)('fmt_share_tips_othersharingboard'),
|
|
1235
1244
|
content: (0, _i18n.transI18n)("fmt_share_tips_boardonly"),
|
|
1236
1245
|
okText: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_button_gotit'),
|
|
1237
1246
|
closable: false,
|
|
1238
1247
|
showCancel: false,
|
|
1239
1248
|
onOk: function onOk() {
|
|
1240
|
-
_this6.
|
|
1241
|
-
_this6._dialogProvider.closeDialog(confirmKey);
|
|
1249
|
+
_this6._dialogProvider.closeDialogById(dialogId);
|
|
1242
1250
|
},
|
|
1243
1251
|
onCancel: function onCancel() {
|
|
1244
|
-
_this6._dialogProvider.
|
|
1252
|
+
_this6._dialogProvider.closeDialogById(dialogId);
|
|
1245
1253
|
}
|
|
1246
1254
|
});
|
|
1247
1255
|
return false;
|
|
@@ -1295,46 +1303,43 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1295
1303
|
this._privilegeProvider.setAllowChangeSelfName(enable);
|
|
1296
1304
|
}
|
|
1297
1305
|
}, {
|
|
1298
|
-
key: "
|
|
1299
|
-
value: function
|
|
1300
|
-
if (
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
var dialogKey = this._openedDialogIdMap.get(dialogId);
|
|
1304
|
-
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1305
|
-
this._handleChatVisible(false);
|
|
1306
|
-
}
|
|
1307
|
-
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1308
|
-
this._sharedLayoutDataSource.setAsideLayout({
|
|
1309
|
-
participant: false
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
this._openedDialogIdMap["delete"](dialogId);
|
|
1313
|
-
}
|
|
1314
|
-
if (action === _constant.FcrUIAction.OPEN_DIALOG) {
|
|
1315
|
-
var _ref3 = payload,
|
|
1316
|
-
_dialogKey = _ref3.dialogKey,
|
|
1317
|
-
_dialogId = _ref3.dialogId;
|
|
1318
|
-
this._openedDialogIdMap.set(_dialogId, _dialogKey);
|
|
1319
|
-
if (_dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1320
|
-
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
1321
|
-
this._handleChatVisible(true);
|
|
1322
|
-
}
|
|
1323
|
-
if (_dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1324
|
-
this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
|
|
1325
|
-
this._sharedLayoutDataSource.setAsideLayout({
|
|
1326
|
-
participant: true
|
|
1327
|
-
});
|
|
1328
|
-
}
|
|
1306
|
+
key: "_handleDialogOpen",
|
|
1307
|
+
value: function _handleDialogOpen(dialogKey) {
|
|
1308
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1309
|
+
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
1310
|
+
this._handleChatVisible(true);
|
|
1329
1311
|
}
|
|
1330
|
-
if (
|
|
1331
|
-
this.
|
|
1312
|
+
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1313
|
+
this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
|
|
1314
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1315
|
+
participant: false
|
|
1316
|
+
});
|
|
1332
1317
|
}
|
|
1333
|
-
|
|
1334
|
-
|
|
1318
|
+
}
|
|
1319
|
+
}, {
|
|
1320
|
+
key: "_handleDialogClose",
|
|
1321
|
+
value: function _handleDialogClose(dialogKey) {
|
|
1322
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1323
|
+
this._handleChatVisible(false);
|
|
1335
1324
|
}
|
|
1336
|
-
|
|
1337
|
-
|
|
1325
|
+
|
|
1326
|
+
// Dialog close 的回调不应该管理asideLayout 关闭窗口就是关闭窗口,不应该管理asideLayout
|
|
1327
|
+
// if (dialogKey === FcrUIDialogKey.PARTICIPANT) {
|
|
1328
|
+
// this._sharedLayoutDataSource.setAsideLayout({ participant: false });
|
|
1329
|
+
// }
|
|
1330
|
+
}
|
|
1331
|
+
}, {
|
|
1332
|
+
key: "_onEvent",
|
|
1333
|
+
value: function _onEvent(action, payload) {
|
|
1334
|
+
if (action === _constant.FcrUIAction.WHITEBOARD_CHANGED) {
|
|
1335
|
+
var _ref3 = payload,
|
|
1336
|
+
_action = _ref3.action,
|
|
1337
|
+
value = _ref3.payload;
|
|
1338
|
+
// if (action === WhiteboardBaseEvents.SET_OWNER_USER_ID) {
|
|
1339
|
+
// this.boardOwnerUser = value
|
|
1340
|
+
// ? (this.users.find((u) => u.userId === value) as FcrUserInfo)
|
|
1341
|
+
// : null;
|
|
1342
|
+
// }
|
|
1338
1343
|
}
|
|
1339
1344
|
if (action === _constant.FcrUIAction.TOGGLE_PARTICIPANT_TAB) {
|
|
1340
1345
|
if (!this.participantVisible) {
|
|
@@ -1345,24 +1350,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1345
1350
|
this.chatTabIndex = payload;
|
|
1346
1351
|
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1347
1352
|
}
|
|
1348
|
-
if (action === _constant.FcrUIAction.CLOSE_WAITING_ROOM_DIALOG) {
|
|
1349
|
-
var waitingDialogId = '';
|
|
1350
|
-
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1351
|
-
if (dialogKey === _constant.FcrUIDialogKey.WAITING_ROOM) {
|
|
1352
|
-
waitingDialogId = dialogId;
|
|
1353
|
-
}
|
|
1354
|
-
});
|
|
1355
|
-
this._dialogProvider.closeDialog(waitingDialogId);
|
|
1356
|
-
}
|
|
1357
|
-
if (action === _constant.FcrUIAction.CLOSE_REMOVE_ADMIT_WAITING_ROOM_DIALOG) {
|
|
1358
|
-
var operationDialogId = '';
|
|
1359
|
-
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1360
|
-
if (dialogKey === payload) {
|
|
1361
|
-
operationDialogId = dialogId;
|
|
1362
|
-
}
|
|
1363
|
-
});
|
|
1364
|
-
this._dialogProvider.closeDialog(operationDialogId);
|
|
1365
|
-
}
|
|
1366
1353
|
if (action === _constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER) {
|
|
1367
1354
|
this._operateWaitingRoom(payload);
|
|
1368
1355
|
}
|
|
@@ -1373,24 +1360,24 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1373
1360
|
}, {
|
|
1374
1361
|
key: "_operateWaitingRoom",
|
|
1375
1362
|
value: function () {
|
|
1376
|
-
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1377
|
-
return _regenerator["default"].wrap(function (
|
|
1378
|
-
while (1) switch (
|
|
1363
|
+
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(isOperate) {
|
|
1364
|
+
return _regenerator["default"].wrap(function (_context5) {
|
|
1365
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
1379
1366
|
case 0:
|
|
1380
1367
|
if (!isOperate) {
|
|
1381
|
-
|
|
1368
|
+
_context5.next = 1;
|
|
1382
1369
|
break;
|
|
1383
1370
|
}
|
|
1384
|
-
|
|
1371
|
+
_context5.next = 1;
|
|
1385
1372
|
return this.moveToMainRoomAllMember();
|
|
1386
1373
|
case 1:
|
|
1387
|
-
|
|
1374
|
+
_context5.next = 2;
|
|
1388
1375
|
return this.setEnableWaitingRoom(false, false);
|
|
1389
1376
|
case 2:
|
|
1390
1377
|
case "end":
|
|
1391
|
-
return
|
|
1378
|
+
return _context5.stop();
|
|
1392
1379
|
}
|
|
1393
|
-
},
|
|
1380
|
+
}, _callee5, this);
|
|
1394
1381
|
}));
|
|
1395
1382
|
function _operateWaitingRoom(_x4) {
|
|
1396
1383
|
return _operateWaitingRoom2.apply(this, arguments);
|
|
@@ -1405,13 +1392,13 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1405
1392
|
}, {
|
|
1406
1393
|
key: "setOutputLanguage",
|
|
1407
1394
|
value: function () {
|
|
1408
|
-
var _setOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1395
|
+
var _setOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(language) {
|
|
1409
1396
|
var _this$_interpreterPro2,
|
|
1410
1397
|
_this7 = this;
|
|
1411
|
-
return _regenerator["default"].wrap(function (
|
|
1412
|
-
while (1) switch (
|
|
1398
|
+
return _regenerator["default"].wrap(function (_context6) {
|
|
1399
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
1413
1400
|
case 0:
|
|
1414
|
-
|
|
1401
|
+
_context6.next = 1;
|
|
1415
1402
|
return (_this$_interpreterPro2 = this._interpreterProvider) === null || _this$_interpreterPro2 === void 0 ? void 0 : _this$_interpreterPro2.setOutputLanguage(language, function () {
|
|
1416
1403
|
if (!_this7._deviceProvider.microphoneEnabled) {
|
|
1417
1404
|
_this7._messageProvider.showToast({
|
|
@@ -1422,30 +1409,35 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1422
1409
|
});
|
|
1423
1410
|
case 1:
|
|
1424
1411
|
case "end":
|
|
1425
|
-
return
|
|
1412
|
+
return _context6.stop();
|
|
1426
1413
|
}
|
|
1427
|
-
},
|
|
1414
|
+
}, _callee6, this);
|
|
1428
1415
|
}));
|
|
1429
1416
|
function setOutputLanguage(_x5) {
|
|
1430
1417
|
return _setOutputLanguage.apply(this, arguments);
|
|
1431
1418
|
}
|
|
1432
1419
|
return setOutputLanguage;
|
|
1433
1420
|
}()
|
|
1421
|
+
}, {
|
|
1422
|
+
key: "setEndMeetingPopoverOpened",
|
|
1423
|
+
value: function setEndMeetingPopoverOpened(value) {
|
|
1424
|
+
this._sharedLayoutDataSource.endMeetingPopoverOpened = value;
|
|
1425
|
+
}
|
|
1434
1426
|
}, {
|
|
1435
1427
|
key: "subscribeLanguage",
|
|
1436
1428
|
value: function () {
|
|
1437
|
-
var _subscribeLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1429
|
+
var _subscribeLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(language) {
|
|
1438
1430
|
var _this$_interpreterPro3;
|
|
1439
|
-
return _regenerator["default"].wrap(function (
|
|
1440
|
-
while (1) switch (
|
|
1431
|
+
return _regenerator["default"].wrap(function (_context7) {
|
|
1432
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1441
1433
|
case 0:
|
|
1442
|
-
|
|
1434
|
+
_context7.next = 1;
|
|
1443
1435
|
return (_this$_interpreterPro3 = this._interpreterProvider) === null || _this$_interpreterPro3 === void 0 ? void 0 : _this$_interpreterPro3.subscribeLanguage(language);
|
|
1444
1436
|
case 1:
|
|
1445
1437
|
case "end":
|
|
1446
|
-
return
|
|
1438
|
+
return _context7.stop();
|
|
1447
1439
|
}
|
|
1448
|
-
},
|
|
1440
|
+
}, _callee7, this);
|
|
1449
1441
|
}));
|
|
1450
1442
|
function subscribeLanguage(_x6) {
|
|
1451
1443
|
return _subscribeLanguage.apply(this, arguments);
|
|
@@ -1455,17 +1447,17 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1455
1447
|
}, {
|
|
1456
1448
|
key: "subscribeExtraOriginLanguage",
|
|
1457
1449
|
value: function () {
|
|
1458
|
-
var _subscribeExtraOriginLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1450
|
+
var _subscribeExtraOriginLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8(enable) {
|
|
1459
1451
|
var _this$_interpreterPro4;
|
|
1460
|
-
return _regenerator["default"].wrap(function (
|
|
1461
|
-
while (1) switch (
|
|
1452
|
+
return _regenerator["default"].wrap(function (_context8) {
|
|
1453
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
1462
1454
|
case 0:
|
|
1463
1455
|
(_this$_interpreterPro4 = this._interpreterProvider) === null || _this$_interpreterPro4 === void 0 || _this$_interpreterPro4.subscribeExtraOriginLanguage(enable);
|
|
1464
1456
|
case 1:
|
|
1465
1457
|
case "end":
|
|
1466
|
-
return
|
|
1458
|
+
return _context8.stop();
|
|
1467
1459
|
}
|
|
1468
|
-
},
|
|
1460
|
+
}, _callee8, this);
|
|
1469
1461
|
}));
|
|
1470
1462
|
function subscribeExtraOriginLanguage(_x7) {
|
|
1471
1463
|
return _subscribeExtraOriginLanguage.apply(this, arguments);
|
|
@@ -1498,6 +1490,11 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1498
1490
|
value: function closeWidget(widgetId) {
|
|
1499
1491
|
this._widgetProvider.closeWidget(widgetId);
|
|
1500
1492
|
}
|
|
1493
|
+
}, {
|
|
1494
|
+
key: "_handleApplistItemClick",
|
|
1495
|
+
value: function _handleApplistItemClick() {
|
|
1496
|
+
this.setAppActionbarPopoverVisible(false);
|
|
1497
|
+
}
|
|
1501
1498
|
}, {
|
|
1502
1499
|
key: "_checkIsWidgetSupportedRole",
|
|
1503
1500
|
value: function _checkIsWidgetSupportedRole(widgetConfig, _role) {
|
|
@@ -1509,8 +1506,8 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1509
1506
|
}
|
|
1510
1507
|
}]);
|
|
1511
1508
|
}();
|
|
1512
|
-
|
|
1513
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(
|
|
1509
|
+
_ActionBarMainSceneStoreBase = ActionBarMainSceneStoreBase;
|
|
1510
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarMainSceneStoreBase, [[_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "hasOfflineUserExistence"], [_mobx.observable, 1, "connectionState"], [_mobx.observable, 1, "appActionbarPopoverVisible"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.computed, 3, "endMeetingPopoverOpened"], [_mobx.computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [_mobx.computed, 3, "registeredWidgetConfigs"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "chatRenderAt"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "participantVisible"], [_mobx.computed, 3, "chatVisible"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStopScreenSharePermission"], [_mobx.computed, 3, "hasEnableStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableJoinWithAudioPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "hasEnableInterpreterPermission"], [_mobx.computed, 3, "hasDisableInterpreterPermission"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasAllowChangeNamePromission"], [_mobx.computed, 3, "hasDisallowChangeNamePromission"], [_mobx.computed, 3, "newMessageCount"], [_mobx.computed, 3, "isRemoteUserScreenSharing"], [_mobx.computed, 3, "isLocalUserScreenSharing"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_showLockedRoomToastDecs, 18, "showLockedRoomToast"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "isAllowJoinWithAudioEnabled"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setAllowWriteBoard"], [_decorator.bound, 2, "setAllowAnnotation"], [_decorator.bound, 2, "setAllowScreenShare"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "allowChangeName"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openInterpreterDialog"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "closeShareScreen"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "setAlllowChangeName"], [_decorator.bound, 2, "_handleDialogOpen"], [_decorator.bound, 2, "_handleDialogClose"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_setEndMeetingPopoverOpenedDecs, 18, "setEndMeetingPopoverOpened"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_subscribeExtraOriginLanguageDecs, 18, "subscribeExtraOriginLanguage"], [_getOfflineUserExistenceStateDecs, 18, "getOfflineUserExistenceState"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"]], []).e, 15);
|
|
1514
1511
|
_init_newMessageTooltipVisible = _applyDecs$e[0];
|
|
1515
1512
|
_init_totalWaitingRoomUser = _applyDecs$e[1];
|
|
1516
1513
|
_init_liveStreamingState = _applyDecs$e[2];
|
|
@@ -1521,9 +1518,9 @@ _init_folded = _applyDecs$e[6];
|
|
|
1521
1518
|
_init_showArrow = _applyDecs$e[7];
|
|
1522
1519
|
_init_phoneMicEnabled = _applyDecs$e[8];
|
|
1523
1520
|
_init_chatTabIndex = _applyDecs$e[9];
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1521
|
+
_init_hasOfflineUserExistence = _applyDecs$e[10];
|
|
1522
|
+
_init_connectionState = _applyDecs$e[11];
|
|
1523
|
+
_init_appActionbarPopoverVisible = _applyDecs$e[12];
|
|
1524
|
+
_init_stateBarLeaveMeeting = _applyDecs$e[13];
|
|
1528
1525
|
_initProto = _applyDecs$e[14];
|
|
1529
1526
|
var ActionBarContext = exports.ActionBarContext = /*#__PURE__*/(0, _react.createContext)(null);
|