fcr-ui-scene 3.5.1 → 3.6.0
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/creator.d.ts +14 -0
- package/lib/creator.js +239 -14
- package/lib/electron/app.js +0 -21
- package/lib/electron/bootstrap-sdk.js +136 -7
- package/lib/electron/injections.d.ts +19 -7
- package/lib/electron/injections.js +206 -77
- package/lib/electron/ipc/ipc.d.ts +26 -0
- package/lib/electron/ipc/ipc.js +137 -0
- package/lib/electron/ipc/type.d.ts +11 -0
- package/lib/electron/ipc/type.js +19 -0
- package/lib/electron/logger.js +1 -1
- package/lib/electron/main.js +1 -1
- package/lib/electron/plugins/meeting-state.d.ts +1 -0
- package/lib/electron/plugins/meeting-state.js +3 -3
- package/lib/electron/plugins/screenshot.js +2 -2
- package/lib/electron/preload.js +67 -5
- package/lib/electron/window.js +0 -2
- package/lib/global.css +21 -0
- package/lib/modules/action-bar/components/apps/index.js +1 -0
- package/lib/modules/action-bar/components/apps/useWidgetList.js +1 -1
- package/lib/modules/action-bar/components/item/index.d.ts +2 -0
- package/lib/modules/action-bar/components/item/index.js +4 -2
- package/lib/modules/action-bar/components/leave/index.js +1 -0
- package/lib/modules/action-bar/components/more/index.js +1 -0
- package/lib/modules/action-bar/components/record/index.js +43 -106
- package/lib/modules/action-bar/components/record/popover.d.ts +4 -0
- package/lib/modules/action-bar/components/record/popover.js +57 -0
- package/lib/modules/action-bar/components/record/stop-record-dialog.js +1 -0
- package/lib/modules/action-bar/components/screen-share/index.js +15 -3
- package/lib/modules/action-bar/components/screen-share/submenu.js +2 -2
- package/lib/modules/action-bar/components/security/index.js +2 -1
- package/lib/modules/action-bar/components/smaller/index.js +1 -1
- package/lib/modules/action-bar/components/trigger-output-language/index.js +17 -22
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -1
- package/lib/modules/action-bar/index.css +3 -2
- package/lib/modules/action-bar/index.js +2 -1
- package/lib/modules/action-bar/store.d.ts +5 -0
- package/lib/modules/action-bar/store.js +30 -12
- package/lib/modules/action-bar/types.d.ts +1 -0
- package/lib/modules/chat/chat-room-store.js +1 -1
- package/lib/modules/chat/components/chat-bar/index.d.ts +1 -1
- package/lib/modules/chat/components/chat-bar/index.js +5 -3
- package/lib/modules/chat/components/chat-select/select-item/index.js +1 -1
- package/lib/modules/chat/components/message-list/index.js +1 -2
- package/lib/modules/chat/components/message-list/message-item/index.d.ts +0 -1
- package/lib/modules/chat/components/message-list/message-item/index.js +9 -10
- package/lib/modules/chat/index.css +24 -0
- package/lib/modules/chat/view.js +13 -3
- package/lib/modules/components/device-control/components/carmera/index.js +4 -5
- package/lib/modules/components/device-control/components/microphone/index.js +4 -5
- package/lib/modules/components/device-control/index.css +6 -3
- package/lib/modules/components/leave-meeting/components/assign-host.js +26 -4
- package/lib/modules/components/leave-meeting/components/index.css +35 -0
- package/lib/modules/components/leave-meeting/index.js +1 -0
- package/lib/modules/components/leave-meeting/store.js +25 -67
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +3 -2
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +1 -1
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +10 -9
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +2 -2
- package/lib/modules/components/member-window/components/member-actions/components/user-info.js +1 -1
- package/lib/modules/components/member-window/components/member-actions/index.js +2 -2
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player.js +3 -14
- package/lib/modules/components/member-window/index.css +18 -7
- package/lib/modules/components/member-window/types.d.ts +1 -1
- package/lib/modules/components/security-menu/index.css +2 -2
- package/lib/modules/components/security-menu/index.js +80 -28
- package/lib/modules/components/tab-frame/index.css +1 -1
- package/lib/modules/control-bar/components/meeting-details/index.css +1 -1
- package/lib/modules/control-bar/components/meeting-details/index.js +15 -9
- package/lib/modules/control-bar/components/more-actions/index.js +3 -21
- package/lib/modules/control-bar/components/share-state-nav/index.js +4 -20
- package/lib/modules/control-bar/index.d.ts +2 -0
- package/lib/modules/control-bar/index.js +3 -1
- package/lib/modules/control-bar/store.d.ts +11 -2
- package/lib/modules/control-bar/store.js +103 -95
- package/lib/modules/control-bar/view.js +1 -6
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
- package/lib/modules/dialog/components/chat/electron.d.ts +1 -3
- package/lib/modules/dialog/components/chat/index.js +24 -17
- package/lib/modules/dialog/components/confirm-leave-meeting/index.d.ts +6 -0
- package/lib/modules/dialog/components/confirm-leave-meeting/index.js +86 -0
- package/lib/modules/dialog/components/control-bar/index.d.ts +1 -2
- package/lib/modules/dialog/components/control-bar/index.js +5 -17
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +4 -2
- package/lib/modules/dialog/components/dialog-container/index.css +2 -1
- package/lib/modules/dialog/components/dialog-container/index.d.ts +1 -0
- package/lib/modules/dialog/components/dialog-container/index.js +3 -1
- package/lib/modules/dialog/components/participant/index.d.ts +0 -1
- package/lib/modules/dialog/components/participant/index.js +15 -24
- package/lib/modules/dialog/components/pre-setting/electron.d.ts +2 -0
- package/lib/modules/dialog/components/pre-setting/electron.js +51 -0
- package/lib/modules/dialog/components/pre-setting/index.css +26 -0
- package/lib/modules/dialog/components/pre-setting/index.d.ts +6 -0
- package/lib/modules/dialog/components/pre-setting/index.js +38 -0
- package/lib/modules/dialog/components/pre-setting-container/component/body.d.ts +8 -0
- package/lib/modules/dialog/components/pre-setting-container/component/body.js +80 -0
- package/lib/modules/dialog/components/pre-setting-container/index.css +82 -0
- package/lib/modules/dialog/components/pre-setting-container/index.d.ts +18 -0
- package/lib/modules/dialog/components/pre-setting-container/index.js +117 -0
- package/lib/modules/dialog/components/rename/index.d.ts +4 -0
- package/lib/modules/dialog/components/rename/index.js +72 -0
- package/lib/modules/dialog/components/video-window/index.js +18 -16
- package/lib/modules/dialog/components/widget/electron.d.ts +2 -1
- package/lib/modules/dialog/components/widget/electron.js +3 -2
- package/lib/modules/dialog/components/widget/index.d.ts +2 -1
- package/lib/modules/dialog/components/widget/index.js +4 -6
- package/lib/modules/dialog/dialogs.d.ts +1 -0
- package/lib/modules/dialog/dialogs.js +3 -2
- package/lib/modules/dialog/hooks/useElectron.d.ts +2 -0
- package/lib/modules/dialog/hooks/useElectron.js +11 -13
- package/lib/modules/dialog/index.d.ts +2 -0
- package/lib/modules/dialog/index.js +2 -1
- package/lib/modules/dialog/store.d.ts +8 -3
- package/lib/modules/dialog/store.js +38 -26
- package/lib/modules/dialog/type.d.ts +1 -0
- package/lib/modules/dialog/view.js +2 -1
- package/lib/modules/event-confirm/index.d.ts +2 -0
- package/lib/modules/event-confirm/index.js +2 -1
- package/lib/modules/event-confirm/store.d.ts +9 -1
- package/lib/modules/event-confirm/store.js +94 -8
- package/lib/modules/event-confirm/view.js +55 -46
- package/lib/modules/{sound-effect → event-sound}/index.d.ts +3 -2
- package/lib/modules/{sound-effect → event-sound}/index.js +9 -5
- package/lib/modules/event-toast/store.js +2 -0
- package/lib/modules/interpreter/dialog-content/index.js +4 -1
- package/lib/modules/interpreter/index.d.ts +2 -0
- package/lib/modules/interpreter/index.js +2 -1
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -0
- package/lib/modules/interpreter/store.d.ts +2 -2
- package/lib/modules/interpreter/store.js +30 -24
- package/lib/modules/interpreter/type.d.ts +2 -0
- package/lib/modules/invite/components/pstn-invite.js +3 -9
- package/lib/modules/invite/components/voip-invite.css +26 -0
- package/lib/modules/invite/components/voip-invite.d.ts +1 -0
- package/lib/modules/invite/components/voip-invite.js +8 -11
- package/lib/modules/invite/index.css +16 -3
- package/lib/modules/invite/index.d.ts +2 -1
- package/lib/modules/invite/index.js +2 -1
- package/lib/modules/invite/store.d.ts +5 -1
- package/lib/modules/invite/store.js +8 -1
- package/lib/modules/layout/components/Carousel.d.ts +1 -1
- package/lib/modules/layout/components/Carousel.js +16 -118
- package/lib/modules/layout/components/CommonVideoRenderer.d.ts +13 -0
- package/lib/modules/layout/components/CommonVideoRenderer.js +214 -0
- package/lib/modules/layout/components/Gallery.d.ts +1 -0
- package/lib/modules/layout/components/Gallery.js +62 -205
- package/lib/modules/layout/components/index.css +17 -34
- package/lib/modules/layout/index.d.ts +2 -0
- package/lib/modules/layout/index.js +2 -1
- package/lib/modules/layout/store.d.ts +5 -2
- package/lib/modules/layout/store.js +47 -39
- package/lib/modules/layout/type.d.ts +4 -0
- package/lib/modules/layout/type.js +6 -1
- package/lib/modules/live-streaming/store.d.ts +1 -0
- package/lib/modules/live-streaming/store.js +19 -8
- package/lib/modules/participant/components/confirm-input/index.d.ts +4 -4
- package/lib/modules/participant/components/confirm-input/index.js +74 -6
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +27 -3
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.css +4 -0
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -2
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.css +4 -3
- package/lib/modules/participant/components/participants/components/participants/components/attendee/index.js +1 -0
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.css +9 -1
- package/lib/modules/participant/components/participants/components/participants/components/participants-more/index.js +1 -1
- package/lib/modules/participant/components/participants/components/participants/index.css +1 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +18 -0
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +12 -5
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -8
- package/lib/modules/participant/index.css +6 -0
- package/lib/modules/participant/index.d.ts +1 -0
- package/lib/modules/participant/index.js +9 -0
- package/lib/modules/participant/store.d.ts +6 -0
- package/lib/modules/participant/store.js +130 -96
- package/lib/modules/pc-audio-connect/store.js +1 -1
- package/lib/modules/phone-audio-connect/index.d.ts +2 -0
- package/lib/modules/phone-audio-connect/index.js +2 -1
- package/lib/modules/phone-audio-connect/store.d.ts +4 -1
- package/lib/modules/phone-audio-connect/store.js +4 -2
- package/lib/modules/setting/audio-settings/audio-settings.js +70 -48
- package/lib/modules/setting/audio-settings/index.css +23 -6
- package/lib/modules/setting/general-settings/general-settings.d.ts +1 -2
- package/lib/modules/setting/general-settings/general-settings.js +111 -37
- package/lib/modules/setting/general-settings/index.css +15 -0
- package/lib/modules/setting/index.d.ts +4 -1
- package/lib/modules/setting/index.js +7 -4
- package/lib/modules/setting/state/index.js +1 -1
- package/lib/modules/setting/store.d.ts +24 -11
- package/lib/modules/setting/store.js +203 -142
- package/lib/modules/setting/video-settings/index.css +13 -2
- package/lib/modules/setting/video-settings/video-settings-basic.js +18 -27
- package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
- package/lib/modules/setting/video-settings/video-settings.js +3 -2
- package/lib/modules/setting/view.d.ts +11 -2
- package/lib/modules/setting/view.js +93 -71
- package/lib/modules/share-screen/components/selection/index.js +6 -2
- package/lib/modules/share-screen/index.d.ts +4 -1
- package/lib/modules/share-screen/index.js +3 -1
- package/lib/modules/share-screen/store.d.ts +15 -5
- package/lib/modules/share-screen/store.js +105 -59
- package/lib/modules/share-screen/view.js +1 -1
- package/lib/modules/state-bar/index.css +4 -2
- package/lib/modules/state-bar/index.d.ts +2 -0
- package/lib/modules/state-bar/index.js +2 -1
- package/lib/modules/state-bar/layout-config.js +1 -0
- package/lib/modules/state-bar/live-streaming-state.js +1 -0
- package/lib/modules/state-bar/meeting-detail.css +10 -1
- package/lib/modules/state-bar/meeting-details.js +42 -26
- package/lib/modules/state-bar/meeting-network-state.css +8 -0
- package/lib/modules/state-bar/meeting-time.js +9 -20
- package/lib/modules/state-bar/store.d.ts +5 -1
- package/lib/modules/state-bar/store.js +10 -3
- package/lib/modules/state-bar/view.js +17 -6
- package/lib/modules/video-window/components/members/index.js +0 -3
- package/lib/modules/waiting-room-layout/index.css +13 -0
- package/lib/modules/waiting-room-layout/index.d.ts +2 -1
- package/lib/modules/waiting-room-layout/index.js +2 -1
- package/lib/modules/waiting-room-layout/store.d.ts +12 -1
- package/lib/modules/waiting-room-layout/store.js +42 -6
- package/lib/modules/waiting-room-layout/view.js +22 -5
- package/lib/modules/whiteboard/components/control-bar/index.css +1 -1
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +1 -1
- package/lib/modules/whiteboard/components/switch-theme/libs.js +3 -1
- package/lib/modules/whiteboard/components/toolbar/ style.css +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +3 -14
- package/lib/modules/whiteboard/components/toolbar/components/expansion/index.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/expansion/index.js +83 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +2 -2
- package/lib/modules/whiteboard/components/toolbar/components/history.js +3 -3
- package/lib/modules/whiteboard/components/toolbar/components/item/index.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/item/index.js +42 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -2
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +2 -2
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +3 -3
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +6 -6
- package/lib/modules/whiteboard/components/toolbar/index.js +9 -113
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +18 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +276 -83
- package/lib/modules/whiteboard/context.d.ts +1 -2
- package/lib/modules/whiteboard/index.d.ts +1 -14
- package/lib/modules/whiteboard/index.js +131 -426
- package/lib/modules/whiteboard/view.js +12 -10
- package/lib/modules/widget/sdk.js +2 -1
- package/lib/object-manager.d.ts +8 -0
- package/lib/object-manager.js +75 -0
- package/lib/plugins/browser-runtime-plugin.js +19 -14
- package/lib/providers/ability-provider.d.ts +8 -0
- package/lib/providers/ability-provider.js +14 -0
- package/lib/providers/device-privilege-provider.d.ts +1 -0
- package/lib/providers/device-privilege-provider.js +53 -75
- package/lib/providers/device-provider.d.ts +18 -8
- package/lib/providers/device-provider.js +397 -209
- package/lib/providers/device-stream-provider.js +0 -4
- package/lib/providers/dialog-provider.d.ts +1 -0
- package/lib/providers/dialog-provider.js +4 -18
- package/lib/providers/event-provider.js +45 -2
- package/lib/providers/interpreter-provider.d.ts +4 -0
- package/lib/providers/interpreter-provider.js +166 -137
- package/lib/providers/message-provider.js +44 -2
- package/lib/providers/privilege-provider.d.ts +33 -0
- package/lib/providers/privilege-provider.js +120 -45
- package/lib/providers/room-provider.d.ts +12 -10
- package/lib/providers/room-provider.js +162 -262
- package/lib/providers/screen-share-provider.d.ts +4 -0
- package/lib/providers/screen-share-provider.js +3 -6
- package/lib/providers/widget-provider.js +6 -4
- package/lib/runtime.d.ts +20 -8
- package/lib/scenes/main-scene.d.ts +2 -0
- package/lib/scenes/main-scene.js +95 -37
- package/lib/scenes/waiting-scene.js +16 -13
- package/lib/schema.d.ts +55 -32
- package/lib/schema.js +23 -9
- package/lib/shared-data-source/config.d.ts +6 -2
- package/lib/shared-data-source/config.js +81 -10
- package/lib/shared-data-source/member-data.d.ts +16 -20
- package/lib/shared-data-source/member-data.js +121 -110
- package/lib/shared-data-source/screen-share-data-source.d.ts +37 -0
- package/lib/shared-data-source/screen-share-data-source.js +134 -0
- package/lib/shared-data-source/security-data.d.ts +1 -0
- package/lib/shared-data-source/security-data.js +3 -5
- package/lib/shared-data-source/setting.d.ts +1 -0
- package/lib/shared-data-source/setting.js +33 -17
- package/lib/shared-data-source/video-window.d.ts +3 -3
- package/lib/shared-data-source/video-window.js +55 -38
- package/lib/translations/enUS.d.ts +48 -1
- package/lib/translations/enUS.js +101 -17
- package/lib/translations/zhCN.d.ts +48 -1
- package/lib/translations/zhCN.js +88 -4
- package/lib/type.d.ts +40 -20
- package/lib/type.js +14 -1
- package/lib/ui-manager.d.ts +11 -9
- package/lib/ui-manager.js +118 -29
- package/lib/ui-scene.d.ts +7 -4
- package/lib/ui-scene.js +111 -128
- package/lib/utilities/constant.d.ts +3 -1
- package/lib/utilities/constant.js +2 -0
- package/lib/utilities/copyText.js +15 -11
- package/lib/utilities/default-config.d.ts +2 -0
- package/lib/utilities/default-config.js +11 -5
- package/lib/utilities/i18n-common-data.d.ts +2 -0
- package/lib/utilities/i18n-common-data.js +15 -0
- package/lib/utilities/logger.d.ts +0 -1
- package/lib/utilities/logger.js +3 -4
- package/lib/utilities/renderer.d.ts +0 -9
- package/lib/utilities/renderer.js +1 -70
- package/lib/utilities/screen.js +3 -1
- package/lib/utilities/setting-config-storage.d.ts +6 -1
- package/lib/utilities/setting-config-storage.js +21 -4
- package/lib/utilities/tools.d.ts +7 -6
- package/lib/utilities/tools.js +56 -44
- package/lib/utilities/ui-resources.d.ts +6 -0
- package/lib/utilities/ui-resources.js +47 -9
- package/lib/waiting-room-control-manager.d.ts +4 -4
- package/lib/waiting-room-control-manager.js +29 -9
- package/package.json +6 -6
- package/public/assets/browser/images/default1.jpg +0 -0
- package/public/assets/browser/images/default2.jpg +0 -0
- package/public/assets/browser/images/default3.jpg +0 -0
- package/public/assets/browser/images/default4.jpg +0 -0
- package/public/assets/browser/images/default5.jpg +0 -0
- package/public/assets/browser/images/default6.jpg +0 -0
- package/public/assets/browser/images/default7.jpg +0 -0
- package/public/assets/browser/sound_effects/pretest.mp3 +0 -0
- package/public/assets/browser/sound_effects/recording_started.mp3 +0 -0
- package/public/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
- package/public/assets/browser/sound_effects/speaker_test.mp3 +0 -0
- package/public/assets/browser/videos/default8.mp4 +0 -0
- package/public/assets/browser/videos/default9.mp4 +0 -0
- package/public/assets/electron/images/default1.jpg +0 -0
- package/public/assets/electron/images/default2.jpg +0 -0
- package/public/assets/electron/sound_effects/pretest.mp3 +0 -0
- package/public/assets/electron/videos/default8.mp4 +0 -0
- package/public/index.html +103 -82
- package/lib/hooks/meeting-time.d.ts +0 -15
- package/lib/hooks/meeting-time.js +0 -92
- package/lib/login-confirm-dialog.d.ts +0 -13
- package/lib/login-confirm-dialog.js +0 -85
- package/lib/modules/action-bar/components/apps/appitems.d.ts +0 -3
- package/lib/modules/action-bar/components/apps/appitems.js +0 -45
- package/lib/modules/components/member-window/components/member-board.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-board.js +0 -63
- package/lib/modules/dialog/components/system-preference/bg1.png +0 -0
- package/lib/modules/dialog/components/system-preference/bg2.png +0 -0
- package/lib/modules/dialog/types/index.d.ts +0 -70
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +0 -6
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +0 -28
- package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +0 -7
- package/lib/modules/participant/components/attendee/components/user-avatar/index.js +0 -39
- package/lib/modules/participant/components/attendee/index.css +0 -69
- package/lib/modules/participant/components/attendee/index.d.ts +0 -4
- package/lib/modules/participant/components/attendee/index.js +0 -337
- package/lib/modules/participant/components/drop-menu/index.css +0 -60
- package/lib/modules/participant/components/drop-menu/index.d.ts +0 -2
- package/lib/modules/participant/components/drop-menu/index.js +0 -189
- package/lib/modules/participant/components/footer/buttons.d.ts +0 -6
- package/lib/modules/participant/components/footer/buttons.js +0 -52
- package/lib/modules/participant/components/footer/index.d.ts +0 -4
- package/lib/modules/participant/components/footer/index.js +0 -37
- package/lib/modules/participant/components/merge/index.d.ts +0 -11
- package/lib/modules/participant/components/merge/index.js +0 -49
- package/lib/modules/participant/components/rename/index.d.ts +0 -4
- package/lib/modules/participant/components/rename/index.js +0 -45
- package/lib/modules/participant/components/user-action/index.d.ts +0 -17
- package/lib/modules/participant/components/user-action/index.js +0 -169
- package/lib/modules/video-window/deviceState/index.d.ts +0 -16
- package/lib/modules/video-window/deviceState/index.js +0 -75
- package/lib/modules/video-window/members/index.css +0 -51
- package/lib/modules/video-window/members/index.d.ts +0 -2
- package/lib/modules/video-window/members/index.js +0 -157
- package/lib/modules/video-window/speaking/index.css +0 -69
- package/lib/modules/video-window/speaking/index.d.ts +0 -3
- package/lib/modules/video-window/speaking/index.js +0 -57
- package/lib/modules/video-window/topControl/index.css +0 -35
- package/lib/modules/video-window/topControl/index.d.ts +0 -3
- package/lib/modules/video-window/topControl/index.js +0 -92
- /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.d.ts +0 -0
- /package/lib/modules/{sound-effect → event-sound}/sound-effect-player.js +0 -0
|
@@ -13,8 +13,14 @@
|
|
|
13
13
|
border-radius: var(--fcr_cornerradius_l);
|
|
14
14
|
}
|
|
15
15
|
.attendee__more-actions {
|
|
16
|
+
min-width: 210px;
|
|
16
17
|
max-width: 300px;
|
|
18
|
+
border: 0;
|
|
17
19
|
padding: 0;
|
|
20
|
+
box-shadow: 0px 0px 15px var(--fcr_web_light_dropup_m);
|
|
21
|
+
border-radius: var(--fcr_cornerradius_l);
|
|
22
|
+
min-width: 210px;
|
|
23
|
+
max-width: 300px;
|
|
18
24
|
}
|
|
19
25
|
|
|
20
26
|
.operate-waiting-room-dialog-content {
|
|
@@ -25,6 +31,18 @@
|
|
|
25
31
|
background: white;
|
|
26
32
|
padding: 20px;
|
|
27
33
|
border-radius: 20px;
|
|
34
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.fcr-rename-dialog-content {
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
background: white;
|
|
43
|
+
border-radius: 20px;
|
|
44
|
+
padding-top: 4px;
|
|
45
|
+
background-color: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
28
46
|
}
|
|
29
47
|
|
|
30
48
|
.operate-waiting-room-dialog-title {
|
|
@@ -38,6 +38,7 @@ var _interpreterTag = require("./components/interpreter-tag");
|
|
|
38
38
|
var _store = require("../../../../../../store");
|
|
39
39
|
var _types = require("../../../../types");
|
|
40
40
|
var _type2 = require("../../../../../../../../type");
|
|
41
|
+
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
41
42
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
42
43
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
43
44
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -79,15 +80,21 @@ var ParticipantAttendee = exports.ParticipantAttendee = (0, _mobxReact.observer)
|
|
|
79
80
|
}, (0, _userAvatar.userAvatar)(userType)))
|
|
80
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
81
82
|
className: "attendee__user-info-identity",
|
|
82
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
83
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
83
84
|
className: "attendee__name",
|
|
84
85
|
style: {
|
|
85
86
|
color: nameColor
|
|
86
87
|
},
|
|
87
|
-
children:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
89
|
+
content: userName,
|
|
90
|
+
trigger: "hover",
|
|
91
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
92
|
+
children: [userName, isMe && /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
93
|
+
className: "attendee__me-badge",
|
|
94
|
+
children: ["(", t('fmt_participant_label_Me'), ")"]
|
|
95
|
+
})]
|
|
96
|
+
})
|
|
97
|
+
})
|
|
91
98
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
92
99
|
className: "attendee__tag-group",
|
|
93
100
|
children: [isHost && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -37,15 +37,8 @@ var MoreActionsPopover = exports.MoreActionsPopover = function MoreActionsPopove
|
|
|
37
37
|
};
|
|
38
38
|
}, []);
|
|
39
39
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
40
|
+
showArrow: false,
|
|
40
41
|
visible: isShowDropMenu,
|
|
41
|
-
overlayInnerStyle: {
|
|
42
|
-
border: 0,
|
|
43
|
-
boxShadow: '0px 0px 15px var(--fcr_web_light_dropup_m)',
|
|
44
|
-
borderRadius: 'var(--fcr_cornerradius_l)',
|
|
45
|
-
minWidth: '210px',
|
|
46
|
-
maxWidth: '300px',
|
|
47
|
-
width: 'fit-content'
|
|
48
|
-
},
|
|
49
42
|
overlayClassName: "attendee__more-actions",
|
|
50
43
|
mouseEnterDelay: 0,
|
|
51
44
|
content: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -50,5 +50,6 @@ export declare class ParticipantUIModule extends UIModule {
|
|
|
50
50
|
onNodeWillInactive(): void;
|
|
51
51
|
getComponent(): import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
getWaitingRoomDialog(params: OperateWaitingRoomMemberDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
getRenameDialogContent(): import("react/jsx-runtime").JSX.Element;
|
|
53
54
|
onProcessEvent(event: RendererCustomEvent): void;
|
|
54
55
|
}
|
|
@@ -42,6 +42,7 @@ var _store = _interopRequireWildcard(require("./store"));
|
|
|
42
42
|
var _view = require("./view");
|
|
43
43
|
require("./index.css");
|
|
44
44
|
var _operateWaitingroomMember = require("./components/operate-waitingroom-member");
|
|
45
|
+
var _confirmInput = require("./components/confirm-input");
|
|
45
46
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
46
47
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
47
48
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
@@ -110,6 +111,14 @@ var ParticipantUIModule = exports.ParticipantUIModule = /*#__PURE__*/function (_
|
|
|
110
111
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_operateWaitingroomMember.OperateWaitingRoomMemberDialog, _objectSpread({}, params))
|
|
111
112
|
});
|
|
112
113
|
}
|
|
114
|
+
}, {
|
|
115
|
+
key: "getRenameDialogContent",
|
|
116
|
+
value: function getRenameDialogContent() {
|
|
117
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_store.StoreContext.Provider, {
|
|
118
|
+
value: this._store,
|
|
119
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_confirmInput.FcrWrapConfirmRenameForm, {})
|
|
120
|
+
});
|
|
121
|
+
}
|
|
113
122
|
}, {
|
|
114
123
|
key: "onProcessEvent",
|
|
115
124
|
value: function onProcessEvent(event) {
|
|
@@ -68,6 +68,8 @@ export default class ParticipantStore {
|
|
|
68
68
|
private _whitebaordObderver;
|
|
69
69
|
private _sharedSettingDataSource;
|
|
70
70
|
private _sharedSecuritySharedDataSource;
|
|
71
|
+
private _operatorRenameUserId;
|
|
72
|
+
private _operatorRenameUserName;
|
|
71
73
|
private accessor _mainList;
|
|
72
74
|
private accessor _isChecked;
|
|
73
75
|
accessor _participantsWindowActive: boolean;
|
|
@@ -85,6 +87,7 @@ export default class ParticipantStore {
|
|
|
85
87
|
accessor allowUnmute: boolean;
|
|
86
88
|
accessor joinWithMuteAudio: boolean;
|
|
87
89
|
accessor showBecomeHostButton: boolean;
|
|
90
|
+
get operatorRenameUserName(): string;
|
|
88
91
|
get audioVolumeMap(): Map<string, number>;
|
|
89
92
|
get localUser(): FcrUserInfo;
|
|
90
93
|
get localUserRole(): FcrUserRole;
|
|
@@ -163,9 +166,12 @@ export default class ParticipantStore {
|
|
|
163
166
|
openMuteAllDialog(params: OpenMuteAllDialogProps): void;
|
|
164
167
|
isHostSupported(userId: string): boolean;
|
|
165
168
|
handlerUserAction(action: ParticipantActionType, userId: string): void;
|
|
169
|
+
private _getPinStreamIdFromUser;
|
|
166
170
|
private _handleUserPropertiesUpdated;
|
|
167
171
|
private _handleRemoteUsersJoined;
|
|
168
172
|
private _handleUserInfoUpdated;
|
|
173
|
+
handleConfirmChangeName(): Promise<void>;
|
|
174
|
+
handleCancelChangeName(): void;
|
|
169
175
|
private _openChangeNameDialog;
|
|
170
176
|
private _closeChangeNameDialog;
|
|
171
177
|
private _moveToWaitingRoomByUserIds;
|
|
@@ -110,7 +110,7 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
|
110
110
|
var _i18n2 = require("../../hooks/i18n");
|
|
111
111
|
var _type4 = require("fcr-core/lib/room-control/user-control/type");
|
|
112
112
|
var _react = require("react");
|
|
113
|
-
var _confirmInput =
|
|
113
|
+
var _confirmInput = require("./components/confirm-input");
|
|
114
114
|
var _type5 = require("fcr-core/lib/room-control/privilege-control/type");
|
|
115
115
|
var _env = require("agora-foundation/lib/utilities/env");
|
|
116
116
|
var _type6 = require("../../type");
|
|
@@ -120,7 +120,7 @@ var _imports = require("fcr-core/lib/imports");
|
|
|
120
120
|
var _logger = require("../../utilities/logger");
|
|
121
121
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
122
122
|
var _ParticipantStore;
|
|
123
|
-
var _initProto, _init__mainList, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _setCurrentModalDecs, _openParticipantsWindowDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _closeRemoveAdmitWaitingRoomDialogDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _isHostSupportedDecs, _handlerUserActionDecs, _closeChangeNameDialogDecs, _moveToWaitingRoomByUserIdsDecs, _removeWaitingRoomUserDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handlerRoomControlActionDecs, _handleEventDecs, _moveToMainRoomByUserIdsDecs, _handleActiveTabDecs, _kickOutUserDecs, _setAsAttendeeDecs, _onPeerSessionReceivedDecs, _getOutputLanguageDecs, _ref;
|
|
123
|
+
var _initProto, _init__mainList, _init__isChecked, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_interpreterInputLanguageList, _init_newName, _init_allowUnmute, _init_joinWithMuteAudio, _init_showBecomeHostButton, _setCurrentModalDecs, _openParticipantsWindowDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _closeRemoveAdmitWaitingRoomDialogDecs, _openRemoveAdmitWaitingRoomDialogDecs, _setAllowUnmuteDecs, _setAllowJoinWithMuteAudioDecs, _openMuteAllDialogDecs, _isHostSupportedDecs, _handlerUserActionDecs, _handleConfirmChangeNameDecs, _handleCancelChangeNameDecs, _closeChangeNameDialogDecs, _moveToWaitingRoomByUserIdsDecs, _removeWaitingRoomUserDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handlerRoomControlActionDecs, _handleEventDecs, _moveToMainRoomByUserIdsDecs, _handleActiveTabDecs, _kickOutUserDecs, _setAsAttendeeDecs, _onPeerSessionReceivedDecs, _getOutputLanguageDecs, _ref;
|
|
124
124
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
125
125
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
126
126
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -151,7 +151,7 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
151
151
|
var _L = /*#__PURE__*/new WeakMap();
|
|
152
152
|
var _M = /*#__PURE__*/new WeakMap();
|
|
153
153
|
var _N = /*#__PURE__*/new WeakMap();
|
|
154
|
-
_ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _openParticipantsWindowDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _closeRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _isHostSupportedDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
154
|
+
_ref = (_setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _openParticipantsWindowDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _closeRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _openRemoveAdmitWaitingRoomDialogDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _openMuteAllDialogDecs = [_mobx.action, _mobx.action.bound], _isHostSupportedDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _handleConfirmChangeNameDecs = [_mobx.action, _mobx.action.bound], _handleCancelChangeNameDecs = [_mobx.action, _mobx.action.bound], _closeChangeNameDialogDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _kickOutUserDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _getOutputLanguageDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
155
155
|
var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
156
156
|
function ParticipantStore(_ref2) {
|
|
157
157
|
var _this = this,
|
|
@@ -231,6 +231,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
231
231
|
_this._sharedMemberDataSource.updateMemberListWithBoardState();
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
|
+
(0, _defineProperty2["default"])(this, "_operatorRenameUserId", '');
|
|
235
|
+
(0, _defineProperty2["default"])(this, "_operatorRenameUserName", '');
|
|
234
236
|
_classPrivateFieldInitSpec(this, _A, _init__mainList(this, []));
|
|
235
237
|
_classPrivateFieldInitSpec(this, _B, _init__isChecked(this, {}));
|
|
236
238
|
_classPrivateFieldInitSpec(this, _C, _init__participantsWindowActive(this, false));
|
|
@@ -490,6 +492,11 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
490
492
|
set: function set(v) {
|
|
491
493
|
_classPrivateFieldSet(_N, this, v);
|
|
492
494
|
}
|
|
495
|
+
}, {
|
|
496
|
+
key: "operatorRenameUserName",
|
|
497
|
+
get: function get() {
|
|
498
|
+
return this._operatorRenameUserName;
|
|
499
|
+
}
|
|
493
500
|
}, {
|
|
494
501
|
key: "audioVolumeMap",
|
|
495
502
|
get: function get() {
|
|
@@ -788,10 +795,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
788
795
|
}, {
|
|
789
796
|
key: "removePin",
|
|
790
797
|
value: function removePin(userId) {
|
|
791
|
-
var
|
|
792
|
-
var streamId = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 || (_this$userMap$get3 = _this$userMap$get3.streams.find(function (stream) {
|
|
793
|
-
return stream.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA;
|
|
794
|
-
})) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.streamId;
|
|
798
|
+
var streamId = this._getPinStreamIdFromUser(userId);
|
|
795
799
|
if (streamId) {
|
|
796
800
|
this._sharedPinDataSource.removePin(streamId);
|
|
797
801
|
}
|
|
@@ -799,10 +803,15 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
799
803
|
}, {
|
|
800
804
|
key: "addPin",
|
|
801
805
|
value: function addPin(userId) {
|
|
802
|
-
var
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
+
var shouldHideMyVideo = this._sharedSettingDataSource.setting.shouldHideMyVideo;
|
|
807
|
+
if (shouldHideMyVideo && userId === this.localUser.userId) {
|
|
808
|
+
this._messageProvider.showToast({
|
|
809
|
+
type: 'error',
|
|
810
|
+
message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_my_window_pin_cancelled')
|
|
811
|
+
});
|
|
812
|
+
return;
|
|
813
|
+
}
|
|
814
|
+
var streamId = this._getPinStreamIdFromUser(userId);
|
|
806
815
|
if (streamId) {
|
|
807
816
|
this._sharedPinDataSource.addPin(streamId);
|
|
808
817
|
}
|
|
@@ -893,8 +902,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
893
902
|
}, {
|
|
894
903
|
key: "isHostSupported",
|
|
895
904
|
value: function isHostSupported(userId) {
|
|
896
|
-
var _this$userMap$
|
|
897
|
-
var user = (_this$userMap$
|
|
905
|
+
var _this$userMap$get3;
|
|
906
|
+
var user = (_this$userMap$get3 = this.userMap.get(userId)) === null || _this$userMap$get3 === void 0 ? void 0 : _this$userMap$get3.userInfo;
|
|
898
907
|
if (!(user !== null && user !== void 0 && user.platform)) return false;
|
|
899
908
|
return this._abilityProvider.isHostSupportedByPlatform(user.platform);
|
|
900
909
|
}
|
|
@@ -922,13 +931,13 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
922
931
|
if (this.activeTab === _type6.FcrUIRoomType.MAIN_ROOM) {
|
|
923
932
|
this._kickOutUser(userId);
|
|
924
933
|
} else {
|
|
925
|
-
var _this$userMap$
|
|
934
|
+
var _this$userMap$get4;
|
|
926
935
|
this.openRemoveAdmitWaitingRoomDialog({
|
|
927
936
|
userId: userId,
|
|
928
937
|
type: 'remove',
|
|
929
938
|
title: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_popup_removeall'),
|
|
930
939
|
tooltip: (0, _i18n.transI18n)('fmt_waitingroom_sidebar_popup_label_remove', {
|
|
931
|
-
reason1: (_this$userMap$
|
|
940
|
+
reason1: (_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.userInfo.userName
|
|
932
941
|
}),
|
|
933
942
|
onChecked: function onChecked(isChecked) {
|
|
934
943
|
_this8._isChecked['remove'] = isChecked;
|
|
@@ -986,6 +995,18 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
986
995
|
break;
|
|
987
996
|
}
|
|
988
997
|
}
|
|
998
|
+
}, {
|
|
999
|
+
key: "_getPinStreamIdFromUser",
|
|
1000
|
+
value: function _getPinStreamIdFromUser(userId) {
|
|
1001
|
+
var _streams$find;
|
|
1002
|
+
var user = this.userMap.get(userId);
|
|
1003
|
+
var isPSTN = (user === null || user === void 0 ? void 0 : user.userInfo.connectorType) === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
1004
|
+
var streams = user === null || user === void 0 ? void 0 : user.streams;
|
|
1005
|
+
var streamId = streams === null || streams === void 0 || (_streams$find = streams.find(function (stream) {
|
|
1006
|
+
return stream.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA || isPSTN && stream.videoSourceType === _fcrCore.FcrVideoSourceType.NONE;
|
|
1007
|
+
})) === null || _streams$find === void 0 ? void 0 : _streams$find.streamId;
|
|
1008
|
+
return streamId;
|
|
1009
|
+
}
|
|
989
1010
|
}, {
|
|
990
1011
|
key: "_handleUserPropertiesUpdated",
|
|
991
1012
|
value: function _handleUserPropertiesUpdated() {
|
|
@@ -1011,51 +1032,47 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1011
1032
|
this.showBecomeHostButton = false;
|
|
1012
1033
|
}
|
|
1013
1034
|
}
|
|
1035
|
+
}, {
|
|
1036
|
+
key: "handleConfirmChangeName",
|
|
1037
|
+
value: function () {
|
|
1038
|
+
var _handleConfirmChangeName = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
1039
|
+
var _this9 = this;
|
|
1040
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
1041
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1042
|
+
case 0:
|
|
1043
|
+
_context.next = 2;
|
|
1044
|
+
return this._userControl.updateUserName(this._operatorRenameUserId, this.newName);
|
|
1045
|
+
case 2:
|
|
1046
|
+
(0, _mobx.runInAction)(function () {
|
|
1047
|
+
_this9._closeChangeNameDialog();
|
|
1048
|
+
_this9._messageProvider.showToast({
|
|
1049
|
+
type: 'normal',
|
|
1050
|
+
message: (0, _i18n.transI18n)('fmt_additional_tips_nickname_change_success')
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
case 3:
|
|
1054
|
+
case "end":
|
|
1055
|
+
return _context.stop();
|
|
1056
|
+
}
|
|
1057
|
+
}, _callee, this);
|
|
1058
|
+
}));
|
|
1059
|
+
function handleConfirmChangeName() {
|
|
1060
|
+
return _handleConfirmChangeName.apply(this, arguments);
|
|
1061
|
+
}
|
|
1062
|
+
return handleConfirmChangeName;
|
|
1063
|
+
}()
|
|
1064
|
+
}, {
|
|
1065
|
+
key: "handleCancelChangeName",
|
|
1066
|
+
value: function handleCancelChangeName() {
|
|
1067
|
+
this._closeChangeNameDialog();
|
|
1068
|
+
}
|
|
1014
1069
|
}, {
|
|
1015
1070
|
key: "_openChangeNameDialog",
|
|
1016
1071
|
value: function _openChangeNameDialog(userId) {
|
|
1017
|
-
var
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
onChange: function onChange(value) {
|
|
1022
|
-
return _this9.newName = String(value);
|
|
1023
|
-
}
|
|
1024
|
-
}),
|
|
1025
|
-
onOk: function () {
|
|
1026
|
-
var _onOk = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
1027
|
-
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
1028
|
-
while (1) switch (_context.prev = _context.next) {
|
|
1029
|
-
case 0:
|
|
1030
|
-
_context.next = 2;
|
|
1031
|
-
return _this9._userControl.updateUserName(userId, _this9.newName);
|
|
1032
|
-
case 2:
|
|
1033
|
-
(0, _mobx.runInAction)(function () {
|
|
1034
|
-
_this9._closeChangeNameDialog();
|
|
1035
|
-
_this9._messageProvider.showToast({
|
|
1036
|
-
type: 'normal',
|
|
1037
|
-
message: (0, _i18n.transI18n)('fmt_additional_tips_nickname_change_success')
|
|
1038
|
-
});
|
|
1039
|
-
});
|
|
1040
|
-
case 3:
|
|
1041
|
-
case "end":
|
|
1042
|
-
return _context.stop();
|
|
1043
|
-
}
|
|
1044
|
-
}, _callee);
|
|
1045
|
-
}));
|
|
1046
|
-
function onOk() {
|
|
1047
|
-
return _onOk.apply(this, arguments);
|
|
1048
|
-
}
|
|
1049
|
-
return onOk;
|
|
1050
|
-
}(),
|
|
1051
|
-
alignCenter: true,
|
|
1052
|
-
onCancel: function onCancel() {
|
|
1053
|
-
_this9._closeChangeNameDialog();
|
|
1054
|
-
},
|
|
1055
|
-
closable: false,
|
|
1056
|
-
width: 320,
|
|
1057
|
-
height: 194
|
|
1058
|
-
});
|
|
1072
|
+
var _this$userMap$get5;
|
|
1073
|
+
this._operatorRenameUserId = userId;
|
|
1074
|
+
this._operatorRenameUserName = ((_this$userMap$get5 = this.userMap.get(this._operatorRenameUserId)) === null || _this$userMap$get5 === void 0 ? void 0 : _this$userMap$get5.userInfo.userName) || '';
|
|
1075
|
+
var key = this._dialogProvider.openDialog(_constant.FcrUIDialogKey.RENAME, '');
|
|
1059
1076
|
this._changeNameDialogKey.push(key);
|
|
1060
1077
|
}
|
|
1061
1078
|
}, {
|
|
@@ -1073,12 +1090,12 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1073
1090
|
key: "_moveToWaitingRoomByUserIds",
|
|
1074
1091
|
value: function () {
|
|
1075
1092
|
var _moveToWaitingRoomByUserIds2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(userId) {
|
|
1076
|
-
var _this$userMap$
|
|
1093
|
+
var _this$userMap$get6;
|
|
1077
1094
|
var username;
|
|
1078
1095
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
1079
1096
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1080
1097
|
case 0:
|
|
1081
|
-
username = (_this$userMap$
|
|
1098
|
+
username = (_this$userMap$get6 = this.userMap.get(userId)) === null || _this$userMap$get6 === void 0 ? void 0 : _this$userMap$get6.userInfo.userName;
|
|
1082
1099
|
_context2.prev = 1;
|
|
1083
1100
|
_context2.next = 4;
|
|
1084
1101
|
return this._roomControl.moveToWaitingRoomByUserIds([userId]);
|
|
@@ -1272,7 +1289,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1272
1289
|
} else {
|
|
1273
1290
|
var targetUsers = this._streamControl.getStreamsByUserId(user);
|
|
1274
1291
|
var targetUser = targetUsers.find(function (user) {
|
|
1275
|
-
return user.
|
|
1292
|
+
return user.audioSourceType === _type2.AgoraRteAudioSourceType.MICROPHONE;
|
|
1276
1293
|
});
|
|
1277
1294
|
if (!targetUser) {
|
|
1278
1295
|
return;
|
|
@@ -1291,13 +1308,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1291
1308
|
this._deviceStreamStore.enableMicrophoneWithPreCheck(true);
|
|
1292
1309
|
} else {
|
|
1293
1310
|
var _this$_unmuteAudioTim;
|
|
1294
|
-
var targetUsers = this._streamControl.getStreamsByUserId(userId);
|
|
1295
|
-
var targetUser = targetUsers.find(function (user) {
|
|
1296
|
-
return user.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA;
|
|
1297
|
-
});
|
|
1298
|
-
if (!targetUser) {
|
|
1299
|
-
return;
|
|
1300
|
-
}
|
|
1301
1311
|
var now = Date.now();
|
|
1302
1312
|
if (now - ((_this$_unmuteAudioTim = this._unmuteAudioTimestamp.get(userId)) !== null && _this$_unmuteAudioTim !== void 0 ? _this$_unmuteAudioTim : 0) <= SESSION_DURATION * 1000) {
|
|
1303
1313
|
return;
|
|
@@ -1343,8 +1353,6 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1343
1353
|
this._deviceStreamStore.enableCameraWithPreCheck(true);
|
|
1344
1354
|
} else {
|
|
1345
1355
|
var localUser = this.localUser;
|
|
1346
|
-
var targetUsers = this._streamControl.getStreamsByUserId(userId);
|
|
1347
|
-
var targetUser = targetUsers[0];
|
|
1348
1356
|
if (localUser.userId === userId) {
|
|
1349
1357
|
this._deviceStreamStore.enableCameraWithPreCheck(true);
|
|
1350
1358
|
} else {
|
|
@@ -1368,35 +1376,45 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1368
1376
|
}, {
|
|
1369
1377
|
key: "_privateChat",
|
|
1370
1378
|
value: function _privateChat(userId) {
|
|
1371
|
-
if (!this._securityStore.permitPrivateChat(userId)) {
|
|
1372
|
-
return;
|
|
1373
|
-
}
|
|
1374
|
-
if (this._sharedLayoutDataSource.chatRenderAt !== 'dialog') {
|
|
1375
|
-
this._sharedLayoutDataSource.setAsideLayout({
|
|
1376
|
-
chat: true
|
|
1377
|
-
});
|
|
1378
|
-
this._sharedChatDataSource.activeTab = this.activeTab;
|
|
1379
|
-
}
|
|
1380
1379
|
var userData = this.userListSource.find(function (u) {
|
|
1381
1380
|
return u.userId === userId;
|
|
1382
1381
|
});
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1382
|
+
if (userData) {
|
|
1383
|
+
var hasPermissionToSendPrivateMessage = this._securityStore.hasPermissionToSendPrivateMessage(userData.userInfo.userRole);
|
|
1384
|
+
if (!hasPermissionToSendPrivateMessage) {
|
|
1385
|
+
this._messageProvider.showToast({
|
|
1386
|
+
type: 'error',
|
|
1387
|
+
message: (0, _i18n.transI18n)('fmt_attendies_tips_chat_off')
|
|
1388
|
+
});
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1391
|
+
if (!this._securityStore.permitPrivateChat(userId)) {
|
|
1392
|
+
return;
|
|
1393
|
+
}
|
|
1394
|
+
if (this._sharedLayoutDataSource.chatRenderAt !== 'dialog') {
|
|
1395
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1396
|
+
chat: true
|
|
1397
|
+
});
|
|
1398
|
+
this._sharedChatDataSource.activeTab = this.activeTab;
|
|
1399
|
+
}
|
|
1400
|
+
this._chatProvider.setPrivateChatTargetUser(userData.userInfo, this.activeTab);
|
|
1401
|
+
if ((0, _env.isElectron)() && this._screenSharingState === _fcrCore.FcrMediaSourceState.OPEN || this._sharedLayoutDataSource.chatRenderAt === 'dialog') {
|
|
1402
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.CHAT);
|
|
1403
|
+
}
|
|
1386
1404
|
}
|
|
1387
1405
|
}
|
|
1388
1406
|
}, {
|
|
1389
1407
|
key: "_kickOutUser",
|
|
1390
1408
|
value: function _kickOutUser(userId) {
|
|
1391
1409
|
var _this11 = this,
|
|
1392
|
-
_this$userMap$
|
|
1410
|
+
_this$userMap$get7;
|
|
1393
1411
|
var dialogId = this.openConfirmDialog({
|
|
1394
1412
|
title: '',
|
|
1395
1413
|
onCancel: function onCancel() {
|
|
1396
1414
|
_this11._dialogProvider.closeConfirm(dialogId);
|
|
1397
1415
|
},
|
|
1398
1416
|
content: (0, _i18n.transI18n)('fmt_uimanager_tips_Remove', {
|
|
1399
|
-
reason2: (_this$userMap$
|
|
1417
|
+
reason2: (_this$userMap$get7 = this.userMap.get(userId)) === null || _this$userMap$get7 === void 0 ? void 0 : _this$userMap$get7.userInfo.userName
|
|
1400
1418
|
}),
|
|
1401
1419
|
onOk: function onOk() {
|
|
1402
1420
|
_this11._userControl.kickOut(userId, _type4.FcrUserKickedOutType.Once);
|
|
@@ -1408,9 +1426,9 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1408
1426
|
}, {
|
|
1409
1427
|
key: "_handleSetHostOrCoHost",
|
|
1410
1428
|
value: function _handleSetHostOrCoHost(userId, type) {
|
|
1411
|
-
var _this$userMap$
|
|
1429
|
+
var _this$userMap$get8,
|
|
1412
1430
|
_this12 = this;
|
|
1413
|
-
var username = (_this$userMap$
|
|
1431
|
+
var username = (_this$userMap$get8 = this.userMap.get(userId)) === null || _this$userMap$get8 === void 0 ? void 0 : _this$userMap$get8.userInfo.userName;
|
|
1414
1432
|
var targetRole = type === 'host' ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
|
|
1415
1433
|
var dialogId = this.openConfirmDialog({
|
|
1416
1434
|
title: (0, _i18n.transI18n)('fmt_uimanager_labels_Setas', {
|
|
@@ -1424,7 +1442,8 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1424
1442
|
reason2: targetRole
|
|
1425
1443
|
}),
|
|
1426
1444
|
onOk: function () {
|
|
1427
|
-
var
|
|
1445
|
+
var _onOk = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5() {
|
|
1446
|
+
var errCode;
|
|
1428
1447
|
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
1429
1448
|
while (1) switch (_context5.prev = _context5.next) {
|
|
1430
1449
|
case 0:
|
|
@@ -1442,28 +1461,34 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1442
1461
|
_context5.next = 6;
|
|
1443
1462
|
return _this12._userControl.updateRemoteUserRole(userId, type === 'host' ? _type.FcrUserRole.HOST : _type.FcrUserRole.COHOST);
|
|
1444
1463
|
case 6:
|
|
1445
|
-
_context5.next =
|
|
1464
|
+
_context5.next = 13;
|
|
1446
1465
|
break;
|
|
1447
1466
|
case 8:
|
|
1448
1467
|
_context5.prev = 8;
|
|
1449
1468
|
_context5.t0 = _context5["catch"](3);
|
|
1450
|
-
|
|
1469
|
+
errCode = _context5.t0.code;
|
|
1470
|
+
if (errCode === '700000403') {
|
|
1451
1471
|
_this12._messageProvider.showToast({
|
|
1452
1472
|
type: 'error',
|
|
1453
1473
|
message: (0, _i18n.transI18n)('fmt_attendies_button_revokehost_error')
|
|
1454
1474
|
});
|
|
1475
|
+
} else if (errCode === '720403001') {
|
|
1476
|
+
_this12._messageProvider.showToast({
|
|
1477
|
+
type: 'error',
|
|
1478
|
+
message: (0, _i18n.transI18n)('fmt_attendies_toast_cohost_upper_limit')
|
|
1479
|
+
});
|
|
1455
1480
|
}
|
|
1456
1481
|
_this12.logger.error(_context5.t0);
|
|
1457
|
-
case 12:
|
|
1458
|
-
_this12._dialogProvider.closeConfirm(dialogId);
|
|
1459
1482
|
case 13:
|
|
1483
|
+
_this12._dialogProvider.closeConfirm(dialogId);
|
|
1484
|
+
case 14:
|
|
1460
1485
|
case "end":
|
|
1461
1486
|
return _context5.stop();
|
|
1462
1487
|
}
|
|
1463
1488
|
}, _callee5, null, [[3, 8]]);
|
|
1464
1489
|
}));
|
|
1465
1490
|
function onOk() {
|
|
1466
|
-
return
|
|
1491
|
+
return _onOk.apply(this, arguments);
|
|
1467
1492
|
}
|
|
1468
1493
|
return onOk;
|
|
1469
1494
|
}(),
|
|
@@ -1578,7 +1603,11 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1578
1603
|
key: "_onPeerSessionReceived",
|
|
1579
1604
|
value: function _onPeerSessionReceived(session) {
|
|
1580
1605
|
var _this13 = this;
|
|
1581
|
-
|
|
1606
|
+
this.logger.info('participant store onPeerSessionReceived');
|
|
1607
|
+
var recevieSessionId = session.sessionId;
|
|
1608
|
+
var userOpenDeviceInProcessed = this._processedUserOpenDeviceRequests.has(session.sessionId);
|
|
1609
|
+
this.logger.info('participant store onPeerSessionReceived userOpenDeviceInProcessed', userOpenDeviceInProcessed);
|
|
1610
|
+
if (recevieSessionId && userOpenDeviceInProcessed) {
|
|
1582
1611
|
return;
|
|
1583
1612
|
}
|
|
1584
1613
|
this._processedUserOpenDeviceRequests.add(session.sessionId);
|
|
@@ -1597,6 +1626,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1597
1626
|
var sessionKey = session.sessionKey,
|
|
1598
1627
|
payload = session.payload;
|
|
1599
1628
|
if (sessionKey === _type3.FcrUISessionKey.REQUEST_OPEN_CAMERA) {
|
|
1629
|
+
this.logger.info('participant store onPeerSessionReceived handle REQUEST_OPEN_CAMERA', localUserHasVideo);
|
|
1600
1630
|
if (localUserHasVideo) {
|
|
1601
1631
|
this._peerSessionControl.acceptPeerSession(session);
|
|
1602
1632
|
return;
|
|
@@ -1611,6 +1641,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1611
1641
|
content: (0, _i18n.transI18n)('fmt_additional_tips_cameraturnon'),
|
|
1612
1642
|
okText: (0, _i18n.transI18n)('fmt_additional_button_accept'),
|
|
1613
1643
|
cancelText: (0, _i18n.transI18n)('fmt_additional_button_refuse'),
|
|
1644
|
+
closable: false,
|
|
1614
1645
|
onOk: function onOk() {
|
|
1615
1646
|
_this13._peerSessionControl.acceptPeerSession(session);
|
|
1616
1647
|
_this13._deviceStreamStore.enableCameraWithPreCheck(true);
|
|
@@ -1637,12 +1668,15 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1637
1668
|
content: (0, _i18n.transI18n)('fmt_additional_tips_agreeturnon'),
|
|
1638
1669
|
okText: (0, _i18n.transI18n)('fmt_device_label_audio_unmute'),
|
|
1639
1670
|
cancelText: (0, _i18n.transI18n)('fmt_additional_options_Keepsilent'),
|
|
1671
|
+
closable: false,
|
|
1640
1672
|
onOk: function onOk() {
|
|
1673
|
+
_this13._processedUserOpenDeviceRequests["delete"](session.sessionId);
|
|
1641
1674
|
_this13._peerSessionControl.acceptPeerSession(session);
|
|
1642
1675
|
_this13._deviceStreamStore.enableMicrophoneWithPreCheck(true);
|
|
1643
1676
|
_this13._dialogProvider.closeConfirm(_dialogId);
|
|
1644
1677
|
},
|
|
1645
1678
|
onCancel: function onCancel() {
|
|
1679
|
+
_this13._processedUserOpenDeviceRequests["delete"](session.sessionId);
|
|
1646
1680
|
_this13._peerSessionControl.rejectPeerSession(session);
|
|
1647
1681
|
_this13._dialogProvider.closeConfirm(_dialogId);
|
|
1648
1682
|
},
|
|
@@ -1764,7 +1798,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1764
1798
|
};
|
|
1765
1799
|
var dialogId = this._dialogProvider.openConfirmDialog({
|
|
1766
1800
|
title: (0, _i18n.transI18n)('fmt_hostkey_input_hostkey_title_enter_key'),
|
|
1767
|
-
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_confirmInput
|
|
1801
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_confirmInput.FcrConfirmInput, {
|
|
1768
1802
|
type: "number",
|
|
1769
1803
|
placeholder: (0, _i18n.transI18n)('fmt_hostkey_input_hostkey_text_hint_enter_key'),
|
|
1770
1804
|
onChange: function onChange(value) {
|
|
@@ -1774,7 +1808,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1774
1808
|
alignCenter: true,
|
|
1775
1809
|
closable: false,
|
|
1776
1810
|
onOk: function () {
|
|
1777
|
-
var
|
|
1811
|
+
var _onOk2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8() {
|
|
1778
1812
|
return _regenerator["default"].wrap(function _callee8$(_context8) {
|
|
1779
1813
|
while (1) switch (_context8.prev = _context8.next) {
|
|
1780
1814
|
case 0:
|
|
@@ -1800,7 +1834,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1800
1834
|
}, _callee8);
|
|
1801
1835
|
}));
|
|
1802
1836
|
function onOk() {
|
|
1803
|
-
return
|
|
1837
|
+
return _onOk2.apply(this, arguments);
|
|
1804
1838
|
}
|
|
1805
1839
|
return onOk;
|
|
1806
1840
|
}(),
|
|
@@ -1812,7 +1846,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1812
1846
|
}]);
|
|
1813
1847
|
}();
|
|
1814
1848
|
_ParticipantStore = ParticipantStore;
|
|
1815
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.observable, 1, "showBecomeHostButton"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "
|
|
1849
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_isChecked"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "interpreterInputLanguageList"], [_mobx.observable, 1, "newName"], [_mobx.observable, 1, "allowUnmute"], [_mobx.observable, 1, "joinWithMuteAudio"], [_mobx.observable, 1, "showBecomeHostButton"], [_mobx.computed, 3, "audioVolumeMap"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "userList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_mobx.computed, 3, "waitingRoomUserCount"], [_mobx.computed, 3, "isNewWaitingRoomUserEnter"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_openParticipantsWindowDecs, 18, "openParticipantsWindow"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_closeRemoveAdmitWaitingRoomDialogDecs, 18, "closeRemoveAdmitWaitingRoomDialog"], [_openRemoveAdmitWaitingRoomDialogDecs, 18, "openRemoveAdmitWaitingRoomDialog"], [_setAllowUnmuteDecs, 18, "setAllowUnmute"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_openMuteAllDialogDecs, 18, "openMuteAllDialog"], [_isHostSupportedDecs, 18, "isHostSupported"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_decorator.bound, 2, "_getPinStreamIdFromUser"], [_handleConfirmChangeNameDecs, 18, "handleConfirmChangeName"], [_handleCancelChangeNameDecs, 18, "handleCancelChangeName"], [_closeChangeNameDialogDecs, 18, "_closeChangeNameDialog"], [_moveToWaitingRoomByUserIdsDecs, 18, "_moveToWaitingRoomByUserIds"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "getMicStreamVolume"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_handleEventDecs, 18, "_handleEvent"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_kickOutUserDecs, 18, "_kickOutUser"], [_setAsAttendeeDecs, 18, "_setAsAttendee"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_getOutputLanguageDecs, 18, "_getOutputLanguage"]], []).e, 15);
|
|
1816
1850
|
_init__mainList = _applyDecs$e[0];
|
|
1817
1851
|
_init__isChecked = _applyDecs$e[1];
|
|
1818
1852
|
_init__participantsWindowActive = _applyDecs$e[2];
|