fcr-ui-scene 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +40 -5
- package/lib/base.js +237 -22
- package/lib/common/device-store.d.ts +14 -23
- package/lib/common/device-store.js +252 -361
- package/lib/common/device-stream-store.d.ts +14 -8
- package/lib/common/device-stream-store.js +116 -254
- package/lib/common/event-store.d.ts +10 -35
- package/lib/common/event-store.js +13 -64
- package/lib/common/security-store.d.ts +39 -47
- package/lib/common/security-store.js +379 -335
- package/lib/creator.d.ts +1 -1
- package/lib/creator.js +4 -9
- package/lib/electron/app.js +4 -2
- package/lib/electron/bootstrap-dev.js +0 -7
- package/lib/electron/bootstrap-sdk.js +10 -0
- package/lib/electron/injections.d.ts +2 -0
- package/lib/electron/injections.js +17 -2
- package/lib/electron/logger.d.ts +0 -4
- package/lib/electron/logger.js +2 -5
- package/lib/electron/main.js +1 -1
- package/lib/electron/plugins/devtool-shortcut.js +10 -1
- package/lib/electron/plugins/meeting-state.js +1 -1
- package/lib/electron/preload.js +3 -1
- package/lib/fragments/control-bar/cloud-recording-buttons.js +1 -1
- package/lib/fragments/control-bar/control-bar-store.d.ts +1 -44
- package/lib/fragments/control-bar/control-bar-store.js +80 -457
- package/lib/fragments/control-bar/device/index.js +3 -5
- package/lib/fragments/control-bar/index.css +10 -15
- package/lib/fragments/control-bar/index.js +0 -24
- package/lib/fragments/control-bar/more-actions/index.css +0 -53
- package/lib/fragments/control-bar/more-actions/index.js +38 -73
- package/lib/fragments/control-bar/security-content/index.css +0 -75
- package/lib/fragments/control-bar/security-content/index.js +19 -105
- package/lib/fragments/control-bar/share-state-nav/index.js +1 -1
- package/lib/fragments/control-bar/view.js +8 -23
- package/lib/fragments/live-streaming/store.d.ts +1 -1
- package/lib/fragments/live-streaming/store.js +1 -1
- package/lib/fragments/live-streaming/view.js +2 -4
- package/lib/fragments/share-screen-selection/selection-store.d.ts +1 -1
- package/lib/fragments/share-screen-selection/selection-store.js +1 -1
- package/lib/fragments/share-screen-selection/view.js +20 -20
- package/lib/fragments/toolbar/components/eraser-picker.js +1 -1
- package/lib/fragments/toolbar/components/pen-picker.js +1 -1
- package/lib/fragments/toolbar/components/shape-picker.js +1 -1
- package/lib/fragments/toolbar/components/wrapper.js +1 -1
- package/lib/fragments/toolbar/hooks.js +1 -1
- package/lib/fragments/toolbar/store.d.ts +1 -1
- package/lib/global.css +5 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -4
- package/lib/login-confirm-dialog.d.ts +1 -0
- package/lib/login-confirm-dialog.js +7 -2
- package/lib/modules/Interpreter/action/delete-btn/index.d.ts +2 -2
- package/lib/modules/Interpreter/action/edit-btn/index.js +2 -2
- package/lib/modules/Interpreter/action/switch-btn/index.js +5 -5
- package/lib/modules/Interpreter/dialog-content/index.d.ts +2 -2
- package/lib/modules/Interpreter/dialog-content/index.js +4 -4
- package/lib/modules/Interpreter/index.d.ts +11 -4
- package/lib/modules/Interpreter/index.js +23 -8
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +2 -2
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +3 -3
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +2 -2
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +14 -14
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +2 -2
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +2 -2
- package/lib/modules/Interpreter/store.d.ts +23 -84
- package/lib/modules/Interpreter/store.js +204 -1216
- package/lib/modules/Interpreter/type.d.ts +12 -29
- package/lib/modules/Interpreter/type.js +2 -10
- package/lib/modules/Interpreter/utils.d.ts +1 -5
- package/lib/modules/Interpreter/utils.js +28 -86
- package/lib/modules/Interpreter/view.js +19 -3
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -4
- package/lib/modules/action-bar/action-bar-collapes-items.js +21 -38
- package/lib/modules/action-bar/chat/index.js +8 -8
- package/lib/modules/action-bar/components/apps/app-item/index.css +1 -2
- package/lib/modules/action-bar/components/apps/app-item/index.d.ts +1 -10
- package/lib/modules/action-bar/components/apps/appitems.d.ts +1 -3
- package/lib/modules/action-bar/components/apps/index.css +2 -2
- package/lib/modules/action-bar/components/apps/index.js +2 -3
- package/lib/modules/action-bar/components/collapse/index.d.ts +8 -0
- package/lib/modules/action-bar/components/collapse/index.js +222 -0
- package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -5
- package/lib/modules/action-bar/components/item/index.d.ts +9 -0
- package/lib/modules/action-bar/components/item/index.js +164 -0
- package/lib/modules/action-bar/components/leave/assign-host.d.ts +1 -8
- package/lib/modules/action-bar/components/leave/assign-host.js +1 -1
- package/lib/modules/action-bar/components/leave/index.js +9 -24
- package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +1 -16
- package/lib/modules/action-bar/components/more/index.js +13 -9
- package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -4
- package/lib/modules/action-bar/components/more/poppover-content.js +28 -5
- package/lib/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
- package/lib/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -0
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.d.ts +8 -0
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.js +100 -0
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.d.ts +5 -0
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.js +33 -0
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -0
- package/lib/modules/action-bar/components/notification-bar/index.d.ts +2 -0
- package/lib/modules/action-bar/components/notification-bar/index.js +99 -0
- package/lib/modules/action-bar/components/participants/index.js +2 -2
- package/lib/modules/action-bar/components/placement/index.d.ts +4 -0
- package/lib/modules/action-bar/components/placement/index.js +18 -0
- package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -3
- package/lib/modules/action-bar/components/screen-share/submenu.js +25 -2
- package/lib/modules/action-bar/components/security/index.js +3 -1
- package/lib/modules/action-bar/components/smaller/index.d.ts +1 -0
- package/lib/modules/action-bar/components/smaller/index.js +52 -0
- package/lib/modules/action-bar/components/trigger-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/components/trigger-input-language-room/index.css +86 -0
- package/lib/modules/action-bar/components/trigger-input-language-room/index.d.ts +3 -0
- package/lib/modules/action-bar/components/trigger-input-language-room/index.js +215 -0
- package/lib/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.d.ts +2 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.js +230 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/constant.d.ts +10 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/constant.js +8 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.css +22 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.d.ts +3 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/guide-tooltip/index.js +75 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/index.d.ts +8 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/index.js +98 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.d.ts +5 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-language-room.js +66 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.d.ts +5 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/trigger-main-room.js +37 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.d.ts +12 -0
- package/lib/modules/action-bar/components/trigger-output-language-room/useChangeOutputRoomTool.js +138 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +3 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +70 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.d.ts +5 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +209 -0
- package/lib/modules/action-bar/device/index.css +2 -7
- package/lib/modules/action-bar/device/index.js +24 -22
- package/lib/modules/action-bar/enums.d.ts +23 -0
- package/lib/modules/action-bar/enums.js +35 -0
- package/lib/modules/action-bar/index.d.ts +36 -6
- package/lib/modules/action-bar/index.dev.d.ts +0 -1
- package/lib/modules/action-bar/index.dev.js +94 -121
- package/lib/modules/action-bar/index.js +46 -18
- package/lib/modules/action-bar/leave/assign-host.d.ts +0 -3
- package/lib/modules/action-bar/leave/assign-host.js +4 -2
- package/lib/modules/action-bar/leave/index.css +0 -10
- package/lib/modules/action-bar/leave/index.js +34 -84
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +1 -13
- package/lib/modules/action-bar/leave/leave-meeting.js +19 -37
- package/lib/modules/action-bar/live-streaming/index.js +3 -3
- package/lib/modules/action-bar/more/index.js +6 -9
- package/lib/modules/action-bar/more/poppover-content.js +16 -37
- package/lib/modules/action-bar/participants/index.css +0 -12
- package/lib/modules/action-bar/participants/index.js +16 -23
- package/lib/modules/action-bar/record/index.js +4 -4
- package/lib/modules/action-bar/screen-share/index.js +5 -14
- package/lib/modules/action-bar/screen-share/submenu.js +26 -20
- package/lib/modules/action-bar/security/drop-menu.js +22 -137
- package/lib/modules/action-bar/security/index.js +6 -12
- package/lib/modules/action-bar/settings/index.js +4 -4
- package/lib/modules/action-bar/smaller.js +5 -5
- package/lib/modules/action-bar/store.d.ts +84 -98
- package/lib/modules/action-bar/store.js +567 -707
- package/lib/modules/action-bar/types.d.ts +94 -0
- package/lib/modules/action-bar/types.js +6 -0
- package/lib/modules/action-bar/view.d.ts +1 -2
- package/lib/modules/action-bar/view.js +11 -11
- package/lib/modules/audio-stream/index.d.ts +22 -10
- package/lib/modules/audio-stream/index.js +78 -82
- package/lib/modules/chat/chat-bar/index.css +0 -6
- package/lib/modules/chat/chat-bar/index.d.ts +3 -3
- package/lib/modules/chat/chat-bar/index.js +39 -51
- package/lib/modules/chat/chat-room-store.d.ts +135 -0
- package/lib/modules/chat/chat-room-store.js +954 -0
- package/lib/modules/chat/chat-select/index.css +7 -27
- package/lib/modules/chat/chat-select/index.d.ts +1 -1
- package/lib/modules/chat/chat-select/index.js +4 -18
- package/lib/modules/chat/chat.d.ts +2 -1
- package/lib/modules/chat/chat.js +128 -196
- package/lib/modules/chat/components/chat-action/index.d.ts +1 -0
- package/lib/modules/chat/components/chat-action/index.js +28 -0
- package/lib/modules/chat/components/chat-bar/index.css +85 -0
- package/lib/modules/chat/components/chat-bar/index.d.ts +3 -0
- package/lib/modules/chat/components/chat-bar/index.js +145 -0
- package/lib/modules/chat/components/chat-select/index.css +185 -0
- package/lib/modules/chat/components/chat-select/index.d.ts +3 -0
- package/lib/modules/chat/components/chat-select/index.js +237 -0
- package/lib/modules/chat/components/message-list/index.d.ts +4 -0
- package/lib/modules/chat/components/message-list/index.js +650 -0
- package/lib/modules/chat/index.d.ts +13 -5
- package/lib/modules/chat/index.dev.d.ts +0 -1
- package/lib/modules/chat/index.dev.js +71 -72
- package/lib/modules/chat/index.js +45 -22
- package/lib/modules/chat/message-list.js +51 -68
- package/lib/modules/chat/mock.d.ts +1 -1
- package/lib/modules/chat/store.d.ts +17 -162
- package/lib/modules/chat/store.js +95 -963
- package/lib/modules/chat/types.d.ts +70 -0
- package/lib/modules/chat/types.js +17 -0
- package/lib/modules/chat/view.d.ts +10 -0
- package/lib/modules/chat/view.js +372 -0
- package/lib/modules/components/device-control/components/audio-menu/index.js +2 -2
- package/lib/modules/components/device-control/components/microphone/index.js +7 -7
- package/lib/modules/components/device-control/store.d.ts +11 -12
- package/lib/modules/components/device-control/store.js +46 -49
- package/lib/modules/components/dialog-container/component/body.js +2 -1
- package/lib/modules/components/dialog-container/index.d.ts +2 -2
- package/lib/modules/components/leave-meeting/components/assign-host.d.ts +3 -0
- package/lib/modules/components/leave-meeting/components/assign-host.js +70 -0
- package/lib/modules/components/leave-meeting/components/index.css +125 -0
- package/lib/modules/components/leave-meeting/index.d.ts +4 -0
- package/lib/modules/components/leave-meeting/index.js +147 -0
- package/lib/modules/components/leave-meeting/store.d.ts +31 -0
- package/lib/modules/components/leave-meeting/store.js +292 -0
- package/lib/modules/components/member-window/index.d.ts +1 -1
- package/lib/modules/components/member-window/index.js +12 -6
- package/lib/modules/components/security-menu/index.d.ts +2 -0
- package/lib/modules/components/security-menu/index.js +34 -35
- package/lib/modules/components/tab-frame/index.d.ts +2 -2
- package/lib/modules/components/tab-frame/index.js +26 -5
- package/lib/modules/connection-gateway/components/computer/index.js +4 -4
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +1 -1
- package/lib/modules/connection-gateway/components/phone/index.js +2 -2
- package/lib/modules/connection-gateway/components/tabs/index.js +1 -2
- package/lib/modules/connection-gateway/enums.d.ts +4 -0
- package/lib/modules/connection-gateway/enums.js +12 -0
- package/lib/modules/connection-gateway/index.d.ts +13 -4
- package/lib/modules/connection-gateway/index.js +25 -15
- package/lib/modules/connection-gateway/store.d.ts +22 -18
- package/lib/modules/connection-gateway/store.js +60 -36
- package/lib/modules/connection-gateway/types.d.ts +4 -0
- package/lib/modules/connection-gateway/types.js +6 -0
- package/lib/modules/connection-gateway/view.js +2 -2
- package/lib/modules/control-bar/components/meeting-details/index.js +30 -25
- package/lib/modules/control-bar/components/more-actions/index.css +18 -0
- package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -5
- package/lib/modules/control-bar/components/more-actions/index.js +58 -9
- package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -7
- package/lib/modules/control-bar/components/share-state-nav/index.js +2 -1
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.d.ts +1 -1
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.js +2 -2
- package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -10
- package/lib/modules/control-bar/components/transfer-position-icon/index.js +7 -12
- package/lib/modules/control-bar/enums.d.ts +21 -0
- package/lib/modules/control-bar/enums.js +31 -0
- package/lib/modules/control-bar/index.d.ts +30 -7
- package/lib/modules/control-bar/index.js +46 -27
- package/lib/modules/control-bar/store.d.ts +38 -26
- package/lib/modules/control-bar/store.js +172 -282
- package/lib/modules/control-bar/types.d.ts +20 -0
- package/lib/modules/control-bar/types.js +6 -0
- package/lib/modules/control-bar/view.js +68 -34
- package/lib/modules/device-pretest/index.js +4 -4
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib/modules/device-pretest/store.d.ts +8 -9
- package/lib/modules/device-pretest/store.js +52 -36
- package/lib/modules/dialog/components/Interpreter/electron.js +21 -15
- package/lib/modules/dialog/components/Interpreter/index.js +2 -2
- package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
- package/lib/modules/dialog/components/chat/electron.js +19 -10
- package/lib/modules/dialog/components/chat/index.js +2 -2
- package/lib/modules/dialog/components/confirm/electron.d.ts +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +68 -38
- package/lib/modules/dialog/components/confirm/index.js +1 -1
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
- package/lib/modules/dialog/components/connection-gateway/electron.js +8 -10
- package/lib/modules/dialog/components/connection-gateway/index.css +2 -0
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -1
- package/lib/modules/dialog/components/connection-gateway/index.js +20 -7
- package/lib/modules/dialog/components/connection-gateway/tabs.d.ts +6 -0
- package/lib/modules/dialog/components/connection-gateway/tabs.js +44 -0
- package/lib/modules/dialog/components/control-bar/index.d.ts +5 -1
- package/lib/modules/dialog/components/control-bar/index.js +122 -9
- package/lib/modules/dialog/components/device-setting/electron.js +6 -2
- package/lib/modules/dialog/components/device-setting/index.js +2 -2
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +7 -0
- package/lib/modules/dialog/components/dialog-container/component/body.js +77 -0
- package/lib/modules/dialog/components/dialog-container/index.css +81 -0
- package/lib/modules/dialog/components/dialog-container/index.d.ts +16 -0
- package/lib/modules/dialog/components/dialog-container/index.js +112 -0
- package/lib/modules/dialog/components/invite/index.js +32 -7
- package/lib/modules/dialog/components/live-streaming/index.js +9 -5
- package/lib/modules/dialog/components/participant/electron.js +11 -5
- package/lib/modules/dialog/components/participant/index.js +4 -3
- package/lib/modules/dialog/components/share-screen-selection/index.js +9 -5
- package/lib/modules/dialog/components/system-preference/electron.js +1 -1
- package/lib/modules/dialog/components/toast/index.js +1 -1
- package/lib/modules/dialog/components/video-window/index.d.ts +2 -0
- package/lib/modules/dialog/components/video-window/index.js +148 -0
- package/lib/modules/dialog/components/whiteboard/index.js +2 -2
- package/lib/modules/dialog/dialogs.d.ts +2 -5
- package/lib/modules/dialog/dialogs.js +2 -157
- package/lib/modules/dialog/hooks/useElectron.d.ts +3 -25
- package/lib/modules/dialog/hooks/useElectron.js +91 -35
- package/lib/modules/dialog/index.d.ts +30 -4
- package/lib/modules/dialog/index.js +62 -6
- package/lib/modules/dialog/store.d.ts +46 -12
- package/lib/modules/dialog/store.js +121 -65
- package/lib/modules/dialog/types/index.d.ts +14 -3
- package/lib/modules/event-confirm/index.css +1 -1
- package/lib/modules/event-confirm/index.d.ts +13 -6
- package/lib/modules/event-confirm/index.js +28 -11
- package/lib/modules/event-confirm/store.d.ts +9 -3
- package/lib/modules/event-confirm/store.js +16 -7
- package/lib/modules/event-confirm/view.js +5 -1
- package/lib/modules/event-toast/index.d.ts +7 -6
- package/lib/modules/event-toast/index.js +19 -8
- package/lib/modules/event-toast/store.d.ts +8 -3
- package/lib/modules/event-toast/store.js +15 -6
- package/lib/modules/invite/components/error-tips.d.ts +4 -0
- package/lib/modules/invite/components/error-tips.js +18 -0
- package/lib/modules/invite/components/pstn-invite.d.ts +2 -0
- package/lib/modules/invite/components/pstn-invite.js +297 -0
- package/lib/modules/invite/components/voip-invite.d.ts +1 -0
- package/lib/modules/invite/components/voip-invite.js +276 -0
- package/lib/modules/invite/enums.d.ts +22 -0
- package/lib/modules/invite/enums.js +33 -0
- package/lib/modules/invite/index.d.ts +7 -8
- package/lib/modules/invite/index.js +17 -15
- package/lib/modules/invite/pstn-invite.js +9 -7
- package/lib/modules/invite/store.d.ts +11 -26
- package/lib/modules/invite/store.js +55 -25
- package/lib/modules/invite/types.d.ts +14 -0
- package/lib/modules/invite/types.js +6 -0
- package/lib/modules/invite/view.d.ts +0 -4
- package/lib/modules/invite/view.js +7 -11
- package/lib/modules/invite/voip-invite.js +6 -5
- package/lib/modules/layout/components/Aside.js +34 -17
- package/lib/modules/layout/components/Carousel.js +1 -1
- package/lib/modules/layout/components/Gallery.js +1 -1
- package/lib/modules/layout/components/index.d.ts +1 -1
- package/lib/modules/layout/components/index.js +4 -4
- package/lib/modules/layout/components/who-is-speaking.d.ts +2 -0
- package/lib/modules/layout/components/who-is-speaking.js +60 -0
- package/lib/modules/layout/index.d.ts +26 -4
- package/lib/modules/layout/index.dev.d.ts +0 -1
- package/lib/modules/layout/index.dev.js +312 -386
- package/lib/modules/layout/index.js +25 -10
- package/lib/modules/layout/member-window/index.css +18 -116
- package/lib/modules/layout/member-window/index.d.ts +3 -10
- package/lib/modules/layout/member-window/index.js +115 -227
- package/lib/modules/layout/store.d.ts +61 -71
- package/lib/modules/layout/store.js +311 -573
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +127 -2
- package/lib/modules/live-streaming/index.d.ts +15 -7
- package/lib/modules/live-streaming/index.dev.js +13 -13
- package/lib/modules/live-streaming/index.js +20 -15
- package/lib/modules/live-streaming/store.d.ts +21 -14
- package/lib/modules/live-streaming/store.js +84 -144
- package/lib/modules/live-streaming/view.js +2 -2
- package/lib/modules/notification/index.d.ts +9 -11
- package/lib/modules/notification/index.js +21 -14
- package/lib/modules/notification/interpreter-status/index.js +1 -2
- package/lib/modules/notification/store.d.ts +5 -11
- package/lib/modules/notification/store.js +12 -62
- package/lib/modules/notification/view.d.ts +5 -3
- package/lib/modules/notification/view.js +8 -5
- package/lib/modules/offscreen-pulling/index.js +1 -1
- package/lib/modules/participant/attendee/index.css +51 -0
- package/lib/modules/participant/attendee/index.d.ts +5 -8
- package/lib/modules/participant/attendee/index.js +15 -61
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +6 -0
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +28 -0
- package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +7 -0
- package/lib/modules/participant/components/attendee/components/user-avatar/index.js +39 -0
- package/lib/modules/participant/components/attendee/index.css +69 -0
- package/lib/modules/participant/components/attendee/index.d.ts +4 -0
- package/lib/modules/participant/components/attendee/index.js +337 -0
- package/lib/modules/participant/components/can-moveable/index.d.ts +1 -0
- package/lib/modules/participant/components/can-moveable/index.js +68 -0
- package/lib/modules/participant/components/drop-menu/index.js +8 -8
- package/lib/modules/participant/components/footer/buttons.d.ts +2 -3
- package/lib/modules/participant/components/footer/buttons.js +2 -3
- package/lib/modules/participant/components/footer/index.js +2 -2
- package/lib/modules/participant/components/mute-all/index.d.ts +3 -4
- package/lib/modules/participant/components/mute-all/index.js +31 -44
- package/lib/modules/participant/components/operate-waitingroom-member/index.d.ts +2 -0
- package/lib/modules/participant/components/operate-waitingroom-member/index.js +48 -0
- package/lib/modules/participant/components/participants/index.js +27 -50
- package/lib/modules/participant/components/user-action/index.d.ts +17 -0
- package/lib/modules/participant/components/user-action/index.js +169 -0
- package/lib/modules/participant/index.d.ts +34 -7
- package/lib/modules/participant/index.dev.d.ts +0 -1
- package/lib/modules/participant/index.dev.js +87 -116
- package/lib/modules/participant/index.js +39 -13
- package/lib/modules/participant/member-list-data-source.d.ts +4 -1
- package/lib/modules/participant/member-list-data-source.js +58 -31
- package/lib/modules/participant/room-control-drop-menu/index.css +0 -37
- package/lib/modules/participant/store.d.ts +58 -25
- package/lib/modules/participant/store.js +321 -298
- package/lib/modules/participant/type.d.ts +45 -1
- package/lib/modules/participant/type.js +15 -1
- package/lib/modules/pc-audio-connect/index.css +12 -0
- package/lib/modules/pc-audio-connect/index.d.ts +22 -0
- package/lib/modules/pc-audio-connect/index.js +68 -0
- package/lib/modules/pc-audio-connect/store.d.ts +46 -0
- package/lib/modules/pc-audio-connect/store.js +301 -0
- package/lib/modules/pc-audio-connect/types.d.ts +0 -0
- package/lib/modules/pc-audio-connect/types.js +1 -0
- package/lib/modules/pc-audio-connect/view.d.ts +3 -0
- package/lib/modules/pc-audio-connect/view.js +66 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.d.ts +10 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.js +77 -0
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -0
- package/lib/modules/phone-audio-connect/components/calling/index.d.ts +7 -0
- package/lib/modules/phone-audio-connect/components/calling/index.js +58 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.d.ts +5 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.js +24 -0
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -0
- package/lib/modules/phone-audio-connect/components/useing/index.d.ts +3 -0
- package/lib/modules/phone-audio-connect/components/useing/index.js +36 -0
- package/lib/modules/phone-audio-connect/enums.d.ts +4 -0
- package/lib/modules/phone-audio-connect/enums.js +12 -0
- package/lib/modules/phone-audio-connect/index.css +56 -0
- package/lib/modules/phone-audio-connect/index.d.ts +16 -0
- package/lib/modules/phone-audio-connect/index.js +63 -0
- package/lib/modules/phone-audio-connect/store.d.ts +46 -0
- package/lib/modules/phone-audio-connect/store.js +320 -0
- package/lib/modules/phone-audio-connect/types.d.ts +4 -0
- package/lib/modules/phone-audio-connect/types.js +6 -0
- package/lib/modules/phone-audio-connect/view.d.ts +3 -0
- package/lib/modules/phone-audio-connect/view.js +184 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +5 -5
- package/lib/modules/setting/index.d.ts +25 -5
- package/lib/modules/setting/index.dev.d.ts +0 -1
- package/lib/modules/setting/index.dev.js +120 -81
- package/lib/modules/setting/index.js +35 -9
- package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
- package/lib/modules/setting/state/index.js +3 -3
- package/lib/modules/setting/store.d.ts +48 -14
- package/lib/modules/setting/store.js +105 -114
- package/lib/modules/setting/translate-settings/translate-settings.js +3 -3
- package/lib/modules/setting/video-settings/video-settings-basic.js +19 -22
- package/lib/modules/setting/view.js +6 -35
- package/lib/modules/share-screen/components/selection/index.css +70 -0
- package/lib/modules/share-screen/components/selection/index.d.ts +2 -0
- package/lib/modules/share-screen/components/selection/index.js +267 -0
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -0
- package/lib/modules/share-screen/components/share-state-bar/index.d.ts +4 -0
- package/lib/modules/share-screen/components/share-state-bar/index.js +98 -0
- package/lib/modules/share-screen/index.d.ts +15 -18
- package/lib/modules/share-screen/index.dev.d.ts +0 -1
- package/lib/modules/share-screen/index.dev.js +90 -91
- package/lib/modules/share-screen/index.js +22 -22
- package/lib/modules/share-screen/selection/index.css +0 -4
- package/lib/modules/share-screen/selection/index.js +129 -126
- package/lib/modules/share-screen/share-state-bar/index.js +1 -1
- package/lib/modules/share-screen/store.d.ts +36 -32
- package/lib/modules/share-screen/store.js +250 -219
- package/lib/modules/share-screen/types.d.ts +27 -0
- package/lib/modules/share-screen/types.js +6 -0
- package/lib/modules/share-screen/view.js +1 -1
- package/lib/modules/sound-effect/index.d.ts +9 -4
- package/lib/modules/sound-effect/index.js +72 -40
- package/lib/modules/sound-effect/sound-effect-player.js +1 -1
- package/lib/modules/state-bar/index.d.ts +16 -13
- package/lib/modules/state-bar/index.dev.d.ts +0 -1
- package/lib/modules/state-bar/index.dev.js +78 -83
- package/lib/modules/state-bar/index.js +23 -7
- package/lib/modules/state-bar/meeting-details.js +24 -12
- package/lib/modules/state-bar/meeting-network-state.js +1 -1
- package/lib/modules/state-bar/store.d.ts +20 -10
- package/lib/modules/state-bar/store.js +84 -87
- package/lib/modules/state-bar/view.js +2 -2
- package/lib/modules/video-window/deviceState/index.d.ts +2 -2
- package/lib/modules/video-window/deviceState/index.js +4 -6
- package/lib/modules/video-window/index.css +1 -4
- package/lib/modules/video-window/index.d.ts +33 -6
- package/lib/modules/video-window/index.js +63 -15
- package/lib/modules/video-window/members/index.css +1 -0
- package/lib/modules/video-window/members/index.js +25 -11
- package/lib/modules/video-window/store.d.ts +58 -27
- package/lib/modules/video-window/store.js +166 -161
- package/lib/modules/waiting-room-layout/index.d.ts +11 -4
- package/lib/modules/waiting-room-layout/index.js +26 -13
- package/lib/modules/waiting-room-layout/store.d.ts +6 -3
- package/lib/modules/waiting-room-layout/store.js +17 -15
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +4 -4
- package/lib/modules/whiteboard/components/control-bar/store.js +8 -8
- package/lib/modules/whiteboard/index.d.ts +20 -14
- package/lib/modules/whiteboard/index.js +250 -223
- package/lib/modules/whiteboard/view.d.ts +2 -0
- package/lib/modules/whiteboard/view.js +49 -0
- package/lib/plugins/browser-runtime-plugin.js +5 -1
- package/lib/providers/chat-provider.d.ts +71 -0
- package/lib/providers/chat-provider.js +91 -0
- package/lib/providers/device-privilege-provider.d.ts +52 -6
- package/lib/providers/device-privilege-provider.js +212 -183
- package/lib/providers/device-provider.d.ts +203 -45
- package/lib/providers/device-provider.js +486 -398
- package/lib/providers/device-stream-provider.d.ts +12 -13
- package/lib/providers/device-stream-provider.js +86 -193
- package/lib/providers/dialog-provider.d.ts +135 -0
- package/lib/providers/dialog-provider.js +204 -0
- package/lib/providers/event-provider.d.ts +1 -21
- package/lib/providers/event-provider.js +19 -57
- package/lib/providers/interpreter-provider.d.ts +218 -7
- package/lib/providers/interpreter-provider.js +1072 -80
- package/lib/providers/local-storage-provider.d.ts +9 -0
- package/lib/providers/message-provider.d.ts +69 -0
- package/lib/providers/message-provider.js +98 -0
- package/lib/providers/monitor-provider.d.ts +5 -0
- package/lib/providers/phone-audio-provider.d.ts +131 -0
- package/lib/providers/phone-audio-provider.js +515 -0
- package/lib/providers/privilege-provider.d.ts +325 -12
- package/lib/providers/privilege-provider.js +111 -295
- package/lib/providers/renderer-provider.d.ts +46 -4
- package/lib/providers/renderer-provider.js +57 -60
- package/lib/providers/room-provider.d.ts +113 -6
- package/lib/providers/room-provider.js +667 -87
- package/lib/providers/screen-share-provider.d.ts +65 -0
- package/lib/providers/screen-share-provider.js +238 -0
- package/lib/providers/session-provider.d.ts +30 -0
- package/lib/runtime.d.ts +2 -0
- package/lib/scenes/main-scene.d.ts +41 -3
- package/lib/scenes/main-scene.js +407 -246
- package/lib/scenes/waiting-scene.d.ts +34 -4
- package/lib/scenes/waiting-scene.js +163 -56
- package/lib/shared-data-source/chat-data.d.ts +14 -0
- package/lib/shared-data-source/chat-data.js +130 -0
- package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
- package/lib/shared-data-source/device-privilege-data.js +25 -0
- package/lib/shared-data-source/interpreter.d.ts +63 -0
- package/lib/shared-data-source/interpreter.js +248 -0
- package/lib/shared-data-source/layout-data.d.ts +29 -0
- package/lib/shared-data-source/layout-data.js +181 -0
- package/lib/shared-data-source/pin-data.d.ts +9 -0
- package/lib/shared-data-source/pin-data.js +24 -0
- package/lib/shared-data-source/setting.d.ts +32 -0
- package/lib/shared-data-source/setting.js +153 -0
- package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
- package/lib/shared-data-source/speaker-spotlight.js +15 -0
- package/lib/shared-data-source/video-window.d.ts +161 -0
- package/lib/shared-data-source/video-window.js +1202 -0
- package/lib/shared-data-source/waiting-room.d.ts +19 -0
- package/lib/shared-data-source/waiting-room.js +158 -0
- package/lib/translations/enUS.d.ts +43 -17
- package/lib/translations/enUS.js +59 -33
- package/lib/translations/zhCN.d.ts +43 -17
- package/lib/translations/zhCN.js +57 -31
- package/lib/type.d.ts +270 -25
- package/lib/type.js +67 -2
- package/lib/ui-manager.d.ts +20 -16
- package/lib/ui-manager.js +59 -795
- package/lib/ui-scene.d.ts +6 -1
- package/lib/ui-scene.js +372 -42
- package/lib/utilities/constant.d.ts +63 -86
- package/lib/utilities/constant.js +151 -175
- package/lib/utilities/copyText.js +8 -7
- package/lib/utilities/extract.d.ts +1 -1
- package/lib/utilities/privilege.d.ts +4 -0
- package/lib/utilities/privilege.js +31 -0
- package/lib/utilities/setting-config-storage.d.ts +12 -0
- package/lib/utilities/setting-config-storage.js +102 -0
- package/lib/utilities/tools.d.ts +35 -3
- package/lib/utilities/tools.js +104 -2
- package/lib/utilities/video-track-render-context.d.ts +3 -4
- package/lib/utilities/video-track-render-context.js +1 -1
- package/package.json +5 -5
- package/public/assets/full-screen-error-boundary-img.png +0 -0
- package/public/assets/leave-meeting.png +0 -0
- package/public/index.html +24 -14
|
@@ -8,12 +8,10 @@ require("core-js/modules/es.error.to-string.js");
|
|
|
8
8
|
require("core-js/modules/es.array.is-array.js");
|
|
9
9
|
require("core-js/modules/es.date.to-primitive.js");
|
|
10
10
|
require("core-js/modules/es.function.name.js");
|
|
11
|
+
require("core-js/modules/es.number.constructor.js");
|
|
11
12
|
require("core-js/modules/es.object.create.js");
|
|
12
|
-
require("core-js/modules/es.object.define-properties.js");
|
|
13
13
|
require("core-js/modules/es.object.define-property.js");
|
|
14
14
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
15
|
-
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
16
|
-
require("core-js/modules/es.object.keys.js");
|
|
17
15
|
require("core-js/modules/esnext.function.metadata.js");
|
|
18
16
|
require("core-js/modules/esnext.symbol.metadata.js");
|
|
19
17
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21,13 +19,13 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
21
19
|
Object.defineProperty(exports, "__esModule", {
|
|
22
20
|
value: true
|
|
23
21
|
});
|
|
24
|
-
exports["default"] = exports.
|
|
22
|
+
exports["default"] = exports.AudioConnectType = exports.ActionBarContext = void 0;
|
|
25
23
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
24
|
+
require("core-js/modules/es.array.concat.js");
|
|
26
25
|
require("core-js/modules/es.array.filter.js");
|
|
27
26
|
require("core-js/modules/es.array.find.js");
|
|
28
27
|
require("core-js/modules/es.array.find-index.js");
|
|
29
28
|
require("core-js/modules/es.array.for-each.js");
|
|
30
|
-
require("core-js/modules/es.array.includes.js");
|
|
31
29
|
require("core-js/modules/es.array.iterator.js");
|
|
32
30
|
require("core-js/modules/es.array.map.js");
|
|
33
31
|
require("core-js/modules/es.array.push.js");
|
|
@@ -37,10 +35,8 @@ require("core-js/modules/es.array.splice.js");
|
|
|
37
35
|
require("core-js/modules/es.date.to-string.js");
|
|
38
36
|
require("core-js/modules/es.function.bind.js");
|
|
39
37
|
require("core-js/modules/es.map.js");
|
|
40
|
-
require("core-js/modules/es.number.constructor.js");
|
|
41
38
|
require("core-js/modules/es.object.to-string.js");
|
|
42
39
|
require("core-js/modules/es.object.values.js");
|
|
43
|
-
require("core-js/modules/es.string.includes.js");
|
|
44
40
|
require("core-js/modules/es.string.iterator.js");
|
|
45
41
|
require("core-js/modules/es.weak-map.js");
|
|
46
42
|
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
@@ -86,22 +82,19 @@ var _fcrCore = require("fcr-core");
|
|
|
86
82
|
var _mobx = require("mobx");
|
|
87
83
|
var _type = require("fcr-core/lib/type");
|
|
88
84
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
89
|
-
var _constant = require("../../utilities/constant");
|
|
90
|
-
var _type2 = require("../../type");
|
|
91
|
-
var _deviceStore = require("../../common/device-store");
|
|
92
85
|
var _env = require("agora-foundation/lib/utilities/env");
|
|
93
|
-
var
|
|
86
|
+
var _type2 = require("../whiteboard/type");
|
|
94
87
|
var _enums = require("fcr-core/lib/room-control/whiteboard-control/enums");
|
|
95
|
-
var
|
|
96
|
-
var
|
|
88
|
+
var _type3 = require("agora-ui-foundation/lib/components/icon/type");
|
|
89
|
+
var _type4 = require("agora-rte-sdk/lib/type");
|
|
97
90
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
98
|
-
var
|
|
99
|
-
var _type7 = require("fcr-core/lib/room-control/privilege-control/type");
|
|
91
|
+
var _type5 = require("fcr-core/lib/room-control/type");
|
|
100
92
|
var _react = require("react");
|
|
93
|
+
var _constant = require("../../utilities/constant");
|
|
94
|
+
var _interpreter = require("../../shared-data-source/interpreter");
|
|
95
|
+
var _enums2 = require("./enums");
|
|
101
96
|
var _ActionBarStore;
|
|
102
|
-
var _initProto, _init_users, _init_newMessageTooltipVisible,
|
|
103
|
-
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; }
|
|
104
|
-
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; }
|
|
97
|
+
var _initProto, _init_users, _init_newMessageTooltipVisible, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_chatTabIndex, _init_popoverOpened, _init_stateBarLeaveMeeting, _init_isPstnUser, _init_interpreterUsersOffline, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _setPopoverOpenedDecs, _setStateBarLeaveMeetingDecs, _handleJoinWaitingRoomDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _setOutputLanguageDecs, _subscribeLanguageDecs, _setSubscribeMainRoomDecs, _getInterpreterUsersAllOnlineDecs, _ref;
|
|
105
98
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
106
99
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
107
100
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -112,17 +105,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
112
105
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
113
106
|
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; }
|
|
114
107
|
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; }
|
|
115
|
-
var EventType = exports.EventType = /*#__PURE__*/function (EventType) {
|
|
116
|
-
EventType["START"] = "start";
|
|
117
|
-
EventType["STOP"] = "stop";
|
|
118
|
-
return EventType;
|
|
119
|
-
}({});
|
|
120
|
-
var MoreMenuType = exports.MoreMenuType = /*#__PURE__*/function (MoreMenuType) {
|
|
121
|
-
MoreMenuType[MoreMenuType["DEFAULT"] = 0] = "DEFAULT";
|
|
122
|
-
MoreMenuType[MoreMenuType["SECURITY"] = 1] = "SECURITY";
|
|
123
|
-
MoreMenuType[MoreMenuType["APPS"] = 2] = "APPS";
|
|
124
|
-
return MoreMenuType;
|
|
125
|
-
}({});
|
|
126
108
|
var AudioConnectType = exports.AudioConnectType = /*#__PURE__*/function (AudioConnectType) {
|
|
127
109
|
AudioConnectType[AudioConnectType["NONE"] = 0] = "NONE";
|
|
128
110
|
AudioConnectType[AudioConnectType["COMPUTER"] = 1] = "COMPUTER";
|
|
@@ -149,31 +131,20 @@ var _Q = /*#__PURE__*/new WeakMap();
|
|
|
149
131
|
var _R = /*#__PURE__*/new WeakMap();
|
|
150
132
|
var _S = /*#__PURE__*/new WeakMap();
|
|
151
133
|
var _T = /*#__PURE__*/new WeakMap();
|
|
152
|
-
var _U = /*#__PURE__*/new WeakMap();
|
|
153
|
-
var _V = /*#__PURE__*/new WeakMap();
|
|
154
|
-
var _W = /*#__PURE__*/new WeakMap();
|
|
155
|
-
var _X = /*#__PURE__*/new WeakMap();
|
|
156
|
-
var _Y = /*#__PURE__*/new WeakMap();
|
|
157
|
-
var _Z = /*#__PURE__*/new WeakMap();
|
|
158
|
-
var _a = /*#__PURE__*/new WeakMap();
|
|
159
|
-
var _b = /*#__PURE__*/new WeakMap();
|
|
160
|
-
var _c = /*#__PURE__*/new WeakMap();
|
|
161
134
|
_ref = (_pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
162
135
|
leading: true
|
|
163
136
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
164
137
|
leading: true
|
|
165
138
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
166
139
|
leading: true
|
|
167
|
-
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound],
|
|
140
|
+
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _setStateBarLeaveMeetingDecs = [_mobx.action, _mobx.action.bound], _handleJoinWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], _setOutputLanguageDecs = [_mobx.action, _mobx.action.bound], _subscribeLanguageDecs = [_mobx.action, _mobx.action.bound], _setSubscribeMainRoomDecs = [_mobx.action, _mobx.action.bound], _getInterpreterUsersAllOnlineDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
168
141
|
var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
169
142
|
function ActionBarStore(args) {
|
|
170
143
|
var _this = this,
|
|
171
|
-
_this$
|
|
144
|
+
_this$_roomControl$ge;
|
|
172
145
|
(0, _classCallCheck2["default"])(this, ActionBarStore);
|
|
173
146
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
174
147
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
175
|
-
(0, _defineProperty2["default"])(this, "_chatRenderAt", 'aside');
|
|
176
|
-
(0, _defineProperty2["default"])(this, "_participantsRenderAt", 'aside');
|
|
177
148
|
(0, _defineProperty2["default"])(this, "_screenVideoTrack", null);
|
|
178
149
|
(0, _defineProperty2["default"])(this, "_userObserver", {
|
|
179
150
|
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
@@ -181,11 +152,14 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
181
152
|
onUserInfoUpdated: this._handleUserInfoUpdated,
|
|
182
153
|
onAllUserCountUpdated: this._handleAllUserCountUpdated
|
|
183
154
|
});
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
155
|
+
// private _waitingRoomUserObserver: FcrUserObserver = {
|
|
156
|
+
// onRemoteUsersJoined: this._handleRemoteWaitingUserJoined,
|
|
157
|
+
// onRemoteUsersLeft: this._handleRemoteWaitingUserLeft,
|
|
158
|
+
// };
|
|
188
159
|
(0, _defineProperty2["default"])(this, "_roomObserver", {
|
|
160
|
+
onJoinWaitingRoom: this._handleJoinWaitingRoom.bind(this)
|
|
161
|
+
});
|
|
162
|
+
(0, _defineProperty2["default"])(this, "_mainRoomObserver", {
|
|
189
163
|
onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated,
|
|
190
164
|
onCloudRecordingStateUpdated: this._handleCloudRecordingStateUpdated
|
|
191
165
|
});
|
|
@@ -193,121 +167,84 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
193
167
|
onEvent: this._onEvent
|
|
194
168
|
});
|
|
195
169
|
(0, _defineProperty2["default"])(this, "_openedDialogIdMap", new Map());
|
|
196
|
-
(0, _defineProperty2["default"])(this, "_participantVisible", false);
|
|
197
|
-
(0, _defineProperty2["default"])(this, "_chatVisible", false);
|
|
198
|
-
(0, _defineProperty2["default"])(this, "_liveStreamingDialogId", '');
|
|
199
170
|
(0, _defineProperty2["default"])(this, "_newMessageTooltipTimer", null);
|
|
200
171
|
(0, _defineProperty2["default"])(this, "_hideBarArrowTimer", null);
|
|
201
172
|
(0, _defineProperty2["default"])(this, "_sharingOwnerUser", undefined);
|
|
202
|
-
(0, _defineProperty2["default"])(this, "
|
|
203
|
-
(0, _defineProperty2["default"])(this, "
|
|
204
|
-
|
|
205
|
-
|
|
173
|
+
(0, _defineProperty2["default"])(this, "_participantTab", _type5.FcrRoomType.Mainroom);
|
|
174
|
+
(0, _defineProperty2["default"])(this, "_streamObserver", {
|
|
175
|
+
onStreamsAdded: this._handleStreamsAddedOrUpdated,
|
|
176
|
+
onStreamsUpdated: this._handleStreamsAddedOrUpdated,
|
|
177
|
+
onStreamsRemoved: this._handleStreamsAddedOrUpdated
|
|
178
|
+
});
|
|
179
|
+
(0, _defineProperty2["default"])(this, "_interpreterObserver", {
|
|
180
|
+
onInterpreterUsersUpdated: function onInterpreterUsersUpdated() {
|
|
181
|
+
_this.interpreterUsersOffline = _this.getInterpreterUsersAllOnline();
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
(0, _defineProperty2["default"])(this, "_interpreterProviderObserver", {
|
|
185
|
+
onLocalBecameInterpreter: function onLocalBecameInterpreter() {},
|
|
186
|
+
onLocalNotInterpreter: function onLocalNotInterpreter() {}
|
|
187
|
+
});
|
|
206
188
|
_classPrivateFieldInitSpec(this, _A, _init_users(this));
|
|
207
189
|
_classPrivateFieldInitSpec(this, _B, _init_newMessageTooltipVisible(this, false));
|
|
208
|
-
_classPrivateFieldInitSpec(this, _C,
|
|
209
|
-
_classPrivateFieldInitSpec(this, _D,
|
|
210
|
-
_classPrivateFieldInitSpec(this, _E,
|
|
211
|
-
_classPrivateFieldInitSpec(this, _F,
|
|
212
|
-
_classPrivateFieldInitSpec(this, _G,
|
|
213
|
-
_classPrivateFieldInitSpec(this, _H,
|
|
214
|
-
_classPrivateFieldInitSpec(this, _I,
|
|
215
|
-
_classPrivateFieldInitSpec(this, _J,
|
|
216
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
217
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
218
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
219
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
220
|
-
_classPrivateFieldInitSpec(this, _O,
|
|
221
|
-
_classPrivateFieldInitSpec(this, _P,
|
|
222
|
-
_classPrivateFieldInitSpec(this, _Q,
|
|
223
|
-
_classPrivateFieldInitSpec(this, _R,
|
|
224
|
-
_classPrivateFieldInitSpec(this, _S,
|
|
225
|
-
_classPrivateFieldInitSpec(this, _T,
|
|
226
|
-
|
|
227
|
-
_classPrivateFieldInitSpec(this, _V, _init_stateBarLeaveMeeting(this, false));
|
|
228
|
-
_classPrivateFieldInitSpec(this, _W, _init_isPstnUser(this, false));
|
|
229
|
-
_classPrivateFieldInitSpec(this, _X, _init_interpreter(this));
|
|
230
|
-
_classPrivateFieldInitSpec(this, _Y, _init_interpreterState(this));
|
|
231
|
-
_classPrivateFieldInitSpec(this, _Z, _init_interpreterUsers(this));
|
|
232
|
-
_classPrivateFieldInitSpec(this, _a, _init_securityStore(this));
|
|
233
|
-
_classPrivateFieldInitSpec(this, _b, _init_interpreterUsersOffline(this, true));
|
|
234
|
-
_classPrivateFieldInitSpec(this, _c, _init_initShowGuide(this, true));
|
|
235
|
-
(0, _defineProperty2["default"])(this, "_handleNewMessageEvent", _init__handleNewMessageEvent(this, function (e) {
|
|
236
|
-
var _msgObj;
|
|
237
|
-
// if (this._chatVisible) return;
|
|
238
|
-
var msgObj = _objectSpread({}, _this.newMessageCount);
|
|
239
|
-
msgObj[e.type] = ((_msgObj = msgObj[e.type]) !== null && _msgObj !== void 0 ? _msgObj : 0) + Number(e.count);
|
|
240
|
-
_this.newMessageCount = _objectSpread({}, msgObj);
|
|
241
|
-
_this.latestMessage = e.latestMessage;
|
|
242
|
-
_this._newMessageTooltipTimer && clearTimeout(_this._newMessageTooltipTimer);
|
|
243
|
-
_this.showNewMessageTooltip();
|
|
244
|
-
_this._newMessageTooltipTimer = window.setTimeout(function () {
|
|
245
|
-
_this.hideNewMessageTooltip();
|
|
246
|
-
}, 4000);
|
|
247
|
-
}));
|
|
190
|
+
_classPrivateFieldInitSpec(this, _C, _init_totalUser(this));
|
|
191
|
+
_classPrivateFieldInitSpec(this, _D, _init_totalWaitingRoomUser(this, 0));
|
|
192
|
+
_classPrivateFieldInitSpec(this, _E, _init_liveStreamingState(this));
|
|
193
|
+
_classPrivateFieldInitSpec(this, _F, _init_currentMenuIs(this, _enums2.MoreMenuType.DEFAULT));
|
|
194
|
+
_classPrivateFieldInitSpec(this, _G, _init_cloudRecordingState(this));
|
|
195
|
+
_classPrivateFieldInitSpec(this, _H, _init_localUserRole(this));
|
|
196
|
+
_classPrivateFieldInitSpec(this, _I, _init_localUser(this));
|
|
197
|
+
_classPrivateFieldInitSpec(this, _J, _init_connectionSettingVisible(this, false));
|
|
198
|
+
_classPrivateFieldInitSpec(this, _K, _init_folded(this, false));
|
|
199
|
+
_classPrivateFieldInitSpec(this, _L, _init_boardOwnerUser(this, null));
|
|
200
|
+
_classPrivateFieldInitSpec(this, _M, _init_hasScreenShare(this, false));
|
|
201
|
+
_classPrivateFieldInitSpec(this, _N, _init_showArrow(this, false));
|
|
202
|
+
_classPrivateFieldInitSpec(this, _O, _init_phoneMicEnabled(this, false));
|
|
203
|
+
_classPrivateFieldInitSpec(this, _P, _init_chatTabIndex(this, _type5.FcrRoomType.Mainroom));
|
|
204
|
+
_classPrivateFieldInitSpec(this, _Q, _init_popoverOpened(this, false));
|
|
205
|
+
_classPrivateFieldInitSpec(this, _R, _init_stateBarLeaveMeeting(this, false));
|
|
206
|
+
_classPrivateFieldInitSpec(this, _S, _init_isPstnUser(this, false));
|
|
207
|
+
_classPrivateFieldInitSpec(this, _T, _init_interpreterUsersOffline(this, true));
|
|
208
|
+
this._roomProvider = args.roomProvider;
|
|
248
209
|
this._roomControl = args.roomControl;
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
210
|
+
this._deviceProvider = args.deviceProvider;
|
|
211
|
+
this._sharedLayoutDataSource = args.sharedLayoutDataSource;
|
|
212
|
+
this._eventProvider = args.eventProvider;
|
|
213
|
+
this._dialogProvider = args.dialogProvider;
|
|
214
|
+
this._messageProvider = args.messageProvider;
|
|
215
|
+
this._privilegeProvider = args.privilegeProvider;
|
|
216
|
+
this._deviceStreamProvider = args.deviceStreamProvider;
|
|
217
|
+
this._screenShareProvider = args.screenShareProvider;
|
|
218
|
+
this._sharedWaitingRoomDataSource = args.sharedWaitingRoomDataSource;
|
|
219
|
+
this._sharedInterpreterDataSource = args.sharedInterpreterDataSource;
|
|
220
|
+
this._sharedChatDataSource = args.sharedChatDataSource;
|
|
221
|
+
this._interpreterProvider = args.interpreterProvider;
|
|
222
|
+
this._sharedDevicePrivilegeDataSource = args.sharedDevicePrivilegeDataSource;
|
|
223
|
+
this._userControl = args.roomControl.getUserControl();
|
|
224
|
+
this._streamControl = args.roomControl.getStreamControl();
|
|
225
|
+
this._userControl = this._roomControl.getUserControl();
|
|
226
|
+
this._streamControl = this._roomControl.getStreamControl();
|
|
257
227
|
this.localUserRole = this._userControl.getLocalUser().userRole;
|
|
258
|
-
this.localUser =
|
|
228
|
+
this.localUser = this._userControl.getLocalUser();
|
|
229
|
+
this._roomType = (_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType;
|
|
259
230
|
this.users = Object.values(this._userControl.getUsers());
|
|
260
231
|
this.liveStreamingState = this._roomControl.getLiveStreamingState();
|
|
261
232
|
this.cloudRecordingState = this._roomControl.getCloudRecordingState();
|
|
262
233
|
this.totalUser = this._userControl.getAllUserCount();
|
|
263
|
-
this._microponeInitCount = this.microphoneList.length;
|
|
264
|
-
this._speakerInitCount = this.speakerList.length;
|
|
265
|
-
this._interpreterControl = args.interpreterControl;
|
|
266
|
-
this._roomStore = args.roomStore;
|
|
267
|
-
this.interpreter = this.getInterpreter();
|
|
268
|
-
this.interpreterState = this.getInterpreterState();
|
|
269
|
-
this.interpreterUsers = this.getInterpreterUsers('constructor');
|
|
270
234
|
this.interpreterUsersOffline = this.getInterpreterUsersAllOnline();
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
_this.interpreterUsers = _this.getInterpreterUsers('onInterpreterUsersUpdated');
|
|
274
|
-
_this.interpreter = _this.getInterpreter();
|
|
275
|
-
_this.interpreterUsersOffline = _this.getInterpreterUsersAllOnline();
|
|
276
|
-
},
|
|
277
|
-
onInterpreterStateUpdated: function onInterpreterStateUpdated() {
|
|
278
|
-
_this.interpreterUsers = _this.getInterpreterUsers('onInterpreterStateUpdated');
|
|
279
|
-
_this.interpreter = _this.getInterpreter();
|
|
280
|
-
var updatedInterpreterState = _this.getInterpreterState();
|
|
281
|
-
if (!_this.interpreterState && updatedInterpreterState) {
|
|
282
|
-
_this.setInitShowGuide(true);
|
|
283
|
-
}
|
|
284
|
-
_this.interpreterState = updatedInterpreterState;
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
this._userControl.addObserver(this._userObserver);
|
|
288
|
-
this._roomControl.addObserver(this._roomObserver);
|
|
289
|
-
this._streamControl.addObserver({
|
|
290
|
-
onStreamsAdded: this._handleStreamsAddedOrUpdated,
|
|
291
|
-
onStreamsUpdated: this._handleStreamsAddedOrUpdated,
|
|
292
|
-
onStreamsRemoved: this._handleStreamsAddedOrUpdated
|
|
293
|
-
});
|
|
294
|
-
this._roomStore.addObserver({
|
|
295
|
-
onJoinWaitingRoom: function onJoinWaitingRoom(roomControl) {
|
|
296
|
-
_this._waitingRoomControl = roomControl;
|
|
297
|
-
var waitingRoomUserControl = roomControl.getUserControl();
|
|
298
|
-
waitingRoomUserControl.addObserver(_this._waitingRoomUserObserver);
|
|
299
|
-
_this.newMessageCount = (0, _defineProperty2["default"])({}, _constant.RoomType.WAITING_ROOM, 0);
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
this._uiEventStore.addObserver(this._uiEventObserver);
|
|
303
|
-
this._deviceStore.addObserver({
|
|
304
|
-
onMicrophoneChanged: function onMicrophoneChanged(microphoneId) {
|
|
305
|
-
_this.connectType = microphoneId ? _deviceStore.ConnectType.COMPUTER : _deviceStore.ConnectType.NONE;
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
this._observer = {
|
|
309
|
-
onScreenCaptureStateUpdated: this._handlerTraceScreenCaptureStateUpdate.bind(this)
|
|
235
|
+
this._screenObserver = {
|
|
236
|
+
onScreenCaptureStateUpdated: this._handlerTraceScreenCaptureStateUpdate
|
|
310
237
|
};
|
|
238
|
+
this._userControl.addObserver(this._userObserver);
|
|
239
|
+
this._roomControl.addObserver(this._mainRoomObserver);
|
|
240
|
+
this._streamControl.addObserver(this._streamObserver);
|
|
241
|
+
this._eventProvider.addObserver(this._uiEventObserver);
|
|
242
|
+
if (this._roomType === _type5.FcrRoomType.Mainroom) {
|
|
243
|
+
this._interpreterControl = this._roomControl.getInterpreterControl();
|
|
244
|
+
this._interpreterControl.addObserver(this._interpreterObserver);
|
|
245
|
+
this._roomProvider.addObserver(this._roomObserver);
|
|
246
|
+
this._interpreterProvider.addObserver(this._interpreterProviderObserver);
|
|
247
|
+
}
|
|
311
248
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
312
249
|
return _this.cloudRecordingState;
|
|
313
250
|
}, function (state) {
|
|
@@ -318,13 +255,43 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
318
255
|
message = (0, _i18n.transI18n)('fmt_actionbar_button_disable');
|
|
319
256
|
}
|
|
320
257
|
if (message) {
|
|
321
|
-
_this.
|
|
258
|
+
_this._messageProvider.showToast({
|
|
322
259
|
type: 'normal',
|
|
323
260
|
message: (0, _i18n.transI18n)('fmt_actionbar_tips_cloudrecording_already', {
|
|
324
261
|
reason1: message
|
|
325
262
|
})
|
|
326
263
|
});
|
|
327
264
|
}
|
|
265
|
+
}), (0, _mobx.reaction)(function () {
|
|
266
|
+
return _this.chatVisible;
|
|
267
|
+
}, function (chatVisible) {
|
|
268
|
+
if (chatVisible) {
|
|
269
|
+
_this._handleChatVisible(true);
|
|
270
|
+
} else {
|
|
271
|
+
_this._handleChatVisible(false);
|
|
272
|
+
}
|
|
273
|
+
}),
|
|
274
|
+
// reaction(
|
|
275
|
+
// () => this._sharedWaitingRoomDataSource.totalWaitingRoomUser,
|
|
276
|
+
// (totalWaitingRoomUser) => {
|
|
277
|
+
// if (totalWaitingRoomUser === 0) {
|
|
278
|
+
// this.newMessageCount = {
|
|
279
|
+
// ...this.newMessageCount,
|
|
280
|
+
// [FcrRoomType.Waitingroom]: 0,
|
|
281
|
+
// };
|
|
282
|
+
// }
|
|
283
|
+
// },
|
|
284
|
+
// ),
|
|
285
|
+
(0, _mobx.reaction)(function () {
|
|
286
|
+
return _this.newMessageCount;
|
|
287
|
+
}, function (count) {
|
|
288
|
+
if (count[_type5.FcrRoomType.Mainroom] && count[_type5.FcrRoomType.Mainroom] > 0) {
|
|
289
|
+
_this._newMessageTooltipTimer && clearTimeout(_this._newMessageTooltipTimer);
|
|
290
|
+
_this.showNewMessageTooltip();
|
|
291
|
+
_this._newMessageTooltipTimer = window.setTimeout(function () {
|
|
292
|
+
_this.hideNewMessageTooltip();
|
|
293
|
+
}, 4000);
|
|
294
|
+
}
|
|
328
295
|
}));
|
|
329
296
|
}
|
|
330
297
|
return (0, _createClass2["default"])(ActionBarStore, [{
|
|
@@ -344,7 +311,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
344
311
|
_classPrivateFieldSet(_B, this, v);
|
|
345
312
|
}
|
|
346
313
|
}, {
|
|
347
|
-
key: "
|
|
314
|
+
key: "totalUser",
|
|
348
315
|
get: function get() {
|
|
349
316
|
return _classPrivateFieldGet(_C, this);
|
|
350
317
|
},
|
|
@@ -352,7 +319,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
352
319
|
_classPrivateFieldSet(_C, this, v);
|
|
353
320
|
}
|
|
354
321
|
}, {
|
|
355
|
-
key: "
|
|
322
|
+
key: "totalWaitingRoomUser",
|
|
356
323
|
get: function get() {
|
|
357
324
|
return _classPrivateFieldGet(_D, this);
|
|
358
325
|
},
|
|
@@ -360,7 +327,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
360
327
|
_classPrivateFieldSet(_D, this, v);
|
|
361
328
|
}
|
|
362
329
|
}, {
|
|
363
|
-
key: "
|
|
330
|
+
key: "liveStreamingState",
|
|
364
331
|
get: function get() {
|
|
365
332
|
return _classPrivateFieldGet(_E, this);
|
|
366
333
|
},
|
|
@@ -368,7 +335,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
368
335
|
_classPrivateFieldSet(_E, this, v);
|
|
369
336
|
}
|
|
370
337
|
}, {
|
|
371
|
-
key: "
|
|
338
|
+
key: "currentMenuIs",
|
|
372
339
|
get: function get() {
|
|
373
340
|
return _classPrivateFieldGet(_F, this);
|
|
374
341
|
},
|
|
@@ -376,7 +343,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
376
343
|
_classPrivateFieldSet(_F, this, v);
|
|
377
344
|
}
|
|
378
345
|
}, {
|
|
379
|
-
key: "
|
|
346
|
+
key: "cloudRecordingState",
|
|
380
347
|
get: function get() {
|
|
381
348
|
return _classPrivateFieldGet(_G, this);
|
|
382
349
|
},
|
|
@@ -384,7 +351,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
384
351
|
_classPrivateFieldSet(_G, this, v);
|
|
385
352
|
}
|
|
386
353
|
}, {
|
|
387
|
-
key: "
|
|
354
|
+
key: "localUserRole",
|
|
388
355
|
get: function get() {
|
|
389
356
|
return _classPrivateFieldGet(_H, this);
|
|
390
357
|
},
|
|
@@ -392,7 +359,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
392
359
|
_classPrivateFieldSet(_H, this, v);
|
|
393
360
|
}
|
|
394
361
|
}, {
|
|
395
|
-
key: "
|
|
362
|
+
key: "localUser",
|
|
396
363
|
get: function get() {
|
|
397
364
|
return _classPrivateFieldGet(_I, this);
|
|
398
365
|
},
|
|
@@ -400,7 +367,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
400
367
|
_classPrivateFieldSet(_I, this, v);
|
|
401
368
|
}
|
|
402
369
|
}, {
|
|
403
|
-
key: "
|
|
370
|
+
key: "connectionSettingVisible",
|
|
404
371
|
get: function get() {
|
|
405
372
|
return _classPrivateFieldGet(_J, this);
|
|
406
373
|
},
|
|
@@ -408,7 +375,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
408
375
|
_classPrivateFieldSet(_J, this, v);
|
|
409
376
|
}
|
|
410
377
|
}, {
|
|
411
|
-
key: "
|
|
378
|
+
key: "folded",
|
|
412
379
|
get: function get() {
|
|
413
380
|
return _classPrivateFieldGet(_K, this);
|
|
414
381
|
},
|
|
@@ -416,7 +383,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
416
383
|
_classPrivateFieldSet(_K, this, v);
|
|
417
384
|
}
|
|
418
385
|
}, {
|
|
419
|
-
key: "
|
|
386
|
+
key: "boardOwnerUser",
|
|
420
387
|
get: function get() {
|
|
421
388
|
return _classPrivateFieldGet(_L, this);
|
|
422
389
|
},
|
|
@@ -424,7 +391,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
424
391
|
_classPrivateFieldSet(_L, this, v);
|
|
425
392
|
}
|
|
426
393
|
}, {
|
|
427
|
-
key: "
|
|
394
|
+
key: "hasScreenShare",
|
|
428
395
|
get: function get() {
|
|
429
396
|
return _classPrivateFieldGet(_M, this);
|
|
430
397
|
},
|
|
@@ -432,7 +399,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
432
399
|
_classPrivateFieldSet(_M, this, v);
|
|
433
400
|
}
|
|
434
401
|
}, {
|
|
435
|
-
key: "
|
|
402
|
+
key: "showArrow",
|
|
436
403
|
get: function get() {
|
|
437
404
|
return _classPrivateFieldGet(_N, this);
|
|
438
405
|
},
|
|
@@ -440,7 +407,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
440
407
|
_classPrivateFieldSet(_N, this, v);
|
|
441
408
|
}
|
|
442
409
|
}, {
|
|
443
|
-
key: "
|
|
410
|
+
key: "phoneMicEnabled",
|
|
444
411
|
get: function get() {
|
|
445
412
|
return _classPrivateFieldGet(_O, this);
|
|
446
413
|
},
|
|
@@ -448,7 +415,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
448
415
|
_classPrivateFieldSet(_O, this, v);
|
|
449
416
|
}
|
|
450
417
|
}, {
|
|
451
|
-
key: "
|
|
418
|
+
key: "chatTabIndex",
|
|
452
419
|
get: function get() {
|
|
453
420
|
return _classPrivateFieldGet(_P, this);
|
|
454
421
|
},
|
|
@@ -456,7 +423,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
456
423
|
_classPrivateFieldSet(_P, this, v);
|
|
457
424
|
}
|
|
458
425
|
}, {
|
|
459
|
-
key: "
|
|
426
|
+
key: "popoverOpened",
|
|
460
427
|
get: function get() {
|
|
461
428
|
return _classPrivateFieldGet(_Q, this);
|
|
462
429
|
},
|
|
@@ -464,7 +431,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
464
431
|
_classPrivateFieldSet(_Q, this, v);
|
|
465
432
|
}
|
|
466
433
|
}, {
|
|
467
|
-
key: "
|
|
434
|
+
key: "stateBarLeaveMeeting",
|
|
468
435
|
get: function get() {
|
|
469
436
|
return _classPrivateFieldGet(_R, this);
|
|
470
437
|
},
|
|
@@ -472,7 +439,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
472
439
|
_classPrivateFieldSet(_R, this, v);
|
|
473
440
|
}
|
|
474
441
|
}, {
|
|
475
|
-
key: "
|
|
442
|
+
key: "isPstnUser",
|
|
476
443
|
get: function get() {
|
|
477
444
|
return _classPrivateFieldGet(_S, this);
|
|
478
445
|
},
|
|
@@ -480,7 +447,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
480
447
|
_classPrivateFieldSet(_S, this, v);
|
|
481
448
|
}
|
|
482
449
|
}, {
|
|
483
|
-
key: "
|
|
450
|
+
key: "interpreterUsersOffline",
|
|
484
451
|
get: function get() {
|
|
485
452
|
return _classPrivateFieldGet(_T, this);
|
|
486
453
|
},
|
|
@@ -488,77 +455,78 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
488
455
|
_classPrivateFieldSet(_T, this, v);
|
|
489
456
|
}
|
|
490
457
|
}, {
|
|
491
|
-
key: "
|
|
458
|
+
key: "interpreter",
|
|
492
459
|
get: function get() {
|
|
493
|
-
return
|
|
494
|
-
},
|
|
495
|
-
set: function set(v) {
|
|
496
|
-
_classPrivateFieldSet(_U, this, v);
|
|
460
|
+
return this._sharedInterpreterDataSource.interpreterInfo;
|
|
497
461
|
}
|
|
498
462
|
}, {
|
|
499
|
-
key: "
|
|
463
|
+
key: "interpreterUsers",
|
|
500
464
|
get: function get() {
|
|
501
|
-
return
|
|
502
|
-
},
|
|
503
|
-
set: function set(v) {
|
|
504
|
-
_classPrivateFieldSet(_V, this, v);
|
|
465
|
+
return this._sharedInterpreterDataSource.interpreterUsers;
|
|
505
466
|
}
|
|
506
467
|
}, {
|
|
507
|
-
key: "
|
|
468
|
+
key: "interpreterState",
|
|
508
469
|
get: function get() {
|
|
509
|
-
return
|
|
510
|
-
},
|
|
511
|
-
set: function set(v) {
|
|
512
|
-
_classPrivateFieldSet(_W, this, v);
|
|
470
|
+
return this._sharedInterpreterDataSource.interpreterOff;
|
|
513
471
|
}
|
|
514
472
|
}, {
|
|
515
|
-
key: "
|
|
473
|
+
key: "outputLanguage",
|
|
516
474
|
get: function get() {
|
|
517
|
-
return
|
|
518
|
-
},
|
|
519
|
-
set: function set(v) {
|
|
520
|
-
_classPrivateFieldSet(_X, this, v);
|
|
475
|
+
return this._sharedInterpreterDataSource.outputLanguage;
|
|
521
476
|
}
|
|
522
477
|
}, {
|
|
523
|
-
key: "
|
|
478
|
+
key: "subscribeLanguageList",
|
|
524
479
|
get: function get() {
|
|
525
|
-
return
|
|
526
|
-
},
|
|
527
|
-
set: function set(v) {
|
|
528
|
-
_classPrivateFieldSet(_Y, this, v);
|
|
480
|
+
return this._sharedInterpreterDataSource.subscribeLanguageList;
|
|
529
481
|
}
|
|
530
482
|
}, {
|
|
531
|
-
key: "
|
|
483
|
+
key: "preSubscribeLanguageList",
|
|
532
484
|
get: function get() {
|
|
533
|
-
return
|
|
534
|
-
},
|
|
535
|
-
set: function set(v) {
|
|
536
|
-
_classPrivateFieldSet(_Z, this, v);
|
|
485
|
+
return this._sharedInterpreterDataSource.preSubscribeLanguageList;
|
|
537
486
|
}
|
|
538
487
|
}, {
|
|
539
|
-
key: "
|
|
488
|
+
key: "subscribeLanguageOptionList",
|
|
540
489
|
get: function get() {
|
|
541
|
-
return
|
|
542
|
-
},
|
|
543
|
-
set: function set(v) {
|
|
544
|
-
_classPrivateFieldSet(_a, this, v);
|
|
490
|
+
return this._sharedInterpreterDataSource.subscribeLanguageOptionList;
|
|
545
491
|
}
|
|
546
492
|
}, {
|
|
547
|
-
key: "
|
|
493
|
+
key: "isNewWaitingRoomUserEnter",
|
|
548
494
|
get: function get() {
|
|
549
|
-
return
|
|
550
|
-
},
|
|
551
|
-
set: function set(v) {
|
|
552
|
-
_classPrivateFieldSet(_b, this, v);
|
|
495
|
+
return this._sharedWaitingRoomDataSource.unReadState;
|
|
553
496
|
}
|
|
554
497
|
}, {
|
|
555
|
-
key: "
|
|
498
|
+
key: "privilegeProvider",
|
|
556
499
|
get: function get() {
|
|
557
|
-
return
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
500
|
+
return this._privilegeProvider;
|
|
501
|
+
}
|
|
502
|
+
}, {
|
|
503
|
+
key: "asideLayout",
|
|
504
|
+
get: function get() {
|
|
505
|
+
var _this$_sharedLayoutDa;
|
|
506
|
+
return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.asideLayout;
|
|
561
507
|
}
|
|
508
|
+
}, {
|
|
509
|
+
key: "chatRenderAt",
|
|
510
|
+
get: function get() {
|
|
511
|
+
return this._sharedLayoutDataSource.chatRenderAt;
|
|
512
|
+
}
|
|
513
|
+
}, {
|
|
514
|
+
key: "participantsRenderAt",
|
|
515
|
+
get: function get() {
|
|
516
|
+
return this._sharedLayoutDataSource.participantsRenderAt;
|
|
517
|
+
}
|
|
518
|
+
}, {
|
|
519
|
+
key: "participantVisible",
|
|
520
|
+
get: function get() {
|
|
521
|
+
return this._sharedLayoutDataSource.asideLayout.participant;
|
|
522
|
+
}
|
|
523
|
+
}, {
|
|
524
|
+
key: "chatVisible",
|
|
525
|
+
get: function get() {
|
|
526
|
+
return this._sharedLayoutDataSource.asideLayout.chat;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
// REPEAT:Users
|
|
562
530
|
}, {
|
|
563
531
|
key: "remoteUsers",
|
|
564
532
|
get: function get() {
|
|
@@ -570,190 +538,180 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
570
538
|
}, {
|
|
571
539
|
key: "hasStartScreenSharePermission",
|
|
572
540
|
get: function get() {
|
|
573
|
-
return this.
|
|
541
|
+
return this._privilegeProvider.hasStartScreenSharePermission();
|
|
542
|
+
}
|
|
543
|
+
}, {
|
|
544
|
+
key: "hasStopScreenSharePermission",
|
|
545
|
+
get: function get() {
|
|
546
|
+
var _this$_sharingOwnerUs;
|
|
547
|
+
return this.hasScreenShare && this.hasEnableStartScreenSharePermission && this._sharingOwnerUser && this.localUser.userId !== ((_this$_sharingOwnerUs = this._sharingOwnerUser) === null || _this$_sharingOwnerUs === void 0 ? void 0 : _this$_sharingOwnerUs.userId);
|
|
548
|
+
}
|
|
549
|
+
}, {
|
|
550
|
+
key: "sharingOwnerUser",
|
|
551
|
+
get: function get() {
|
|
552
|
+
return this._sharingOwnerUser;
|
|
553
|
+
}
|
|
554
|
+
}, {
|
|
555
|
+
key: "hasEnableStartScreenSharePermission",
|
|
556
|
+
get: function get() {
|
|
557
|
+
var _this$sharingOwnerUse;
|
|
558
|
+
return this._privilegeProvider.hasStopScreenSharePermission((_this$sharingOwnerUse = this.sharingOwnerUser) === null || _this$sharingOwnerUse === void 0 ? void 0 : _this$sharingOwnerUse.userRole);
|
|
574
559
|
}
|
|
575
560
|
}, {
|
|
576
561
|
key: "hasStartLiveStreamingPermission",
|
|
577
562
|
get: function get() {
|
|
578
|
-
return this.
|
|
563
|
+
return this._privilegeProvider.hasStartLiveStreamingPermission();
|
|
579
564
|
}
|
|
580
565
|
}, {
|
|
581
566
|
key: "hasEnableStartAudioPermission",
|
|
582
567
|
get: function get() {
|
|
583
|
-
return this.
|
|
568
|
+
return this._privilegeProvider.hasEnableStartAudioPermission();
|
|
584
569
|
}
|
|
585
570
|
}, {
|
|
586
571
|
key: "hasEnableChangeNamePermission",
|
|
587
572
|
get: function get() {
|
|
588
|
-
return this.
|
|
573
|
+
return this._privilegeProvider.hasEnableChangeNamePermission();
|
|
589
574
|
}
|
|
590
575
|
}, {
|
|
591
576
|
key: "hasEnableStartVideoPermission",
|
|
592
577
|
get: function get() {
|
|
593
|
-
return this.
|
|
578
|
+
return this._privilegeProvider.hasEnableStartVideoPermission();
|
|
594
579
|
}
|
|
595
580
|
}, {
|
|
596
581
|
key: "hasLockRoomPermission",
|
|
597
582
|
get: function get() {
|
|
598
|
-
return this.
|
|
583
|
+
return this._privilegeProvider.hasLockRoomPermission();
|
|
599
584
|
}
|
|
600
585
|
}, {
|
|
601
586
|
key: "hasEnableJoinWithAudioPermission",
|
|
602
587
|
get: function get() {
|
|
603
|
-
return this.
|
|
588
|
+
return this._privilegeProvider.hasEnableJoinWithAudioPermission();
|
|
604
589
|
}
|
|
605
590
|
}, {
|
|
606
591
|
key: "hasWaitingRoomPermission",
|
|
607
592
|
get: function get() {
|
|
608
|
-
return this.
|
|
593
|
+
return this._privilegeProvider.hasWaitingRoomPermission();
|
|
609
594
|
}
|
|
610
595
|
}, {
|
|
611
596
|
key: "hasWatermarkEnablePermission",
|
|
612
597
|
get: function get() {
|
|
613
|
-
return this.
|
|
598
|
+
return this._privilegeProvider.hasWatermarkEnablePermission();
|
|
614
599
|
}
|
|
615
600
|
}, {
|
|
616
601
|
key: "hasWatermarkDisablePermission",
|
|
617
602
|
get: function get() {
|
|
618
|
-
return this.
|
|
603
|
+
return this._privilegeProvider.hasWatermarkDisablePermission();
|
|
619
604
|
}
|
|
620
605
|
}, {
|
|
621
606
|
key: "hasEnableStartSharePermission",
|
|
622
607
|
get: function get() {
|
|
623
|
-
return this.
|
|
608
|
+
return this._privilegeProvider.hasEnableStartScreenSharePermission();
|
|
624
609
|
}
|
|
625
610
|
}, {
|
|
626
611
|
key: "hasAllowWriteBoardPermission",
|
|
627
612
|
get: function get() {
|
|
628
|
-
return this.
|
|
613
|
+
return this._privilegeProvider.hasAllowWriteBoardPermission();
|
|
629
614
|
}
|
|
630
615
|
}, {
|
|
631
616
|
key: "hasCloseWriteBoardPermission",
|
|
632
617
|
get: function get() {
|
|
633
|
-
|
|
618
|
+
var _this$boardOwnerUser;
|
|
619
|
+
return this._privilegeProvider.hasCloseBoardPermission((_this$boardOwnerUser = this.boardOwnerUser) === null || _this$boardOwnerUser === void 0 ? void 0 : _this$boardOwnerUser.userRole);
|
|
634
620
|
}
|
|
635
621
|
}, {
|
|
636
622
|
key: "hasAllowScreenShareAndBoardPermission",
|
|
637
623
|
get: function get() {
|
|
638
|
-
return this.
|
|
624
|
+
return this._privilegeProvider.hasAllowScreenShareAndBoardPermission();
|
|
639
625
|
}
|
|
640
626
|
}, {
|
|
641
627
|
key: "hasAllowChatPermission",
|
|
642
628
|
get: function get() {
|
|
643
|
-
return this.
|
|
629
|
+
return this._privilegeProvider.hasPermissionToControlAllowSendAll();
|
|
644
630
|
}
|
|
645
631
|
}, {
|
|
646
632
|
key: "hasStartCloudRecordingPermission",
|
|
647
633
|
get: function get() {
|
|
648
|
-
return this.
|
|
634
|
+
return this._privilegeProvider.hasStartCloudRecordingPermission();
|
|
649
635
|
}
|
|
650
636
|
}, {
|
|
651
637
|
key: "hasAssignHostBeforeLeavingPermission",
|
|
652
638
|
get: function get() {
|
|
653
|
-
return this.
|
|
639
|
+
return this._privilegeProvider.hasAssignHostBeforeLeavingPermission(this.localUserRole);
|
|
654
640
|
}
|
|
655
641
|
}, {
|
|
656
642
|
key: "hasEndRoomPermission",
|
|
657
643
|
get: function get() {
|
|
658
|
-
return this.
|
|
644
|
+
return this._privilegeProvider.hasEndRoomPermission();
|
|
659
645
|
}
|
|
660
646
|
}, {
|
|
661
647
|
key: "isScreenShareAndBoardEnabled",
|
|
662
648
|
get: function get() {
|
|
663
|
-
return this.
|
|
649
|
+
return this._privilegeProvider.allowScreenShareAndBoard();
|
|
664
650
|
}
|
|
665
651
|
}, {
|
|
666
652
|
key: "isBoardWriteEnabled",
|
|
667
653
|
get: function get() {
|
|
668
|
-
return this.
|
|
654
|
+
return this._privilegeProvider.allowBoardWrite();
|
|
669
655
|
}
|
|
670
656
|
}, {
|
|
671
657
|
key: "isWaterMarkEnabled",
|
|
672
658
|
get: function get() {
|
|
673
|
-
return this.
|
|
659
|
+
return this._privilegeProvider.isWaterMarkEnabled();
|
|
674
660
|
}
|
|
675
661
|
}, {
|
|
676
662
|
key: "isMulti",
|
|
677
663
|
get: function get() {
|
|
678
|
-
return this.
|
|
664
|
+
return this._privilegeProvider.isMulti();
|
|
679
665
|
}
|
|
680
666
|
}, {
|
|
681
667
|
key: "hasEnableInterpreterPermission",
|
|
682
668
|
get: function get() {
|
|
683
|
-
return this.
|
|
669
|
+
return this._privilegeProvider.hasEnableInterpreterPermission();
|
|
684
670
|
}
|
|
685
671
|
}, {
|
|
686
672
|
key: "hasDisableInterpreterPermission",
|
|
687
673
|
get: function get() {
|
|
688
|
-
return this.
|
|
689
|
-
}
|
|
690
|
-
}, {
|
|
691
|
-
key: "cameraEnabled",
|
|
692
|
-
get: function get() {
|
|
693
|
-
return this._deviceStore.cameraEnabled;
|
|
694
|
-
}
|
|
695
|
-
}, {
|
|
696
|
-
key: "cameraId",
|
|
697
|
-
get: function get() {
|
|
698
|
-
return this._deviceStore.cameraId;
|
|
699
|
-
}
|
|
700
|
-
}, {
|
|
701
|
-
key: "cameraList",
|
|
702
|
-
get: function get() {
|
|
703
|
-
return this._deviceStore.cameraList;
|
|
674
|
+
return this._privilegeProvider.hasDisableInterpreterPermission();
|
|
704
675
|
}
|
|
705
676
|
}, {
|
|
706
677
|
key: "microphoneEnabled",
|
|
707
678
|
get: function get() {
|
|
708
|
-
return this.
|
|
709
|
-
}
|
|
710
|
-
}, {
|
|
711
|
-
key: "microphoneId",
|
|
712
|
-
get: function get() {
|
|
713
|
-
return this._deviceStore.microphoneId;
|
|
714
|
-
}
|
|
715
|
-
}, {
|
|
716
|
-
key: "microphoneVolumeLevel",
|
|
717
|
-
get: function get() {
|
|
718
|
-
return this._deviceStore.microphoneVolumeLevel;
|
|
719
|
-
}
|
|
720
|
-
}, {
|
|
721
|
-
key: "microphoneList",
|
|
722
|
-
get: function get() {
|
|
723
|
-
return this._deviceStore.microphoneList;
|
|
724
|
-
}
|
|
725
|
-
}, {
|
|
726
|
-
key: "speakerId",
|
|
727
|
-
get: function get() {
|
|
728
|
-
return this._deviceStore.speakerId;
|
|
729
|
-
}
|
|
730
|
-
}, {
|
|
731
|
-
key: "speakerList",
|
|
732
|
-
get: function get() {
|
|
733
|
-
return this._deviceStore.speakerList;
|
|
679
|
+
return this._deviceProvider.microphoneEnabled;
|
|
734
680
|
}
|
|
735
681
|
}, {
|
|
736
682
|
key: "allNewMessage",
|
|
737
683
|
get: function get() {
|
|
738
|
-
return Object.values(this.newMessageCount).reduce(function (a, b) {
|
|
684
|
+
return Object.values(this._sharedChatDataSource.newMessageCount).reduce(function (a, b) {
|
|
739
685
|
return a + b;
|
|
740
686
|
}, 0);
|
|
741
687
|
}
|
|
742
688
|
}, {
|
|
743
689
|
key: "isMainRoom",
|
|
744
690
|
get: function get() {
|
|
745
|
-
|
|
746
|
-
return ((_this$_roomControl$ge = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge === void 0 ? void 0 : _this$_roomControl$ge.roomType) === _type6.FcrRoomType.Mainroom;
|
|
691
|
+
return this._roomType === _type5.FcrRoomType.Mainroom;
|
|
747
692
|
}
|
|
748
693
|
}, {
|
|
749
694
|
key: "hasAllowChangeNamePromission",
|
|
750
695
|
get: function get() {
|
|
751
|
-
return this.
|
|
696
|
+
return this._privilegeProvider.hasAllowChangeNamePermission();
|
|
752
697
|
}
|
|
753
698
|
}, {
|
|
754
699
|
key: "hasDisallowChangeNamePromission",
|
|
755
700
|
get: function get() {
|
|
756
|
-
return this.
|
|
701
|
+
return this._privilegeProvider.hasDisallowChangeNamePermission();
|
|
702
|
+
}
|
|
703
|
+
}, {
|
|
704
|
+
key: "newMessageCount",
|
|
705
|
+
get: function get() {
|
|
706
|
+
return this._sharedChatDataSource.newMessageCount;
|
|
707
|
+
},
|
|
708
|
+
set: function set(value) {
|
|
709
|
+
this._sharedChatDataSource.newMessageCount = value;
|
|
710
|
+
}
|
|
711
|
+
}, {
|
|
712
|
+
key: "latestMessage",
|
|
713
|
+
get: function get() {
|
|
714
|
+
return this._sharedChatDataSource.latestMessage;
|
|
757
715
|
}
|
|
758
716
|
}, {
|
|
759
717
|
key: "pauseCloudRecording",
|
|
@@ -789,7 +747,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
789
747
|
}, {
|
|
790
748
|
key: "toggleLayoutBarLock",
|
|
791
749
|
value: function toggleLayoutBarLock(payload) {
|
|
792
|
-
this.
|
|
750
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK, payload);
|
|
793
751
|
}
|
|
794
752
|
}, {
|
|
795
753
|
key: "showNewMessageTooltip",
|
|
@@ -804,47 +762,28 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
804
762
|
}, {
|
|
805
763
|
key: "switchMenu",
|
|
806
764
|
value: function switchMenu(value) {
|
|
807
|
-
this.currentMenuIs = value || MoreMenuType.DEFAULT;
|
|
765
|
+
this.currentMenuIs = value || _enums2.MoreMenuType.DEFAULT;
|
|
808
766
|
}
|
|
809
767
|
}, {
|
|
810
768
|
key: "isLocked",
|
|
811
769
|
get: function get() {
|
|
812
|
-
return this.
|
|
770
|
+
return this._privilegeProvider.isLockRoomEnabled();
|
|
813
771
|
}
|
|
814
772
|
}, {
|
|
815
773
|
key: "isWaitingRoomEnabled",
|
|
816
774
|
value: function isWaitingRoomEnabled() {
|
|
817
|
-
return this.
|
|
775
|
+
return this._privilegeProvider.isWaitingRoomEnabled();
|
|
818
776
|
}
|
|
819
777
|
}, {
|
|
820
778
|
key: "isAllowJoinWithAudioEnabled",
|
|
821
779
|
value: function isAllowJoinWithAudioEnabled() {
|
|
822
|
-
return this.
|
|
823
|
-
}
|
|
824
|
-
}, {
|
|
825
|
-
key: "enableCamera",
|
|
826
|
-
value: function enableCamera(enable) {
|
|
827
|
-
this._deviceStreamStore.enableCameraWithStream(enable);
|
|
828
|
-
}
|
|
829
|
-
}, {
|
|
830
|
-
key: "setCameraId",
|
|
831
|
-
value: function setCameraId(cameraId) {
|
|
832
|
-
this._deviceStore.setCameraId(cameraId);
|
|
780
|
+
return this._privilegeProvider.allowJoinWithMuteAudio();
|
|
833
781
|
}
|
|
834
782
|
}, {
|
|
835
783
|
key: "enableMicrophone",
|
|
836
784
|
value: function enableMicrophone(enable) {
|
|
837
|
-
this.
|
|
838
|
-
|
|
839
|
-
}, {
|
|
840
|
-
key: "setMicrophoneId",
|
|
841
|
-
value: function setMicrophoneId(microphoneId) {
|
|
842
|
-
this._deviceStore.setMicrophoneId(microphoneId);
|
|
843
|
-
}
|
|
844
|
-
}, {
|
|
845
|
-
key: "setSpeakerId",
|
|
846
|
-
value: function setSpeakerId(speakerId) {
|
|
847
|
-
this._deviceStore.setSpeakerId(speakerId);
|
|
785
|
+
this._deviceStreamProvider.enableMicrophoneWithPreCheck(enable);
|
|
786
|
+
this._sharedDevicePrivilegeDataSource.setShouldIncludeMicrophone(true);
|
|
848
787
|
}
|
|
849
788
|
}, {
|
|
850
789
|
key: "setAllowBoardWrite",
|
|
@@ -855,7 +794,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
855
794
|
while (1) switch (_context.prev = _context.next) {
|
|
856
795
|
case 0:
|
|
857
796
|
write = this.isBoardWriteEnabled ? _enums.FcrSharePermissionState.OFF : _enums.FcrSharePermissionState.ON;
|
|
858
|
-
return _context.abrupt("return", this.
|
|
797
|
+
return _context.abrupt("return", this._privilegeProvider.setAllowWriteBoard(write));
|
|
859
798
|
case 2:
|
|
860
799
|
case "end":
|
|
861
800
|
return _context.stop();
|
|
@@ -871,32 +810,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
871
810
|
key: "setAllowScreenShare",
|
|
872
811
|
value: function setAllowScreenShare() {
|
|
873
812
|
var enable = this.isScreenShareAndBoardEnabled ? _enums.FcrSharePermissionState.OFF : _enums.FcrSharePermissionState.ON;
|
|
874
|
-
return this.
|
|
875
|
-
}
|
|
876
|
-
}, {
|
|
877
|
-
key: "closeBoard",
|
|
878
|
-
value: function closeBoard() {
|
|
879
|
-
this._uiEventStore.sendEvent(_constant.UIAction.CLOSE_WHITEBOARD);
|
|
880
|
-
}
|
|
881
|
-
}, {
|
|
882
|
-
key: "assignHost",
|
|
883
|
-
value: function assignHost(user) {
|
|
884
|
-
this._userControl.updateRemoteUserRole(user.userId, _type.FcrUserRole.HOST);
|
|
885
|
-
this.leave();
|
|
886
|
-
}
|
|
887
|
-
}, {
|
|
888
|
-
key: "leave",
|
|
889
|
-
value: function leave() {
|
|
890
|
-
var _this$_roomControl$ge2;
|
|
891
|
-
this._uiEventStore.sendEvent(_constant.UIAction.EXIT_ROOM, {
|
|
892
|
-
reason: _type2.FcrUIExitReason.LEAVE_ROOM,
|
|
893
|
-
roomType: (_this$_roomControl$ge2 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge2 === void 0 ? void 0 : _this$_roomControl$ge2.roomType
|
|
894
|
-
});
|
|
895
|
-
}
|
|
896
|
-
}, {
|
|
897
|
-
key: "keepPhoneAudioConnection",
|
|
898
|
-
value: function keepPhoneAudioConnection() {
|
|
899
|
-
this._streamControl.splitAudioStream(this._userControl.getLocalUser().userId);
|
|
813
|
+
return this._privilegeProvider.allowShare(enable);
|
|
900
814
|
}
|
|
901
815
|
}, {
|
|
902
816
|
key: "setPopoverOpened",
|
|
@@ -914,31 +828,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
914
828
|
}, {
|
|
915
829
|
key: "getRoomType",
|
|
916
830
|
value: function getRoomType() {
|
|
917
|
-
var _this$_roomControl$
|
|
918
|
-
return (_this$_roomControl$
|
|
831
|
+
var _this$_roomControl$ge2;
|
|
832
|
+
return (_this$_roomControl$ge2 = this._roomControl.getRoomInfo()) === null || _this$_roomControl$ge2 === void 0 ? void 0 : _this$_roomControl$ge2.roomType;
|
|
919
833
|
}
|
|
920
|
-
}, {
|
|
921
|
-
key: "end",
|
|
922
|
-
value: function () {
|
|
923
|
-
var _end = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2() {
|
|
924
|
-
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
925
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
926
|
-
case 0:
|
|
927
|
-
_context2.next = 2;
|
|
928
|
-
return this._roomControl.close();
|
|
929
|
-
case 2:
|
|
930
|
-
this.leave();
|
|
931
|
-
case 3:
|
|
932
|
-
case "end":
|
|
933
|
-
return _context2.stop();
|
|
934
|
-
}
|
|
935
|
-
}, _callee2, this);
|
|
936
|
-
}));
|
|
937
|
-
function end() {
|
|
938
|
-
return _end.apply(this, arguments);
|
|
939
|
-
}
|
|
940
|
-
return end;
|
|
941
|
-
}()
|
|
942
834
|
}, {
|
|
943
835
|
key: "release",
|
|
944
836
|
value: function release() {
|
|
@@ -946,165 +838,175 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
946
838
|
this._disposers.forEach(function (dispose) {
|
|
947
839
|
return dispose();
|
|
948
840
|
});
|
|
841
|
+
this._disposers = [];
|
|
949
842
|
this._hideBarArrowTimer && clearTimeout(this._hideBarArrowTimer);
|
|
950
|
-
(_this$_screenVideoTra = this._screenVideoTrack) === null || _this$_screenVideoTra === void 0 || _this$_screenVideoTra.removeObserver(this.
|
|
843
|
+
(_this$_screenVideoTra = this._screenVideoTrack) === null || _this$_screenVideoTra === void 0 || _this$_screenVideoTra.removeObserver(this._screenObserver);
|
|
844
|
+
this._userControl.removeObserver(this._userObserver);
|
|
845
|
+
this._roomControl.removeObserver(this._mainRoomObserver);
|
|
846
|
+
this._streamControl.removeObserver(this._streamObserver);
|
|
847
|
+
this._eventProvider.removeObserver(this._uiEventObserver);
|
|
848
|
+
if (this._roomType === _type5.FcrRoomType.Mainroom) {
|
|
849
|
+
this._interpreterControl = this._roomControl.getInterpreterControl();
|
|
850
|
+
this._interpreterControl.removeObserver(this._interpreterObserver);
|
|
851
|
+
this._roomProvider.removeObserver(this._roomObserver);
|
|
852
|
+
this._interpreterProvider.removeObserver(this._interpreterProviderObserver);
|
|
853
|
+
}
|
|
951
854
|
}
|
|
952
855
|
}, {
|
|
953
856
|
key: "allowJoinWithMuteAudio",
|
|
954
857
|
value: function allowJoinWithMuteAudio() {
|
|
955
|
-
return this.
|
|
858
|
+
return this._privilegeProvider.allowJoinWithMuteAudio();
|
|
956
859
|
}
|
|
957
860
|
}, {
|
|
958
861
|
key: "setAllowJoinWithMuteAudio",
|
|
959
862
|
value: function setAllowJoinWithMuteAudio(enable) {
|
|
960
|
-
return this.
|
|
863
|
+
return this._privilegeProvider.setAllowJoinWithMuteAudio(enable);
|
|
961
864
|
}
|
|
962
865
|
}, {
|
|
963
866
|
key: "isLockRoomEnabled",
|
|
964
867
|
value: function isLockRoomEnabled() {
|
|
965
|
-
return this.
|
|
868
|
+
return this._privilegeProvider.isLockRoomEnabled();
|
|
966
869
|
}
|
|
967
870
|
}, {
|
|
968
871
|
key: "setLockRoomEnabled",
|
|
969
872
|
value: function setLockRoomEnabled(enable) {
|
|
970
|
-
return this.
|
|
873
|
+
return this._privilegeProvider.setLockRoomEnabled(enable);
|
|
971
874
|
}
|
|
972
875
|
}, {
|
|
973
876
|
key: "setAllowShareScreen",
|
|
974
877
|
value: function setAllowShareScreen(enable) {
|
|
975
|
-
return this.
|
|
878
|
+
return this._privilegeProvider.setAllowShareScreen(enable);
|
|
976
879
|
}
|
|
977
880
|
}, {
|
|
978
881
|
key: "allowShareScreen",
|
|
979
882
|
value: function allowShareScreen() {
|
|
980
|
-
return this.
|
|
883
|
+
return this._privilegeProvider.allowShareScreen();
|
|
981
884
|
}
|
|
982
885
|
}, {
|
|
983
886
|
key: "allowWriteBoard",
|
|
984
887
|
value: function allowWriteBoard() {
|
|
985
|
-
return this.
|
|
888
|
+
return this._privilegeProvider.hasAllowWriteBoardPermission();
|
|
986
889
|
}
|
|
987
890
|
}, {
|
|
988
891
|
key: "allowChat",
|
|
989
892
|
value: function allowChat() {
|
|
990
|
-
return this.
|
|
893
|
+
return this._privilegeProvider.allowChat();
|
|
991
894
|
}
|
|
992
895
|
}, {
|
|
993
896
|
key: "setAllowChat",
|
|
994
897
|
value: function setAllowChat(enable) {
|
|
995
|
-
return this.
|
|
898
|
+
return this._privilegeProvider.setAllowChat(enable);
|
|
996
899
|
}
|
|
997
900
|
}, {
|
|
998
901
|
key: "allowUnmuteSelfAudio",
|
|
999
902
|
value: function allowUnmuteSelfAudio() {
|
|
1000
|
-
return this.
|
|
903
|
+
return this._privilegeProvider.allowUnmuteSelfAudio();
|
|
1001
904
|
}
|
|
1002
905
|
}, {
|
|
1003
906
|
key: "setAllowUnmuteSelfAudio",
|
|
1004
907
|
value: function setAllowUnmuteSelfAudio(enable) {
|
|
1005
|
-
return this.
|
|
908
|
+
return this._privilegeProvider.setAllowUnmuteSelfAudio(enable);
|
|
1006
909
|
}
|
|
1007
910
|
}, {
|
|
1008
911
|
key: "allowUnmuteSelfVideo",
|
|
1009
912
|
value: function allowUnmuteSelfVideo() {
|
|
1010
|
-
return this.
|
|
913
|
+
return this._privilegeProvider.allowUnmuteSelfVideo();
|
|
1011
914
|
}
|
|
1012
915
|
}, {
|
|
1013
916
|
key: "setAllowUnmuteSelfVideo",
|
|
1014
917
|
value: function setAllowUnmuteSelfVideo(enable) {
|
|
1015
|
-
return this.
|
|
918
|
+
return this._privilegeProvider.setAllowUnmuteSelfVideo(enable);
|
|
1016
919
|
}
|
|
1017
920
|
}, {
|
|
1018
921
|
key: "allowChangeName",
|
|
1019
922
|
value: function allowChangeName() {
|
|
1020
|
-
return this.
|
|
923
|
+
return this._privilegeProvider.allowChangeSelfName();
|
|
1021
924
|
}
|
|
1022
925
|
}, {
|
|
1023
926
|
key: "setAllowChangeName",
|
|
1024
927
|
value: function setAllowChangeName(enable) {
|
|
1025
|
-
return this.
|
|
928
|
+
return this._privilegeProvider.setAllowChangeSelfName(enable);
|
|
1026
929
|
}
|
|
1027
930
|
}, {
|
|
1028
931
|
key: "toggleChat",
|
|
1029
932
|
value: function toggleChat() {
|
|
1030
|
-
!this.
|
|
933
|
+
!this.chatVisible || (0, _env.isElectron)() && this.chatRenderAt === 'dialog' ? this.openChat() : this.closeChat();
|
|
1031
934
|
}
|
|
1032
935
|
}, {
|
|
1033
936
|
key: "openChat",
|
|
1034
937
|
value: function openChat() {
|
|
1035
|
-
if (this.
|
|
1036
|
-
this.
|
|
1037
|
-
chat: true
|
|
1038
|
-
});
|
|
938
|
+
if (this.chatRenderAt === 'aside') {
|
|
939
|
+
this._sharedLayoutDataSource.setChatRenderAt('aside');
|
|
1039
940
|
}
|
|
1040
|
-
if (this.
|
|
1041
|
-
this.
|
|
941
|
+
if (this.chatRenderAt === 'dialog') {
|
|
942
|
+
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
943
|
+
this._eventProvider.openDialog(_constant.FcrUIDialogKey.CHAT);
|
|
1042
944
|
}
|
|
945
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
946
|
+
chat: true
|
|
947
|
+
});
|
|
1043
948
|
}
|
|
1044
949
|
}, {
|
|
1045
950
|
key: "closeChat",
|
|
1046
951
|
value: function closeChat() {
|
|
1047
|
-
if (!this.
|
|
1048
|
-
if (this.
|
|
1049
|
-
this._uiEventStore.updateAside({
|
|
1050
|
-
chat: false
|
|
1051
|
-
});
|
|
1052
|
-
}
|
|
1053
|
-
if (this._chatRenderAt === 'dialog') {
|
|
952
|
+
if (!this.chatVisible) return;
|
|
953
|
+
if (this.chatRenderAt === 'dialog') {
|
|
1054
954
|
var chatDialogId = '';
|
|
1055
955
|
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1056
|
-
if (dialogKey === _constant.
|
|
956
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1057
957
|
chatDialogId = dialogId;
|
|
1058
958
|
}
|
|
1059
959
|
});
|
|
1060
|
-
chatDialogId && this.
|
|
960
|
+
chatDialogId && this._dialogProvider.closeDialog(chatDialogId);
|
|
1061
961
|
}
|
|
962
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
963
|
+
chat: false
|
|
964
|
+
});
|
|
1062
965
|
}
|
|
1063
966
|
}, {
|
|
1064
967
|
key: "toggleParticipants",
|
|
1065
968
|
value: function toggleParticipants() {
|
|
1066
|
-
!this.
|
|
969
|
+
!this.participantVisible || (0, _env.isElectron)() && this.participantsRenderAt === 'dialog' ? this.openParticipants() : this.closeParticipants();
|
|
1067
970
|
}
|
|
1068
971
|
}, {
|
|
1069
972
|
key: "openParticipants",
|
|
1070
973
|
value: function openParticipants() {
|
|
1071
|
-
if (this.
|
|
1072
|
-
this.
|
|
1073
|
-
participant: true
|
|
1074
|
-
});
|
|
1075
|
-
}
|
|
1076
|
-
if (this._participantsRenderAt === 'dialog') {
|
|
1077
|
-
this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
|
|
1078
|
-
}
|
|
1079
|
-
if (this._participantVisible) {
|
|
1080
|
-
if (this._participantTab === _constant.RoomType.WAITING_ROOM) {
|
|
1081
|
-
this.isNewWaitingRoomUserEnter = false;
|
|
1082
|
-
}
|
|
974
|
+
if (this.participantsRenderAt === 'dialog') {
|
|
975
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.PARTICIPANT);
|
|
1083
976
|
}
|
|
977
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
978
|
+
participant: true
|
|
979
|
+
});
|
|
980
|
+
// if (this._participantVisible) {
|
|
981
|
+
// if (this._participantTab === FcrRoomType.Waitingroom) {
|
|
982
|
+
// this.isNewWaitingRoomUserEnter = false;
|
|
983
|
+
// }
|
|
984
|
+
// }
|
|
1084
985
|
}
|
|
1085
986
|
}, {
|
|
1086
987
|
key: "closeParticipants",
|
|
1087
988
|
value: function closeParticipants() {
|
|
1088
|
-
if (!this.
|
|
1089
|
-
if (this.
|
|
1090
|
-
this._uiEventStore.updateAside({
|
|
1091
|
-
participant: false
|
|
1092
|
-
});
|
|
1093
|
-
}
|
|
1094
|
-
if (this._participantsRenderAt === 'dialog') {
|
|
989
|
+
if (!this.participantVisible) return;
|
|
990
|
+
if (this.participantsRenderAt === 'dialog') {
|
|
1095
991
|
var participantDialogId = '';
|
|
1096
992
|
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1097
|
-
if (dialogKey === _constant.
|
|
993
|
+
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1098
994
|
participantDialogId = dialogId;
|
|
1099
995
|
}
|
|
1100
996
|
});
|
|
1101
|
-
|
|
997
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
998
|
+
participant: false
|
|
999
|
+
});
|
|
1000
|
+
participantDialogId && this._dialogProvider.closeDialog(participantDialogId);
|
|
1102
1001
|
}
|
|
1002
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1003
|
+
participant: false
|
|
1004
|
+
});
|
|
1103
1005
|
}
|
|
1104
1006
|
}, {
|
|
1105
1007
|
key: "openDeviceSettingDialog",
|
|
1106
1008
|
value: function openDeviceSettingDialog(arg) {
|
|
1107
|
-
this.
|
|
1009
|
+
this._dialogProvider.openDeviceSettingDialog(arg);
|
|
1108
1010
|
}
|
|
1109
1011
|
}, {
|
|
1110
1012
|
key: "startScreenShare",
|
|
@@ -1112,28 +1014,33 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1112
1014
|
console.log('performance: click button', new Date().getTime());
|
|
1113
1015
|
// if (!this._interceptShareBoard()) return;
|
|
1114
1016
|
if (!this._interceptShareScreen()) return;
|
|
1115
|
-
this.
|
|
1017
|
+
this._eventProvider.startShareScreen();
|
|
1116
1018
|
}
|
|
1117
1019
|
}, {
|
|
1118
1020
|
key: "openInterpreterDialog",
|
|
1119
1021
|
value: function openInterpreterDialog() {
|
|
1120
|
-
this.
|
|
1022
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.OPEN_INTERPRETER_DIALOG);
|
|
1121
1023
|
}
|
|
1122
1024
|
}, {
|
|
1123
1025
|
key: "openWhiteboard",
|
|
1124
1026
|
value: function openWhiteboard() {
|
|
1125
1027
|
if (!this._interceptShareBoard()) return;
|
|
1126
|
-
this.
|
|
1028
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.OPEN_WHITEBOARD);
|
|
1127
1029
|
}
|
|
1128
1030
|
}, {
|
|
1129
1031
|
key: "closeWhiteboard",
|
|
1130
1032
|
value: function closeWhiteboard() {
|
|
1131
|
-
this.
|
|
1033
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CLOSE_WHITEBOARD);
|
|
1034
|
+
}
|
|
1035
|
+
}, {
|
|
1036
|
+
key: "closeShareScreen",
|
|
1037
|
+
value: function closeShareScreen() {
|
|
1038
|
+
this._streamControl.removeScreenStream();
|
|
1132
1039
|
}
|
|
1133
1040
|
}, {
|
|
1134
1041
|
key: "openLiveStreamingDialog",
|
|
1135
1042
|
value: function openLiveStreamingDialog() {
|
|
1136
|
-
this.
|
|
1043
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.LIVE_STREAMING);
|
|
1137
1044
|
this.toggleLayoutBarLock(true);
|
|
1138
1045
|
}
|
|
1139
1046
|
}, {
|
|
@@ -1144,7 +1051,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1144
1051
|
}, {
|
|
1145
1052
|
key: "openConnection",
|
|
1146
1053
|
value: function openConnection(type) {
|
|
1147
|
-
this.
|
|
1054
|
+
this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CONNECTION_GATEWAY, '', {
|
|
1148
1055
|
type: type
|
|
1149
1056
|
});
|
|
1150
1057
|
}
|
|
@@ -1153,17 +1060,23 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1153
1060
|
value: function closeConnection() {
|
|
1154
1061
|
var connectionDialogId = '';
|
|
1155
1062
|
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1156
|
-
if (dialogKey === _constant.
|
|
1063
|
+
if (dialogKey === _constant.FcrUIDialogKey.CONNECTION_GATEWAY) {
|
|
1157
1064
|
connectionDialogId = dialogId;
|
|
1158
1065
|
}
|
|
1159
1066
|
});
|
|
1160
|
-
this.
|
|
1067
|
+
this._dialogProvider.closeDialog(connectionDialogId);
|
|
1068
|
+
}
|
|
1069
|
+
}, {
|
|
1070
|
+
key: "_handleJoinWaitingRoom",
|
|
1071
|
+
value: function _handleJoinWaitingRoom(room) {
|
|
1072
|
+
this._waitingRoomControl = room;
|
|
1073
|
+
this.newMessageCount = (0, _defineProperty2["default"])({}, _type5.FcrRoomType.Waitingroom, 0);
|
|
1161
1074
|
}
|
|
1162
1075
|
}, {
|
|
1163
1076
|
key: "toggleFold",
|
|
1164
1077
|
value: function toggleFold() {
|
|
1165
1078
|
this.folded = !this.folded;
|
|
1166
|
-
this.
|
|
1079
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN);
|
|
1167
1080
|
}
|
|
1168
1081
|
}, {
|
|
1169
1082
|
key: "setShowArrow",
|
|
@@ -1181,63 +1094,63 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1181
1094
|
}, {
|
|
1182
1095
|
key: "setEnableWaitingRoom",
|
|
1183
1096
|
value: function () {
|
|
1184
|
-
var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1097
|
+
var _setEnableWaitingRoom = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(enable, isNeedShowDialog) {
|
|
1185
1098
|
var _this4 = this;
|
|
1186
1099
|
var dialogId;
|
|
1187
|
-
return _regenerator["default"].wrap(function
|
|
1188
|
-
while (1) switch (
|
|
1100
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
1101
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
1189
1102
|
case 0:
|
|
1190
1103
|
if (enable) {
|
|
1191
|
-
|
|
1104
|
+
_context2.next = 10;
|
|
1192
1105
|
break;
|
|
1193
1106
|
}
|
|
1194
|
-
if (!(this.totalWaitingRoomUser && isNeedShowDialog)) {
|
|
1195
|
-
|
|
1107
|
+
if (!(this._sharedWaitingRoomDataSource.totalWaitingRoomUser && isNeedShowDialog)) {
|
|
1108
|
+
_context2.next = 5;
|
|
1196
1109
|
break;
|
|
1197
1110
|
}
|
|
1198
|
-
dialogId = this.
|
|
1111
|
+
dialogId = this._dialogProvider.openConfirmDialog({
|
|
1199
1112
|
title: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_close'),
|
|
1200
1113
|
content: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_label_choose', {
|
|
1201
|
-
reason1: this.totalWaitingRoomUser
|
|
1114
|
+
reason1: this._sharedWaitingRoomDataSource.totalWaitingRoomUser
|
|
1202
1115
|
}),
|
|
1203
1116
|
onCancel: function onCancel() {
|
|
1204
|
-
_this4.
|
|
1205
|
-
_this4.
|
|
1117
|
+
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, false);
|
|
1118
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
1206
1119
|
},
|
|
1207
1120
|
onOk: function onOk() {
|
|
1208
|
-
_this4.
|
|
1209
|
-
_this4.
|
|
1121
|
+
_this4._eventProvider.sendEvent(_constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER, true);
|
|
1122
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
1210
1123
|
},
|
|
1211
1124
|
okText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_admit_all'),
|
|
1212
1125
|
cancelText: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_popup_button_cancel'),
|
|
1213
1126
|
alignCenter: true
|
|
1214
1127
|
});
|
|
1215
|
-
|
|
1128
|
+
_context2.next = 8;
|
|
1216
1129
|
break;
|
|
1217
1130
|
case 5:
|
|
1218
|
-
|
|
1131
|
+
_context2.next = 7;
|
|
1219
1132
|
return this._roomControl.enableWaitingRoom(enable);
|
|
1220
1133
|
case 7:
|
|
1221
|
-
this.
|
|
1134
|
+
this._messageProvider.showToast({
|
|
1222
1135
|
type: 'normal',
|
|
1223
1136
|
message: (0, _i18n.transI18n)('fmt_waitingroom_mobile_setting_tips_disable')
|
|
1224
1137
|
});
|
|
1225
1138
|
case 8:
|
|
1226
|
-
|
|
1139
|
+
_context2.next = 13;
|
|
1227
1140
|
break;
|
|
1228
1141
|
case 10:
|
|
1229
|
-
|
|
1142
|
+
_context2.next = 12;
|
|
1230
1143
|
return this._roomControl.enableWaitingRoom(enable);
|
|
1231
1144
|
case 12:
|
|
1232
|
-
this.
|
|
1145
|
+
this._messageProvider.showToast({
|
|
1233
1146
|
type: 'normal',
|
|
1234
1147
|
message: (0, _i18n.transI18n)('fmt_waitingroom_setting_tips_enable')
|
|
1235
1148
|
});
|
|
1236
1149
|
case 13:
|
|
1237
1150
|
case "end":
|
|
1238
|
-
return
|
|
1151
|
+
return _context2.stop();
|
|
1239
1152
|
}
|
|
1240
|
-
},
|
|
1153
|
+
}, _callee2, this);
|
|
1241
1154
|
}));
|
|
1242
1155
|
function setEnableWaitingRoom(_x, _x2) {
|
|
1243
1156
|
return _setEnableWaitingRoom.apply(this, arguments);
|
|
@@ -1247,18 +1160,18 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1247
1160
|
}, {
|
|
1248
1161
|
key: "kickOutWaitingRoomAllMember",
|
|
1249
1162
|
value: function () {
|
|
1250
|
-
var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1163
|
+
var _kickOutWaitingRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(type) {
|
|
1251
1164
|
var _this$_userControl;
|
|
1252
|
-
return _regenerator["default"].wrap(function
|
|
1253
|
-
while (1) switch (
|
|
1165
|
+
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
1166
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
1254
1167
|
case 0:
|
|
1255
|
-
|
|
1168
|
+
_context3.next = 2;
|
|
1256
1169
|
return (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.kickOutByUserRoles([_type.FcrUserRole.PARTICIPANT], type);
|
|
1257
1170
|
case 2:
|
|
1258
1171
|
case "end":
|
|
1259
|
-
return
|
|
1172
|
+
return _context3.stop();
|
|
1260
1173
|
}
|
|
1261
|
-
},
|
|
1174
|
+
}, _callee3, this);
|
|
1262
1175
|
}));
|
|
1263
1176
|
function kickOutWaitingRoomAllMember(_x3) {
|
|
1264
1177
|
return _kickOutWaitingRoomAllMember.apply(this, arguments);
|
|
@@ -1268,18 +1181,18 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1268
1181
|
}, {
|
|
1269
1182
|
key: "moveToMainRoomAllMember",
|
|
1270
1183
|
value: function () {
|
|
1271
|
-
var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1184
|
+
var _moveToMainRoomAllMember = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4() {
|
|
1272
1185
|
var _this$_waitingRoomCon;
|
|
1273
|
-
return _regenerator["default"].wrap(function
|
|
1274
|
-
while (1) switch (
|
|
1186
|
+
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
1187
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
1275
1188
|
case 0:
|
|
1276
|
-
|
|
1189
|
+
_context4.next = 2;
|
|
1277
1190
|
return (_this$_waitingRoomCon = this._waitingRoomControl) === null || _this$_waitingRoomCon === void 0 ? void 0 : _this$_waitingRoomCon.moveToMainRoomByUserRoles([_type.FcrUserRole.PARTICIPANT]);
|
|
1278
1191
|
case 2:
|
|
1279
1192
|
case "end":
|
|
1280
|
-
return
|
|
1193
|
+
return _context4.stop();
|
|
1281
1194
|
}
|
|
1282
|
-
},
|
|
1195
|
+
}, _callee4, this);
|
|
1283
1196
|
}));
|
|
1284
1197
|
function moveToMainRoomAllMember() {
|
|
1285
1198
|
return _moveToMainRoomAllMember.apply(this, arguments);
|
|
@@ -1291,21 +1204,21 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1291
1204
|
value: function _interceptShareScreen() {
|
|
1292
1205
|
var _this5 = this;
|
|
1293
1206
|
if (this.hasScreenShare || this.boardOwnerUser && this.boardOwnerUser.userId !== this._userControl.getLocalUser().userId) {
|
|
1294
|
-
var _this$
|
|
1295
|
-
var confirmKey = this.
|
|
1207
|
+
var _this$_sharingOwnerUs2;
|
|
1208
|
+
var confirmKey = this._dialogProvider.openConfirmDialog({
|
|
1296
1209
|
title: (0, _i18n.transI18n)('fmt_share_tips_otherssharing'),
|
|
1297
1210
|
content: (0, _i18n.transI18n)("fmt_share_tips_stopothersharing", {
|
|
1298
|
-
reason1: ((_this$
|
|
1211
|
+
reason1: ((_this$_sharingOwnerUs2 = this._sharingOwnerUser) === null || _this$_sharingOwnerUs2 === void 0 ? void 0 : _this$_sharingOwnerUs2.userName) || (0, _i18n.transI18n)('fmt_actionbar_screenshare_labels_others')
|
|
1299
1212
|
}),
|
|
1300
1213
|
okText: (0, _i18n.transI18n)('fmt_screenshare_continue_share'),
|
|
1301
1214
|
closable: false,
|
|
1302
1215
|
alignCenter: true,
|
|
1303
1216
|
onOk: function onOk() {
|
|
1304
|
-
_this5.
|
|
1305
|
-
_this5.
|
|
1217
|
+
_this5._eventProvider.startShareScreen();
|
|
1218
|
+
_this5._dialogProvider.closeConfirm(confirmKey);
|
|
1306
1219
|
},
|
|
1307
1220
|
onCancel: function onCancel() {
|
|
1308
|
-
_this5.
|
|
1221
|
+
_this5._dialogProvider.closeConfirm(confirmKey);
|
|
1309
1222
|
}
|
|
1310
1223
|
});
|
|
1311
1224
|
return false;
|
|
@@ -1318,19 +1231,19 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1318
1231
|
value: function _interceptShareBoard() {
|
|
1319
1232
|
var _this6 = this;
|
|
1320
1233
|
if (this.boardOwnerUser && this.boardOwnerUser.userId !== this._userControl.getLocalUser().userId) {
|
|
1321
|
-
var confirmKey = this.
|
|
1322
|
-
icon:
|
|
1234
|
+
var confirmKey = this._dialogProvider.openConfirmDialog({
|
|
1235
|
+
icon: _type3.FcrIconType.FCR_SCREENSHARING,
|
|
1323
1236
|
title: (0, _i18n.transI18n)('fmt_share_tips_othersharingboard'),
|
|
1324
1237
|
content: (0, _i18n.transI18n)("fmt_share_tips_boardonly"),
|
|
1325
1238
|
okText: (0, _i18n.transI18n)('fmt_screenshare_whiteboard_button_gotit'),
|
|
1326
1239
|
closable: false,
|
|
1327
1240
|
showCancel: false,
|
|
1328
1241
|
onOk: function onOk() {
|
|
1329
|
-
_this6.
|
|
1330
|
-
_this6.
|
|
1242
|
+
_this6._eventProvider.startShareScreen();
|
|
1243
|
+
_this6._dialogProvider.closeDialog(confirmKey);
|
|
1331
1244
|
},
|
|
1332
1245
|
onCancel: function onCancel() {
|
|
1333
|
-
_this6.
|
|
1246
|
+
_this6._dialogProvider.closeDialog(confirmKey);
|
|
1334
1247
|
}
|
|
1335
1248
|
});
|
|
1336
1249
|
return false;
|
|
@@ -1383,40 +1296,40 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1383
1296
|
value: function _handleAllUserCountUpdated(_roomId, count) {
|
|
1384
1297
|
this.totalUser = count;
|
|
1385
1298
|
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1299
|
+
|
|
1300
|
+
// @action.bound
|
|
1301
|
+
// private _getWaitingRoomUserCount() {
|
|
1302
|
+
// const userControl = (this._waitingRoomControl as FcrWaitingRoomControl).getUserControl();
|
|
1303
|
+
// const privilegeControl = (this._roomControl as FcrMainRoomControl).getPrivilegeControl();
|
|
1304
|
+
// const targetRoles = privilegeControl.getSecurityInfo(FcrSecurityAction.WaitingRoom).info
|
|
1305
|
+
// ?.targetRoles as unknown as FcrUserRole[];
|
|
1306
|
+
// this.totalWaitingRoomUser = userControl
|
|
1307
|
+
// .getUserList()
|
|
1308
|
+
// .filter((user) => targetRoles.includes(user.userRole)).length;
|
|
1309
|
+
// if (this.totalWaitingRoomUser === 0) {
|
|
1310
|
+
// this._uiEventStore.sendEvent(FcrUIAction.CHANGE_PARTICIPANT_TAB, FcrRoomType.Mainroom);
|
|
1311
|
+
// }
|
|
1312
|
+
// return this.totalWaitingRoomUser;
|
|
1313
|
+
// }
|
|
1314
|
+
|
|
1315
|
+
// @action.bound
|
|
1316
|
+
// private _handleRemoteWaitingUserLeft(roomId: string, events: FcrUserJoinedEvent[]) {
|
|
1317
|
+
// this._getWaitingRoomUserCount();
|
|
1318
|
+
// }
|
|
1319
|
+
|
|
1320
|
+
// @action.bound
|
|
1321
|
+
// private _handleRemoteWaitingUserJoined(roomId: string, events: FcrUserJoinedEvent[]) {
|
|
1322
|
+
// const totalWaitingRoomUsers = this._getWaitingRoomUserCount();
|
|
1323
|
+
// if (this._participantVisible) {
|
|
1324
|
+
// if (this._participantTab !== FcrRoomType.Waitingroom && totalWaitingRoomUsers > 0) {
|
|
1325
|
+
// this.isNewWaitingRoomUserEnter = true;
|
|
1326
|
+
// }
|
|
1327
|
+
// } else {
|
|
1328
|
+
// if (totalWaitingRoomUsers > 0) {
|
|
1329
|
+
// this.isNewWaitingRoomUserEnter = true;
|
|
1330
|
+
// }
|
|
1331
|
+
// }
|
|
1332
|
+
// }
|
|
1420
1333
|
}, {
|
|
1421
1334
|
key: "_handleUserInfoUpdated",
|
|
1422
1335
|
value: function _handleUserInfoUpdated(_roomId, event) {
|
|
@@ -1439,8 +1352,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1439
1352
|
}, {
|
|
1440
1353
|
key: "_handleChatVisible",
|
|
1441
1354
|
value: function _handleChatVisible(visible) {
|
|
1442
|
-
this.
|
|
1443
|
-
this._uiEventStore.sendEvent(_constant.UIAction.CHAT_VISIBLE, visible);
|
|
1355
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CHAT_VISIBLE, visible);
|
|
1444
1356
|
this._newMessageTooltipTimer && clearTimeout(this._newMessageTooltipTimer);
|
|
1445
1357
|
this.hideNewMessageTooltip();
|
|
1446
1358
|
this.newMessageCount[this.chatTabIndex] = 0;
|
|
@@ -1458,167 +1370,161 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1458
1370
|
value: function setAllowWaterMark() {
|
|
1459
1371
|
var allowState = !this.isWaterMarkEnabled;
|
|
1460
1372
|
// 开启关闭前,进行权限判断
|
|
1461
|
-
this.
|
|
1373
|
+
this._privilegeProvider.setAllowWaterMark(allowState, void 0);
|
|
1462
1374
|
}
|
|
1463
1375
|
}, {
|
|
1464
1376
|
key: "setWaterMarkLineType",
|
|
1465
1377
|
value: function setWaterMarkLineType(lineType) {
|
|
1466
|
-
this.
|
|
1378
|
+
this._privilegeProvider.setAllowWaterMark(this.isWaterMarkEnabled, lineType);
|
|
1467
1379
|
}
|
|
1468
1380
|
}, {
|
|
1469
1381
|
key: "setAlllowChangeName",
|
|
1470
1382
|
value: function setAlllowChangeName(enable) {
|
|
1471
|
-
this.
|
|
1383
|
+
this._privilegeProvider.setAllowChangeSelfName(enable);
|
|
1472
1384
|
}
|
|
1473
1385
|
}, {
|
|
1474
1386
|
key: "_onEvent",
|
|
1475
1387
|
value: function _onEvent(action, payload) {
|
|
1476
|
-
if (action ===
|
|
1388
|
+
// if (action === FcrUIAction.UPDATE_ASIDE) {
|
|
1389
|
+
// const { chat, participant } = payload as FcrUIUpdateAsideParams;
|
|
1390
|
+
// if (chat) {
|
|
1391
|
+
// this._chatRenderAt = 'aside';
|
|
1392
|
+
// this._handleChatVisible(true);
|
|
1393
|
+
// }
|
|
1394
|
+
// if (chat === false) {
|
|
1395
|
+
// this._handleChatVisible(false);
|
|
1396
|
+
// }
|
|
1397
|
+
// if (participant) {
|
|
1398
|
+
// this._participantsRenderAt = 'aside';
|
|
1399
|
+
// this._participantVisible = true;
|
|
1400
|
+
// }
|
|
1401
|
+
// if (participant === false) {
|
|
1402
|
+
// this._participantVisible = false;
|
|
1403
|
+
// }
|
|
1404
|
+
// }
|
|
1405
|
+
// if (action === FcrUIAction.RECEIVE_NEW_CHAT_MESSAGES) {
|
|
1406
|
+
// this._handleNewMessageEvent(payload as FcrUINewChatMessagesParams);
|
|
1407
|
+
// }
|
|
1408
|
+
if (action === _constant.FcrUIAction.CLOSE_DIALOG) {
|
|
1477
1409
|
var _ref2 = payload,
|
|
1478
|
-
|
|
1479
|
-
participant = _ref2.participant;
|
|
1480
|
-
if (chat) {
|
|
1481
|
-
this._chatRenderAt = 'aside';
|
|
1482
|
-
this._handleChatVisible(true);
|
|
1483
|
-
}
|
|
1484
|
-
if (chat === false) {
|
|
1485
|
-
this._handleChatVisible(false);
|
|
1486
|
-
}
|
|
1487
|
-
if (participant) {
|
|
1488
|
-
this._participantsRenderAt = 'aside';
|
|
1489
|
-
this._participantVisible = true;
|
|
1490
|
-
}
|
|
1491
|
-
if (participant === false) {
|
|
1492
|
-
this._participantVisible = false;
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
if (action === _constant.UIAction.RECEIVE_NEW_CHAT_MESSAGES) {
|
|
1496
|
-
this._handleNewMessageEvent(payload);
|
|
1497
|
-
}
|
|
1498
|
-
if (action === _constant.UIAction.CLOSE_DIALOG) {
|
|
1499
|
-
var _ref3 = payload,
|
|
1500
|
-
dialogId = _ref3.dialogId;
|
|
1410
|
+
dialogId = _ref2.dialogId;
|
|
1501
1411
|
var dialogKey = this._openedDialogIdMap.get(dialogId);
|
|
1502
|
-
if (dialogKey === _constant.
|
|
1412
|
+
if (dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1503
1413
|
this._handleChatVisible(false);
|
|
1504
1414
|
}
|
|
1505
|
-
if (dialogKey === _constant.
|
|
1506
|
-
this.
|
|
1415
|
+
if (dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1416
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1417
|
+
participant: false
|
|
1418
|
+
});
|
|
1507
1419
|
}
|
|
1508
1420
|
this._openedDialogIdMap["delete"](dialogId);
|
|
1509
|
-
if (dialogKey === _constant.DialogKey.CONTROL_BAR) {
|
|
1510
|
-
this._isSharingScreen = false;
|
|
1511
|
-
}
|
|
1512
1421
|
}
|
|
1513
|
-
if (action === _constant.
|
|
1514
|
-
var
|
|
1515
|
-
_dialogKey =
|
|
1516
|
-
_dialogId =
|
|
1422
|
+
if (action === _constant.FcrUIAction.OPEN_DIALOG) {
|
|
1423
|
+
var _ref3 = payload,
|
|
1424
|
+
_dialogKey = _ref3.dialogKey,
|
|
1425
|
+
_dialogId = _ref3.dialogId;
|
|
1517
1426
|
this._openedDialogIdMap.set(_dialogId, _dialogKey);
|
|
1518
|
-
if (_dialogKey === _constant.
|
|
1519
|
-
this.
|
|
1427
|
+
if (_dialogKey === _constant.FcrUIDialogKey.CHAT) {
|
|
1428
|
+
this._sharedLayoutDataSource.setChatRenderAt('dialog');
|
|
1520
1429
|
this._handleChatVisible(true);
|
|
1521
1430
|
}
|
|
1522
|
-
if (_dialogKey === _constant.
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
this._isSharingScreen = true;
|
|
1431
|
+
if (_dialogKey === _constant.FcrUIDialogKey.PARTICIPANT) {
|
|
1432
|
+
this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
|
|
1433
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
1434
|
+
participant: true
|
|
1435
|
+
});
|
|
1528
1436
|
}
|
|
1529
1437
|
}
|
|
1530
|
-
if (action === _constant.
|
|
1438
|
+
if (action === _constant.FcrUIAction.OPEN_LIVE_STEAMING_DIALOG) {
|
|
1531
1439
|
this.openLiveStreamingDialog();
|
|
1532
1440
|
}
|
|
1533
|
-
if (action === _constant.
|
|
1534
|
-
var _ref5 = payload,
|
|
1535
|
-
_action = _ref5.action;
|
|
1536
|
-
if (_action === 'start') this.startCloudRecording();else if (_action === 'pause') this.pauseCloudRecording();else if (_action === 'resume') this.resumeCloudRecording();else this.stopCloudRecording();
|
|
1537
|
-
}
|
|
1538
|
-
if (action === _constant.UIAction.OPEN_CONNECTION_DIALOG) {
|
|
1441
|
+
if (action === _constant.FcrUIAction.OPEN_CONNECTION_DIALOG) {
|
|
1539
1442
|
this.openConnection(payload.params.type);
|
|
1540
1443
|
}
|
|
1541
|
-
if (action === _constant.
|
|
1444
|
+
if (action === _constant.FcrUIAction.CLOSE_CONNECTION_DIALOG) {
|
|
1542
1445
|
this.closeConnection();
|
|
1543
1446
|
}
|
|
1544
|
-
if (action === _constant.
|
|
1545
|
-
var
|
|
1546
|
-
|
|
1547
|
-
value =
|
|
1548
|
-
if (
|
|
1447
|
+
if (action === _constant.FcrUIAction.WHITEBOARD_CHANGED) {
|
|
1448
|
+
var _ref4 = payload,
|
|
1449
|
+
_action = _ref4.action,
|
|
1450
|
+
value = _ref4.payload;
|
|
1451
|
+
if (_action === _type2.WhiteboardBaseEvents.SET_OWNER_USER_ID) {
|
|
1549
1452
|
this.boardOwnerUser = value ? this.users.find(function (u) {
|
|
1550
1453
|
return u.userId === value;
|
|
1551
1454
|
}) : null;
|
|
1552
1455
|
}
|
|
1553
1456
|
}
|
|
1554
|
-
if (action === _constant.
|
|
1555
|
-
var _this$
|
|
1556
|
-
var
|
|
1557
|
-
id =
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
}
|
|
1561
|
-
if (action === _constant.UIAction.TOGGLE_PARTICIPANT_TAB) {
|
|
1562
|
-
if (!this._participantVisible) {
|
|
1563
|
-
this.toggleParticipants();
|
|
1457
|
+
if (action === _constant.FcrUIAction.SET_CURRENT_SHARE_SCREEN) {
|
|
1458
|
+
var _this$_deviceProvider, _this$_screenVideoTra2;
|
|
1459
|
+
var _ref5 = payload,
|
|
1460
|
+
id = _ref5.id;
|
|
1461
|
+
if (this._screenVideoTrack) {
|
|
1462
|
+
this._screenVideoTrack.removeObserver(this._screenObserver);
|
|
1564
1463
|
}
|
|
1464
|
+
this._screenVideoTrack = (_this$_deviceProvider = this._deviceProvider) === null || _this$_deviceProvider === void 0 ? void 0 : _this$_deviceProvider.getScreenTrack(id);
|
|
1465
|
+
(_this$_screenVideoTra2 = this._screenVideoTrack) === null || _this$_screenVideoTra2 === void 0 || _this$_screenVideoTra2.addObserver(this._screenObserver);
|
|
1565
1466
|
}
|
|
1566
|
-
if (action === _constant.
|
|
1567
|
-
if (
|
|
1568
|
-
this.
|
|
1467
|
+
if (action === _constant.FcrUIAction.TOGGLE_PARTICIPANT_TAB) {
|
|
1468
|
+
if (!this.participantVisible) {
|
|
1469
|
+
this.toggleParticipants();
|
|
1569
1470
|
}
|
|
1570
|
-
this._participantTab = payload;
|
|
1571
1471
|
}
|
|
1572
|
-
if (action ===
|
|
1472
|
+
// if (action === FcrUIAction.CURRENT_PARTITIPANT_TAB) {
|
|
1473
|
+
// if (payload === FcrRoomType.Waitingroom) {
|
|
1474
|
+
// this.isNewWaitingRoomUserEnter = false;
|
|
1475
|
+
// }
|
|
1476
|
+
// this._participantTab = payload as FcrRoomType;
|
|
1477
|
+
// }
|
|
1478
|
+
if (action === _constant.FcrUIAction.CHAT_ROOM_TAB_CHANGE) {
|
|
1573
1479
|
this.chatTabIndex = payload;
|
|
1574
1480
|
this.newMessageCount[this.chatTabIndex] = 0;
|
|
1575
1481
|
}
|
|
1576
|
-
if (action === _constant.
|
|
1482
|
+
if (action === _constant.FcrUIAction.CLOSE_WAITING_ROOM_DIALOG) {
|
|
1577
1483
|
var waitingDialogId = '';
|
|
1578
1484
|
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1579
|
-
if (dialogKey === _constant.
|
|
1485
|
+
if (dialogKey === _constant.FcrUIDialogKey.WAITING_ROOM) {
|
|
1580
1486
|
waitingDialogId = dialogId;
|
|
1581
1487
|
}
|
|
1582
1488
|
});
|
|
1583
|
-
this.
|
|
1489
|
+
this._dialogProvider.closeDialog(waitingDialogId);
|
|
1584
1490
|
}
|
|
1585
|
-
if (action === _constant.
|
|
1491
|
+
if (action === _constant.FcrUIAction.CLOSE_REMOVE_ADMIT_WAITING_ROOM_DIALOG) {
|
|
1586
1492
|
var operationDialogId = '';
|
|
1587
1493
|
this._openedDialogIdMap.forEach(function (dialogKey, dialogId) {
|
|
1588
1494
|
if (dialogKey === payload) {
|
|
1589
1495
|
operationDialogId = dialogId;
|
|
1590
1496
|
}
|
|
1591
1497
|
});
|
|
1592
|
-
this.
|
|
1498
|
+
this._dialogProvider.closeDialog(operationDialogId);
|
|
1593
1499
|
}
|
|
1594
|
-
if (action === _constant.
|
|
1500
|
+
if (action === _constant.FcrUIAction.MOVE_TO_MAIN_ROOM_ALL_MEMBER) {
|
|
1595
1501
|
this._operateWaitingRoom(payload);
|
|
1596
1502
|
}
|
|
1597
|
-
if (action === _constant.
|
|
1503
|
+
if (action === _constant.FcrUIAction.ENABLE_WAITING_ROOM) {
|
|
1598
1504
|
this.setEnableWaitingRoom(payload, true);
|
|
1599
1505
|
}
|
|
1600
1506
|
}
|
|
1601
1507
|
}, {
|
|
1602
1508
|
key: "_operateWaitingRoom",
|
|
1603
1509
|
value: function () {
|
|
1604
|
-
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function
|
|
1605
|
-
return _regenerator["default"].wrap(function
|
|
1606
|
-
while (1) switch (
|
|
1510
|
+
var _operateWaitingRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(isOperate) {
|
|
1511
|
+
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
1512
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
1607
1513
|
case 0:
|
|
1608
1514
|
if (!isOperate) {
|
|
1609
|
-
|
|
1515
|
+
_context5.next = 3;
|
|
1610
1516
|
break;
|
|
1611
1517
|
}
|
|
1612
|
-
|
|
1518
|
+
_context5.next = 3;
|
|
1613
1519
|
return this.moveToMainRoomAllMember();
|
|
1614
1520
|
case 3:
|
|
1615
|
-
|
|
1521
|
+
_context5.next = 5;
|
|
1616
1522
|
return this.setEnableWaitingRoom(false, false);
|
|
1617
1523
|
case 5:
|
|
1618
1524
|
case "end":
|
|
1619
|
-
return
|
|
1525
|
+
return _context5.stop();
|
|
1620
1526
|
}
|
|
1621
|
-
},
|
|
1527
|
+
}, _callee5, this);
|
|
1622
1528
|
}));
|
|
1623
1529
|
function _operateWaitingRoom(_x4) {
|
|
1624
1530
|
return _operateWaitingRoom2.apply(this, arguments);
|
|
@@ -1635,127 +1541,91 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1635
1541
|
value: function _handleStreamsAddedOrUpdated() {
|
|
1636
1542
|
var _this$_streamControl$;
|
|
1637
1543
|
this.hasScreenShare = this._streamControl.getStreamList().some(function (stream) {
|
|
1638
|
-
return stream.videoSourceType ===
|
|
1544
|
+
return stream.videoSourceType === _type4.AgoraRteVideoSourceType.SCREEN;
|
|
1639
1545
|
});
|
|
1640
1546
|
this._sharingOwnerUser = (_this$_streamControl$ = this._streamControl.getStreamList().find(function (stream) {
|
|
1641
|
-
return stream.videoSourceType ===
|
|
1547
|
+
return stream.videoSourceType === _type4.AgoraRteVideoSourceType.SCREEN;
|
|
1642
1548
|
})) === null || _this$_streamControl$ === void 0 ? void 0 : _this$_streamControl$.owner;
|
|
1643
1549
|
var _this$_userControl$ge = this._userControl.getLocalUser(),
|
|
1644
1550
|
userId = _this$_userControl$ge.userId;
|
|
1645
1551
|
var streams = this._streamControl.getStreamsByUserId(userId);
|
|
1646
|
-
var pstnStream = streams.find(function (
|
|
1647
|
-
var connectorType =
|
|
1552
|
+
var pstnStream = streams.find(function (_ref6) {
|
|
1553
|
+
var connectorType = _ref6.connectorType;
|
|
1648
1554
|
return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
1649
1555
|
});
|
|
1650
1556
|
var hasPstnStream = !!pstnStream;
|
|
1651
1557
|
this.isPstnUser = hasPstnStream;
|
|
1652
|
-
this.connectType = hasPstnStream ? _deviceStore.ConnectType.PHONE : this.microphoneId ? _deviceStore.ConnectType.COMPUTER : _deviceStore.ConnectType.NONE;
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
// 获取翻译员列表
|
|
1656
|
-
}, {
|
|
1657
|
-
key: "setInitShowGuide",
|
|
1658
|
-
value: function setInitShowGuide(value) {
|
|
1659
|
-
this.initShowGuide = value;
|
|
1660
1558
|
}
|
|
1661
|
-
|
|
1662
|
-
// 获取翻译员列表
|
|
1663
|
-
}, {
|
|
1664
|
-
key: "getInterpreterUsers",
|
|
1665
|
-
value: function getInterpreterUsers(fnName) {
|
|
1666
|
-
if (this._interpreterControl) {
|
|
1667
|
-
return this._interpreterControl.getInterpreterUserList();
|
|
1668
|
-
}
|
|
1669
|
-
return null;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
// 获取翻译官信息
|
|
1673
|
-
}, {
|
|
1674
|
-
key: "getInterpreter",
|
|
1675
|
-
value: function getInterpreter() {
|
|
1676
|
-
var _this9 = this;
|
|
1677
|
-
if (this._interpreterControl) {
|
|
1678
|
-
var _this$_interpreterCon2;
|
|
1679
|
-
return ((_this$_interpreterCon2 = this._interpreterControl.getInterpreterUserList()) === null || _this$_interpreterCon2 === void 0 ? void 0 : _this$_interpreterCon2.find(function (ele) {
|
|
1680
|
-
return ele.userId === _this9._userControl.getLocalUser().userId;
|
|
1681
|
-
})) || null;
|
|
1682
|
-
}
|
|
1683
|
-
return null;
|
|
1684
|
-
}
|
|
1685
|
-
// 获取同声传译开启状态
|
|
1686
1559
|
}, {
|
|
1687
|
-
key: "
|
|
1688
|
-
value: function getInterpreterState() {
|
|
1689
|
-
if (this._interpreterControl) {
|
|
1690
|
-
return this._interpreterControl.getState().enable;
|
|
1691
|
-
}
|
|
1692
|
-
return false;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
// / 切换输出语言房间
|
|
1696
|
-
}, {
|
|
1697
|
-
key: "triggerOutputLanguage",
|
|
1560
|
+
key: "setOutputLanguage",
|
|
1698
1561
|
value: function () {
|
|
1699
|
-
var
|
|
1700
|
-
return _regenerator["default"].wrap(function
|
|
1701
|
-
while (1) switch (
|
|
1562
|
+
var _setOutputLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(language) {
|
|
1563
|
+
return _regenerator["default"].wrap(function _callee6$(_context6) {
|
|
1564
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
1702
1565
|
case 0:
|
|
1703
|
-
|
|
1704
|
-
|
|
1566
|
+
_context6.next = 2;
|
|
1567
|
+
return this._interpreterProvider.setOutputLanguage(language);
|
|
1568
|
+
case 2:
|
|
1705
1569
|
case "end":
|
|
1706
|
-
return
|
|
1570
|
+
return _context6.stop();
|
|
1707
1571
|
}
|
|
1708
|
-
},
|
|
1572
|
+
}, _callee6, this);
|
|
1709
1573
|
}));
|
|
1710
|
-
function
|
|
1711
|
-
return
|
|
1574
|
+
function setOutputLanguage(_x5) {
|
|
1575
|
+
return _setOutputLanguage.apply(this, arguments);
|
|
1712
1576
|
}
|
|
1713
|
-
return
|
|
1714
|
-
}()
|
|
1577
|
+
return setOutputLanguage;
|
|
1578
|
+
}()
|
|
1715
1579
|
}, {
|
|
1716
|
-
key: "
|
|
1580
|
+
key: "subscribeLanguage",
|
|
1717
1581
|
value: function () {
|
|
1718
|
-
var
|
|
1719
|
-
return _regenerator["default"].wrap(function
|
|
1720
|
-
while (1) switch (
|
|
1582
|
+
var _subscribeLanguage = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(language) {
|
|
1583
|
+
return _regenerator["default"].wrap(function _callee7$(_context7) {
|
|
1584
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1721
1585
|
case 0:
|
|
1722
|
-
|
|
1723
|
-
|
|
1586
|
+
_context7.next = 2;
|
|
1587
|
+
return this._interpreterProvider.subscribeLanguage(language);
|
|
1588
|
+
case 2:
|
|
1724
1589
|
case "end":
|
|
1725
|
-
return
|
|
1590
|
+
return _context7.stop();
|
|
1726
1591
|
}
|
|
1727
|
-
},
|
|
1592
|
+
}, _callee7, this);
|
|
1728
1593
|
}));
|
|
1729
|
-
function
|
|
1730
|
-
return
|
|
1594
|
+
function subscribeLanguage(_x6) {
|
|
1595
|
+
return _subscribeLanguage.apply(this, arguments);
|
|
1731
1596
|
}
|
|
1732
|
-
return
|
|
1597
|
+
return subscribeLanguage;
|
|
1733
1598
|
}()
|
|
1734
1599
|
}, {
|
|
1735
|
-
key: "
|
|
1736
|
-
value: function
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
this.
|
|
1600
|
+
key: "setSubscribeMainRoom",
|
|
1601
|
+
value: function setSubscribeMainRoom(enable) {
|
|
1602
|
+
var event = enable ? _enums2.EventType.START : _enums2.EventType.STOP;
|
|
1603
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.TOGGLE_MAINROOM_REMOTE_AUDIO, {
|
|
1604
|
+
event: event
|
|
1605
|
+
});
|
|
1606
|
+
|
|
1607
|
+
// TODO 更新 subscribeLanguageList
|
|
1608
|
+
var subscribeLanguageList = this._sharedInterpreterDataSource.subscribeLanguageList;
|
|
1609
|
+
var languageList = subscribeLanguageList.filter(function (language) {
|
|
1610
|
+
return language !== _interpreter.ORIGIN;
|
|
1611
|
+
});
|
|
1612
|
+
this._sharedInterpreterDataSource.preSubscribeLanguageList = subscribeLanguageList;
|
|
1613
|
+
if (event === _enums2.EventType.START) {
|
|
1614
|
+
this._sharedInterpreterDataSource.subscribeLanguageList = [].concat((0, _toConsumableArray2["default"])(languageList), [_interpreter.ORIGIN]);
|
|
1615
|
+
} else {
|
|
1616
|
+
this._sharedInterpreterDataSource.subscribeLanguageList = languageList;
|
|
1617
|
+
}
|
|
1748
1618
|
}
|
|
1749
1619
|
|
|
1750
1620
|
//是否有离线翻译官
|
|
1751
1621
|
}, {
|
|
1752
1622
|
key: "getInterpreterUsersAllOnline",
|
|
1753
1623
|
value: function getInterpreterUsersAllOnline() {
|
|
1754
|
-
var
|
|
1624
|
+
var _this9 = this;
|
|
1755
1625
|
if (this._interpreterControl) {
|
|
1756
|
-
var _this$
|
|
1757
|
-
var isOffLine = (_this$
|
|
1758
|
-
return !
|
|
1626
|
+
var _this$_interpreterCon;
|
|
1627
|
+
var isOffLine = (_this$_interpreterCon = this._interpreterControl.getInterpreterUserList()) === null || _this$_interpreterCon === void 0 ? void 0 : _this$_interpreterCon.some(function (ele) {
|
|
1628
|
+
return !_this9._userControl.getUserList().find(function (item) {
|
|
1759
1629
|
return item.userId === ele.userId;
|
|
1760
1630
|
});
|
|
1761
1631
|
});
|
|
@@ -1766,36 +1636,26 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1766
1636
|
}]);
|
|
1767
1637
|
}();
|
|
1768
1638
|
_ActionBarStore = ActionBarStore;
|
|
1769
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "
|
|
1639
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "stateBarLeaveMeeting"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "interpreterUsersOffline"], [_mobx.computed, 3, "asideLayout"], [_mobx.computed, 3, "chatRenderAt"], [_mobx.computed, 3, "participantsRenderAt"], [_mobx.computed, 3, "participantVisible"], [_mobx.computed, 3, "chatVisible"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStopScreenSharePermission"], [_mobx.computed, 3, "sharingOwnerUser"], [_mobx.computed, 3, "hasEnableStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasEnableJoinWithAudioPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isMulti"], [_mobx.computed, 3, "hasEnableInterpreterPermission"], [_mobx.computed, 3, "hasDisableInterpreterPermission"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_mobx.computed, 3, "hasAllowChangeNamePromission"], [_mobx.computed, 3, "hasDisallowChangeNamePromission"], [_mobx.computed, 3, "newMessageCount"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "isAllowJoinWithAudioEnabled"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "setAllowBoardWrite"], [_decorator.bound, 2, "setAllowScreenShare"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_setStateBarLeaveMeetingDecs, 18, "setStateBarLeaveMeeting"], [_decorator.bound, 2, "getRoomType"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "allowChangeName"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "openDeviceSettingDialog"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openInterpreterDialog"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "closeShareScreen"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_handleJoinWaitingRoomDecs, 18, "_handleJoinWaitingRoom"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_decorator.bound, 2, "_interceptShareBoard"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_handlerTraceScreenCaptureStateUpdateDecs, 18, "_handlerTraceScreenCaptureStateUpdate"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "setAlllowChangeName"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_setOutputLanguageDecs, 18, "setOutputLanguage"], [_subscribeLanguageDecs, 18, "subscribeLanguage"], [_setSubscribeMainRoomDecs, 18, "setSubscribeMainRoom"], [_getInterpreterUsersAllOnlineDecs, 18, "getInterpreterUsersAllOnline"]], []).e, 21);
|
|
1770
1640
|
_init_users = _applyDecs$e[0];
|
|
1771
1641
|
_init_newMessageTooltipVisible = _applyDecs$e[1];
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
_init_stateBarLeaveMeeting = _applyDecs$e[21];
|
|
1792
|
-
_init_isPstnUser = _applyDecs$e[22];
|
|
1793
|
-
_init_interpreter = _applyDecs$e[23];
|
|
1794
|
-
_init_interpreterState = _applyDecs$e[24];
|
|
1795
|
-
_init_interpreterUsers = _applyDecs$e[25];
|
|
1796
|
-
_init_securityStore = _applyDecs$e[26];
|
|
1797
|
-
_init_interpreterUsersOffline = _applyDecs$e[27];
|
|
1798
|
-
_init_initShowGuide = _applyDecs$e[28];
|
|
1799
|
-
_init__handleNewMessageEvent = _applyDecs$e[29];
|
|
1800
|
-
_initProto = _applyDecs$e[30];
|
|
1642
|
+
_init_totalUser = _applyDecs$e[2];
|
|
1643
|
+
_init_totalWaitingRoomUser = _applyDecs$e[3];
|
|
1644
|
+
_init_liveStreamingState = _applyDecs$e[4];
|
|
1645
|
+
_init_currentMenuIs = _applyDecs$e[5];
|
|
1646
|
+
_init_cloudRecordingState = _applyDecs$e[6];
|
|
1647
|
+
_init_localUserRole = _applyDecs$e[7];
|
|
1648
|
+
_init_localUser = _applyDecs$e[8];
|
|
1649
|
+
_init_connectionSettingVisible = _applyDecs$e[9];
|
|
1650
|
+
_init_folded = _applyDecs$e[10];
|
|
1651
|
+
_init_boardOwnerUser = _applyDecs$e[11];
|
|
1652
|
+
_init_hasScreenShare = _applyDecs$e[12];
|
|
1653
|
+
_init_showArrow = _applyDecs$e[13];
|
|
1654
|
+
_init_phoneMicEnabled = _applyDecs$e[14];
|
|
1655
|
+
_init_chatTabIndex = _applyDecs$e[15];
|
|
1656
|
+
_init_popoverOpened = _applyDecs$e[16];
|
|
1657
|
+
_init_stateBarLeaveMeeting = _applyDecs$e[17];
|
|
1658
|
+
_init_isPstnUser = _applyDecs$e[18];
|
|
1659
|
+
_init_interpreterUsersOffline = _applyDecs$e[19];
|
|
1660
|
+
_initProto = _applyDecs$e[20];
|
|
1801
1661
|
var ActionBarContext = exports.ActionBarContext = /*#__PURE__*/(0, _react.createContext)(null);
|