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
|
@@ -22,7 +22,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
22
22
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
23
23
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
24
24
|
var _ParticipantStoreBase;
|
|
25
|
-
var _initProto, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _init__userCount, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _handlerRoomControlActionDecs, _moveToMainRoomByUserIdsDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _removeWaitingRoomUserDecs, _handleUserCountUpdatedDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _getOutputLanguageDecs, _handlerUserActionDecs, _handleActiveTabDecs, _moveToWaitingRoomByUserIdDecs, _kickOutUserDecs, _onPeerSessionReceivedDecs, _ref;
|
|
25
|
+
var _initProto, _init__renamingUserName, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _init__userCount, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _handlerRoomControlActionDecs, _moveToMainRoomByUserIdsDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _removeWaitingRoomUserDecs, _handleUserCountUpdatedDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _getOutputLanguageDecs, _handlerUserActionDecs, _handleActiveTabDecs, _moveToWaitingRoomByUserIdDecs, _kickOutUserDecs, _onPeerSessionReceivedDecs, _ref;
|
|
26
26
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
27
27
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
28
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -122,6 +122,7 @@ import { OperateWaitingRoomMemberDialog } from './components/operate-waitingroom
|
|
|
122
122
|
import { FcrConfirmInput } from './components/confirm-input';
|
|
123
123
|
import { USER_FORMAT_CONFIG, KICK_OUT_DIALOG_CONFIG } from './struct';
|
|
124
124
|
import { userRoleI18nKey } from '../../hooks/i18n';
|
|
125
|
+
import { FcrUIToastKey } from '../../modules/toast-manager/type';
|
|
125
126
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
126
127
|
var _A = /*#__PURE__*/new WeakMap();
|
|
127
128
|
var _B = /*#__PURE__*/new WeakMap();
|
|
@@ -137,6 +138,7 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
137
138
|
var _L = /*#__PURE__*/new WeakMap();
|
|
138
139
|
var _M = /*#__PURE__*/new WeakMap();
|
|
139
140
|
var _N = /*#__PURE__*/new WeakMap();
|
|
141
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
140
142
|
_ref = (_setCurrentModalDecs = [action, action.bound], _setParticipantsWindowActiveDecs = [action, action.bound], _handlerSearchUserDecs = [action, action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [action, action.bound], _setAllowUnmuteDecs = [action, action.bound], _setAllowJoinWithMuteAudioDecs = [action, action.bound], _openMuteAllDialogDecs = [action, action.bound], _handlerRoomControlActionDecs = [action, action.bound], _moveToMainRoomByUserIdsDecs = [action, action.bound], _kickOutWaitingRoomAllMemberDecs = [action, action.bound], _moveToMainRoomAllMemberDecs = [action, action.bound], _removeWaitingRoomUserDecs = [action, action.bound], _handleUserCountUpdatedDecs = [action, action.bound], _handleConfirmChangeNameDecs = [action, action.bound], _handleCancelChangeNameDecs = [action, action.bound], _closeChangeNameDialogDecs = [action, action.bound], _getOutputLanguageDecs = [action, action.bound], _handlerUserActionDecs = [action, action.bound], _handleActiveTabDecs = [action, action.bound], _moveToWaitingRoomByUserIdDecs = [action, action.bound], _kickOutUserDecs = [action, action.bound], _onPeerSessionReceivedDecs = [action, action.bound], "logger");
|
|
141
143
|
export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
142
144
|
// #endregion
|
|
@@ -195,21 +197,21 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
195
197
|
}
|
|
196
198
|
});
|
|
197
199
|
_defineProperty(this, "_renamingUserId", '');
|
|
198
|
-
|
|
199
|
-
_classPrivateFieldInitSpec(this,
|
|
200
|
-
_classPrivateFieldInitSpec(this,
|
|
201
|
-
_classPrivateFieldInitSpec(this,
|
|
202
|
-
_classPrivateFieldInitSpec(this,
|
|
203
|
-
_classPrivateFieldInitSpec(this,
|
|
204
|
-
_classPrivateFieldInitSpec(this,
|
|
205
|
-
_classPrivateFieldInitSpec(this,
|
|
206
|
-
_classPrivateFieldInitSpec(this,
|
|
207
|
-
_classPrivateFieldInitSpec(this,
|
|
208
|
-
_classPrivateFieldInitSpec(this,
|
|
209
|
-
_classPrivateFieldInitSpec(this,
|
|
210
|
-
_classPrivateFieldInitSpec(this,
|
|
211
|
-
_classPrivateFieldInitSpec(this,
|
|
212
|
-
_classPrivateFieldInitSpec(this,
|
|
200
|
+
_classPrivateFieldInitSpec(this, _A, _init__renamingUserName(this, ''));
|
|
201
|
+
_classPrivateFieldInitSpec(this, _B, _init__isChecked(this, {}));
|
|
202
|
+
_classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
|
|
203
|
+
_classPrivateFieldInitSpec(this, _D, _init_enableParticipantsJoinWithMute(this, false));
|
|
204
|
+
_classPrivateFieldInitSpec(this, _E, _init_searchText(this, ''));
|
|
205
|
+
_classPrivateFieldInitSpec(this, _F, _init_currentModal(this, 'modal'));
|
|
206
|
+
_classPrivateFieldInitSpec(this, _G, _init_mergeConfirmDialog(this, false));
|
|
207
|
+
_classPrivateFieldInitSpec(this, _H, _init_mergeUserId(this, ''));
|
|
208
|
+
_classPrivateFieldInitSpec(this, _I, _init_activeTab(this, FcrUIRoomType.MAIN_ROOM));
|
|
209
|
+
_classPrivateFieldInitSpec(this, _J, _init_interpreterInputLanguageList(this, []));
|
|
210
|
+
_classPrivateFieldInitSpec(this, _K, _init_newName(this, ''));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _L, _init_allowUnmute(this, false));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _M, _init_joinWithMuteAudio(this, false));
|
|
213
|
+
_classPrivateFieldInitSpec(this, _N, _init_showBecomeHostButton(this, false));
|
|
214
|
+
_classPrivateFieldInitSpec(this, _O, _init__userCount(this, 0));
|
|
213
215
|
_defineProperty(this, "allowedOperations", computedFn(function (userId, userRole) {
|
|
214
216
|
return _this.getAllowedOperations(userRole, userId === _this.localUser.userId);
|
|
215
217
|
}));
|
|
@@ -268,6 +270,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
268
270
|
this._abilityProvider = objectManager.getObject(FcrUIObjectKeys.P_ABILITY_PROVIDER);
|
|
269
271
|
this._eventProvider = objectManager.getObject(FcrUIObjectKeys.P_EVENT_PROVIDER);
|
|
270
272
|
this._screenShareProvider = objectManager.getObject(FcrUIObjectKeys.P_SCREEN_SHARE_PROVIDER);
|
|
273
|
+
this._userAudioVolumeProvider = objectManager.getObject(FcrUIObjectKeys.P_USER_AUDIO_VOLUME_PROVIDER);
|
|
271
274
|
this._userCount = this._userControl.getAllUserCount();
|
|
272
275
|
|
|
273
276
|
// Get shared data sources
|
|
@@ -277,6 +280,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
277
280
|
this._sharedWaitingRoomDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_WAITING_ROOM_DATA_SOURCE);
|
|
278
281
|
this._sharedInterpreterDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
|
|
279
282
|
this._sharedMemberDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
|
|
283
|
+
this._sharedUserAudioVolumeDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_USER_AUDIO_VOLUME_DATA_SOURCE);
|
|
280
284
|
this._sharedChatDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_CHAT_DATA_SOURCE);
|
|
281
285
|
this._sharedSettingDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
|
|
282
286
|
this._sharedSecurityDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SECURITY_DATA_SOURCE);
|
|
@@ -309,7 +313,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
309
313
|
this._setupWaitingRoomUserCountListener();
|
|
310
314
|
}
|
|
311
315
|
return _createClass(ParticipantStoreBase, [{
|
|
312
|
-
key: "
|
|
316
|
+
key: "_renamingUserName",
|
|
313
317
|
get: function get() {
|
|
314
318
|
return _classPrivateFieldGet(_A, this);
|
|
315
319
|
},
|
|
@@ -317,7 +321,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
317
321
|
_classPrivateFieldSet(_A, this, v);
|
|
318
322
|
}
|
|
319
323
|
}, {
|
|
320
|
-
key: "
|
|
324
|
+
key: "_isChecked",
|
|
321
325
|
get: function get() {
|
|
322
326
|
return _classPrivateFieldGet(_B, this);
|
|
323
327
|
},
|
|
@@ -325,7 +329,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
325
329
|
_classPrivateFieldSet(_B, this, v);
|
|
326
330
|
}
|
|
327
331
|
}, {
|
|
328
|
-
key: "
|
|
332
|
+
key: "_participantsWindowActive",
|
|
329
333
|
get: function get() {
|
|
330
334
|
return _classPrivateFieldGet(_C, this);
|
|
331
335
|
},
|
|
@@ -333,7 +337,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
333
337
|
_classPrivateFieldSet(_C, this, v);
|
|
334
338
|
}
|
|
335
339
|
}, {
|
|
336
|
-
key: "
|
|
340
|
+
key: "enableParticipantsJoinWithMute",
|
|
337
341
|
get: function get() {
|
|
338
342
|
return _classPrivateFieldGet(_D, this);
|
|
339
343
|
},
|
|
@@ -341,7 +345,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
341
345
|
_classPrivateFieldSet(_D, this, v);
|
|
342
346
|
}
|
|
343
347
|
}, {
|
|
344
|
-
key: "
|
|
348
|
+
key: "searchText",
|
|
345
349
|
get: function get() {
|
|
346
350
|
return _classPrivateFieldGet(_E, this);
|
|
347
351
|
},
|
|
@@ -349,7 +353,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
349
353
|
_classPrivateFieldSet(_E, this, v);
|
|
350
354
|
}
|
|
351
355
|
}, {
|
|
352
|
-
key: "
|
|
356
|
+
key: "currentModal",
|
|
353
357
|
get: function get() {
|
|
354
358
|
return _classPrivateFieldGet(_F, this);
|
|
355
359
|
},
|
|
@@ -357,7 +361,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
357
361
|
_classPrivateFieldSet(_F, this, v);
|
|
358
362
|
}
|
|
359
363
|
}, {
|
|
360
|
-
key: "
|
|
364
|
+
key: "mergeConfirmDialog",
|
|
361
365
|
get: function get() {
|
|
362
366
|
return _classPrivateFieldGet(_G, this);
|
|
363
367
|
},
|
|
@@ -365,7 +369,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
365
369
|
_classPrivateFieldSet(_G, this, v);
|
|
366
370
|
}
|
|
367
371
|
}, {
|
|
368
|
-
key: "
|
|
372
|
+
key: "mergeUserId",
|
|
369
373
|
get: function get() {
|
|
370
374
|
return _classPrivateFieldGet(_H, this);
|
|
371
375
|
},
|
|
@@ -373,7 +377,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
373
377
|
_classPrivateFieldSet(_H, this, v);
|
|
374
378
|
}
|
|
375
379
|
}, {
|
|
376
|
-
key: "
|
|
380
|
+
key: "activeTab",
|
|
377
381
|
get: function get() {
|
|
378
382
|
return _classPrivateFieldGet(_I, this);
|
|
379
383
|
},
|
|
@@ -381,7 +385,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
381
385
|
_classPrivateFieldSet(_I, this, v);
|
|
382
386
|
}
|
|
383
387
|
}, {
|
|
384
|
-
key: "
|
|
388
|
+
key: "interpreterInputLanguageList",
|
|
385
389
|
get: function get() {
|
|
386
390
|
return _classPrivateFieldGet(_J, this);
|
|
387
391
|
},
|
|
@@ -389,7 +393,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
389
393
|
_classPrivateFieldSet(_J, this, v);
|
|
390
394
|
}
|
|
391
395
|
}, {
|
|
392
|
-
key: "
|
|
396
|
+
key: "newName",
|
|
393
397
|
get: function get() {
|
|
394
398
|
return _classPrivateFieldGet(_K, this);
|
|
395
399
|
},
|
|
@@ -397,7 +401,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
397
401
|
_classPrivateFieldSet(_K, this, v);
|
|
398
402
|
}
|
|
399
403
|
}, {
|
|
400
|
-
key: "
|
|
404
|
+
key: "allowUnmute",
|
|
401
405
|
get: function get() {
|
|
402
406
|
return _classPrivateFieldGet(_L, this);
|
|
403
407
|
},
|
|
@@ -405,21 +409,29 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
405
409
|
_classPrivateFieldSet(_L, this, v);
|
|
406
410
|
}
|
|
407
411
|
}, {
|
|
408
|
-
key: "
|
|
412
|
+
key: "joinWithMuteAudio",
|
|
409
413
|
get: function get() {
|
|
410
414
|
return _classPrivateFieldGet(_M, this);
|
|
411
415
|
},
|
|
412
416
|
set: function set(v) {
|
|
413
417
|
_classPrivateFieldSet(_M, this, v);
|
|
414
418
|
}
|
|
419
|
+
}, {
|
|
420
|
+
key: "showBecomeHostButton",
|
|
421
|
+
get: function get() {
|
|
422
|
+
return _classPrivateFieldGet(_N, this);
|
|
423
|
+
},
|
|
424
|
+
set: function set(v) {
|
|
425
|
+
_classPrivateFieldSet(_N, this, v);
|
|
426
|
+
}
|
|
415
427
|
}, {
|
|
416
428
|
key: "_userCount",
|
|
417
429
|
get: // #region getters
|
|
418
430
|
function get() {
|
|
419
|
-
return _classPrivateFieldGet(
|
|
431
|
+
return _classPrivateFieldGet(_O, this);
|
|
420
432
|
},
|
|
421
433
|
set: function set(v) {
|
|
422
|
-
_classPrivateFieldSet(
|
|
434
|
+
_classPrivateFieldSet(_O, this, v);
|
|
423
435
|
}
|
|
424
436
|
}, {
|
|
425
437
|
key: "renamingUserName",
|
|
@@ -429,7 +441,12 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
429
441
|
}, {
|
|
430
442
|
key: "audioVolumeMap",
|
|
431
443
|
get: function get() {
|
|
432
|
-
return this.
|
|
444
|
+
return this._sharedUserAudioVolumeDataSource.audioVolumeMap;
|
|
445
|
+
}
|
|
446
|
+
}, {
|
|
447
|
+
key: "userIdToAudioStreamIdMap",
|
|
448
|
+
get: function get() {
|
|
449
|
+
return this._userAudioVolumeProvider.userIdToAudioStreamIdMap;
|
|
433
450
|
}
|
|
434
451
|
}, {
|
|
435
452
|
key: "localUser",
|
|
@@ -483,6 +500,24 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
483
500
|
});
|
|
484
501
|
return res;
|
|
485
502
|
}
|
|
503
|
+
}, {
|
|
504
|
+
key: "mainRoomUserMap",
|
|
505
|
+
get: function get() {
|
|
506
|
+
var res = new Map();
|
|
507
|
+
this._sharedMemberDataSource.memberList.forEach(function (u) {
|
|
508
|
+
res.set(u.userId, u);
|
|
509
|
+
});
|
|
510
|
+
return res;
|
|
511
|
+
}
|
|
512
|
+
}, {
|
|
513
|
+
key: "waitingRoomUserMap",
|
|
514
|
+
get: function get() {
|
|
515
|
+
var res = new Map();
|
|
516
|
+
this._sharedWaitingRoomDataSource.waitingRoomDataSource.list.forEach(function (u) {
|
|
517
|
+
res.set(u.userId, u);
|
|
518
|
+
});
|
|
519
|
+
return res;
|
|
520
|
+
}
|
|
486
521
|
}, {
|
|
487
522
|
key: "userCount",
|
|
488
523
|
get: function get() {
|
|
@@ -556,11 +591,6 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
556
591
|
get: function get() {
|
|
557
592
|
return this._screenShareProvider.isLocalUserScreenSharing;
|
|
558
593
|
}
|
|
559
|
-
}, {
|
|
560
|
-
key: "localMicVolume",
|
|
561
|
-
get: function get() {
|
|
562
|
-
return this._deviceStore.microphoneVolumeLevel;
|
|
563
|
-
}
|
|
564
594
|
}, {
|
|
565
595
|
key: "hasRevokeHostPermission",
|
|
566
596
|
get: function get() {
|
|
@@ -594,7 +624,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
594
624
|
}, {
|
|
595
625
|
key: "hasInvite",
|
|
596
626
|
get: function get() {
|
|
597
|
-
return this._abilityProvider.isRoomDetailSupported();
|
|
627
|
+
return this._abilityProvider.isRoomDetailSupported() && this._abilityProvider.isCallOutAbilitySupported();
|
|
598
628
|
}
|
|
599
629
|
}, {
|
|
600
630
|
key: "checkedStateMap",
|
|
@@ -741,9 +771,14 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
741
771
|
var _this$userMap$get2;
|
|
742
772
|
this._streamControl.mergeAudioStream(userId);
|
|
743
773
|
this.setMergeConfirmDialog(false);
|
|
744
|
-
this._showToast(
|
|
745
|
-
|
|
746
|
-
|
|
774
|
+
this._showToast({
|
|
775
|
+
key: FcrUIToastKey.FMT_PSTN_TOAST_MERGED,
|
|
776
|
+
params: {
|
|
777
|
+
transI18nOptions: {
|
|
778
|
+
reason1: (_this$userMap$get2 = this.userMap.get(userId)) === null || _this$userMap$get2 === void 0 ? void 0 : _this$userMap$get2.userInfo.userName
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
});
|
|
747
782
|
}
|
|
748
783
|
}, {
|
|
749
784
|
key: "openRemoveAdmitWaitingRoomDialog",
|
|
@@ -835,7 +870,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
835
870
|
this._revokeHostByTicket();
|
|
836
871
|
break;
|
|
837
872
|
case FcrUIRoomControlType.ACTION_CHANGE_NAME:
|
|
838
|
-
this._openChangeNameDialog(this.localUser.userId);
|
|
873
|
+
this._openChangeNameDialog(this.localUser.userId, this.activeTab);
|
|
839
874
|
break;
|
|
840
875
|
}
|
|
841
876
|
}
|
|
@@ -874,12 +909,25 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
874
909
|
while (1) switch (_context.prev = _context.next) {
|
|
875
910
|
case 0:
|
|
876
911
|
return _context.abrupt("return", _this7._userControl.claimHost(hostKey).then(function (res) {
|
|
877
|
-
_this7._showToast(
|
|
912
|
+
_this7._showToast({
|
|
913
|
+
key: FcrUIToastKey.FMT_HOSTKEY_MEETINGROOM_TOAST_NOW_HOST
|
|
914
|
+
});
|
|
878
915
|
})["catch"](function (err) {
|
|
879
916
|
if (err.code === '732403105') return {
|
|
880
917
|
message: errMessage === null || errMessage === void 0 ? void 0 : errMessage["".concat(err.code)]
|
|
881
918
|
};
|
|
882
|
-
|
|
919
|
+
if (err.code === 0) {
|
|
920
|
+
_this7._showToast({
|
|
921
|
+
key: FcrUIToastKey.FMT_HOSTKEY_MEETINGROOM_TOAST_NOW_HOST
|
|
922
|
+
});
|
|
923
|
+
} else {
|
|
924
|
+
_this7._showToast({
|
|
925
|
+
key: FcrUIToastKey.ERR_MESSAGE,
|
|
926
|
+
params: {
|
|
927
|
+
message: (errMessage === null || errMessage === void 0 ? void 0 : errMessage["".concat(err.code)]) || err.message
|
|
928
|
+
}
|
|
929
|
+
});
|
|
930
|
+
}
|
|
883
931
|
}));
|
|
884
932
|
case 1:
|
|
885
933
|
case "end":
|
|
@@ -913,7 +961,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
913
961
|
unmuteYourself: allowUnmute
|
|
914
962
|
}));
|
|
915
963
|
});
|
|
916
|
-
this._showToast(
|
|
964
|
+
this._showToast({
|
|
965
|
+
key: FcrUIToastKey.FMT_UIMANAGER_TIPS_ALLMUTED
|
|
966
|
+
});
|
|
917
967
|
}
|
|
918
968
|
}, {
|
|
919
969
|
key: "_unmuteAllAudio",
|
|
@@ -959,7 +1009,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
959
1009
|
key: "_lockRoom",
|
|
960
1010
|
value: function _lockRoom(enable) {
|
|
961
1011
|
var _this10 = this;
|
|
962
|
-
this._showToast(
|
|
1012
|
+
this._showToast({
|
|
1013
|
+
key: enable ? FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_ON : FcrUIToastKey.FMT_SECURITY_TIPS_LOCK_MEETING_OFF
|
|
1014
|
+
});
|
|
963
1015
|
this._setPrivilegeAndUpdateUI(function () {
|
|
964
1016
|
return _this10._privilegeProvider.enableLockedRoom(enable);
|
|
965
1017
|
}, {
|
|
@@ -1006,7 +1058,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1006
1058
|
_context2.next = 1;
|
|
1007
1059
|
return (_this$_waitingRoomUse = this._waitingRoomUserControl) === null || _this$_waitingRoomUse === void 0 ? void 0 : _this$_waitingRoomUse.kickOutByUserRoles([FcrUserRole.PARTICIPANT], type);
|
|
1008
1060
|
case 1:
|
|
1009
|
-
this._showToast(
|
|
1061
|
+
this._showToast({
|
|
1062
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_MOBILE_MEMBERLIST_TIPS_ALL_REMOVED
|
|
1063
|
+
});
|
|
1010
1064
|
case 2:
|
|
1011
1065
|
case "end":
|
|
1012
1066
|
return _context2.stop();
|
|
@@ -1029,7 +1083,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1029
1083
|
_context3.next = 1;
|
|
1030
1084
|
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([FcrUserRole.PARTICIPANT]);
|
|
1031
1085
|
case 1:
|
|
1032
|
-
this._showToast(
|
|
1086
|
+
this._showToast({
|
|
1087
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_MOBILE_MEMBERLIST_TIPS_ALL_AMITTED
|
|
1088
|
+
});
|
|
1033
1089
|
case 2:
|
|
1034
1090
|
case "end":
|
|
1035
1091
|
return _context3.stop();
|
|
@@ -1055,21 +1111,14 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1055
1111
|
this._sharedPinDataSource.removePin(streamId);
|
|
1056
1112
|
}
|
|
1057
1113
|
}
|
|
1058
|
-
}, {
|
|
1059
|
-
key: "isHostSupportedByPlatform",
|
|
1060
|
-
value: function isHostSupportedByPlatform(userId) {
|
|
1061
|
-
var _this$userMap$get3;
|
|
1062
|
-
var user = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.userInfo;
|
|
1063
|
-
if (!user) return false;
|
|
1064
|
-
if (!user.platform) return false;
|
|
1065
|
-
return this._abilityProvider.isHostSupportedByPlatform(user.platform);
|
|
1066
|
-
}
|
|
1067
1114
|
}, {
|
|
1068
1115
|
key: "addPin",
|
|
1069
1116
|
value: function addPin(userId) {
|
|
1070
1117
|
var shouldHideMyVideo = this._sharedSettingDataSource.setting.shouldHideMyVideo;
|
|
1071
1118
|
if (shouldHideMyVideo && userId === this.localUser.userId) {
|
|
1072
|
-
this._showToast(
|
|
1119
|
+
this._showToast({
|
|
1120
|
+
key: FcrUIToastKey.FMT_INTERNALSETTING_OTHER_HIDE_MY_WINDOW_PIN_CANCELLED
|
|
1121
|
+
});
|
|
1073
1122
|
return;
|
|
1074
1123
|
}
|
|
1075
1124
|
var streamId = this._getPinStreamIdFromUser(userId);
|
|
@@ -1081,7 +1130,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1081
1130
|
key: "_getPinStreamIdFromUser",
|
|
1082
1131
|
value: function _getPinStreamIdFromUser(userId) {
|
|
1083
1132
|
var _streams$find;
|
|
1084
|
-
var user = this.
|
|
1133
|
+
var user = this.mainRoomUserMap.get(userId);
|
|
1085
1134
|
var isPSTN = (user === null || user === void 0 ? void 0 : user.userInfo.connectorType) === FcrRoomConnectorType.PSTN;
|
|
1086
1135
|
var streams = user === null || user === void 0 ? void 0 : user.streams;
|
|
1087
1136
|
var streamId = streams === null || streams === void 0 || (_streams$find = streams.find(function (stream) {
|
|
@@ -1343,7 +1392,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1343
1392
|
return user.userInfo.userRole === FcrUserRole.HOST;
|
|
1344
1393
|
})) {
|
|
1345
1394
|
this.showBecomeHostButton = false;
|
|
1346
|
-
this._showToast(
|
|
1395
|
+
this._showToast({
|
|
1396
|
+
key: FcrUIToastKey.FMT_MEETING_TOAST_HOST_JOIN_MEETING
|
|
1397
|
+
});
|
|
1347
1398
|
}
|
|
1348
1399
|
}
|
|
1349
1400
|
}, {
|
|
@@ -1376,7 +1427,9 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1376
1427
|
case 1:
|
|
1377
1428
|
runInAction(function () {
|
|
1378
1429
|
_this14._closeChangeNameDialog();
|
|
1379
|
-
_this14._showToast(
|
|
1430
|
+
_this14._showToast({
|
|
1431
|
+
key: FcrUIToastKey.FMT_ADDITIONAL_TIPS_NICKNAME_CHANGE_SUCCESS
|
|
1432
|
+
});
|
|
1380
1433
|
});
|
|
1381
1434
|
case 2:
|
|
1382
1435
|
case "end":
|
|
@@ -1439,6 +1492,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1439
1492
|
}, {
|
|
1440
1493
|
key: "handlerUserAction",
|
|
1441
1494
|
value: function handlerUserAction(action, userId) {
|
|
1495
|
+
var roomType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.activeTab;
|
|
1442
1496
|
this.logger.info("handler User Action: ".concat(action, ", target userId: ").concat(userId));
|
|
1443
1497
|
switch (action) {
|
|
1444
1498
|
case ParticipantActionType.MUTE_AUDIO:
|
|
@@ -1454,10 +1508,10 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1454
1508
|
this._unmuteUserVideo(userId);
|
|
1455
1509
|
break;
|
|
1456
1510
|
case ParticipantActionType.PRIVATE_CHAT:
|
|
1457
|
-
this._privateChat(userId);
|
|
1511
|
+
this._privateChat(userId, roomType);
|
|
1458
1512
|
break;
|
|
1459
1513
|
case ParticipantActionType.KICK_OUT:
|
|
1460
|
-
this._kickOutUser(userId);
|
|
1514
|
+
this._kickOutUser(userId, roomType);
|
|
1461
1515
|
break;
|
|
1462
1516
|
case ParticipantActionType.ADD_PIN:
|
|
1463
1517
|
this.addPin(userId);
|
|
@@ -1475,7 +1529,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1475
1529
|
this._setAsAttendee(userId);
|
|
1476
1530
|
break;
|
|
1477
1531
|
case ParticipantActionType.RENAME_IN_MEETING:
|
|
1478
|
-
this._openChangeNameDialog(userId);
|
|
1532
|
+
this._openChangeNameDialog(userId, roomType);
|
|
1479
1533
|
break;
|
|
1480
1534
|
case ParticipantActionType.PUT_IN_WAITING_ROOM:
|
|
1481
1535
|
this._moveToWaitingRoomByUserId(userId);
|
|
@@ -1527,12 +1581,8 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1527
1581
|
*/
|
|
1528
1582
|
}, {
|
|
1529
1583
|
key: "_showToast",
|
|
1530
|
-
value: function _showToast(
|
|
1531
|
-
|
|
1532
|
-
this._messageProvider.showToast({
|
|
1533
|
-
message: message,
|
|
1534
|
-
type: type
|
|
1535
|
-
});
|
|
1584
|
+
value: function _showToast(param) {
|
|
1585
|
+
this._messageProvider.showToastByKey(param);
|
|
1536
1586
|
}
|
|
1537
1587
|
|
|
1538
1588
|
/**
|
|
@@ -1697,20 +1747,22 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1697
1747
|
}
|
|
1698
1748
|
}, {
|
|
1699
1749
|
key: "_privateChat",
|
|
1700
|
-
value: function _privateChat(userId) {
|
|
1701
|
-
var userData = this.
|
|
1750
|
+
value: function _privateChat(userId, roomType) {
|
|
1751
|
+
var userData = this._getUserListByRoomType(roomType).find(function (u) {
|
|
1702
1752
|
return u.userId === userId;
|
|
1703
1753
|
});
|
|
1704
1754
|
if (userData) {
|
|
1705
1755
|
var hasPermissionToSendPrivateMessage = this._privilegeProvider.hasPermissionToSendPrivateMessage(userData.userInfo.userRole);
|
|
1706
1756
|
if (!hasPermissionToSendPrivateMessage) {
|
|
1707
|
-
this._showToast(
|
|
1757
|
+
this._showToast({
|
|
1758
|
+
key: FcrUIToastKey.FMT_ATTENDIES_TIPS_CHAT_OFF
|
|
1759
|
+
});
|
|
1708
1760
|
return;
|
|
1709
1761
|
}
|
|
1710
1762
|
if (!this._privilegeProvider.permitPrivateChat(userId)) {
|
|
1711
1763
|
return;
|
|
1712
1764
|
}
|
|
1713
|
-
this._chatProvider.setPrivateChatTargetUser(userData.userInfo,
|
|
1765
|
+
this._chatProvider.setPrivateChatTargetUser(userData.userInfo, roomType);
|
|
1714
1766
|
// TODO:
|
|
1715
1767
|
// if (isElectron() && this.screenSharingOwner?.userId === this.localUser.userId) {
|
|
1716
1768
|
// this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
|
|
@@ -1726,7 +1778,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1726
1778
|
this._sharedLayoutDataSource.setAsideLayout({
|
|
1727
1779
|
chat: true
|
|
1728
1780
|
});
|
|
1729
|
-
this._sharedChatDataSource.activeTab =
|
|
1781
|
+
this._sharedChatDataSource.activeTab = roomType;
|
|
1730
1782
|
} else {
|
|
1731
1783
|
this._openDialog(FcrUIDialogKey.CHAT);
|
|
1732
1784
|
}
|
|
@@ -1752,17 +1804,18 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1752
1804
|
key: "_showSetHostDialog",
|
|
1753
1805
|
value: function _showSetHostDialog(userId, type) {
|
|
1754
1806
|
var _this16 = this;
|
|
1755
|
-
|
|
1756
|
-
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1757
|
-
if (!canSetHost) {
|
|
1758
|
-
var errorMessage = type === FcrUserRole.HOST ? transI18n('fmt_attendies_toast_cant_sethost') : transI18n('fmt_attendies_toast_cant_setcohost');
|
|
1759
|
-
this._showToast(errorMessage, 'error');
|
|
1760
|
-
return;
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
var user = this.userMap.get(userId);
|
|
1807
|
+
var user = this.mainRoomUserMap.get(userId);
|
|
1764
1808
|
if (!user) {
|
|
1765
|
-
this._showToast(
|
|
1809
|
+
this._showToast({
|
|
1810
|
+
key: FcrUIToastKey.FMT_UIMANAGER_TIPS_USERLEAFT
|
|
1811
|
+
});
|
|
1812
|
+
return;
|
|
1813
|
+
}
|
|
1814
|
+
var canSetHost = this._abilityProvider.isHostSupportedByPlatform(user.userInfo.platform);
|
|
1815
|
+
if (!canSetHost) {
|
|
1816
|
+
this._showToast({
|
|
1817
|
+
key: type === FcrUserRole.HOST ? FcrUIToastKey.FMT_ATTENDIES_TOAST_CANT_SETHOST : FcrUIToastKey.FMT_ATTENDIES_TOAST_CANT_SETCOHOST
|
|
1818
|
+
});
|
|
1766
1819
|
return;
|
|
1767
1820
|
}
|
|
1768
1821
|
var username = user.userInfo.userName;
|
|
@@ -1811,11 +1864,13 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1811
1864
|
return _regeneratorRuntime.wrap(function (_context6) {
|
|
1812
1865
|
while (1) switch (_context6.prev = _context6.next) {
|
|
1813
1866
|
case 0:
|
|
1814
|
-
if (this.
|
|
1867
|
+
if (this.mainRoomUserMap.has(userId)) {
|
|
1815
1868
|
_context6.next = 1;
|
|
1816
1869
|
break;
|
|
1817
1870
|
}
|
|
1818
|
-
this._showToast(
|
|
1871
|
+
this._showToast({
|
|
1872
|
+
key: FcrUIToastKey.FMT_UIMANAGER_TIPS_USERLEAFT
|
|
1873
|
+
});
|
|
1819
1874
|
return _context6.abrupt("return");
|
|
1820
1875
|
case 1:
|
|
1821
1876
|
_context6.prev = 1;
|
|
@@ -1850,14 +1905,12 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1850
1905
|
var _this17 = this;
|
|
1851
1906
|
if (error instanceof FcrError) {
|
|
1852
1907
|
var errorHandlers = _defineProperty(_defineProperty({}, ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_PRIVILEGE, function () {
|
|
1853
|
-
_this17.
|
|
1854
|
-
|
|
1855
|
-
message: transI18n('fmt_attendies_button_revokehost_error')
|
|
1908
|
+
_this17._showToast({
|
|
1909
|
+
key: FcrUIToastKey.FMT_ATTENDIES_BUTTON_REVOKEEHOST_ERROR
|
|
1856
1910
|
});
|
|
1857
1911
|
}), ErrorCode.FAILED_TO_UPDATE_USER_ROLE_DUE_TO_LIMIT_REACHED, function () {
|
|
1858
|
-
_this17.
|
|
1859
|
-
|
|
1860
|
-
message: transI18n('fmt_attendies_toast_cohost_upper_limit')
|
|
1912
|
+
_this17._showToast({
|
|
1913
|
+
key: FcrUIToastKey.FMT_ATTENDIES_TOAST_COHOST_UPPER_LIMIT
|
|
1861
1914
|
});
|
|
1862
1915
|
});
|
|
1863
1916
|
var handler = errorHandlers[error.code];
|
|
@@ -1898,14 +1951,14 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1898
1951
|
this.logger.warn('Invalid userId provided to _moveToWaitingRoomByUserId:', userId);
|
|
1899
1952
|
return _context7.abrupt("return");
|
|
1900
1953
|
case 1:
|
|
1901
|
-
if (this._isUserExists(userId)) {
|
|
1954
|
+
if (this._isUserExists(userId, FcrUIRoomType.MAIN_ROOM)) {
|
|
1902
1955
|
_context7.next = 2;
|
|
1903
1956
|
break;
|
|
1904
1957
|
}
|
|
1905
1958
|
this.logger.warn('User not found for move to waiting room operation:', userId);
|
|
1906
1959
|
return _context7.abrupt("return");
|
|
1907
1960
|
case 2:
|
|
1908
|
-
username = this._getUserNameById(userId);
|
|
1961
|
+
username = this._getUserNameById(userId, FcrUIRoomType.MAIN_ROOM);
|
|
1909
1962
|
_context7.prev = 3;
|
|
1910
1963
|
this.logger.info('Moving user to waiting room:', {
|
|
1911
1964
|
userId: userId,
|
|
@@ -1914,9 +1967,14 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1914
1967
|
_context7.next = 4;
|
|
1915
1968
|
return this._roomControl.moveToWaitingRoomByUserIds([userId]);
|
|
1916
1969
|
case 4:
|
|
1917
|
-
this._showToast(
|
|
1918
|
-
|
|
1919
|
-
|
|
1970
|
+
this._showToast({
|
|
1971
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_PUT_IN_SUCCESS,
|
|
1972
|
+
params: {
|
|
1973
|
+
transI18nOptions: {
|
|
1974
|
+
reason1: username
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
});
|
|
1920
1978
|
this.logger.info('Successfully moved user to waiting room:', {
|
|
1921
1979
|
userId: userId,
|
|
1922
1980
|
username: username
|
|
@@ -1935,10 +1993,14 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1935
1993
|
_context7.next = 6;
|
|
1936
1994
|
break;
|
|
1937
1995
|
}
|
|
1938
|
-
this._showToast(
|
|
1996
|
+
this._showToast({
|
|
1997
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_SETTING_POPUP_TOAST_UNABLE_MOVE_CREATOR
|
|
1998
|
+
});
|
|
1939
1999
|
return _context7.abrupt("return");
|
|
1940
2000
|
case 6:
|
|
1941
|
-
this._showToast(
|
|
2001
|
+
this._showToast({
|
|
2002
|
+
key: FcrUIToastKey.FMT_WAITINGROOM_SETTING_POPUP_TOAST_MOVE_IN_FAILED
|
|
2003
|
+
});
|
|
1942
2004
|
case 7:
|
|
1943
2005
|
case "end":
|
|
1944
2006
|
return _context7.stop();
|
|
@@ -1954,11 +2016,12 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1954
2016
|
* 踢出用户的主入口方法
|
|
1955
2017
|
* 根据当前房间类型选择相应的处理逻辑
|
|
1956
2018
|
* @param userId 要踢出的用户ID
|
|
2019
|
+
* @param roomType 要踢出的用户所在的房间类型
|
|
1957
2020
|
*/
|
|
1958
2021
|
)
|
|
1959
2022
|
}, {
|
|
1960
2023
|
key: "_kickOutUser",
|
|
1961
|
-
value: function _kickOutUser(userId) {
|
|
2024
|
+
value: function _kickOutUser(userId, roomType) {
|
|
1962
2025
|
// 参数验证
|
|
1963
2026
|
if (!userId || typeof userId !== 'string') {
|
|
1964
2027
|
this.logger.warn('Invalid userId provided to _kickOutUser:', userId);
|
|
@@ -1966,11 +2029,11 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1966
2029
|
}
|
|
1967
2030
|
|
|
1968
2031
|
// 检查用户是否存在
|
|
1969
|
-
if (!this._isUserExists(userId)) {
|
|
2032
|
+
if (!this._isUserExists(userId, roomType)) {
|
|
1970
2033
|
this.logger.warn('User not found for kick out operation:', userId);
|
|
1971
2034
|
return;
|
|
1972
2035
|
}
|
|
1973
|
-
var isMainRoom =
|
|
2036
|
+
var isMainRoom = roomType === FcrUIRoomType.MAIN_ROOM;
|
|
1974
2037
|
if (isMainRoom) {
|
|
1975
2038
|
this._kickOutUserFromMainRoom(userId);
|
|
1976
2039
|
} else {
|
|
@@ -1985,7 +2048,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1985
2048
|
}, {
|
|
1986
2049
|
key: "_kickOutUserFromMainRoom",
|
|
1987
2050
|
value: function _kickOutUserFromMainRoom(userId) {
|
|
1988
|
-
var userName = this._getUserNameById(userId);
|
|
2051
|
+
var userName = this._getUserNameById(userId, FcrUIRoomType.MAIN_ROOM);
|
|
1989
2052
|
var dialogConfig = this._createMainRoomKickOutDialogConfig(userId, userName);
|
|
1990
2053
|
this.openConfirmDialog(dialogConfig, KICK_OUT_DIALOG_CONFIG.MAIN_ROOM.DIALOG_ID);
|
|
1991
2054
|
}
|
|
@@ -1997,7 +2060,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
1997
2060
|
}, {
|
|
1998
2061
|
key: "_kickOutUserFromWaitingRoom",
|
|
1999
2062
|
value: function _kickOutUserFromWaitingRoom(userId) {
|
|
2000
|
-
var userName = this._getUserNameById(userId);
|
|
2063
|
+
var userName = this._getUserNameById(userId, FcrUIRoomType.WAITING_ROOM);
|
|
2001
2064
|
var dialogConfig = this._createWaitingRoomKickOutDialogConfig(userId, userName);
|
|
2002
2065
|
this.openRemoveAdmitWaitingRoomDialog(dialogConfig);
|
|
2003
2066
|
}
|
|
@@ -2005,24 +2068,52 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
2005
2068
|
/**
|
|
2006
2069
|
* 检查用户是否存在
|
|
2007
2070
|
* @param userId 用户ID
|
|
2071
|
+
* @param roomType 房间类型
|
|
2008
2072
|
* @returns 用户是否存在
|
|
2009
2073
|
*/
|
|
2010
2074
|
}, {
|
|
2011
2075
|
key: "_isUserExists",
|
|
2012
|
-
value: function _isUserExists(userId) {
|
|
2013
|
-
|
|
2076
|
+
value: function _isUserExists(userId, roomType) {
|
|
2077
|
+
var userMap = this._getUserMapByRoomType(roomType);
|
|
2078
|
+
return userMap.has(userId);
|
|
2079
|
+
}
|
|
2080
|
+
}, {
|
|
2081
|
+
key: "_getUserMapByRoomType",
|
|
2082
|
+
value: function _getUserMapByRoomType(roomType) {
|
|
2083
|
+
if (roomType === FcrUIRoomType.MAIN_ROOM) {
|
|
2084
|
+
return this.mainRoomUserMap;
|
|
2085
|
+
} else {
|
|
2086
|
+
return this.waitingRoomUserMap;
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* 根据 roomType 获取对应房间的用户列表
|
|
2092
|
+
* @param roomType 房间类型
|
|
2093
|
+
* @returns 用户列表
|
|
2094
|
+
*/
|
|
2095
|
+
}, {
|
|
2096
|
+
key: "_getUserListByRoomType",
|
|
2097
|
+
value: function _getUserListByRoomType(roomType) {
|
|
2098
|
+
if (roomType === FcrUIRoomType.MAIN_ROOM) {
|
|
2099
|
+
return this._sharedMemberDataSource.memberList;
|
|
2100
|
+
} else {
|
|
2101
|
+
return this._sharedWaitingRoomDataSource.waitingRoomDataSource.list;
|
|
2102
|
+
}
|
|
2014
2103
|
}
|
|
2015
2104
|
|
|
2016
2105
|
/**
|
|
2017
2106
|
* 根据用户ID获取用户名
|
|
2018
2107
|
* @param userId 用户ID
|
|
2108
|
+
* @param roomType 房间类型
|
|
2019
2109
|
* @returns 用户名,如果找不到则返回空字符串
|
|
2020
2110
|
*/
|
|
2021
2111
|
}, {
|
|
2022
2112
|
key: "_getUserNameById",
|
|
2023
|
-
value: function _getUserNameById(userId) {
|
|
2024
|
-
var
|
|
2025
|
-
|
|
2113
|
+
value: function _getUserNameById(userId, roomType) {
|
|
2114
|
+
var _userMap$get;
|
|
2115
|
+
var userMap = this._getUserMapByRoomType(roomType);
|
|
2116
|
+
return ((_userMap$get = userMap.get(userId)) === null || _userMap$get === void 0 ? void 0 : _userMap$get.userInfo.userName) || '';
|
|
2026
2117
|
}
|
|
2027
2118
|
|
|
2028
2119
|
/**
|
|
@@ -2324,7 +2415,7 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
2324
2415
|
case FcrUIAction.PARTICIPANT_ACTION:
|
|
2325
2416
|
{
|
|
2326
2417
|
var actionPayload = payload;
|
|
2327
|
-
this.handlerUserAction(actionPayload.action, actionPayload.userId);
|
|
2418
|
+
this.handlerUserAction(actionPayload.action, actionPayload.userId, FcrUIRoomType.MAIN_ROOM);
|
|
2328
2419
|
break;
|
|
2329
2420
|
}
|
|
2330
2421
|
case FcrUIAction.CHANGE_PARTICIPANT_TAB:
|
|
@@ -2335,20 +2426,21 @@ export var ParticipantStoreBase = /*#__PURE__*/function () {
|
|
|
2335
2426
|
}]);
|
|
2336
2427
|
}();
|
|
2337
2428
|
_ParticipantStoreBase = ParticipantStoreBase;
|
|
2338
|
-
var _applyDecs$e = _slicedToArray(_applyDecs(_ParticipantStoreBase, [[observable, 1, "_isChecked"], [observable, 1, "_participantsWindowActive"], [observable, 1, "enableParticipantsJoinWithMute"], [observable, 1, "searchText"], [observable, 1, "currentModal"], [observable, 1, "mergeConfirmDialog"], [observable, 1, "mergeUserId"], [observable, 1, "activeTab"], [observable, 1, "interpreterInputLanguageList"], [observable, 1, "newName"], [observable, 1, "allowUnmute"], [observable, 1, "joinWithMuteAudio"], [observable, 1, "showBecomeHostButton"], [observable, 1, "_userCount"], [computed, 3, "audioVolumeMap"], [computed, 3, "userListSource"], [computed, 3, "spotlightStreamId"], [computed, 3, "mergeUserInfo"], [computed, 3, "userMap"], [computed, 3, "userCount"], [computed, 3, "pinedStreamIds"], [computed, 3, "hasPinnedStream"], [computed, 3, "userList"], [computed, 3, "
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2429
|
+
var _applyDecs$e = _slicedToArray(_applyDecs(_ParticipantStoreBase, [[observable, 1, "_renamingUserName"], [observable, 1, "_isChecked"], [observable, 1, "_participantsWindowActive"], [observable, 1, "enableParticipantsJoinWithMute"], [observable, 1, "searchText"], [observable, 1, "currentModal"], [observable, 1, "mergeConfirmDialog"], [observable, 1, "mergeUserId"], [observable, 1, "activeTab"], [observable, 1, "interpreterInputLanguageList"], [observable, 1, "newName"], [observable, 1, "allowUnmute"], [observable, 1, "joinWithMuteAudio"], [observable, 1, "showBecomeHostButton"], [observable, 1, "_userCount"], [computed, 3, "audioVolumeMap"], [computed, 3, "userIdToAudioStreamIdMap"], [computed, 3, "userListSource"], [computed, 3, "spotlightStreamId"], [computed, 3, "mergeUserInfo"], [computed, 3, "userMap"], [computed, 3, "mainRoomUserMap"], [computed, 3, "waitingRoomUserMap"], [computed, 3, "userCount"], [computed, 3, "pinedStreamIds"], [computed, 3, "hasPinnedStream"], [computed, 3, "userList"], [computed, 3, "hasRevokeHostPermission"], [computed, 3, "waitingRoomUserCount"], [computed, 3, "isNewWaitingRoomUserEnter"], [computed, 3, "hasInvite"], [bound, 2, "hasMutePermission"], [bound, 2, "hasWaitingRoomPermission"], [bound, 2, "hasUnmutePermission"], [bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [bound, 2, "closeParticipantsAside"], [bound, 2, "closeDialog"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [bound, 2, "onInvite"], [bound, 2, "setMergeConfirmDialog"], [bound, 2, "mergeConfirmDialogOk"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setAllowUnmuteDecs, 18, "setAllowUnmute"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [bound, 2, "moveParticipantFromDialogToAside"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [bound, 2, "removePin"], [bound, 2, "addPin"], [bound, 2, "_getPinStreamIdFromUser"], [_handleUserCountUpdatedDecs, 18, "_handleUserCountUpdated"], [_handleConfirmChangeNameDecs, 18, "handleConfirmChangeName"], [_handleCancelChangeNameDecs, 18, "handleCancelChangeName"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_moveToWaitingRoomByUserIdDecs, 18, "_moveToWaitingRoomByUserId"], [_kickOutUserDecs, 18, "_kickOutUser"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [bound, 2, "_onPeerSessionAccepted"], [bound, 2, "_onPeerSessionRejected"], [bound, 2, "_handleEvent"]], []).e, 16);
|
|
2430
|
+
_init__renamingUserName = _applyDecs$e[0];
|
|
2431
|
+
_init__isChecked = _applyDecs$e[1];
|
|
2432
|
+
_init__participantsWindowActive = _applyDecs$e[2];
|
|
2433
|
+
_init_enableParticipantsJoinWithMute = _applyDecs$e[3];
|
|
2434
|
+
_init_searchText = _applyDecs$e[4];
|
|
2435
|
+
_init_currentModal = _applyDecs$e[5];
|
|
2436
|
+
_init_mergeConfirmDialog = _applyDecs$e[6];
|
|
2437
|
+
_init_mergeUserId = _applyDecs$e[7];
|
|
2438
|
+
_init_activeTab = _applyDecs$e[8];
|
|
2439
|
+
_init_interpreterInputLanguageList = _applyDecs$e[9];
|
|
2440
|
+
_init_newName = _applyDecs$e[10];
|
|
2441
|
+
_init_allowUnmute = _applyDecs$e[11];
|
|
2442
|
+
_init_joinWithMuteAudio = _applyDecs$e[12];
|
|
2443
|
+
_init_showBecomeHostButton = _applyDecs$e[13];
|
|
2444
|
+
_init__userCount = _applyDecs$e[14];
|
|
2445
|
+
_initProto = _applyDecs$e[15];
|
|
2354
2446
|
export var StoreContext = /*#__PURE__*/createContext(null);
|