fcr-ui-scene 3.8.2 → 3.9.0-alpha
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/lib/base.js +2 -2
- package/lib/creator/index.js +25 -10
- package/lib/creator/provider-initializer.browser.js +28 -3
- package/lib/creator/provider-initializer.electron.js +28 -5
- package/lib/electron/app.js +26 -9
- package/lib/electron/asar-validation.js +5 -1
- package/lib/electron/env.d.ts +1 -0
- package/lib/electron/env.js +2 -2
- package/lib/electron/injections.d.ts +2 -1
- package/lib/electron/injections.js +23 -17
- package/lib/electron/ipc/type.d.ts +2 -1
- package/lib/electron/ipc/type.js +1 -0
- package/lib/electron/ipc-protocol.d.ts +2 -0
- package/lib/electron/main.js +6 -6
- package/lib/electron/plugins/main-window-display.d.ts +8 -0
- package/lib/electron/plugins/main-window-display.js +23 -0
- package/lib/electron/preload.js +2 -1
- package/lib/electron/process-manager/index.d.ts +1 -0
- package/lib/electron/process-manager/index.js +37 -0
- package/lib/electron/process-manager/state-manager.d.ts +10 -0
- package/lib/electron/process-manager/state-manager.js +46 -4
- package/lib/electron/sdk-helper.js +4 -0
- package/lib/electron/window-proxy/browser-window-proxy-factory.d.ts +7 -0
- package/lib/electron/window-proxy/browser-window-proxy-factory.js +46 -0
- package/lib/electron/window-proxy/{browser-window-proxy.d.ts → implementations/browser-window-proxy.d.ts} +3 -24
- package/lib/electron/window-proxy/implementations/browser-window-proxy.js +335 -0
- package/lib/electron/window-proxy/implementations/electron-event-broadcaster.d.ts +9 -0
- package/lib/electron/window-proxy/implementations/electron-event-broadcaster.js +32 -0
- package/lib/electron/window-proxy/implementations/electron-ipc-handler.d.ts +6 -0
- package/lib/electron/window-proxy/implementations/electron-ipc-handler.js +27 -0
- package/lib/electron/window-proxy/implementations/electron-logger.d.ts +7 -0
- package/lib/electron/window-proxy/implementations/electron-logger.js +34 -0
- package/lib/electron/window-proxy/{main-process-handler.d.ts → implementations/main-process-handler.d.ts} +16 -9
- package/lib/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +111 -111
- package/lib/electron/window-proxy/interfaces.d.ts +52 -0
- package/lib/electron/window-proxy/interfaces.js +6 -0
- package/lib/fragments/annotation/cursor.css +77 -0
- package/lib/fragments/annotation/index.d.ts +2 -4
- package/lib/fragments/annotation/index.js +4 -82
- package/lib/fragments/annotation/libs.d.ts +15 -11
- package/lib/fragments/annotation/libs.js +75 -26
- package/lib/fragments/annotation/store.d.ts +23 -43
- package/lib/fragments/annotation/store.js +319 -709
- package/lib/fragments/annotation/style.css +5 -6
- package/lib/fragments/annotation/view.d.ts +1 -0
- package/lib/fragments/annotation/view.js +8 -48
- package/lib/fragments/base.js +1 -1
- package/lib/fragments/whiteboard/libs.d.ts +72 -0
- package/lib/fragments/whiteboard/libs.js +155 -0
- package/lib/fragments/whiteboard/store.d.ts +1 -4
- package/lib/fragments/whiteboard/store.js +64 -128
- package/lib/modules/action-bar/components/apps/index.js +2 -2
- package/lib/modules/action-bar/components/collapse/index.js +8 -3
- package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.d.ts +1 -1
- package/lib/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
- package/lib/modules/action-bar/components/leave/index.js +1 -1
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.d.ts +3 -7
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.d.ts +2 -2
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
- package/lib/modules/action-bar/components/notification-bar/index.js +12 -70
- package/lib/modules/action-bar/components/screen-share/submenu.js +39 -2
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +10 -7
- package/lib/modules/action-bar/index.css +1 -1
- package/lib/modules/action-bar/main-scene/index.d.ts +1 -1
- package/lib/modules/action-bar/main-scene/index.js +4 -4
- package/lib/modules/action-bar/main-scene/store.base.d.ts +16 -9
- package/lib/modules/action-bar/main-scene/store.base.js +165 -94
- package/lib/modules/action-bar/type.d.ts +1 -15
- package/lib/modules/action-bar/type.js +14 -0
- package/lib/modules/action-bar/waiting-scene/view.js +1 -1
- package/lib/modules/annotation/board-cursor.css +77 -0
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/annotation/components/color-picker/components/color.js +37 -0
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/panel.js +108 -0
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/annotation/components/color-picker/components/picker.js +75 -0
- package/lib/modules/annotation/components/color-picker/index.d.ts +2 -0
- package/lib/modules/annotation/components/color-picker/index.js +45 -0
- package/lib/modules/annotation/components/eraser-picker.d.ts +4 -0
- package/lib/modules/annotation/components/eraser-picker.js +142 -0
- package/lib/modules/annotation/components/expansion/index.d.ts +1 -0
- package/lib/modules/annotation/components/expansion/index.js +100 -0
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/annotation/components/extra-tool-picker.js +62 -0
- package/lib/modules/annotation/components/history.d.ts +2 -0
- package/lib/modules/annotation/components/history.js +76 -0
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/annotation/components/icons/fold-icon.js +41 -0
- package/lib/modules/annotation/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/annotation/components/icons/move-icon.js +66 -0
- package/lib/modules/annotation/components/item/index.d.ts +1 -0
- package/lib/modules/annotation/components/item/index.js +43 -0
- package/lib/modules/annotation/components/move-handle.d.ts +5 -0
- package/lib/modules/annotation/components/move-handle.js +134 -0
- package/lib/modules/annotation/components/pen-picker.d.ts +4 -0
- package/lib/modules/annotation/components/pen-picker.js +150 -0
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/annotation/components/screen-capture-picker.js +84 -0
- package/lib/modules/annotation/components/shape-picker.d.ts +4 -0
- package/lib/modules/annotation/components/shape-picker.js +201 -0
- package/lib/modules/annotation/hooks/index.d.ts +14 -0
- package/lib/modules/annotation/hooks/index.js +164 -0
- package/lib/modules/annotation/index.d.ts +31 -0
- package/lib/modules/annotation/index.js +152 -0
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +22 -9
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +22 -9
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +22 -9
- package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +1 -1
- package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.d.ts +1 -0
- package/lib/modules/annotation/standalone-toolbar/components/permission-tool/index.js +52 -0
- package/lib/modules/annotation/standalone-toolbar/store.d.ts +104 -0
- package/lib/modules/annotation/standalone-toolbar/store.js +618 -0
- package/{lib-es/fragments/annotation/toolbar → lib/modules/annotation/standalone-toolbar}/style.css +4 -1
- package/lib/modules/annotation/standalone-toolbar/view.js +193 -0
- package/lib/modules/annotation/store.base.d.ts +27 -0
- package/lib/modules/annotation/store.base.js +185 -0
- package/lib/modules/annotation/store.browser.d.ts +3 -0
- package/lib/modules/annotation/store.browser.js +25 -0
- package/lib/modules/annotation/store.electron.d.ts +8 -0
- package/lib/modules/annotation/store.electron.js +75 -0
- package/lib/modules/annotation/style.css +36 -0
- package/lib/modules/annotation/toolbar-store.d.ts +86 -0
- package/lib/modules/annotation/toolbar-store.js +473 -0
- package/lib/modules/annotation/type.d.ts +7 -0
- package/lib/modules/annotation/type.js +6 -0
- package/lib/modules/annotation/view.d.ts +5 -0
- package/lib/modules/annotation/view.js +107 -0
- package/lib/modules/chat/chat-room-store.d.ts +8 -1
- package/lib/modules/chat/chat-room-store.js +152 -72
- package/lib/modules/chat/components/message-list/index.js +123 -93
- package/lib/modules/chat/components/message-list/message-item/index.js +89 -67
- package/lib/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
- package/lib/modules/chat/index.css +1 -9
- package/lib/modules/chat/store.js +7 -5
- package/lib/modules/chat/view.js +4 -9
- package/lib/modules/components/annotation-menu/index.d.ts +5 -3
- package/lib/modules/components/annotation-menu/index.js +29 -34
- package/lib/modules/components/apps/index.css +3 -2
- package/lib/modules/components/caption-menu/translation-setting-options.js +2 -2
- package/lib/modules/components/confirm-wrapper/index.css +48 -0
- package/lib/modules/components/confirm-wrapper/index.d.ts +25 -0
- package/lib/modules/components/confirm-wrapper/index.js +87 -0
- package/lib/modules/components/control-bar/index.d.ts +40 -8
- package/lib/modules/components/control-bar/index.js +350 -200
- package/lib/modules/components/device-control/components/audio-menu/index.js +3 -2
- package/lib/modules/components/device-control/components/video-menu/index.js +5 -3
- package/lib/modules/components/device-control/store.base.d.ts +5 -0
- package/lib/modules/components/device-control/store.base.js +17 -1
- package/lib/modules/components/leave-meeting/index.css +21 -0
- package/lib/modules/components/leave-meeting/index.d.ts +0 -2
- package/lib/modules/components/leave-meeting/index.js +63 -103
- package/lib/modules/components/leave-meeting/portal.d.ts +0 -1
- package/lib/modules/components/leave-meeting/portal.js +4 -6
- package/lib/modules/components/leave-meeting/store.base.d.ts +3 -4
- package/lib/modules/components/leave-meeting/store.base.js +49 -55
- package/lib/modules/components/leave-meeting/style.css +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
- package/lib/modules/components/member-window/components/member-actions/provider.js +1 -1
- package/lib/modules/components/member-window/index.d.ts +1 -1
- package/lib/modules/components/member-window/index.js +3 -3
- package/lib/modules/components/security-menu/store.js +7 -9
- package/lib/modules/components/tab-frame/index.css +2 -2
- package/lib/modules/connection-gateway/components/phone/index.js +1 -1
- package/lib/modules/connection-gateway/store.js +6 -8
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +11 -0
- package/lib/modules/control-bar/components/annotation-button/index.js +51 -0
- package/lib/modules/control-bar/components/apps-popover/index.css +3 -0
- package/lib/modules/control-bar/components/apps-popover/index.d.ts +1 -0
- package/lib/modules/control-bar/components/apps-popover/index.js +2 -0
- package/lib/modules/control-bar/components/carmera/index.js +1 -1
- package/lib/modules/control-bar/components/meeting-details/index.js +14 -20
- package/lib/modules/control-bar/components/microphone/index.js +2 -2
- package/lib/modules/control-bar/hooks.js +1 -1
- package/lib/modules/control-bar/index.css +11 -0
- package/lib/modules/control-bar/store.d.ts +20 -5
- package/lib/modules/control-bar/store.js +190 -59
- package/lib/modules/control-bar/view.js +72 -39
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +3 -9
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
- package/lib/modules/device-pretest/index.js +1 -1
- package/lib/modules/device-pretest/settings/beauty.js +1 -1
- package/lib/modules/device-pretest/settings/video-effect.d.ts +2 -0
- package/lib/modules/device-pretest/settings/video-effect.js +27 -12
- 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/dialog/components/confirm/index.css +0 -18
- package/lib/modules/dialog/components/confirm/index.d.ts +1 -0
- package/lib/modules/dialog/components/confirm/index.js +2 -2
- package/lib/modules/dialog/components/dialog-container/index.css +3 -4
- package/lib/modules/dialog/components/dialog-container/index.d.ts +6 -21
- package/lib/modules/dialog/components/dialog-container/index.js +80 -132
- package/lib/modules/dialog/components/normal-window/index.d.ts +8 -20
- package/lib/modules/dialog/components/normal-window/index.js +14 -34
- package/lib/modules/dialog/dialogConfig/browser.d.ts +12 -0
- package/lib/modules/dialog/dialogConfig/browser.js +11 -0
- package/lib/modules/dialog/dialogConfig/electron.d.ts +4 -0
- package/lib/modules/dialog/dialogConfig/electron.js +15 -0
- package/lib/modules/dialog/dialogs/annotation-mask/index.d.ts +8 -0
- package/lib/modules/dialog/dialogs/annotation-mask/index.js +41 -0
- package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +5 -4
- package/lib/modules/dialog/dialogs/annotation-tool/index.js +19 -35
- package/lib/modules/dialog/dialogs/caption/index.d.ts +4 -16
- package/lib/modules/dialog/dialogs/caption/index.js +25 -19
- package/lib/modules/dialog/dialogs/chat/index.d.ts +4 -18
- package/lib/modules/dialog/dialogs/chat/index.js +33 -54
- package/lib/modules/dialog/dialogs/confirm/index.css +2 -13
- package/lib/modules/dialog/dialogs/confirm/index.d.ts +2 -17
- package/lib/modules/dialog/dialogs/confirm/index.js +5 -7
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +5 -16
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +4 -24
- package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +4 -20
- package/lib/modules/dialog/dialogs/connection-gateway/index.js +6 -29
- package/lib/modules/dialog/dialogs/control-bar/index.d.ts +2 -16
- package/lib/modules/dialog/dialogs/control-bar/index.js +4 -6
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +4 -14
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +3 -21
- package/lib/modules/dialog/dialogs/device-setting/index.d.ts +4 -13
- package/lib/modules/dialog/dialogs/device-setting/index.js +4 -20
- package/lib/modules/dialog/dialogs/end-meeting-notice/index.d.ts +8 -0
- package/lib/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +4 -14
- package/lib/modules/dialog/dialogs/interpreter/index.d.ts +4 -14
- package/lib/modules/dialog/dialogs/interpreter/index.js +33 -24
- package/lib/modules/dialog/dialogs/invite/index.d.ts +4 -18
- package/lib/modules/dialog/dialogs/invite/index.js +25 -24
- package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +4 -8
- package/lib/modules/dialog/dialogs/live-streaming/index.js +7 -11
- package/lib/modules/dialog/dialogs/mute-all/index.d.ts +4 -15
- package/lib/modules/dialog/dialogs/mute-all/index.js +4 -20
- package/lib/modules/dialog/dialogs/participant/index.d.ts +4 -18
- package/lib/modules/dialog/dialogs/participant/index.js +31 -31
- package/lib/modules/dialog/dialogs/rename/index.d.ts +2 -14
- package/lib/modules/dialog/dialogs/rename/index.js +2 -13
- package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +2 -13
- package/lib/modules/dialog/dialogs/sample-dialog/index.js +2 -2
- package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +2 -14
- package/lib/modules/dialog/dialogs/share-screen-selection/index.js +3 -12
- package/lib/modules/dialog/dialogs/sub-window/index.d.ts +2 -17
- package/lib/modules/dialog/dialogs/sub-window/index.js +4 -3
- package/lib/modules/dialog/dialogs/subtitles-history/index.d.ts +4 -19
- package/lib/modules/dialog/dialogs/subtitles-history/index.js +32 -25
- package/lib/modules/dialog/dialogs/system-preference/index.css +3 -2
- package/lib/modules/dialog/dialogs/system-preference/index.d.ts +5 -28
- package/lib/modules/dialog/dialogs/system-preference/index.js +13 -13
- package/lib/modules/dialog/dialogs/toast/index.d.ts +2 -16
- package/lib/modules/dialog/dialogs/toast/index.js +5 -5
- package/lib/modules/dialog/dialogs/video-window/index.d.ts +2 -18
- package/lib/modules/dialog/dialogs/video-window/index.js +4 -4
- package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +2 -18
- package/lib/modules/dialog/dialogs/whiteboard/index.js +2 -2
- package/lib/modules/dialog/dialogs/widget/index.d.ts +4 -14
- package/lib/modules/dialog/dialogs/widget/index.js +22 -26
- package/lib/modules/dialog/index.css +4 -11
- package/lib/modules/dialog/level-config.d.ts +1 -0
- package/lib/modules/dialog/level-config.js +1 -0
- package/lib/modules/dialog/store.base.js +0 -3
- package/lib/modules/dialog/store.electron.d.ts +1 -0
- package/lib/modules/dialog/store.electron.js +16 -9
- package/lib/modules/dialog/type.d.ts +3 -1
- package/lib/modules/dialog/view.js +25 -1
- package/lib/modules/dialog/web-dialog-wrapper.d.ts +3 -0
- package/lib/modules/dialog/web-dialog-wrapper.js +154 -0
- package/lib/modules/event-toast/index.css +5 -2
- package/lib/modules/event-toast/store.browser.js +1 -1
- package/lib/modules/event-toast/store.electron.js +1 -1
- package/lib/modules/interpreter/index.css +1 -2
- package/lib/modules/interpreter/store.js +22 -19
- package/lib/modules/interpreter/utils.js +1 -1
- package/lib/modules/invite/components/pstn-invite.js +5 -5
- package/lib/modules/invite/store.d.ts +2 -2
- package/lib/modules/invite/store.js +1 -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 +14 -4
- package/lib/modules/layout/components/Gallery.js +1 -1
- package/lib/modules/layout/index.css +0 -31
- package/lib/modules/layout/store.base.d.ts +9 -15
- package/lib/modules/layout/store.base.js +69 -198
- package/lib/modules/layout/store.browser.d.ts +2 -1
- package/lib/modules/layout/store.browser.js +62 -2
- package/lib/modules/layout/store.electron.d.ts +1 -3
- package/lib/modules/layout/store.electron.js +10 -28
- package/lib/modules/layout/view.js +1 -3
- package/lib/modules/live-streaming/index.dev.js +1 -1
- package/lib/modules/live-streaming/store.js +3 -4
- package/lib/modules/participant/components/confirm-input/index.css +15 -0
- package/lib/modules/participant/components/confirm-input/index.js +10 -13
- package/lib/modules/participant/components/mute-all/index.css +34 -0
- package/lib/modules/participant/components/mute-all/index.d.ts +1 -0
- package/lib/modules/participant/components/mute-all/index.js +21 -15
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +16 -2
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.d.ts +2 -1
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
- package/lib/modules/participant/index.css +0 -16
- package/lib/modules/participant/store.base.d.ts +18 -5
- package/lib/modules/participant/store.base.js +219 -127
- package/lib/modules/participant/store.browser.d.ts +2 -1
- package/lib/modules/participant/store.browser.js +2 -2
- package/lib/modules/participant/store.electron.d.ts +2 -1
- package/lib/modules/participant/store.electron.js +2 -2
- package/lib/modules/pc-audio-connect/waiting-scene/index.js +6 -1
- package/lib/modules/phone-audio-connect/store.js +1 -1
- package/lib/modules/phone-audio-connect/view.js +1 -1
- package/lib/modules/secondary-window/index.d.ts +14 -7
- package/lib/modules/secondary-window/index.js +51 -25
- package/lib/modules/secondary-window/store.d.ts +4 -2
- package/lib/modules/secondary-window/store.js +39 -8
- package/lib/modules/secondary-window/type.d.ts +16 -25
- package/lib/modules/secondary-window/type.js +1 -0
- package/lib/modules/secondary-window/view.js +59 -58
- package/lib/modules/setting/audio-settings/audio-settings.js +2 -2
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
- package/lib/modules/setting/caption_and_transcribing/index.js +1 -1
- package/lib/modules/setting/general-settings/general-settings.js +4 -4
- package/lib/modules/setting/index.css +2 -3
- package/lib/modules/setting/index.d.ts +1 -2
- package/lib/modules/setting/index.js +3 -10
- package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
- package/lib/modules/setting/state/index.js +1 -1
- package/lib/modules/setting/storage-settings/storage-settings.js +1 -1
- package/lib/modules/setting/store.base.d.ts +11 -9
- package/lib/modules/setting/store.base.js +103 -88
- package/lib/modules/setting/store.electron.d.ts +2 -1
- package/lib/modules/setting/store.electron.js +19 -1
- package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
- package/lib/modules/setting/type.d.ts +1 -9
- package/lib/modules/setting/video-settings/video-settings-basic.js +1 -1
- package/lib/modules/setting/video-settings/video-settings.js +11 -7
- package/lib/modules/setting/view.js +1 -1
- package/lib/modules/share-screen/components/control-bar/index.js +0 -86
- package/lib/modules/share-screen/components/selection/index.js +3 -1
- package/lib/modules/share-screen/store.base.d.ts +1 -1
- package/lib/modules/share-screen/store.base.js +10 -14
- package/lib/modules/share-screen/store.electron.d.ts +4 -0
- package/lib/modules/share-screen/store.electron.js +108 -34
- package/lib/modules/state-bar/layout-config.js +1 -1
- package/lib/modules/state-bar/live-streaming-state.js +6 -7
- package/lib/modules/state-bar/main-scene/store.browser.js +1 -1
- package/lib/modules/state-bar/main-scene/store.electron.js +1 -1
- package/lib/modules/state-bar/meeting-details.js +14 -21
- package/lib/modules/state-bar/meeting-network-state.css +5 -1
- package/lib/modules/state-bar/meeting-network-state.js +7 -1
- 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 +1 -1
- package/lib/modules/state-bar/store.base.d.ts +3 -3
- package/lib/modules/state-bar/store.base.js +15 -24
- package/lib/modules/state-bar/view.js +6 -7
- package/lib/modules/subtitles-history/components/list-item.js +6 -1
- package/lib/modules/subtitles-history/index.css +2 -5
- package/lib/modules/subtitles-history/store.base.js +24 -12
- package/lib/modules/subtitles-history/store.electron.js +8 -2
- package/lib/modules/subtitles-history/view.js +7 -5
- package/lib/modules/toast-manager/index.d.ts +8 -0
- package/lib/modules/toast-manager/index.js +58 -0
- package/lib/modules/toast-manager/store.d.ts +28 -0
- package/lib/modules/toast-manager/store.js +391 -0
- package/lib/modules/toast-manager/toast-params.d.ts +7 -0
- package/lib/modules/toast-manager/toast-params.js +89 -0
- package/lib/modules/toast-manager/type.d.ts +112 -0
- package/lib/modules/toast-manager/type.js +337 -0
- package/lib/modules/video-window/store.d.ts +2 -2
- package/lib/modules/video-window/store.js +28 -50
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +0 -1
- package/lib/modules/whiteboard/components/control-bar/store.js +0 -6
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +25 -14
- package/lib/modules/whiteboard/store.js +10 -9
- package/lib/modules/whiteboard/view.js +0 -1
- package/lib/modules/widget/store.electron.d.ts +0 -4
- package/lib/modules/widget/store.electron.js +3 -38
- package/lib/modules/widget/view.js +1 -1
- package/lib/modules/widget/web-widget.d.ts +1 -1
- package/lib/object-manager.d.ts +2 -0
- package/lib/object-manager.js +2 -0
- package/lib/plugins/multi-lang-plugin.js +1 -1
- package/lib/providers/ability-provider.d.ts +33 -1
- package/lib/providers/ability-provider.js +29 -1
- package/lib/providers/annotation/provider.base.d.ts +39 -0
- package/lib/providers/annotation/provider.base.js +270 -0
- package/lib/providers/annotation/provider.browser.d.ts +3 -0
- package/lib/providers/annotation/provider.browser.js +25 -0
- package/lib/providers/annotation/provider.electron.d.ts +34 -0
- package/lib/providers/annotation/provider.electron.js +231 -0
- package/lib/providers/annotation/standalone-toolbar-control/index.d.ts +26 -0
- package/lib/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +103 -175
- package/lib/providers/annotation/toolbar-control/index.d.ts +31 -0
- package/lib/providers/annotation/toolbar-control/index.js +205 -0
- package/lib/providers/annotation/type.d.ts +64 -21
- package/lib/providers/app-list-provider.d.ts +4 -1
- package/lib/providers/app-list-provider.js +13 -7
- package/lib/providers/board-share/bar-control/base.d.ts +6 -8
- package/lib/providers/board-share/bar-control/base.js +7 -36
- package/lib/providers/board-share/bar-control/browser.d.ts +4 -1
- package/lib/providers/board-share/bar-control/browser.js +76 -3
- package/lib/providers/board-share/bar-control/electron.d.ts +4 -6
- package/lib/providers/board-share/bar-control/electron.js +36 -12
- package/lib/providers/board-share/provider.base.d.ts +11 -8
- package/lib/providers/board-share/provider.base.js +72 -13
- package/lib/providers/board-share/type.d.ts +11 -12
- package/lib/providers/device-privilege-provider.d.ts +5 -4
- package/lib/providers/device-privilege-provider.js +85 -62
- package/lib/providers/device-provider.d.ts +32 -1
- package/lib/providers/device-provider.js +412 -161
- package/lib/providers/device-stream-provider.d.ts +3 -3
- package/lib/providers/device-stream-provider.js +37 -111
- package/lib/providers/dialog/provider.electron.js +6 -1
- package/lib/providers/interpreter-provider.js +5 -5
- package/lib/providers/message/provider.d.ts +3 -1
- package/lib/providers/message/provider.js +12 -0
- package/lib/providers/message/type.d.ts +15 -0
- package/lib/providers/mouse-detect/provider.js +2 -2
- package/lib/providers/mouse-detect/struct.d.ts +2 -1
- package/lib/providers/mouse-detect/struct.js +1 -0
- package/lib/providers/multi-display-provider.d.ts +1 -0
- package/lib/providers/multi-display-provider.js +13 -0
- package/lib/providers/phone-audio-provider.d.ts +15 -0
- package/lib/providers/phone-audio-provider.js +17 -10
- package/lib/providers/privilege-provider.d.ts +15 -15
- package/lib/providers/room-provider/room-provider.d.ts +23 -11
- package/lib/providers/room-provider/room-provider.js +93 -199
- package/lib/providers/room-provider/waiting-room-control-manager.d.ts +2 -2
- package/lib/providers/room-provider/waiting-room-control-manager.js +2 -2
- package/lib/providers/screen-share/provider.base.d.ts +1 -0
- package/lib/providers/screen-share/provider.base.js +6 -1
- package/lib/providers/screen-share/provider.browser.js +13 -9
- package/lib/providers/screen-share/provider.electron.d.ts +1 -1
- package/lib/providers/screen-share/provider.electron.js +54 -44
- package/lib/providers/screen-share/strategy/electron.js +18 -3
- package/lib/providers/screen-share/stream-state-sync.d.ts +1 -1
- package/lib/providers/screen-share/stream-state-sync.js +4 -4
- package/lib/providers/screen-share/type.d.ts +9 -1
- package/lib/providers/session-provider.d.ts +1 -1
- package/lib/providers/stt-provider/stt-provider.d.ts +1 -1
- package/lib/providers/stt-provider/stt-provider.js +40 -77
- package/lib/providers/stt-provider/type.d.ts +5 -3
- package/lib/providers/stt-provider/type.js +4 -2
- package/lib/providers/user-audio-volume-provider.d.ts +47 -0
- package/lib/providers/user-audio-volume-provider.js +319 -0
- package/lib/providers/window/provider.d.ts +1 -1
- package/lib/providers/window/provider.js +23 -12
- package/lib/providers/window/renderer-window.d.ts +8 -2
- package/lib/providers/window/renderer-window.js +118 -33
- package/lib/providers/window/type.d.ts +1 -3
- package/lib/runtime.d.ts +12 -13
- package/lib/scenes/main-scene.js +98 -69
- package/lib/scenes/waiting-scene.js +4 -4
- package/lib/shared-data/member-data.d.ts +0 -9
- package/lib/shared-data/member-data.js +35 -61
- package/lib/shared-data/pin-data.d.ts +3 -2
- package/lib/shared-data/pin-data.js +8 -11
- package/lib/shared-data/setting.js +1 -1
- package/lib/shared-data/user-audio-volume.d.ts +19 -0
- package/lib/shared-data/user-audio-volume.js +104 -0
- package/lib/shared-data/video-window.js +49 -60
- package/lib/translations/enUS.d.ts +10 -0
- package/lib/translations/enUS.js +13 -3
- package/lib/translations/zhCN.d.ts +10 -0
- package/lib/translations/zhCN.js +12 -2
- package/lib/type.d.ts +27 -19
- package/lib/type.js +20 -2
- package/lib/ui-manager.js +1 -1
- package/lib/ui-scene-switch.d.ts +1 -0
- package/lib/ui-scene-switch.js +197 -87
- package/lib/utilities/browser-api.d.ts +0 -1
- package/lib/utilities/browser-api.js +0 -42
- package/lib/utilities/constant.d.ts +4 -4
- package/lib/utilities/constant.js +4 -5
- package/lib/utilities/default-config.d.ts +2 -8
- package/lib/utilities/default-config.js +8 -48
- package/lib/utilities/dialog-utils.js +1 -2
- package/lib/utilities/focus-helper.js +2 -2
- package/lib/utilities/logger.d.ts +1 -2
- package/lib/utilities/logger.js +12 -40
- package/lib/utilities/package-info.d.ts +1 -2
- package/lib/utilities/package-info.js +5 -6
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +7 -1
- package/lib/utilities/shared-storage.d.ts +2 -3
- package/lib/utilities/shared-storage.js +15 -11
- package/lib/utilities/tools.d.ts +1 -44
- package/lib/utilities/tools.js +28 -193
- package/lib/utilities/validate-params.js +3 -5
- package/lib-es/base.js +2 -2
- package/lib-es/creator/index.js +28 -12
- package/lib-es/creator/provider-initializer.browser.js +28 -3
- package/lib-es/creator/provider-initializer.electron.js +28 -5
- package/lib-es/electron/app.js +24 -7
- package/lib-es/electron/asar-validation.js +5 -1
- package/lib-es/electron/env.js +1 -1
- package/lib-es/electron/injections.js +22 -17
- package/lib-es/electron/ipc/type.js +1 -0
- package/lib-es/electron/main.js +3 -2
- package/lib-es/electron/plugins/main-window-display.js +16 -0
- package/lib-es/electron/preload.js +3 -2
- package/lib-es/electron/process-manager/index.js +37 -0
- package/lib-es/electron/process-manager/state-manager.js +46 -4
- package/lib-es/electron/sdk-helper.js +4 -0
- package/lib-es/electron/window-proxy/browser-window-proxy-factory.js +38 -0
- package/lib-es/electron/window-proxy/implementations/browser-window-proxy.js +328 -0
- package/lib-es/electron/window-proxy/implementations/electron-event-broadcaster.js +24 -0
- package/lib-es/electron/window-proxy/implementations/electron-ipc-handler.js +19 -0
- package/lib-es/electron/window-proxy/implementations/electron-logger.js +26 -0
- package/lib-es/electron/window-proxy/{main-process-handler.js → implementations/main-process-handler.js} +110 -113
- package/lib-es/electron/window-proxy/interfaces.js +1 -0
- package/lib-es/fragments/annotation/cursor.css +77 -0
- package/lib-es/fragments/annotation/index.js +5 -83
- package/lib-es/fragments/annotation/libs.js +63 -14
- package/lib-es/fragments/annotation/store.js +321 -711
- package/lib-es/fragments/annotation/style.css +5 -6
- package/lib-es/fragments/annotation/view.js +9 -48
- package/lib-es/fragments/base.js +1 -1
- package/lib-es/fragments/whiteboard/libs.js +147 -0
- package/lib-es/fragments/whiteboard/store.js +65 -129
- package/lib-es/modules/action-bar/components/apps/index.js +2 -2
- package/lib-es/modules/action-bar/components/collapse/index.js +8 -3
- package/lib-es/modules/action-bar/components/{confirm-leave-meeting → confirm-end-meeting}/index.js +14 -33
- package/lib-es/modules/action-bar/components/leave/index.js +1 -1
- package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +6 -0
- package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +66 -42
- package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +11 -7
- package/lib-es/modules/action-bar/components/notification-bar/index.js +13 -71
- package/lib-es/modules/action-bar/components/screen-share/submenu.js +39 -2
- package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +1 -0
- package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +11 -8
- package/lib-es/modules/action-bar/index.css +1 -1
- package/lib-es/modules/action-bar/main-scene/index.js +4 -4
- package/lib-es/modules/action-bar/main-scene/store.base.js +165 -94
- package/lib-es/modules/action-bar/type.js +15 -0
- package/lib-es/modules/action-bar/waiting-scene/view.js +1 -1
- package/lib-es/modules/annotation/board-cursor.css +77 -0
- package/lib-es/modules/annotation/components/color-picker/components/color.js +29 -0
- package/lib-es/modules/annotation/components/color-picker/components/panel.js +100 -0
- package/lib-es/modules/annotation/components/color-picker/components/picker.js +67 -0
- package/lib-es/modules/annotation/components/color-picker/index.js +38 -0
- package/lib-es/modules/annotation/components/eraser-picker.js +134 -0
- package/lib-es/modules/annotation/components/expansion/index.js +85 -0
- package/lib-es/modules/annotation/components/extra-tool-picker.js +46 -0
- package/lib-es/modules/annotation/components/history.js +68 -0
- package/lib-es/modules/annotation/components/icons/fold-icon.js +33 -0
- package/lib-es/modules/annotation/components/icons/move-icon.js +59 -0
- package/lib-es/modules/annotation/components/item/index.js +35 -0
- package/lib-es/modules/annotation/components/move-handle.js +127 -0
- package/lib-es/modules/annotation/components/pen-picker.js +142 -0
- package/lib-es/modules/annotation/components/screen-capture-picker.js +77 -0
- package/lib-es/modules/annotation/components/shape-picker.js +193 -0
- package/lib-es/modules/annotation/hooks/index.js +156 -0
- package/lib-es/modules/annotation/index.js +144 -0
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.js +2 -2
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.js +23 -10
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.js +2 -3
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.js +23 -10
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.js +23 -10
- package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.js +2 -2
- package/lib-es/modules/annotation/standalone-toolbar/components/permission-tool/index.js +44 -0
- package/lib-es/modules/annotation/standalone-toolbar/store.js +611 -0
- package/{lib/fragments/annotation/toolbar → lib-es/modules/annotation/standalone-toolbar}/style.css +4 -1
- package/lib-es/modules/annotation/standalone-toolbar/view.js +186 -0
- package/lib-es/modules/annotation/store.base.js +178 -0
- package/lib-es/modules/annotation/store.browser.js +17 -0
- package/lib-es/modules/annotation/store.electron.js +67 -0
- package/lib-es/modules/annotation/style.css +36 -0
- package/lib-es/modules/annotation/toolbar-store.js +466 -0
- package/lib-es/modules/annotation/type.js +1 -0
- package/lib-es/modules/annotation/view.js +99 -0
- package/lib-es/modules/chat/chat-room-store.js +152 -72
- package/lib-es/modules/chat/components/message-list/index.js +123 -89
- package/lib-es/modules/chat/components/message-list/message-item/index.js +89 -67
- package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +6 -8
- package/lib-es/modules/chat/index.css +1 -9
- package/lib-es/modules/chat/store.js +7 -5
- package/lib-es/modules/chat/view.js +2 -7
- package/lib-es/modules/components/annotation-menu/index.js +28 -33
- package/lib-es/modules/components/apps/index.css +3 -2
- package/lib-es/modules/components/caption-menu/translation-setting-options.js +2 -2
- package/lib-es/modules/components/confirm-wrapper/index.css +48 -0
- package/lib-es/modules/components/confirm-wrapper/index.js +80 -0
- package/lib-es/modules/components/control-bar/index.js +349 -199
- package/lib-es/modules/components/device-control/components/audio-menu/index.js +3 -2
- package/lib-es/modules/components/device-control/components/video-menu/index.js +5 -3
- package/lib-es/modules/components/device-control/store.base.js +17 -1
- package/lib-es/modules/components/leave-meeting/index.css +21 -0
- package/lib-es/modules/components/leave-meeting/index.js +63 -102
- package/lib-es/modules/components/leave-meeting/portal.js +3 -5
- package/lib-es/modules/components/leave-meeting/store.base.js +49 -55
- package/lib-es/modules/components/leave-meeting/style.css +0 -1
- package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +2 -1
- package/lib-es/modules/components/member-window/components/member-actions/provider.js +1 -1
- package/lib-es/modules/components/member-window/index.js +3 -3
- package/lib-es/modules/components/security-menu/store.js +7 -9
- package/lib-es/modules/components/tab-frame/index.css +2 -2
- package/lib-es/modules/connection-gateway/components/phone/index.js +1 -1
- package/lib-es/modules/connection-gateway/store.js +6 -8
- package/lib-es/modules/control-bar/components/annotation-button/index.js +43 -0
- package/lib-es/modules/control-bar/components/apps-popover/index.css +3 -0
- package/lib-es/modules/control-bar/components/apps-popover/index.js +2 -0
- package/lib-es/modules/control-bar/components/carmera/index.js +1 -1
- package/lib-es/modules/control-bar/components/meeting-details/index.js +10 -16
- package/lib-es/modules/control-bar/components/microphone/index.js +2 -2
- package/lib-es/modules/control-bar/hooks.js +1 -1
- package/lib-es/modules/control-bar/index.css +11 -0
- package/lib-es/modules/control-bar/store.js +184 -53
- package/lib-es/modules/control-bar/view.js +72 -39
- package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +4 -10
- package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
- package/lib-es/modules/device-pretest/index.js +1 -1
- package/lib-es/modules/device-pretest/settings/beauty.js +1 -1
- package/lib-es/modules/device-pretest/settings/video-effect.js +27 -12
- package/lib-es/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +1 -1
- package/lib-es/modules/dialog/components/confirm/index.css +0 -18
- package/lib-es/modules/dialog/components/confirm/index.js +2 -1
- package/lib-es/modules/dialog/components/dialog-container/index.css +3 -4
- package/lib-es/modules/dialog/components/dialog-container/index.js +80 -126
- package/lib-es/modules/dialog/components/normal-window/index.js +15 -35
- package/lib-es/modules/dialog/dialogConfig/browser.js +4 -0
- package/lib-es/modules/dialog/dialogConfig/electron.js +8 -0
- package/lib-es/modules/dialog/dialogs/annotation-mask/index.js +34 -0
- package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +18 -34
- package/lib-es/modules/dialog/dialogs/caption/index.js +24 -18
- package/lib-es/modules/dialog/dialogs/chat/index.js +32 -53
- package/lib-es/modules/dialog/dialogs/confirm/index.css +2 -13
- package/lib-es/modules/dialog/dialogs/confirm/index.js +4 -6
- package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +3 -23
- package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +5 -28
- package/lib-es/modules/dialog/dialogs/control-bar/index.js +3 -5
- package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +2 -20
- package/lib-es/modules/dialog/dialogs/device-setting/index.js +3 -19
- package/lib-es/modules/dialog/dialogs/{end-meeting → end-meeting-notice}/index.js +3 -13
- package/lib-es/modules/dialog/dialogs/interpreter/index.js +32 -23
- package/lib-es/modules/dialog/dialogs/invite/index.js +24 -23
- package/lib-es/modules/dialog/dialogs/live-streaming/index.js +6 -10
- package/lib-es/modules/dialog/dialogs/mute-all/index.js +3 -19
- package/lib-es/modules/dialog/dialogs/participant/index.js +31 -30
- package/lib-es/modules/dialog/dialogs/rename/index.js +1 -12
- package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +1 -1
- package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +2 -11
- package/lib-es/modules/dialog/dialogs/sub-window/index.js +3 -2
- package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +31 -24
- package/lib-es/modules/dialog/dialogs/system-preference/index.css +3 -2
- package/lib-es/modules/dialog/dialogs/system-preference/index.js +12 -12
- package/lib-es/modules/dialog/dialogs/toast/index.js +4 -4
- package/lib-es/modules/dialog/dialogs/video-window/index.js +3 -3
- package/lib-es/modules/dialog/dialogs/whiteboard/index.js +1 -1
- package/lib-es/modules/dialog/dialogs/widget/index.js +21 -25
- package/lib-es/modules/dialog/index.css +4 -11
- package/lib-es/modules/dialog/level-config.js +1 -0
- package/lib-es/modules/dialog/store.base.js +0 -3
- package/lib-es/modules/dialog/store.electron.js +16 -9
- package/lib-es/modules/dialog/view.js +25 -1
- package/lib-es/modules/dialog/web-dialog-wrapper.js +147 -0
- package/lib-es/modules/event-toast/index.css +5 -2
- package/lib-es/modules/event-toast/store.browser.js +1 -1
- package/lib-es/modules/event-toast/store.electron.js +1 -1
- package/lib-es/modules/interpreter/index.css +1 -2
- package/lib-es/modules/interpreter/store.js +22 -19
- package/lib-es/modules/interpreter/utils.js +1 -1
- package/lib-es/modules/invite/components/pstn-invite.js +4 -4
- package/lib-es/modules/invite/store.js +1 -1
- package/lib-es/modules/layout/components/Aside.js +1 -1
- package/lib-es/modules/layout/components/Carousel.js +1 -1
- package/lib-es/modules/layout/components/CommonVideoRenderer.js +15 -5
- package/lib-es/modules/layout/components/Gallery.js +1 -1
- package/lib-es/modules/layout/index.css +0 -31
- package/lib-es/modules/layout/store.base.js +71 -200
- package/lib-es/modules/layout/store.browser.js +62 -1
- package/lib-es/modules/layout/store.electron.js +10 -28
- package/lib-es/modules/layout/view.js +1 -3
- package/lib-es/modules/live-streaming/index.dev.js +1 -1
- package/lib-es/modules/live-streaming/store.js +3 -4
- package/lib-es/modules/participant/components/confirm-input/index.css +15 -0
- package/lib-es/modules/participant/components/confirm-input/index.js +10 -13
- package/lib-es/modules/participant/components/mute-all/index.css +34 -0
- package/lib-es/modules/participant/components/mute-all/index.js +21 -15
- package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +17 -3
- package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +3 -1
- package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +3 -2
- package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +1 -1
- package/lib-es/modules/participant/index.css +0 -16
- package/lib-es/modules/participant/store.base.js +219 -127
- package/lib-es/modules/participant/store.browser.js +2 -2
- package/lib-es/modules/participant/store.electron.js +2 -2
- package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +6 -1
- package/lib-es/modules/phone-audio-connect/store.js +1 -1
- package/lib-es/modules/phone-audio-connect/view.js +1 -1
- package/lib-es/modules/secondary-window/index.js +51 -25
- package/lib-es/modules/secondary-window/store.js +40 -9
- package/lib-es/modules/secondary-window/type.js +1 -0
- package/lib-es/modules/secondary-window/view.js +60 -59
- package/lib-es/modules/setting/audio-settings/audio-settings.js +2 -2
- package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +2 -2
- package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +1 -1
- package/lib-es/modules/setting/caption_and_transcribing/index.js +1 -1
- package/lib-es/modules/setting/general-settings/general-settings.js +5 -5
- package/lib-es/modules/setting/index.css +2 -3
- package/lib-es/modules/setting/index.js +3 -10
- package/lib-es/modules/setting/minutes-settings/minutes-settings.js +1 -1
- package/lib-es/modules/setting/state/index.js +1 -1
- package/lib-es/modules/setting/storage-settings/storage-settings.js +1 -1
- package/lib-es/modules/setting/store.base.js +103 -88
- package/lib-es/modules/setting/store.electron.js +19 -1
- package/lib-es/modules/setting/translate-settings/translate-settings.js +1 -1
- package/lib-es/modules/setting/video-settings/video-settings-basic.js +1 -1
- package/lib-es/modules/setting/video-settings/video-settings.js +11 -7
- package/lib-es/modules/setting/view.js +1 -1
- package/lib-es/modules/share-screen/components/control-bar/index.js +0 -86
- package/lib-es/modules/share-screen/components/selection/index.js +3 -1
- package/lib-es/modules/share-screen/store.base.js +10 -14
- package/lib-es/modules/share-screen/store.electron.js +109 -35
- package/lib-es/modules/state-bar/layout-config.js +1 -1
- package/lib-es/modules/state-bar/live-streaming-state.js +5 -6
- package/lib-es/modules/state-bar/main-scene/store.browser.js +1 -1
- package/lib-es/modules/state-bar/main-scene/store.electron.js +1 -1
- package/lib-es/modules/state-bar/meeting-details.js +10 -17
- package/lib-es/modules/state-bar/meeting-network-state.css +5 -1
- package/lib-es/modules/state-bar/meeting-network-state.js +7 -1
- package/lib-es/modules/state-bar/meeting-time.js +1 -1
- package/lib-es/modules/state-bar/network-quality.js +1 -1
- package/lib-es/modules/state-bar/recording.js +1 -1
- package/lib-es/modules/state-bar/store.base.js +15 -24
- package/lib-es/modules/state-bar/view.js +5 -6
- package/lib-es/modules/subtitles-history/components/list-item.js +6 -1
- package/lib-es/modules/subtitles-history/index.css +2 -5
- package/lib-es/modules/subtitles-history/store.base.js +24 -12
- package/lib-es/modules/subtitles-history/store.electron.js +8 -2
- package/lib-es/modules/subtitles-history/view.js +7 -5
- package/lib-es/modules/toast-manager/index.js +50 -0
- package/lib-es/modules/toast-manager/store.js +383 -0
- package/lib-es/modules/toast-manager/toast-params.js +82 -0
- package/lib-es/modules/toast-manager/type.js +329 -0
- package/lib-es/modules/video-window/store.js +28 -50
- package/lib-es/modules/whiteboard/components/control-bar/store.js +0 -6
- package/lib-es/modules/whiteboard/components/toolbar/store.js +25 -14
- package/lib-es/modules/whiteboard/store.js +10 -9
- package/lib-es/modules/whiteboard/view.js +0 -1
- package/lib-es/modules/widget/store.electron.js +12 -47
- package/lib-es/modules/widget/view.js +1 -1
- package/lib-es/object-manager.js +2 -0
- package/lib-es/plugins/multi-lang-plugin.js +1 -1
- package/lib-es/providers/ability-provider.js +29 -1
- package/lib-es/providers/annotation/provider.base.js +263 -0
- package/lib-es/providers/annotation/provider.browser.js +17 -0
- package/lib-es/providers/annotation/provider.electron.js +224 -0
- package/lib-es/{fragments/annotation/toolbar/store.js → providers/annotation/standalone-toolbar-control/index.js} +102 -174
- package/lib-es/providers/annotation/toolbar-control/index.js +198 -0
- package/lib-es/providers/app-list-provider.js +13 -7
- package/lib-es/providers/board-share/bar-control/base.js +7 -36
- package/lib-es/providers/board-share/bar-control/browser.js +78 -4
- package/lib-es/providers/board-share/bar-control/electron.js +36 -12
- package/lib-es/providers/board-share/provider.base.js +73 -14
- package/lib-es/providers/device-privilege-provider.js +85 -62
- package/lib-es/providers/device-provider.js +413 -162
- package/lib-es/providers/device-stream-provider.js +37 -111
- package/lib-es/providers/dialog/provider.electron.js +6 -1
- package/lib-es/providers/interpreter-provider.js +5 -5
- package/lib-es/providers/message/provider.js +12 -0
- package/lib-es/providers/mouse-detect/provider.js +1 -1
- package/lib-es/providers/mouse-detect/struct.js +1 -0
- package/lib-es/providers/multi-display-provider.js +15 -2
- package/lib-es/providers/phone-audio-provider.js +17 -10
- package/lib-es/providers/room-provider/room-provider.js +95 -201
- package/lib-es/providers/room-provider/waiting-room-control-manager.js +1 -1
- package/lib-es/providers/screen-share/provider.base.js +6 -1
- package/lib-es/providers/screen-share/provider.browser.js +13 -9
- package/lib-es/providers/screen-share/provider.electron.js +54 -44
- package/lib-es/providers/screen-share/strategy/electron.js +18 -3
- package/lib-es/providers/screen-share/stream-state-sync.js +4 -4
- package/lib-es/providers/stt-provider/stt-provider.js +65 -102
- package/lib-es/providers/stt-provider/type.js +4 -2
- package/lib-es/providers/user-audio-volume-provider.js +312 -0
- package/lib-es/providers/window/provider.js +23 -13
- package/lib-es/providers/window/renderer-window.js +118 -33
- package/lib-es/scenes/main-scene.js +113 -83
- package/lib-es/scenes/waiting-scene.js +5 -5
- package/lib-es/shared-data/member-data.js +35 -61
- package/lib-es/shared-data/pin-data.js +8 -11
- package/lib-es/shared-data/setting.js +1 -1
- package/lib-es/shared-data/user-audio-volume.js +97 -0
- package/lib-es/shared-data/video-window.js +49 -60
- package/lib-es/translations/enUS.js +13 -3
- package/lib-es/translations/zhCN.js +12 -2
- package/lib-es/type.js +19 -1
- package/lib-es/ui-manager.js +1 -1
- package/lib-es/ui-scene-switch.js +199 -88
- package/lib-es/utilities/browser-api.js +0 -40
- package/lib-es/utilities/constant.js +4 -5
- package/lib-es/utilities/default-config.js +8 -48
- package/lib-es/utilities/dialog-utils.js +1 -1
- package/lib-es/utilities/focus-helper.js +1 -1
- package/lib-es/utilities/logger.js +12 -40
- package/lib-es/utilities/package-info.js +5 -6
- package/lib-es/utilities/renderer.js +7 -1
- package/lib-es/utilities/shared-storage.js +16 -12
- package/lib-es/utilities/tools.js +2 -188
- package/lib-es/utilities/validate-params.js +3 -5
- package/package.json +7 -8
- package/public/js/meeting-manager.js +13 -11
- package/lib/electron/window-proxy/browser-window-proxy.js +0 -728
- package/lib/fragments/annotation/toolbar/store.d.ts +0 -64
- package/lib/fragments/annotation/toolbar/view.js +0 -148
- package/lib/fragments/annotation/utils.d.ts +0 -1
- package/lib/fragments/annotation/utils.js +0 -27
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +0 -20
- package/lib/modules/dialog/components/dialog-container/component/body.js +0 -111
- package/lib/modules/dialog/components/host-area-container/index.d.ts +0 -12
- package/lib/modules/dialog/components/host-area-container/index.js +0 -153
- package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +0 -13
- package/lib/modules/dialog/dialogs/interpreter/index.css +0 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +0 -20
- package/lib/modules/whiteboard/components/multi-window/index.css +0 -63
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +0 -5
- package/lib/modules/whiteboard/components/multi-window/index.js +0 -39
- package/lib/providers/annotation/provider.d.ts +0 -15
- package/lib/providers/annotation/provider.js +0 -69
- package/lib/utilities/hooks.d.ts +0 -14
- package/lib/utilities/hooks.js +0 -100
- package/lib/utilities/mute-action.d.ts +0 -4
- package/lib/utilities/mute-action.js +0 -48
- package/lib/utilities/platform.d.ts +0 -2
- package/lib/utilities/platform.js +0 -14
- package/lib/utilities/regex.d.ts +0 -1
- package/lib/utilities/regex.js +0 -14
- package/lib/utilities/useNamespace.d.ts +0 -15
- package/lib/utilities/useNamespace.js +0 -66
- package/lib-es/electron/window-proxy/browser-window-proxy.js +0 -720
- package/lib-es/fragments/annotation/toolbar/view.js +0 -140
- package/lib-es/fragments/annotation/utils.js +0 -20
- package/lib-es/modules/dialog/components/dialog-container/component/body.js +0 -103
- package/lib-es/modules/dialog/components/host-area-container/index.js +0 -146
- package/lib-es/modules/dialog/dialogs/interpreter/index.css +0 -30
- package/lib-es/modules/dialog/dialogs/mute-all/index.css +0 -20
- package/lib-es/modules/whiteboard/components/multi-window/index.css +0 -63
- package/lib-es/modules/whiteboard/components/multi-window/index.js +0 -31
- package/lib-es/providers/annotation/provider.js +0 -61
- package/lib-es/utilities/hooks.js +0 -82
- package/lib-es/utilities/mute-action.js +0 -41
- package/lib-es/utilities/platform.js +0 -7
- package/lib-es/utilities/regex.js +0 -7
- package/lib-es/utilities/useNamespace.js +0 -59
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/color-panel/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/color-tool/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/pen-tool/pen-panel/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.d.ts +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
- /package/lib/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/view.d.ts +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/graphic-tool/graphic-panel/libs.js +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/item.js +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/item/style.css +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/index.js +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/panel/style.css +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/index.js +0 -0
- /package/lib-es/{fragments/annotation/toolbar → modules/annotation/standalone-toolbar}/components/tips/style.css +0 -0
|
@@ -5,7 +5,6 @@ require("core-js/modules/es.symbol.description.js");
|
|
|
5
5
|
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
6
|
require("core-js/modules/es.error.cause.js");
|
|
7
7
|
require("core-js/modules/es.error.to-string.js");
|
|
8
|
-
require("core-js/modules/es.array.filter.js");
|
|
9
8
|
require("core-js/modules/es.array.is-array.js");
|
|
10
9
|
require("core-js/modules/es.date.to-primitive.js");
|
|
11
10
|
require("core-js/modules/es.function.name.js");
|
|
@@ -18,7 +17,6 @@ require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
|
18
17
|
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
19
18
|
require("core-js/modules/es.object.keys.js");
|
|
20
19
|
require("core-js/modules/esnext.function.metadata.js");
|
|
21
|
-
require("core-js/modules/esnext.iterator.filter.js");
|
|
22
20
|
require("core-js/modules/esnext.map.delete-all.js");
|
|
23
21
|
require("core-js/modules/esnext.map.emplace.js");
|
|
24
22
|
require("core-js/modules/esnext.map.every.js");
|
|
@@ -41,8 +39,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
41
39
|
});
|
|
42
40
|
exports.ActionBarMainSceneStoreBase = exports.ActionBarContext = void 0;
|
|
43
41
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
44
|
-
require("core-js/modules/es.array.
|
|
42
|
+
require("core-js/modules/es.array.concat.js");
|
|
43
|
+
require("core-js/modules/es.array.filter.js");
|
|
45
44
|
require("core-js/modules/es.array.for-each.js");
|
|
45
|
+
require("core-js/modules/es.array.includes.js");
|
|
46
46
|
require("core-js/modules/es.array.iterator.js");
|
|
47
47
|
require("core-js/modules/es.array.push.js");
|
|
48
48
|
require("core-js/modules/es.array.reduce.js");
|
|
@@ -50,10 +50,11 @@ require("core-js/modules/es.array.some.js");
|
|
|
50
50
|
require("core-js/modules/es.function.bind.js");
|
|
51
51
|
require("core-js/modules/es.object.to-string.js");
|
|
52
52
|
require("core-js/modules/es.object.values.js");
|
|
53
|
+
require("core-js/modules/es.string.includes.js");
|
|
53
54
|
require("core-js/modules/es.string.iterator.js");
|
|
54
55
|
require("core-js/modules/es.weak-map.js");
|
|
55
56
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
56
|
-
require("core-js/modules/esnext.iterator.
|
|
57
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
57
58
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
58
59
|
require("core-js/modules/esnext.iterator.reduce.js");
|
|
59
60
|
require("core-js/modules/esnext.iterator.some.js");
|
|
@@ -63,6 +64,7 @@ require("core-js/modules/web.dom-collections.for-each.js");
|
|
|
63
64
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
64
65
|
require("core-js/modules/web.timers.js");
|
|
65
66
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
67
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
66
68
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
67
69
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
68
70
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
@@ -70,7 +72,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
70
72
|
var _react = require("react");
|
|
71
73
|
var _mobx = require("mobx");
|
|
72
74
|
var _type = require("fcr-core/lib/room-control/type");
|
|
73
|
-
var _logger = require("
|
|
75
|
+
var _logger = require("../../../utilities/logger");
|
|
74
76
|
var _type2 = require("../../../type");
|
|
75
77
|
var _type3 = require("fcr-core/lib/type");
|
|
76
78
|
var _enums = require("../enums");
|
|
@@ -82,8 +84,9 @@ var _env = require("agora-foundation/lib/utilities/env");
|
|
|
82
84
|
var _type4 = require("agora-ui-foundation/lib/components/icon/type");
|
|
83
85
|
var _defaultConfig = require("../../../utilities/default-config");
|
|
84
86
|
var _struct = require("../../../providers/facility/struct");
|
|
87
|
+
var _type5 = require("../../toast-manager/type");
|
|
85
88
|
var _ActionBarMainSceneStoreBase;
|
|
86
|
-
var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex,
|
|
89
|
+
var _initProto, _init_newMessageTooltipVisible, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_connectionSettingVisible, _init_folded, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_connectionState, _init_appActionbarPopoverVisible, _init_stateBarLeaveMeeting, _init_reEnterInterpreterUserList, _init_offlineInterpreterUserList, _setCheckedStateMapDecs, _setStateBarLeaveMeetingDecs, _setPopoverOpenedDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showLockedRoomToastDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _clearReEnterInterpreterUserListDecs, _clearOfflineInterpreterUserListDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _setAppActionbarPopoverVisibleDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _setOutputLanguageDecs, _setEndMeetingPopoverOpenedDecs, _subscribeLanguageDecs, _subscribeExtraOriginLanguageDecs, _clickWidgetDecs, _closeWidgetDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _ref;
|
|
87
90
|
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
91
|
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
92
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -110,27 +113,24 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
110
113
|
var _L = /*#__PURE__*/new WeakMap();
|
|
111
114
|
var _M = /*#__PURE__*/new WeakMap();
|
|
112
115
|
var _N = /*#__PURE__*/new WeakMap();
|
|
116
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
113
117
|
_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, {
|
|
114
118
|
leading: true
|
|
115
119
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
116
120
|
leading: true
|
|
117
121
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
118
122
|
leading: true
|
|
119
|
-
})], _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],
|
|
123
|
+
})], _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], _clearReEnterInterpreterUserListDecs = [_mobx.action, _mobx.action.bound], _clearOfflineInterpreterUserListDecs = [_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], _clickWidgetDecs = [_mobx.action, _mobx.action.bound], _closeWidgetDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
120
124
|
var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PURE__*/function () {
|
|
121
125
|
function ActionBarMainSceneStoreBase(_ref2) {
|
|
122
|
-
var _this
|
|
123
|
-
_this
|
|
126
|
+
var _this$_roomControl$ge,
|
|
127
|
+
_this = this;
|
|
124
128
|
var objectManager = _ref2.objectManager;
|
|
125
129
|
(0, _classCallCheck2["default"])(this, ActionBarMainSceneStoreBase);
|
|
126
130
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
127
131
|
prefix: 'ActionBarStore'
|
|
128
132
|
})));
|
|
129
133
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
130
|
-
(0, _defineProperty2["default"])(this, "_userObserver", {
|
|
131
|
-
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
132
|
-
onRemoteUsersLeft: this._handleRemoteUsersLeft
|
|
133
|
-
});
|
|
134
134
|
(0, _defineProperty2["default"])(this, "_roomObserver", {
|
|
135
135
|
onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
|
|
136
136
|
});
|
|
@@ -147,14 +147,13 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
147
147
|
});
|
|
148
148
|
(0, _defineProperty2["default"])(this, "_newMessageTooltipTimer", null);
|
|
149
149
|
(0, _defineProperty2["default"])(this, "_hideBarArrowTimer", null);
|
|
150
|
-
(0, _defineProperty2["default"])(this, "_interpreterProviderObserver", {
|
|
151
|
-
onInterpreterListUpdated: function onInterpreterListUpdated() {
|
|
152
|
-
_this.hasOfflineUserExistence = _this.getOfflineUserExistenceState();
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
150
|
(0, _defineProperty2["default"])(this, "_applistObserver", {
|
|
156
151
|
onApplistItemClick: this._handleApplistItemClick.bind(this)
|
|
157
152
|
});
|
|
153
|
+
(0, _defineProperty2["default"])(this, "_userControlObserver", {
|
|
154
|
+
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
155
|
+
onRemoteUsersLeft: this._handleRemoteUsersLeft
|
|
156
|
+
});
|
|
158
157
|
_classPrivateFieldInitSpec(this, _A, _init_newMessageTooltipVisible(this, false));
|
|
159
158
|
_classPrivateFieldInitSpec(this, _B, _init_totalWaitingRoomUser(this, 0));
|
|
160
159
|
_classPrivateFieldInitSpec(this, _C, _init_liveStreamingState(this));
|
|
@@ -165,10 +164,11 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
165
164
|
_classPrivateFieldInitSpec(this, _H, _init_showArrow(this, false));
|
|
166
165
|
_classPrivateFieldInitSpec(this, _I, _init_phoneMicEnabled(this, false));
|
|
167
166
|
_classPrivateFieldInitSpec(this, _J, _init_chatTabIndex(this, _type2.FcrUIRoomType.MAIN_ROOM));
|
|
168
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
169
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
170
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
171
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
167
|
+
_classPrivateFieldInitSpec(this, _K, _init_connectionState(this, _type3.FcrConnectionState.CONNECTED));
|
|
168
|
+
_classPrivateFieldInitSpec(this, _L, _init_appActionbarPopoverVisible(this, false));
|
|
169
|
+
_classPrivateFieldInitSpec(this, _M, _init_stateBarLeaveMeeting(this, false));
|
|
170
|
+
_classPrivateFieldInitSpec(this, _N, _init_reEnterInterpreterUserList(this, []));
|
|
171
|
+
_classPrivateFieldInitSpec(this, _O, _init_offlineInterpreterUserList(this, []));
|
|
172
172
|
this._sharedLayoutDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
|
|
173
173
|
this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
|
|
174
174
|
this._screenShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
|
|
@@ -198,14 +198,12 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
198
198
|
this.liveStreamingState = this._roomControl.getLiveStreamingState();
|
|
199
199
|
this.cloudRecordingState = this._roomControl.getCloudRecordingState();
|
|
200
200
|
this._interpreterProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_INTERPRETER_PROVIDER);
|
|
201
|
-
this._interpreterProvider.addObserver(this._interpreterProviderObserver);
|
|
202
201
|
this._roomProvider.addObserver(this._roomObserver);
|
|
203
202
|
this._boardShareProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_BOARD_SHARE_PROVIDER);
|
|
204
|
-
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
205
|
-
this._userControl.addObserver(this._userObserver);
|
|
206
203
|
this._roomControl.addObserver(this._mainRoomObserver);
|
|
207
204
|
this._eventProvider.addObserver(this._uiEventObserver);
|
|
208
205
|
this._dialogProvider.addObserver(this._dialogObserver);
|
|
206
|
+
this._userControl.addObserver(this._userControlObserver);
|
|
209
207
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
210
208
|
return _this.chatVisible;
|
|
211
209
|
}, function (chatVisible) {
|
|
@@ -226,6 +224,13 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
226
224
|
_this.hideNewMessageTooltip();
|
|
227
225
|
}, 4000);
|
|
228
226
|
}
|
|
227
|
+
}), (0, _mobx.reaction)(function () {
|
|
228
|
+
return _this.isInterpreterEnabled;
|
|
229
|
+
}, function (isInterpreterEnabled) {
|
|
230
|
+
if (!isInterpreterEnabled) {
|
|
231
|
+
_this.clearReEnterInterpreterUserList();
|
|
232
|
+
_this.clearOfflineInterpreterUserList();
|
|
233
|
+
}
|
|
229
234
|
}));
|
|
230
235
|
}
|
|
231
236
|
return (0, _createClass2["default"])(ActionBarMainSceneStoreBase, [{
|
|
@@ -309,7 +314,7 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
309
314
|
_classPrivateFieldSet(_J, this, v);
|
|
310
315
|
}
|
|
311
316
|
}, {
|
|
312
|
-
key: "
|
|
317
|
+
key: "connectionState",
|
|
313
318
|
get: function get() {
|
|
314
319
|
return _classPrivateFieldGet(_K, this);
|
|
315
320
|
},
|
|
@@ -317,7 +322,7 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
317
322
|
_classPrivateFieldSet(_K, this, v);
|
|
318
323
|
}
|
|
319
324
|
}, {
|
|
320
|
-
key: "
|
|
325
|
+
key: "appActionbarPopoverVisible",
|
|
321
326
|
get: function get() {
|
|
322
327
|
return _classPrivateFieldGet(_L, this);
|
|
323
328
|
},
|
|
@@ -325,7 +330,7 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
325
330
|
_classPrivateFieldSet(_L, this, v);
|
|
326
331
|
}
|
|
327
332
|
}, {
|
|
328
|
-
key: "
|
|
333
|
+
key: "stateBarLeaveMeeting",
|
|
329
334
|
get: function get() {
|
|
330
335
|
return _classPrivateFieldGet(_M, this);
|
|
331
336
|
},
|
|
@@ -333,13 +338,21 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
333
338
|
_classPrivateFieldSet(_M, this, v);
|
|
334
339
|
}
|
|
335
340
|
}, {
|
|
336
|
-
key: "
|
|
341
|
+
key: "reEnterInterpreterUserList",
|
|
337
342
|
get: function get() {
|
|
338
343
|
return _classPrivateFieldGet(_N, this);
|
|
339
344
|
},
|
|
340
345
|
set: function set(v) {
|
|
341
346
|
_classPrivateFieldSet(_N, this, v);
|
|
342
347
|
}
|
|
348
|
+
}, {
|
|
349
|
+
key: "offlineInterpreterUserList",
|
|
350
|
+
get: function get() {
|
|
351
|
+
return _classPrivateFieldGet(_O, this);
|
|
352
|
+
},
|
|
353
|
+
set: function set(v) {
|
|
354
|
+
_classPrivateFieldSet(_O, this, v);
|
|
355
|
+
}
|
|
343
356
|
}, {
|
|
344
357
|
key: "endMeetingPopoverOpened",
|
|
345
358
|
get: function get() {
|
|
@@ -596,6 +609,36 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
596
609
|
get: function get() {
|
|
597
610
|
return this._abilityProvider.isInterpreterSupported() && this._privilegeProvider.hasEnableInterpreterPermission();
|
|
598
611
|
}
|
|
612
|
+
}, {
|
|
613
|
+
key: "isRecordingSupported",
|
|
614
|
+
get: function get() {
|
|
615
|
+
return this._abilityProvider.isRecordingSupported();
|
|
616
|
+
}
|
|
617
|
+
}, {
|
|
618
|
+
key: "isBoardAbilitySupported",
|
|
619
|
+
get: function get() {
|
|
620
|
+
return this._abilityProvider.isBoardAbilitySupported();
|
|
621
|
+
}
|
|
622
|
+
}, {
|
|
623
|
+
key: "isVirtualBackgroundSupported",
|
|
624
|
+
get: function get() {
|
|
625
|
+
return this._abilityProvider.isVirtualBackgroundSupported();
|
|
626
|
+
}
|
|
627
|
+
}, {
|
|
628
|
+
key: "isBeautyModeAbilitySupported",
|
|
629
|
+
get: function get() {
|
|
630
|
+
return this._abilityProvider.isBeautyModeAbilitySupported();
|
|
631
|
+
}
|
|
632
|
+
}, {
|
|
633
|
+
key: "isInterpreterSupported",
|
|
634
|
+
get: function get() {
|
|
635
|
+
return this._abilityProvider.isInterpreterSupported();
|
|
636
|
+
}
|
|
637
|
+
}, {
|
|
638
|
+
key: "isLiveSupported",
|
|
639
|
+
get: function get() {
|
|
640
|
+
return this._abilityProvider.isLiveSupported();
|
|
641
|
+
}
|
|
599
642
|
}, {
|
|
600
643
|
key: "hasDisableInterpreterPermission",
|
|
601
644
|
get: function get() {
|
|
@@ -641,11 +684,6 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
641
684
|
get: function get() {
|
|
642
685
|
return this._sharedChatDataSource.latestMessage;
|
|
643
686
|
}
|
|
644
|
-
}, {
|
|
645
|
-
key: "isRecordingSupported",
|
|
646
|
-
get: function get() {
|
|
647
|
-
return this._abilityProvider.isRecordingSupported();
|
|
648
|
-
}
|
|
649
687
|
}, {
|
|
650
688
|
key: "hasSecurityPermissions",
|
|
651
689
|
get: function get() {
|
|
@@ -723,9 +761,8 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
723
761
|
}, {
|
|
724
762
|
key: "showLockedRoomToast",
|
|
725
763
|
value: function showLockedRoomToast(enable) {
|
|
726
|
-
this._messageProvider.
|
|
727
|
-
|
|
728
|
-
message: enable ? (0, _i18n.transI18n)('fmt_security_tips_lock_meeting_on') : (0, _i18n.transI18n)('fmt_uimanager_tips_meetingunlocked')
|
|
764
|
+
this._messageProvider.showToastByKey({
|
|
765
|
+
key: enable ? _type5.FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : _type5.FcrUIToastKey.FMT_UIMANAGER_TIPS_MEETINGUNLOCKED
|
|
729
766
|
});
|
|
730
767
|
}
|
|
731
768
|
}, {
|
|
@@ -792,16 +829,12 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
792
829
|
});
|
|
793
830
|
this._disposers = [];
|
|
794
831
|
this._hideBarArrowTimer && clearTimeout(this._hideBarArrowTimer);
|
|
795
|
-
this._userControl.removeObserver(this._userObserver);
|
|
796
832
|
this._roomControl.removeObserver(this._mainRoomObserver);
|
|
797
833
|
this._eventProvider.removeObserver(this._uiEventObserver);
|
|
798
834
|
this._dialogProvider.removeObserver(this._dialogObserver);
|
|
799
835
|
this._applistProvider.removeObserver(this._applistObserver);
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
this._roomProvider.removeObserver(this._roomObserver);
|
|
803
|
-
(_this$_interpreterPro = this._interpreterProvider) === null || _this$_interpreterPro === void 0 || _this$_interpreterPro.removeObserver(this._interpreterProviderObserver);
|
|
804
|
-
}
|
|
836
|
+
this._roomProvider.removeObserver(this._roomObserver);
|
|
837
|
+
this._userControl.removeObserver(this._userControlObserver);
|
|
805
838
|
}
|
|
806
839
|
}, {
|
|
807
840
|
key: "setAllowJoinWithMuteAudio",
|
|
@@ -1060,9 +1093,8 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1060
1093
|
_context.next = 2;
|
|
1061
1094
|
return this._roomControl.enableWaitingRoom(enable);
|
|
1062
1095
|
case 2:
|
|
1063
|
-
this._messageProvider.
|
|
1064
|
-
|
|
1065
|
-
message: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_tips_disable')
|
|
1096
|
+
this._messageProvider.showToastByKey({
|
|
1097
|
+
key: _type5.FcrUIToastKey.FMT_WAITINGROOM_MOBILE_SETTING_TIPS_DISABLE
|
|
1066
1098
|
});
|
|
1067
1099
|
case 3:
|
|
1068
1100
|
_context.next = 6;
|
|
@@ -1071,9 +1103,8 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1071
1103
|
_context.next = 5;
|
|
1072
1104
|
return this._roomControl.enableWaitingRoom(enable);
|
|
1073
1105
|
case 5:
|
|
1074
|
-
this._messageProvider.
|
|
1075
|
-
|
|
1076
|
-
message: (0, _i18n.transI18n)('fmt_waitingroom_setting_tips_enable')
|
|
1106
|
+
this._messageProvider.showToastByKey({
|
|
1107
|
+
key: _type5.FcrUIToastKey.FMT_WAITINGROOM_SETTING_TIPS_ENABLE
|
|
1077
1108
|
});
|
|
1078
1109
|
case 6:
|
|
1079
1110
|
case "end":
|
|
@@ -1127,7 +1158,19 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1127
1158
|
return _moveToMainRoomAllMember.apply(this, arguments);
|
|
1128
1159
|
}
|
|
1129
1160
|
return moveToMainRoomAllMember;
|
|
1130
|
-
}()
|
|
1161
|
+
}()
|
|
1162
|
+
}, {
|
|
1163
|
+
key: "clearReEnterInterpreterUserList",
|
|
1164
|
+
value: function clearReEnterInterpreterUserList() {
|
|
1165
|
+
this.reEnterInterpreterUserList = [];
|
|
1166
|
+
}
|
|
1167
|
+
}, {
|
|
1168
|
+
key: "clearOfflineInterpreterUserList",
|
|
1169
|
+
value: function clearOfflineInterpreterUserList() {
|
|
1170
|
+
this.offlineInterpreterUserList = [];
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
// TODO: 需要拦截时返回 true 更符合直觉
|
|
1131
1174
|
}, {
|
|
1132
1175
|
key: "_interceptShareScreen",
|
|
1133
1176
|
value: function _interceptShareScreen() {
|
|
@@ -1136,11 +1179,9 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1136
1179
|
// this.boardOwnerUser && this.boardOwnerUser.userId !== this.localUserId;
|
|
1137
1180
|
|
|
1138
1181
|
if (!this._facilityProvider.isNetworkConnected) {
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
};
|
|
1143
|
-
this._messageProvider.showToast(params);
|
|
1182
|
+
this._messageProvider.showToastByKey({
|
|
1183
|
+
key: _type5.FcrUIToastKey.FMT_SCREENTIPS_NETWORK_ERROR_UNABLE_START_SCREEN_SHARE
|
|
1184
|
+
});
|
|
1144
1185
|
return false;
|
|
1145
1186
|
}
|
|
1146
1187
|
if (!this._facilityProvider.hasGrantedScreenCapturePermission()) {
|
|
@@ -1233,16 +1274,6 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1233
1274
|
return true;
|
|
1234
1275
|
}
|
|
1235
1276
|
}
|
|
1236
|
-
}, {
|
|
1237
|
-
key: "_handleRemoteUsersJoined",
|
|
1238
|
-
value: function _handleRemoteUsersJoined(_roomId, _events) {
|
|
1239
|
-
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
1240
|
-
}
|
|
1241
|
-
}, {
|
|
1242
|
-
key: "_handleRemoteUsersLeft",
|
|
1243
|
-
value: function _handleRemoteUsersLeft(_roomId, _events) {
|
|
1244
|
-
this.hasOfflineUserExistence = this.getOfflineUserExistenceState();
|
|
1245
|
-
}
|
|
1246
1277
|
}, {
|
|
1247
1278
|
key: "_handleLiveStreamingStateUpdated",
|
|
1248
1279
|
value: function _handleLiveStreamingStateUpdated(_roomId, state) {
|
|
@@ -1369,17 +1400,15 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1369
1400
|
key: "setOutputLanguage",
|
|
1370
1401
|
value: function () {
|
|
1371
1402
|
var _setOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(language) {
|
|
1372
|
-
var
|
|
1373
|
-
_this6 = this;
|
|
1403
|
+
var _this6 = this;
|
|
1374
1404
|
return _regenerator["default"].wrap(function (_context6) {
|
|
1375
1405
|
while (1) switch (_context6.prev = _context6.next) {
|
|
1376
1406
|
case 0:
|
|
1377
1407
|
_context6.next = 1;
|
|
1378
|
-
return
|
|
1408
|
+
return this._interpreterProvider.setOutputLanguage(language, function () {
|
|
1379
1409
|
if (!_this6._deviceProvider.microphoneEnabled) {
|
|
1380
|
-
_this6._messageProvider.
|
|
1381
|
-
|
|
1382
|
-
message: (0, _i18n.transI18n)('fmt_interpretation_interpreter_toast_label_open_micro')
|
|
1410
|
+
_this6._messageProvider.showToastByKey({
|
|
1411
|
+
key: _type5.FcrUIToastKey.FMT_INTERPRETATION_INTERPRETER_TOAST_LABEL_OPEN_MICRO
|
|
1383
1412
|
});
|
|
1384
1413
|
}
|
|
1385
1414
|
});
|
|
@@ -1403,12 +1432,11 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1403
1432
|
key: "subscribeLanguage",
|
|
1404
1433
|
value: function () {
|
|
1405
1434
|
var _subscribeLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(language) {
|
|
1406
|
-
var _this$_interpreterPro3;
|
|
1407
1435
|
return _regenerator["default"].wrap(function (_context7) {
|
|
1408
1436
|
while (1) switch (_context7.prev = _context7.next) {
|
|
1409
1437
|
case 0:
|
|
1410
1438
|
_context7.next = 1;
|
|
1411
|
-
return
|
|
1439
|
+
return this._interpreterProvider.subscribeLanguage(language);
|
|
1412
1440
|
case 1:
|
|
1413
1441
|
case "end":
|
|
1414
1442
|
return _context7.stop();
|
|
@@ -1424,11 +1452,10 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1424
1452
|
key: "subscribeExtraOriginLanguage",
|
|
1425
1453
|
value: function () {
|
|
1426
1454
|
var _subscribeExtraOriginLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8(enable) {
|
|
1427
|
-
var _this$_interpreterPro4;
|
|
1428
1455
|
return _regenerator["default"].wrap(function (_context8) {
|
|
1429
1456
|
while (1) switch (_context8.prev = _context8.next) {
|
|
1430
1457
|
case 0:
|
|
1431
|
-
|
|
1458
|
+
this._interpreterProvider.subscribeExtraOriginLanguage(enable);
|
|
1432
1459
|
case 1:
|
|
1433
1460
|
case "end":
|
|
1434
1461
|
return _context8.stop();
|
|
@@ -1439,19 +1466,7 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1439
1466
|
return _subscribeExtraOriginLanguage.apply(this, arguments);
|
|
1440
1467
|
}
|
|
1441
1468
|
return subscribeExtraOriginLanguage;
|
|
1442
|
-
}()
|
|
1443
|
-
}, {
|
|
1444
|
-
key: "getOfflineUserExistenceState",
|
|
1445
|
-
value: function getOfflineUserExistenceState() {
|
|
1446
|
-
var _this$_interpreterPro5,
|
|
1447
|
-
_this7 = this;
|
|
1448
|
-
var isOffLine = (_this$_interpreterPro5 = this._interpreterProvider) === null || _this$_interpreterPro5 === void 0 || (_this$_interpreterPro5 = _this$_interpreterPro5.getInterpreterList()) === null || _this$_interpreterPro5 === void 0 ? void 0 : _this$_interpreterPro5.some(function (ele) {
|
|
1449
|
-
return !_this7._userControl.getUserList().find(function (item) {
|
|
1450
|
-
return item.userId === ele.userId;
|
|
1451
|
-
});
|
|
1452
|
-
});
|
|
1453
|
-
return !!isOffLine;
|
|
1454
|
-
}
|
|
1469
|
+
}()
|
|
1455
1470
|
}, {
|
|
1456
1471
|
key: "clickWidget",
|
|
1457
1472
|
value: function clickWidget(widgetConfig) {
|
|
@@ -1471,10 +1486,65 @@ var ActionBarMainSceneStoreBase = exports.ActionBarMainSceneStoreBase = /*#__PUR
|
|
|
1471
1486
|
value: function _handleApplistItemClick() {
|
|
1472
1487
|
this.setAppActionbarPopoverVisible(false);
|
|
1473
1488
|
}
|
|
1489
|
+
}, {
|
|
1490
|
+
key: "_checkIsWidgetSupportedRole",
|
|
1491
|
+
value: function _checkIsWidgetSupportedRole(widgetConfig, _role) {
|
|
1492
|
+
var _widgetConfig$support;
|
|
1493
|
+
if (!widgetConfig.supportedRoles || widgetConfig.supportedRoles.length === 0 || (_widgetConfig$support = widgetConfig.supportedRoles) !== null && _widgetConfig$support !== void 0 && _widgetConfig$support.includes(this.localUserRole)) {
|
|
1494
|
+
return true;
|
|
1495
|
+
}
|
|
1496
|
+
return false;
|
|
1497
|
+
}
|
|
1498
|
+
}, {
|
|
1499
|
+
key: "_handleRemoteUsersJoined",
|
|
1500
|
+
value: function _handleRemoteUsersJoined(roomId, events) {
|
|
1501
|
+
var _this7 = this;
|
|
1502
|
+
var reEnterInterpreterUserList = events.filter(function (event) {
|
|
1503
|
+
var _this7$interpreterUse;
|
|
1504
|
+
return (_this7$interpreterUse = _this7.interpreterUserList) === null || _this7$interpreterUse === void 0 ? void 0 : _this7$interpreterUse.some(function (interpreter) {
|
|
1505
|
+
return interpreter.userId === event.userInfo.userId;
|
|
1506
|
+
});
|
|
1507
|
+
});
|
|
1508
|
+
if (reEnterInterpreterUserList) {
|
|
1509
|
+
this.reEnterInterpreterUserList = reEnterInterpreterUserList;
|
|
1510
|
+
this.offlineInterpreterUserList = this.offlineInterpreterUserList.filter(function (user) {
|
|
1511
|
+
return !_this7.reEnterInterpreterUserList.some(function (interpreter) {
|
|
1512
|
+
return interpreter.userInfo.userId === user.userInfo.userId;
|
|
1513
|
+
});
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
}, {
|
|
1518
|
+
key: "_handleRemoteUsersLeft",
|
|
1519
|
+
value: function _handleRemoteUsersLeft(roomId, events) {
|
|
1520
|
+
var _this8 = this;
|
|
1521
|
+
var offlineInterpreterUserList = events.filter(function (event) {
|
|
1522
|
+
var _this8$interpreterUse;
|
|
1523
|
+
return (_this8$interpreterUse = _this8.interpreterUserList) === null || _this8$interpreterUse === void 0 ? void 0 : _this8$interpreterUse.some(function (interpreter) {
|
|
1524
|
+
return interpreter.userId === event.userInfo.userId;
|
|
1525
|
+
});
|
|
1526
|
+
});
|
|
1527
|
+
if (offlineInterpreterUserList) {
|
|
1528
|
+
this.offlineInterpreterUserList = [].concat((0, _toConsumableArray2["default"])(this.offlineInterpreterUserList), (0, _toConsumableArray2["default"])(offlineInterpreterUserList));
|
|
1529
|
+
var hasUpdate = false;
|
|
1530
|
+
var reEnterInterpreterUserList = this.reEnterInterpreterUserList.filter(function (user) {
|
|
1531
|
+
var isOffline = !_this8.offlineInterpreterUserList.some(function (interpreter) {
|
|
1532
|
+
return interpreter.userInfo.userId === user.userInfo.userId;
|
|
1533
|
+
});
|
|
1534
|
+
if (!isOffline) {
|
|
1535
|
+
hasUpdate = !isOffline;
|
|
1536
|
+
}
|
|
1537
|
+
return isOffline;
|
|
1538
|
+
});
|
|
1539
|
+
if (hasUpdate) {
|
|
1540
|
+
this.reEnterInterpreterUserList = reEnterInterpreterUserList;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1474
1544
|
}]);
|
|
1475
1545
|
}();
|
|
1476
1546
|
_ActionBarMainSceneStoreBase = ActionBarMainSceneStoreBase;
|
|
1477
|
-
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, "
|
|
1547
|
+
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, "connectionState"], [_mobx.observable, 1, "appActionbarPopoverVisible"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.observable, 1, "reEnterInterpreterUserList"], [_mobx.observable, 1, "offlineInterpreterUserList"], [_mobx.computed, 3, "endMeetingPopoverOpened"], [_mobx.computed, 3, "checkedStateMap"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [_mobx.computed, 3, "supportedWidgetConfigs"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "chatRenderAt"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "participantVisible"], [_mobx.computed, 3, "chatVisible"], [_mobx.computed, 3, "subtitlesHistoryRenderAt"], [_mobx.computed, 3, "subtitlesHistoryVisible"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_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, "isRecordingSupported"], [_mobx.computed, 3, "isBoardAbilitySupported"], [_mobx.computed, 3, "isVirtualBackgroundSupported"], [_mobx.computed, 3, "isBeautyModeAbilitySupported"], [_mobx.computed, 3, "isInterpreterSupported"], [_mobx.computed, 3, "isLiveSupported"], [_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, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_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"], [_clearReEnterInterpreterUserListDecs, 18, "clearReEnterInterpreterUserList"], [_clearOfflineInterpreterUserListDecs, 18, "clearOfflineInterpreterUserList"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_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"], [_clickWidgetDecs, 18, "clickWidget"], [_closeWidgetDecs, 18, "closeWidget"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"]], []).e, 16);
|
|
1478
1548
|
_init_newMessageTooltipVisible = _applyDecs$e[0];
|
|
1479
1549
|
_init_totalWaitingRoomUser = _applyDecs$e[1];
|
|
1480
1550
|
_init_liveStreamingState = _applyDecs$e[2];
|
|
@@ -1485,9 +1555,10 @@ _init_folded = _applyDecs$e[6];
|
|
|
1485
1555
|
_init_showArrow = _applyDecs$e[7];
|
|
1486
1556
|
_init_phoneMicEnabled = _applyDecs$e[8];
|
|
1487
1557
|
_init_chatTabIndex = _applyDecs$e[9];
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1558
|
+
_init_connectionState = _applyDecs$e[10];
|
|
1559
|
+
_init_appActionbarPopoverVisible = _applyDecs$e[11];
|
|
1560
|
+
_init_stateBarLeaveMeeting = _applyDecs$e[12];
|
|
1561
|
+
_init_reEnterInterpreterUserList = _applyDecs$e[13];
|
|
1562
|
+
_init_offlineInterpreterUserList = _applyDecs$e[14];
|
|
1563
|
+
_initProto = _applyDecs$e[15];
|
|
1493
1564
|
var ActionBarContext = exports.ActionBarContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FcrIconProps } from 'agora-ui-foundation/lib/components/icon';
|
|
2
2
|
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
3
3
|
import { PopoverProps } from 'agora-ui-foundation/lib/components/popover';
|
|
4
|
-
import { FcrUserInfo
|
|
4
|
+
import { FcrUserInfo } from 'fcr-core/lib/type';
|
|
5
5
|
import { FcrUIRoomType } from '../../type';
|
|
6
6
|
import { FcrUIObjectManager } from '../../object-manager';
|
|
7
7
|
export interface Item {
|
|
@@ -43,20 +43,6 @@ export interface AssignHostProps {
|
|
|
43
43
|
handleKeepConnect?: () => void;
|
|
44
44
|
loading?: boolean;
|
|
45
45
|
}
|
|
46
|
-
export interface LeaveMeetingProps {
|
|
47
|
-
setPopoverOpened: React.Dispatch<React.SetStateAction<boolean>>;
|
|
48
|
-
end: () => void;
|
|
49
|
-
leave: () => void;
|
|
50
|
-
isLocked: boolean;
|
|
51
|
-
keepPhoneAudioConnection: () => void;
|
|
52
|
-
localUserRole: FcrUserRole;
|
|
53
|
-
remoteUsers: FcrUserInfo[];
|
|
54
|
-
hasAssignHostBeforeLeavingPermission: boolean;
|
|
55
|
-
hasEndRoomPermission: boolean;
|
|
56
|
-
isPstnUser: boolean;
|
|
57
|
-
assignHost: (user: FcrUserInfo) => void;
|
|
58
|
-
setHeight?: () => void;
|
|
59
|
-
}
|
|
60
46
|
export interface MenuItemProps {
|
|
61
47
|
setVisible: React.Dispatch<React.SetStateAction<boolean>>;
|
|
62
48
|
}
|
|
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.AudioConnectType = void 0;
|
|
8
|
+
// export interface LeaveMeetingProps {
|
|
9
|
+
// setPopoverOpened: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
+
// end: () => void;
|
|
11
|
+
// leave: () => void;
|
|
12
|
+
// isLocked: boolean;
|
|
13
|
+
// keepPhoneAudioConnection: () => void;
|
|
14
|
+
// localUserRole: FcrUserRole;
|
|
15
|
+
// remoteUsers: FcrUserInfo[];
|
|
16
|
+
// hasAssignHostBeforeLeavingPermission: boolean;
|
|
17
|
+
// hasEndRoomPermission: boolean;
|
|
18
|
+
// isPstnUser: boolean;
|
|
19
|
+
// assignHost: (user: FcrUserInfo) => void;
|
|
20
|
+
// setHeight?: () => void;
|
|
21
|
+
// }
|
|
8
22
|
var AudioConnectType = exports.AudioConnectType = /*#__PURE__*/function (AudioConnectType) {
|
|
9
23
|
AudioConnectType[AudioConnectType["NONE"] = 0] = "NONE";
|
|
10
24
|
AudioConnectType[AudioConnectType["COMPUTER"] = 1] = "COMPUTER";
|
|
@@ -84,7 +84,7 @@ var End = (0, _mobxReact.observer)(function (props) {
|
|
|
84
84
|
showArrow: false,
|
|
85
85
|
overlayClassName: "fcr-action-bar--device-popover fcr-action-bar--leave-popover",
|
|
86
86
|
overlayInnerStyle: {
|
|
87
|
-
width:
|
|
87
|
+
width: 'auto'
|
|
88
88
|
},
|
|
89
89
|
visible: opened,
|
|
90
90
|
onVisibleChange: setOpenedState,
|