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
|
@@ -6,6 +6,7 @@ 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
8
|
require("core-js/modules/es.array.is-array.js");
|
|
9
|
+
require("core-js/modules/es.array.push.js");
|
|
9
10
|
require("core-js/modules/es.date.to-primitive.js");
|
|
10
11
|
require("core-js/modules/es.function.bind.js");
|
|
11
12
|
require("core-js/modules/es.function.name.js");
|
|
@@ -36,17 +37,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
36
37
|
value: true
|
|
37
38
|
});
|
|
38
39
|
exports["default"] = exports.StoreContext = void 0;
|
|
39
|
-
require("core-js/modules/es.array.filter.js");
|
|
40
40
|
require("core-js/modules/es.array.for-each.js");
|
|
41
41
|
require("core-js/modules/es.array.includes.js");
|
|
42
42
|
require("core-js/modules/es.array.iterator.js");
|
|
43
|
-
require("core-js/modules/es.array.push.js");
|
|
44
43
|
require("core-js/modules/es.date.to-string.js");
|
|
45
44
|
require("core-js/modules/es.object.to-string.js");
|
|
46
45
|
require("core-js/modules/es.string.iterator.js");
|
|
47
46
|
require("core-js/modules/es.weak-map.js");
|
|
48
47
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
49
|
-
require("core-js/modules/esnext.iterator.filter.js");
|
|
50
48
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
51
49
|
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
52
50
|
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
@@ -61,7 +59,6 @@ var _type = require("fcr-core/lib/type");
|
|
|
61
59
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
62
60
|
var _react = require("react");
|
|
63
61
|
var _constant = require("../../utilities/constant");
|
|
64
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
65
62
|
var _logger = require("../../utilities/logger");
|
|
66
63
|
var _objectManager = require("../../object-manager");
|
|
67
64
|
var _meetingDetail = require("../../utilities/meeting-detail");
|
|
@@ -69,12 +66,15 @@ var _shareAudio = require("./components/share-audio");
|
|
|
69
66
|
var _type2 = require("../../type");
|
|
70
67
|
var _enums = require("./enums");
|
|
71
68
|
var _defaultConfig = require("../../utilities/default-config");
|
|
72
|
-
var
|
|
69
|
+
var _copyText = require("agora-ui-foundation/lib/utilities/copy-text");
|
|
73
70
|
var _controlBar = require("../dialog/dialogs/control-bar");
|
|
74
|
-
var
|
|
71
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
75
72
|
var _struct = require("../../providers/mouse-detect/struct");
|
|
73
|
+
var _type3 = require("fcr-core/lib/room-control/sharing-control/type");
|
|
74
|
+
var _type4 = require("../secondary-window/type");
|
|
75
|
+
var _type5 = require("../../modules/toast-manager/type");
|
|
76
76
|
var _ControlBarStore;
|
|
77
|
-
var _initProto, _init_roomDuration, _init_startTime, _init_cloudRecordingState, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_boardOwnerUser, _init_currentShareDisplayId, _init_position, _init_appActionbarPopoverVisible, _setCheckedStateMapDecs,
|
|
77
|
+
var _initProto, _init_roomDuration, _init_startTime, _init_cloudRecordingState, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_boardOwnerUser, _init_currentShareDisplayId, _init_position, _init_appActionbarPopoverVisible, _setCheckedStateMapDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showToastDecs, _handleLeaveRoomDecs, _closeLeaveMeetingDialogDecs, _handleMoreClickDecs, _setAppActionbarPopoverVisibleDecs, _ref;
|
|
78
78
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
79
79
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
80
80
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -100,7 +100,7 @@ var _B = /*#__PURE__*/new WeakMap();
|
|
|
100
100
|
var _C = /*#__PURE__*/new WeakMap();
|
|
101
101
|
var _D = /*#__PURE__*/new WeakMap();
|
|
102
102
|
var _E = /*#__PURE__*/new WeakMap();
|
|
103
|
-
_ref = (_setCheckedStateMapDecs = [_mobx.action, _mobx.action.bound],
|
|
103
|
+
_ref = (_setCheckedStateMapDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
104
104
|
leading: true
|
|
105
105
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
106
106
|
leading: true
|
|
@@ -127,7 +127,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
127
127
|
var y = display.bounds.y,
|
|
128
128
|
workAreaY = display.workArea.y;
|
|
129
129
|
var topOffset = workAreaY - y;
|
|
130
|
-
_this.titleHeight = (0,
|
|
130
|
+
_this.titleHeight = (0, _env.isWindows)() ? 0 : topOffset !== null && topOffset !== void 0 ? topOffset : 0;
|
|
131
131
|
(0, _mobx.runInAction)(function () {
|
|
132
132
|
_this.currentShareDisplayId = display.id;
|
|
133
133
|
});
|
|
@@ -141,7 +141,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
141
141
|
var y = display.bounds.y,
|
|
142
142
|
workAreaY = display.workArea.y;
|
|
143
143
|
var topOffset = workAreaY - y;
|
|
144
|
-
_this.titleHeight = (0,
|
|
144
|
+
_this.titleHeight = (0, _env.isWindows)() ? 0 : topOffset !== null && topOffset !== void 0 ? topOffset : 0;
|
|
145
145
|
(0, _mobx.runInAction)(function () {
|
|
146
146
|
_this.currentShareDisplayId = _this._renderer.getDisplayNearestPoint(_this.draggableArea).id;
|
|
147
147
|
_this._mouseDetectProvider.setDisplayId(_this.currentShareDisplayId);
|
|
@@ -156,7 +156,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
156
156
|
var y = display.bounds.y,
|
|
157
157
|
workAreaY = display.workArea.y;
|
|
158
158
|
var topOffset = workAreaY - y;
|
|
159
|
-
_this.titleHeight = (0,
|
|
159
|
+
_this.titleHeight = (0, _env.isWindows)() ? 0 : topOffset !== null && topOffset !== void 0 ? topOffset : 0;
|
|
160
160
|
(0, _mobx.runInAction)(function () {
|
|
161
161
|
_this.currentShareDisplayId = display.id;
|
|
162
162
|
});
|
|
@@ -170,6 +170,9 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
170
170
|
onMouseEnterDetectArea: function onMouseEnterDetectArea(areaId) {
|
|
171
171
|
if (areaId === _struct.FcrUIDetectAreaID.ControlBar) {
|
|
172
172
|
_this._controlBarWindow.setIgnoreMouseEvents(false);
|
|
173
|
+
if ((0, _env.isWindows)()) {
|
|
174
|
+
_this._controlBarWindow.focus();
|
|
175
|
+
}
|
|
173
176
|
}
|
|
174
177
|
},
|
|
175
178
|
onMouseLeaveDetectArea: function onMouseLeaveDetectArea(areaId) {
|
|
@@ -180,6 +183,46 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
180
183
|
}
|
|
181
184
|
}
|
|
182
185
|
});
|
|
186
|
+
(0, _defineProperty2["default"])(this, "_stateNavArea", {
|
|
187
|
+
x: 0,
|
|
188
|
+
y: 0,
|
|
189
|
+
width: 0,
|
|
190
|
+
height: 0
|
|
191
|
+
});
|
|
192
|
+
(0, _defineProperty2["default"])(this, "_contentArea", {
|
|
193
|
+
x: 0,
|
|
194
|
+
y: 0,
|
|
195
|
+
width: 0,
|
|
196
|
+
height: 0
|
|
197
|
+
});
|
|
198
|
+
// popover 菜单区域
|
|
199
|
+
(0, _defineProperty2["default"])(this, "_popoverArea", {
|
|
200
|
+
x: 0,
|
|
201
|
+
y: 0,
|
|
202
|
+
width: 0,
|
|
203
|
+
height: 0
|
|
204
|
+
});
|
|
205
|
+
// popover 二级菜单区域
|
|
206
|
+
(0, _defineProperty2["default"])(this, "_subPopoverArea", {
|
|
207
|
+
x: 0,
|
|
208
|
+
y: 0,
|
|
209
|
+
width: 0,
|
|
210
|
+
height: 0
|
|
211
|
+
});
|
|
212
|
+
// popover 三极菜单区域
|
|
213
|
+
(0, _defineProperty2["default"])(this, "_tertiaryPopoverArea", {
|
|
214
|
+
x: 0,
|
|
215
|
+
y: 0,
|
|
216
|
+
width: 0,
|
|
217
|
+
height: 0
|
|
218
|
+
});
|
|
219
|
+
// popover 四级菜单区域
|
|
220
|
+
(0, _defineProperty2["default"])(this, "_quaternaryPopoverArea", {
|
|
221
|
+
x: 0,
|
|
222
|
+
y: 0,
|
|
223
|
+
width: 0,
|
|
224
|
+
height: 0
|
|
225
|
+
});
|
|
183
226
|
_classPrivateFieldInitSpec(this, _F, _init_roomDuration(this));
|
|
184
227
|
_classPrivateFieldInitSpec(this, _G, _init_startTime(this));
|
|
185
228
|
_classPrivateFieldInitSpec(this, _H, _init_cloudRecordingState(this, _type.FcrRecordingState.Stopped));
|
|
@@ -213,9 +256,10 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
213
256
|
this._dialogProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
214
257
|
this._sharedLayoutDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
|
|
215
258
|
this._mouseDetectProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MOUSE_DETECT_PROVIDER);
|
|
259
|
+
this._annotationProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ANNOTATION_PROVIDER);
|
|
216
260
|
this._renderer = objectManager.getObject(_objectManager.FcrUIObjectKeys.RENDERER_WRAPPER);
|
|
217
261
|
var windowProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_WINDOW_PROVIDER);
|
|
218
|
-
windowProvider.setWindowOptions(_constant.FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR, _controlBar.
|
|
262
|
+
windowProvider.setWindowOptions(_constant.FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR, _controlBar.electronWindowConfig);
|
|
219
263
|
this._controlBarWindow = windowProvider.getWindowById(_constant.FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR);
|
|
220
264
|
this.startTime = (_this$_mainRoomContro = (_this$_mainRoomContro2 = this._mainRoomControl.getRoomSchedule()) === null || _this$_mainRoomContro2 === void 0 ? void 0 : _this$_mainRoomContro2.startTime) !== null && _this$_mainRoomContro !== void 0 ? _this$_mainRoomContro : new Date().getTime();
|
|
221
265
|
this.roomInfo = this._mainRoomControl.getRoomInfo();
|
|
@@ -372,11 +416,6 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
372
416
|
set: function set(v) {
|
|
373
417
|
_classPrivateFieldSet(_E, this, v);
|
|
374
418
|
}
|
|
375
|
-
}, {
|
|
376
|
-
key: "_detectAreas",
|
|
377
|
-
value: function _detectAreas() {
|
|
378
|
-
return this._mouseDetectProvider.getDetectAreas(_struct.FcrUIDetectAreaID.ControlBar);
|
|
379
|
-
}
|
|
380
419
|
}, {
|
|
381
420
|
key: "isSharingWithAudio",
|
|
382
421
|
get: function get() {
|
|
@@ -468,9 +507,19 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
468
507
|
return this._sharedSecurityDataSource.checkedStateMap;
|
|
469
508
|
}
|
|
470
509
|
}, {
|
|
471
|
-
key: "
|
|
510
|
+
key: "isWriteAnnotationAllowed",
|
|
472
511
|
get: function get() {
|
|
473
|
-
return
|
|
512
|
+
return this._privilegeProvider.isAnnotationWriteAllowed();
|
|
513
|
+
}
|
|
514
|
+
}, {
|
|
515
|
+
key: "hasPermissionAllowWriteAnnotation",
|
|
516
|
+
get: function get() {
|
|
517
|
+
return this._privilegeProvider.hasAnnotationAllowWritePermission();
|
|
518
|
+
}
|
|
519
|
+
}, {
|
|
520
|
+
key: "hasAnnotationStartPermission",
|
|
521
|
+
get: function get() {
|
|
522
|
+
return this._privilegeProvider.hasAnnotationStartPermission();
|
|
474
523
|
}
|
|
475
524
|
}, {
|
|
476
525
|
key: "liveStreamingButtonVisible",
|
|
@@ -539,9 +588,8 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
539
588
|
}, {
|
|
540
589
|
key: "showLockedRoomToast",
|
|
541
590
|
value: function showLockedRoomToast(enable) {
|
|
542
|
-
this.
|
|
543
|
-
|
|
544
|
-
message: enable ? (0, _i18n.transI18n)('fmt_security_tips_lock_meeting_on') : (0, _i18n.transI18n)('fmt_uimanager_tips_meetingunlocked')
|
|
591
|
+
this.showToast({
|
|
592
|
+
key: enable ? _type5.FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : _type5.FcrUIToastKey.FMT_UIMANAGER_TIPS_MEETINGUNLOCKED
|
|
545
593
|
});
|
|
546
594
|
}
|
|
547
595
|
}, {
|
|
@@ -554,17 +602,39 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
554
602
|
value: function handlerStopShare() {
|
|
555
603
|
this._screenShareProvider.stopShare();
|
|
556
604
|
}
|
|
605
|
+
}, {
|
|
606
|
+
key: "toggleAnnotation",
|
|
607
|
+
value: function toggleAnnotation() {
|
|
608
|
+
if (this._annotationProvider.isAnnotationToolbarOpened) {
|
|
609
|
+
this._annotationProvider.closeAnnotationToolbar();
|
|
610
|
+
} else {
|
|
611
|
+
this._annotationProvider.openAnnotationToolbar();
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}, {
|
|
615
|
+
key: "allowWriteAnnotation",
|
|
616
|
+
value: function allowWriteAnnotation(allow) {
|
|
617
|
+
var state = allow ? _type3.FcrSharePermissionState.ON : _type3.FcrSharePermissionState.OFF;
|
|
618
|
+
this._privilegeProvider.allowWriteAnnotation(allow);
|
|
619
|
+
}
|
|
620
|
+
}, {
|
|
621
|
+
key: "clearAnnotation",
|
|
622
|
+
value: function clearAnnotation() {
|
|
623
|
+
this._annotationProvider.getStandaloneToolbarControl().setWhiteboardTool({
|
|
624
|
+
action: _type4.WhiteboardToolAction.CLEAR
|
|
625
|
+
});
|
|
626
|
+
}
|
|
557
627
|
}, {
|
|
558
628
|
key: "handleMouseEnter",
|
|
559
629
|
value: function handleMouseEnter() {
|
|
560
|
-
if ((0,
|
|
630
|
+
if ((0, _env.isMac)()) {
|
|
561
631
|
this._controlBarWindow.setIgnoreMouseEvents(false);
|
|
562
632
|
}
|
|
563
633
|
}
|
|
564
634
|
}, {
|
|
565
635
|
key: "handleMouseLeave",
|
|
566
636
|
value: function handleMouseLeave() {
|
|
567
|
-
if ((0,
|
|
637
|
+
if ((0, _env.isMac)()) {
|
|
568
638
|
this._controlBarWindow.setIgnoreMouseEvents(true, {
|
|
569
639
|
forward: true
|
|
570
640
|
});
|
|
@@ -613,11 +683,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
613
683
|
}, {
|
|
614
684
|
key: "showToast",
|
|
615
685
|
value: function showToast(params) {
|
|
616
|
-
this._messageProvider.
|
|
617
|
-
type: params.type,
|
|
618
|
-
message: params.content,
|
|
619
|
-
duration: params.duration
|
|
620
|
-
});
|
|
686
|
+
this._messageProvider.showToastByKey(params);
|
|
621
687
|
}
|
|
622
688
|
}, {
|
|
623
689
|
key: "handleOpenParticipant",
|
|
@@ -654,40 +720,89 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
654
720
|
this._mouseDetectProvider.deleteDetectArea(_struct.FcrUIDetectAreaID.ControlBar);
|
|
655
721
|
}
|
|
656
722
|
}, {
|
|
657
|
-
key: "
|
|
658
|
-
value: function
|
|
659
|
-
|
|
660
|
-
return item.id !== id;
|
|
661
|
-
});
|
|
662
|
-
var controlBarArea = {
|
|
663
|
-
id: id,
|
|
723
|
+
key: "setStateNavArea",
|
|
724
|
+
value: function setStateNavArea(area) {
|
|
725
|
+
this._stateNavArea = {
|
|
664
726
|
x: area.x,
|
|
665
727
|
y: area.y,
|
|
666
728
|
width: area.width,
|
|
667
729
|
height: area.height
|
|
668
730
|
};
|
|
669
|
-
|
|
670
|
-
this._mouseDetectProvider.setDetectArea(_struct.FcrUIDetectAreaID.ControlBar, currentOtherAreas);
|
|
731
|
+
this._updateDetectAreas();
|
|
671
732
|
}
|
|
672
733
|
}, {
|
|
673
|
-
key: "
|
|
674
|
-
value: function
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
734
|
+
key: "setControlBarContentArea",
|
|
735
|
+
value: function setControlBarContentArea(area) {
|
|
736
|
+
this._contentArea = {
|
|
737
|
+
x: area.x,
|
|
738
|
+
y: area.y,
|
|
739
|
+
width: area.width,
|
|
740
|
+
height: area.height
|
|
741
|
+
};
|
|
742
|
+
this._updateDetectAreas();
|
|
679
743
|
}
|
|
680
744
|
}, {
|
|
681
|
-
key: "
|
|
682
|
-
value: function
|
|
683
|
-
var
|
|
684
|
-
|
|
745
|
+
key: "setPopoverArea",
|
|
746
|
+
value: function setPopoverArea(id, area) {
|
|
747
|
+
var areaWithId = {
|
|
748
|
+
x: area.x,
|
|
749
|
+
y: area.y,
|
|
750
|
+
width: area.width,
|
|
751
|
+
height: area.height,
|
|
752
|
+
id: id
|
|
753
|
+
};
|
|
754
|
+
var isRefreshingSomeArea = true;
|
|
755
|
+
if (this._checkPopoverAreaEqual(this._popoverArea, id)) {
|
|
756
|
+
this._popoverArea = areaWithId;
|
|
757
|
+
} else if (this._checkPopoverAreaEqual(this._subPopoverArea, id)) {
|
|
758
|
+
this._subPopoverArea = areaWithId;
|
|
759
|
+
} else if (this._checkPopoverAreaEqual(this._tertiaryPopoverArea, id)) {
|
|
760
|
+
this._tertiaryPopoverArea = areaWithId;
|
|
761
|
+
} else if (this._checkPopoverAreaEqual(this._quaternaryPopoverArea, id)) {
|
|
762
|
+
this._quaternaryPopoverArea = areaWithId;
|
|
763
|
+
} else {
|
|
764
|
+
isRefreshingSomeArea = false;
|
|
765
|
+
}
|
|
766
|
+
if (isRefreshingSomeArea) {
|
|
767
|
+
this._updateDetectAreas();
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
770
|
+
if (!this._checkPopoverAreaExist(this._popoverArea)) {
|
|
771
|
+
this._popoverArea = areaWithId;
|
|
772
|
+
} else if (!this._checkPopoverAreaExist(this._subPopoverArea)) {
|
|
773
|
+
this._subPopoverArea = areaWithId;
|
|
774
|
+
} else if (!this._checkPopoverAreaExist(this._tertiaryPopoverArea)) {
|
|
775
|
+
this._tertiaryPopoverArea = areaWithId;
|
|
776
|
+
} else if (!this._checkPopoverAreaExist(this._quaternaryPopoverArea)) {
|
|
777
|
+
this._quaternaryPopoverArea = areaWithId;
|
|
778
|
+
} else {
|
|
779
|
+
// popver 超过设计的最大层级
|
|
780
|
+
this.logger.error('popover limit exceeded');
|
|
781
|
+
}
|
|
782
|
+
this._updateDetectAreas();
|
|
685
783
|
}
|
|
686
784
|
}, {
|
|
687
|
-
key: "
|
|
688
|
-
value: function
|
|
689
|
-
var
|
|
690
|
-
|
|
785
|
+
key: "resetPopoverArea",
|
|
786
|
+
value: function resetPopoverArea(id) {
|
|
787
|
+
var area = {
|
|
788
|
+
x: 0,
|
|
789
|
+
y: 0,
|
|
790
|
+
width: 0,
|
|
791
|
+
height: 0,
|
|
792
|
+
id: undefined
|
|
793
|
+
};
|
|
794
|
+
if (this._checkPopoverAreaEqual(this._quaternaryPopoverArea, id)) {
|
|
795
|
+
this._quaternaryPopoverArea = area;
|
|
796
|
+
} else if (this._checkPopoverAreaEqual(this._tertiaryPopoverArea, id)) {
|
|
797
|
+
this._tertiaryPopoverArea = area;
|
|
798
|
+
} else if (this._checkPopoverAreaEqual(this._subPopoverArea, id)) {
|
|
799
|
+
this._subPopoverArea = area;
|
|
800
|
+
} else if (this._checkPopoverAreaEqual(this._popoverArea, id)) {
|
|
801
|
+
this._popoverArea = area;
|
|
802
|
+
} else {
|
|
803
|
+
this.logger.error('popover limit exceeded');
|
|
804
|
+
}
|
|
805
|
+
this._updateDetectAreas();
|
|
691
806
|
}
|
|
692
807
|
}, {
|
|
693
808
|
key: "handleLeaveRoom",
|
|
@@ -736,18 +851,16 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
736
851
|
this.handleLeaveRoom();
|
|
737
852
|
break;
|
|
738
853
|
case _enums.MoreAction.COPY_INVITE_LINK:
|
|
739
|
-
(0,
|
|
854
|
+
(0, _copyText.copyText)(this.playUrl).then(function () {
|
|
740
855
|
_this2.showToast({
|
|
741
|
-
|
|
742
|
-
content: (0, _i18n.transI18n)('fmt_statusbar_status_coppied')
|
|
856
|
+
key: _type5.FcrUIToastKey.FMT_STATUSBAR_STATUS_COPPIED
|
|
743
857
|
});
|
|
744
858
|
});
|
|
745
859
|
break;
|
|
746
860
|
case _enums.MoreAction.COPY_MEETING_INFO:
|
|
747
|
-
(0,
|
|
861
|
+
(0, _copyText.copyText)(this.roomDetailCopyText).then(function () {
|
|
748
862
|
_this2.showToast({
|
|
749
|
-
|
|
750
|
-
content: (0, _i18n.transI18n)('fmt_meeting_mainwindow_topbar_left_popup_toast_copy_done')
|
|
863
|
+
key: _type5.FcrUIToastKey.FMT_MEETING_MAINWINDOW_TOPBAR_LEFT_POPUP_TOAST_COPY_DONE
|
|
751
864
|
});
|
|
752
865
|
});
|
|
753
866
|
break;
|
|
@@ -768,10 +881,28 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
768
881
|
value: function setAppActionbarPopoverVisible(visible) {
|
|
769
882
|
this.appActionbarPopoverVisible = visible;
|
|
770
883
|
}
|
|
884
|
+
}, {
|
|
885
|
+
key: "_updateDetectAreas",
|
|
886
|
+
value: function _updateDetectAreas() {
|
|
887
|
+
this._mouseDetectProvider.setDetectArea(_struct.FcrUIDetectAreaID.ControlBar, [this._stateNavArea, this._contentArea, this._popoverArea, this._subPopoverArea, this._tertiaryPopoverArea, this._quaternaryPopoverArea]);
|
|
888
|
+
}
|
|
889
|
+
}, {
|
|
890
|
+
key: "_checkPopoverAreaExist",
|
|
891
|
+
value: function _checkPopoverAreaExist(area, areaId) {
|
|
892
|
+
if (area.id === undefined && (area.width === 0 || area.height === 0)) {
|
|
893
|
+
return false;
|
|
894
|
+
}
|
|
895
|
+
return true;
|
|
896
|
+
}
|
|
897
|
+
}, {
|
|
898
|
+
key: "_checkPopoverAreaEqual",
|
|
899
|
+
value: function _checkPopoverAreaEqual(area, areaId) {
|
|
900
|
+
return area.id === areaId;
|
|
901
|
+
}
|
|
771
902
|
}]);
|
|
772
903
|
}();
|
|
773
904
|
_ControlBarStore = ControlBarStore;
|
|
774
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "currentShareDisplayId"], [_mobx.observable, 1, "position"], [_mobx.observable, 1, "appActionbarPopoverVisible"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "hasGetLiveStreamingUrlPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasChatPermission"], [_mobx.computed, 3, "liveStreamingButtonVisible"], [_mobx.computed, 3, "recordingButtonVisible"], [_mobx.computed, 3, "isConnecting"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [_decorator.bound, 2, "setShareWithAudioState"], [_decorator.bound, 2, "setShareInSmoothMode"], [
|
|
905
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "currentShareDisplayId"], [_mobx.observable, 1, "position"], [_mobx.observable, 1, "appActionbarPopoverVisible"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "hasGetLiveStreamingUrlPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasChatPermission"], [_mobx.computed, 3, "liveStreamingButtonVisible"], [_mobx.computed, 3, "recordingButtonVisible"], [_mobx.computed, 3, "isConnecting"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [_decorator.bound, 2, "setShareWithAudioState"], [_decorator.bound, 2, "setShareInSmoothMode"], [_decorator.bound, 2, "showLockedRoomToast"], [_decorator.bound, 2, "handleNewShare"], [_decorator.bound, 2, "handlerStopShare"], [_decorator.bound, 2, "toggleAnnotation"], [_decorator.bound, 2, "allowWriteAnnotation"], [_decorator.bound, 2, "clearAnnotation"], [_decorator.bound, 2, "handleMouseEnter"], [_decorator.bound, 2, "handleMouseLeave"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "setShareAudioMode"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "startLiveStreaming"], [_decorator.bound, 2, "stopLiveStreaming"], [_showToastDecs, 18, "showToast"], [_decorator.bound, 2, "handleOpenParticipant"], [_decorator.bound, 2, "handleOpenLiveStreaming"], [_decorator.bound, 2, "setEnableWaitingRoom"], [_decorator.bound, 2, "getLocalMeetingTime"], [[_decorator.bound, _decorator.trace], 2, "setStateNavArea"], [[_decorator.bound, _decorator.trace], 2, "setControlBarContentArea"], [[_decorator.bound, _decorator.trace], 2, "setPopoverArea"], [[_decorator.bound, _decorator.trace], 2, "resetPopoverArea"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_closeLeaveMeetingDialogDecs, 18, "closeLeaveMeetingDialog"], [_handleMoreClickDecs, 18, "handleMoreClick"], [[_decorator.trace, _decorator.bound], 2, "updateWindowBounds"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"]], []).e, 11);
|
|
775
906
|
_init_roomDuration = _applyDecs$e[0];
|
|
776
907
|
_init_startTime = _applyDecs$e[1];
|
|
777
908
|
_init_cloudRecordingState = _applyDecs$e[2];
|
|
@@ -58,6 +58,7 @@ var _carmera = require("./components/carmera");
|
|
|
58
58
|
var _boundaryDetector = require("./components/boundary-detector");
|
|
59
59
|
var _appsPopover = require("./components/apps-popover");
|
|
60
60
|
var _hooks = require("./hooks");
|
|
61
|
+
var _annotationButton = require("./components/annotation-button");
|
|
61
62
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
62
63
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
63
64
|
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; }
|
|
@@ -294,8 +295,8 @@ var ControlBar = (0, _mobxReact.observer)(function () {
|
|
|
294
295
|
draggableArea = _useContext5.draggableArea,
|
|
295
296
|
currentShareDisplayId = _useContext5.currentShareDisplayId,
|
|
296
297
|
updateWindowBounds = _useContext5.updateWindowBounds,
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
setPopoverArea = _useContext5.setPopoverArea,
|
|
299
|
+
resetPopoverArea = _useContext5.resetPopoverArea;
|
|
299
300
|
var updatePosition = (0, _react.useContext)(_context.DragStateUpdaterContext);
|
|
300
301
|
var _useContext6 = (0, _react.useContext)(_context.ControlBarCalculationUpdaterContext),
|
|
301
302
|
setDimensions = _useContext6.setDimensions,
|
|
@@ -352,7 +353,7 @@ var ControlBar = (0, _mobxReact.observer)(function () {
|
|
|
352
353
|
};
|
|
353
354
|
}
|
|
354
355
|
}, [visibility]);
|
|
355
|
-
(0, _hooks.usePopoverWatcher)(containerRef,
|
|
356
|
+
(0, _hooks.usePopoverWatcher)(containerRef, setPopoverArea, resetPopoverArea);
|
|
356
357
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
357
358
|
ref: containerRef,
|
|
358
359
|
className: rootClassNames,
|
|
@@ -456,7 +457,7 @@ var MeetingControlGroup = (0, _mobxReact.observer)(function () {
|
|
|
456
457
|
margin: '0 8px',
|
|
457
458
|
height: '20px'
|
|
458
459
|
}
|
|
459
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(ShareScreenSection, {}), liveStreamingButtonVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_stopLiveStreaming.StopLiveStreamingButton, {}), recordingButtonVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_cloudRecordingButtons.CloudRecordingButtons, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(MoreActionsSection, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_divider["default"], {
|
|
460
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(ShareScreenSection, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AnnotationSection, {}), liveStreamingButtonVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_stopLiveStreaming.StopLiveStreamingButton, {}), recordingButtonVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_cloudRecordingButtons.CloudRecordingButtons, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(MoreActionsSection, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_divider["default"], {
|
|
460
461
|
style: {
|
|
461
462
|
margin: '0 8px',
|
|
462
463
|
height: '20px'
|
|
@@ -484,6 +485,7 @@ var SecurityMenuSection = /*#__PURE__*/(0, _react.memo)(function (_ref4) {
|
|
|
484
485
|
}
|
|
485
486
|
}, [isShareActionNavHidden]);
|
|
486
487
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
488
|
+
overlayClassName: "share-action-nav__security-popover",
|
|
487
489
|
showArrow: false,
|
|
488
490
|
mouseEnterDelay: 0,
|
|
489
491
|
overlayInnerStyle: {
|
|
@@ -524,22 +526,53 @@ var ShareScreenSection = /*#__PURE__*/(0, _react.memo)(function () {
|
|
|
524
526
|
});
|
|
525
527
|
});
|
|
526
528
|
|
|
527
|
-
//
|
|
528
|
-
var
|
|
529
|
+
// 开启批注区块
|
|
530
|
+
var AnnotationSection = (0, _mobxReact.observer)(function () {
|
|
531
|
+
var _useContext11 = (0, _react.useContext)(_store.StoreContext),
|
|
532
|
+
toggleAnnotation = _useContext11.toggleAnnotation,
|
|
533
|
+
allowWriteAnnotation = _useContext11.allowWriteAnnotation,
|
|
534
|
+
clearAnnotation = _useContext11.clearAnnotation,
|
|
535
|
+
isWriteAnnotationAllowed = _useContext11.isWriteAnnotationAllowed,
|
|
536
|
+
hasPermissionAllowWriteAnnotation = _useContext11.hasPermissionAllowWriteAnnotation,
|
|
537
|
+
hasAnnotationStartPermission = _useContext11.hasAnnotationStartPermission;
|
|
538
|
+
var _useContext12 = (0, _react.useContext)(_context.ControlBarCalculationContext),
|
|
539
|
+
isShareActionNavHidden = _useContext12.isShareActionNavHidden;
|
|
529
540
|
var _useState11 = (0, _react.useState)(false),
|
|
530
541
|
_useState12 = (0, _slicedToArray2["default"])(_useState11, 2),
|
|
531
|
-
|
|
532
|
-
|
|
542
|
+
visible = _useState12[0],
|
|
543
|
+
setVisible = _useState12[1];
|
|
544
|
+
(0, _react.useEffect)(function () {
|
|
545
|
+
if (isShareActionNavHidden) {
|
|
546
|
+
setVisible(false);
|
|
547
|
+
}
|
|
548
|
+
}, [isShareActionNavHidden]);
|
|
549
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_annotationButton.AnnotationButton, {
|
|
550
|
+
onAllowWriteClick: allowWriteAnnotation,
|
|
551
|
+
onCleanAnnotationClick: clearAnnotation,
|
|
552
|
+
onAnnotationButtonClick: toggleAnnotation,
|
|
553
|
+
isWriteAllowed: isWriteAnnotationAllowed,
|
|
554
|
+
haPermissionAllowWrite: hasPermissionAllowWriteAnnotation,
|
|
555
|
+
visible: visible,
|
|
556
|
+
setVisible: setVisible
|
|
557
|
+
});
|
|
558
|
+
});
|
|
559
|
+
|
|
560
|
+
// 更多操作区块
|
|
561
|
+
var MoreActionsSection = (0, _mobxReact.observer)(function () {
|
|
533
562
|
var _useState13 = (0, _react.useState)(false),
|
|
534
563
|
_useState14 = (0, _slicedToArray2["default"])(_useState13, 2),
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
var
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
var
|
|
542
|
-
|
|
564
|
+
moreVisible = _useState14[0],
|
|
565
|
+
setMoreVisible = _useState14[1];
|
|
566
|
+
var _useState15 = (0, _react.useState)(false),
|
|
567
|
+
_useState16 = (0, _slicedToArray2["default"])(_useState15, 2),
|
|
568
|
+
isShowMeetingDetailPortal = _useState16[0],
|
|
569
|
+
setIsShowMeetingDetailPortal = _useState16[1];
|
|
570
|
+
var _useContext13 = (0, _react.useContext)(_store.StoreContext),
|
|
571
|
+
newMessageCount = _useContext13.newMessageCount,
|
|
572
|
+
hasChatPermission = _useContext13.hasChatPermission,
|
|
573
|
+
setAppActionbarPopoverVisible = _useContext13.setAppActionbarPopoverVisible;
|
|
574
|
+
var _useContext14 = (0, _react.useContext)(_context.ControlBarCalculationContext),
|
|
575
|
+
isShareActionNavHidden = _useContext14.isShareActionNavHidden;
|
|
543
576
|
(0, _react.useEffect)(function () {
|
|
544
577
|
if (!moreVisible) {
|
|
545
578
|
setIsShowMeetingDetailPortal(false);
|
|
@@ -585,17 +618,17 @@ var MoreActionsSection = (0, _mobxReact.observer)(function () {
|
|
|
585
618
|
|
|
586
619
|
// 音频分享区块
|
|
587
620
|
var ShareAudioSection = (0, _mobxReact.observer)(function () {
|
|
588
|
-
var
|
|
589
|
-
setShareWithAudioState =
|
|
590
|
-
isSharingWithAudio =
|
|
591
|
-
setShareAudioMode =
|
|
592
|
-
audioShareMode =
|
|
593
|
-
var
|
|
594
|
-
isShareActionNavHidden =
|
|
595
|
-
var
|
|
596
|
-
|
|
597
|
-
popoverVisible =
|
|
598
|
-
setPopoverVisible =
|
|
621
|
+
var _useContext15 = (0, _react.useContext)(_store.StoreContext),
|
|
622
|
+
setShareWithAudioState = _useContext15.setShareWithAudioState,
|
|
623
|
+
isSharingWithAudio = _useContext15.isSharingWithAudio,
|
|
624
|
+
setShareAudioMode = _useContext15.setShareAudioMode,
|
|
625
|
+
audioShareMode = _useContext15.audioShareMode;
|
|
626
|
+
var _useContext16 = (0, _react.useContext)(_context.ControlBarCalculationContext),
|
|
627
|
+
isShareActionNavHidden = _useContext16.isShareActionNavHidden;
|
|
628
|
+
var _useState17 = (0, _react.useState)(false),
|
|
629
|
+
_useState18 = (0, _slicedToArray2["default"])(_useState17, 2),
|
|
630
|
+
popoverVisible = _useState18[0],
|
|
631
|
+
setPopoverVisible = _useState18[1];
|
|
599
632
|
(0, _react.useEffect)(function () {
|
|
600
633
|
if (isShareActionNavHidden) {
|
|
601
634
|
setPopoverVisible(false);
|
|
@@ -613,19 +646,19 @@ var ShareAudioSection = (0, _mobxReact.observer)(function () {
|
|
|
613
646
|
|
|
614
647
|
// 分享状态导航(控制栏下部)
|
|
615
648
|
var ShareStateNavigation = /*#__PURE__*/(0, _react.memo)(function () {
|
|
616
|
-
var
|
|
617
|
-
handlerStopShare =
|
|
618
|
-
handleMouseEnter =
|
|
619
|
-
handleMouseLeave =
|
|
620
|
-
setStateNavArea =
|
|
649
|
+
var _useContext17 = (0, _react.useContext)(_store.StoreContext),
|
|
650
|
+
handlerStopShare = _useContext17.handlerStopShare,
|
|
651
|
+
handleMouseEnter = _useContext17.handleMouseEnter,
|
|
652
|
+
handleMouseLeave = _useContext17.handleMouseLeave,
|
|
653
|
+
setStateNavArea = _useContext17.setStateNavArea;
|
|
621
654
|
var calculation = (0, _react.useContext)(_context.ControlBarCalculationContext);
|
|
622
|
-
var
|
|
623
|
-
setIsShareActionNavHidden =
|
|
624
|
-
setNavPosition =
|
|
625
|
-
moveBottom =
|
|
626
|
-
moveTop =
|
|
627
|
-
restartActiveTask =
|
|
628
|
-
cancelActiveTask =
|
|
655
|
+
var _useContext18 = (0, _react.useContext)(_context.ControlBarCalculationUpdaterContext),
|
|
656
|
+
setIsShareActionNavHidden = _useContext18.setIsShareActionNavHidden,
|
|
657
|
+
setNavPosition = _useContext18.setNavPosition,
|
|
658
|
+
moveBottom = _useContext18.moveBottom,
|
|
659
|
+
moveTop = _useContext18.moveTop,
|
|
660
|
+
restartActiveTask = _useContext18.restartActiveTask,
|
|
661
|
+
cancelActiveTask = _useContext18.cancelActiveTask;
|
|
629
662
|
|
|
630
663
|
// 从store获取当前位置和相关方法
|
|
631
664
|
var navCurrentPosition = calculation.navPosition; // 从store获取
|
|
@@ -7,14 +7,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.MicrophoneDetection = void 0;
|
|
9
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
10
|
var _react = require("react");
|
|
12
11
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
13
12
|
var _select = require("agora-ui-foundation/lib/components/select");
|
|
14
13
|
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
15
14
|
var _button = require("agora-ui-foundation/lib/components/button");
|
|
16
15
|
var _mobxReact = require("mobx-react");
|
|
17
|
-
var _useNamespace = require("
|
|
16
|
+
var _useNamespace = require("agora-ui-foundation/lib/utilities/use-namespace");
|
|
18
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
18
|
var MicrophoneDetection = exports.MicrophoneDetection = (0, _mobxReact.observer)(function (_ref) {
|
|
20
19
|
var microphoneDeviceId = _ref.microphoneDeviceId,
|
|
@@ -26,10 +25,6 @@ var MicrophoneDetection = exports.MicrophoneDetection = (0, _mobxReact.observer)
|
|
|
26
25
|
microphoneDetecting = _ref.microphoneDetecting;
|
|
27
26
|
var ns = (0, _useNamespace.useNamespace)('microphone-detection');
|
|
28
27
|
var t = (0, _i18n.useI18n)();
|
|
29
|
-
var _useState = (0, _react.useState)(false),
|
|
30
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
31
|
-
isDetecting = _useState2[0],
|
|
32
|
-
setIsDetecting = _useState2[1];
|
|
33
28
|
(0, _react.useEffect)(function () {
|
|
34
29
|
return function () {
|
|
35
30
|
stopMicrophoneTest();
|
|
@@ -49,11 +44,10 @@ var MicrophoneDetection = exports.MicrophoneDetection = (0, _mobxReact.observer)
|
|
|
49
44
|
trigger: "hover",
|
|
50
45
|
placement: "top",
|
|
51
46
|
mouseEnterDelay: 0.2,
|
|
52
|
-
content: t(disabled ? 'fmt_settings_popup_disable_while_speaker_detected' :
|
|
47
|
+
content: t(disabled ? 'fmt_settings_popup_disable_while_speaker_detected' : microphoneDetecting ? 'fmt_setting_tips_mic' : 'fmt_premeeting_setting_label_speak_into_your_microphone'),
|
|
53
48
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
54
49
|
onClick: function onClick() {
|
|
55
|
-
|
|
56
|
-
if (isDetecting) {
|
|
50
|
+
if (microphoneDetecting) {
|
|
57
51
|
stopMicrophoneTest();
|
|
58
52
|
} else {
|
|
59
53
|
startMicrophoneTest();
|
|
@@ -14,7 +14,7 @@ var _select = require("agora-ui-foundation/lib/components/select");
|
|
|
14
14
|
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
15
15
|
var _button = require("agora-ui-foundation/lib/components/button");
|
|
16
16
|
var _mobxReact = require("mobx-react");
|
|
17
|
-
var _useNamespace = require("
|
|
17
|
+
var _useNamespace = require("agora-ui-foundation/lib/utilities/use-namespace");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
var SpeakerDetection = exports.SpeakerDetection = (0, _mobxReact.observer)(function (_ref) {
|
|
20
20
|
var speakerDeviceId = _ref.speakerDeviceId,
|