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
|
@@ -107,7 +107,7 @@ var _view = require("./view");
|
|
|
107
107
|
var _logger = require("../../utilities/logger");
|
|
108
108
|
var _env = require("agora-foundation/lib/utilities/env");
|
|
109
109
|
var _LayoutStore;
|
|
110
|
-
var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_whiteboardActive,
|
|
110
|
+
var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_whiteboardActive, _init_ownerUser, _addPinMessageDecs, _cancelPinMessageDecs, _setWhiteboardActiveDecs, _setAsideWidthDecs, _updateSlotsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _handleLiveLayoutChangeDecs, _onUserInfoUpdatedDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleFoldListChangedDecs, _handleMainListLengthChangedDecs, _handleMainListChangedDecs, _setBarHoveringDecs, _handleConnectionUpdatedDecs, _onAudioVolumeUpdatedDecs, _ref;
|
|
111
111
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
112
112
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
113
113
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -135,8 +135,7 @@ var _N = /*#__PURE__*/new WeakMap();
|
|
|
135
135
|
var _O = /*#__PURE__*/new WeakMap();
|
|
136
136
|
var _P = /*#__PURE__*/new WeakMap();
|
|
137
137
|
var _Q = /*#__PURE__*/new WeakMap();
|
|
138
|
-
|
|
139
|
-
_ref = (_participantDecs = [_mobx.observable, _mobx.observable.ref], _chatDecs = [_mobx.observable, _mobx.observable.ref], _chatActionDecs = [_mobx.observable, _mobx.observable.ref], _stateBarDecs = [_mobx.observable, _mobx.observable.ref], _actionBarDecs = [_mobx.observable, _mobx.observable.ref], _layersDecs = [_mobx.observable, _mobx.observable.ref], _whiteboardDecs = [_mobx.observable, _mobx.observable.ref], _addPinMessageDecs = [_mobx.action, _mobx.action.bound], _cancelPinMessageDecs = [_mobx.action, _mobx.action.bound], _setWhiteboardActiveDecs = [_mobx.action, _mobx.action.bound], _setAsideWidthDecs = [_mobx.action, _mobx.action.bound], _updateSlotsDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutDecs = [_mobx.action, _mobx.action.bound], _toggleCollapsedDecs = [_mobx.action, _mobx.action.bound], _toggleAsideDecs = [_mobx.action, _mobx.action.bound], _asideWidthChangedDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarHiddenDecs = [_mobx.action, _mobx.action.bound], _resetLockTimerDecs = [_mobx.action, _mobx.action.bound], _setHoveringHandlerDecs = [_mobx.action, _mobx.action.bound], _setHoveringLeaveHandlerDecs = [_mobx.action, _mobx.action.bound], _handleLiveLayoutChangeDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLayoutUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleFoldListChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListLengthChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListChangedDecs = [_mobx.action, _mobx.action.bound], _setBarHoveringDecs = [_mobx.action, _mobx.action.bound], _onAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleConnectionUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
138
|
+
_ref = (_participantDecs = [_mobx.observable, _mobx.observable.ref], _chatDecs = [_mobx.observable, _mobx.observable.ref], _chatActionDecs = [_mobx.observable, _mobx.observable.ref], _stateBarDecs = [_mobx.observable, _mobx.observable.ref], _actionBarDecs = [_mobx.observable, _mobx.observable.ref], _layersDecs = [_mobx.observable, _mobx.observable.ref], _whiteboardDecs = [_mobx.observable, _mobx.observable.ref], _addPinMessageDecs = [_mobx.action, _mobx.action.bound], _cancelPinMessageDecs = [_mobx.action, _mobx.action.bound], _setWhiteboardActiveDecs = [_mobx.action, _mobx.action.bound], _setAsideWidthDecs = [_mobx.action, _mobx.action.bound], _updateSlotsDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutDecs = [_mobx.action, _mobx.action.bound], _toggleCollapsedDecs = [_mobx.action, _mobx.action.bound], _toggleAsideDecs = [_mobx.action, _mobx.action.bound], _asideWidthChangedDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _toggleLayoutBarHiddenDecs = [_mobx.action, _mobx.action.bound], _resetLockTimerDecs = [_mobx.action, _mobx.action.bound], _setHoveringHandlerDecs = [_mobx.action, _mobx.action.bound], _setHoveringLeaveHandlerDecs = [_mobx.action, _mobx.action.bound], _handleLiveLayoutChangeDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLayoutUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleFoldListChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListLengthChangedDecs = [_mobx.action, _mobx.action.bound], _handleMainListChangedDecs = [_mobx.action, _mobx.action.bound], _setBarHoveringDecs = [_mobx.action, _mobx.action.bound], _handleConnectionUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
140
139
|
var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
141
140
|
function LayoutStore(params) {
|
|
142
141
|
var _this = this;
|
|
@@ -167,10 +166,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
167
166
|
_classPrivateFieldInitSpec(this, _N, _init_userVolumeMap(this, new Map()));
|
|
168
167
|
_classPrivateFieldInitSpec(this, _O, _init_chatRoomState(this, _type4.FcrChatRoomConnectionState.Disconnected));
|
|
169
168
|
_classPrivateFieldInitSpec(this, _P, _init_whiteboardActive(this, false));
|
|
170
|
-
|
|
171
|
-
// @observable accessor shouldHideNonVideoParticipants = false;
|
|
172
|
-
_classPrivateFieldInitSpec(this, _Q, _init_participantCount(this, 0));
|
|
173
|
-
_classPrivateFieldInitSpec(this, _R, _init_ownerUser(this, undefined));
|
|
169
|
+
_classPrivateFieldInitSpec(this, _Q, _init_ownerUser(this, undefined));
|
|
174
170
|
(0, _defineProperty2["default"])(this, "getAllowedOperations", (0, _mobxUtils.computedFn)(function (targetRole, isSelf) {
|
|
175
171
|
return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
|
|
176
172
|
}));
|
|
@@ -207,6 +203,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
207
203
|
this._screenShareProvider = params.screenShareProvider;
|
|
208
204
|
this._pinDataSource = params.sharedPinDataSource;
|
|
209
205
|
this.chatRoomState = this._chatRoomControl.getConnectionState();
|
|
206
|
+
this._interpreterProvider = params.interpreterProvider;
|
|
210
207
|
this._addListeners();
|
|
211
208
|
//@ts-ignore
|
|
212
209
|
window.layoutStore = this;
|
|
@@ -216,9 +213,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
216
213
|
this._handleMainListLengthChanged();
|
|
217
214
|
this._handleLayoutUpdated(this._videoWindowDataSource.layoutType);
|
|
218
215
|
this.setWhiteboardActive(this._whiteBoardControl.getBoardActiveInfo().isActive);
|
|
219
|
-
(0, _mobx.runInAction)(function () {
|
|
220
|
-
_this.participantCount = _this._userControl.getAllUserCount();
|
|
221
|
-
});
|
|
222
216
|
}
|
|
223
217
|
return (0, _createClass2["default"])(LayoutStore, [{
|
|
224
218
|
key: "participant",
|
|
@@ -349,21 +343,13 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
349
343
|
_classPrivateFieldSet(_P, this, v);
|
|
350
344
|
}
|
|
351
345
|
}, {
|
|
352
|
-
key: "
|
|
346
|
+
key: "ownerUser",
|
|
353
347
|
get: function get() {
|
|
354
348
|
return _classPrivateFieldGet(_Q, this);
|
|
355
349
|
},
|
|
356
350
|
set: function set(v) {
|
|
357
351
|
_classPrivateFieldSet(_Q, this, v);
|
|
358
352
|
}
|
|
359
|
-
}, {
|
|
360
|
-
key: "ownerUser",
|
|
361
|
-
get: function get() {
|
|
362
|
-
return _classPrivateFieldGet(_R, this);
|
|
363
|
-
},
|
|
364
|
-
set: function set(v) {
|
|
365
|
-
_classPrivateFieldSet(_R, this, v);
|
|
366
|
-
}
|
|
367
353
|
}, {
|
|
368
354
|
key: "streamControl",
|
|
369
355
|
get: function get() {
|
|
@@ -384,6 +370,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
384
370
|
get: function get() {
|
|
385
371
|
return this._sharedSettingDataSource.setting.shouldHideNonVideoParticipants || false;
|
|
386
372
|
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "shouldHideMyVideo",
|
|
375
|
+
get: function get() {
|
|
376
|
+
return this._sharedSettingDataSource.setting.shouldHideMyVideo || false;
|
|
377
|
+
}
|
|
387
378
|
}, {
|
|
388
379
|
key: "enableSpotlight",
|
|
389
380
|
get: function get() {
|
|
@@ -423,7 +414,13 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
423
414
|
var nonVideoStreamParticipantList = this.sourceList.filter(function (i) {
|
|
424
415
|
return _this2._isVideoParticipantVisible(i);
|
|
425
416
|
});
|
|
426
|
-
|
|
417
|
+
var list = this.shouldHideNonVideoParticipants ? nonVideoStreamParticipantList : this.sourceList;
|
|
418
|
+
return list.filter(function (i) {
|
|
419
|
+
if (_this2.shouldHideMyVideo && i.isMySelf) {
|
|
420
|
+
return false;
|
|
421
|
+
}
|
|
422
|
+
return true;
|
|
423
|
+
});
|
|
427
424
|
}
|
|
428
425
|
}, {
|
|
429
426
|
key: "mainList",
|
|
@@ -567,6 +564,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
567
564
|
get: function get() {
|
|
568
565
|
return this._sharedInterpreterDataSource.isInterpreterEnabled;
|
|
569
566
|
}
|
|
567
|
+
}, {
|
|
568
|
+
key: "participantCount",
|
|
569
|
+
get: function get() {
|
|
570
|
+
return this._sharedMemberDataSource.totalUserCount;
|
|
571
|
+
}
|
|
570
572
|
}, {
|
|
571
573
|
key: "isVideoSuspended",
|
|
572
574
|
get: function get() {
|
|
@@ -909,9 +911,15 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
909
911
|
if (isLoneyWindow) {
|
|
910
912
|
this._videoWindowDataSource.removeBoard();
|
|
911
913
|
} else {
|
|
912
|
-
var
|
|
913
|
-
|
|
914
|
-
|
|
914
|
+
var _this$_whiteBoardCont = this._whiteBoardControl.getBoardActiveInfo(),
|
|
915
|
+
ownerUserId = _this$_whiteBoardCont.ownerUserId,
|
|
916
|
+
isActive = _this$_whiteBoardCont.isActive;
|
|
917
|
+
if (isActive) {
|
|
918
|
+
var ownerUser = this._userControl.getUser(ownerUserId);
|
|
919
|
+
this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._privilegeProvider.hasWriteBoardPermission());
|
|
920
|
+
} else {
|
|
921
|
+
this.logger.warn('LayoutStore onEvent, WhiteboardControlbarEvents.LONEYWINDOW isLoneyWindow false, boardActiveInfo isActive is false, ownerUserId is null');
|
|
922
|
+
}
|
|
915
923
|
}
|
|
916
924
|
}
|
|
917
925
|
if (changeAction === _type3.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
|
|
@@ -941,8 +949,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
941
949
|
onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
|
|
942
950
|
};
|
|
943
951
|
var userObserver = {
|
|
944
|
-
onUserInfoUpdated: this.onUserInfoUpdated
|
|
945
|
-
onAllUserCountUpdated: this._onAllUserCountUpdated
|
|
952
|
+
onUserInfoUpdated: this.onUserInfoUpdated
|
|
946
953
|
};
|
|
947
954
|
var videoWindowObserver = {
|
|
948
955
|
onLayoutUpdated: this._handleLayoutUpdated,
|
|
@@ -989,9 +996,13 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
989
996
|
return _this5.whiteboardActive;
|
|
990
997
|
}, function (opened) {
|
|
991
998
|
if (opened) {
|
|
992
|
-
var
|
|
993
|
-
|
|
994
|
-
|
|
999
|
+
var _this5$_whiteBoardCon = _this5._whiteBoardControl.getBoardActiveInfo(),
|
|
1000
|
+
ownerUserId = _this5$_whiteBoardCon.ownerUserId,
|
|
1001
|
+
isActive = _this5$_whiteBoardCon.isActive;
|
|
1002
|
+
if (isActive) {
|
|
1003
|
+
var ownerUser = _this5._userControl.getUser(ownerUserId);
|
|
1004
|
+
_this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
|
|
1005
|
+
}
|
|
995
1006
|
if (_this5.layout === _type2.FcrUIVideoWindowLayoutType.Gallery) {
|
|
996
1007
|
_this5.toggleLayout(_type2.FcrUIVideoWindowLayoutType.Speaker);
|
|
997
1008
|
}
|
|
@@ -1135,11 +1146,6 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1135
1146
|
value: function _setBarHovering(state) {
|
|
1136
1147
|
this.barHovering = state;
|
|
1137
1148
|
}
|
|
1138
|
-
}, {
|
|
1139
|
-
key: "_onAllUserCountUpdated",
|
|
1140
|
-
value: function _onAllUserCountUpdated(_roomId, count) {
|
|
1141
|
-
this.participantCount = count;
|
|
1142
|
-
}
|
|
1143
1149
|
}, {
|
|
1144
1150
|
key: "_initStream",
|
|
1145
1151
|
value: function _initStream() {
|
|
@@ -1241,8 +1247,11 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1241
1247
|
volume: 0
|
|
1242
1248
|
};
|
|
1243
1249
|
this.userVolumeMap.forEach(function (volume, id) {
|
|
1250
|
+
var _this10$interpreterUs;
|
|
1244
1251
|
var windowData = _this10.mainListMapByAudioStreamId.get(id);
|
|
1245
|
-
if (id !== '0' && !res.streamId && volume >
|
|
1252
|
+
if (id !== '0' && !res.streamId && volume > 45 && windowData !== null && windowData !== void 0 && windowData.hasMicrophoneAudioStream && windowData.videoSourceType !== _fcrCore.FcrVideoSourceType.SCREEN && !((_this10$interpreterUs = _this10.interpreterUserList) !== null && _this10$interpreterUs !== void 0 && _this10$interpreterUs.find(function (user) {
|
|
1253
|
+
return user.userId === windowData.userId;
|
|
1254
|
+
}))) {
|
|
1246
1255
|
res = {
|
|
1247
1256
|
streamId: windowData.windowId,
|
|
1248
1257
|
volume: volume
|
|
@@ -1254,7 +1263,7 @@ var LayoutStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1254
1263
|
}]);
|
|
1255
1264
|
}();
|
|
1256
1265
|
_LayoutStore = LayoutStore;
|
|
1257
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_LayoutStore, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_mobx.observable, 1, "collapsed"], [_mobx.observable, 1, "aside"], [_mobx.observable, 1, "barHovering"], [_mobx.observable, 1, "barLocked"], [_mobx.observable, 1, "barHidden"], [_mobx.observable, 1, "asideWidth"], [_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "chatRoomState"], [_mobx.observable, 1, "whiteboardActive"], [_mobx.observable, 1, "
|
|
1266
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_LayoutStore, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_mobx.observable, 1, "collapsed"], [_mobx.observable, 1, "aside"], [_mobx.observable, 1, "barHovering"], [_mobx.observable, 1, "barLocked"], [_mobx.observable, 1, "barHidden"], [_mobx.observable, 1, "asideWidth"], [_mobx.observable, 1, "userVolumeMap"], [_mobx.observable, 1, "chatRoomState"], [_mobx.observable, 1, "whiteboardActive"], [_mobx.observable, 1, "ownerUser"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "layout"], [_mobx.computed, 3, "manualLayout"], [_mobx.computed, 3, "sourceList"], [_mobx.computed, 3, "layoutMainList"], [_mobx.computed, 3, "mainList"], [_mobx.computed, 3, "mainListMapByAudioStreamId"], [_mobx.computed, 3, "spotlightStreamId"], [_mobx.computed, 3, "foldList"], [_mobx.computed, 3, "galleryList"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "carouselList"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "isRobot"], [_mobx.computed, 3, "findSpotlightUser"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "galleryMaxSize"], [_mobx.computed, 3, "isVideoSuspended"], [_mobx.computed, 3, "asideContent"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "chatRenderAt"], [_decorator.bound, 2, "getWaterMarkContent"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_decorator.bound, 2, "toggleMainStream"], [_addPinMessageDecs, 18, "addPinMessage"], [_cancelPinMessageDecs, 18, "cancelPinMessage"], [_decorator.bound, 2, "addPin"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_updateSlotsDecs, 18, "updateSlots"], [_decorator.bound, 2, "closeParticipantFromAside"], [_decorator.bound, 2, "moveParticipantFromAsideToDialog"], [_decorator.bound, 2, "closeChatFromAside"], [_decorator.bound, 2, "closeAsideChat"], [_decorator.bound, 2, "moveChatFromAsideToDialog"], [_decorator.bound, 2, "openPrivateChat"], [_decorator.bound, 2, "openRenameDialog"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_handleLiveLayoutChangeDecs, 18, "handleLiveLayoutChange"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [_decorator.bound, 2, "stopLocalPreview"], [_decorator.bound, 2, "startLocalPreview"], [_decorator.bound, 2, "setAllowChatWithPayload"], [_decorator.bound, 2, "muteAudio"], [_decorator.bound, 2, "sendParticipantEvent"], [_decorator.bound, 2, "onEvent"], [_decorator.bound, 2, "_addListeners"], [_mobx.computed, 3, "_hasVideoStreamUser"], [_handleFoldListChangedDecs, 18, "_handleFoldListChanged"], [_handleMainListLengthChangedDecs, 18, "_handleMainListLengthChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [_mobx.action, 2, "_switchToSpeaker"], [_mobx.action, 2, "_switchToGallery"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_decorator.bound, 2, "_initStream"], [_decorator.bound, 2, "_isSetSpotlightEnable"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_decorator.bound, 2, "_handleLiveStreamingStateUpdated"], [_decorator.bound, 2, "_handleStreamAdded"], [_decorator.bound, 2, "_onStreamsAdded"], [_decorator.bound, 2, "_onStreamsUpdated"], [_decorator.bound, 2, "_onStreamsRemoved"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 19);
|
|
1258
1267
|
_init_participant = _applyDecs$e[0];
|
|
1259
1268
|
_init_chat = _applyDecs$e[1];
|
|
1260
1269
|
_init_chatAction = _applyDecs$e[2];
|
|
@@ -1271,9 +1280,8 @@ _init_asideWidth = _applyDecs$e[12];
|
|
|
1271
1280
|
_init_userVolumeMap = _applyDecs$e[13];
|
|
1272
1281
|
_init_chatRoomState = _applyDecs$e[14];
|
|
1273
1282
|
_init_whiteboardActive = _applyDecs$e[15];
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
_initProto = _applyDecs$e[19];
|
|
1283
|
+
_init_ownerUser = _applyDecs$e[16];
|
|
1284
|
+
_init__handleLayoutUpdated = _applyDecs$e[17];
|
|
1285
|
+
_initProto = _applyDecs$e[18];
|
|
1278
1286
|
(0, _defineProperty2["default"])(LayoutStore, "MIN_USERS_TO_ENABLE_SPOTLIGHT", 2);
|
|
1279
1287
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -4,7 +4,7 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.VideoRatio = exports.GalleryMaxSize = exports.FcrUIWindowType = exports.FcrUIVideoWindowMainSortingPriority = exports.FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowFoldSortingPriority = void 0;
|
|
7
|
+
exports.VideoRatio = exports.GalleryMaxSize = exports.FcrUIWindowType = exports.FcrUIVideoWindowMainSortingPriority = exports.FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowFoldSortingPriority = exports.FcrUILayoutType = void 0;
|
|
8
8
|
var FcrUIVideoWindowLayoutType = exports.FcrUIVideoWindowLayoutType = /*#__PURE__*/function (FcrUIVideoWindowLayoutType) {
|
|
9
9
|
FcrUIVideoWindowLayoutType["Speaker"] = "speaker";
|
|
10
10
|
FcrUIVideoWindowLayoutType["Gallery"] = "gallery";
|
|
@@ -49,4 +49,9 @@ var FcrUIWindowType = exports.FcrUIWindowType = /*#__PURE__*/function (FcrUIWind
|
|
|
49
49
|
FcrUIWindowType[FcrUIWindowType["VIDEO"] = 1] = "VIDEO";
|
|
50
50
|
FcrUIWindowType[FcrUIWindowType["BOARD"] = 2] = "BOARD";
|
|
51
51
|
return FcrUIWindowType;
|
|
52
|
+
}({});
|
|
53
|
+
var FcrUILayoutType = exports.FcrUILayoutType = /*#__PURE__*/function (FcrUILayoutType) {
|
|
54
|
+
FcrUILayoutType["CAROUSEL"] = "carousel";
|
|
55
|
+
FcrUILayoutType["GALLERY"] = "gallery";
|
|
56
|
+
return FcrUILayoutType;
|
|
52
57
|
}({});
|
|
@@ -15,6 +15,7 @@ export default class LiveStreamingStore {
|
|
|
15
15
|
private _messageProvider;
|
|
16
16
|
private _sharedVideoWindowDataSource;
|
|
17
17
|
private _sharedMemberDataSource;
|
|
18
|
+
private _hasDoneRequestStartLiveStreaming;
|
|
18
19
|
get liveStreamingState(): FcrLiveStreamingState;
|
|
19
20
|
get videoStreamingUrl(): string;
|
|
20
21
|
get videoStreamingKey(): string;
|
|
@@ -74,7 +74,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
74
74
|
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
75
75
|
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
76
76
|
var _A = /*#__PURE__*/new WeakMap();
|
|
77
|
-
_ref = (_onLiveButtonClickDecs = [_mobx.action, _mobx.action.bound], _startLiveStreamingDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
77
|
+
_ref = (_onLiveButtonClickDecs = [_mobx.action, _mobx.action.bound, void 0, (0, _decorator.debounced)(800)], _startLiveStreamingDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
78
78
|
var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
79
79
|
function LiveStreamingStore(_ref2) {
|
|
80
80
|
var _this = this;
|
|
@@ -90,6 +90,7 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
90
90
|
})));
|
|
91
91
|
_classPrivateFieldInitSpec(this, _A, _init_isStartError(this, false));
|
|
92
92
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
93
|
+
(0, _defineProperty2["default"])(this, "_hasDoneRequestStartLiveStreaming", true);
|
|
93
94
|
this._roomControl = roomControl;
|
|
94
95
|
this._roomProvider = roomProvider;
|
|
95
96
|
this._dialogProvider = dialogProvider;
|
|
@@ -194,31 +195,41 @@ var LiveStreamingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
194
195
|
while (1) switch (_context2.prev = _context2.next) {
|
|
195
196
|
case 0:
|
|
196
197
|
_context2.prev = 0;
|
|
197
|
-
|
|
198
|
+
if (!this._hasDoneRequestStartLiveStreaming) {
|
|
199
|
+
_context2.next = 7;
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
this._hasDoneRequestStartLiveStreaming = false;
|
|
203
|
+
_context2.next = 5;
|
|
198
204
|
return this._roomProvider.startLiveStreaming({
|
|
199
205
|
pushStreamingUrl: videoSteamingUrl,
|
|
200
206
|
pullStreamingUrl: playUrl,
|
|
201
207
|
pushStreamingKey: videoStreamingKey,
|
|
202
208
|
layoutType: this._layoutView === 'speaker' ? _type.FcrLiveStreamingLayoutType.SPEAKER : _type.FcrLiveStreamingLayoutType.GALLERY
|
|
203
209
|
});
|
|
204
|
-
case
|
|
210
|
+
case 5:
|
|
205
211
|
(0, _mobx.runInAction)(function () {
|
|
206
212
|
_this2.isStartError = false;
|
|
207
213
|
});
|
|
208
214
|
this._dialogProvider.closeLiveStreamingDialog();
|
|
209
|
-
_context2.next = 10;
|
|
210
|
-
break;
|
|
211
215
|
case 7:
|
|
212
|
-
_context2.
|
|
216
|
+
_context2.next = 12;
|
|
217
|
+
break;
|
|
218
|
+
case 9:
|
|
219
|
+
_context2.prev = 9;
|
|
213
220
|
_context2.t0 = _context2["catch"](0);
|
|
214
221
|
(0, _mobx.runInAction)(function () {
|
|
215
222
|
_this2.isStartError = true;
|
|
216
223
|
});
|
|
217
|
-
case
|
|
224
|
+
case 12:
|
|
225
|
+
_context2.prev = 12;
|
|
226
|
+
this._hasDoneRequestStartLiveStreaming = true;
|
|
227
|
+
return _context2.finish(12);
|
|
228
|
+
case 15:
|
|
218
229
|
case "end":
|
|
219
230
|
return _context2.stop();
|
|
220
231
|
}
|
|
221
|
-
}, _callee2, this, [[0,
|
|
232
|
+
}, _callee2, this, [[0, 9, 12, 15]]);
|
|
222
233
|
}));
|
|
223
234
|
function _startLiveStreaming(_x4, _x5, _x6) {
|
|
224
235
|
return _startLiveStreaming2.apply(this, arguments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare
|
|
1
|
+
export declare const FcrConfirmInput: (props: {
|
|
2
2
|
onChange: (name: string | number) => void;
|
|
3
3
|
placeholder?: string;
|
|
4
|
-
type?:
|
|
5
|
-
})
|
|
6
|
-
export
|
|
4
|
+
type?: "number" | "text";
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const FcrWrapConfirmRenameForm: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,21 +5,28 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.FcrWrapConfirmRenameForm = exports.FcrConfirmInput = void 0;
|
|
9
9
|
require("core-js/modules/es.regexp.exec.js");
|
|
10
10
|
require("core-js/modules/es.regexp.test.js");
|
|
11
|
+
require("core-js/modules/es.string.replace.js");
|
|
11
12
|
require("core-js/modules/es.string.trim.js");
|
|
12
13
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
14
|
var _input = require("agora-ui-foundation/lib/components/input");
|
|
14
15
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
15
16
|
var _react = require("react");
|
|
17
|
+
var _store = require("../../store");
|
|
18
|
+
var _mobxReact = require("mobx-react");
|
|
19
|
+
var _button = require("agora-ui-foundation/lib/components/button");
|
|
16
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
function
|
|
21
|
+
var FcrConfirmRenameForm = function FcrConfirmRenameForm(props) {
|
|
18
22
|
var onChange = props.onChange,
|
|
23
|
+
onSubmit = props.onSubmit,
|
|
24
|
+
onCancel = props.onCancel,
|
|
19
25
|
placeholder = props.placeholder,
|
|
20
26
|
_props$type = props.type,
|
|
21
|
-
type = _props$type === void 0 ? 'text' : _props$type
|
|
22
|
-
|
|
27
|
+
type = _props$type === void 0 ? 'text' : _props$type,
|
|
28
|
+
value = props.value;
|
|
29
|
+
var _useState = (0, _react.useState)(value),
|
|
23
30
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
24
31
|
name = _useState2[0],
|
|
25
32
|
setName = _useState2[1];
|
|
@@ -27,6 +34,54 @@ function ConfirmInput(props) {
|
|
|
27
34
|
(0, _react.useEffect)(function () {
|
|
28
35
|
onChange(name);
|
|
29
36
|
}, [name]);
|
|
37
|
+
function handleNameChange(name) {
|
|
38
|
+
var length = name.replace(/[^\x00-\xff]/g, '**').length;
|
|
39
|
+
if (length > 36) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
type === 'number' ? (/^\d+$/.test(name) || name === '') && setName(name.trim()) : setName(name.trim());
|
|
43
|
+
}
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
45
|
+
className: "participants-container-rename",
|
|
46
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_input.FcrInput, {
|
|
47
|
+
autoFocus: true,
|
|
48
|
+
style: {
|
|
49
|
+
width: '272px'
|
|
50
|
+
},
|
|
51
|
+
value: name,
|
|
52
|
+
onChange: handleNameChange,
|
|
53
|
+
size: "large",
|
|
54
|
+
allowClear: true,
|
|
55
|
+
shape: "rounded",
|
|
56
|
+
placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname')
|
|
57
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
58
|
+
className: 'participants-container-rename-footer fcr-confirm-content-footer fcr-confirm-content-footer__center',
|
|
59
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
60
|
+
size: "XS",
|
|
61
|
+
type: "secondary",
|
|
62
|
+
onClick: onCancel,
|
|
63
|
+
children: t('fmt_popup_button_cancel')
|
|
64
|
+
}, 0), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
65
|
+
size: "XS",
|
|
66
|
+
onClick: onSubmit,
|
|
67
|
+
children: t('fmt_uimanager_button_determine')
|
|
68
|
+
}, 1)]
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
var FcrConfirmInput = exports.FcrConfirmInput = function FcrConfirmInput(props) {
|
|
73
|
+
var onChange = props.onChange,
|
|
74
|
+
placeholder = props.placeholder,
|
|
75
|
+
_props$type2 = props.type,
|
|
76
|
+
type = _props$type2 === void 0 ? 'text' : _props$type2;
|
|
77
|
+
var _useState3 = (0, _react.useState)(''),
|
|
78
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
79
|
+
name = _useState4[0],
|
|
80
|
+
setName = _useState4[1];
|
|
81
|
+
var t = (0, _i18n.useI18n)();
|
|
82
|
+
(0, _react.useEffect)(function () {
|
|
83
|
+
onChange(name);
|
|
84
|
+
}, [name]);
|
|
30
85
|
function handleNameChange(name) {
|
|
31
86
|
type === 'number' ? (/^\d+$/.test(name) || name === '') && setName(name.trim()) : setName(name.trim());
|
|
32
87
|
}
|
|
@@ -46,5 +101,18 @@ function ConfirmInput(props) {
|
|
|
46
101
|
placeholder: placeholder || t('fmt_additional_popup_label_enter_nickname')
|
|
47
102
|
})
|
|
48
103
|
});
|
|
49
|
-
}
|
|
50
|
-
var
|
|
104
|
+
};
|
|
105
|
+
var FcrWrapConfirmRenameForm = exports.FcrWrapConfirmRenameForm = (0, _mobxReact.observer)(function () {
|
|
106
|
+
var store = (0, _react.useContext)(_store.StoreContext);
|
|
107
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
108
|
+
className: "operate-rename-dialog-content",
|
|
109
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FcrConfirmRenameForm, {
|
|
110
|
+
value: store.operatorRenameUserName,
|
|
111
|
+
onChange: function onChange(value) {
|
|
112
|
+
return store.newName = String(value);
|
|
113
|
+
},
|
|
114
|
+
onSubmit: store.handleConfirmChangeName,
|
|
115
|
+
onCancel: store.handleCancelChangeName
|
|
116
|
+
})
|
|
117
|
+
});
|
|
118
|
+
});
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
padding: 2px;
|
|
20
20
|
margin-left: 80px;
|
|
21
|
+
border-radius: var(--fcr_cornerradius_xxs);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
.room-control-options-watermark-btn {
|
|
@@ -26,15 +27,38 @@
|
|
|
26
27
|
display: flex;
|
|
27
28
|
justify-content: center;
|
|
28
29
|
align-items: center;
|
|
29
|
-
color: var(--fcr_ui_scene_icontext1);
|
|
30
|
-
font-size: 12px;
|
|
31
30
|
background-color: transparent;
|
|
32
31
|
padding: 0px 4px;
|
|
33
32
|
width: auto !important;
|
|
34
33
|
border-radius: var(--fcr_cornerradius_xxs);
|
|
35
34
|
}
|
|
35
|
+
.room-control-options-watermark-btn .btn-label {
|
|
36
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fcr-watermark-rotate-icon {
|
|
41
|
+
animation: rotate 1s linear infinite;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes rotate {
|
|
45
|
+
from {
|
|
46
|
+
transform: rotate(0deg);
|
|
47
|
+
}
|
|
48
|
+
to {
|
|
49
|
+
transform: rotate(360deg);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
36
53
|
.room-control-options-watermark-btn--active {
|
|
37
|
-
background-color:
|
|
54
|
+
background-color: var(--fcr_ui_scene_white10);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.room-control-options-watermark-btn--active svg path {
|
|
58
|
+
fill: var(--fcr_ui_scene_ramp_brand6) !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.room-control-options-watermark-btn--active .btn-label {
|
|
38
62
|
color: var(--fcr_ui_scene_ramp_brand6);
|
|
39
63
|
}
|
|
40
64
|
|
package/lib/modules/participant/components/participants/components/footer/components/footer/index.js
CHANGED
|
@@ -182,6 +182,7 @@ var FcrParticipantsFooter = exports.FcrParticipantsFooter = function FcrParticip
|
|
|
182
182
|
children: t('fmt_participants_button_unmuteAll')
|
|
183
183
|
})
|
|
184
184
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
185
|
+
showArrow: false,
|
|
185
186
|
trigger: "click",
|
|
186
187
|
overlayClassName: "attendee__footer-more-actions",
|
|
187
188
|
mouseEnterDelay: 0,
|
|
@@ -206,7 +207,7 @@ var FcrParticipantsFooterRename = exports.FcrParticipantsFooterRename = function
|
|
|
206
207
|
var onRoomControlClick = _ref.onRoomControlClick;
|
|
207
208
|
var t = (0, _i18n.useI18n)();
|
|
208
209
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
209
|
-
content: t('
|
|
210
|
+
content: t('fmt_additional_option_rename_in_meeting'),
|
|
210
211
|
mouseEnterDelay: 0,
|
|
211
212
|
trigger: "hover",
|
|
212
213
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
@@ -216,7 +217,7 @@ var FcrParticipantsFooterRename = exports.FcrParticipantsFooterRename = function
|
|
|
216
217
|
onClick: function onClick() {
|
|
217
218
|
return onRoomControlClick === null || onRoomControlClick === void 0 ? void 0 : onRoomControlClick(ACTION_CHANGE_NAME);
|
|
218
219
|
},
|
|
219
|
-
children: t('
|
|
220
|
+
children: t('fmt_additional_option_rename_in_meeting')
|
|
220
221
|
})
|
|
221
222
|
});
|
|
222
223
|
};
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
.attendee__name {
|
|
49
49
|
color: var(--for_head2);
|
|
50
50
|
display: -webkit-box;
|
|
51
|
-
-webkit-line-clamp:
|
|
51
|
+
-webkit-line-clamp: 1;
|
|
52
52
|
-webkit-box-orient: vertical;
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
display: flex;
|
|
69
69
|
align-items: center;
|
|
70
70
|
line-height: 16px;
|
|
71
|
+
margin-right: 8px;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
.attendee__tag-group {
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
font-weight: 400;
|
|
87
88
|
background: rgba(0, 0, 0, 1);
|
|
88
89
|
padding-left: 0;
|
|
89
|
-
margin-left:
|
|
90
|
+
margin-left: 0px;
|
|
90
91
|
border-radius: 8px;
|
|
91
92
|
background: var(--fcr_mobile_ui_scene_color_popup_fill3);
|
|
92
93
|
}
|
|
@@ -144,7 +145,7 @@
|
|
|
144
145
|
}
|
|
145
146
|
.attendee__footer-more-actions .fcr-tooltip-inner {
|
|
146
147
|
max-width: 364px !important;
|
|
147
|
-
min-width:
|
|
148
|
+
min-width: auto !important;
|
|
148
149
|
width: auto !important;
|
|
149
150
|
}
|
|
150
151
|
|
|
@@ -98,6 +98,7 @@ var FcrParticipant = exports.FcrParticipant = function FcrParticipant(props) {
|
|
|
98
98
|
children: t('fmt_chats_label_privatechat')
|
|
99
99
|
})
|
|
100
100
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_popover.FcrPopover, {
|
|
101
|
+
showArrow: false,
|
|
101
102
|
visible: isShowDropMenu,
|
|
102
103
|
overlayInnerStyle: {
|
|
103
104
|
border: 0,
|
|
@@ -25,6 +25,14 @@
|
|
|
25
25
|
line-height: 32px;
|
|
26
26
|
padding-left: 8px;
|
|
27
27
|
text-align: left;
|
|
28
|
+
width: 280px;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
-webkit-line-clamp: 1;
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
font-weight: 700;
|
|
28
36
|
}
|
|
29
37
|
|
|
30
38
|
.fcr-participants-more-dropmenu .fcr-drop-menu-options {
|
|
@@ -35,7 +43,7 @@
|
|
|
35
43
|
min-height: 32px;
|
|
36
44
|
height: auto;
|
|
37
45
|
padding: 5px 10px 5px 5px;
|
|
38
|
-
align-items:
|
|
46
|
+
align-items: center;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
.fcr-participants-more-dropmenu .fcr-drop-menu-group {
|
|
@@ -117,7 +117,7 @@ var FcrParticipantsMoreActions = exports.FcrParticipantsMoreActions = function F
|
|
|
117
117
|
}) : hasPinnedStream ? (0, _i18next.t)('fmt_attendies_options_replacefixed') : (0, _i18next.t)('fmt_attendies_options_fixfirst'),
|
|
118
118
|
key: 'pin',
|
|
119
119
|
type: isPin ? 'danger' : 'primary',
|
|
120
|
-
canOperation: userType === 'normal' || userType === 'meeting-system' && hasVideo,
|
|
120
|
+
canOperation: userType === 'normal' || userType === 'phone' || userType === 'meeting-system' && hasVideo,
|
|
121
121
|
onButtonClick: handleButtonClick(isPin ? _types.ParticipantActionType.REMOVE_PIN : _types.ParticipantActionType.ADD_PIN, userId, onParticipantsButtonClick),
|
|
122
122
|
group: 'own_view'
|
|
123
123
|
}, {
|