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
|
@@ -19,7 +19,9 @@ var VideoMenu = observer(function (_ref) {
|
|
|
19
19
|
openDeviceSettingDialog = _useContext.openDeviceSettingDialog,
|
|
20
20
|
cameraList = _useContext.cameraList,
|
|
21
21
|
cameraId = _useContext.cameraId,
|
|
22
|
-
setCameraId = _useContext.setCameraId
|
|
22
|
+
setCameraId = _useContext.setCameraId,
|
|
23
|
+
isBeautyModeAbilitySupported = _useContext.isBeautyModeAbilitySupported,
|
|
24
|
+
isVirtualBackgroundSupported = _useContext.isVirtualBackgroundSupported;
|
|
23
25
|
var cameraOptions = cameraList.map(function (device) {
|
|
24
26
|
return {
|
|
25
27
|
text: device.deviceName,
|
|
@@ -72,13 +74,13 @@ var VideoMenu = observer(function (_ref) {
|
|
|
72
74
|
})
|
|
73
75
|
}), /*#__PURE__*/_jsxs("div", {
|
|
74
76
|
className: "fcr-device-popover-content-more",
|
|
75
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
77
|
+
children: [isVirtualBackgroundSupported && /*#__PURE__*/_jsx("div", {
|
|
76
78
|
className: "fcr-device-popover-content-more-item",
|
|
77
79
|
onClick: function onClick() {
|
|
78
80
|
return openDeviceSetting('virtual-background');
|
|
79
81
|
},
|
|
80
82
|
children: transI18n('fmt_device_label_video_list_selectVirtualBackground')
|
|
81
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
83
|
+
}), isBeautyModeAbilitySupported && /*#__PURE__*/_jsx("div", {
|
|
82
84
|
className: "fcr-device-popover-content-more-item",
|
|
83
85
|
onClick: function onClick() {
|
|
84
86
|
return openDeviceSetting('beauty-filter');
|
|
@@ -80,6 +80,7 @@ export var DeviceControlStoreBase = /*#__PURE__*/function () {
|
|
|
80
80
|
_classPrivateFieldInitSpec(this, _B, _init_phoneMicEnabled(this, false));
|
|
81
81
|
this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
82
82
|
this._deviceProvider = objectManager.getObject(FcrUIObjectKeys.P_DEVICE_PROVIDER);
|
|
83
|
+
this._abilityProvider = objectManager.getObject(FcrUIObjectKeys.P_ABILITY_PROVIDER);
|
|
83
84
|
this._facilityProvider = objectManager.getObject(FcrUIObjectKeys.P_FACILITY_PROVIDER);
|
|
84
85
|
var currentRoomProvider = objectManager.getObject(FcrUIObjectKeys.P_CURRENT_ROOM_CONTROL_PROVIDER);
|
|
85
86
|
this._sharedSettingDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
|
|
@@ -117,6 +118,21 @@ export var DeviceControlStoreBase = /*#__PURE__*/function () {
|
|
|
117
118
|
get: function get() {
|
|
118
119
|
return this._deviceProvider.speakerList;
|
|
119
120
|
}
|
|
121
|
+
}, {
|
|
122
|
+
key: "isCallOutAbilitySupported",
|
|
123
|
+
get: function get() {
|
|
124
|
+
return this._abilityProvider.isCallOutAbilitySupported();
|
|
125
|
+
}
|
|
126
|
+
}, {
|
|
127
|
+
key: "isVirtualBackgroundSupported",
|
|
128
|
+
get: function get() {
|
|
129
|
+
return this._abilityProvider.isVirtualBackgroundSupported();
|
|
130
|
+
}
|
|
131
|
+
}, {
|
|
132
|
+
key: "isBeautyModeAbilitySupported",
|
|
133
|
+
get: function get() {
|
|
134
|
+
return this._abilityProvider.isBeautyModeAbilitySupported();
|
|
135
|
+
}
|
|
120
136
|
}, {
|
|
121
137
|
key: "microphoneEnabled",
|
|
122
138
|
get: function get() {
|
|
@@ -235,7 +251,7 @@ export var DeviceControlStoreBase = /*#__PURE__*/function () {
|
|
|
235
251
|
}]);
|
|
236
252
|
}();
|
|
237
253
|
_DeviceControlStoreBase = DeviceControlStoreBase;
|
|
238
|
-
var _applyDecs$e = _slicedToArray(_applyDecs(_DeviceControlStoreBase, [[observable, 1, "isPstnUser"], [observable, 1, "phoneMicEnabled"], [computed, 3, "microphoneId"], [computed, 3, "speakerId"], [computed, 3, "speakerList"], [computed, 3, "microphoneEnabled"], [computed, 3, "microphoneState"], [computed, 3, "microphoneDetecting"], [computed, 3, "cameraId"], [computed, 3, "cameraEnabled"], [computed, 3, "microphoneVolumeLevel"], [computed, 3, "microphoneList"], [computed, 3, "cameraList"], [computed, 3, "connectType"], [_openDeviceSettingDialogDecs, 18, "openDeviceSettingDialog"], [_openConnectionDecs, 18, "openConnection"], [_closeConnectionDecs, 18, "closeConnection"], [_checkMediaPermissionDecs, 18, "checkMediaPermission"], [_setSpeakerIdDecs, 18, "setSpeakerId"], [_setMicrophoneIdDecs, 18, "setMicrophoneId"], [_setCameraIdDecs, 18, "setCameraId"], [bound, 2, "stopAudioByComputer"], [bound, 2, "release"], [bound, 2, "_handleStreamUpdate"]], []).e, 3);
|
|
254
|
+
var _applyDecs$e = _slicedToArray(_applyDecs(_DeviceControlStoreBase, [[observable, 1, "isPstnUser"], [observable, 1, "phoneMicEnabled"], [computed, 3, "microphoneId"], [computed, 3, "speakerId"], [computed, 3, "speakerList"], [computed, 3, "isCallOutAbilitySupported"], [computed, 3, "isVirtualBackgroundSupported"], [computed, 3, "isBeautyModeAbilitySupported"], [computed, 3, "microphoneEnabled"], [computed, 3, "microphoneState"], [computed, 3, "microphoneDetecting"], [computed, 3, "cameraId"], [computed, 3, "cameraEnabled"], [computed, 3, "microphoneVolumeLevel"], [computed, 3, "microphoneList"], [computed, 3, "cameraList"], [computed, 3, "connectType"], [_openDeviceSettingDialogDecs, 18, "openDeviceSettingDialog"], [_openConnectionDecs, 18, "openConnection"], [_closeConnectionDecs, 18, "closeConnection"], [_checkMediaPermissionDecs, 18, "checkMediaPermission"], [_setSpeakerIdDecs, 18, "setSpeakerId"], [_setMicrophoneIdDecs, 18, "setMicrophoneId"], [_setCameraIdDecs, 18, "setCameraId"], [bound, 2, "stopAudioByComputer"], [bound, 2, "release"], [bound, 2, "_handleStreamUpdate"]], []).e, 3);
|
|
239
255
|
_init_isPstnUser = _applyDecs$e[0];
|
|
240
256
|
_init_phoneMicEnabled = _applyDecs$e[1];
|
|
241
257
|
_initProto = _applyDecs$e[2];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.fcr-end-meeting-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
padding: 8px 20px 20px;
|
|
4
|
+
max-height: 368px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.fcr-end-meeting-title {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 39px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
|
|
14
|
+
font-family: Verdana;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
line-height: 18.2px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
|
|
20
|
+
color: var(--fcr_ui_scene_icontext1, rgba(255, 255, 255, 1));
|
|
21
|
+
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { FcrUserRole } from 'fcr-core';
|
|
2
2
|
import { AssignHost } from './components/assign-host';
|
|
3
|
-
import { FcrCheckbox } from 'agora-ui-foundation/lib/components/checkbox';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
3
|
import { observer } from 'mobx-react';
|
|
6
4
|
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
7
5
|
import { useContext, useEffect } from 'react';
|
|
8
6
|
import { LeaveMeetingStoreContext } from './store.base';
|
|
9
|
-
import {
|
|
10
|
-
import { jsx as _jsx
|
|
7
|
+
import { ConfirmWrapper } from '../confirm-wrapper';
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
9
|
export var LeaveMeeting = observer(function (props) {
|
|
12
10
|
var t = useI18n();
|
|
13
|
-
var
|
|
14
|
-
onAssigned = props.onAssigned,
|
|
15
|
-
onLeave = props.onLeave;
|
|
11
|
+
var setPopoverOpened = props.setPopoverOpened;
|
|
16
12
|
var _useContext = useContext(LeaveMeetingStoreContext),
|
|
17
13
|
canAssign = _useContext.canAssign,
|
|
18
14
|
keepConnect = _useContext.keepConnect,
|
|
@@ -22,16 +18,18 @@ export var LeaveMeeting = observer(function (props) {
|
|
|
22
18
|
hasEndRoomPermission = _useContext.hasEndRoomPermission,
|
|
23
19
|
isPstnUser = _useContext.isPstnUser,
|
|
24
20
|
loading = _useContext.loading,
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
exitMeeting = _useContext.exitMeeting,
|
|
22
|
+
assignHost = _useContext.assignHost,
|
|
27
23
|
setCanAssign = _useContext.setCanAssign,
|
|
28
24
|
setKeepConnect = _useContext.setKeepConnect,
|
|
29
25
|
isAssignHostAvailable = _useContext.isAssignHostAvailable,
|
|
30
26
|
showEndConfirmDialog = _useContext.showEndConfirmDialog;
|
|
31
|
-
|
|
27
|
+
var closePopover = function closePopover() {
|
|
28
|
+
setPopoverOpened === null || setPopoverOpened === void 0 || setPopoverOpened(false);
|
|
29
|
+
};
|
|
32
30
|
// 结束会议
|
|
33
31
|
var handleEnd = function handleEnd() {
|
|
34
|
-
|
|
32
|
+
closePopover();
|
|
35
33
|
showEndConfirmDialog();
|
|
36
34
|
};
|
|
37
35
|
|
|
@@ -40,109 +38,72 @@ export var LeaveMeeting = observer(function (props) {
|
|
|
40
38
|
if (hostAvailibleRemoteUsers.length > 0 && isAssignHostAvailable) {
|
|
41
39
|
setCanAssign(true);
|
|
42
40
|
} else {
|
|
43
|
-
|
|
44
|
-
_setPopoverOpened === null || _setPopoverOpened === void 0 || _setPopoverOpened(false);
|
|
45
|
-
onLeave === null || onLeave === void 0 || onLeave();
|
|
41
|
+
leaveMeeting();
|
|
46
42
|
}
|
|
47
43
|
};
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
onLeave === null || onLeave === void 0 || onLeave();
|
|
44
|
+
var leaveMeeting = function leaveMeeting() {
|
|
45
|
+
closePopover();
|
|
46
|
+
exitMeeting();
|
|
52
47
|
};
|
|
53
48
|
var handleCancel = function handleCancel() {
|
|
54
|
-
|
|
49
|
+
closePopover();
|
|
55
50
|
};
|
|
56
51
|
useEffect(function () {
|
|
57
52
|
return setCanAssign(false);
|
|
58
53
|
}, []);
|
|
59
54
|
if (localUserRole === FcrUserRole.HOST) {
|
|
60
|
-
return /*#__PURE__*/_jsx(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
55
|
+
return canAssign ? /*#__PURE__*/_jsx(AssignHost, {
|
|
56
|
+
setPopoverOpened: closePopover,
|
|
57
|
+
setCanAssign: setCanAssign,
|
|
58
|
+
remoteUsers: hostAvailibleRemoteUsers,
|
|
59
|
+
assignHost: assignHost,
|
|
60
|
+
loading: loading
|
|
61
|
+
}) : /*#__PURE__*/_jsx(ConfirmWrapper, {
|
|
62
|
+
title: t('fmt_actionbar_labels_endmeeting'),
|
|
63
|
+
checkboxProps: {
|
|
64
|
+
label: t('fmt_pstn_status_maitain'),
|
|
65
|
+
checked: keepConnect,
|
|
66
|
+
onChange: function onChange(checked) {
|
|
67
|
+
return setKeepConnect(checked);
|
|
70
68
|
},
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}), hasEndRoomPermission && /*#__PURE__*/_jsx(FcrButton, {
|
|
87
|
-
styleType: "danger",
|
|
88
|
-
size: "S",
|
|
89
|
-
shape: "rounded",
|
|
90
|
-
className: classNames('leave-confirm', {
|
|
91
|
-
'leave-confirm-disabled': keepConnect
|
|
92
|
-
}),
|
|
93
|
-
onClick: !keepConnect ? handleEnd : undefined,
|
|
94
|
-
children: t('fmt_popup_button_endmeeting')
|
|
95
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
96
|
-
className: "leave-cancel",
|
|
97
|
-
onClick: function onClick(e) {
|
|
98
|
-
e.stopPropagation();
|
|
99
|
-
handleLeave();
|
|
100
|
-
},
|
|
101
|
-
children: t('fmt_popup_button_leavemeeting')
|
|
102
|
-
})]
|
|
103
|
-
})
|
|
69
|
+
isHidden: !isPstnUser
|
|
70
|
+
},
|
|
71
|
+
confirmBtnProps: {
|
|
72
|
+
text: t('fmt_popup_button_endmeeting'),
|
|
73
|
+
onClick: !keepConnect ? handleEnd : undefined,
|
|
74
|
+
disabled: keepConnect,
|
|
75
|
+
isHidden: !hasEndRoomPermission
|
|
76
|
+
},
|
|
77
|
+
secondaryConfirmBtnProps: {
|
|
78
|
+
text: t('fmt_popup_button_leavemeeting'),
|
|
79
|
+
onClick: function onClick(e) {
|
|
80
|
+
e === null || e === void 0 || e.stopPropagation();
|
|
81
|
+
handleLeave();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
104
84
|
});
|
|
105
85
|
}
|
|
106
|
-
return /*#__PURE__*/_jsx(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
,
|
|
114
|
-
|
|
115
|
-
|
|
86
|
+
return /*#__PURE__*/_jsx(ConfirmWrapper, {
|
|
87
|
+
onBlur: function onBlur() {
|
|
88
|
+
setPopoverOpened === null || setPopoverOpened === void 0 || setPopoverOpened(false);
|
|
89
|
+
},
|
|
90
|
+
title: isLocked ? t('fmt_actionbar_tips_locked') : t('fmt_actionbar_tips_leavemeeting'),
|
|
91
|
+
description: isLocked ? t('fmt_actionbar_tips_recheckleave') : undefined,
|
|
92
|
+
checkboxProps: {
|
|
93
|
+
label: t('fmt_pstn_status_maitain'),
|
|
94
|
+
checked: keepConnect,
|
|
95
|
+
onChange: function onChange(checked) {
|
|
96
|
+
return setKeepConnect(checked);
|
|
116
97
|
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
children: t('fmt_actionbar_tips_leavemeeting')
|
|
128
|
-
}), isPstnUser && /*#__PURE__*/_jsx("div", {
|
|
129
|
-
className: "leave-connect-check",
|
|
130
|
-
children: /*#__PURE__*/_jsx(FcrCheckbox, {
|
|
131
|
-
label: t('fmt_pstn_status_maitain'),
|
|
132
|
-
checked: keepConnect,
|
|
133
|
-
onChange: function onChange(checked) {
|
|
134
|
-
return setKeepConnect(checked);
|
|
135
|
-
}
|
|
136
|
-
})
|
|
137
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
138
|
-
className: "leave-confirm",
|
|
139
|
-
onClick: handleConfirm,
|
|
140
|
-
children: t('fmt_actionbar__button_leaveyes')
|
|
141
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
142
|
-
className: "leave-cancel",
|
|
143
|
-
onClick: handleCancel,
|
|
144
|
-
children: t('fmt_actionbar__button_leaveno')
|
|
145
|
-
})]
|
|
146
|
-
})
|
|
98
|
+
isHidden: !isPstnUser
|
|
99
|
+
},
|
|
100
|
+
confirmBtnProps: {
|
|
101
|
+
text: t('fmt_actionbar__button_leaveyes'),
|
|
102
|
+
onClick: leaveMeeting
|
|
103
|
+
},
|
|
104
|
+
cancelBtnProps: {
|
|
105
|
+
text: t('fmt_actionbar__button_leaveno'),
|
|
106
|
+
onClick: handleCancel
|
|
107
|
+
}
|
|
147
108
|
});
|
|
148
109
|
});
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { LeaveMeeting } from '.';
|
|
2
|
-
import { isWindows } from '
|
|
2
|
+
import { isWindows } from 'agora-foundation/lib/utilities/env';
|
|
3
3
|
import './style.css';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export var LeaveMeetingPortal = function LeaveMeetingPortal(props) {
|
|
6
6
|
var setPopoverOpened = props.setPopoverOpened,
|
|
7
|
-
children = props.children
|
|
8
|
-
onLeave = props.onLeave;
|
|
7
|
+
children = props.children;
|
|
9
8
|
return /*#__PURE__*/_jsx("div", {
|
|
10
9
|
className: "fcr-action-bar--leave-meeting-portal",
|
|
11
10
|
id: "fcr-action-bar--leave-meeting-portal",
|
|
@@ -15,8 +14,7 @@ export var LeaveMeetingPortal = function LeaveMeetingPortal(props) {
|
|
|
15
14
|
left: '10px'
|
|
16
15
|
},
|
|
17
16
|
children: children || /*#__PURE__*/_jsx(LeaveMeeting, {
|
|
18
|
-
setPopoverOpened: setPopoverOpened
|
|
19
|
-
onLeave: onLeave
|
|
17
|
+
setPopoverOpened: setPopoverOpened
|
|
20
18
|
})
|
|
21
19
|
});
|
|
22
20
|
};
|
|
@@ -36,7 +36,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
36
36
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
37
37
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
38
38
|
var _LeaveMeetingStoreBase;
|
|
39
|
-
var _initProto, _init_keepConnect, _init_canAssign, _init_loading, _showEndConfirmDialogDecs, _assignHostDecs,
|
|
39
|
+
var _initProto, _init_keepConnect, _init_canAssign, _init_loading, _showEndConfirmDialogDecs, _assignHostDecs, _endMeetingDecs, _exitMeetingDecs, _keepPhoneAudioConnectionDecs, _setCanAssignDecs, _setKeepConnectDecs, _ref;
|
|
40
40
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
41
41
|
import "core-js/modules/es.array.iterator.js";
|
|
42
42
|
import "core-js/modules/es.array.some.js";
|
|
@@ -68,7 +68,7 @@ import { sleep } from 'fcr-core/lib/imports';
|
|
|
68
68
|
var _A = /*#__PURE__*/new WeakMap();
|
|
69
69
|
var _B = /*#__PURE__*/new WeakMap();
|
|
70
70
|
var _C = /*#__PURE__*/new WeakMap();
|
|
71
|
-
_ref = (_showEndConfirmDialogDecs = [action, action.bound], _assignHostDecs = [action, action.bound],
|
|
71
|
+
_ref = (_showEndConfirmDialogDecs = [action, action.bound], _assignHostDecs = [action, action.bound], _endMeetingDecs = [action, action.bound], _exitMeetingDecs = [action, action.bound], _keepPhoneAudioConnectionDecs = [action, action.bound], _setCanAssignDecs = [action, action.bound], _setKeepConnectDecs = [action, action.bound], "_roomControl");
|
|
72
72
|
export var LeaveMeetingStoreBase = /*#__PURE__*/function () {
|
|
73
73
|
function LeaveMeetingStoreBase(_ref2) {
|
|
74
74
|
var objectManager = _ref2.objectManager;
|
|
@@ -136,52 +136,70 @@ export var LeaveMeetingStoreBase = /*#__PURE__*/function () {
|
|
|
136
136
|
}, {
|
|
137
137
|
key: "showEndConfirmDialog",
|
|
138
138
|
value: function showEndConfirmDialog() {
|
|
139
|
-
this._dialogProvider.openDialog(FcrUIDialogKey.
|
|
139
|
+
this._dialogProvider.openDialog(FcrUIDialogKey.CONFIRM_END_MEETING);
|
|
140
140
|
}
|
|
141
141
|
}, {
|
|
142
142
|
key: "assignHost",
|
|
143
143
|
value: function assignHost(user) {
|
|
144
144
|
this._userControl.updateRemoteUserRole(user.userId, FcrUserRole.HOST);
|
|
145
|
-
this.
|
|
145
|
+
this.exitMeeting();
|
|
146
146
|
}
|
|
147
147
|
}, {
|
|
148
|
-
key: "
|
|
149
|
-
value: function setIsSelfEndMeeting(value) {
|
|
150
|
-
this._roomProvider.setIsSelfEndMeeting(value);
|
|
151
|
-
}
|
|
152
|
-
}, {
|
|
153
|
-
key: "leave",
|
|
148
|
+
key: "endMeeting",
|
|
154
149
|
value: function () {
|
|
155
|
-
var
|
|
156
|
-
var _t;
|
|
150
|
+
var _endMeeting = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
157
151
|
return _regeneratorRuntime.wrap(function (_context) {
|
|
158
152
|
while (1) switch (_context.prev = _context.next) {
|
|
159
153
|
case 0:
|
|
160
154
|
_context.next = 1;
|
|
161
155
|
return this._checkIfQuitFullScreen();
|
|
156
|
+
case 1:
|
|
157
|
+
this._roomProvider.closeRoom();
|
|
158
|
+
this.resetPreventClose();
|
|
159
|
+
case 2:
|
|
160
|
+
case "end":
|
|
161
|
+
return _context.stop();
|
|
162
|
+
}
|
|
163
|
+
}, _callee, this);
|
|
164
|
+
}));
|
|
165
|
+
function endMeeting() {
|
|
166
|
+
return _endMeeting.apply(this, arguments);
|
|
167
|
+
}
|
|
168
|
+
return endMeeting;
|
|
169
|
+
}()
|
|
170
|
+
}, {
|
|
171
|
+
key: "exitMeeting",
|
|
172
|
+
value: function () {
|
|
173
|
+
var _exitMeeting = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
174
|
+
var _t;
|
|
175
|
+
return _regeneratorRuntime.wrap(function (_context2) {
|
|
176
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
177
|
+
case 0:
|
|
178
|
+
_context2.next = 1;
|
|
179
|
+
return this._checkIfQuitFullScreen();
|
|
162
180
|
case 1:
|
|
163
181
|
this.loading = true;
|
|
164
182
|
_t = this.keepConnect && this.isPstnUser;
|
|
165
183
|
if (!_t) {
|
|
166
|
-
|
|
184
|
+
_context2.next = 2;
|
|
167
185
|
break;
|
|
168
186
|
}
|
|
169
|
-
|
|
170
|
-
return this.
|
|
187
|
+
_context2.next = 2;
|
|
188
|
+
return this._keepPhoneAudioConnection();
|
|
171
189
|
case 2:
|
|
172
190
|
this.loading = false;
|
|
173
191
|
this._roomProvider.exitRoom();
|
|
174
192
|
this.resetPreventClose();
|
|
175
193
|
case 3:
|
|
176
194
|
case "end":
|
|
177
|
-
return
|
|
195
|
+
return _context2.stop();
|
|
178
196
|
}
|
|
179
|
-
},
|
|
197
|
+
}, _callee2, this);
|
|
180
198
|
}));
|
|
181
|
-
function
|
|
182
|
-
return
|
|
199
|
+
function exitMeeting() {
|
|
200
|
+
return _exitMeeting.apply(this, arguments);
|
|
183
201
|
}
|
|
184
|
-
return
|
|
202
|
+
return exitMeeting;
|
|
185
203
|
}() // TODO 等候室和主窗口的scene不需要有父store
|
|
186
204
|
// 并且这里的base命名会和现在base/Electron/Browser 冲突,会让人以为是解决平台的逻辑
|
|
187
205
|
}, {
|
|
@@ -199,23 +217,23 @@ export var LeaveMeetingStoreBase = /*#__PURE__*/function () {
|
|
|
199
217
|
}
|
|
200
218
|
}
|
|
201
219
|
}, {
|
|
202
|
-
key: "
|
|
220
|
+
key: "_keepPhoneAudioConnection",
|
|
203
221
|
value: function () {
|
|
204
|
-
var
|
|
205
|
-
return _regeneratorRuntime.wrap(function (
|
|
206
|
-
while (1) switch (
|
|
222
|
+
var _keepPhoneAudioConnection2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
223
|
+
return _regeneratorRuntime.wrap(function (_context3) {
|
|
224
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
207
225
|
case 0:
|
|
208
|
-
return
|
|
226
|
+
return _context3.abrupt("return", this._streamControl.splitAudioStream(this.localUserId));
|
|
209
227
|
case 1:
|
|
210
228
|
case "end":
|
|
211
|
-
return
|
|
229
|
+
return _context3.stop();
|
|
212
230
|
}
|
|
213
|
-
},
|
|
231
|
+
}, _callee3, this);
|
|
214
232
|
}));
|
|
215
|
-
function
|
|
216
|
-
return
|
|
233
|
+
function _keepPhoneAudioConnection() {
|
|
234
|
+
return _keepPhoneAudioConnection2.apply(this, arguments);
|
|
217
235
|
}
|
|
218
|
-
return
|
|
236
|
+
return _keepPhoneAudioConnection;
|
|
219
237
|
}()
|
|
220
238
|
}, {
|
|
221
239
|
key: "setCanAssign",
|
|
@@ -227,30 +245,6 @@ export var LeaveMeetingStoreBase = /*#__PURE__*/function () {
|
|
|
227
245
|
value: function setKeepConnect(value) {
|
|
228
246
|
this.keepConnect = value;
|
|
229
247
|
}
|
|
230
|
-
}, {
|
|
231
|
-
key: "end",
|
|
232
|
-
value: function () {
|
|
233
|
-
var _end = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
234
|
-
return _regeneratorRuntime.wrap(function (_context3) {
|
|
235
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
236
|
-
case 0:
|
|
237
|
-
_context3.next = 1;
|
|
238
|
-
return this._checkIfQuitFullScreen();
|
|
239
|
-
case 1:
|
|
240
|
-
this._roomControl.close();
|
|
241
|
-
this._roomProvider.exitRoom();
|
|
242
|
-
this.resetPreventClose();
|
|
243
|
-
case 2:
|
|
244
|
-
case "end":
|
|
245
|
-
return _context3.stop();
|
|
246
|
-
}
|
|
247
|
-
}, _callee3, this);
|
|
248
|
-
}));
|
|
249
|
-
function end() {
|
|
250
|
-
return _end.apply(this, arguments);
|
|
251
|
-
}
|
|
252
|
-
return end;
|
|
253
|
-
}()
|
|
254
248
|
}, {
|
|
255
249
|
key: "release",
|
|
256
250
|
value: function release() {}
|
|
@@ -291,7 +285,7 @@ export var LeaveMeetingStoreBase = /*#__PURE__*/function () {
|
|
|
291
285
|
}]);
|
|
292
286
|
}();
|
|
293
287
|
_LeaveMeetingStoreBase = LeaveMeetingStoreBase;
|
|
294
|
-
var _applyDecs$e = _slicedToArray(_applyDecs(_LeaveMeetingStoreBase, [[observable, 1, "keepConnect"], [observable, 1, "canAssign"], [observable, 1, "loading"], [computed, 3, "isAssignHostAvailable"], [_showEndConfirmDialogDecs, 18, "showEndConfirmDialog"], [_assignHostDecs, 18, "assignHost"], [
|
|
288
|
+
var _applyDecs$e = _slicedToArray(_applyDecs(_LeaveMeetingStoreBase, [[observable, 1, "keepConnect"], [observable, 1, "canAssign"], [observable, 1, "loading"], [computed, 3, "isAssignHostAvailable"], [_showEndConfirmDialogDecs, 18, "showEndConfirmDialog"], [_assignHostDecs, 18, "assignHost"], [_endMeetingDecs, 18, "endMeeting"], [_exitMeetingDecs, 18, "exitMeeting"], [_keepPhoneAudioConnectionDecs, 18, "_keepPhoneAudioConnection"], [_setCanAssignDecs, 18, "setCanAssign"], [_setKeepConnectDecs, 18, "setKeepConnect"]], []).e, 4);
|
|
295
289
|
_init_keepConnect = _applyDecs$e[0];
|
|
296
290
|
_init_canAssign = _applyDecs$e[1];
|
|
297
291
|
_init_loading = _applyDecs$e[2];
|
package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js
CHANGED
|
@@ -9,7 +9,7 @@ import { FcrParticipantsMoreActions } from 'agora-ui-foundation/lib/components/p
|
|
|
9
9
|
import { FcrRoomConnectorType, FcrPrivilegeUserRole, FcrUserRole } from 'fcr-core';
|
|
10
10
|
import { useMemberWindowActionsStore } from '../provider';
|
|
11
11
|
import { observer } from 'mobx-react';
|
|
12
|
-
import { actionMute } from '
|
|
12
|
+
import { actionMute } from 'agora-ui-foundation/lib/utilities/mute-action';
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var EMPTY_HIDE_ACTIONS = [];
|
|
15
15
|
export var MoreActions = observer(function (_ref) {
|
|
@@ -71,6 +71,7 @@ export var MoreActions = observer(function (_ref) {
|
|
|
71
71
|
store.muteAudio(store.hasMicrophoneAudioStream, store.userId);
|
|
72
72
|
};
|
|
73
73
|
var onParticipantsButtonClick = useCallback(function (action, userId) {
|
|
74
|
+
onVisibleChange(false);
|
|
74
75
|
store.sendParticipantEvent({
|
|
75
76
|
action: action,
|
|
76
77
|
userId: userId
|
|
@@ -4,7 +4,7 @@ import "core-js/modules/es.error.to-string.js";
|
|
|
4
4
|
import "core-js/modules/web.timers.js";
|
|
5
5
|
import React, { useEffect, useState, useContext, useMemo } from 'react';
|
|
6
6
|
import { MemberWindowActionsStore, MemberWindowActionsStoreContext } from './store';
|
|
7
|
-
import { useWindowFocus } from '
|
|
7
|
+
import { useWindowFocus } from 'agora-ui-foundation/lib/utilities/hooks';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
var HideControlsTimeout = 3000;
|
|
10
10
|
export var MemberWindowActionsProvider = function MemberWindowActionsProvider(_ref) {
|
|
@@ -26,16 +26,16 @@ import "core-js/modules/esnext.set.symmetric-difference.js";
|
|
|
26
26
|
import "core-js/modules/esnext.set.union.v2.js";
|
|
27
27
|
import "core-js/modules/esnext.set.union.js";
|
|
28
28
|
import "core-js/modules/web.dom-collections.iterator.js";
|
|
29
|
-
import classNames from 'classnames';
|
|
30
|
-
import { observer } from 'mobx-react';
|
|
31
29
|
import { FcrAvatar } from 'agora-ui-foundation/lib/components/avatar';
|
|
32
30
|
import { FcrIcon } from 'agora-ui-foundation/lib/components/icon';
|
|
33
31
|
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
34
32
|
import { FcrToolTip } from 'agora-ui-foundation/lib/components/tooltip';
|
|
35
33
|
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
36
|
-
import '
|
|
34
|
+
import classNames from 'classnames';
|
|
37
35
|
import { FcrRoomConnectorType, FcrVideoSourceType } from 'fcr-core';
|
|
36
|
+
import { observer } from 'mobx-react';
|
|
38
37
|
import { FcrUIVideoPlayer } from './components/video-player';
|
|
38
|
+
import './index.css';
|
|
39
39
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
40
40
|
export var MinAvatarSize = 53;
|
|
41
41
|
export var MaxAvatarSize = 175;
|
|
@@ -63,6 +63,7 @@ import { FcrUIObjectKeys } from '../../../object-manager';
|
|
|
63
63
|
import { transI18n } from 'agora-ui-foundation/lib/i18n';
|
|
64
64
|
import { createContext } from 'react';
|
|
65
65
|
import { FcrUIAction } from '../../../utilities/constant';
|
|
66
|
+
import { FcrUIToastKey } from '../../toast-manager/type';
|
|
66
67
|
_ref = (_showLockedRoomToastDecs = [action, action.bound], _setCheckedStateMapDecs = [action, action.bound], _setAllowAnnotationDecs = [action, action.bound], _setLockRoomEnabledDecs = [action, action.bound], _setAllowChatDecs = [action, action.bound], _setAllowUnmuteSelfAudioDecs = [action, action.bound], _setAllowUnmuteSelfVideoDecs = [action, action.bound], _setAllowShareScreenDecs = [action, action.bound], _setAllowWriteBoardDecs = [action, action.bound], _hasLockRoomPermissionDecs = [action, action.bound], _hasEnableStartAudioPermissionDecs = [action, action.bound], _hasEnableStartVideoPermissionDecs = [action, action.bound], _hasAllowWriteBoardPermissionDecs = [action, action.bound], _hasWaitingRoomPermissionDecs = [action, action.bound], _hasJoinWithPromptSoundPermissionDecs = [action, action.bound], _isWaterMarkEnabledDecs = [action, action.bound], _setAllowWaterMarkLineDecs = [action, action.bound], _setAllowWaterMarkDecs = [action, action.bound], _hasWatermarkEnablePermissionDecs = [action, action.bound], _hasWatermarkDisablePermissionDecs = [action, action.bound], _hasEnableStartScreenSharePermissionDecs = [action, action.bound], _hasPermissionToControlAllowSendAllDecs = [action, action.bound], _hasAllowChangeNamePermissionDecs = [action, action.bound], _hasDisallowChangeNamePermissionDecs = [action, action.bound], _setAllowChangeSelfNameDecs = [action, action.bound], _hasEnableJoinWithAudioPermissionDecs = [action, action.bound], _hasEnableJoinWithVideoPermissionDecs = [action, action.bound], _setAllowJoinWithMuteAudioDecs = [action, action.bound], _setAllowJoinWithMutedVideoDecs = [action, action.bound], _hasEnableTranscribePermissionDecs = [action, action.bound], _isTranscribeSupportedDecs = [action, action.bound], _isCaptionSupportedDecs = [action, action.bound], _isSourceLanguageSupportedDecs = [action, action.bound], _allowStartTranscribeDecs = [action, action.bound], _hasEnableCaptionPermissionDecs = [action, action.bound], _allowStartCaptionDecs = [action, action.bound], _hasEnableSourceLanguagePermissionDecs = [action, action.bound], _allowSetSourceLanguageDecs = [action, action.bound], _setEnableWaitingRoomDecs = [action, action.bound], _setAllowJoinWithPromptSoundDecs = [action, action.bound], "_abilityProvider");
|
|
67
68
|
var SecurityMenuStore = /*#__PURE__*/function () {
|
|
68
69
|
function SecurityMenuStore(_ref2) {
|
|
@@ -82,9 +83,8 @@ var SecurityMenuStore = /*#__PURE__*/function () {
|
|
|
82
83
|
return _createClass(SecurityMenuStore, [{
|
|
83
84
|
key: "showLockedRoomToast",
|
|
84
85
|
value: function showLockedRoomToast(enable) {
|
|
85
|
-
this._messageProvider.
|
|
86
|
-
|
|
87
|
-
message: enable ? transI18n('fmt_security_tips_lock_meeting_on') : transI18n('fmt_uimanager_tips_meetingunlocked')
|
|
86
|
+
this._messageProvider.showToastByKey({
|
|
87
|
+
key: enable ? FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : FcrUIToastKey.FMT_UIMANAGER_TIPS_MEETINGUNLOCKED
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
}, {
|
|
@@ -345,9 +345,8 @@ var SecurityMenuStore = /*#__PURE__*/function () {
|
|
|
345
345
|
_context.next = 2;
|
|
346
346
|
return this._mainRoomControl.enableWaitingRoom(enable);
|
|
347
347
|
case 2:
|
|
348
|
-
this._messageProvider.
|
|
349
|
-
|
|
350
|
-
message: transI18n('fmt_waitingroom_mobile_setting_tips_disable')
|
|
348
|
+
this._messageProvider.showToastByKey({
|
|
349
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_MOBILE_SETTING_TIPS_DISABLE
|
|
351
350
|
});
|
|
352
351
|
case 3:
|
|
353
352
|
_context.next = 6;
|
|
@@ -356,9 +355,8 @@ var SecurityMenuStore = /*#__PURE__*/function () {
|
|
|
356
355
|
_context.next = 5;
|
|
357
356
|
return this._mainRoomControl.enableWaitingRoom(enable);
|
|
358
357
|
case 5:
|
|
359
|
-
this._messageProvider.
|
|
360
|
-
|
|
361
|
-
message: transI18n('fmt_waitingroom_setting_tips_enable')
|
|
358
|
+
this._messageProvider.showToastByKey({
|
|
359
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_SETTING_TIPS_ENABLE
|
|
362
360
|
});
|
|
363
361
|
case 6:
|
|
364
362
|
case "end":
|
|
@@ -7,6 +7,7 @@ import "core-js/modules/esnext.iterator.map.js";
|
|
|
7
7
|
import { FcrButton } from 'agora-ui-foundation/lib/components/button';
|
|
8
8
|
import FcrDivider from 'agora-ui-foundation/lib/components/divider';
|
|
9
9
|
import { FcrZonePhone } from 'agora-ui-foundation/lib/components/zone-phone';
|
|
10
|
+
import { isPhoneNumber } from 'agora-foundation/lib/utilities/regex';
|
|
10
11
|
import { CallingPhone } from './components/calling';
|
|
11
12
|
import ConnectionInfo from './components/callinfo';
|
|
12
13
|
import { observer } from 'mobx-react';
|
|
@@ -15,7 +16,6 @@ import { ConnectionRemember } from './components/remeber';
|
|
|
15
16
|
import { useContext, useEffect, useState } from 'react';
|
|
16
17
|
import { StoreContext } from '../../store';
|
|
17
18
|
import { FcrRoomConnectorSessionReason, FcrRoomConnectorSessionState } from 'fcr-core/lib/room-control/room-connector-control/type';
|
|
18
|
-
import { isPhoneNumber } from '../../../../utilities/regex';
|
|
19
19
|
import './index.css';
|
|
20
20
|
import { useI18n } from 'agora-ui-foundation/lib/i18n';
|
|
21
21
|
import { FcrUIConnectType } from '../../../../type';
|