fcr-ui-scene 3.3.1 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/installer/icons/icon.png +0 -0
- package/lib/common/device-store.d.ts +21 -11
- package/lib/common/device-store.js +236 -151
- package/lib/common/device-stream-store.d.ts +22 -4
- package/lib/common/device-stream-store.js +297 -113
- package/lib/common/event-store.d.ts +19 -10
- package/lib/common/event-store.js +28 -10
- package/lib/common/remote-renderer.d.ts +15 -0
- package/lib/common/remote-renderer.js +138 -0
- package/lib/common/room-store.d.ts +21 -18
- package/lib/common/room-store.js +54 -47
- package/lib/common/security-store.d.ts +35 -27
- package/lib/common/security-store.js +221 -383
- package/lib/creator.d.ts +3 -1
- package/lib/creator.js +13 -1
- package/lib/electron/app.js +43 -0
- package/lib/electron/bootstrap-sdk.js +2 -1
- package/lib/electron/injections.d.ts +6 -4
- package/lib/electron/injections.js +138 -113
- package/lib/electron/logger.js +3 -1
- package/lib/electron/main.js +13 -1
- package/lib/electron/plugins/devtool-shortcut.d.ts +2 -0
- package/lib/electron/plugins/devtool-shortcut.js +19 -0
- package/lib/electron/preload.js +5 -3
- package/lib/fragments/control-bar/cloud-recording-buttons.js +1 -1
- package/lib/fragments/control-bar/control-bar-store.d.ts +11 -1
- package/lib/fragments/control-bar/control-bar-store.js +196 -111
- package/lib/fragments/control-bar/index.js +6 -0
- package/lib/fragments/control-bar/more-actions/index.js +1 -1
- package/lib/fragments/control-bar/security-content/index.css +65 -0
- package/lib/fragments/control-bar/security-content/index.js +66 -2
- package/lib/fragments/control-bar/share-state-nav/index.js +1 -1
- package/lib/fragments/control-bar/view.js +15 -6
- 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 +4 -2
- 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/transfer-position-icon/index.d.ts +11 -0
- package/lib/fragments/toolbar/components/transfer-position-icon/index.js +46 -0
- 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/hooks/meeting-time.d.ts +1 -1
- package/lib/modules/Interpreter/action/add-btn/index.css +4 -0
- package/lib/modules/Interpreter/action/add-btn/index.d.ts +11 -0
- package/lib/modules/Interpreter/action/add-btn/index.js +43 -0
- package/lib/modules/Interpreter/action/delete-btn/index.css +14 -0
- package/lib/modules/Interpreter/action/delete-btn/index.d.ts +6 -0
- package/lib/modules/Interpreter/action/delete-btn/index.js +38 -0
- package/lib/modules/Interpreter/action/edit-btn/index.css +3 -0
- package/lib/modules/Interpreter/action/edit-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/action/edit-btn/index.js +49 -0
- package/lib/modules/Interpreter/action/switch-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/action/switch-btn/index.js +52 -0
- package/lib/modules/Interpreter/add-button/index.js +6 -4
- package/lib/modules/Interpreter/constant.d.ts +23 -12
- package/lib/modules/Interpreter/constant.js +53 -13
- package/lib/modules/Interpreter/dialog-content/index.js +2 -2
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +10 -13
- package/lib/modules/Interpreter/footer/components/set-btn/index.js +8 -5
- package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.js +3 -1
- package/lib/modules/Interpreter/footer/index.css +5 -5
- package/lib/modules/Interpreter/footer/index.d.ts +4 -1
- package/lib/modules/Interpreter/footer/index.js +8 -17
- package/lib/modules/Interpreter/index.css +10 -3
- package/lib/modules/Interpreter/index.d.ts +3 -1
- package/lib/modules/Interpreter/index.js +11 -5
- package/lib/modules/Interpreter/interpreter-list/index.css +1 -18
- package/lib/modules/Interpreter/interpreter-list/index.d.ts +4 -1
- package/lib/modules/Interpreter/interpreter-list/index.js +13 -32
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +24 -3
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +3 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +51 -13
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +9 -4
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +98 -39
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +12 -5
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +1 -1
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +76 -40
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.css +3 -5
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +1 -1
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +7 -24
- package/lib/modules/Interpreter/store.d.ts +48 -26
- package/lib/modules/Interpreter/store.js +919 -669
- package/lib/modules/Interpreter/tooltip-wrapper/index.d.ts +6 -0
- package/lib/modules/Interpreter/tooltip-wrapper/index.js +30 -0
- package/lib/modules/Interpreter/view.js +48 -11
- package/lib/modules/action-bar/Interpreter/index.d.ts +1 -1
- package/lib/modules/action-bar/Interpreter/index.js +7 -10
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +4 -1
- package/lib/modules/action-bar/action-bar-collapes-items.js +32 -15
- package/lib/modules/action-bar/apps/app-item/index.css +35 -0
- package/lib/modules/action-bar/apps/app-item/index.d.ts +12 -0
- package/{dist/electron/bootstrap-dev.js → lib/modules/action-bar/apps/app-item/index.js} +38 -28
- package/lib/modules/action-bar/apps/appitems.d.ts +4 -1
- package/lib/modules/action-bar/apps/appitems.js +30 -25
- package/lib/modules/action-bar/apps/index.css +5 -3
- package/lib/modules/action-bar/apps/index.js +13 -14
- package/lib/modules/action-bar/apps/useAppItemOptions.d.ts +9 -0
- package/lib/modules/action-bar/apps/useAppItemOptions.js +29 -0
- package/lib/modules/action-bar/apps/useBeautyBackground.d.ts +10 -0
- package/lib/modules/action-bar/apps/useBeautyBackground.js +34 -0
- package/lib/modules/action-bar/apps/useInterpreter.d.ts +14 -0
- package/lib/modules/action-bar/apps/useInterpreter.js +35 -0
- package/lib/modules/action-bar/apps/useLiveStreaming.d.ts +16 -0
- package/lib/modules/action-bar/apps/useLiveStreaming.js +41 -0
- package/lib/modules/action-bar/chat/index.js +3 -3
- package/lib/modules/action-bar/device/index.js +22 -24
- package/lib/modules/action-bar/index.css +30 -3
- package/lib/modules/action-bar/index.d.ts +8 -2
- package/lib/modules/action-bar/index.dev.js +6 -3
- package/lib/modules/action-bar/index.js +25 -61
- package/lib/modules/action-bar/leave/assign-host.d.ts +1 -1
- package/lib/modules/action-bar/leave/index.css +10 -0
- package/lib/modules/action-bar/leave/index.js +66 -39
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +3 -2
- package/lib/modules/action-bar/leave/leave-meeting.js +13 -4
- package/lib/modules/action-bar/live-streaming/index.js +3 -3
- package/lib/modules/action-bar/more/index.js +9 -6
- package/lib/modules/action-bar/more/poppover-content.js +33 -12
- package/lib/modules/action-bar/participants/index.js +2 -2
- package/lib/modules/action-bar/record/index.js +4 -4
- package/lib/modules/action-bar/screen-share/index.js +4 -4
- package/lib/modules/action-bar/screen-share/submenu.js +4 -4
- package/lib/modules/action-bar/security/drop-menu.js +49 -11
- package/lib/modules/action-bar/security/index.js +11 -6
- package/lib/modules/action-bar/settings/index.js +4 -4
- package/lib/modules/action-bar/smaller.js +4 -4
- package/lib/modules/action-bar/store.d.ts +54 -11
- package/lib/modules/action-bar/store.js +390 -164
- package/lib/modules/action-bar/switch-input-language-room/index.d.ts +1 -2
- package/lib/modules/action-bar/switch-input-language-room/index.js +134 -43
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +3 -3
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +7 -1
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +32 -19
- package/lib/modules/action-bar/switch-output-language-room/index.js +134 -69
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +12 -8
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +13 -7
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +52 -4
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +1 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +12 -10
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/dome.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +6 -3
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +30 -13
- package/lib/modules/action-bar/view.js +25 -11
- package/lib/modules/audio-stream/index.d.ts +32 -9
- package/lib/modules/audio-stream/index.js +258 -57
- package/lib/modules/chat/chat-bar/index.css +1 -0
- package/lib/modules/chat/chat-bar/index.d.ts +3 -3
- package/lib/modules/chat/chat-bar/index.js +14 -16
- package/lib/modules/chat/chat-select/index.css +7 -0
- package/lib/modules/chat/chat-select/index.d.ts +1 -1
- package/lib/modules/chat/chat-select/index.js +18 -4
- package/lib/modules/chat/chat.js +14 -26
- package/lib/modules/chat/index.d.ts +5 -3
- package/lib/modules/chat/index.dev.js +7 -3
- package/lib/modules/chat/index.js +16 -9
- package/lib/modules/chat/message-list.js +8 -3
- package/lib/modules/chat/store.d.ts +12 -6
- package/lib/modules/chat/store.js +109 -69
- package/lib/modules/components/device-control/components/audio-menu/index.d.ts +6 -0
- package/lib/modules/components/device-control/components/audio-menu/index.js +156 -0
- package/lib/modules/components/device-control/components/carmera/index.d.ts +3 -0
- package/lib/modules/components/device-control/components/carmera/index.js +111 -0
- package/lib/modules/components/device-control/components/microphone/index.d.ts +7 -0
- package/lib/modules/components/device-control/components/microphone/index.js +170 -0
- package/lib/modules/components/device-control/components/none-menu/index.d.ts +4 -0
- package/lib/modules/components/device-control/components/none-menu/index.js +68 -0
- package/lib/modules/components/device-control/components/phone-menu/index.d.ts +4 -0
- package/lib/modules/components/device-control/components/phone-menu/index.js +61 -0
- package/lib/modules/components/device-control/components/video-menu/index.d.ts +5 -0
- package/lib/modules/components/device-control/components/video-menu/index.js +111 -0
- package/lib/modules/components/device-control/hooks/index.d.ts +9 -0
- package/lib/modules/components/device-control/hooks/index.js +42 -0
- package/lib/modules/components/device-control/index.css +163 -0
- package/lib/modules/components/device-control/index.d.ts +3 -0
- package/lib/modules/components/device-control/index.js +21 -0
- package/lib/modules/components/device-control/store.d.ts +42 -0
- package/lib/modules/components/device-control/store.js +256 -0
- package/lib/modules/components/device-control/type.d.ts +6 -0
- package/lib/modules/components/device-control/type.js +13 -0
- package/lib/modules/components/security-menu/index.css +35 -0
- package/lib/modules/components/security-menu/index.d.ts +5 -0
- package/lib/modules/components/security-menu/index.js +315 -0
- package/lib/modules/components/toast/index.css +12 -0
- package/lib/modules/components/toast/index.d.ts +10 -0
- package/lib/modules/components/toast/index.js +66 -0
- package/lib/modules/components/toast/store.d.ts +17 -0
- package/lib/modules/components/toast/store.js +149 -0
- package/lib/modules/components/toast/view.d.ts +2 -0
- package/lib/modules/components/toast/view.js +35 -0
- package/lib/modules/connection-gateway/components/computer/index.js +6 -6
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +1 -1
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +1 -1
- package/lib/modules/connection-gateway/components/phone/index.js +3 -2
- package/lib/modules/connection-gateway/components/tabs/index.js +2 -1
- package/lib/modules/connection-gateway/index.d.ts +1 -1
- package/lib/modules/connection-gateway/index.js +1 -1
- package/lib/modules/connection-gateway/store.d.ts +8 -12
- package/lib/modules/connection-gateway/store.js +87 -111
- package/lib/modules/control-bar/components/cloud-recording-buttons.d.ts +1 -0
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +67 -0
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -0
- package/lib/modules/control-bar/components/meeting-details/index.d.ts +2 -0
- package/lib/modules/control-bar/components/meeting-details/index.js +251 -0
- package/lib/modules/control-bar/components/more-actions/index.css +72 -0
- package/lib/modules/control-bar/components/more-actions/index.d.ts +7 -0
- package/lib/modules/control-bar/components/more-actions/index.js +182 -0
- package/lib/modules/control-bar/components/share-state-nav/index.css +74 -0
- package/lib/modules/control-bar/components/share-state-nav/index.d.ts +10 -0
- package/lib/modules/control-bar/components/share-state-nav/index.js +116 -0
- package/lib/modules/control-bar/components/stop-live-streaming/index.d.ts +1 -0
- package/lib/modules/control-bar/components/stop-live-streaming/index.js +36 -0
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.d.ts +6 -0
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.js +35 -0
- package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +11 -0
- package/lib/modules/control-bar/components/transfer-position-icon/index.js +46 -0
- package/lib/modules/control-bar/index.css +341 -0
- package/lib/modules/control-bar/index.d.ts +29 -0
- package/lib/modules/control-bar/index.js +111 -0
- package/lib/modules/control-bar/store.d.ts +111 -0
- package/lib/modules/control-bar/store.js +881 -0
- package/lib/modules/control-bar/type.d.ts +10 -0
- package/lib/modules/control-bar/type.js +18 -0
- package/lib/modules/control-bar/view.d.ts +1 -0
- package/lib/modules/control-bar/view.js +351 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +9 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +7 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +2 -2
- package/lib/modules/device-pretest/index.js +2 -2
- package/lib/modules/device-pretest/settings/beauty.d.ts +1 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +2 -2
- package/lib/modules/device-pretest/store.d.ts +2 -1
- package/lib/modules/device-pretest/store.js +7 -7
- package/lib/modules/dialog/components/Interpreter/electron.js +35 -54
- package/lib/modules/dialog/components/Interpreter/index.js +8 -7
- package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
- package/lib/modules/dialog/components/chat/electron.js +17 -44
- package/lib/modules/dialog/components/chat/index.js +3 -3
- package/lib/modules/dialog/components/confirm/electron.d.ts +1 -1
- package/lib/modules/dialog/components/confirm/electron.js +38 -70
- package/lib/modules/dialog/components/confirm/index.d.ts +1 -9
- package/lib/modules/dialog/components/confirm/index.js +31 -77
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +4 -1
- package/lib/modules/dialog/components/connection-gateway/electron.js +30 -40
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +6 -1
- package/lib/modules/dialog/components/connection-gateway/index.js +11 -6
- package/lib/modules/dialog/components/control-bar/index.d.ts +7 -0
- package/lib/modules/dialog/components/control-bar/index.js +42 -0
- package/lib/modules/dialog/components/device-setting/electron.js +37 -56
- package/lib/modules/dialog/components/device-setting/index.js +4 -3
- package/lib/modules/dialog/components/invite/index.d.ts +3 -0
- package/lib/modules/dialog/components/invite/index.js +68 -0
- package/lib/modules/dialog/components/live-streaming/index.d.ts +4 -0
- package/lib/modules/dialog/components/live-streaming/index.js +88 -0
- package/lib/modules/dialog/components/operation-waiting-room/electron.js +28 -75
- package/lib/modules/dialog/components/operation-waiting-room/index.js +4 -4
- package/lib/modules/dialog/components/participant/electron.js +25 -74
- package/lib/modules/dialog/components/participant/index.js +6 -3
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +8 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +22 -75
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +3 -3
- package/lib/modules/dialog/components/share-screen-selection/index.js +10 -28
- package/lib/modules/dialog/components/switch-language-channels/electron.js +4 -4
- package/lib/modules/dialog/components/switch-language-channels/index.js +3 -3
- package/lib/modules/dialog/components/system-preference/bg1.png +0 -0
- package/lib/modules/dialog/components/system-preference/bg2.png +0 -0
- package/lib/modules/dialog/components/system-preference/electron.d.ts +5 -0
- package/lib/modules/dialog/components/system-preference/electron.js +42 -0
- package/lib/modules/dialog/components/system-preference/index.css +49 -0
- package/lib/modules/dialog/components/system-preference/index.d.ts +5 -0
- package/lib/modules/dialog/components/system-preference/index.js +150 -0
- package/lib/modules/dialog/components/toast/index.d.ts +3 -0
- package/lib/modules/dialog/components/toast/index.js +62 -0
- package/lib/modules/dialog/components/whiteboard/index.js +2 -2
- package/lib/modules/dialog/dialogs.d.ts +1 -5
- package/lib/modules/dialog/dialogs.js +23 -177
- package/lib/modules/dialog/hooks/useElectron.d.ts +26 -0
- package/lib/modules/dialog/hooks/useElectron.js +109 -0
- package/lib/modules/dialog/index.css +7 -2
- package/lib/modules/dialog/index.d.ts +6 -6
- package/lib/modules/dialog/index.js +9 -18
- package/lib/modules/dialog/store.d.ts +16 -18
- package/lib/modules/dialog/store.js +114 -164
- package/lib/modules/dialog/view.js +2 -2
- package/lib/modules/event-confirm/index.css +12 -0
- package/lib/modules/event-confirm/index.d.ts +10 -0
- package/lib/modules/event-confirm/index.js +55 -0
- package/lib/modules/event-confirm/store.d.ts +18 -0
- package/lib/modules/event-confirm/store.js +172 -0
- package/lib/modules/event-confirm/view.d.ts +2 -0
- package/lib/modules/event-confirm/view.js +156 -0
- package/lib/modules/event-toast/index.css +16 -0
- package/lib/modules/event-toast/index.d.ts +1 -1
- package/lib/modules/event-toast/index.js +19 -3
- package/lib/modules/event-toast/store.d.ts +13 -0
- package/lib/modules/event-toast/store.js +114 -17
- package/lib/modules/event-toast/view.d.ts +4 -1
- package/lib/modules/event-toast/view.js +28 -4
- package/lib/modules/invite/index.d.ts +1 -1
- package/lib/modules/invite/index.js +13 -3
- package/lib/modules/invite/pstn-invite.js +6 -9
- package/lib/modules/invite/store.d.ts +24 -25
- package/lib/modules/invite/store.js +148 -147
- package/lib/modules/invite/view.js +2 -2
- package/lib/modules/invite/voip-invite.js +2 -3
- package/lib/modules/layout/components/Aside.js +3 -3
- package/lib/modules/layout/components/Carousel.js +15 -9
- package/lib/modules/layout/components/Gallery.js +25 -17
- package/lib/modules/layout/components/Layout.js +11 -6
- package/lib/modules/layout/components/index.css +11 -4
- package/lib/modules/layout/index.css +1 -0
- package/lib/modules/layout/index.d.ts +4 -2
- package/lib/modules/layout/index.dev.js +20 -10
- package/lib/modules/layout/index.js +24 -18
- package/lib/modules/layout/member-window/index.css +95 -10
- package/lib/modules/layout/member-window/index.d.ts +10 -3
- package/lib/modules/layout/member-window/index.js +205 -112
- package/lib/modules/layout/store.d.ts +20 -7
- package/lib/modules/layout/store.js +137 -65
- package/lib/modules/layout/type.d.ts +2 -2
- package/lib/modules/layout/video-window-datasource.d.ts +5 -3
- package/lib/modules/layout/video-window-datasource.js +61 -26
- package/lib/modules/live-streaming/index.d.ts +1 -2
- package/lib/modules/live-streaming/index.js +13 -29
- package/lib/modules/live-streaming/store.d.ts +3 -7
- package/lib/modules/live-streaming/store.js +7 -73
- package/lib/modules/live-streaming/view.js +3 -3
- package/lib/modules/notification/index.css +2 -1
- package/lib/modules/notification/index.js +13 -3
- package/lib/modules/notification/interpreter-status/index.css +5 -1
- package/lib/modules/notification/interpreter-status/index.js +4 -1
- package/lib/modules/notification/store.d.ts +1 -0
- package/lib/modules/notification/store.js +4 -2
- package/lib/modules/notification/view.js +2 -2
- package/lib/modules/offscreen-pulling/index.d.ts +19 -0
- package/lib/modules/offscreen-pulling/index.js +127 -0
- package/lib/modules/participant/attendee/index.css +3 -0
- package/lib/modules/participant/attendee/index.d.ts +14 -3
- package/lib/modules/participant/attendee/index.js +87 -33
- package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
- package/lib/modules/participant/attendee/participants-more-action.js +278 -0
- package/lib/modules/participant/components/drop-menu/index.css +59 -0
- package/lib/modules/participant/components/drop-menu/index.d.ts +2 -0
- package/lib/modules/participant/components/drop-menu/index.js +189 -0
- package/lib/modules/participant/components/footer/buttons.d.ts +7 -0
- package/lib/modules/participant/components/footer/buttons.js +53 -0
- package/lib/modules/participant/components/footer/index.d.ts +4 -0
- package/lib/modules/participant/components/footer/index.js +37 -0
- package/lib/modules/participant/components/merge/index.d.ts +11 -0
- package/lib/modules/participant/components/merge/index.js +49 -0
- package/lib/modules/participant/components/mute-all/index.d.ts +9 -0
- package/lib/modules/participant/components/mute-all/index.js +78 -0
- package/lib/modules/participant/components/participants/index.d.ts +2 -0
- package/lib/modules/participant/components/participants/index.js +201 -0
- package/lib/modules/participant/components/rename/index.d.ts +4 -0
- package/lib/modules/participant/components/rename/index.js +45 -0
- package/lib/modules/participant/index.css +6 -0
- package/lib/modules/participant/index.d.ts +8 -6
- package/lib/modules/participant/index.dev.js +10 -4
- package/lib/modules/participant/index.js +13 -33
- package/lib/modules/participant/member-list-data-source.d.ts +1 -1
- package/lib/modules/participant/member-list-data-source.js +3 -3
- package/lib/modules/participant/store.d.ts +38 -27
- package/lib/modules/participant/store.js +456 -292
- package/lib/modules/participant/type.d.ts +1 -1
- package/lib/modules/participant/view.d.ts +0 -9
- package/lib/modules/participant/view.js +8 -346
- package/lib/modules/setting/audio-settings/audio-settings.js +10 -10
- package/lib/modules/setting/dialog-wrapper.js +2 -2
- package/lib/modules/setting/general-settings/general-settings.js +2 -2
- package/lib/modules/setting/index.d.ts +3 -2
- package/lib/modules/setting/index.dev.js +1 -1
- package/lib/modules/setting/index.js +7 -3
- package/lib/modules/setting/minutes-settings/minutes-settings.js +2 -2
- package/lib/modules/setting/state/index.js +3 -3
- package/lib/modules/setting/storage-settings/storage-settings.js +2 -2
- package/lib/modules/setting/store.d.ts +16 -13
- package/lib/modules/setting/store.js +83 -53
- package/lib/modules/setting/translate-settings/translate-settings.js +2 -2
- package/lib/modules/setting/video-settings/video-settings-basic.js +2 -2
- package/lib/modules/setting/video-settings/video-settings.js +2 -11
- package/lib/modules/setting/view.js +1 -2
- package/lib/modules/share-screen/index.d.ts +1 -5
- package/lib/modules/share-screen/index.dev.js +8 -16
- package/lib/modules/share-screen/index.js +2 -99
- package/lib/modules/share-screen/selection/index.js +51 -40
- package/lib/modules/share-screen/share-state-bar/index.js +1 -1
- package/lib/modules/share-screen/store.d.ts +13 -47
- package/lib/modules/share-screen/store.js +470 -924
- package/lib/modules/share-screen/view.js +6 -19
- package/lib/modules/sound-effect/index.d.ts +54 -0
- package/lib/modules/sound-effect/index.js +295 -0
- package/lib/modules/sound-effect/sound-effect-player.d.ts +12 -0
- package/lib/modules/sound-effect/sound-effect-player.js +57 -0
- package/lib/modules/state-bar/index.css +3 -0
- package/lib/modules/state-bar/index.d.ts +8 -4
- package/lib/modules/state-bar/index.js +37 -23
- package/lib/modules/state-bar/layout-config.js +6 -7
- package/lib/modules/state-bar/live-streaming-state.js +10 -15
- package/lib/modules/state-bar/meeting-detail.css +32 -13
- package/lib/modules/state-bar/meeting-details.js +118 -58
- package/lib/modules/state-bar/meeting-network-state.js +4 -4
- package/lib/modules/state-bar/meeting-time.js +2 -2
- package/lib/modules/state-bar/network-quality.js +2 -2
- package/lib/modules/state-bar/recording.js +2 -3
- package/lib/modules/state-bar/store.d.ts +9 -6
- package/lib/modules/state-bar/store.js +45 -41
- package/lib/modules/state-bar/view.js +41 -28
- package/lib/modules/video-window/deviceState/index.d.ts +2 -1
- package/lib/modules/video-window/deviceState/index.js +8 -8
- package/lib/modules/video-window/index.d.ts +2 -1
- package/lib/modules/video-window/index.js +23 -16
- package/lib/modules/video-window/members/index.js +14 -8
- package/lib/modules/video-window/speaking/index.js +2 -2
- package/lib/modules/video-window/store.d.ts +13 -5
- package/lib/modules/video-window/store.js +73 -20
- package/lib/modules/video-window/topControl/index.js +2 -2
- package/lib/modules/video-window/type.d.ts +0 -5
- package/lib/modules/video-window/type.js +1 -7
- package/lib/modules/video-window/view.js +2 -2
- package/lib/modules/waiting-room-layout/index.css +17 -3
- package/lib/modules/waiting-room-layout/index.js +13 -3
- package/lib/modules/waiting-room-layout/store.d.ts +5 -2
- package/lib/modules/waiting-room-layout/store.js +12 -5
- package/lib/modules/waiting-room-layout/view.js +43 -33
- package/lib/modules/whiteboard/app.js +2 -2
- package/lib/modules/whiteboard/components/control-bar/index.js +4 -6
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +2 -2
- package/lib/modules/whiteboard/components/control-bar/store.js +1 -1
- package/lib/modules/whiteboard/components/loading/index.js +2 -2
- package/lib/modules/whiteboard/components/multi-window/index.js +2 -2
- package/lib/modules/whiteboard/components/progress/electron.js +3 -3
- package/lib/modules/whiteboard/components/switch-theme/index.css +1 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +19 -9
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -1
- package/lib/modules/whiteboard/context.d.ts +1 -1
- package/lib/modules/whiteboard/context.js +2 -2
- package/lib/modules/whiteboard/index.d.ts +5 -10
- package/lib/modules/whiteboard/index.js +32 -74
- package/lib/modules/whiteboard/type.d.ts +1 -1
- package/lib/plugins/browser-runtime-plugin.js +24 -3
- package/lib/plugins/electron-rtc-plugin.js +3 -3
- package/lib/plugins/module-dev-plugin.d.ts +1 -1
- package/lib/plugins/module-dev-plugin.js +3 -3
- package/lib/plugins/rtm-plugin.js +3 -3
- package/lib/plugins/web-rtc-plugin.js +3 -3
- package/lib/runtime.d.ts +14 -4
- package/lib/translations/enUS.d.ts +267 -2
- package/lib/translations/enUS.js +373 -103
- package/lib/translations/zhCN.d.ts +267 -3
- package/lib/translations/zhCN.js +299 -30
- package/lib/type.d.ts +13 -4
- package/lib/type.js +4 -4
- package/lib/ui-manager.d.ts +8 -9
- package/lib/ui-manager.js +602 -655
- package/lib/ui-scene.d.ts +3 -3
- package/lib/ui-scene.js +9 -22
- package/lib/utilities/constant.d.ts +44 -155
- package/lib/utilities/constant.js +42 -129
- package/lib/utilities/extract.d.ts +1 -1
- package/lib/utilities/parameters.d.ts +4 -0
- package/lib/utilities/parameters.js +19 -1
- package/lib/utilities/renderer.d.ts +2 -1
- package/lib/utilities/renderer.js +6 -3
- package/lib/utilities/screen-capture-permission.d.ts +1 -0
- package/lib/utilities/screen-capture-permission.js +16 -0
- package/lib/utilities/screen.js +32 -23
- package/lib/utilities/tools.d.ts +10 -1
- package/lib/utilities/tools.js +69 -4
- package/lib/utilities/ui-resources.d.ts +1 -0
- package/lib/utilities/ui-resources.js +5 -2
- package/lib/utilities/video-track-render-context.d.ts +2 -2
- package/package.json +7 -7
- package/public/assets/loading.gif +0 -0
- package/public/index.html +43 -4
- package/dist/electron/app.js +0 -148
- package/dist/electron/bootstrap-sdk.js +0 -56
- package/dist/electron/default-options.js +0 -25
- package/dist/electron/env.js +0 -13
- package/dist/electron/index.js +0 -20
- package/dist/electron/injections.js +0 -702
- package/dist/electron/logger.js +0 -66
- package/dist/electron/main.js +0 -67
- package/dist/electron/plugins/meeting-state.js +0 -39
- package/dist/electron/plugins/screenshot.js +0 -49
- package/dist/electron/preload.js +0 -36
- package/dist/electron/tools.js +0 -66
- package/dist/electron/window.js +0 -124
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.symbol.description.js");
|
|
5
|
+
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
|
+
require("core-js/modules/es.error.cause.js");
|
|
7
|
+
require("core-js/modules/es.error.to-string.js");
|
|
8
|
+
require("core-js/modules/es.array.is-array.js");
|
|
9
|
+
require("core-js/modules/es.date.to-primitive.js");
|
|
10
|
+
require("core-js/modules/es.function.name.js");
|
|
11
|
+
require("core-js/modules/es.map.js");
|
|
12
|
+
require("core-js/modules/es.object.create.js");
|
|
13
|
+
require("core-js/modules/es.object.define-property.js");
|
|
14
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
15
|
+
require("core-js/modules/esnext.function.metadata.js");
|
|
16
|
+
require("core-js/modules/esnext.map.delete-all.js");
|
|
17
|
+
require("core-js/modules/esnext.map.emplace.js");
|
|
18
|
+
require("core-js/modules/esnext.map.every.js");
|
|
19
|
+
require("core-js/modules/esnext.map.filter.js");
|
|
20
|
+
require("core-js/modules/esnext.map.find.js");
|
|
21
|
+
require("core-js/modules/esnext.map.find-key.js");
|
|
22
|
+
require("core-js/modules/esnext.map.includes.js");
|
|
23
|
+
require("core-js/modules/esnext.map.key-of.js");
|
|
24
|
+
require("core-js/modules/esnext.map.map-keys.js");
|
|
25
|
+
require("core-js/modules/esnext.map.map-values.js");
|
|
26
|
+
require("core-js/modules/esnext.map.merge.js");
|
|
27
|
+
require("core-js/modules/esnext.map.reduce.js");
|
|
28
|
+
require("core-js/modules/esnext.map.some.js");
|
|
29
|
+
require("core-js/modules/esnext.map.update.js");
|
|
30
|
+
require("core-js/modules/esnext.symbol.metadata.js");
|
|
31
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
32
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
33
|
+
Object.defineProperty(exports, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
});
|
|
36
|
+
exports["default"] = exports.StoreContext = void 0;
|
|
37
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
38
|
+
require("core-js/modules/es.array.concat.js");
|
|
39
|
+
require("core-js/modules/es.array.filter.js");
|
|
40
|
+
require("core-js/modules/es.array.find.js");
|
|
41
|
+
require("core-js/modules/es.array.find-index.js");
|
|
42
|
+
require("core-js/modules/es.array.for-each.js");
|
|
43
|
+
require("core-js/modules/es.array.iterator.js");
|
|
44
|
+
require("core-js/modules/es.array.map.js");
|
|
45
|
+
require("core-js/modules/es.array.push.js");
|
|
46
|
+
require("core-js/modules/es.array.splice.js");
|
|
47
|
+
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
|
+
require("core-js/modules/es.object.to-string.js");
|
|
51
|
+
require("core-js/modules/es.string.iterator.js");
|
|
52
|
+
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
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
58
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
59
|
+
require("core-js/modules/esnext.iterator.find.js");
|
|
60
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
+
require("core-js/modules/esnext.iterator.map.js");
|
|
62
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
63
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
64
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
65
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
66
|
+
require("core-js/modules/web.timers.js");
|
|
67
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
68
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
69
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
70
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
71
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
72
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
73
|
+
var _mobx = require("mobx");
|
|
74
|
+
var _constant = require("../../utilities/constant");
|
|
75
|
+
var _type = require("agora-rte-sdk/lib/core/rtc/type");
|
|
76
|
+
var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
|
|
77
|
+
var _decorator = require("agora-foundation/lib/decorator");
|
|
78
|
+
var _platform = require("../../utilities/platform");
|
|
79
|
+
var _logger = require("agora-foundation/lib/logger");
|
|
80
|
+
var _dialogs = require("../dialog/dialogs");
|
|
81
|
+
var _type2 = require("fcr-core/lib/room-control/type");
|
|
82
|
+
var _fcrCore = require("fcr-core");
|
|
83
|
+
var _type3 = require("fcr-core/lib/type");
|
|
84
|
+
var _react = require("react");
|
|
85
|
+
var _type4 = require("../../type");
|
|
86
|
+
var _leaveMeeting = require("../action-bar/leave/leave-meeting");
|
|
87
|
+
var _type5 = require("./type");
|
|
88
|
+
var _stopButton = _interopRequireDefault(require("./components/stop-live-streaming/stop-button"));
|
|
89
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
90
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
91
|
+
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, _init_isMuteAudio, _init_hiddenShareActionNav, _init_boardOwnerUser, _init_meetingId, _initControlBarDecs, _setControlBarWindowBoundsDecs, _updateCurrentShareContentDecs, _setLocalUserRoleDecs, _setShareWithAudioStateDecs, _createNewShareDecs, _handlerStopShareDecs, _setShareAudioProcessingChannelDecs, _handleMoreClickDecs, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _showToastDecs, _setShowMeetingDetailPortalDecs, _setEnableWaitingRoomDecs, _sendLeaveDecs, _sendEndDecs, _keepPhoneAudioConnectionDecs, _sendAssignDecs, _handleLeaveRoomDecs, _getCurrentSharingWorkAreaDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleUserInfoUpdatedDecs, _ref;
|
|
93
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
94
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
95
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
96
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
97
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
98
|
+
function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
|
|
99
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
100
|
+
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); }
|
|
101
|
+
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; }
|
|
102
|
+
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; }
|
|
103
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
104
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
105
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
106
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
107
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
108
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
109
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
110
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
111
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
112
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
113
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
114
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
115
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
116
|
+
var _N = /*#__PURE__*/new WeakMap();
|
|
117
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
118
|
+
var _P = /*#__PURE__*/new WeakMap();
|
|
119
|
+
var _Q = /*#__PURE__*/new WeakMap();
|
|
120
|
+
var _R = /*#__PURE__*/new WeakMap();
|
|
121
|
+
var _S = /*#__PURE__*/new WeakMap();
|
|
122
|
+
var _T = /*#__PURE__*/new WeakMap();
|
|
123
|
+
var _U = /*#__PURE__*/new WeakMap();
|
|
124
|
+
_ref = (_leaveConfirmRefDecs = [_mobx.observable, _mobx.observable.ref], _initControlBarDecs = [_mobx.action, _mobx.action.bound], _setControlBarWindowBoundsDecs = [_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, {
|
|
125
|
+
leading: true
|
|
126
|
+
})], _resumeCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
127
|
+
leading: true
|
|
128
|
+
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
129
|
+
leading: true
|
|
130
|
+
})], _showToastDecs = [_mobx.action, _mobx.action.bound], _setShowMeetingDetailPortalDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _sendLeaveDecs = [_mobx.action, _mobx.action.bound], _sendEndDecs = [_mobx.action, _mobx.action.bound], _keepPhoneAudioConnectionDecs = [_mobx.action, _mobx.action.bound], _sendAssignDecs = [_mobx.action, _mobx.action.bound], _handleLeaveRoomDecs = [_mobx.action, _mobx.action.bound], _getCurrentSharingWorkAreaDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
131
|
+
var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
132
|
+
function ControlBarStore(_ref2) {
|
|
133
|
+
var _roomControl$getRoomS,
|
|
134
|
+
_roomControl$getRoomS2,
|
|
135
|
+
_roomControl$getRoomS3,
|
|
136
|
+
_roomControl$getRoomS4,
|
|
137
|
+
_this = this;
|
|
138
|
+
var uiEventStore = _ref2.uiEventStore,
|
|
139
|
+
securityStore = _ref2.securityStore,
|
|
140
|
+
roomControl = _ref2.roomControl,
|
|
141
|
+
mediaControl = _ref2.mediaControl,
|
|
142
|
+
userControl = _ref2.userControl,
|
|
143
|
+
streamControl = _ref2.streamControl,
|
|
144
|
+
deviceStore = _ref2.deviceStore;
|
|
145
|
+
(0, _classCallCheck2["default"])(this, ControlBarStore);
|
|
146
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
147
|
+
(0, _defineProperty2["default"])(this, "_screenBounds", {
|
|
148
|
+
width: 0,
|
|
149
|
+
height: 0,
|
|
150
|
+
availTop: 0,
|
|
151
|
+
x: 0,
|
|
152
|
+
y: 0
|
|
153
|
+
});
|
|
154
|
+
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
155
|
+
(0, _defineProperty2["default"])(this, "_liveStreamingDialogKey", null);
|
|
156
|
+
_classPrivateFieldInitSpec(this, _A, _init_leaveConfirmRef(this, undefined));
|
|
157
|
+
_classPrivateFieldInitSpec(this, _B, _init_shareWithAudio(this, false));
|
|
158
|
+
_classPrivateFieldInitSpec(this, _C, _init_shareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
|
|
159
|
+
_classPrivateFieldInitSpec(this, _D, _init_currentShareId(this, ''));
|
|
160
|
+
_classPrivateFieldInitSpec(this, _E, _init_currentShareType(this, _type.AgoraRtcScreenCaptureType.SCREEN));
|
|
161
|
+
_classPrivateFieldInitSpec(this, _F, _init_cloudRecordingState(this, _type3.FcrRecordingState.Stopped));
|
|
162
|
+
_classPrivateFieldInitSpec(this, _G, _init_localUserRole(this, _type3.FcrUserRole.PARTICIPANT));
|
|
163
|
+
_classPrivateFieldInitSpec(this, _H, _init_isHost(this, false));
|
|
164
|
+
_classPrivateFieldInitSpec(this, _I, _init_roomDuration(this, 0));
|
|
165
|
+
_classPrivateFieldInitSpec(this, _J, _init_startTime(this, new Date().getTime()));
|
|
166
|
+
_classPrivateFieldInitSpec(this, _K, _init_playUrl(this, ''));
|
|
167
|
+
_classPrivateFieldInitSpec(this, _L, _init_liveStreamingState(this, _type3.FcrLiveStreamingState.STOPPED));
|
|
168
|
+
_classPrivateFieldInitSpec(this, _M, _init_allApplicationWindows(this, []));
|
|
169
|
+
_classPrivateFieldInitSpec(this, _N, _init_roomInfo(this, {
|
|
170
|
+
roomId: '',
|
|
171
|
+
roomName: '',
|
|
172
|
+
roomType: _type2.FcrRoomType.Mainroom,
|
|
173
|
+
password: '',
|
|
174
|
+
inviteLink: ''
|
|
175
|
+
}));
|
|
176
|
+
_classPrivateFieldInitSpec(this, _O, _init_isShowMeetingDetailPortal(this, false));
|
|
177
|
+
_classPrivateFieldInitSpec(this, _P, _init_users(this, []));
|
|
178
|
+
_classPrivateFieldInitSpec(this, _Q, _init_isPstnUser(this, false));
|
|
179
|
+
_classPrivateFieldInitSpec(this, _R, _init_isMuteAudio(this, false));
|
|
180
|
+
_classPrivateFieldInitSpec(this, _S, _init_hiddenShareActionNav(this, false));
|
|
181
|
+
_classPrivateFieldInitSpec(this, _T, _init_boardOwnerUser(this, ''));
|
|
182
|
+
_classPrivateFieldInitSpec(this, _U, _init_meetingId(this, undefined));
|
|
183
|
+
this._uiEventStore = uiEventStore;
|
|
184
|
+
this._roomControl = roomControl;
|
|
185
|
+
this._securityStore = securityStore;
|
|
186
|
+
this._userControl = userControl;
|
|
187
|
+
this._streamControl = streamControl;
|
|
188
|
+
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();
|
|
189
|
+
this.roomInfo = roomControl.getRoomInfo();
|
|
190
|
+
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;
|
|
191
|
+
this.liveStreamingState = roomControl.getLiveStreamingState();
|
|
192
|
+
this.isMuteAudio = !deviceStore.microphoneEnabled;
|
|
193
|
+
this.users = (0, _toConsumableArray2["default"])(userControl.getUserList());
|
|
194
|
+
this.meetingId = roomControl.getRoomPropertiesByKeyPath('meetingId');
|
|
195
|
+
(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
196
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
197
|
+
while (1) switch (_context.prev = _context.next) {
|
|
198
|
+
case 0:
|
|
199
|
+
_context.next = 2;
|
|
200
|
+
return mediaControl === null || mediaControl === void 0 ? void 0 : mediaControl.getWindowList();
|
|
201
|
+
case 2:
|
|
202
|
+
_this.allApplicationWindows = _context.sent;
|
|
203
|
+
case 3:
|
|
204
|
+
case "end":
|
|
205
|
+
return _context.stop();
|
|
206
|
+
}
|
|
207
|
+
}, _callee);
|
|
208
|
+
}))();
|
|
209
|
+
roomControl.addObserver({
|
|
210
|
+
onLiveStreamingStateUpdated: function onLiveStreamingStateUpdated(roomId, state, url) {
|
|
211
|
+
_this.liveStreamingState = state;
|
|
212
|
+
_this.playUrl = url;
|
|
213
|
+
},
|
|
214
|
+
onCloudRecordingStateUpdated: function onCloudRecordingStateUpdated(roomId, state) {
|
|
215
|
+
return _this.cloudRecordingState = state;
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
roomControl.getBoardControl().addObserver({
|
|
219
|
+
onActive: function onActive(ownerId) {
|
|
220
|
+
_this.boardOwnerUser = ownerId;
|
|
221
|
+
},
|
|
222
|
+
onInactive: function onInactive() {
|
|
223
|
+
_this.boardOwnerUser = '';
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
streamControl.addObserver({
|
|
227
|
+
onStreamsAdded: this._handleStreamUpdate.bind(this),
|
|
228
|
+
onStreamsUpdated: this._handleStreamUpdate.bind(this),
|
|
229
|
+
onStreamsRemoved: this._handleStreamUpdate.bind(this)
|
|
230
|
+
});
|
|
231
|
+
userControl.addObserver({
|
|
232
|
+
onRemoteUsersJoined: this._handleRemoteUsersJoined.bind(this),
|
|
233
|
+
onRemoteUsersLeft: this._handleRemoteUsersLeft.bind(this),
|
|
234
|
+
onUserInfoUpdated: this._handleUserInfoUpdated.bind(this)
|
|
235
|
+
});
|
|
236
|
+
this._disposers.push((0, _mobx.reaction)(function () {
|
|
237
|
+
return _this.localUser.userRole;
|
|
238
|
+
}, this.setLocalUserRole));
|
|
239
|
+
}
|
|
240
|
+
return (0, _createClass2["default"])(ControlBarStore, [{
|
|
241
|
+
key: "leaveConfirmRef",
|
|
242
|
+
get: function get() {
|
|
243
|
+
return _classPrivateFieldGet(_A, this);
|
|
244
|
+
},
|
|
245
|
+
set: function set(v) {
|
|
246
|
+
_classPrivateFieldSet(_A, this, v);
|
|
247
|
+
}
|
|
248
|
+
}, {
|
|
249
|
+
key: "shareWithAudio",
|
|
250
|
+
get: function get() {
|
|
251
|
+
return _classPrivateFieldGet(_B, this);
|
|
252
|
+
},
|
|
253
|
+
set: function set(v) {
|
|
254
|
+
_classPrivateFieldSet(_B, this, v);
|
|
255
|
+
}
|
|
256
|
+
}, {
|
|
257
|
+
key: "shareAudioProcessingChannel",
|
|
258
|
+
get: function get() {
|
|
259
|
+
return _classPrivateFieldGet(_C, this);
|
|
260
|
+
},
|
|
261
|
+
set: function set(v) {
|
|
262
|
+
_classPrivateFieldSet(_C, this, v);
|
|
263
|
+
}
|
|
264
|
+
}, {
|
|
265
|
+
key: "currentShareId",
|
|
266
|
+
get: function get() {
|
|
267
|
+
return _classPrivateFieldGet(_D, this);
|
|
268
|
+
},
|
|
269
|
+
set: function set(v) {
|
|
270
|
+
_classPrivateFieldSet(_D, this, v);
|
|
271
|
+
}
|
|
272
|
+
}, {
|
|
273
|
+
key: "currentShareType",
|
|
274
|
+
get: function get() {
|
|
275
|
+
return _classPrivateFieldGet(_E, this);
|
|
276
|
+
},
|
|
277
|
+
set: function set(v) {
|
|
278
|
+
_classPrivateFieldSet(_E, this, v);
|
|
279
|
+
}
|
|
280
|
+
}, {
|
|
281
|
+
key: "cloudRecordingState",
|
|
282
|
+
get: function get() {
|
|
283
|
+
return _classPrivateFieldGet(_F, this);
|
|
284
|
+
},
|
|
285
|
+
set: function set(v) {
|
|
286
|
+
_classPrivateFieldSet(_F, this, v);
|
|
287
|
+
}
|
|
288
|
+
}, {
|
|
289
|
+
key: "localUserRole",
|
|
290
|
+
get: function get() {
|
|
291
|
+
return _classPrivateFieldGet(_G, this);
|
|
292
|
+
},
|
|
293
|
+
set: function set(v) {
|
|
294
|
+
_classPrivateFieldSet(_G, this, v);
|
|
295
|
+
}
|
|
296
|
+
}, {
|
|
297
|
+
key: "isHost",
|
|
298
|
+
get: function get() {
|
|
299
|
+
return _classPrivateFieldGet(_H, this);
|
|
300
|
+
},
|
|
301
|
+
set: function set(v) {
|
|
302
|
+
_classPrivateFieldSet(_H, this, v);
|
|
303
|
+
}
|
|
304
|
+
}, {
|
|
305
|
+
key: "roomDuration",
|
|
306
|
+
get: function get() {
|
|
307
|
+
return _classPrivateFieldGet(_I, this);
|
|
308
|
+
},
|
|
309
|
+
set: function set(v) {
|
|
310
|
+
_classPrivateFieldSet(_I, this, v);
|
|
311
|
+
}
|
|
312
|
+
}, {
|
|
313
|
+
key: "startTime",
|
|
314
|
+
get: function get() {
|
|
315
|
+
return _classPrivateFieldGet(_J, this);
|
|
316
|
+
},
|
|
317
|
+
set: function set(v) {
|
|
318
|
+
_classPrivateFieldSet(_J, this, v);
|
|
319
|
+
}
|
|
320
|
+
}, {
|
|
321
|
+
key: "playUrl",
|
|
322
|
+
get: function get() {
|
|
323
|
+
return _classPrivateFieldGet(_K, this);
|
|
324
|
+
},
|
|
325
|
+
set: function set(v) {
|
|
326
|
+
_classPrivateFieldSet(_K, this, v);
|
|
327
|
+
}
|
|
328
|
+
}, {
|
|
329
|
+
key: "liveStreamingState",
|
|
330
|
+
get: function get() {
|
|
331
|
+
return _classPrivateFieldGet(_L, this);
|
|
332
|
+
},
|
|
333
|
+
set: function set(v) {
|
|
334
|
+
_classPrivateFieldSet(_L, this, v);
|
|
335
|
+
}
|
|
336
|
+
}, {
|
|
337
|
+
key: "allApplicationWindows",
|
|
338
|
+
get: function get() {
|
|
339
|
+
return _classPrivateFieldGet(_M, this);
|
|
340
|
+
},
|
|
341
|
+
set: function set(v) {
|
|
342
|
+
_classPrivateFieldSet(_M, this, v);
|
|
343
|
+
}
|
|
344
|
+
}, {
|
|
345
|
+
key: "roomInfo",
|
|
346
|
+
get: function get() {
|
|
347
|
+
return _classPrivateFieldGet(_N, this);
|
|
348
|
+
},
|
|
349
|
+
set: function set(v) {
|
|
350
|
+
_classPrivateFieldSet(_N, this, v);
|
|
351
|
+
}
|
|
352
|
+
}, {
|
|
353
|
+
key: "isShowMeetingDetailPortal",
|
|
354
|
+
get: function get() {
|
|
355
|
+
return _classPrivateFieldGet(_O, this);
|
|
356
|
+
},
|
|
357
|
+
set: function set(v) {
|
|
358
|
+
_classPrivateFieldSet(_O, this, v);
|
|
359
|
+
}
|
|
360
|
+
}, {
|
|
361
|
+
key: "users",
|
|
362
|
+
get: function get() {
|
|
363
|
+
return _classPrivateFieldGet(_P, this);
|
|
364
|
+
},
|
|
365
|
+
set: function set(v) {
|
|
366
|
+
_classPrivateFieldSet(_P, this, v);
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
key: "isPstnUser",
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _classPrivateFieldGet(_Q, this);
|
|
372
|
+
},
|
|
373
|
+
set: function set(v) {
|
|
374
|
+
_classPrivateFieldSet(_Q, this, v);
|
|
375
|
+
}
|
|
376
|
+
}, {
|
|
377
|
+
key: "isMuteAudio",
|
|
378
|
+
get: function get() {
|
|
379
|
+
return _classPrivateFieldGet(_R, this);
|
|
380
|
+
},
|
|
381
|
+
set: function set(v) {
|
|
382
|
+
_classPrivateFieldSet(_R, this, v);
|
|
383
|
+
}
|
|
384
|
+
}, {
|
|
385
|
+
key: "hiddenShareActionNav",
|
|
386
|
+
get: function get() {
|
|
387
|
+
return _classPrivateFieldGet(_S, this);
|
|
388
|
+
},
|
|
389
|
+
set: function set(v) {
|
|
390
|
+
_classPrivateFieldSet(_S, this, v);
|
|
391
|
+
}
|
|
392
|
+
}, {
|
|
393
|
+
key: "boardOwnerUser",
|
|
394
|
+
get: function get() {
|
|
395
|
+
return _classPrivateFieldGet(_T, this);
|
|
396
|
+
},
|
|
397
|
+
set: function set(v) {
|
|
398
|
+
_classPrivateFieldSet(_T, this, v);
|
|
399
|
+
}
|
|
400
|
+
}, {
|
|
401
|
+
key: "meetingId",
|
|
402
|
+
get: function get() {
|
|
403
|
+
return _classPrivateFieldGet(_U, this);
|
|
404
|
+
},
|
|
405
|
+
set: function set(v) {
|
|
406
|
+
_classPrivateFieldSet(_U, this, v);
|
|
407
|
+
}
|
|
408
|
+
}, {
|
|
409
|
+
key: "localUser",
|
|
410
|
+
get: function get() {
|
|
411
|
+
return this._userControl.getLocalUser();
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
key: "remoteUsers",
|
|
415
|
+
get: function get() {
|
|
416
|
+
var _this2 = this;
|
|
417
|
+
return this.users.filter(function (user) {
|
|
418
|
+
return user.userId !== _this2.localUser.userId;
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
}, {
|
|
422
|
+
key: "screenBounds",
|
|
423
|
+
get: function get() {
|
|
424
|
+
return this._screenBounds;
|
|
425
|
+
}
|
|
426
|
+
}, {
|
|
427
|
+
key: "hasSecurityPermission",
|
|
428
|
+
get: function get() {
|
|
429
|
+
return this._securityStore.hasSecurityPermission;
|
|
430
|
+
}
|
|
431
|
+
}, {
|
|
432
|
+
key: "hasStartCloudRecordingPermission",
|
|
433
|
+
get: function get() {
|
|
434
|
+
return this._securityStore.hasStartCloudRecordingPermission();
|
|
435
|
+
}
|
|
436
|
+
}, {
|
|
437
|
+
key: "hasStopLiveStreamingPermission",
|
|
438
|
+
get: function get() {
|
|
439
|
+
return this._securityStore.hasStopLiveStreamingPermission();
|
|
440
|
+
}
|
|
441
|
+
}, {
|
|
442
|
+
key: "hasGetLiveStreamingUrlPermission",
|
|
443
|
+
get: function get() {
|
|
444
|
+
return this._securityStore.hasGetLiveStreamingLinkPermission();
|
|
445
|
+
}
|
|
446
|
+
}, {
|
|
447
|
+
key: "hasStartLiveStreamingPermission",
|
|
448
|
+
get: function get() {
|
|
449
|
+
return this._securityStore.hasStartLiveStreamingPermission();
|
|
450
|
+
}
|
|
451
|
+
}, {
|
|
452
|
+
key: "hasAssignHostBeforeLeavingPermission",
|
|
453
|
+
get: function get() {
|
|
454
|
+
return this._securityStore.hasAssignHostBeforeLeavingPermission(_fcrCore.FcrPrivilegeUserRole.HOST);
|
|
455
|
+
}
|
|
456
|
+
}, {
|
|
457
|
+
key: "hasEndRoomPermission",
|
|
458
|
+
get: function get() {
|
|
459
|
+
return this._securityStore.hasEndRoomPermission();
|
|
460
|
+
}
|
|
461
|
+
}, {
|
|
462
|
+
key: "initControlBar",
|
|
463
|
+
value: function initControlBar(payload, browserWindow) {
|
|
464
|
+
this.shareAudioProcessingChannel = payload.currentShareAudioProcessingChannel;
|
|
465
|
+
this.currentShareId = payload.currentShareId;
|
|
466
|
+
this.currentShareType = payload.currentShareType;
|
|
467
|
+
this.setShareWithAudioState(payload.shareWithAudio);
|
|
468
|
+
this.setControlBarWindowBounds(browserWindow);
|
|
469
|
+
}
|
|
470
|
+
}, {
|
|
471
|
+
key: "setControlBarWindowBounds",
|
|
472
|
+
value: function setControlBarWindowBounds(window) {
|
|
473
|
+
var _this3 = this;
|
|
474
|
+
if (!(0, _env.isElectron)()) return;
|
|
475
|
+
var needFollowWindows = [_constant.DialogKey.CONTROL_BAR, _constant.DialogKey.SHOW_TOAST];
|
|
476
|
+
var browserWindows = needFollowWindows.map(function (win) {
|
|
477
|
+
return _dialogs.dialogWindows.get(win) || window;
|
|
478
|
+
});
|
|
479
|
+
var _this$getCurrentShari = this.getCurrentSharingWorkArea(),
|
|
480
|
+
x = _this$getCurrentShari.x,
|
|
481
|
+
y = _this$getCurrentShari.y,
|
|
482
|
+
width = _this$getCurrentShari.width,
|
|
483
|
+
height = _this$getCurrentShari.height,
|
|
484
|
+
availTop = _this$getCurrentShari.availTop;
|
|
485
|
+
this._screenBounds = {
|
|
486
|
+
width: width,
|
|
487
|
+
height: height,
|
|
488
|
+
availTop: availTop,
|
|
489
|
+
x: x,
|
|
490
|
+
y: y
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/* 使用window.screen.availWidth在windows上会黑屏,详见jira:APAAS-5732
|
|
494
|
+
怀疑是在windows上BrowserWindow有一个边框,所以需要减去一定的宽度。
|
|
495
|
+
实验结果最低是4。这里减去10留一点buffer,防止其他操作系统的边框不一致。
|
|
496
|
+
*/
|
|
497
|
+
var WINDOWS_SCREEN_BOUNDARY_WIDTH = 10;
|
|
498
|
+
var availWidth = (0, _platform.isWindows)() ? width - WINDOWS_SCREEN_BOUNDARY_WIDTH : width;
|
|
499
|
+
|
|
500
|
+
// 重新设置窗口大小
|
|
501
|
+
setTimeout(function () {
|
|
502
|
+
browserWindows.forEach(function (win) {
|
|
503
|
+
win === null || win === void 0 || win.setBounds({
|
|
504
|
+
x: x,
|
|
505
|
+
y: y,
|
|
506
|
+
width: availWidth,
|
|
507
|
+
height: height
|
|
508
|
+
});
|
|
509
|
+
});
|
|
510
|
+
_this3.logger.info("set browser window bounds: ".concat(x, ", ").concat(y, ", ").concat(availWidth, ", ").concat(height));
|
|
511
|
+
});
|
|
512
|
+
browserWindows.forEach(function (win) {
|
|
513
|
+
win === null || win === void 0 || win.setMaximumSize(availWidth, height);
|
|
514
|
+
win === null || win === void 0 || win.setBounds({
|
|
515
|
+
x: x,
|
|
516
|
+
y: y
|
|
517
|
+
});
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
}, {
|
|
521
|
+
key: "updateCurrentShareContent",
|
|
522
|
+
value: function updateCurrentShareContent(payload) {
|
|
523
|
+
var id = payload.id,
|
|
524
|
+
type = payload.type;
|
|
525
|
+
this.currentShareId = id;
|
|
526
|
+
this.currentShareType = type;
|
|
527
|
+
this.setControlBarWindowBounds();
|
|
528
|
+
}
|
|
529
|
+
}, {
|
|
530
|
+
key: "setLocalUserRole",
|
|
531
|
+
value: function setLocalUserRole(role) {
|
|
532
|
+
this.localUserRole = role;
|
|
533
|
+
// this.setShowSecurity(role === FcrUserRole.HOST);
|
|
534
|
+
}
|
|
535
|
+
}, {
|
|
536
|
+
key: "setShareWithAudioState",
|
|
537
|
+
value: function setShareWithAudioState(withAudio) {
|
|
538
|
+
this.shareWithAudio = withAudio;
|
|
539
|
+
this._uiEventStore.sendEvent(_constant.UIAction.SET_SHARE_WITH_AUDIO, {
|
|
540
|
+
withAudio: withAudio
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
}, {
|
|
544
|
+
key: "createNewShare",
|
|
545
|
+
value: function createNewShare() {
|
|
546
|
+
this._uiEventStore.sendEvent(_constant.UIAction.START_SHARE_SCREEN);
|
|
547
|
+
}
|
|
548
|
+
}, {
|
|
549
|
+
key: "handlerStopShare",
|
|
550
|
+
value: function handlerStopShare() {
|
|
551
|
+
this._uiEventStore.sendEvent(_constant.UIAction.STOP_SHARE_SCREEN);
|
|
552
|
+
}
|
|
553
|
+
}, {
|
|
554
|
+
key: "setShareAudioProcessingChannel",
|
|
555
|
+
value: function setShareAudioProcessingChannel(target) {
|
|
556
|
+
this.shareAudioProcessingChannel = target;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// more
|
|
560
|
+
}, {
|
|
561
|
+
key: "handleMoreClick",
|
|
562
|
+
value: function handleMoreClick(actionKey) {
|
|
563
|
+
var _this4 = this;
|
|
564
|
+
switch (actionKey) {
|
|
565
|
+
case _type5.MoreAction.OPEN_PARTICIPANTS:
|
|
566
|
+
this._uiEventStore.openDialog(_constant.DialogKey.PARTICIPANT);
|
|
567
|
+
break;
|
|
568
|
+
case _type5.MoreAction.OPEN_CHAT:
|
|
569
|
+
this._uiEventStore.openDialog(_constant.DialogKey.CHAT);
|
|
570
|
+
break;
|
|
571
|
+
case _type5.MoreAction.OPEN_LIVE_STEAMING_DIALOG:
|
|
572
|
+
this._uiEventStore.openDialog(_constant.DialogKey.LIVE_STREAMING);
|
|
573
|
+
break;
|
|
574
|
+
case _type5.MoreAction.OPEN_SETTING:
|
|
575
|
+
this._uiEventStore.openDialog(_constant.DialogKey.DEVICE_SETTINGS);
|
|
576
|
+
break;
|
|
577
|
+
case _type5.MoreAction.CLOUD_RECORDING_START:
|
|
578
|
+
this.startCloudRecording();
|
|
579
|
+
break;
|
|
580
|
+
case _type5.MoreAction.CLOUD_RECORDING_STOP:
|
|
581
|
+
this.stopCloudRecording();
|
|
582
|
+
break;
|
|
583
|
+
case _type5.MoreAction.STOP_LIVE_STREAMING:
|
|
584
|
+
this._uiEventStore.sendEvent(_constant.UIAction.STOP_LIVE_STREAMING);
|
|
585
|
+
var dispose = (0, _mobx.reaction)(function () {
|
|
586
|
+
return _this4.liveStreamingState;
|
|
587
|
+
}, function (liveStreamingState) {
|
|
588
|
+
if (liveStreamingState === _type3.FcrLiveStreamingState.STOPPED) {
|
|
589
|
+
_this4._liveStreamingDialogKey && _this4._uiEventStore.closeDialog(_this4._liveStreamingDialogKey);
|
|
590
|
+
dispose();
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
break;
|
|
594
|
+
default:
|
|
595
|
+
break;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}, {
|
|
599
|
+
key: "openLiveStreamingDialog",
|
|
600
|
+
value: function openLiveStreamingDialog() {
|
|
601
|
+
var _this5 = this;
|
|
602
|
+
var dialogKey = this._uiEventStore.openConfirmDialog({
|
|
603
|
+
width: 256,
|
|
604
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_stopButton["default"], {
|
|
605
|
+
onCancel: function onCancel() {
|
|
606
|
+
_this5._uiEventStore.closeDialog(dialogKey);
|
|
607
|
+
},
|
|
608
|
+
handleMoreClick: function handleMoreClick(type) {
|
|
609
|
+
_this5.handleMoreClick(type);
|
|
610
|
+
_this5._uiEventStore.closeDialog(dialogKey);
|
|
611
|
+
}
|
|
612
|
+
}),
|
|
613
|
+
showCancel: false,
|
|
614
|
+
showOk: false
|
|
615
|
+
});
|
|
616
|
+
this._liveStreamingDialogKey = dialogKey;
|
|
617
|
+
}
|
|
618
|
+
}, {
|
|
619
|
+
key: "pauseCloudRecording",
|
|
620
|
+
value: function pauseCloudRecording() {
|
|
621
|
+
this._roomControl.pauseCloudRecording();
|
|
622
|
+
}
|
|
623
|
+
}, {
|
|
624
|
+
key: "resumeCloudRecording",
|
|
625
|
+
value: function resumeCloudRecording() {
|
|
626
|
+
this._roomControl.resumeCloudRecording();
|
|
627
|
+
}
|
|
628
|
+
}, {
|
|
629
|
+
key: "stopCloudRecording",
|
|
630
|
+
value: function stopCloudRecording() {
|
|
631
|
+
this._roomControl.stopCloudRecording();
|
|
632
|
+
}
|
|
633
|
+
}, {
|
|
634
|
+
key: "startCloudRecording",
|
|
635
|
+
value: function startCloudRecording() {
|
|
636
|
+
this._roomControl.startCloudRecording({
|
|
637
|
+
audioProfile: _type3.FcrCloudRecordingAudioProfile.DEFAULT,
|
|
638
|
+
videoEncoderConfig: {
|
|
639
|
+
dimensions: {
|
|
640
|
+
width: 1280,
|
|
641
|
+
height: 720
|
|
642
|
+
},
|
|
643
|
+
bitrate: 1200,
|
|
644
|
+
frameRate: 15
|
|
645
|
+
},
|
|
646
|
+
retryTimeout: 60
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
}, {
|
|
650
|
+
key: "getCoordinate",
|
|
651
|
+
value: function getCoordinate(offsetWidth, offsetHeight) {
|
|
652
|
+
var _this$getCurrentShari2 = this.getCurrentSharingWorkArea(),
|
|
653
|
+
workareaW = _this$getCurrentShari2.width,
|
|
654
|
+
displayId = _this$getCurrentShari2.displayId;
|
|
655
|
+
var x = workareaW / 2 - offsetWidth / 2;
|
|
656
|
+
var y = 0;
|
|
657
|
+
return {
|
|
658
|
+
x: x,
|
|
659
|
+
y: y
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
}, {
|
|
663
|
+
key: "showToast",
|
|
664
|
+
value: function showToast(params) {
|
|
665
|
+
this._uiEventStore.openDialog(_constant.DialogKey.SHOW_TOAST, _constant.DialogKey.SHOW_TOAST, {
|
|
666
|
+
type: params.type,
|
|
667
|
+
message: params.content,
|
|
668
|
+
duration: params.duration
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
}, {
|
|
672
|
+
key: "setShowMeetingDetailPortal",
|
|
673
|
+
value: function setShowMeetingDetailPortal(show) {
|
|
674
|
+
this.isShowMeetingDetailPortal = show;
|
|
675
|
+
}
|
|
676
|
+
}, {
|
|
677
|
+
key: "setEnableWaitingRoom",
|
|
678
|
+
value: function setEnableWaitingRoom(enable) {
|
|
679
|
+
this._uiEventStore.sendEvent(_constant.UIAction.ENABLE_WAITING_ROOM, enable);
|
|
680
|
+
}
|
|
681
|
+
}, {
|
|
682
|
+
key: "sendLeave",
|
|
683
|
+
value: function sendLeave() {
|
|
684
|
+
this._uiEventStore.sendEvent(_constant.UIAction.EXIT_ROOM, {
|
|
685
|
+
reason: _type4.FcrUIExitReason.LEAVE_ROOM,
|
|
686
|
+
roomType: this.roomInfo.roomType
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
}, {
|
|
690
|
+
key: "sendEnd",
|
|
691
|
+
value: function sendEnd() {
|
|
692
|
+
this._roomControl.close();
|
|
693
|
+
}
|
|
694
|
+
}, {
|
|
695
|
+
key: "keepPhoneAudioConnection",
|
|
696
|
+
value: function keepPhoneAudioConnection() {
|
|
697
|
+
this._streamControl.splitAudioStream(this.localUser.userId);
|
|
698
|
+
}
|
|
699
|
+
}, {
|
|
700
|
+
key: "sendAssign",
|
|
701
|
+
value: function sendAssign(user) {
|
|
702
|
+
this._userControl.updateRemoteUserRole(user.userId, _type3.FcrUserRole.HOST);
|
|
703
|
+
this.sendLeave();
|
|
704
|
+
this.handlerStopShare();
|
|
705
|
+
}
|
|
706
|
+
}, {
|
|
707
|
+
key: "handleLeaveRoom",
|
|
708
|
+
value: function handleLeaveRoom() {
|
|
709
|
+
var _this6 = this;
|
|
710
|
+
var dailogKey = this._uiEventStore.openConfirmDialog({
|
|
711
|
+
width: 260,
|
|
712
|
+
height: 180,
|
|
713
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_leaveMeeting.LeaveMeeting, {
|
|
714
|
+
setPopoverOpened: function setPopoverOpened(value) {
|
|
715
|
+
if (!value) {
|
|
716
|
+
_this6._uiEventStore.closeDialog(dailogKey);
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
localUserRole: this.localUser.userRole,
|
|
720
|
+
leave: this.sendLeave,
|
|
721
|
+
isLocked: false,
|
|
722
|
+
hasAssignHostBeforeLeavingPermission: this.hasAssignHostBeforeLeavingPermission,
|
|
723
|
+
hasEndRoomPermission: this.hasEndRoomPermission,
|
|
724
|
+
keepPhoneAudioConnection: this.keepPhoneAudioConnection,
|
|
725
|
+
isPstnUser: this.isPstnUser,
|
|
726
|
+
remoteUsers: this.remoteUsers,
|
|
727
|
+
end: this.sendEnd,
|
|
728
|
+
assignHost: this.sendAssign,
|
|
729
|
+
setHeight: function setHeight() {
|
|
730
|
+
_this6._uiEventStore.sendEvent(_constant.UIAction.SET_WINDOW_BOUNDS, {
|
|
731
|
+
height: 230
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
}),
|
|
735
|
+
onCancel: function onCancel() {
|
|
736
|
+
_this6._uiEventStore.closeDialog(dailogKey);
|
|
737
|
+
},
|
|
738
|
+
showCancel: false,
|
|
739
|
+
showOk: false
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
}, {
|
|
743
|
+
key: "getCurrentSharingWorkArea",
|
|
744
|
+
value: function getCurrentSharingWorkArea() {
|
|
745
|
+
var _appWindow$bounds$x, _appWindow$bounds, _appWindow$bounds$y, _appWindow$bounds2;
|
|
746
|
+
var currentShareId = this.currentShareId,
|
|
747
|
+
currentShareType = this.currentShareType,
|
|
748
|
+
allApplicationWindows = this.allApplicationWindows;
|
|
749
|
+
var _window$screen = window.screen,
|
|
750
|
+
availWidth = _window$screen.availWidth,
|
|
751
|
+
availHeight = _window$screen.availHeight;
|
|
752
|
+
var displays = window.runtime.screen.getAllDisplays();
|
|
753
|
+
var isDisplay = currentShareType === _type.AgoraRtcScreenCaptureType.SCREEN;
|
|
754
|
+
var appWindow = allApplicationWindows.find(function (app) {
|
|
755
|
+
return app.id === currentShareId;
|
|
756
|
+
});
|
|
757
|
+
var nearDisplay = window.runtime.screen.getDisplayNearestPoint({
|
|
758
|
+
x: (_appWindow$bounds$x = appWindow === null || appWindow === void 0 || (_appWindow$bounds = appWindow.bounds) === null || _appWindow$bounds === void 0 ? void 0 : _appWindow$bounds.x) !== null && _appWindow$bounds$x !== void 0 ? _appWindow$bounds$x : 0,
|
|
759
|
+
y: (_appWindow$bounds$y = appWindow === null || appWindow === void 0 || (_appWindow$bounds2 = appWindow.bounds) === null || _appWindow$bounds2 === void 0 ? void 0 : _appWindow$bounds2.y) !== null && _appWindow$bounds$y !== void 0 ? _appWindow$bounds$y : 0
|
|
760
|
+
});
|
|
761
|
+
var dataStruct = {
|
|
762
|
+
bounds: {
|
|
763
|
+
x: 0,
|
|
764
|
+
y: 0,
|
|
765
|
+
width: availWidth,
|
|
766
|
+
height: availHeight
|
|
767
|
+
},
|
|
768
|
+
id: 0,
|
|
769
|
+
workArea: {
|
|
770
|
+
y: 0
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
var _ref4 = (isDisplay ? displays.find(function (display, index) {
|
|
774
|
+
var id = (0, _platform.isWindows)() ? index : display.id;
|
|
775
|
+
return id === Number(currentShareId);
|
|
776
|
+
}) : nearDisplay) || dataStruct,
|
|
777
|
+
_ref4$bounds = _ref4.bounds,
|
|
778
|
+
x = _ref4$bounds.x,
|
|
779
|
+
y = _ref4$bounds.y,
|
|
780
|
+
width = _ref4$bounds.width,
|
|
781
|
+
height = _ref4$bounds.height,
|
|
782
|
+
displayId = _ref4.id,
|
|
783
|
+
availTop = _ref4.workArea.y;
|
|
784
|
+
return {
|
|
785
|
+
x: x,
|
|
786
|
+
y: y,
|
|
787
|
+
width: width,
|
|
788
|
+
height: height,
|
|
789
|
+
displayId: displayId,
|
|
790
|
+
availTop: availTop
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
}, {
|
|
794
|
+
key: "_handleStreamUpdate",
|
|
795
|
+
value: function _handleStreamUpdate() {
|
|
796
|
+
var streams = this._streamControl.getStreamsByUserId(this.localUser.userId);
|
|
797
|
+
var pstnStream = streams.find(function (_ref5) {
|
|
798
|
+
var connectorType = _ref5.connectorType;
|
|
799
|
+
return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
800
|
+
});
|
|
801
|
+
this.isPstnUser = !!pstnStream;
|
|
802
|
+
}
|
|
803
|
+
}, {
|
|
804
|
+
key: "_handleRemoteUsersJoined",
|
|
805
|
+
value: function _handleRemoteUsersJoined(roomId, events) {
|
|
806
|
+
var _this7 = this;
|
|
807
|
+
var modifiedUsers = events.map(function (e) {
|
|
808
|
+
return e.modifiedUser;
|
|
809
|
+
});
|
|
810
|
+
var users = (0, _toConsumableArray2["default"])(this.users);
|
|
811
|
+
modifiedUsers.forEach(function (user) {
|
|
812
|
+
var userIndex = _this7.users.findIndex(function (u) {
|
|
813
|
+
return u.userId === user.userId;
|
|
814
|
+
});
|
|
815
|
+
if (userIndex !== -1) {
|
|
816
|
+
users[userIndex] = user;
|
|
817
|
+
} else {
|
|
818
|
+
users.push(user);
|
|
819
|
+
}
|
|
820
|
+
});
|
|
821
|
+
this.users = users;
|
|
822
|
+
}
|
|
823
|
+
}, {
|
|
824
|
+
key: "_handleRemoteUsersLeft",
|
|
825
|
+
value: function _handleRemoteUsersLeft(roomId, events) {
|
|
826
|
+
var _this8 = this;
|
|
827
|
+
var modifiedUsers = events.map(function (e) {
|
|
828
|
+
return e.modifiedUser;
|
|
829
|
+
});
|
|
830
|
+
var users = (0, _toConsumableArray2["default"])(this.users);
|
|
831
|
+
modifiedUsers.forEach(function (user) {
|
|
832
|
+
var userIndex = _this8.users.findIndex(function (u) {
|
|
833
|
+
return u.userId === user.userId;
|
|
834
|
+
});
|
|
835
|
+
if (userIndex !== -1) {
|
|
836
|
+
users.splice(userIndex, 1);
|
|
837
|
+
}
|
|
838
|
+
});
|
|
839
|
+
this.users = users;
|
|
840
|
+
}
|
|
841
|
+
}, {
|
|
842
|
+
key: "_handleUserInfoUpdated",
|
|
843
|
+
value: function _handleUserInfoUpdated(_roomId, event) {
|
|
844
|
+
var modifiedUser = event.modifiedUser;
|
|
845
|
+
var index = this.users.findIndex(function (u) {
|
|
846
|
+
return u.userId === modifiedUser.userId;
|
|
847
|
+
});
|
|
848
|
+
if (index === -1) {
|
|
849
|
+
return;
|
|
850
|
+
}
|
|
851
|
+
this.users[index] = modifiedUser;
|
|
852
|
+
this.users = (0, _toConsumableArray2["default"])(this.users);
|
|
853
|
+
this.localUserRole = this._userControl.getLocalUser().userRole;
|
|
854
|
+
}
|
|
855
|
+
}]);
|
|
856
|
+
}();
|
|
857
|
+
_ControlBarStore = ControlBarStore;
|
|
858
|
+
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, "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, "isMuteAudio"], [_mobx.observable, 1, "hiddenShareActionNav"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "meetingId"], [_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"], [_setControlBarWindowBoundsDecs, 18, "setControlBarWindowBounds"], [_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"], [_decorator.bound, 2, "getCoordinate"], [_showToastDecs, 18, "showToast"], [_setShowMeetingDetailPortalDecs, 18, "setShowMeetingDetailPortal"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_sendLeaveDecs, 18, "sendLeave"], [_sendEndDecs, 18, "sendEnd"], [_keepPhoneAudioConnectionDecs, 18, "keepPhoneAudioConnection"], [_sendAssignDecs, 18, "sendAssign"], [_handleLeaveRoomDecs, 18, "handleLeaveRoom"], [_getCurrentSharingWorkAreaDecs, 18, "getCurrentSharingWorkArea"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"]], []).e, 22);
|
|
859
|
+
_init_leaveConfirmRef = _applyDecs$e[0];
|
|
860
|
+
_init_shareWithAudio = _applyDecs$e[1];
|
|
861
|
+
_init_shareAudioProcessingChannel = _applyDecs$e[2];
|
|
862
|
+
_init_currentShareId = _applyDecs$e[3];
|
|
863
|
+
_init_currentShareType = _applyDecs$e[4];
|
|
864
|
+
_init_cloudRecordingState = _applyDecs$e[5];
|
|
865
|
+
_init_localUserRole = _applyDecs$e[6];
|
|
866
|
+
_init_isHost = _applyDecs$e[7];
|
|
867
|
+
_init_roomDuration = _applyDecs$e[8];
|
|
868
|
+
_init_startTime = _applyDecs$e[9];
|
|
869
|
+
_init_playUrl = _applyDecs$e[10];
|
|
870
|
+
_init_liveStreamingState = _applyDecs$e[11];
|
|
871
|
+
_init_allApplicationWindows = _applyDecs$e[12];
|
|
872
|
+
_init_roomInfo = _applyDecs$e[13];
|
|
873
|
+
_init_isShowMeetingDetailPortal = _applyDecs$e[14];
|
|
874
|
+
_init_users = _applyDecs$e[15];
|
|
875
|
+
_init_isPstnUser = _applyDecs$e[16];
|
|
876
|
+
_init_isMuteAudio = _applyDecs$e[17];
|
|
877
|
+
_init_hiddenShareActionNav = _applyDecs$e[18];
|
|
878
|
+
_init_boardOwnerUser = _applyDecs$e[19];
|
|
879
|
+
_init_meetingId = _applyDecs$e[20];
|
|
880
|
+
_initProto = _applyDecs$e[21];
|
|
881
|
+
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|