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
|
@@ -671,21 +671,10 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
671
671
|
}, {
|
|
672
672
|
key: "setLayout",
|
|
673
673
|
value: function setLayout(layout, manual) {
|
|
674
|
-
var _this2 = this;
|
|
675
674
|
if (manual) {
|
|
676
675
|
this.manualLayout = layout;
|
|
677
676
|
}
|
|
678
|
-
|
|
679
|
-
if (_this2.shouldHideNonVideoParticipants) {
|
|
680
|
-
return item.hasVideoStream;
|
|
681
|
-
}
|
|
682
|
-
return true;
|
|
683
|
-
});
|
|
684
|
-
// 有白板共享时,即使隐藏了未开启视频的参数者,数量总是大于等于2,不应提前return,setLayout失效
|
|
685
|
-
var boardInShow = this.mainList.some(function (item) {
|
|
686
|
-
return item.hasBoard;
|
|
687
|
-
});
|
|
688
|
-
if (this.layoutType === _type.FcrUIVideoWindowLayoutType.Gallery && layout === _type.FcrUIVideoWindowLayoutType.Speaker && windowList.length < 2 && !boardInShow || this.layoutType === layout) {
|
|
677
|
+
if (this.layoutType === layout) {
|
|
689
678
|
return;
|
|
690
679
|
}
|
|
691
680
|
this.layoutType = layout;
|
|
@@ -703,14 +692,14 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
703
692
|
}, {
|
|
704
693
|
key: "onSpotlightRemoved",
|
|
705
694
|
value: function onSpotlightRemoved(streamId) {
|
|
706
|
-
var
|
|
695
|
+
var _this2 = this;
|
|
707
696
|
var removeSpotlight = function removeSpotlight(streamId, list) {
|
|
708
|
-
var index =
|
|
697
|
+
var index = _this2._findItemIndexWithWindowId(streamId, list);
|
|
709
698
|
if (index !== -1) {
|
|
710
699
|
var item = list[index];
|
|
711
700
|
if (item) {
|
|
712
701
|
item.setSpeakerSpotlight(false);
|
|
713
|
-
if (
|
|
702
|
+
if (_this2.layoutType === _type.FcrUIVideoWindowLayoutType.Speaker) {
|
|
714
703
|
item.needToSort = true;
|
|
715
704
|
}
|
|
716
705
|
}
|
|
@@ -778,7 +767,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
778
767
|
}, {
|
|
779
768
|
key: "add",
|
|
780
769
|
value: function add(stream, isMySelf) {
|
|
781
|
-
var
|
|
770
|
+
var _this3 = this;
|
|
782
771
|
var streamCopy = this.copyStreamInfo(stream);
|
|
783
772
|
if (streamCopy.connectorType === _fcrCore.FcrRoomConnectorType.PSTN) {
|
|
784
773
|
var handlePSTNStreamAdded = function handlePSTNStreamAdded(stream, list, limitCount, isMySelf, placement) {
|
|
@@ -788,7 +777,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
788
777
|
if (existedUserStream) {
|
|
789
778
|
existedUserStream.setAudioStream(stream);
|
|
790
779
|
} else {
|
|
791
|
-
|
|
780
|
+
_this3._insertNewData(stream, list, limitCount, isMySelf, placement);
|
|
792
781
|
}
|
|
793
782
|
};
|
|
794
783
|
handlePSTNStreamAdded(streamCopy, this.mainList, this.mainListLimitedCount, isMySelf, 'main-list');
|
|
@@ -809,9 +798,9 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
809
798
|
}, {
|
|
810
799
|
key: "update",
|
|
811
800
|
value: function update(param) {
|
|
812
|
-
var
|
|
801
|
+
var _this4 = this;
|
|
813
802
|
var handleStreamInfoUpdated = function handleStreamInfoUpdated(stream, list, limitCount, placement) {
|
|
814
|
-
var existedUserStream = list[
|
|
803
|
+
var existedUserStream = list[_this4._findItemIndexWithWindowId(stream.streamId, list)];
|
|
815
804
|
if (existedUserStream) {
|
|
816
805
|
var oldSortingPriority = existedUserStream.sortingPriority;
|
|
817
806
|
if (param.connectorType === _fcrCore.FcrRoomConnectorType.PSTN) {
|
|
@@ -821,8 +810,8 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
821
810
|
}
|
|
822
811
|
var newSortingPriority = existedUserStream.sortingPriority;
|
|
823
812
|
if (oldSortingPriority !== newSortingPriority) {
|
|
824
|
-
var index =
|
|
825
|
-
|
|
813
|
+
var index = _this4._insertByPriority(existedUserStream, list, limitCount);
|
|
814
|
+
_this4._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
826
815
|
}
|
|
827
816
|
}
|
|
828
817
|
};
|
|
@@ -841,8 +830,8 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
841
830
|
}
|
|
842
831
|
});
|
|
843
832
|
modifiedItems.forEach(function (item) {
|
|
844
|
-
var index =
|
|
845
|
-
|
|
833
|
+
var index = _this4._insertByPriority(item, list, limitCount);
|
|
834
|
+
_this4._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
846
835
|
});
|
|
847
836
|
};
|
|
848
837
|
if ('streamId' in param) {
|
|
@@ -857,18 +846,18 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
857
846
|
}, {
|
|
858
847
|
key: "delete",
|
|
859
848
|
value: function _delete(stream) {
|
|
860
|
-
var
|
|
849
|
+
var _this5 = this;
|
|
861
850
|
var streamCopy = this.copyStreamInfo(stream);
|
|
862
851
|
var handlePSTNStreamDeleted = function handlePSTNStreamDeleted(stream, list, placement) {
|
|
863
|
-
var index =
|
|
852
|
+
var index = _this5._findItemIndexWithAudioStreamId(stream.streamId, list);
|
|
864
853
|
var existedUserStream = list[index];
|
|
865
854
|
if (existedUserStream) {
|
|
866
855
|
if (existedUserStream.videoStreamId) {
|
|
867
856
|
existedUserStream.setAudioStream(undefined);
|
|
868
|
-
|
|
857
|
+
_this5._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
869
858
|
} else {
|
|
870
859
|
list.splice(index, 1);
|
|
871
|
-
|
|
860
|
+
_this5._observer.notifyObservers(placement === 'main-list' ? 'onMainListRemoved' : 'onFoldListRemoved', index);
|
|
872
861
|
}
|
|
873
862
|
}
|
|
874
863
|
};
|
|
@@ -884,7 +873,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
884
873
|
return;
|
|
885
874
|
}
|
|
886
875
|
list.splice(existStreamIndex, 1);
|
|
887
|
-
|
|
876
|
+
_this5._observer.notifyObservers(placement === 'main-list' ? 'onMainListRemoved' : 'onFoldListRemoved', existStreamIndex);
|
|
888
877
|
};
|
|
889
878
|
handleVideoStreamDeleted(streamCopy.streamId, this.mainList, 'main-list');
|
|
890
879
|
handleVideoStreamDeleted(streamCopy.streamId, this.foldList, 'fold-list');
|
|
@@ -899,9 +888,9 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
899
888
|
}, {
|
|
900
889
|
key: "addPin",
|
|
901
890
|
value: function addPin(streamId) {
|
|
902
|
-
var
|
|
891
|
+
var _this6 = this;
|
|
903
892
|
var handlePin = function handlePin(streamId, list, limitCount, placement) {
|
|
904
|
-
var existedUserStreamIndex =
|
|
893
|
+
var existedUserStreamIndex = _this6._findItemIndexWithWindowId(streamId, list);
|
|
905
894
|
var existedUserStream = list[existedUserStreamIndex];
|
|
906
895
|
if (!existedUserStream || existedUserStream !== null && existedUserStream !== void 0 && existedUserStream.isPin) {
|
|
907
896
|
return false;
|
|
@@ -909,16 +898,16 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
909
898
|
var currentPinStreams = list.filter(function (item) {
|
|
910
899
|
return item.isPin;
|
|
911
900
|
});
|
|
912
|
-
if (currentPinStreams.length >=
|
|
901
|
+
if (currentPinStreams.length >= _this6.pinLimitedCount) {
|
|
913
902
|
var lastPinStream = currentPinStreams[currentPinStreams.length - 1];
|
|
914
903
|
var _streamId = lastPinStream.videoStreamId || lastPinStream.audioStreamId;
|
|
915
904
|
if (_streamId) {
|
|
916
|
-
|
|
905
|
+
_this6.removePin(_streamId);
|
|
917
906
|
}
|
|
918
907
|
}
|
|
919
908
|
existedUserStream.setPin(true);
|
|
920
|
-
|
|
921
|
-
|
|
909
|
+
_this6._insertBeginningByPriority(existedUserStream, list, limitCount);
|
|
910
|
+
_this6._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', existedUserStreamIndex);
|
|
922
911
|
return true;
|
|
923
912
|
};
|
|
924
913
|
var success = handlePin(streamId, this.mainList, this.mainListLimitedCount, 'main-list');
|
|
@@ -928,16 +917,16 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
928
917
|
}, {
|
|
929
918
|
key: "removePin",
|
|
930
919
|
value: function removePin(streamId) {
|
|
931
|
-
var
|
|
920
|
+
var _this7 = this;
|
|
932
921
|
var handleRemovePin = function handleRemovePin(streamId, list, limitCount, placement) {
|
|
933
|
-
var existedUserStreamIndex =
|
|
922
|
+
var existedUserStreamIndex = _this7._findItemIndexWithWindowId(streamId, list);
|
|
934
923
|
var existedUserStream = list[existedUserStreamIndex];
|
|
935
924
|
if (!(existedUserStream !== null && existedUserStream !== void 0 && existedUserStream.isPin)) {
|
|
936
925
|
return;
|
|
937
926
|
}
|
|
938
927
|
existedUserStream.setPin(false);
|
|
939
|
-
|
|
940
|
-
|
|
928
|
+
_this7._insertByPriority(existedUserStream, list, limitCount);
|
|
929
|
+
_this7._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', existedUserStreamIndex);
|
|
941
930
|
return true;
|
|
942
931
|
};
|
|
943
932
|
var removePinMainRes = handleRemovePin(streamId, this.mainList, this.mainListLimitedCount, 'main-list');
|
|
@@ -947,9 +936,9 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
947
936
|
}, {
|
|
948
937
|
key: "setSpeakerSpotlight",
|
|
949
938
|
value: function setSpeakerSpotlight(streamId) {
|
|
950
|
-
var
|
|
939
|
+
var _this8 = this;
|
|
951
940
|
var checkStreamExist = function checkStreamExist(streamId) {
|
|
952
|
-
return
|
|
941
|
+
return _this8._findItemIndexWithWindowId(streamId, _this8.mainList) !== -1 && _this8._findItemIndexWithWindowId(streamId, _this8.foldList) !== -1;
|
|
953
942
|
};
|
|
954
943
|
if (!checkStreamExist(streamId)) return;
|
|
955
944
|
var isRefreshSpotlight = this._spotlightPool.streams.has(streamId);
|
|
@@ -958,21 +947,21 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
958
947
|
return;
|
|
959
948
|
}
|
|
960
949
|
var setSpeakerSpotlight = function setSpeakerSpotlight(streamId, list, limitCount, placement) {
|
|
961
|
-
var existedUserStreamIndex =
|
|
950
|
+
var existedUserStreamIndex = _this8._findItemIndexWithWindowId(streamId, list);
|
|
962
951
|
var existedUserStream = list[existedUserStreamIndex];
|
|
963
952
|
if (existedUserStream) {
|
|
964
953
|
existedUserStream.setSpeakerSpotlight(true);
|
|
965
954
|
}
|
|
966
955
|
var isSpeakerSpotlightSortingPriority = existedUserStream.sortingPriority === (placement === 'main-list' ? _type.FcrUIVideoWindowMainSortingPriority.SPEAKER_SPOTLIGHT : _type.FcrUIVideoWindowFoldSortingPriority.FOCUS);
|
|
967
956
|
if (isSpeakerSpotlightSortingPriority) {
|
|
968
|
-
|
|
957
|
+
_this8._insertBeginningByPriority(existedUserStream, list, limitCount);
|
|
969
958
|
}
|
|
970
959
|
list.forEach(function (item) {
|
|
971
960
|
if (item.needToSort) {
|
|
972
|
-
|
|
961
|
+
_this8._insertByPriority(item, list, limitCount);
|
|
973
962
|
}
|
|
974
963
|
});
|
|
975
|
-
|
|
964
|
+
_this8._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', existedUserStreamIndex);
|
|
976
965
|
};
|
|
977
966
|
setSpeakerSpotlight(streamId, this.mainList, this.mainListLimitedCount, 'main-list');
|
|
978
967
|
setSpeakerSpotlight(streamId, this.foldList, this.foldListLimitedCount, 'fold-list');
|
|
@@ -1022,7 +1011,7 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
1022
1011
|
}, {
|
|
1023
1012
|
key: "_syncHasScreenSharing",
|
|
1024
1013
|
value: function _syncHasScreenSharing(enable, hasBoardSharing, userId, list, limitCount, placement) {
|
|
1025
|
-
var
|
|
1014
|
+
var _this9 = this;
|
|
1026
1015
|
if (enable) {
|
|
1027
1016
|
list.forEach(function (item, index) {
|
|
1028
1017
|
if (item.userId === userId) {
|
|
@@ -1031,10 +1020,10 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
1031
1020
|
item.setHasScreenSharing(enable);
|
|
1032
1021
|
item.setHasBoardSharing(hasBoardSharing);
|
|
1033
1022
|
if (item.sortingPriority !== originalPriority) {
|
|
1034
|
-
itemIndex =
|
|
1023
|
+
itemIndex = _this9._insertByPriority(item, list, limitCount);
|
|
1035
1024
|
}
|
|
1036
|
-
|
|
1037
|
-
var hasLoopbackAudioStream =
|
|
1025
|
+
_this9._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', itemIndex);
|
|
1026
|
+
var hasLoopbackAudioStream = _this9 === null || _this9 === void 0 ? void 0 : _this9.mainList.some(function (item) {
|
|
1038
1027
|
return item.userId === userId && item.hasScreenSharing && item.hasLoopbackAudioStream;
|
|
1039
1028
|
});
|
|
1040
1029
|
item.setHasLoopbackSharing(hasLoopbackAudioStream);
|
|
@@ -1049,8 +1038,8 @@ var FcrUIVideoWindowDataSourceImpl = exports.FcrUIVideoWindowDataSourceImpl = /*
|
|
|
1049
1038
|
if (item.userId === userId) {
|
|
1050
1039
|
item.setHasScreenSharing(enable);
|
|
1051
1040
|
item.setHasBoardSharing(hasBoardSharing);
|
|
1052
|
-
var index =
|
|
1053
|
-
|
|
1041
|
+
var index = _this9._insertByPriority(item, list, limitCount);
|
|
1042
|
+
_this9._observer.notifyObservers(placement === 'main-list' ? 'onMainListUpdated' : 'onFoldListUpdated', index);
|
|
1054
1043
|
}
|
|
1055
1044
|
});
|
|
1056
1045
|
}
|
|
@@ -1198,23 +1187,23 @@ var FcrUISpeakerSpotlightPool = exports.FcrUISpeakerSpotlightPool = /*#__PURE__*
|
|
|
1198
1187
|
}, {
|
|
1199
1188
|
key: "_scan",
|
|
1200
1189
|
value: function _scan() {
|
|
1201
|
-
var
|
|
1190
|
+
var _this0 = this;
|
|
1202
1191
|
if (this._timer) {
|
|
1203
1192
|
window.clearInterval(this._timer);
|
|
1204
1193
|
this._timer = null;
|
|
1205
1194
|
}
|
|
1206
1195
|
this._timer = window.setInterval(function () {
|
|
1207
1196
|
var now = Date.now();
|
|
1208
|
-
var _iterator = _createForOfIteratorHelper(
|
|
1197
|
+
var _iterator = _createForOfIteratorHelper(_this0.streams),
|
|
1209
1198
|
_step;
|
|
1210
1199
|
try {
|
|
1211
1200
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1212
1201
|
var _step$value = (0, _slicedToArray2["default"])(_step.value, 2),
|
|
1213
1202
|
_streamId2 = _step$value[0],
|
|
1214
1203
|
time = _step$value[1];
|
|
1215
|
-
if (now - time -
|
|
1216
|
-
|
|
1217
|
-
|
|
1204
|
+
if (now - time - _this0.duration * 1000 >= 0) {
|
|
1205
|
+
_this0.streams["delete"](_streamId2);
|
|
1206
|
+
_this0._observer.notifyObservers('onRemoved', _streamId2);
|
|
1218
1207
|
}
|
|
1219
1208
|
}
|
|
1220
1209
|
} catch (err) {
|
|
@@ -1222,18 +1211,18 @@ var FcrUISpeakerSpotlightPool = exports.FcrUISpeakerSpotlightPool = /*#__PURE__*
|
|
|
1222
1211
|
} finally {
|
|
1223
1212
|
_iterator.f();
|
|
1224
1213
|
}
|
|
1225
|
-
if (
|
|
1226
|
-
|
|
1227
|
-
|
|
1214
|
+
if (_this0.streams.size === 0) {
|
|
1215
|
+
_this0._timer && window.clearInterval(_this0._timer);
|
|
1216
|
+
_this0._timer = null;
|
|
1228
1217
|
}
|
|
1229
1218
|
}, 1000);
|
|
1230
1219
|
}
|
|
1231
1220
|
}, {
|
|
1232
1221
|
key: "clear",
|
|
1233
1222
|
value: function clear() {
|
|
1234
|
-
var
|
|
1223
|
+
var _this1 = this;
|
|
1235
1224
|
this.streams.forEach(function (_, streamId) {
|
|
1236
|
-
|
|
1225
|
+
_this1._observer.notifyObservers('onRemoved', streamId);
|
|
1237
1226
|
});
|
|
1238
1227
|
this.streams.clear();
|
|
1239
1228
|
if (this._timer) {
|
|
@@ -8,6 +8,7 @@ export declare const enUs: {
|
|
|
8
8
|
fmt_participants_button_muteAll: string;
|
|
9
9
|
fmt_participants_button_unmuteAll: string;
|
|
10
10
|
fmt_participants_button_meetingManagement: string;
|
|
11
|
+
fmt_participants_button_meetingPermission: string;
|
|
11
12
|
fmt_participants_button_invite: string;
|
|
12
13
|
fmt_participants_member_button_mute: string;
|
|
13
14
|
fmt_participants_member_button_unmute: string;
|
|
@@ -221,6 +222,8 @@ export declare const enUs: {
|
|
|
221
222
|
fmt_audio_popup_button_system_change: string;
|
|
222
223
|
fmt_audio_popup_button_cancel: string;
|
|
223
224
|
fmt_audio_popup_button_turning_on: string;
|
|
225
|
+
fmt_audio_window_mic_turn_on_error: string;
|
|
226
|
+
fmt_audio_window_camera_turn_on_error: string;
|
|
224
227
|
fmt_popup_copywrite_stopstreamingnow: string;
|
|
225
228
|
fmt_popup_options_confirmstop: string;
|
|
226
229
|
fmt_popup_options_placedbottom: string;
|
|
@@ -1347,6 +1350,7 @@ export declare const enUs: {
|
|
|
1347
1350
|
fmt_ai_rtt_tips_transcribing: string;
|
|
1348
1351
|
fmt_ai_rtt_label_transcription_setting: string;
|
|
1349
1352
|
fmt_ai_rtt_tips_switch_translation: string;
|
|
1353
|
+
fmt_ai_rtt_toast_permission_application_failed: string;
|
|
1350
1354
|
fmt_ai_summary_create_option_create_summary: string;
|
|
1351
1355
|
fmt_ai_summary_create_labels_meeting_list: string;
|
|
1352
1356
|
fmt_ai_summary_create_labels_valid_records: string;
|
|
@@ -2008,6 +2012,7 @@ export declare const enUs: {
|
|
|
2008
2012
|
fmt_lock_error: string;
|
|
2009
2013
|
fmt_end_error: string;
|
|
2010
2014
|
fmt_host_leave_error: string;
|
|
2015
|
+
fmt_toast_network_error_sharing_stopped: string;
|
|
2011
2016
|
fmt_hostkey_window_title_reclaim_host: string;
|
|
2012
2017
|
fmt_hostkey_window_content_reclaim_host: string;
|
|
2013
2018
|
fmt_hostkey_window_button_reclaim_host: string;
|
|
@@ -2026,6 +2031,10 @@ export declare const enUs: {
|
|
|
2026
2031
|
fmt_jbh_title_host_in_meeting: string;
|
|
2027
2032
|
fmt_jbh_title_meeting_topic: string;
|
|
2028
2033
|
fmt_jbh_toast_meeting_not_start: string;
|
|
2034
|
+
fmt_meeting_toast_host_join_meeting: string;
|
|
2035
|
+
fmt_meeting_toast_started_new_share: string;
|
|
2036
|
+
fmt_meeting_toast_enabled_waitingroom: string;
|
|
2037
|
+
fmt_meeting_toast_disabled_waitingroom: string;
|
|
2029
2038
|
fmt_apps_button_automatic_screenshot: string;
|
|
2030
2039
|
fmt_webinar_tips_welcome_greetings: string;
|
|
2031
2040
|
fmt_echo_window_label_echo_in_environment: string;
|
|
@@ -2033,4 +2042,5 @@ export declare const enUs: {
|
|
|
2033
2042
|
fmt_echo_window_button_cancel: string;
|
|
2034
2043
|
fmt_echo_window_button_disconnect: string;
|
|
2035
2044
|
fmt_mute_toast_yr_on_mute: string;
|
|
2045
|
+
fmt_meeting_setting_options_enable_recording: string;
|
|
2036
2046
|
};
|
package/lib/translations/enUS.js
CHANGED
|
@@ -16,6 +16,7 @@ var enUs = exports.enUs = {
|
|
|
16
16
|
fmt_participants_button_muteAll: 'All mute',
|
|
17
17
|
fmt_participants_button_unmuteAll: 'Unmute all',
|
|
18
18
|
fmt_participants_button_meetingManagement: 'Settings',
|
|
19
|
+
fmt_participants_button_meetingPermission: 'Meeting Permissions',
|
|
19
20
|
fmt_participants_button_invite: 'Invite',
|
|
20
21
|
fmt_participants_member_button_mute: 'Mute',
|
|
21
22
|
fmt_participants_member_button_unmute: 'Unmute',
|
|
@@ -230,6 +231,8 @@ var enUs = exports.enUs = {
|
|
|
230
231
|
fmt_audio_popup_button_system_change: 'Go to system settings to change',
|
|
231
232
|
fmt_audio_popup_button_cancel: 'Cancel',
|
|
232
233
|
fmt_audio_popup_button_turning_on: 'Turning on...',
|
|
234
|
+
fmt_audio_window_mic_turn_on_error: 'An anomaly has been detected with your current microphone. Please try switching to a different microphone device or restarting the meeting.',
|
|
235
|
+
fmt_audio_window_camera_turn_on_error: 'A camera anomaly has been detected. Please try switching to a different camera device or restarting the meeting.',
|
|
233
236
|
fmt_popup_copywrite_stopstreamingnow: 'Stop Streaming?',
|
|
234
237
|
fmt_popup_options_confirmstop: 'Confirm to stop live streaming',
|
|
235
238
|
fmt_popup_options_placedbottom: 'Move to Bottom',
|
|
@@ -1288,7 +1291,7 @@ var enUs = exports.enUs = {
|
|
|
1288
1291
|
fmt_ai_transcriptions_setting_label_source: 'Source language',
|
|
1289
1292
|
fmt_ai_transcriptions_setting_label_live_language: 'Live language ',
|
|
1290
1293
|
fmt_ai_transcriptions_setting_label_translate_to: 'Translate to ',
|
|
1291
|
-
fmt_ai_transcriptions_setting_label_effects: 'It takes effect for
|
|
1294
|
+
fmt_ai_transcriptions_setting_label_effects: 'It takes effect for subtitles and transcription, the translated content will only be visible to you.',
|
|
1292
1295
|
fmt_ai_transcriptions_setting_option_bilingualism: 'Bilingualism is displayed at the same time',
|
|
1293
1296
|
fmt_ai_transcriptions_setting_label_translator: 'Translator',
|
|
1294
1297
|
fmt_ai_transcriptions_setting_label_visable_range: 'Real-time simultaneous interpretation, visible only to yourself',
|
|
@@ -1302,7 +1305,7 @@ var enUs = exports.enUs = {
|
|
|
1302
1305
|
fmt_ai_subtitles_setting_label_fontsize: 'Font size',
|
|
1303
1306
|
fmt_ai_subtitles_setting_label_sample: 'Example of subtitle text size',
|
|
1304
1307
|
fmt_ai_subtitles_setting_label_translation_setting: 'Subtitle settings',
|
|
1305
|
-
fmt_ai_subtitles_setting_label_effect_range: 'It takes effect for
|
|
1308
|
+
fmt_ai_subtitles_setting_label_effect_range: 'It takes effect for subtitles and transcription, the translated content will only be visible to you.',
|
|
1306
1309
|
fmt_ai_subtitles_setting_options_enable_translation: 'Enable translation',
|
|
1307
1310
|
fmt_ai_subtitles_setting_options_not_translated: 'Original Text(Not Translated)',
|
|
1308
1311
|
fmt_ai_subtitles_setting_options_chinese: '简体中文',
|
|
@@ -1372,6 +1375,7 @@ var enUs = exports.enUs = {
|
|
|
1372
1375
|
fmt_ai_rtt_tips_transcribing: 'Transcribing...',
|
|
1373
1376
|
fmt_ai_rtt_label_transcription_setting: 'Transcription Settings',
|
|
1374
1377
|
fmt_ai_rtt_tips_switch_translation: 'Switch to {reason2} for translation.',
|
|
1378
|
+
fmt_ai_rtt_toast_permission_application_failed: 'The permission for real-time transcription has changed, and the application has failed.',
|
|
1375
1379
|
//****************** AI会议纪要 ******************
|
|
1376
1380
|
fmt_ai_summary_create_option_create_summary: 'Create meeting summary for the meeting',
|
|
1377
1381
|
fmt_ai_summary_create_labels_meeting_list: 'List of meetings',
|
|
@@ -2050,6 +2054,7 @@ var enUs = exports.enUs = {
|
|
|
2050
2054
|
fmt_lock_error: 'The host has locked the meeting and no one else can join',
|
|
2051
2055
|
fmt_end_error: 'The meeting has ended',
|
|
2052
2056
|
fmt_host_leave_error: 'The moderator is not in the meeting',
|
|
2057
|
+
fmt_toast_network_error_sharing_stopped: 'Unstable network connection. Screen sharing has disconnected.',
|
|
2053
2058
|
//****************** hostkey ******************
|
|
2054
2059
|
fmt_hostkey_window_title_reclaim_host: 'Reclaim host role',
|
|
2055
2060
|
fmt_hostkey_window_content_reclaim_host: '{reason1} is the current host.Reclaiming might cause interruption',
|
|
@@ -2070,6 +2075,10 @@ var enUs = exports.enUs = {
|
|
|
2070
2075
|
fmt_jbh_title_host_in_meeting: 'Please wait.The host will let you into the meeting soon.',
|
|
2071
2076
|
fmt_jbh_title_meeting_topic: 'Meeting Topic',
|
|
2072
2077
|
fmt_jbh_toast_meeting_not_start: "The meeting hasn't started yet. Please try again later.",
|
|
2078
|
+
fmt_meeting_toast_host_join_meeting: 'The host has joined the meeting.',
|
|
2079
|
+
fmt_meeting_toast_started_new_share: '{reason1} has started a new screen share.',
|
|
2080
|
+
fmt_meeting_toast_enabled_waitingroom: '{reason1} has enabled the waiting room.',
|
|
2081
|
+
fmt_meeting_toast_disabled_waitingroom: '{reason1} has disabled the waiting room.',
|
|
2073
2082
|
//****************** APPS ******************
|
|
2074
2083
|
fmt_apps_button_automatic_screenshot: 'Automatic screenshot',
|
|
2075
2084
|
//****************** Webinar ******************
|
|
@@ -2078,5 +2087,6 @@ var enUs = exports.enUs = {
|
|
|
2078
2087
|
fmt_echo_window_label_disconect_audio: 'Disconect the audio turn off the microphone and speaker.',
|
|
2079
2088
|
fmt_echo_window_button_cancel: 'Cancel',
|
|
2080
2089
|
fmt_echo_window_button_disconnect: 'Disconnect',
|
|
2081
|
-
fmt_mute_toast_yr_on_mute: "You're on mute, please unmute."
|
|
2090
|
+
fmt_mute_toast_yr_on_mute: "You're on mute, please unmute.",
|
|
2091
|
+
fmt_meeting_setting_options_enable_recording: 'Enable Cloud Recording'
|
|
2082
2092
|
};
|
|
@@ -8,6 +8,7 @@ export declare const zhCn: {
|
|
|
8
8
|
fmt_participants_button_muteAll: string;
|
|
9
9
|
fmt_participants_button_unmuteAll: string;
|
|
10
10
|
fmt_participants_button_meetingManagement: string;
|
|
11
|
+
fmt_participants_button_meetingPermission: string;
|
|
11
12
|
fmt_participants_button_invite: string;
|
|
12
13
|
fmt_participants_member_button_mute: string;
|
|
13
14
|
fmt_participants_member_button_unmute: string;
|
|
@@ -221,6 +222,8 @@ export declare const zhCn: {
|
|
|
221
222
|
fmt_audio_popup_button_system_change: string;
|
|
222
223
|
fmt_audio_popup_button_cancel: string;
|
|
223
224
|
fmt_audio_popup_button_turning_on: string;
|
|
225
|
+
fmt_audio_window_mic_turn_on_error: string;
|
|
226
|
+
fmt_audio_window_camera_turn_on_error: string;
|
|
224
227
|
fmt_popup_copywrite_stopstreamingnow: string;
|
|
225
228
|
fmt_popup_options_confirmstop: string;
|
|
226
229
|
fmt_popup_options_placedbottom: string;
|
|
@@ -1347,6 +1350,7 @@ export declare const zhCn: {
|
|
|
1347
1350
|
fmt_ai_rtt_tips_transcribing: string;
|
|
1348
1351
|
fmt_ai_rtt_label_transcription_setting: string;
|
|
1349
1352
|
fmt_ai_rtt_tips_switch_translation: string;
|
|
1353
|
+
fmt_ai_rtt_toast_permission_application_failed: string;
|
|
1350
1354
|
fmt_ai_summary_create_option_create_summary: string;
|
|
1351
1355
|
fmt_ai_summary_create_labels_meeting_list: string;
|
|
1352
1356
|
fmt_ai_summary_create_labels_valid_records: string;
|
|
@@ -2006,6 +2010,7 @@ export declare const zhCn: {
|
|
|
2006
2010
|
fmt_lock_error: string;
|
|
2007
2011
|
fmt_end_error: string;
|
|
2008
2012
|
fmt_host_leave_error: string;
|
|
2013
|
+
fmt_toast_network_error_sharing_stopped: string;
|
|
2009
2014
|
fmt_hostkey_window_title_reclaim_host: string;
|
|
2010
2015
|
fmt_hostkey_window_content_reclaim_host: string;
|
|
2011
2016
|
fmt_hostkey_window_button_reclaim_host: string;
|
|
@@ -2024,6 +2029,10 @@ export declare const zhCn: {
|
|
|
2024
2029
|
fmt_jbh_title_host_in_meeting: string;
|
|
2025
2030
|
fmt_jbh_title_meeting_topic: string;
|
|
2026
2031
|
fmt_jbh_toast_meeting_not_start: string;
|
|
2032
|
+
fmt_meeting_toast_host_join_meeting: string;
|
|
2033
|
+
fmt_meeting_toast_started_new_share: string;
|
|
2034
|
+
fmt_meeting_toast_enabled_waitingroom: string;
|
|
2035
|
+
fmt_meeting_toast_disabled_waitingroom: string;
|
|
2027
2036
|
fmt_apps_button_automatic_screenshot: string;
|
|
2028
2037
|
fmt_webinar_tips_welcome_greetings: string;
|
|
2029
2038
|
fmt_echo_window_label_echo_in_environment: string;
|
|
@@ -2031,4 +2040,5 @@ export declare const zhCn: {
|
|
|
2031
2040
|
fmt_echo_window_button_cancel: string;
|
|
2032
2041
|
fmt_echo_window_button_disconnect: string;
|
|
2033
2042
|
fmt_mute_toast_yr_on_mute: string;
|
|
2043
|
+
fmt_meeting_setting_options_enable_recording: string;
|
|
2034
2044
|
};
|
package/lib/translations/zhCN.js
CHANGED
|
@@ -16,6 +16,7 @@ var zhCn = exports.zhCn = {
|
|
|
16
16
|
fmt_participants_button_muteAll: '全员静音',
|
|
17
17
|
fmt_participants_button_unmuteAll: '解除全员静音',
|
|
18
18
|
fmt_participants_button_meetingManagement: '会议管理',
|
|
19
|
+
fmt_participants_button_meetingPermission: '会议权限',
|
|
19
20
|
fmt_participants_button_invite: '邀请',
|
|
20
21
|
fmt_participants_member_button_mute: '静音',
|
|
21
22
|
fmt_participants_member_button_unmute: '解除静音',
|
|
@@ -230,6 +231,8 @@ var zhCn = exports.zhCn = {
|
|
|
230
231
|
fmt_audio_popup_button_system_change: '去系统设置修改',
|
|
231
232
|
fmt_audio_popup_button_cancel: '取消',
|
|
232
233
|
fmt_audio_popup_button_turning_on: '开启中...',
|
|
234
|
+
fmt_audio_window_mic_turn_on_error: '检测到当前麦克风异常,请尝试切换其他麦克风设备或重启会议',
|
|
235
|
+
fmt_audio_window_camera_turn_on_error: '检测到当前摄像头异常,请尝试切换其他摄像头设备或重启会议',
|
|
233
236
|
fmt_popup_copywrite_stopstreamingnow: '是否停止直播?',
|
|
234
237
|
fmt_popup_options_confirmstop: '确定停止直播',
|
|
235
238
|
fmt_popup_options_placedbottom: '置于底部',
|
|
@@ -1302,7 +1305,7 @@ var zhCn = exports.zhCn = {
|
|
|
1302
1305
|
fmt_ai_subtitles_setting_label_fontsize: '字号大小',
|
|
1303
1306
|
fmt_ai_subtitles_setting_label_sample: '字幕文字大小示例',
|
|
1304
1307
|
fmt_ai_subtitles_setting_label_translation_setting: '字幕设置',
|
|
1305
|
-
fmt_ai_subtitles_setting_label_effect_range: '
|
|
1308
|
+
fmt_ai_subtitles_setting_label_effect_range: '对会中字幕和转写生效,翻译内容仅自己可见',
|
|
1306
1309
|
fmt_ai_subtitles_setting_options_enable_translation: '开启翻译',
|
|
1307
1310
|
fmt_ai_subtitles_setting_options_not_translated: '原文(不翻译)',
|
|
1308
1311
|
fmt_ai_subtitles_setting_options_chinese: '简体中文',
|
|
@@ -1372,6 +1375,7 @@ var zhCn = exports.zhCn = {
|
|
|
1372
1375
|
fmt_ai_rtt_tips_transcribing: '转写中',
|
|
1373
1376
|
fmt_ai_rtt_label_transcription_setting: '转写设置',
|
|
1374
1377
|
fmt_ai_rtt_tips_switch_translation: '切换翻译语言为“{reason2}”',
|
|
1378
|
+
fmt_ai_rtt_toast_permission_application_failed: '实时转写权限已发生变更,申请失败',
|
|
1375
1379
|
//****************** AI会议纪要 ******************
|
|
1376
1380
|
fmt_ai_summary_create_option_create_summary: '开会的同时,创建会议纪要',
|
|
1377
1381
|
fmt_ai_summary_create_labels_meeting_list: '会议列表',
|
|
@@ -2048,6 +2052,7 @@ var zhCn = exports.zhCn = {
|
|
|
2048
2052
|
fmt_lock_error: '主持人锁定了会议,其他人不可入会',
|
|
2049
2053
|
fmt_end_error: '会议已结束',
|
|
2050
2054
|
fmt_host_leave_error: '主持人不在会议中',
|
|
2055
|
+
fmt_toast_network_error_sharing_stopped: '当前网络不稳定,屏幕共享已断开',
|
|
2051
2056
|
//****************** hostkey ******************
|
|
2052
2057
|
fmt_hostkey_window_title_reclaim_host: '收回主持人权限',
|
|
2053
2058
|
fmt_hostkey_window_content_reclaim_host: '{reason1}为当前会议主持人,收回权限可能会中断主持人部份操作',
|
|
@@ -2068,6 +2073,10 @@ var zhCn = exports.zhCn = {
|
|
|
2068
2073
|
fmt_jbh_title_host_in_meeting: '请稍等,主持人即将邀请您入会',
|
|
2069
2074
|
fmt_jbh_title_meeting_topic: '会议主题',
|
|
2070
2075
|
fmt_jbh_toast_meeting_not_start: '会议暂未开始,请稍后再试',
|
|
2076
|
+
fmt_meeting_toast_host_join_meeting: '主持人已进入会议',
|
|
2077
|
+
fmt_meeting_toast_started_new_share: '{reason1}已发起新的共享',
|
|
2078
|
+
fmt_meeting_toast_enabled_waitingroom: '{reason1}已开启等候室',
|
|
2079
|
+
fmt_meeting_toast_disabled_waitingroom: '{reason1}已关闭等候室',
|
|
2071
2080
|
//****************** APPS ******************
|
|
2072
2081
|
fmt_apps_button_automatic_screenshot: '自动截屏',
|
|
2073
2082
|
//****************** Webinar ******************
|
|
@@ -2076,5 +2085,6 @@ var zhCn = exports.zhCn = {
|
|
|
2076
2085
|
fmt_echo_window_label_disconect_audio: '为保障会议体验,建议断开音频来关闭麦克风和扬声器',
|
|
2077
2086
|
fmt_echo_window_button_cancel: '取消',
|
|
2078
2087
|
fmt_echo_window_button_disconnect: '断开音频',
|
|
2079
|
-
fmt_mute_toast_yr_on_mute: '您已静音,请开启麦克风'
|
|
2088
|
+
fmt_mute_toast_yr_on_mute: '您已静音,请开启麦克风',
|
|
2089
|
+
fmt_meeting_setting_options_enable_recording: '允许使用云端录制'
|
|
2080
2090
|
};
|
package/lib/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FcrConnectionState, FcrError } from 'fcr-core';
|
|
2
2
|
import { FcrChatRoomReceivedBaseMessage } from 'fcr-core/lib/room-control/chatroom-control/type';
|
|
3
3
|
import { FcrBaseRoomControl, FcrRoomJoinOptions, FcrRoomType, FcrWaitingRoomControl } from 'fcr-core/lib/room-control/type';
|
|
4
|
-
import { FcrDeviceInfo } from 'fcr-core/lib/type';
|
|
4
|
+
import { FcrDeviceInfo, FcrMediaSourceState, FcrUserInfo } from 'fcr-core/lib/type';
|
|
5
5
|
import { FcrInterpreterRoomControl, FcrLanguage } from 'fcr-core/lib/room-control/interpreter-control/types';
|
|
6
6
|
import { ToastSize } from 'agora-ui-foundation/lib/components/toast';
|
|
7
7
|
import { FcrUIDialogKey } from './utilities/constant';
|
|
@@ -14,6 +14,7 @@ import { FcrUIProviderInitializer } from './creator/type';
|
|
|
14
14
|
import { FcrPopupSize, FcrRegisteredWidgetConfigs } from './modules/widget/type';
|
|
15
15
|
import { FcrUIObjectManager } from './object-manager';
|
|
16
16
|
import { FcrUICustomSetting } from './modules/setting/type';
|
|
17
|
+
import { FcrUISystemPereferencesType } from './providers/facility/struct';
|
|
17
18
|
export { FcrUserRole, FcrRegion, FcrStreamLatencyLevel } from 'fcr-core';
|
|
18
19
|
/**
|
|
19
20
|
* FcrUIExitReason enum represents the reason for exiting a UI scene.
|
|
@@ -190,6 +191,9 @@ export interface FcrUIDeviceObserver {
|
|
|
190
191
|
* @param volume
|
|
191
192
|
*/
|
|
192
193
|
onSpeakerVolumeChanged?(volume: number): void;
|
|
194
|
+
onCameraStateChanged?(cameraId: string, state: FcrMediaSourceState): void;
|
|
195
|
+
onMicrophoneStateChanged?(microphoneId: string, state: FcrMediaSourceState): void;
|
|
196
|
+
onMediaPermissionMissing?(mediaType: FcrUISystemPereferencesType): void;
|
|
193
197
|
}
|
|
194
198
|
export declare enum FcrUIVideoEffectType {
|
|
195
199
|
NONE = 0,
|
|
@@ -244,22 +248,6 @@ export type FcrUIRoomObserver = {
|
|
|
244
248
|
* 用户离开JBH
|
|
245
249
|
*/
|
|
246
250
|
onLeaveJBH?: () => void;
|
|
247
|
-
/**
|
|
248
|
-
* 用户被踢出房间
|
|
249
|
-
* @param roomId
|
|
250
|
-
* @returns
|
|
251
|
-
*/
|
|
252
|
-
onLocalUserKickedOut?: () => void;
|
|
253
|
-
/**
|
|
254
|
-
* 房间已关闭
|
|
255
|
-
* @returns
|
|
256
|
-
*/
|
|
257
|
-
onRoomClosed?: () => void;
|
|
258
|
-
/**
|
|
259
|
-
* 用户退出房间
|
|
260
|
-
* @param roomState
|
|
261
|
-
*/
|
|
262
|
-
onExitRoom?: () => void;
|
|
263
251
|
/**
|
|
264
252
|
* 用户被收回等候室管理员权限
|
|
265
253
|
*
|
|
@@ -275,10 +263,30 @@ export type FcrUIRoomObserver = {
|
|
|
275
263
|
*
|
|
276
264
|
*/
|
|
277
265
|
onRoutingChanged?: (roomControl: FcrBaseRoomControl) => void;
|
|
266
|
+
/**
|
|
267
|
+
* 退出会议
|
|
268
|
+
* @param reason 退出会议的原因
|
|
269
|
+
*/
|
|
270
|
+
onExitMeeting?: (reason: FcrUIMeetingExitReason) => void;
|
|
278
271
|
};
|
|
272
|
+
export declare enum FcrUIMeetingExitReason {
|
|
273
|
+
USER_INITIATED_LEAVE = "USER_INITIATED_LEAVE",// 用户主动离开会议
|
|
274
|
+
USER_INITIATED_END = "USER_INITIATED_END",// 本地用户主动结束会议
|
|
275
|
+
SYSTEM_JOIN_ROOM_FAILED = "SYSTEM_JOIN_ROOM_FAILED",// 加入房间失败
|
|
276
|
+
SYSTEM_NETWORK_ERROR = "SYSTEM_NETWORK_ERROR",// 网络断开
|
|
277
|
+
SYSTEM_MEETING_ENDED = "SYSTEM_MEETING_ENDED",// 主持人结束会议(全员退出)
|
|
278
|
+
ADMIN_KICKED = "ADMIN_KICKED"
|
|
279
|
+
}
|
|
279
280
|
export type FcrUIConnectionObserver = {
|
|
280
281
|
onConnectionStateUpdated?: (state: FcrConnectionState) => void;
|
|
281
282
|
};
|
|
283
|
+
export type FcrUIMainRoomControlObserver = {
|
|
284
|
+
onWaterMarkEnableUpdated?: (enable: boolean, operatorUser?: FcrUserInfo) => void;
|
|
285
|
+
onUserRoleChanged?: (targetUser: FcrUserInfo, params: {
|
|
286
|
+
oldUser?: FcrUserInfo;
|
|
287
|
+
hasHost: boolean;
|
|
288
|
+
}) => void;
|
|
289
|
+
};
|
|
282
290
|
export interface FcrUIDialogParams<T> {
|
|
283
291
|
dialogKey: FcrUIDialogKey;
|
|
284
292
|
dialogId: string;
|
|
@@ -436,10 +444,10 @@ export interface FcrUIVideoWindowData {
|
|
|
436
444
|
avatar?: string;
|
|
437
445
|
}
|
|
438
446
|
export declare enum FcrUIAiDenoiseLevel {
|
|
447
|
+
NONE = 0,
|
|
439
448
|
LOW = 1,
|
|
440
449
|
MEDIUM = 2,
|
|
441
|
-
HIGH = 3
|
|
442
|
-
CLOSE = 4
|
|
450
|
+
HIGH = 3
|
|
443
451
|
}
|
|
444
452
|
export type FcrUiResourceType = 'image' | 'video' | 'audio';
|
|
445
453
|
export type FcrUIDefaultSceneConstructorArgs = {
|