fcr-ui-scene 3.4.1 → 3.4.3
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 +234 -22
- package/lib/common/device-store.d.ts +3 -2
- package/lib/common/device-store.js +174 -194
- package/lib/common/device-stream-store.d.ts +27 -7
- package/lib/common/device-stream-store.js +190 -176
- package/lib/common/event-store.d.ts +4 -13
- package/lib/common/event-store.js +7 -18
- package/lib/common/room-store.js +6 -6
- package/lib/common/security-store.d.ts +19 -9
- package/lib/common/security-store.js +27 -39
- package/lib/creator.d.ts +1 -1
- package/lib/creator.js +4 -9
- package/lib/electron/app.js +5 -4
- package/lib/electron/bootstrap-dev.js +0 -9
- package/lib/electron/bootstrap-sdk.js +10 -2
- package/lib/electron/injections.d.ts +2 -0
- package/lib/electron/injections.js +17 -7
- 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/electron/tools.js +0 -4
- package/lib/electron/window.js +0 -2
- package/lib/fragments/control-bar/control-bar-store.d.ts +1 -0
- package/lib/fragments/control-bar/control-bar-store.js +9 -4
- package/lib/fragments/control-bar/meeting-details/meeting-detail.css +31 -12
- package/lib/fragments/control-bar/meeting-details/meeting-details.js +117 -16
- 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/action-bar/action-bar-collapes-items.d.ts +1 -1
- package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
- package/lib/modules/action-bar/apps/useInterpreter.js +2 -4
- 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/app-item/index.js +0 -2
- package/lib/modules/action-bar/components/apps/appitems.d.ts +1 -3
- package/lib/modules/action-bar/components/apps/appitems.js +2 -5
- 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/apps/useAppItemOptions.js +0 -1
- package/lib/modules/action-bar/components/collapse/index.d.ts +8 -0
- package/lib/modules/action-bar/components/collapse/index.js +218 -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.js → item/index.js} +2 -4
- 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 -26
- 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 -9
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.js +2 -1
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.js +1 -1
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.js +1 -3
- 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-output-language/index.d.ts +2 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.js +231 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +3 -0
- package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.js +14 -19
- 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 +206 -0
- package/lib/modules/action-bar/device/index.js +3 -1
- 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/more/index.js +3 -6
- package/lib/modules/action-bar/screen-share/index.js +0 -5
- package/lib/modules/action-bar/security/index.js +1 -1
- package/lib/modules/action-bar/smaller.js +2 -2
- package/lib/modules/action-bar/store.d.ts +84 -98
- package/lib/modules/action-bar/store.js +567 -713
- package/lib/modules/action-bar/switch-output-language-room/index.js +8 -2
- package/lib/modules/action-bar/types.d.ts +94 -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 -85
- package/lib/modules/chat/chat-bar/index.css +0 -5
- package/lib/modules/chat/chat-bar/index.js +14 -16
- package/lib/modules/chat/chat-room-store.d.ts +135 -0
- package/lib/modules/chat/chat-room-store.js +950 -0
- package/lib/modules/chat/chat-select/index.css +3 -6
- package/lib/modules/chat/chat-select/index.js +1 -15
- package/lib/modules/chat/chat.js +6 -7
- 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 +143 -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 +234 -0
- package/lib/modules/chat/components/message-list/index.d.ts +4 -0
- package/lib/modules/chat/components/message-list/index.js +648 -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 +1 -4
- 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 -964
- 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 +368 -0
- package/lib/modules/components/device-control/components/audio-menu/index.js +4 -3
- package/lib/modules/components/device-control/components/microphone/index.js +7 -7
- package/lib/modules/components/device-control/components/video-menu/index.js +2 -1
- package/lib/modules/components/device-control/store.d.ts +11 -12
- package/lib/modules/components/device-control/store.js +46 -50
- 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 +290 -0
- package/lib/modules/components/member-window/index.d.ts +1 -1
- package/lib/modules/components/member-window/index.js +12 -10
- package/lib/modules/components/security-menu/index.d.ts +2 -0
- package/lib/modules/components/security-menu/index.js +35 -39
- package/lib/modules/components/tab-frame/index.d.ts +2 -2
- package/lib/modules/components/tab-frame/index.js +24 -7
- 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/components/callinfo/index.js +2 -1
- package/lib/modules/connection-gateway/components/phone/index.js +4 -3
- 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 -40
- 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 +25 -28
- 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 +48 -11
- 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 -29
- package/lib/modules/control-bar/store.d.ts +38 -26
- package/lib/modules/control-bar/store.js +172 -286
- 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 -36
- package/lib/modules/device-pretest/index.js +4 -4
- package/lib/modules/device-pretest/settings/beauty.js +2 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -1
- package/lib/modules/device-pretest/store.d.ts +8 -9
- package/lib/modules/device-pretest/store.js +51 -37
- 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/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.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.js +75 -0
- package/lib/modules/{components → dialog/components}/dialog-container/index.css +6 -3
- package/lib/modules/{components → dialog/components}/dialog-container/index.d.ts +7 -2
- package/lib/modules/{components → dialog/components}/dialog-container/index.js +27 -25
- package/lib/modules/dialog/components/interpreter/electron.js +37 -0
- package/lib/modules/dialog/components/{Interpreter → interpreter}/index.js +2 -2
- 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/remove-admit-waiting-room/electron.js +6 -3
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +14 -4
- 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/system-preference/index.js +0 -2
- 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 +90 -36
- package/lib/modules/dialog/index.d.ts +30 -4
- package/lib/modules/dialog/index.js +61 -7
- package/lib/modules/dialog/store.d.ts +46 -12
- package/lib/modules/dialog/store.js +121 -68
- package/lib/modules/dialog/types/index.d.ts +14 -3
- package/lib/modules/dialog/view.js +2 -1
- 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 -10
- package/lib/modules/event-confirm/view.js +7 -6
- 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 -8
- package/lib/modules/event-toast/view.js +2 -1
- package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.js +2 -2
- package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.js +5 -5
- package/lib/modules/{Interpreter → interpreter}/constant.d.ts +0 -4
- package/lib/modules/{Interpreter → interpreter}/constant.js +3 -45
- package/lib/modules/{Interpreter → interpreter}/dialog-content/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/dialog-content/index.js +4 -4
- package/lib/modules/interpreter/index.d.ts +15 -0
- package/lib/modules/{Interpreter → interpreter}/index.js +23 -8
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.js +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.js +5 -8
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.js +14 -18
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.js +2 -2
- package/lib/modules/interpreter/store.d.ts +50 -0
- package/lib/modules/interpreter/store.js +584 -0
- package/lib/modules/interpreter/type.d.ts +24 -0
- package/lib/modules/interpreter/type.js +12 -0
- package/lib/modules/{Interpreter → interpreter}/utils.d.ts +1 -5
- package/lib/modules/interpreter/utils.js +80 -0
- package/lib/modules/{Interpreter → interpreter}/view.js +19 -3
- 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 +288 -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 +34 -0
- package/lib/modules/invite/index.d.ts +7 -8
- package/lib/modules/invite/index.js +17 -15
- package/lib/modules/invite/store.d.ts +13 -26
- package/lib/modules/invite/store.js +62 -26
- 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 +3 -3
- package/lib/modules/layout/components/Aside.js +34 -17
- package/lib/modules/layout/components/Carousel.js +3 -2
- package/lib/modules/layout/components/Gallery.js +3 -3
- package/lib/modules/layout/components/Layout.js +4 -7
- package/lib/modules/layout/components/index.d.ts +1 -1
- package/lib/modules/layout/components/index.js +4 -5
- 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 +9 -22
- package/lib/modules/layout/member-window/index.d.ts +1 -1
- package/lib/modules/layout/member-window/index.js +26 -27
- package/lib/modules/layout/store.d.ts +61 -71
- package/lib/modules/layout/store.js +311 -576
- package/lib/modules/layout/type.js +2 -0
- package/lib/modules/layout/video-window-datasource.js +0 -4
- 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 +83 -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 +3 -3
- 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 -2
- 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 -64
- 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 +334 -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 -11
- 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 -51
- package/lib/modules/participant/components/user-action/index.d.ts +17 -0
- package/lib/modules/participant/components/user-action/index.js +167 -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 -15
- package/lib/modules/participant/member-list-data-source.d.ts +4 -1
- package/lib/modules/participant/member-list-data-source.js +57 -33
- package/lib/modules/participant/store.d.ts +58 -25
- package/lib/modules/participant/store.js +321 -303
- 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 +300 -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 +78 -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 +317 -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 +185 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +6 -6
- 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 +3 -2
- package/lib/modules/setting/state/index.js +3 -7
- package/lib/modules/setting/store.d.ts +48 -14
- package/lib/modules/setting/store.js +105 -118
- package/lib/modules/setting/translate-settings/translate-settings.js +4 -4
- 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 -2
- package/lib/modules/share-screen/selection/index.js +97 -83
- package/lib/modules/share-screen/store.d.ts +36 -32
- package/lib/modules/share-screen/store.js +249 -222
- 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 -41
- 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/layout-config.js +2 -1
- package/lib/modules/state-bar/live-streaming-state.js +0 -1
- package/lib/modules/state-bar/meeting-details.js +31 -24
- 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 -88
- 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 +27 -12
- package/lib/modules/video-window/store.d.ts +58 -27
- package/lib/modules/video-window/store.js +166 -165
- package/lib/modules/video-window/topControl/index.js +0 -2
- 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/components/switch-theme/index.js +0 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/index.js +1 -4
- package/lib/modules/whiteboard/index.d.ts +20 -14
- package/lib/modules/whiteboard/index.js +250 -227
- 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 -185
- package/lib/providers/device-provider.d.ts +203 -45
- package/lib/providers/device-provider.js +486 -403
- package/lib/providers/device-stream-provider.d.ts +12 -13
- package/lib/providers/device-stream-provider.js +86 -194
- package/lib/providers/dialog-provider.d.ts +135 -0
- package/lib/providers/dialog-provider.js +202 -0
- package/lib/providers/event-provider.d.ts +1 -21
- package/lib/providers/event-provider.js +19 -59
- package/lib/providers/interpreter-provider.d.ts +218 -7
- package/lib/providers/interpreter-provider.js +1069 -81
- 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 +96 -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 +512 -0
- package/lib/providers/privilege-provider.d.ts +325 -12
- package/lib/providers/privilege-provider.js +111 -299
- package/lib/providers/renderer-provider.d.ts +46 -4
- package/lib/providers/renderer-provider.js +57 -61
- package/lib/providers/room-provider.d.ts +113 -6
- package/lib/providers/room-provider.js +665 -88
- package/lib/providers/screen-share-provider.d.ts +65 -0
- package/lib/providers/screen-share-provider.js +237 -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 -248
- 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/{common/remote-renderer.js → shared-data-source/chat-data.js} +67 -77
- 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 +246 -0
- package/lib/shared-data-source/layout-data.d.ts +29 -0
- package/lib/shared-data-source/layout-data.js +178 -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 +151 -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 +1198 -0
- package/lib/shared-data-source/waiting-room.d.ts +19 -0
- package/lib/shared-data-source/waiting-room.js +157 -0
- package/lib/translations/enUS.d.ts +48 -17
- package/lib/translations/enUS.js +67 -35
- package/lib/translations/zhCN.d.ts +48 -17
- package/lib/translations/zhCN.js +68 -36
- package/lib/type.d.ts +270 -25
- package/lib/type.js +81 -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 +371 -43
- package/lib/utilities/constant.d.ts +63 -86
- package/lib/utilities/constant.js +158 -175
- package/lib/utilities/copyText.js +8 -7
- package/lib/utilities/meeting-detail.d.ts +2 -0
- package/lib/utilities/meeting-detail.js +39 -0
- package/lib/utilities/privilege.d.ts +4 -0
- package/lib/utilities/privilege.js +29 -0
- package/lib/utilities/renderer-event.js +0 -2
- package/lib/utilities/renderer.js +0 -1
- package/lib/utilities/setting-config-storage.d.ts +12 -0
- package/lib/utilities/setting-config-storage.js +100 -0
- package/lib/utilities/tools.d.ts +35 -3
- package/lib/utilities/tools.js +103 -4
- package/lib/utilities/video-track-render-context.d.ts +3 -4
- package/lib/utilities/video-track-render-context.js +1 -1
- package/package.json +10 -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
- package/lib/ scenes/base.d.ts +0 -10
- package/lib/ scenes/base.js +0 -75
- package/lib/ scenes/main-scene.d.ts +0 -43
- package/lib/ scenes/main-scene.js +0 -368
- package/lib/ scenes/waiting-scene.d.ts +0 -31
- package/lib/ scenes/waiting-scene.js +0 -119
- package/lib/common/remote-renderer.d.ts +0 -15
- package/lib/common/type.d.ts +0 -8
- package/lib/electron/bootstrap.d.ts +0 -1
- package/lib/electron/bootstrap.js +0 -56
- package/lib/electron/dev.d.ts +0 -1
- package/lib/electron/dev.js +0 -51
- package/lib/error-fallback.css +0 -62
- package/lib/error-fallback.d.ts +0 -2
- package/lib/error-fallback.js +0 -19
- package/lib/modules/Interpreter/context.d.ts +0 -2
- package/lib/modules/Interpreter/context.js +0 -9
- package/lib/modules/Interpreter/index.d.ts +0 -8
- package/lib/modules/Interpreter/store.d.ts +0 -111
- package/lib/modules/Interpreter/store.js +0 -1601
- package/lib/modules/Interpreter/type.d.ts +0 -41
- package/lib/modules/Interpreter/type.js +0 -20
- package/lib/modules/Interpreter/utils.js +0 -139
- package/lib/modules/action-bar/components/device/index.css +0 -162
- package/lib/modules/action-bar/components/device/index.d.ts +0 -8
- package/lib/modules/action-bar/components/device/index.js +0 -611
- package/lib/modules/action-bar/components/item.d.ts +0 -27
- package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +0 -15
- package/lib/modules/action-bar/trigger-input-language-room/index.js +0 -220
- package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +0 -10
- package/lib/modules/action-bar/trigger-output-language-room/constant.js +0 -8
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +0 -14
- package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +0 -4
- package/lib/modules/action-bar/trigger-output-language-room/index.js +0 -98
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +0 -66
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +0 -36
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
- package/lib/modules/components/dialog-container/component/body.js +0 -46
- package/lib/modules/dialog/components/Interpreter/electron.js +0 -31
- package/lib/modules/dialog/components/Interpreter/user-queue/index.css +0 -36
- package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +0 -3
- package/lib/modules/dialog/components/Interpreter/user-queue/index.js +0 -47
- package/lib/modules/notification/context.d.ts +0 -2
- package/lib/modules/notification/context.js +0 -9
- package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
- package/lib/modules/participant/attendee/participants-more-action.js +0 -278
- package/lib/scenes/base.d.ts +0 -10
- package/lib/scenes/base.js +0 -75
- package/lib/ui-node.d.ts +0 -25
- package/lib/ui-node.js +0 -156
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/dome.png +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/fcr_translateswitch.png +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.d.ts +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.d.ts +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.d.ts +0 -0
- /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/fcr_translateswitch.png +0 -0
- /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/index.css +0 -0
- /package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.css +0 -0
- /package/lib/modules/action-bar/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/action-bar/{Interpreter → interpreter}/index.js +0 -0
- /package/lib/{common/type.js → modules/action-bar/types.js} +0 -0
- /package/lib/modules/{components → dialog/components}/dialog-container/component/body.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.css +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/config.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/config.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/view.d.ts +0 -0
|
@@ -7,8 +7,10 @@ require("core-js/modules/es.error.cause.js");
|
|
|
7
7
|
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
|
+
require("core-js/modules/es.function.bind.js");
|
|
10
11
|
require("core-js/modules/es.function.name.js");
|
|
11
12
|
require("core-js/modules/es.map.js");
|
|
13
|
+
require("core-js/modules/es.number.constructor.js");
|
|
12
14
|
require("core-js/modules/es.object.create.js");
|
|
13
15
|
require("core-js/modules/es.object.define-property.js");
|
|
14
16
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
@@ -35,7 +37,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
35
37
|
});
|
|
36
38
|
exports["default"] = exports.StoreContext = void 0;
|
|
37
39
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
38
|
-
require("core-js/modules/es.array.concat.js");
|
|
39
40
|
require("core-js/modules/es.array.filter.js");
|
|
40
41
|
require("core-js/modules/es.array.find.js");
|
|
41
42
|
require("core-js/modules/es.array.find-index.js");
|
|
@@ -45,15 +46,9 @@ require("core-js/modules/es.array.map.js");
|
|
|
45
46
|
require("core-js/modules/es.array.push.js");
|
|
46
47
|
require("core-js/modules/es.array.splice.js");
|
|
47
48
|
require("core-js/modules/es.date.to-string.js");
|
|
48
|
-
require("core-js/modules/es.function.bind.js");
|
|
49
|
-
require("core-js/modules/es.number.constructor.js");
|
|
50
49
|
require("core-js/modules/es.object.to-string.js");
|
|
51
50
|
require("core-js/modules/es.string.iterator.js");
|
|
52
51
|
require("core-js/modules/es.weak-map.js");
|
|
53
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
54
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
55
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
56
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
57
52
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
58
53
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
59
54
|
require("core-js/modules/esnext.iterator.find.js");
|
|
@@ -63,7 +58,6 @@ require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
|
63
58
|
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
64
59
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
65
60
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
66
|
-
require("core-js/modules/web.timers.js");
|
|
67
61
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
68
62
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
69
63
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
@@ -71,25 +65,21 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
|
71
65
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
72
66
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
73
67
|
var _mobx = require("mobx");
|
|
74
|
-
var _constant = require("../../utilities/constant");
|
|
75
68
|
var _type = require("agora-rte-sdk/lib/core/rtc/type");
|
|
76
69
|
var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
|
|
77
70
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
78
|
-
var _platform = require("../../utilities/platform");
|
|
79
71
|
var _logger = require("agora-foundation/lib/logger");
|
|
80
|
-
var _dialogs = require("../dialog/dialogs");
|
|
81
72
|
var _type2 = require("fcr-core/lib/room-control/type");
|
|
82
73
|
var _fcrCore = require("fcr-core");
|
|
83
74
|
var _type3 = require("fcr-core/lib/type");
|
|
84
75
|
var _react = require("react");
|
|
85
|
-
var _type4 = require("../../type");
|
|
86
|
-
var _leaveMeeting = require("../action-bar/components/leave/leave-meeting");
|
|
87
|
-
var _type5 = require("./type");
|
|
88
76
|
var _stopButton = _interopRequireDefault(require("./components/stop-live-streaming/stop-button"));
|
|
89
|
-
var
|
|
77
|
+
var _constant = require("../../utilities/constant");
|
|
78
|
+
var _enums = require("./enums");
|
|
79
|
+
var _leaveMeeting = require("../components/leave-meeting");
|
|
90
80
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
91
81
|
var _ControlBarStore;
|
|
92
|
-
var _initProto, _leaveConfirmRefDecs, _init_leaveConfirmRef, _init_shareWithAudio, _init_shareAudioProcessingChannel, _init_currentShareId, _init_currentShareType, _init_cloudRecordingState, _init_localUserRole, _init_isHost, _init_roomDuration, _init_startTime, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_roomInfo, _init_isShowMeetingDetailPortal, _init_users, _init_isPstnUser,
|
|
82
|
+
var _initProto, _leaveConfirmRefDecs, _init_leaveConfirmRef, _init_shareWithAudio, _init_shareAudioProcessingChannel, _init_currentShareId, _init_currentShareType, _init_currentShareBounds, _init_cloudRecordingState, _init_localUserRole, _init_isHost, _init_roomDuration, _init_startTime, _init_playUrl, _init_liveStreamingState, _init_allApplicationWindows, _init_roomInfo, _init_isShowMeetingDetailPortal, _init_users, _init_isPstnUser, _init_hiddenShareActionNav, _init_boardOwnerUser, _init_meetingId, _init_currentShareDisplayId, _initControlBarDecs, _updateCurrentShareContentDecs, _setLocalUserRoleDecs, _setShareWithAudioStateDecs, _createNewShareDecs, _handlerStopShareDecs, _setShareAudioProcessingChannelDecs, _handleMoreClickDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showToastDecs, _setShowMeetingDetailPortalDecs, _setEnableWaitingRoomDecs, _handleLeaveRoomDecs, _resetMessageCountDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleUserInfoUpdatedDecs, _ref;
|
|
93
83
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
94
84
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
95
85
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -122,13 +112,13 @@ var _S = /*#__PURE__*/new WeakMap();
|
|
|
122
112
|
var _T = /*#__PURE__*/new WeakMap();
|
|
123
113
|
var _U = /*#__PURE__*/new WeakMap();
|
|
124
114
|
var _V = /*#__PURE__*/new WeakMap();
|
|
125
|
-
_ref = (_leaveConfirmRefDecs = [_mobx.observable, _mobx.observable.ref], _initControlBarDecs = [_mobx.action, _mobx.action.bound],
|
|
115
|
+
_ref = (_leaveConfirmRefDecs = [_mobx.observable, _mobx.observable.ref], _initControlBarDecs = [_mobx.action, _mobx.action.bound], _updateCurrentShareContentDecs = [_mobx.action, _mobx.action.bound], _setLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _createNewShareDecs = [_mobx.action, _mobx.action.bound], _handlerStopShareDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _handleMoreClickDecs = [_mobx.action, _mobx.action.bound], _pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
126
116
|
leading: true
|
|
127
117
|
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
128
118
|
leading: true
|
|
129
119
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
130
120
|
leading: true
|
|
131
|
-
})], _showToastDecs = [_mobx.action, _mobx.action.bound], _setShowMeetingDetailPortalDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound],
|
|
121
|
+
})], _showToastDecs = [_mobx.action, _mobx.action.bound], _setShowMeetingDetailPortalDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleLeaveRoomDecs = [_mobx.action, _mobx.action.bound], _resetMessageCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
132
122
|
var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
133
123
|
function ControlBarStore(_ref2) {
|
|
134
124
|
var _roomControl$getRoomS,
|
|
@@ -139,10 +129,11 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
139
129
|
var uiEventStore = _ref2.uiEventStore,
|
|
140
130
|
securityStore = _ref2.securityStore,
|
|
141
131
|
roomControl = _ref2.roomControl,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
132
|
+
deviceProvider = _ref2.deviceProvider,
|
|
133
|
+
sharedLayoutDataSource = _ref2.sharedLayoutDataSource,
|
|
134
|
+
roomProvider = _ref2.roomProvider,
|
|
135
|
+
screenShareProvider = _ref2.screenShareProvider,
|
|
136
|
+
sharedChatDataSource = _ref2.sharedChatDataSource;
|
|
146
137
|
(0, _classCallCheck2["default"])(this, ControlBarStore);
|
|
147
138
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
148
139
|
(0, _defineProperty2["default"])(this, "_screenBounds", {
|
|
@@ -159,25 +150,30 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
159
150
|
_classPrivateFieldInitSpec(this, _C, _init_shareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
|
|
160
151
|
_classPrivateFieldInitSpec(this, _D, _init_currentShareId(this, ''));
|
|
161
152
|
_classPrivateFieldInitSpec(this, _E, _init_currentShareType(this, _type.AgoraRtcScreenCaptureType.SCREEN));
|
|
162
|
-
_classPrivateFieldInitSpec(this, _F,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
_classPrivateFieldInitSpec(this,
|
|
169
|
-
_classPrivateFieldInitSpec(this,
|
|
170
|
-
_classPrivateFieldInitSpec(this,
|
|
153
|
+
_classPrivateFieldInitSpec(this, _F, _init_currentShareBounds(this, {
|
|
154
|
+
width: 0,
|
|
155
|
+
height: 0,
|
|
156
|
+
x: 0,
|
|
157
|
+
y: 0
|
|
158
|
+
}));
|
|
159
|
+
_classPrivateFieldInitSpec(this, _G, _init_cloudRecordingState(this, _type3.FcrRecordingState.Stopped));
|
|
160
|
+
_classPrivateFieldInitSpec(this, _H, _init_localUserRole(this, _type3.FcrUserRole.PARTICIPANT));
|
|
161
|
+
_classPrivateFieldInitSpec(this, _I, _init_isHost(this, false));
|
|
162
|
+
_classPrivateFieldInitSpec(this, _J, _init_roomDuration(this, 0));
|
|
163
|
+
_classPrivateFieldInitSpec(this, _K, _init_startTime(this, new Date().getTime()));
|
|
164
|
+
_classPrivateFieldInitSpec(this, _L, _init_playUrl(this, ''));
|
|
165
|
+
_classPrivateFieldInitSpec(this, _M, _init_liveStreamingState(this, _type3.FcrLiveStreamingState.STOPPED));
|
|
166
|
+
_classPrivateFieldInitSpec(this, _N, _init_allApplicationWindows(this, []));
|
|
167
|
+
_classPrivateFieldInitSpec(this, _O, _init_roomInfo(this, {
|
|
171
168
|
roomId: '',
|
|
172
169
|
roomName: '',
|
|
173
170
|
roomType: _type2.FcrRoomType.Mainroom,
|
|
174
171
|
password: '',
|
|
175
172
|
inviteLink: ''
|
|
176
173
|
}));
|
|
177
|
-
_classPrivateFieldInitSpec(this,
|
|
178
|
-
_classPrivateFieldInitSpec(this,
|
|
179
|
-
_classPrivateFieldInitSpec(this,
|
|
180
|
-
_classPrivateFieldInitSpec(this, _R, _init_isMuteAudio(this, false));
|
|
174
|
+
_classPrivateFieldInitSpec(this, _P, _init_isShowMeetingDetailPortal(this, false));
|
|
175
|
+
_classPrivateFieldInitSpec(this, _Q, _init_users(this, []));
|
|
176
|
+
_classPrivateFieldInitSpec(this, _R, _init_isPstnUser(this, false));
|
|
181
177
|
_classPrivateFieldInitSpec(this, _S, _init_hiddenShareActionNav(this, false));
|
|
182
178
|
_classPrivateFieldInitSpec(this, _T, _init_boardOwnerUser(this, ''));
|
|
183
179
|
_classPrivateFieldInitSpec(this, _U, _init_meetingId(this, undefined));
|
|
@@ -185,30 +181,30 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
185
181
|
this._uiEventStore = uiEventStore;
|
|
186
182
|
this._roomControl = roomControl;
|
|
187
183
|
this._securityStore = securityStore;
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
184
|
+
this._roomProvider = roomProvider;
|
|
185
|
+
this._userControl = roomControl.getUserControl();
|
|
186
|
+
this._streamControl = roomControl.getStreamControl();
|
|
187
|
+
this._sharedLayoutDataSource = sharedLayoutDataSource;
|
|
188
|
+
this._screenShareProvider = screenShareProvider;
|
|
189
|
+
this._sharedChatDataSource = sharedChatDataSource;
|
|
190
190
|
this.startTime = (_roomControl$getRoomS = (_roomControl$getRoomS2 = roomControl.getRoomSchedule()) === null || _roomControl$getRoomS2 === void 0 ? void 0 : _roomControl$getRoomS2.startTime) !== null && _roomControl$getRoomS !== void 0 ? _roomControl$getRoomS : new Date().getTime();
|
|
191
191
|
this.roomInfo = roomControl.getRoomInfo();
|
|
192
192
|
this.roomDuration = (_roomControl$getRoomS3 = (_roomControl$getRoomS4 = roomControl.getRoomSchedule()) === null || _roomControl$getRoomS4 === void 0 ? void 0 : _roomControl$getRoomS4.duration) !== null && _roomControl$getRoomS3 !== void 0 ? _roomControl$getRoomS3 : 0;
|
|
193
193
|
this.liveStreamingState = roomControl.getLiveStreamingState();
|
|
194
|
-
this.
|
|
195
|
-
this.users = (0, _toConsumableArray2["default"])(
|
|
194
|
+
this._deviceProvider = deviceProvider;
|
|
195
|
+
this.users = (0, _toConsumableArray2["default"])(this._userControl.getUserList());
|
|
196
196
|
this.meetingId = roomControl.getRoomPropertiesByKeyPath('meetingId');
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
}, _callee);
|
|
210
|
-
}))();
|
|
211
|
-
roomControl.addObserver({
|
|
197
|
+
this._streamObserver = {
|
|
198
|
+
onStreamsAdded: this._handleStreamUpdate,
|
|
199
|
+
onStreamsUpdated: this._handleStreamUpdate,
|
|
200
|
+
onStreamsRemoved: this._handleStreamUpdate
|
|
201
|
+
};
|
|
202
|
+
this._userObserver = {
|
|
203
|
+
onRemoteUsersJoined: this._handleRemoteUsersJoined,
|
|
204
|
+
onRemoteUsersLeft: this._handleRemoteUsersLeft,
|
|
205
|
+
onUserInfoUpdated: this._handleUserInfoUpdated
|
|
206
|
+
};
|
|
207
|
+
this._roomObserver = {
|
|
212
208
|
onLiveStreamingStateUpdated: function onLiveStreamingStateUpdated(roomId, state, url) {
|
|
213
209
|
_this.liveStreamingState = state;
|
|
214
210
|
_this.playUrl = url;
|
|
@@ -216,25 +212,33 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
216
212
|
onCloudRecordingStateUpdated: function onCloudRecordingStateUpdated(roomId, state) {
|
|
217
213
|
return _this.cloudRecordingState = state;
|
|
218
214
|
}
|
|
219
|
-
}
|
|
220
|
-
|
|
215
|
+
};
|
|
216
|
+
this._boardObserver = {
|
|
221
217
|
onActive: function onActive(ownerId) {
|
|
222
218
|
_this.boardOwnerUser = ownerId;
|
|
223
219
|
},
|
|
224
220
|
onInactive: function onInactive() {
|
|
225
221
|
_this.boardOwnerUser = '';
|
|
226
222
|
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
223
|
+
};
|
|
224
|
+
(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
225
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
226
|
+
while (1) switch (_context.prev = _context.next) {
|
|
227
|
+
case 0:
|
|
228
|
+
_context.next = 2;
|
|
229
|
+
return deviceProvider === null || deviceProvider === void 0 ? void 0 : deviceProvider.getWindowList();
|
|
230
|
+
case 2:
|
|
231
|
+
_this.allApplicationWindows = _context.sent;
|
|
232
|
+
case 3:
|
|
233
|
+
case "end":
|
|
234
|
+
return _context.stop();
|
|
235
|
+
}
|
|
236
|
+
}, _callee);
|
|
237
|
+
}))();
|
|
238
|
+
roomControl.addObserver(this._roomObserver);
|
|
239
|
+
roomControl.getBoardControl().addObserver(this._boardObserver);
|
|
240
|
+
this._streamControl.addObserver(this._streamObserver);
|
|
241
|
+
this._userControl.addObserver(this._userObserver);
|
|
238
242
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
239
243
|
return _this.localUser.userRole;
|
|
240
244
|
}, this.setLocalUserRole));
|
|
@@ -280,7 +284,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
280
284
|
_classPrivateFieldSet(_E, this, v);
|
|
281
285
|
}
|
|
282
286
|
}, {
|
|
283
|
-
key: "
|
|
287
|
+
key: "currentShareBounds",
|
|
284
288
|
get: function get() {
|
|
285
289
|
return _classPrivateFieldGet(_F, this);
|
|
286
290
|
},
|
|
@@ -288,7 +292,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
288
292
|
_classPrivateFieldSet(_F, this, v);
|
|
289
293
|
}
|
|
290
294
|
}, {
|
|
291
|
-
key: "
|
|
295
|
+
key: "cloudRecordingState",
|
|
292
296
|
get: function get() {
|
|
293
297
|
return _classPrivateFieldGet(_G, this);
|
|
294
298
|
},
|
|
@@ -296,7 +300,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
296
300
|
_classPrivateFieldSet(_G, this, v);
|
|
297
301
|
}
|
|
298
302
|
}, {
|
|
299
|
-
key: "
|
|
303
|
+
key: "localUserRole",
|
|
300
304
|
get: function get() {
|
|
301
305
|
return _classPrivateFieldGet(_H, this);
|
|
302
306
|
},
|
|
@@ -304,7 +308,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
304
308
|
_classPrivateFieldSet(_H, this, v);
|
|
305
309
|
}
|
|
306
310
|
}, {
|
|
307
|
-
key: "
|
|
311
|
+
key: "isHost",
|
|
308
312
|
get: function get() {
|
|
309
313
|
return _classPrivateFieldGet(_I, this);
|
|
310
314
|
},
|
|
@@ -312,7 +316,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
312
316
|
_classPrivateFieldSet(_I, this, v);
|
|
313
317
|
}
|
|
314
318
|
}, {
|
|
315
|
-
key: "
|
|
319
|
+
key: "roomDuration",
|
|
316
320
|
get: function get() {
|
|
317
321
|
return _classPrivateFieldGet(_J, this);
|
|
318
322
|
},
|
|
@@ -320,7 +324,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
320
324
|
_classPrivateFieldSet(_J, this, v);
|
|
321
325
|
}
|
|
322
326
|
}, {
|
|
323
|
-
key: "
|
|
327
|
+
key: "startTime",
|
|
324
328
|
get: function get() {
|
|
325
329
|
return _classPrivateFieldGet(_K, this);
|
|
326
330
|
},
|
|
@@ -328,7 +332,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
328
332
|
_classPrivateFieldSet(_K, this, v);
|
|
329
333
|
}
|
|
330
334
|
}, {
|
|
331
|
-
key: "
|
|
335
|
+
key: "playUrl",
|
|
332
336
|
get: function get() {
|
|
333
337
|
return _classPrivateFieldGet(_L, this);
|
|
334
338
|
},
|
|
@@ -336,7 +340,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
336
340
|
_classPrivateFieldSet(_L, this, v);
|
|
337
341
|
}
|
|
338
342
|
}, {
|
|
339
|
-
key: "
|
|
343
|
+
key: "liveStreamingState",
|
|
340
344
|
get: function get() {
|
|
341
345
|
return _classPrivateFieldGet(_M, this);
|
|
342
346
|
},
|
|
@@ -344,7 +348,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
344
348
|
_classPrivateFieldSet(_M, this, v);
|
|
345
349
|
}
|
|
346
350
|
}, {
|
|
347
|
-
key: "
|
|
351
|
+
key: "allApplicationWindows",
|
|
348
352
|
get: function get() {
|
|
349
353
|
return _classPrivateFieldGet(_N, this);
|
|
350
354
|
},
|
|
@@ -352,7 +356,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
352
356
|
_classPrivateFieldSet(_N, this, v);
|
|
353
357
|
}
|
|
354
358
|
}, {
|
|
355
|
-
key: "
|
|
359
|
+
key: "roomInfo",
|
|
356
360
|
get: function get() {
|
|
357
361
|
return _classPrivateFieldGet(_O, this);
|
|
358
362
|
},
|
|
@@ -360,7 +364,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
360
364
|
_classPrivateFieldSet(_O, this, v);
|
|
361
365
|
}
|
|
362
366
|
}, {
|
|
363
|
-
key: "
|
|
367
|
+
key: "isShowMeetingDetailPortal",
|
|
364
368
|
get: function get() {
|
|
365
369
|
return _classPrivateFieldGet(_P, this);
|
|
366
370
|
},
|
|
@@ -368,7 +372,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
368
372
|
_classPrivateFieldSet(_P, this, v);
|
|
369
373
|
}
|
|
370
374
|
}, {
|
|
371
|
-
key: "
|
|
375
|
+
key: "users",
|
|
372
376
|
get: function get() {
|
|
373
377
|
return _classPrivateFieldGet(_Q, this);
|
|
374
378
|
},
|
|
@@ -376,7 +380,7 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
376
380
|
_classPrivateFieldSet(_Q, this, v);
|
|
377
381
|
}
|
|
378
382
|
}, {
|
|
379
|
-
key: "
|
|
383
|
+
key: "isPstnUser",
|
|
380
384
|
get: function get() {
|
|
381
385
|
return _classPrivateFieldGet(_R, this);
|
|
382
386
|
},
|
|
@@ -415,6 +419,11 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
415
419
|
set: function set(v) {
|
|
416
420
|
_classPrivateFieldSet(_V, this, v);
|
|
417
421
|
}
|
|
422
|
+
}, {
|
|
423
|
+
key: "privilegeProvider",
|
|
424
|
+
get: function get() {
|
|
425
|
+
return this._securityStore;
|
|
426
|
+
}
|
|
418
427
|
}, {
|
|
419
428
|
key: "localUser",
|
|
420
429
|
get: function get() {
|
|
@@ -468,73 +477,38 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
468
477
|
get: function get() {
|
|
469
478
|
return this._securityStore.hasEndRoomPermission();
|
|
470
479
|
}
|
|
480
|
+
}, {
|
|
481
|
+
key: "isMuteAudio",
|
|
482
|
+
get: function get() {
|
|
483
|
+
return !this._deviceProvider.microphoneEnabled;
|
|
484
|
+
}
|
|
485
|
+
}, {
|
|
486
|
+
key: "newMessageCount",
|
|
487
|
+
get: function get() {
|
|
488
|
+
return this._sharedChatDataSource.newMessageCount;
|
|
489
|
+
},
|
|
490
|
+
set: function set(value) {
|
|
491
|
+
this._sharedChatDataSource.newMessageCount = value;
|
|
492
|
+
}
|
|
471
493
|
}, {
|
|
472
494
|
key: "initControlBar",
|
|
473
495
|
value: function initControlBar(payload, browserWindow) {
|
|
474
496
|
this.shareAudioProcessingChannel = payload.currentShareAudioProcessingChannel;
|
|
475
497
|
this.currentShareId = payload.currentShareId;
|
|
476
498
|
this.currentShareType = payload.currentShareType;
|
|
499
|
+
this.currentShareBounds = payload.currentShareBounds;
|
|
477
500
|
this.setShareWithAudioState(payload.shareWithAudio);
|
|
478
|
-
this.setControlBarWindowBounds(browserWindow);
|
|
479
|
-
}
|
|
480
|
-
}, {
|
|
481
|
-
key: "setControlBarWindowBounds",
|
|
482
|
-
value: function setControlBarWindowBounds(window) {
|
|
483
|
-
var _this3 = this;
|
|
484
|
-
if (!(0, _env.isElectron)()) return;
|
|
485
|
-
var needFollowWindows = [_constant.DialogKey.CONTROL_BAR, _constant.DialogKey.SHOW_TOAST];
|
|
486
|
-
var browserWindows = needFollowWindows.map(function (win) {
|
|
487
|
-
return _dialogs.dialogWindows.get(win) || window;
|
|
488
|
-
});
|
|
489
|
-
var _this$getCurrentShari = this.getCurrentSharingWorkArea(),
|
|
490
|
-
x = _this$getCurrentShari.x,
|
|
491
|
-
y = _this$getCurrentShari.y,
|
|
492
|
-
width = _this$getCurrentShari.width,
|
|
493
|
-
height = _this$getCurrentShari.height,
|
|
494
|
-
availTop = _this$getCurrentShari.availTop;
|
|
495
|
-
this._screenBounds = {
|
|
496
|
-
width: width,
|
|
497
|
-
height: height,
|
|
498
|
-
availTop: availTop,
|
|
499
|
-
x: x,
|
|
500
|
-
y: y
|
|
501
|
-
};
|
|
502
|
-
|
|
503
|
-
/* 使用window.screen.availWidth在windows上会黑屏,详见jira:APAAS-5732
|
|
504
|
-
怀疑是在windows上BrowserWindow有一个边框,所以需要减去一定的宽度。
|
|
505
|
-
实验结果最低是4。这里减去10留一点buffer,防止其他操作系统的边框不一致。
|
|
506
|
-
*/
|
|
507
|
-
var WINDOWS_SCREEN_BOUNDARY_WIDTH = 10;
|
|
508
|
-
var availWidth = (0, _platform.isWindows)() ? width - WINDOWS_SCREEN_BOUNDARY_WIDTH : width;
|
|
509
|
-
|
|
510
|
-
// 重新设置窗口大小
|
|
511
|
-
setTimeout(function () {
|
|
512
|
-
browserWindows.forEach(function (win) {
|
|
513
|
-
win === null || win === void 0 || win.setBounds({
|
|
514
|
-
x: x,
|
|
515
|
-
y: y,
|
|
516
|
-
width: availWidth,
|
|
517
|
-
height: height
|
|
518
|
-
});
|
|
519
|
-
});
|
|
520
|
-
_this3.logger.info("set browser window bounds: ".concat(x, ", ").concat(y, ", ").concat(availWidth, ", ").concat(height));
|
|
521
|
-
});
|
|
522
|
-
browserWindows.forEach(function (win) {
|
|
523
|
-
win === null || win === void 0 || win.setMaximumSize(availWidth, height);
|
|
524
|
-
win === null || win === void 0 || win.setBounds({
|
|
525
|
-
x: x,
|
|
526
|
-
y: y
|
|
527
|
-
});
|
|
528
|
-
});
|
|
529
501
|
}
|
|
530
502
|
}, {
|
|
531
503
|
key: "updateCurrentShareContent",
|
|
532
504
|
value: function updateCurrentShareContent(payload) {
|
|
533
505
|
var id = payload.id,
|
|
534
|
-
type = payload.type
|
|
506
|
+
type = payload.type,
|
|
507
|
+
bounds = payload.bounds;
|
|
535
508
|
this.currentShareId = id;
|
|
536
509
|
this.currentShareType = type;
|
|
537
|
-
this.
|
|
510
|
+
this.currentShareBounds = bounds;
|
|
511
|
+
// this.setControlBarWindowBounds();
|
|
538
512
|
}
|
|
539
513
|
}, {
|
|
540
514
|
key: "setLocalUserRole",
|
|
@@ -546,19 +520,19 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
546
520
|
key: "setShareWithAudioState",
|
|
547
521
|
value: function setShareWithAudioState(withAudio) {
|
|
548
522
|
this.shareWithAudio = withAudio;
|
|
549
|
-
this._uiEventStore.sendEvent(_constant.
|
|
523
|
+
this._uiEventStore.sendEvent(_constant.FcrUIAction.SET_SHARE_WITH_AUDIO, {
|
|
550
524
|
withAudio: withAudio
|
|
551
525
|
});
|
|
552
526
|
}
|
|
553
527
|
}, {
|
|
554
528
|
key: "createNewShare",
|
|
555
529
|
value: function createNewShare() {
|
|
556
|
-
this._uiEventStore.
|
|
530
|
+
this._uiEventStore.startShareScreen();
|
|
557
531
|
}
|
|
558
532
|
}, {
|
|
559
533
|
key: "handlerStopShare",
|
|
560
534
|
value: function handlerStopShare() {
|
|
561
|
-
this._uiEventStore.
|
|
535
|
+
this._uiEventStore.stopShareScreen();
|
|
562
536
|
}
|
|
563
537
|
}, {
|
|
564
538
|
key: "setShareAudioProcessingChannel",
|
|
@@ -570,39 +544,40 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
570
544
|
}, {
|
|
571
545
|
key: "handleMoreClick",
|
|
572
546
|
value: function handleMoreClick(actionKey) {
|
|
573
|
-
var
|
|
547
|
+
var _this3 = this;
|
|
574
548
|
switch (actionKey) {
|
|
575
|
-
case
|
|
576
|
-
this._uiEventStore.openDialog(_constant.
|
|
577
|
-
this.
|
|
549
|
+
case _enums.MoreAction.OPEN_PARTICIPANTS:
|
|
550
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.PARTICIPANT);
|
|
551
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
578
552
|
participant: false
|
|
579
553
|
});
|
|
580
554
|
break;
|
|
581
|
-
case
|
|
582
|
-
this._uiEventStore.openDialog(_constant.
|
|
583
|
-
this.
|
|
555
|
+
case _enums.MoreAction.OPEN_CHAT:
|
|
556
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.CHAT);
|
|
557
|
+
this._sharedLayoutDataSource.setAsideLayout({
|
|
584
558
|
chat: false
|
|
585
559
|
});
|
|
560
|
+
this._resetMessageCount();
|
|
586
561
|
break;
|
|
587
|
-
case
|
|
588
|
-
this._uiEventStore.openDialog(_constant.
|
|
562
|
+
case _enums.MoreAction.OPEN_LIVE_STEAMING_DIALOG:
|
|
563
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.LIVE_STREAMING);
|
|
589
564
|
break;
|
|
590
|
-
case
|
|
591
|
-
this._uiEventStore.openDialog(_constant.
|
|
565
|
+
case _enums.MoreAction.OPEN_SETTING:
|
|
566
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.DEVICE_SETTINGS);
|
|
592
567
|
break;
|
|
593
|
-
case
|
|
568
|
+
case _enums.MoreAction.CLOUD_RECORDING_START:
|
|
594
569
|
this.startCloudRecording();
|
|
595
570
|
break;
|
|
596
|
-
case
|
|
571
|
+
case _enums.MoreAction.CLOUD_RECORDING_STOP:
|
|
597
572
|
this.stopCloudRecording();
|
|
598
573
|
break;
|
|
599
|
-
case
|
|
600
|
-
this.
|
|
574
|
+
case _enums.MoreAction.STOP_LIVE_STREAMING:
|
|
575
|
+
this._roomProvider.stopLiveStreaming();
|
|
601
576
|
var dispose = (0, _mobx.reaction)(function () {
|
|
602
|
-
return
|
|
577
|
+
return _this3.liveStreamingState;
|
|
603
578
|
}, function (liveStreamingState) {
|
|
604
579
|
if (liveStreamingState === _type3.FcrLiveStreamingState.STOPPED) {
|
|
605
|
-
|
|
580
|
+
_this3._liveStreamingDialogKey && _this3._uiEventStore.closeDialog(_this3._liveStreamingDialogKey);
|
|
606
581
|
dispose();
|
|
607
582
|
}
|
|
608
583
|
});
|
|
@@ -614,16 +589,16 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
614
589
|
}, {
|
|
615
590
|
key: "openLiveStreamingDialog",
|
|
616
591
|
value: function openLiveStreamingDialog() {
|
|
617
|
-
var
|
|
592
|
+
var _this4 = this;
|
|
618
593
|
var dialogKey = this._uiEventStore.openConfirmDialog({
|
|
619
594
|
width: 256,
|
|
620
595
|
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_stopButton["default"], {
|
|
621
596
|
onCancel: function onCancel() {
|
|
622
|
-
|
|
597
|
+
_this4._uiEventStore.closeConfirm(dialogKey);
|
|
623
598
|
},
|
|
624
599
|
handleMoreClick: function handleMoreClick(type) {
|
|
625
|
-
|
|
626
|
-
|
|
600
|
+
_this4.handleMoreClick(type);
|
|
601
|
+
_this4._uiEventStore.closeConfirm(dialogKey);
|
|
627
602
|
}
|
|
628
603
|
}),
|
|
629
604
|
showCancel: false,
|
|
@@ -662,23 +637,10 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
662
637
|
retryTimeout: 60
|
|
663
638
|
});
|
|
664
639
|
}
|
|
665
|
-
}, {
|
|
666
|
-
key: "getCoordinate",
|
|
667
|
-
value: function getCoordinate(offsetWidth, offsetHeight) {
|
|
668
|
-
var _this$getCurrentShari2 = this.getCurrentSharingWorkArea(),
|
|
669
|
-
workareaW = _this$getCurrentShari2.width,
|
|
670
|
-
displayId = _this$getCurrentShari2.displayId;
|
|
671
|
-
var x = workareaW / 2 - offsetWidth / 2;
|
|
672
|
-
var y = 0;
|
|
673
|
-
return {
|
|
674
|
-
x: x,
|
|
675
|
-
y: y
|
|
676
|
-
};
|
|
677
|
-
}
|
|
678
640
|
}, {
|
|
679
641
|
key: "showToast",
|
|
680
642
|
value: function showToast(params) {
|
|
681
|
-
this._uiEventStore.openDialog(_constant.
|
|
643
|
+
this._uiEventStore.openDialog(_constant.FcrUIDialogKey.SHOW_TOAST, _constant.FcrUIDialogKey.SHOW_TOAST, {
|
|
682
644
|
type: params.type,
|
|
683
645
|
message: params.content,
|
|
684
646
|
duration: params.duration
|
|
@@ -692,127 +654,51 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
692
654
|
}, {
|
|
693
655
|
key: "setEnableWaitingRoom",
|
|
694
656
|
value: function setEnableWaitingRoom(enable) {
|
|
695
|
-
this._uiEventStore.sendEvent(_constant.
|
|
696
|
-
}
|
|
697
|
-
}, {
|
|
698
|
-
key: "sendLeave",
|
|
699
|
-
value: function sendLeave() {
|
|
700
|
-
this._uiEventStore.sendEvent(_constant.UIAction.EXIT_ROOM, {
|
|
701
|
-
reason: _type4.FcrUIExitReason.LEAVE_ROOM,
|
|
702
|
-
roomType: this.roomInfo.roomType
|
|
703
|
-
});
|
|
704
|
-
}
|
|
705
|
-
}, {
|
|
706
|
-
key: "sendEnd",
|
|
707
|
-
value: function sendEnd() {
|
|
708
|
-
this._roomControl.close();
|
|
709
|
-
}
|
|
710
|
-
}, {
|
|
711
|
-
key: "keepPhoneAudioConnection",
|
|
712
|
-
value: function keepPhoneAudioConnection() {
|
|
713
|
-
this._streamControl.splitAudioStream(this.localUser.userId);
|
|
714
|
-
}
|
|
715
|
-
}, {
|
|
716
|
-
key: "sendAssign",
|
|
717
|
-
value: function sendAssign(user) {
|
|
718
|
-
this._userControl.updateRemoteUserRole(user.userId, _type3.FcrUserRole.HOST);
|
|
719
|
-
this.sendLeave();
|
|
720
|
-
this.handlerStopShare();
|
|
657
|
+
this._uiEventStore.sendEvent(_constant.FcrUIAction.ENABLE_WAITING_ROOM, enable);
|
|
721
658
|
}
|
|
722
659
|
}, {
|
|
723
660
|
key: "handleLeaveRoom",
|
|
724
661
|
value: function handleLeaveRoom() {
|
|
725
|
-
var
|
|
662
|
+
var _this5 = this;
|
|
726
663
|
var dailogKey = this._uiEventStore.openConfirmDialog({
|
|
727
|
-
width:
|
|
728
|
-
height: 180,
|
|
664
|
+
width: 300,
|
|
729
665
|
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_leaveMeeting.LeaveMeeting, {
|
|
730
666
|
setPopoverOpened: function setPopoverOpened(value) {
|
|
731
667
|
if (!value) {
|
|
732
|
-
|
|
668
|
+
_this5._uiEventStore.closeConfirm(dailogKey);
|
|
733
669
|
}
|
|
734
|
-
},
|
|
735
|
-
localUserRole: this.localUser.userRole,
|
|
736
|
-
leave: this.sendLeave,
|
|
737
|
-
isLocked: false,
|
|
738
|
-
hasAssignHostBeforeLeavingPermission: this.hasAssignHostBeforeLeavingPermission,
|
|
739
|
-
hasEndRoomPermission: this.hasEndRoomPermission,
|
|
740
|
-
keepPhoneAudioConnection: this.keepPhoneAudioConnection,
|
|
741
|
-
isPstnUser: this.isPstnUser,
|
|
742
|
-
remoteUsers: this.remoteUsers,
|
|
743
|
-
end: this.sendEnd,
|
|
744
|
-
assignHost: this.sendAssign,
|
|
745
|
-
setHeight: function setHeight() {
|
|
746
|
-
_this6._uiEventStore.sendEvent(_constant.UIAction.SET_DIALOG_BOUNDS, {
|
|
747
|
-
height: 230
|
|
748
|
-
});
|
|
749
670
|
}
|
|
750
671
|
}),
|
|
751
672
|
onCancel: function onCancel() {
|
|
752
|
-
|
|
673
|
+
_this5._uiEventStore.closeConfirm(dailogKey);
|
|
753
674
|
},
|
|
754
675
|
showCancel: false,
|
|
755
676
|
showOk: false
|
|
756
677
|
});
|
|
757
678
|
}
|
|
758
679
|
}, {
|
|
759
|
-
key: "
|
|
760
|
-
value: function
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
currentShareType = this.currentShareType,
|
|
764
|
-
allApplicationWindows = this.allApplicationWindows;
|
|
765
|
-
var _window$screen = window.screen,
|
|
766
|
-
availWidth = _window$screen.availWidth,
|
|
767
|
-
availHeight = _window$screen.availHeight;
|
|
768
|
-
var displays = window.runtime.screen.getAllDisplays();
|
|
769
|
-
var isDisplay = currentShareType === _type.AgoraRtcScreenCaptureType.SCREEN;
|
|
770
|
-
var appWindow = allApplicationWindows.find(function (app) {
|
|
771
|
-
return app.id === currentShareId;
|
|
680
|
+
key: "release",
|
|
681
|
+
value: function release() {
|
|
682
|
+
this._disposers.forEach(function (disposer) {
|
|
683
|
+
return disposer();
|
|
772
684
|
});
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
},
|
|
784
|
-
id: 0,
|
|
785
|
-
workArea: {
|
|
786
|
-
y: 0
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
var _ref4 = (isDisplay ? displays.find(function (display, index) {
|
|
790
|
-
var id = (0, _platform.isWindows)() ? index : display.id;
|
|
791
|
-
return id === Number(currentShareId);
|
|
792
|
-
}) : nearDisplay) || dataStruct,
|
|
793
|
-
_ref4$bounds = _ref4.bounds,
|
|
794
|
-
x = _ref4$bounds.x,
|
|
795
|
-
y = _ref4$bounds.y,
|
|
796
|
-
width = _ref4$bounds.width,
|
|
797
|
-
height = _ref4$bounds.height,
|
|
798
|
-
displayId = _ref4.id,
|
|
799
|
-
availTop = _ref4.workArea.y;
|
|
800
|
-
this.currentShareDisplayId = displayId;
|
|
801
|
-
return {
|
|
802
|
-
x: x,
|
|
803
|
-
y: y,
|
|
804
|
-
width: width,
|
|
805
|
-
height: height,
|
|
806
|
-
displayId: displayId,
|
|
807
|
-
availTop: availTop
|
|
808
|
-
};
|
|
685
|
+
this._disposers = [];
|
|
686
|
+
this._streamControl.removeObserver(this._streamObserver);
|
|
687
|
+
this._userControl.removeObserver(this._userObserver);
|
|
688
|
+
this._roomControl.getBoardControl().removeObserver(this._boardObserver);
|
|
689
|
+
this._roomControl.removeObserver(this._roomObserver);
|
|
690
|
+
}
|
|
691
|
+
}, {
|
|
692
|
+
key: "_resetMessageCount",
|
|
693
|
+
value: function _resetMessageCount() {
|
|
694
|
+
this.newMessageCount = (0, _defineProperty2["default"])({}, _type2.FcrRoomType.Mainroom, 0);
|
|
809
695
|
}
|
|
810
696
|
}, {
|
|
811
697
|
key: "_handleStreamUpdate",
|
|
812
698
|
value: function _handleStreamUpdate() {
|
|
813
699
|
var streams = this._streamControl.getStreamsByUserId(this.localUser.userId);
|
|
814
|
-
var pstnStream = streams.find(function (
|
|
815
|
-
var connectorType =
|
|
700
|
+
var pstnStream = streams.find(function (_ref4) {
|
|
701
|
+
var connectorType = _ref4.connectorType;
|
|
816
702
|
return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
817
703
|
});
|
|
818
704
|
this.isPstnUser = !!pstnStream;
|
|
@@ -820,13 +706,13 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
820
706
|
}, {
|
|
821
707
|
key: "_handleRemoteUsersJoined",
|
|
822
708
|
value: function _handleRemoteUsersJoined(roomId, events) {
|
|
823
|
-
var
|
|
709
|
+
var _this6 = this;
|
|
824
710
|
var modifiedUsers = events.map(function (e) {
|
|
825
711
|
return e.modifiedUser;
|
|
826
712
|
});
|
|
827
713
|
var users = (0, _toConsumableArray2["default"])(this.users);
|
|
828
714
|
modifiedUsers.forEach(function (user) {
|
|
829
|
-
var userIndex =
|
|
715
|
+
var userIndex = _this6.users.findIndex(function (u) {
|
|
830
716
|
return u.userId === user.userId;
|
|
831
717
|
});
|
|
832
718
|
if (userIndex !== -1) {
|
|
@@ -840,13 +726,13 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
840
726
|
}, {
|
|
841
727
|
key: "_handleRemoteUsersLeft",
|
|
842
728
|
value: function _handleRemoteUsersLeft(roomId, events) {
|
|
843
|
-
var
|
|
729
|
+
var _this7 = this;
|
|
844
730
|
var modifiedUsers = events.map(function (e) {
|
|
845
731
|
return e.modifiedUser;
|
|
846
732
|
});
|
|
847
733
|
var users = (0, _toConsumableArray2["default"])(this.users);
|
|
848
734
|
modifiedUsers.forEach(function (user) {
|
|
849
|
-
var userIndex =
|
|
735
|
+
var userIndex = _this7.users.findIndex(function (u) {
|
|
850
736
|
return u.userId === user.userId;
|
|
851
737
|
});
|
|
852
738
|
if (userIndex !== -1) {
|
|
@@ -872,25 +758,25 @@ var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
872
758
|
}]);
|
|
873
759
|
}();
|
|
874
760
|
_ControlBarStore = ControlBarStore;
|
|
875
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_leaveConfirmRefDecs, 17, "leaveConfirmRef"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "shareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "
|
|
761
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_leaveConfirmRefDecs, 17, "leaveConfirmRef"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "shareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "currentShareBounds"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "isHost"], [_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "roomInfo"], [_mobx.observable, 1, "isShowMeetingDetailPortal"], [_mobx.observable, 1, "users"], [_mobx.observable, 1, "isPstnUser"], [_mobx.observable, 1, "hiddenShareActionNav"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "meetingId"], [_mobx.observable, 1, "currentShareDisplayId"], [_mobx.computed, 3, "hasSecurityPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasStopLiveStreamingPermission"], [_mobx.computed, 3, "hasGetLiveStreamingUrlPermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_initControlBarDecs, 18, "initControlBar"], [_updateCurrentShareContentDecs, 18, "updateCurrentShareContent"], [_setLocalUserRoleDecs, 18, "setLocalUserRole"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_createNewShareDecs, 18, "createNewShare"], [_handlerStopShareDecs, 18, "handlerStopShare"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_handleMoreClickDecs, 18, "handleMoreClick"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_showToastDecs, 18, "showToast"], [_setShowMeetingDetailPortalDecs, 18, "setShowMeetingDetailPortal"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_resetMessageCountDecs, 18, "_resetMessageCount"], [_decorator.bound, 2, "_handleStreamUpdate"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"]], []).e, 23);
|
|
876
762
|
_init_leaveConfirmRef = _applyDecs$e[0];
|
|
877
763
|
_init_shareWithAudio = _applyDecs$e[1];
|
|
878
764
|
_init_shareAudioProcessingChannel = _applyDecs$e[2];
|
|
879
765
|
_init_currentShareId = _applyDecs$e[3];
|
|
880
766
|
_init_currentShareType = _applyDecs$e[4];
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
767
|
+
_init_currentShareBounds = _applyDecs$e[5];
|
|
768
|
+
_init_cloudRecordingState = _applyDecs$e[6];
|
|
769
|
+
_init_localUserRole = _applyDecs$e[7];
|
|
770
|
+
_init_isHost = _applyDecs$e[8];
|
|
771
|
+
_init_roomDuration = _applyDecs$e[9];
|
|
772
|
+
_init_startTime = _applyDecs$e[10];
|
|
773
|
+
_init_playUrl = _applyDecs$e[11];
|
|
774
|
+
_init_liveStreamingState = _applyDecs$e[12];
|
|
775
|
+
_init_allApplicationWindows = _applyDecs$e[13];
|
|
776
|
+
_init_roomInfo = _applyDecs$e[14];
|
|
777
|
+
_init_isShowMeetingDetailPortal = _applyDecs$e[15];
|
|
778
|
+
_init_users = _applyDecs$e[16];
|
|
779
|
+
_init_isPstnUser = _applyDecs$e[17];
|
|
894
780
|
_init_hiddenShareActionNav = _applyDecs$e[18];
|
|
895
781
|
_init_boardOwnerUser = _applyDecs$e[19];
|
|
896
782
|
_init_meetingId = _applyDecs$e[20];
|