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
|
@@ -88,13 +88,13 @@ import { createContext } from 'react';
|
|
|
88
88
|
import { bound } from 'agora-foundation/lib/decorator';
|
|
89
89
|
import { FcrRoomConnectorSessionReason, FcrRoomConnectorSessionState } from 'fcr-core/lib/room-control/room-connector-control/type';
|
|
90
90
|
import isEqual from 'lodash/isEqual';
|
|
91
|
-
import { storage } from '
|
|
92
|
-
import { transI18n } from 'agora-ui-foundation/lib/i18n';
|
|
91
|
+
import { storage } from 'agora-foundation/lib/utilities/tools';
|
|
93
92
|
import { FcrUIConnectType } from '../../type';
|
|
94
93
|
import { FcrUIDialogKey, FcrUIHighlightElement } from '../../utilities/constant';
|
|
95
94
|
import { ConnectorRegion } from './enums';
|
|
96
95
|
import { FcrUIObjectKeys } from '../../object-manager';
|
|
97
96
|
import { DeviceSettingTab } from '../setting/type';
|
|
97
|
+
import { FcrUIToastKey } from '../../modules/toast-manager/type';
|
|
98
98
|
var _A = /*#__PURE__*/new WeakMap();
|
|
99
99
|
var _B = /*#__PURE__*/new WeakMap();
|
|
100
100
|
var _C = /*#__PURE__*/new WeakMap();
|
|
@@ -429,9 +429,8 @@ var ConnectionGatewayStore = /*#__PURE__*/function () {
|
|
|
429
429
|
_context3.next = 1;
|
|
430
430
|
return this._roomControl.getRoomConnectorControl().stopSession(this.connectSession.sessionId);
|
|
431
431
|
case 1:
|
|
432
|
-
this._messageProvider.
|
|
433
|
-
|
|
434
|
-
message: transI18n('fmt_PSTN_status_hungup')
|
|
432
|
+
this._messageProvider.showToastByKey({
|
|
433
|
+
key: FcrUIToastKey.FMT_PSTN_STATUS_HUNGUP
|
|
435
434
|
});
|
|
436
435
|
case 2:
|
|
437
436
|
case "end":
|
|
@@ -594,9 +593,8 @@ var ConnectionGatewayStore = /*#__PURE__*/function () {
|
|
|
594
593
|
switch (reason) {
|
|
595
594
|
case FcrRoomConnectorSessionReason.ACCEPTED:
|
|
596
595
|
// 已接听
|
|
597
|
-
this._messageProvider.
|
|
598
|
-
|
|
599
|
-
message: transI18n('fmt_PSTN_status_voiceconnected')
|
|
596
|
+
this._messageProvider.showToastByKey({
|
|
597
|
+
key: FcrUIToastKey.FMT_PSTN_STATUS_VOICECONNECTED
|
|
600
598
|
});
|
|
601
599
|
this.closeConnectionDialog();
|
|
602
600
|
this._accepted = true;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FrcTooltipButton } from 'agora-ui-foundation/lib/components/tooltips-button';
|
|
2
|
+
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
3
|
+
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
4
|
+
import AnnotationMenu from '../../../components/annotation-menu';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export var AnnotationButton = function AnnotationButton(_ref) {
|
|
7
|
+
var onAnnotationButtonClick = _ref.onAnnotationButtonClick,
|
|
8
|
+
onCleanAnnotationClick = _ref.onCleanAnnotationClick,
|
|
9
|
+
onAllowWriteClick = _ref.onAllowWriteClick,
|
|
10
|
+
isWriteAllowed = _ref.isWriteAllowed,
|
|
11
|
+
haPermissionAllowWrite = _ref.haPermissionAllowWrite,
|
|
12
|
+
visible = _ref.visible,
|
|
13
|
+
setVisible = _ref.setVisible;
|
|
14
|
+
var transI18n = useI18n();
|
|
15
|
+
return /*#__PURE__*/_jsx(FrcTooltipButton, {
|
|
16
|
+
active: visible,
|
|
17
|
+
tooltip: {
|
|
18
|
+
content: transI18n('fmt_screenshare_controlbar_button_annotations'),
|
|
19
|
+
icon: {
|
|
20
|
+
type: FcrIconType.FCR_RENAME,
|
|
21
|
+
size: 32,
|
|
22
|
+
colors: {
|
|
23
|
+
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
withPopover: true,
|
|
28
|
+
popover: {
|
|
29
|
+
content: /*#__PURE__*/_jsx(AnnotationMenu, {
|
|
30
|
+
className: "fcr-control-bar-annotation-menu",
|
|
31
|
+
allowAnnotationWriteState: isWriteAllowed,
|
|
32
|
+
hasAnnotationAllowWritePermission: haPermissionAllowWrite,
|
|
33
|
+
setAllowAnnotationWrite: onAllowWriteClick,
|
|
34
|
+
onCleanAnnotationClick: onCleanAnnotationClick
|
|
35
|
+
}),
|
|
36
|
+
onVisibleChange: function onVisibleChange(visible) {
|
|
37
|
+
setVisible(visible);
|
|
38
|
+
},
|
|
39
|
+
visible: visible
|
|
40
|
+
},
|
|
41
|
+
onTooltipButtonClick: onAnnotationButtonClick
|
|
42
|
+
});
|
|
43
|
+
};
|
|
@@ -3,6 +3,7 @@ import { AppList } from '../../../components/apps/app-list';
|
|
|
3
3
|
import { StoreContext } from '../../store';
|
|
4
4
|
import { useContext } from 'react';
|
|
5
5
|
import { observer } from 'mobx-react';
|
|
6
|
+
import './index.css';
|
|
6
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
8
|
export var AppsPopover = observer(function (props) {
|
|
8
9
|
var _useContext = useContext(StoreContext),
|
|
@@ -11,6 +12,7 @@ export var AppsPopover = observer(function (props) {
|
|
|
11
12
|
setAppActionbarPopoverVisible = _useContext.setAppActionbarPopoverVisible;
|
|
12
13
|
var children = props.children;
|
|
13
14
|
return /*#__PURE__*/_jsx(FcrPopover, {
|
|
15
|
+
overlayClassName: "share-action-nav__apps-popover",
|
|
14
16
|
trigger: "click",
|
|
15
17
|
showArrow: false,
|
|
16
18
|
content: /*#__PURE__*/_jsx(AppList, {
|
|
@@ -28,7 +28,7 @@ export var CameraControl = observer(function () {
|
|
|
28
28
|
iconSecondary: 'var(--fcr_ui_scene_ramp_red6)'
|
|
29
29
|
};
|
|
30
30
|
var icon = cameraEnabled ? FcrIconType.FCR_CAMERA : FcrIconType.FCR_CAMERAOFF;
|
|
31
|
-
var title = cameraEnabled ? transI18n('
|
|
31
|
+
var title = cameraEnabled ? transI18n('fmt_device_label_video_stop') : transI18n('fmt_device_label_video_start');
|
|
32
32
|
var noCam = cameraList.length === 0;
|
|
33
33
|
var noCamColor = {
|
|
34
34
|
iconPrimary: "var(--fcr_web_ui_scene_mainicon1)",
|
|
@@ -6,14 +6,15 @@ import { FcrButton } from 'agora-ui-foundation/lib/components/button';
|
|
|
6
6
|
import { FcrIcon } from 'agora-ui-foundation/lib/components/icon';
|
|
7
7
|
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
8
8
|
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
9
|
-
import { renderMeetingId } from '
|
|
9
|
+
import { renderMeetingId } from 'agora-foundation/lib/utilities/tools';
|
|
10
10
|
import { observer } from 'mobx-react';
|
|
11
11
|
import { useContext, useEffect, useMemo, useState } from 'react';
|
|
12
12
|
import './index.css';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import { StoreContext } from '../../store';
|
|
15
15
|
import { CopyState } from '../../enums';
|
|
16
|
-
import { copyText } from '
|
|
16
|
+
import { copyText } from 'agora-ui-foundation/lib/utilities/copy-text';
|
|
17
|
+
import { FcrUIToastKey } from '../../../../modules/toast-manager/type';
|
|
17
18
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
19
|
export var MeetingDetails = observer(function () {
|
|
19
20
|
var t = useI18n();
|
|
@@ -51,39 +52,33 @@ export var MeetingDetails = observer(function () {
|
|
|
51
52
|
var content = meetingId ? copyContent : copyContent.replace(/\s+/g, '');
|
|
52
53
|
copyText(content).then(function () {
|
|
53
54
|
showToast({
|
|
54
|
-
|
|
55
|
-
content: t('fmt_statusbar_status_coppied')
|
|
55
|
+
key: FcrUIToastKey.FMT_STATUSBAR_STATUS_COPPIED
|
|
56
56
|
});
|
|
57
57
|
})["catch"](function () {
|
|
58
58
|
showToast({
|
|
59
|
-
|
|
60
|
-
content: t('fmt_information_tips_numbercopyfailed')
|
|
59
|
+
key: FcrUIToastKey.FMT_INFORMATION_TIPS_NUMBERCOPYFAILED
|
|
61
60
|
});
|
|
62
61
|
});
|
|
63
62
|
}
|
|
64
63
|
function handlerCopyMeetingShareLink(shareLink) {
|
|
65
64
|
copyText(shareLink).then(function () {
|
|
66
65
|
showToast({
|
|
67
|
-
|
|
68
|
-
content: t('fmt_additional_tips_invitation')
|
|
66
|
+
key: FcrUIToastKey.FMT_ADDITIONAL_TIPS_INVITATION
|
|
69
67
|
});
|
|
70
68
|
})["catch"](function () {
|
|
71
69
|
showToast({
|
|
72
|
-
|
|
73
|
-
content: t('fmt_additional_tips_invitationfailed')
|
|
70
|
+
key: FcrUIToastKey.FMT_ADDITIONAL_TIPS_INVITATIONFAILED
|
|
74
71
|
});
|
|
75
72
|
});
|
|
76
73
|
}
|
|
77
74
|
function handleCopyMeetingPassword(password) {
|
|
78
75
|
copyText(password).then(function () {
|
|
79
76
|
showToast({
|
|
80
|
-
|
|
81
|
-
content: t('fmt_uimanager_tips_passwordcopied')
|
|
77
|
+
key: FcrUIToastKey.FMT_UIMANAGER_TIPS_PASSWORDCOPIED
|
|
82
78
|
});
|
|
83
79
|
})["catch"](function () {
|
|
84
80
|
showToast({
|
|
85
|
-
|
|
86
|
-
content: t('fmt_settings_tips_passwordcopyfailed')
|
|
81
|
+
key: FcrUIToastKey.FMT_SETTINGS_TIPS_PASSWORDCOPYFAILED
|
|
87
82
|
});
|
|
88
83
|
});
|
|
89
84
|
}
|
|
@@ -109,8 +104,7 @@ export var MeetingDetails = observer(function () {
|
|
|
109
104
|
}, 1500);
|
|
110
105
|
})["catch"](function () {
|
|
111
106
|
showToast({
|
|
112
|
-
|
|
113
|
-
content: t('fmt_sharing_tips_copyfull_failed')
|
|
107
|
+
key: FcrUIToastKey.FMT_SHARING_TIPS_COPYFULL_FAILED
|
|
114
108
|
});
|
|
115
109
|
});
|
|
116
110
|
}
|
|
@@ -65,10 +65,10 @@ export var MicrophoneControl = observer(function () {
|
|
|
65
65
|
var transI18n = useI18n();
|
|
66
66
|
var microphoneStateMapToTitle = useMemo(function () {
|
|
67
67
|
if (microphoneState === FcrUIMicrophoneState.UNMUTE) {
|
|
68
|
-
return transI18n('
|
|
68
|
+
return transI18n('fmt_device_label_audio_mute');
|
|
69
69
|
}
|
|
70
70
|
if (microphoneState === FcrUIMicrophoneState.MUTE) {
|
|
71
|
-
return transI18n('
|
|
71
|
+
return transI18n('fmt_device_label_audio_unmute');
|
|
72
72
|
} else {
|
|
73
73
|
return transI18n('fmt_audio_popup_button_turning_on');
|
|
74
74
|
}
|
|
@@ -125,7 +125,7 @@ export var usePopoverWatcher = function usePopoverWatcher(containerRef, setArea,
|
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
127
127
|
} else {
|
|
128
|
-
popoverElementId = "".concat(popoverClassName, "-").concat(Date.now(), "-").concat(countNum
|
|
128
|
+
popoverElementId = "".concat(popoverClassName, "-").concat(Date.now(), "-").concat(countNum++);
|
|
129
129
|
popover.setAttribute('data-popover-id', popoverElementId);
|
|
130
130
|
}
|
|
131
131
|
popoverObservers.set(popoverElementId, handlePositionChange(popover, function (rect) {
|
|
@@ -338,3 +338,14 @@
|
|
|
338
338
|
.fcr-control-bar .fcr-tooltip {
|
|
339
339
|
max-width: 300px;
|
|
340
340
|
}
|
|
341
|
+
|
|
342
|
+
.share-action-nav__security-popover {
|
|
343
|
+
max-width: 300px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.security-menu.fcr-control-bar-annotation-menu {
|
|
347
|
+
box-shadow: none;
|
|
348
|
+
background-color: none;
|
|
349
|
+
border-radius: none;
|
|
350
|
+
border: none;
|
|
351
|
+
}
|
|
@@ -4,6 +4,7 @@ import "core-js/modules/es.symbol.to-primitive.js";
|
|
|
4
4
|
import "core-js/modules/es.error.cause.js";
|
|
5
5
|
import "core-js/modules/es.error.to-string.js";
|
|
6
6
|
import "core-js/modules/es.array.is-array.js";
|
|
7
|
+
import "core-js/modules/es.array.push.js";
|
|
7
8
|
import "core-js/modules/es.date.to-primitive.js";
|
|
8
9
|
import "core-js/modules/es.function.bind.js";
|
|
9
10
|
import "core-js/modules/es.function.name.js";
|
|
@@ -34,18 +35,15 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
34
35
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
35
36
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
36
37
|
var _ControlBarStore;
|
|
37
|
-
var _initProto, _init_roomDuration, _init_startTime, _init_cloudRecordingState, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_boardOwnerUser, _init_currentShareDisplayId, _init_position, _init_appActionbarPopoverVisible, _setCheckedStateMapDecs,
|
|
38
|
-
import "core-js/modules/es.array.filter.js";
|
|
38
|
+
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;
|
|
39
39
|
import "core-js/modules/es.array.for-each.js";
|
|
40
40
|
import "core-js/modules/es.array.includes.js";
|
|
41
41
|
import "core-js/modules/es.array.iterator.js";
|
|
42
|
-
import "core-js/modules/es.array.push.js";
|
|
43
42
|
import "core-js/modules/es.date.to-string.js";
|
|
44
43
|
import "core-js/modules/es.object.to-string.js";
|
|
45
44
|
import "core-js/modules/es.string.iterator.js";
|
|
46
45
|
import "core-js/modules/es.weak-map.js";
|
|
47
46
|
import "core-js/modules/esnext.iterator.constructor.js";
|
|
48
|
-
import "core-js/modules/esnext.iterator.filter.js";
|
|
49
47
|
import "core-js/modules/esnext.iterator.for-each.js";
|
|
50
48
|
import "core-js/modules/esnext.weak-map.delete-all.js";
|
|
51
49
|
import "core-js/modules/esnext.weak-map.emplace.js";
|
|
@@ -67,7 +65,6 @@ import { bound, debounced, trace } from 'agora-foundation/lib/decorator';
|
|
|
67
65
|
import { FcrLiveStreamingState, FcrRecordingState } from 'fcr-core/lib/type';
|
|
68
66
|
import { createContext } from 'react';
|
|
69
67
|
import { FcrUIDialogKey } from '../../utilities/constant';
|
|
70
|
-
import { transI18n } from 'agora-ui-foundation/lib/i18n';
|
|
71
68
|
import { createLogger } from '../../utilities/logger';
|
|
72
69
|
import { FcrUIObjectKeys } from '../../object-manager';
|
|
73
70
|
import { getInvitationInfoByRoomInfo } from '../../utilities/meeting-detail';
|
|
@@ -75,10 +72,13 @@ import { AudioProcessingChannel } from './components/share-audio';
|
|
|
75
72
|
import { FcrUIRoomType } from '../../type';
|
|
76
73
|
import { MoreAction } from './enums';
|
|
77
74
|
import { cloudRecordingConfig } from '../../utilities/default-config';
|
|
78
|
-
import { copyText } from '
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
75
|
+
import { copyText } from 'agora-ui-foundation/lib/utilities/copy-text';
|
|
76
|
+
import { electronWindowConfig as controlBarWindowConfig } from '../dialog/dialogs/control-bar';
|
|
77
|
+
import { isWindows, isMac } from 'agora-foundation/lib/utilities/env';
|
|
81
78
|
import { FcrUIDetectAreaID } from '../../providers/mouse-detect/struct';
|
|
79
|
+
import { FcrSharePermissionState } from 'fcr-core/lib/room-control/sharing-control/type';
|
|
80
|
+
import { WhiteboardToolAction } from '../secondary-window/type';
|
|
81
|
+
import { FcrUIToastKey } from '../../modules/toast-manager/type';
|
|
82
82
|
var _F = /*#__PURE__*/new WeakMap();
|
|
83
83
|
var _G = /*#__PURE__*/new WeakMap();
|
|
84
84
|
var _H = /*#__PURE__*/new WeakMap();
|
|
@@ -94,7 +94,7 @@ var _B = /*#__PURE__*/new WeakMap();
|
|
|
94
94
|
var _C = /*#__PURE__*/new WeakMap();
|
|
95
95
|
var _D = /*#__PURE__*/new WeakMap();
|
|
96
96
|
var _E = /*#__PURE__*/new WeakMap();
|
|
97
|
-
_ref = (_setCheckedStateMapDecs = [action, action.bound],
|
|
97
|
+
_ref = (_setCheckedStateMapDecs = [action, action.bound], _pauseCloudRecordingDecs = [bound, debounced(500, {
|
|
98
98
|
leading: true
|
|
99
99
|
})], _resumeCloudRecordingDecs = [bound, debounced(500, {
|
|
100
100
|
leading: true
|
|
@@ -164,6 +164,9 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
164
164
|
onMouseEnterDetectArea: function onMouseEnterDetectArea(areaId) {
|
|
165
165
|
if (areaId === FcrUIDetectAreaID.ControlBar) {
|
|
166
166
|
_this._controlBarWindow.setIgnoreMouseEvents(false);
|
|
167
|
+
if (isWindows()) {
|
|
168
|
+
_this._controlBarWindow.focus();
|
|
169
|
+
}
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
172
|
onMouseLeaveDetectArea: function onMouseLeaveDetectArea(areaId) {
|
|
@@ -174,6 +177,46 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
});
|
|
180
|
+
_defineProperty(this, "_stateNavArea", {
|
|
181
|
+
x: 0,
|
|
182
|
+
y: 0,
|
|
183
|
+
width: 0,
|
|
184
|
+
height: 0
|
|
185
|
+
});
|
|
186
|
+
_defineProperty(this, "_contentArea", {
|
|
187
|
+
x: 0,
|
|
188
|
+
y: 0,
|
|
189
|
+
width: 0,
|
|
190
|
+
height: 0
|
|
191
|
+
});
|
|
192
|
+
// popover 菜单区域
|
|
193
|
+
_defineProperty(this, "_popoverArea", {
|
|
194
|
+
x: 0,
|
|
195
|
+
y: 0,
|
|
196
|
+
width: 0,
|
|
197
|
+
height: 0
|
|
198
|
+
});
|
|
199
|
+
// popover 二级菜单区域
|
|
200
|
+
_defineProperty(this, "_subPopoverArea", {
|
|
201
|
+
x: 0,
|
|
202
|
+
y: 0,
|
|
203
|
+
width: 0,
|
|
204
|
+
height: 0
|
|
205
|
+
});
|
|
206
|
+
// popover 三极菜单区域
|
|
207
|
+
_defineProperty(this, "_tertiaryPopoverArea", {
|
|
208
|
+
x: 0,
|
|
209
|
+
y: 0,
|
|
210
|
+
width: 0,
|
|
211
|
+
height: 0
|
|
212
|
+
});
|
|
213
|
+
// popover 四级菜单区域
|
|
214
|
+
_defineProperty(this, "_quaternaryPopoverArea", {
|
|
215
|
+
x: 0,
|
|
216
|
+
y: 0,
|
|
217
|
+
width: 0,
|
|
218
|
+
height: 0
|
|
219
|
+
});
|
|
177
220
|
_classPrivateFieldInitSpec(this, _F, _init_roomDuration(this));
|
|
178
221
|
_classPrivateFieldInitSpec(this, _G, _init_startTime(this));
|
|
179
222
|
_classPrivateFieldInitSpec(this, _H, _init_cloudRecordingState(this, FcrRecordingState.Stopped));
|
|
@@ -207,9 +250,10 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
207
250
|
this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
208
251
|
this._sharedLayoutDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
|
|
209
252
|
this._mouseDetectProvider = objectManager.getObject(FcrUIObjectKeys.P_MOUSE_DETECT_PROVIDER);
|
|
253
|
+
this._annotationProvider = objectManager.getObject(FcrUIObjectKeys.P_ANNOTATION_PROVIDER);
|
|
210
254
|
this._renderer = objectManager.getObject(FcrUIObjectKeys.RENDERER_WRAPPER);
|
|
211
255
|
var windowProvider = objectManager.getObject(FcrUIObjectKeys.P_WINDOW_PROVIDER);
|
|
212
|
-
windowProvider.setWindowOptions(FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR,
|
|
256
|
+
windowProvider.setWindowOptions(FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR, controlBarWindowConfig);
|
|
213
257
|
this._controlBarWindow = windowProvider.getWindowById(FcrUIDialogKey.SHARE_SCREEN_CONTROL_BAR);
|
|
214
258
|
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();
|
|
215
259
|
this.roomInfo = this._mainRoomControl.getRoomInfo();
|
|
@@ -366,11 +410,6 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
366
410
|
set: function set(v) {
|
|
367
411
|
_classPrivateFieldSet(_E, this, v);
|
|
368
412
|
}
|
|
369
|
-
}, {
|
|
370
|
-
key: "_detectAreas",
|
|
371
|
-
value: function _detectAreas() {
|
|
372
|
-
return this._mouseDetectProvider.getDetectAreas(FcrUIDetectAreaID.ControlBar);
|
|
373
|
-
}
|
|
374
413
|
}, {
|
|
375
414
|
key: "isSharingWithAudio",
|
|
376
415
|
get: function get() {
|
|
@@ -462,9 +501,19 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
462
501
|
return this._sharedSecurityDataSource.checkedStateMap;
|
|
463
502
|
}
|
|
464
503
|
}, {
|
|
465
|
-
key: "
|
|
504
|
+
key: "isWriteAnnotationAllowed",
|
|
466
505
|
get: function get() {
|
|
467
|
-
return
|
|
506
|
+
return this._privilegeProvider.isAnnotationWriteAllowed();
|
|
507
|
+
}
|
|
508
|
+
}, {
|
|
509
|
+
key: "hasPermissionAllowWriteAnnotation",
|
|
510
|
+
get: function get() {
|
|
511
|
+
return this._privilegeProvider.hasAnnotationAllowWritePermission();
|
|
512
|
+
}
|
|
513
|
+
}, {
|
|
514
|
+
key: "hasAnnotationStartPermission",
|
|
515
|
+
get: function get() {
|
|
516
|
+
return this._privilegeProvider.hasAnnotationStartPermission();
|
|
468
517
|
}
|
|
469
518
|
}, {
|
|
470
519
|
key: "liveStreamingButtonVisible",
|
|
@@ -533,9 +582,8 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
533
582
|
}, {
|
|
534
583
|
key: "showLockedRoomToast",
|
|
535
584
|
value: function showLockedRoomToast(enable) {
|
|
536
|
-
this.
|
|
537
|
-
|
|
538
|
-
message: enable ? transI18n('fmt_security_tips_lock_meeting_on') : transI18n('fmt_uimanager_tips_meetingunlocked')
|
|
585
|
+
this.showToast({
|
|
586
|
+
key: enable ? FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : FcrUIToastKey.FMT_UIMANAGER_TIPS_MEETINGUNLOCKED
|
|
539
587
|
});
|
|
540
588
|
}
|
|
541
589
|
}, {
|
|
@@ -548,6 +596,28 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
548
596
|
value: function handlerStopShare() {
|
|
549
597
|
this._screenShareProvider.stopShare();
|
|
550
598
|
}
|
|
599
|
+
}, {
|
|
600
|
+
key: "toggleAnnotation",
|
|
601
|
+
value: function toggleAnnotation() {
|
|
602
|
+
if (this._annotationProvider.isAnnotationToolbarOpened) {
|
|
603
|
+
this._annotationProvider.closeAnnotationToolbar();
|
|
604
|
+
} else {
|
|
605
|
+
this._annotationProvider.openAnnotationToolbar();
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}, {
|
|
609
|
+
key: "allowWriteAnnotation",
|
|
610
|
+
value: function allowWriteAnnotation(allow) {
|
|
611
|
+
var state = allow ? FcrSharePermissionState.ON : FcrSharePermissionState.OFF;
|
|
612
|
+
this._privilegeProvider.allowWriteAnnotation(allow);
|
|
613
|
+
}
|
|
614
|
+
}, {
|
|
615
|
+
key: "clearAnnotation",
|
|
616
|
+
value: function clearAnnotation() {
|
|
617
|
+
this._annotationProvider.getStandaloneToolbarControl().setWhiteboardTool({
|
|
618
|
+
action: WhiteboardToolAction.CLEAR
|
|
619
|
+
});
|
|
620
|
+
}
|
|
551
621
|
}, {
|
|
552
622
|
key: "handleMouseEnter",
|
|
553
623
|
value: function handleMouseEnter() {
|
|
@@ -607,11 +677,7 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
607
677
|
}, {
|
|
608
678
|
key: "showToast",
|
|
609
679
|
value: function showToast(params) {
|
|
610
|
-
this._messageProvider.
|
|
611
|
-
type: params.type,
|
|
612
|
-
message: params.content,
|
|
613
|
-
duration: params.duration
|
|
614
|
-
});
|
|
680
|
+
this._messageProvider.showToastByKey(params);
|
|
615
681
|
}
|
|
616
682
|
}, {
|
|
617
683
|
key: "handleOpenParticipant",
|
|
@@ -648,40 +714,89 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
648
714
|
this._mouseDetectProvider.deleteDetectArea(FcrUIDetectAreaID.ControlBar);
|
|
649
715
|
}
|
|
650
716
|
}, {
|
|
651
|
-
key: "
|
|
652
|
-
value: function
|
|
653
|
-
|
|
654
|
-
return item.id !== id;
|
|
655
|
-
});
|
|
656
|
-
var controlBarArea = {
|
|
657
|
-
id: id,
|
|
717
|
+
key: "setStateNavArea",
|
|
718
|
+
value: function setStateNavArea(area) {
|
|
719
|
+
this._stateNavArea = {
|
|
658
720
|
x: area.x,
|
|
659
721
|
y: area.y,
|
|
660
722
|
width: area.width,
|
|
661
723
|
height: area.height
|
|
662
724
|
};
|
|
663
|
-
|
|
664
|
-
this._mouseDetectProvider.setDetectArea(FcrUIDetectAreaID.ControlBar, currentOtherAreas);
|
|
725
|
+
this._updateDetectAreas();
|
|
665
726
|
}
|
|
666
727
|
}, {
|
|
667
|
-
key: "
|
|
668
|
-
value: function
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
728
|
+
key: "setControlBarContentArea",
|
|
729
|
+
value: function setControlBarContentArea(area) {
|
|
730
|
+
this._contentArea = {
|
|
731
|
+
x: area.x,
|
|
732
|
+
y: area.y,
|
|
733
|
+
width: area.width,
|
|
734
|
+
height: area.height
|
|
735
|
+
};
|
|
736
|
+
this._updateDetectAreas();
|
|
673
737
|
}
|
|
674
738
|
}, {
|
|
675
|
-
key: "
|
|
676
|
-
value: function
|
|
677
|
-
var
|
|
678
|
-
|
|
739
|
+
key: "setPopoverArea",
|
|
740
|
+
value: function setPopoverArea(id, area) {
|
|
741
|
+
var areaWithId = {
|
|
742
|
+
x: area.x,
|
|
743
|
+
y: area.y,
|
|
744
|
+
width: area.width,
|
|
745
|
+
height: area.height,
|
|
746
|
+
id: id
|
|
747
|
+
};
|
|
748
|
+
var isRefreshingSomeArea = true;
|
|
749
|
+
if (this._checkPopoverAreaEqual(this._popoverArea, id)) {
|
|
750
|
+
this._popoverArea = areaWithId;
|
|
751
|
+
} else if (this._checkPopoverAreaEqual(this._subPopoverArea, id)) {
|
|
752
|
+
this._subPopoverArea = areaWithId;
|
|
753
|
+
} else if (this._checkPopoverAreaEqual(this._tertiaryPopoverArea, id)) {
|
|
754
|
+
this._tertiaryPopoverArea = areaWithId;
|
|
755
|
+
} else if (this._checkPopoverAreaEqual(this._quaternaryPopoverArea, id)) {
|
|
756
|
+
this._quaternaryPopoverArea = areaWithId;
|
|
757
|
+
} else {
|
|
758
|
+
isRefreshingSomeArea = false;
|
|
759
|
+
}
|
|
760
|
+
if (isRefreshingSomeArea) {
|
|
761
|
+
this._updateDetectAreas();
|
|
762
|
+
return;
|
|
763
|
+
}
|
|
764
|
+
if (!this._checkPopoverAreaExist(this._popoverArea)) {
|
|
765
|
+
this._popoverArea = areaWithId;
|
|
766
|
+
} else if (!this._checkPopoverAreaExist(this._subPopoverArea)) {
|
|
767
|
+
this._subPopoverArea = areaWithId;
|
|
768
|
+
} else if (!this._checkPopoverAreaExist(this._tertiaryPopoverArea)) {
|
|
769
|
+
this._tertiaryPopoverArea = areaWithId;
|
|
770
|
+
} else if (!this._checkPopoverAreaExist(this._quaternaryPopoverArea)) {
|
|
771
|
+
this._quaternaryPopoverArea = areaWithId;
|
|
772
|
+
} else {
|
|
773
|
+
// popver 超过设计的最大层级
|
|
774
|
+
this.logger.error('popover limit exceeded');
|
|
775
|
+
}
|
|
776
|
+
this._updateDetectAreas();
|
|
679
777
|
}
|
|
680
778
|
}, {
|
|
681
|
-
key: "
|
|
682
|
-
value: function
|
|
683
|
-
var
|
|
684
|
-
|
|
779
|
+
key: "resetPopoverArea",
|
|
780
|
+
value: function resetPopoverArea(id) {
|
|
781
|
+
var area = {
|
|
782
|
+
x: 0,
|
|
783
|
+
y: 0,
|
|
784
|
+
width: 0,
|
|
785
|
+
height: 0,
|
|
786
|
+
id: undefined
|
|
787
|
+
};
|
|
788
|
+
if (this._checkPopoverAreaEqual(this._quaternaryPopoverArea, id)) {
|
|
789
|
+
this._quaternaryPopoverArea = area;
|
|
790
|
+
} else if (this._checkPopoverAreaEqual(this._tertiaryPopoverArea, id)) {
|
|
791
|
+
this._tertiaryPopoverArea = area;
|
|
792
|
+
} else if (this._checkPopoverAreaEqual(this._subPopoverArea, id)) {
|
|
793
|
+
this._subPopoverArea = area;
|
|
794
|
+
} else if (this._checkPopoverAreaEqual(this._popoverArea, id)) {
|
|
795
|
+
this._popoverArea = area;
|
|
796
|
+
} else {
|
|
797
|
+
this.logger.error('popover limit exceeded');
|
|
798
|
+
}
|
|
799
|
+
this._updateDetectAreas();
|
|
685
800
|
}
|
|
686
801
|
}, {
|
|
687
802
|
key: "handleLeaveRoom",
|
|
@@ -732,16 +847,14 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
732
847
|
case MoreAction.COPY_INVITE_LINK:
|
|
733
848
|
copyText(this.playUrl).then(function () {
|
|
734
849
|
_this2.showToast({
|
|
735
|
-
|
|
736
|
-
content: transI18n('fmt_statusbar_status_coppied')
|
|
850
|
+
key: FcrUIToastKey.FMT_STATUSBAR_STATUS_COPPIED
|
|
737
851
|
});
|
|
738
852
|
});
|
|
739
853
|
break;
|
|
740
854
|
case MoreAction.COPY_MEETING_INFO:
|
|
741
855
|
copyText(this.roomDetailCopyText).then(function () {
|
|
742
856
|
_this2.showToast({
|
|
743
|
-
|
|
744
|
-
content: transI18n('fmt_meeting_mainwindow_topbar_left_popup_toast_copy_done')
|
|
857
|
+
key: FcrUIToastKey.FMT_MEETING_MAINWINDOW_TOPBAR_LEFT_POPUP_TOAST_COPY_DONE
|
|
745
858
|
});
|
|
746
859
|
});
|
|
747
860
|
break;
|
|
@@ -762,10 +875,28 @@ var ControlBarStore = /*#__PURE__*/function () {
|
|
|
762
875
|
value: function setAppActionbarPopoverVisible(visible) {
|
|
763
876
|
this.appActionbarPopoverVisible = visible;
|
|
764
877
|
}
|
|
878
|
+
}, {
|
|
879
|
+
key: "_updateDetectAreas",
|
|
880
|
+
value: function _updateDetectAreas() {
|
|
881
|
+
this._mouseDetectProvider.setDetectArea(FcrUIDetectAreaID.ControlBar, [this._stateNavArea, this._contentArea, this._popoverArea, this._subPopoverArea, this._tertiaryPopoverArea, this._quaternaryPopoverArea]);
|
|
882
|
+
}
|
|
883
|
+
}, {
|
|
884
|
+
key: "_checkPopoverAreaExist",
|
|
885
|
+
value: function _checkPopoverAreaExist(area, areaId) {
|
|
886
|
+
if (area.id === undefined && (area.width === 0 || area.height === 0)) {
|
|
887
|
+
return false;
|
|
888
|
+
}
|
|
889
|
+
return true;
|
|
890
|
+
}
|
|
891
|
+
}, {
|
|
892
|
+
key: "_checkPopoverAreaEqual",
|
|
893
|
+
value: function _checkPopoverAreaEqual(area, areaId) {
|
|
894
|
+
return area.id === areaId;
|
|
895
|
+
}
|
|
765
896
|
}]);
|
|
766
897
|
}();
|
|
767
898
|
_ControlBarStore = ControlBarStore;
|
|
768
|
-
var _applyDecs$e = _slicedToArray(_applyDecs(_ControlBarStore, [[observable, 1, "roomDuration"], [observable, 1, "startTime"], [observable, 1, "cloudRecordingState"], [observable, 1, "playUrl"], [observable, 1, "liveStreamingState"], [observable, 1, "allApplicationWindows"], [observable, 1, "boardOwnerUser"], [observable, 1, "currentShareDisplayId"], [observable, 1, "position"], [observable, 1, "appActionbarPopoverVisible"], [computed, 3, "hasEndRoomPermission"], [computed, 3, "hasGetLiveStreamingUrlPermission"], [computed, 3, "hasStartCloudRecordingPermission"], [computed, 3, "hasStartLiveStreamingPermission"], [computed, 3, "hasChatPermission"], [computed, 3, "liveStreamingButtonVisible"], [computed, 3, "recordingButtonVisible"], [computed, 3, "isConnecting"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [bound, 2, "setShareWithAudioState"], [bound, 2, "setShareInSmoothMode"], [
|
|
899
|
+
var _applyDecs$e = _slicedToArray(_applyDecs(_ControlBarStore, [[observable, 1, "roomDuration"], [observable, 1, "startTime"], [observable, 1, "cloudRecordingState"], [observable, 1, "playUrl"], [observable, 1, "liveStreamingState"], [observable, 1, "allApplicationWindows"], [observable, 1, "boardOwnerUser"], [observable, 1, "currentShareDisplayId"], [observable, 1, "position"], [observable, 1, "appActionbarPopoverVisible"], [computed, 3, "hasEndRoomPermission"], [computed, 3, "hasGetLiveStreamingUrlPermission"], [computed, 3, "hasStartCloudRecordingPermission"], [computed, 3, "hasStartLiveStreamingPermission"], [computed, 3, "hasChatPermission"], [computed, 3, "liveStreamingButtonVisible"], [computed, 3, "recordingButtonVisible"], [computed, 3, "isConnecting"], [_setCheckedStateMapDecs, 18, "setCheckedStateMap"], [bound, 2, "setShareWithAudioState"], [bound, 2, "setShareInSmoothMode"], [bound, 2, "showLockedRoomToast"], [bound, 2, "handleNewShare"], [bound, 2, "handlerStopShare"], [bound, 2, "toggleAnnotation"], [bound, 2, "allowWriteAnnotation"], [bound, 2, "clearAnnotation"], [bound, 2, "handleMouseEnter"], [bound, 2, "handleMouseLeave"], [bound, 2, "openLiveStreamingDialog"], [bound, 2, "setShareAudioMode"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [bound, 2, "startCloudRecording"], [bound, 2, "startLiveStreaming"], [bound, 2, "stopLiveStreaming"], [_showToastDecs, 18, "showToast"], [bound, 2, "handleOpenParticipant"], [bound, 2, "handleOpenLiveStreaming"], [bound, 2, "setEnableWaitingRoom"], [bound, 2, "getLocalMeetingTime"], [[bound, trace], 2, "setStateNavArea"], [[bound, trace], 2, "setControlBarContentArea"], [[bound, trace], 2, "setPopoverArea"], [[bound, trace], 2, "resetPopoverArea"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_closeLeaveMeetingDialogDecs, 18, "closeLeaveMeetingDialog"], [_handleMoreClickDecs, 18, "handleMoreClick"], [[trace, bound], 2, "updateWindowBounds"], [_setAppActionbarPopoverVisibleDecs, 18, "setAppActionbarPopoverVisible"]], []).e, 11);
|
|
769
900
|
_init_roomDuration = _applyDecs$e[0];
|
|
770
901
|
_init_startTime = _applyDecs$e[1];
|
|
771
902
|
_init_cloudRecordingState = _applyDecs$e[2];
|