fcr-ui-scene 3.2.0 → 3.3.1
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/dist/electron/app.js +148 -0
- package/dist/electron/bootstrap-dev.js +51 -0
- package/dist/electron/bootstrap-sdk.js +56 -0
- package/dist/electron/default-options.js +25 -0
- package/dist/electron/env.js +13 -0
- package/dist/electron/index.js +20 -0
- package/dist/electron/injections.js +702 -0
- package/dist/electron/logger.js +66 -0
- package/dist/electron/main.js +67 -0
- package/dist/electron/plugins/meeting-state.js +39 -0
- package/dist/electron/plugins/screenshot.js +49 -0
- package/dist/electron/preload.js +36 -0
- package/dist/electron/tools.js +66 -0
- package/dist/electron/window.js +124 -0
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +16 -0
- package/lib/common/device-store.d.ts +1 -1
- package/lib/common/device-store.js +11 -3
- package/lib/common/event-store.d.ts +17 -1
- package/lib/common/event-store.js +38 -5
- package/lib/common/room-store.d.ts +55 -0
- package/lib/common/room-store.js +395 -0
- package/lib/common/security-store.d.ts +14 -4
- package/lib/common/security-store.js +149 -30
- package/lib/creator.js +2 -0
- package/lib/electron/app.js +8 -0
- package/lib/electron/bootstrap-dev.d.ts +1 -0
- package/lib/electron/bootstrap-dev.js +51 -0
- package/lib/electron/bootstrap-sdk.d.ts +1 -0
- package/lib/electron/bootstrap-sdk.js +57 -0
- package/lib/electron/bootstrap.d.ts +1 -0
- package/lib/electron/bootstrap.js +56 -0
- package/lib/electron/default-options.js +1 -1
- package/lib/electron/dev.d.ts +1 -0
- package/lib/electron/dev.js +51 -0
- package/lib/electron/injections.d.ts +2 -1
- package/lib/electron/injections.js +6 -6
- package/lib/electron/main.js +4 -16
- package/lib/electron/plugins/meeting-state.d.ts +2 -0
- package/lib/electron/plugins/meeting-state.js +39 -0
- package/lib/electron/preload.js +2 -1
- package/lib/fragments/control-bar/control-bar-store.d.ts +34 -1
- package/lib/fragments/control-bar/control-bar-store.js +371 -79
- package/lib/fragments/control-bar/device/index.js +5 -3
- package/lib/fragments/control-bar/index.css +15 -10
- package/lib/fragments/control-bar/index.js +18 -0
- package/lib/fragments/control-bar/meeting-details/meeting-detail.css +109 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.d.ts +3 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details-portal.js +60 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details.d.ts +2 -0
- package/lib/fragments/control-bar/meeting-details/meeting-details.js +179 -0
- package/lib/fragments/control-bar/more-actions/index.css +53 -0
- package/lib/fragments/control-bar/more-actions/index.js +72 -37
- package/lib/fragments/control-bar/security-content/index.css +10 -0
- package/lib/fragments/control-bar/security-content/index.js +40 -18
- package/lib/fragments/control-bar/view.js +8 -2
- package/lib/login-confirm-dialog.d.ts +12 -0
- package/lib/login-confirm-dialog.js +80 -0
- package/lib/modules/Interpreter/add-button/index.css +4 -0
- package/lib/modules/Interpreter/add-button/index.d.ts +11 -0
- package/lib/modules/Interpreter/add-button/index.js +41 -0
- package/lib/modules/Interpreter/config.d.ts +16 -0
- package/lib/modules/Interpreter/config.js +17 -0
- package/lib/modules/Interpreter/constant.d.ts +44 -0
- package/lib/modules/Interpreter/constant.js +60 -0
- package/lib/modules/Interpreter/context.d.ts +2 -0
- package/lib/modules/Interpreter/context.js +9 -0
- package/lib/modules/Interpreter/dialog-content/index.css +33 -0
- package/lib/modules/Interpreter/dialog-content/index.d.ts +8 -0
- package/lib/modules/Interpreter/dialog-content/index.js +34 -0
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/footer/components/interpreter-btn/index.js +56 -0
- package/lib/modules/Interpreter/footer/components/set-btn/index.d.ts +5 -0
- package/lib/modules/Interpreter/footer/components/set-btn/index.js +46 -0
- package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.d.ts +6 -0
- package/lib/modules/Interpreter/footer/components/tooltip-wrapper/index.js +28 -0
- package/lib/modules/Interpreter/footer/index.css +10 -0
- package/lib/modules/Interpreter/footer/index.d.ts +3 -0
- package/lib/modules/Interpreter/footer/index.js +35 -0
- package/lib/modules/Interpreter/index.css +8 -0
- package/lib/modules/Interpreter/index.d.ts +21 -0
- package/lib/modules/Interpreter/index.js +110 -0
- package/lib/modules/Interpreter/interpreter-list/index.css +21 -0
- package/lib/modules/Interpreter/interpreter-list/index.d.ts +3 -0
- package/lib/modules/Interpreter/interpreter-list/index.js +65 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +31 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.d.ts +11 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +141 -0
- 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 +11 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +119 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +41 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.d.ts +12 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +118 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.css +34 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.d.ts +8 -0
- package/lib/modules/Interpreter/interpreter-list/interpreter-item/index.js +65 -0
- package/lib/modules/Interpreter/loading-wrapper/index.css +53 -0
- package/lib/modules/Interpreter/loading-wrapper/index.d.ts +6 -0
- package/lib/modules/Interpreter/loading-wrapper/index.js +28 -0
- package/lib/modules/Interpreter/store.d.ts +82 -0
- package/lib/modules/Interpreter/store.js +1382 -0
- package/lib/modules/Interpreter/view.d.ts +3 -0
- package/lib/modules/Interpreter/view.js +32 -0
- package/lib/modules/action-bar/Interpreter/index.d.ts +6 -0
- package/lib/modules/action-bar/Interpreter/index.js +44 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +5 -5
- package/lib/modules/action-bar/apps/appitems.d.ts +2 -0
- package/lib/modules/action-bar/apps/appitems.js +40 -0
- package/lib/modules/action-bar/apps/index.css +6 -0
- package/lib/modules/action-bar/apps/index.d.ts +4 -0
- package/lib/modules/action-bar/apps/index.js +58 -0
- package/lib/modules/action-bar/chat/index.js +5 -5
- package/lib/modules/action-bar/device/index.css +7 -2
- package/lib/modules/action-bar/device/index.js +4 -4
- package/lib/modules/action-bar/index.css +59 -12
- package/lib/modules/action-bar/index.d.ts +3 -2
- package/lib/modules/action-bar/index.dev.js +1 -1
- package/lib/modules/action-bar/index.js +21 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +3 -0
- package/lib/modules/action-bar/leave/assign-host.js +2 -4
- package/lib/modules/action-bar/leave/index.js +29 -6
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +11 -0
- package/lib/modules/action-bar/leave/leave-meeting.js +25 -16
- package/lib/modules/action-bar/more/poppover-content.js +4 -4
- package/lib/modules/action-bar/participants/index.css +12 -0
- package/lib/modules/action-bar/participants/index.js +21 -14
- package/lib/modules/action-bar/screen-share/index.js +5 -1
- package/lib/modules/action-bar/screen-share/submenu.js +16 -22
- package/lib/modules/action-bar/security/drop-menu.js +90 -13
- package/lib/modules/action-bar/store.d.ts +38 -6
- package/lib/modules/action-bar/store.js +487 -95
- package/lib/modules/action-bar/switch-input-language-room/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-input-language-room/index.css +86 -0
- package/lib/modules/action-bar/switch-input-language-room/index.d.ts +17 -0
- package/lib/modules/action-bar/switch-input-language-room/index.js +145 -0
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.d.ts +1 -0
- package/lib/modules/action-bar/switch-output-language-room/drop-menu.js +197 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.css +18 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.d.ts +8 -0
- package/lib/modules/action-bar/switch-output-language-room/guide-tooltip/index.js +59 -0
- package/lib/modules/action-bar/switch-output-language-room/index.d.ts +12 -0
- package/lib/modules/action-bar/switch-output-language-room/index.js +238 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.css +54 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.d.ts +8 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/interpreter/index.js +94 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.css +8 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.d.ts +4 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/components/virtual-image/index.js +31 -0
- 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/fcr_translateswitch.png +0 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.css +71 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.d.ts +2 -0
- package/lib/modules/action-bar/switch-output-language-room/notification-bar/index.js +82 -0
- package/lib/modules/action-bar/view.js +65 -42
- package/lib/modules/chat/chat-bar/index.js +39 -27
- package/lib/modules/chat/chat-select/index.css +14 -4
- package/lib/modules/chat/chat.d.ts +1 -2
- package/lib/modules/chat/chat.js +184 -105
- package/lib/modules/chat/index.css +49 -0
- package/lib/modules/chat/index.d.ts +2 -2
- package/lib/modules/chat/index.dev.js +1 -1
- package/lib/modules/chat/index.js +13 -8
- package/lib/modules/chat/message-list.js +59 -48
- package/lib/modules/chat/store.d.ts +48 -2
- package/lib/modules/chat/store.js +258 -45
- package/lib/modules/connection-gateway/index.d.ts +2 -1
- package/lib/modules/connection-gateway/store.d.ts +6 -3
- package/lib/modules/connection-gateway/store.js +5 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +1 -1
- package/lib/modules/device-pretest/index.css +0 -4
- package/lib/modules/device-pretest/settings/beauty.js +17 -6
- package/lib/modules/device-pretest/store.js +7 -11
- package/lib/modules/dialog/components/Interpreter/electron.d.ts +2 -0
- package/lib/modules/dialog/components/Interpreter/electron.js +72 -0
- package/lib/modules/dialog/components/Interpreter/index.css +30 -0
- package/lib/modules/dialog/components/Interpreter/index.d.ts +4 -0
- package/lib/modules/dialog/components/Interpreter/index.js +61 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.css +36 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +3 -0
- package/lib/modules/dialog/components/Interpreter/user-queue/index.js +47 -0
- package/lib/modules/dialog/components/chat/electron.js +2 -1
- package/lib/modules/dialog/components/confirm/electron.js +5 -3
- package/lib/modules/dialog/components/connection-gateway/electron.js +3 -1
- package/lib/modules/dialog/components/connection-gateway/index.css +0 -2
- package/lib/modules/dialog/components/device-setting/electron.js +3 -1
- package/lib/modules/dialog/components/device-setting/index.css +0 -1
- package/lib/modules/dialog/components/operation-waiting-room/electron.d.ts +5 -0
- package/lib/modules/dialog/components/operation-waiting-room/electron.js +89 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.css +44 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.d.ts +5 -0
- package/lib/modules/dialog/components/operation-waiting-room/index.js +156 -0
- package/lib/modules/dialog/components/participant/electron.js +2 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.d.ts +5 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +89 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.css +50 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +5 -0
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +90 -0
- package/lib/modules/dialog/components/switch-language-channels/electron.d.ts +2 -0
- package/lib/modules/dialog/components/switch-language-channels/electron.js +72 -0
- package/lib/modules/dialog/components/switch-language-channels/index.css +30 -0
- package/lib/modules/dialog/components/switch-language-channels/index.d.ts +4 -0
- package/lib/modules/dialog/components/switch-language-channels/index.js +63 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.css +36 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.d.ts +3 -0
- package/lib/modules/dialog/components/switch-language-channels/user-queue/index.js +47 -0
- package/lib/modules/dialog/components/whiteboard/index.js +2 -1
- package/lib/modules/dialog/dialogs.js +17 -13
- package/lib/modules/dialog/index.css +2 -0
- package/lib/modules/dialog/store.d.ts +4 -0
- package/lib/modules/dialog/store.js +16 -2
- package/lib/modules/event-notification/context.d.ts +2 -0
- package/lib/modules/event-notification/context.js +9 -0
- package/lib/modules/event-notification/index.css +58 -0
- package/lib/modules/event-notification/index.d.ts +13 -0
- package/lib/modules/event-notification/index.js +48 -0
- package/lib/modules/event-notification/store.d.ts +17 -0
- package/lib/modules/event-notification/store.js +133 -0
- package/lib/modules/event-notification/view.d.ts +5 -0
- package/lib/modules/event-notification/view.js +114 -0
- package/lib/modules/invite/index.css +4 -4
- package/lib/modules/invite/pstn-invite.js +1 -0
- package/lib/modules/layout/components/Gallery.js +7 -1
- package/lib/modules/layout/components/Layout.js +82 -57
- package/lib/modules/layout/components/index.css +33 -6
- package/lib/modules/layout/index.css +30 -0
- package/lib/modules/layout/member-window/index.js +9 -3
- package/lib/modules/layout/store.d.ts +19 -2
- package/lib/modules/layout/store.js +177 -70
- package/lib/modules/layout/video-window-datasource.d.ts +1 -1
- package/lib/modules/layout/video-window-datasource.js +1 -1
- package/lib/modules/live-streaming/index.dev.js +1 -1
- package/lib/modules/notification/context.d.ts +2 -0
- package/lib/modules/notification/context.js +9 -0
- package/lib/modules/notification/index.css +58 -0
- package/lib/modules/notification/index.d.ts +15 -0
- package/lib/modules/notification/index.js +51 -0
- package/lib/modules/notification/interpreter-status/index.css +72 -0
- package/lib/modules/notification/interpreter-status/index.d.ts +3 -0
- package/lib/modules/notification/interpreter-status/index.js +59 -0
- package/lib/modules/notification/store.d.ts +16 -0
- package/lib/modules/notification/store.js +127 -0
- package/lib/modules/notification/view.d.ts +10 -0
- package/lib/modules/notification/view.js +116 -0
- package/lib/modules/participant/attendee/index.d.ts +12 -3
- package/lib/modules/participant/attendee/index.js +132 -30
- package/lib/modules/participant/index.css +20 -0
- package/lib/modules/participant/index.d.ts +5 -2
- package/lib/modules/participant/index.dev.js +1 -1
- package/lib/modules/participant/index.js +27 -0
- package/lib/modules/participant/room-control-drop-menu/index.css +37 -0
- package/lib/modules/participant/store.d.ts +30 -5
- package/lib/modules/participant/store.js +347 -74
- package/lib/modules/participant/view.js +133 -34
- package/lib/modules/setting/index.css +1 -5
- package/lib/modules/setting/index.dev.js +1 -1
- package/lib/modules/setting/store.d.ts +2 -2
- package/lib/modules/setting/store.js +3 -8
- package/lib/modules/setting/translate-settings/translate-settings.js +1 -1
- package/lib/modules/setting/video-settings/index.css +9 -6
- package/lib/modules/share-screen/index.d.ts +2 -0
- package/lib/modules/share-screen/index.dev.js +3 -2
- package/lib/modules/share-screen/selection/index.css +2 -0
- package/lib/modules/share-screen/store.d.ts +6 -3
- package/lib/modules/share-screen/store.js +170 -129
- package/lib/modules/state-bar/index.css +2 -2
- package/lib/modules/state-bar/index.d.ts +2 -2
- package/lib/modules/state-bar/index.dev.js +1 -1
- package/lib/modules/state-bar/meeting-detail.css +6 -4
- package/lib/modules/state-bar/meeting-details.js +32 -5
- package/lib/modules/state-bar/meeting-network-state.css +14 -3
- package/lib/modules/state-bar/meeting-network-state.js +10 -4
- package/lib/modules/state-bar/recording.js +3 -5
- package/lib/modules/state-bar/store.d.ts +5 -2
- package/lib/modules/state-bar/store.js +32 -5
- package/lib/modules/state-bar/view.js +7 -10
- package/lib/modules/video-window/index.css +1 -0
- package/lib/modules/video-window/store.d.ts +2 -2
- package/lib/modules/video-window/store.js +14 -11
- package/lib/modules/waiting-room-layout/context.d.ts +2 -0
- package/lib/modules/waiting-room-layout/context.js +9 -0
- package/lib/modules/waiting-room-layout/index.css +71 -0
- package/lib/modules/waiting-room-layout/index.d.ts +8 -0
- package/lib/modules/waiting-room-layout/index.js +47 -0
- package/lib/modules/waiting-room-layout/store.d.ts +30 -0
- package/lib/modules/waiting-room-layout/store.js +189 -0
- package/lib/modules/waiting-room-layout/type.d.ts +0 -0
- package/lib/modules/waiting-room-layout/type.js +1 -0
- package/lib/modules/waiting-room-layout/view.d.ts +3 -0
- package/lib/modules/waiting-room-layout/view.js +67 -0
- package/lib/modules/whiteboard/app.js +0 -6
- package/lib/modules/whiteboard/components/control-bar/index.css +3 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +6 -1
- package/lib/modules/whiteboard/components/progress/electron.js +2 -1
- package/lib/modules/whiteboard/components/switch-theme/index.css +4 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -1
- package/lib/modules/whiteboard/components/switch-theme/index.js +20 -15
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +1 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +9 -2
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +14 -10
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +3 -0
- package/lib/modules/whiteboard/context.d.ts +4 -0
- package/lib/modules/whiteboard/context.js +4 -2
- package/lib/modules/whiteboard/index.js +22 -6
- package/lib/plugins/browser-runtime-plugin.js +4 -1
- package/lib/plugins/module-dev-plugin.js +8 -6
- package/lib/runtime.d.ts +2 -1
- package/lib/translations/enUS.d.ts +449 -6
- package/lib/translations/enUS.js +485 -32
- package/lib/translations/zhCN.d.ts +447 -6
- package/lib/translations/zhCN.js +468 -17
- package/lib/type.d.ts +6 -2
- package/lib/ui-manager.d.ts +7 -3
- package/lib/ui-manager.js +576 -139
- package/lib/ui-scene.d.ts +1 -0
- package/lib/ui-scene.js +26 -21
- package/lib/utilities/constant.d.ts +43 -4
- package/lib/utilities/constant.js +41 -1
- package/lib/utilities/parameters.js +2 -2
- package/lib/utilities/renderer.d.ts +1 -0
- package/lib/utilities/renderer.js +6 -2
- package/package.json +14 -14
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/login_confirm.png +0 -0
- package/public/index.html +34 -11
- package/dist/132.js +0 -2
- package/dist/132.js.LICENSE.txt +0 -311
- package/dist/651.js +0 -2
- package/dist/651.js.LICENSE.txt +0 -1
- package/dist/73.js +0 -1
- package/dist/index.html +0 -13
- package/dist/main.da7c203ab32d15742cfe.css +0 -11760
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -254
- package/dist/worker-entry.worker.js.LICENSE.txt +0 -13
- package/lib/modules/device-pretest/settings/index.css +0 -15
- package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
- package/lib/modules/participant/attendee/participants-more-action.js +0 -278
|
@@ -94,7 +94,7 @@ var _icon = require("agora-ui-foundation/lib/components/icon");
|
|
|
94
94
|
var _types = require("agora-edu-core/lib/room-control/whiteboard-control/types");
|
|
95
95
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
96
96
|
var _ShareScreenStore;
|
|
97
|
-
var _initProto, _init__shareSelectionDialogId, _init__controlBarDialogId, _init__videoWindowDialogId, _init__isHost, _init__shareLocked, _init__screenTrack, _init__shareAudioTrack, _init__localUser, _init_screenSharingState, _init_applicationCaptureSources, _init_screenCaptureSources, _init_hasScreenCapturePermission, _init_showConfirm, _init_shareControlBarActive, _init_withAudio, _init_currentShareAudioProcessingChannel, _init_currentShareId, _init_sharerId, _init_currentShareType, _init_currentSelection, _init_currentSelectionType, _init_shareWithAudio, _init_boardOwnerUser, _init_localUser, _init_localUserRole, _init_title, _init_localMicrophoneMute, _handleChooseScreenDecs, _init_handleChooseScreen, _setShareWithAudioStateDecs, _setShareAudioProcessingChannelDecs, _sendLocalAudioStateEventDecs, _handleCheckScreenCapturePermissionDecs, _handleToSettingDecs, _muteLocalAudioDecs, _muteLocalVideoDecs, _handleShareStartWithAudioDecs, _handleShareStopWithAudioDecs, _startPreviewDecs, _setShareControlBarActiveDecs, _setCurrentCameraIdDecs, _setCurrentSpeakerIdDecs, _setCurrentMicrophoneIdDecs, _setAllowChangeSelfNameDecs, _setAllowChatDecs, _setAllowJoinWithMuteAudioDecs, _setAllowShareScreenDecs, _setAllowUnmuteSelfVideoDecs, _setAllowUnmuteSelfAudioDecs, _setLockRoomEnabledDecs,
|
|
97
|
+
var _initProto, _init__shareSelectionDialogId, _init__controlBarDialogId, _init__videoWindowDialogId, _init__isHost, _init__shareLocked, _init__screenTrack, _init__shareAudioTrack, _init__localUser, _init_screenSharingState, _init_applicationCaptureSources, _init_screenCaptureSources, _init_hasScreenCapturePermission, _init_showConfirm, _init_shareControlBarActive, _init_withAudio, _init_currentShareAudioProcessingChannel, _init_currentShareId, _init_sharerId, _init_currentShareType, _init_currentSelection, _init_currentSelectionType, _init_shareWithAudio, _init_boardOwnerUser, _init_localUser, _init_localUserRole, _init_title, _init_localMicrophoneMute, _handleChooseScreenDecs, _init_handleChooseScreen, _setShareWithAudioStateDecs, _setShareAudioProcessingChannelDecs, _sendLocalAudioStateEventDecs, _handleCheckScreenCapturePermissionDecs, _handleToSettingDecs, _muteLocalAudioDecs, _muteLocalVideoDecs, _handleShareStartWithAudioDecs, _handleShareStopWithAudioDecs, _startPreviewDecs, _setShareControlBarActiveDecs, _setCurrentCameraIdDecs, _setCurrentSpeakerIdDecs, _setCurrentMicrophoneIdDecs, _setAllowChangeSelfNameDecs, _setAllowChatDecs, _setAllowJoinWithMuteAudioDecs, _setAllowShareScreenDecs, _setAllowUnmuteSelfVideoDecs, _setAllowUnmuteSelfAudioDecs, _setLockRoomEnabledDecs, _openDialogDecs, _closeShareScreenSelectionDecs, _openControlBarDecs, _setControlBarWindowIdDecs, _openVideoWindowDialogDecs, _closeControlBarDecs, _closeVideoWindowDialogDecs, _setShareWithAudioDecs, _setWithAudioStateDecs, _handleShareScreenResourceDecs, _handleStartShareDecs, _handleReplaceScreenDecs, _handleStopShareDecs, _handleScreenCaptureStateUpdatedDecs, _updateCameraListDecs, _updateMicrophoneListDecs, _updateSpeakerListDecs, _handleLiveStreamingStateUpdatedDecs, _setShareLockDecs, _refreshLocalUserDecs, _ref;
|
|
98
98
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
99
99
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
100
100
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -132,7 +132,7 @@ var _X = /*#__PURE__*/new WeakMap();
|
|
|
132
132
|
var _Y = /*#__PURE__*/new WeakMap();
|
|
133
133
|
var _Z = /*#__PURE__*/new WeakMap();
|
|
134
134
|
var _a = /*#__PURE__*/new WeakMap();
|
|
135
|
-
_ref = (_handleChooseScreenDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _sendLocalAudioStateEventDecs = [_mobx.action, _mobx.action.bound], _handleCheckScreenCapturePermissionDecs = [_mobx.action, _mobx.action.bound], _handleToSettingDecs = [_mobx.action, _mobx.action.bound], _muteLocalAudioDecs = [_mobx.action, _mobx.action.bound], _muteLocalVideoDecs = [_mobx.action, _mobx.action.bound], _handleShareStartWithAudioDecs = [_mobx.action, _mobx.action.bound], _handleShareStopWithAudioDecs = [_mobx.action, _mobx.action.bound], _startPreviewDecs = [_mobx.action, _mobx.action.bound], _setShareControlBarActiveDecs = [_mobx.action, _mobx.action.bound], _setCurrentCameraIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setAllowChangeSelfNameDecs = [_mobx.action, _mobx.action.bound], _setAllowChatDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _setAllowShareScreenDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfVideoDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfAudioDecs = [_mobx.action, _mobx.action.bound], _setLockRoomEnabledDecs = [_mobx.action, _mobx.action.bound],
|
|
135
|
+
_ref = (_handleChooseScreenDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _sendLocalAudioStateEventDecs = [_mobx.action, _mobx.action.bound], _handleCheckScreenCapturePermissionDecs = [_mobx.action, _mobx.action.bound], _handleToSettingDecs = [_mobx.action, _mobx.action.bound], _muteLocalAudioDecs = [_mobx.action, _mobx.action.bound], _muteLocalVideoDecs = [_mobx.action, _mobx.action.bound], _handleShareStartWithAudioDecs = [_mobx.action, _mobx.action.bound], _handleShareStopWithAudioDecs = [_mobx.action, _mobx.action.bound], _startPreviewDecs = [_mobx.action, _mobx.action.bound], _setShareControlBarActiveDecs = [_mobx.action, _mobx.action.bound], _setCurrentCameraIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setAllowChangeSelfNameDecs = [_mobx.action, _mobx.action.bound], _setAllowChatDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _setAllowShareScreenDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfVideoDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfAudioDecs = [_mobx.action, _mobx.action.bound], _setLockRoomEnabledDecs = [_mobx.action, _mobx.action.bound], _openDialogDecs = [_mobx.action, _mobx.action.bound], _closeShareScreenSelectionDecs = [_mobx.action, _mobx.action.bound], _openControlBarDecs = [_mobx.action, _mobx.action.bound], _setControlBarWindowIdDecs = [_mobx.action, _mobx.action.bound], _openVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _closeControlBarDecs = [_mobx.action, _mobx.action.bound], _closeVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioDecs = [_mobx.action, _mobx.action.bound], _setWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _handleShareScreenResourceDecs = [_mobx.action, _mobx.action.bound], _handleStartShareDecs = [_mobx.action, _mobx.action.bound], _handleReplaceScreenDecs = [_mobx.action, _mobx.action.bound], _handleStopShareDecs = [_mobx.action, _mobx.action.bound], _handleScreenCaptureStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _updateCameraListDecs = [_mobx.action, _mobx.action.bound], _updateMicrophoneListDecs = [_mobx.action, _mobx.action.bound], _updateSpeakerListDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _setShareLockDecs = [_mobx.action, _mobx.action.bound], _refreshLocalUserDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
136
136
|
var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
137
137
|
function ShareScreenStore(_ref2) {
|
|
138
138
|
var _this = this,
|
|
@@ -143,7 +143,8 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
143
143
|
securityStore = _ref2.securityStore,
|
|
144
144
|
uiEventStore = _ref2.uiEventStore,
|
|
145
145
|
deviceStore = _ref2.deviceStore,
|
|
146
|
-
deviceStreamStore = _ref2.deviceStreamStore
|
|
146
|
+
deviceStreamStore = _ref2.deviceStreamStore,
|
|
147
|
+
config = _ref2.config;
|
|
147
148
|
(0, _classCallCheck2["default"])(this, ShareScreenStore);
|
|
148
149
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
149
150
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
@@ -204,6 +205,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
204
205
|
_this.currentSelection = id;
|
|
205
206
|
_this.currentSelectionType = type;
|
|
206
207
|
}));
|
|
208
|
+
this._config = config;
|
|
207
209
|
this._roomControl = roomControl;
|
|
208
210
|
this._mediaControl = mediaControl;
|
|
209
211
|
this._streamControl = roomControl.getStreamControl();
|
|
@@ -655,11 +657,11 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
655
657
|
value: function setLockRoomEnabled(lock) {
|
|
656
658
|
this._securityStore.setLockRoomEnabled(lock);
|
|
657
659
|
}
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
660
|
+
|
|
661
|
+
// @action.bound
|
|
662
|
+
// setWaitingRoomEnabled(allow: boolean) {
|
|
663
|
+
// this._securityStore.setWaitingRoomEnabled();
|
|
664
|
+
// }
|
|
663
665
|
}, {
|
|
664
666
|
key: "openDialog",
|
|
665
667
|
value: function openDialog(item) {
|
|
@@ -723,6 +725,11 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
723
725
|
onOk: function onOk() {
|
|
724
726
|
_this2._deviceStore.setMicrophoneEnabled(true);
|
|
725
727
|
_this2._setWithAudioState(withAudio);
|
|
728
|
+
if (withAudio) {
|
|
729
|
+
_this2.handleShareStartWithAudio();
|
|
730
|
+
} else {
|
|
731
|
+
_this2.handleShareStopWithAudio();
|
|
732
|
+
}
|
|
726
733
|
dialogKey && _this2._uiEventStore.closeDialog(dialogKey);
|
|
727
734
|
},
|
|
728
735
|
onCancel: function onCancel() {
|
|
@@ -732,6 +739,11 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
732
739
|
});
|
|
733
740
|
if (dialogKey) return;
|
|
734
741
|
this._setWithAudioState(withAudio);
|
|
742
|
+
if (withAudio) {
|
|
743
|
+
this.handleShareStartWithAudio();
|
|
744
|
+
} else {
|
|
745
|
+
this.handleShareStopWithAudio();
|
|
746
|
+
}
|
|
735
747
|
}
|
|
736
748
|
}, {
|
|
737
749
|
key: "_setWithAudioState",
|
|
@@ -796,7 +808,8 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
796
808
|
height: shareSelectionHeight,
|
|
797
809
|
x: mainWidowX + Math.floor(mainWidth / 2) - Math.floor(NORMAL_WIDTH / 2),
|
|
798
810
|
y: mainWindowY + Math.floor(mainHeight / 2) - Math.floor(shareSelectionHeight / 2) + offsetForToast,
|
|
799
|
-
controlBarDialogId: this._controlBarDialogId
|
|
811
|
+
controlBarDialogId: this._controlBarDialogId,
|
|
812
|
+
transparent: true
|
|
800
813
|
});
|
|
801
814
|
return _context3.abrupt("return");
|
|
802
815
|
case 20:
|
|
@@ -952,9 +965,10 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
952
965
|
while (1) switch (_context5.prev = _context5.next) {
|
|
953
966
|
case 0:
|
|
954
967
|
if (!(state === _agoraEduCore.FcrMediaSourceState.STOPPED)) {
|
|
955
|
-
_context5.next =
|
|
968
|
+
_context5.next = 18;
|
|
956
969
|
break;
|
|
957
970
|
}
|
|
971
|
+
_this3._initToolbar();
|
|
958
972
|
screenTrack.removeObserver(_this3._observer);
|
|
959
973
|
screenTrack.removeObserver(observer);
|
|
960
974
|
newScreenTrack = _this3._mediaControl.getScreenTrack(id);
|
|
@@ -964,14 +978,14 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
964
978
|
_this3._screenTrack = newScreenTrack;
|
|
965
979
|
excludeWindows = [];
|
|
966
980
|
if (!(0, _env.isElectron)()) {
|
|
967
|
-
_context5.next =
|
|
981
|
+
_context5.next = 12;
|
|
968
982
|
break;
|
|
969
983
|
}
|
|
970
|
-
_context5.next =
|
|
984
|
+
_context5.next = 11;
|
|
971
985
|
return _this3._getExcludeWindows();
|
|
972
|
-
case 10:
|
|
973
|
-
excludeWindows = _context5.sent;
|
|
974
986
|
case 11:
|
|
987
|
+
excludeWindows = _context5.sent;
|
|
988
|
+
case 12:
|
|
975
989
|
newScreenTrack.addObserver(_this3._observer);
|
|
976
990
|
newScreenTrack.start(type, {
|
|
977
991
|
// preview: true,
|
|
@@ -995,7 +1009,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
995
1009
|
withAudio: withAudio
|
|
996
1010
|
}
|
|
997
1011
|
});
|
|
998
|
-
case
|
|
1012
|
+
case 18:
|
|
999
1013
|
case "end":
|
|
1000
1014
|
return _context5.stop();
|
|
1001
1015
|
}
|
|
@@ -1330,123 +1344,15 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1330
1344
|
return _this6.shareControlBarActive;
|
|
1331
1345
|
}, /*#__PURE__*/function () {
|
|
1332
1346
|
var _ref4 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee10(active) {
|
|
1333
|
-
var cameraList, microphoneList, speakerList, localUser, scheduleInfo, liveStreamingConfig;
|
|
1334
1347
|
return _regenerator["default"].wrap(function _callee10$(_context10) {
|
|
1335
1348
|
while (1) switch (_context10.prev = _context10.next) {
|
|
1336
1349
|
case 0:
|
|
1337
|
-
if (
|
|
1338
|
-
|
|
1339
|
-
|
|
1350
|
+
if (active) {
|
|
1351
|
+
_this6._initToolbar();
|
|
1352
|
+
} else {
|
|
1353
|
+
_this6._deviceStore.removeObserver(_this6._deviceStoreObserver);
|
|
1340
1354
|
}
|
|
1341
|
-
|
|
1342
|
-
cameraList = _this6._deviceStore.cameraList;
|
|
1343
|
-
microphoneList = _this6._deviceStore.microphoneList;
|
|
1344
|
-
speakerList = _this6._deviceStore.speakerList;
|
|
1345
|
-
localUser = _this6._roomControl.getUserControl().getLocalUser();
|
|
1346
|
-
scheduleInfo = _this6._roomControl.getRoomSchedule();
|
|
1347
|
-
liveStreamingConfig = _this6._roomControl.getLiveStreamingConfig();
|
|
1348
|
-
_context10.t0 = _rendererEvent.sendEvent;
|
|
1349
|
-
_context10.t1 = _constant.RendererEventAction.INIT_CONTROL_BAR;
|
|
1350
|
-
_context10.t2 = _shareAudio.AudioProcessingChannel.MONO;
|
|
1351
|
-
_context10.t3 = _this6.currentShareId;
|
|
1352
|
-
_context10.t4 = _this6.currentShareType;
|
|
1353
|
-
_context10.t5 = _this6.withAudio;
|
|
1354
|
-
_context10.t6 = cameraList;
|
|
1355
|
-
_context10.t7 = _this6._deviceStore.cameraId;
|
|
1356
|
-
_context10.t8 = !_this6.localVideoState;
|
|
1357
|
-
_context10.t9 = microphoneList;
|
|
1358
|
-
_context10.t10 = speakerList;
|
|
1359
|
-
_context10.t11 = _this6._deviceStore.microphoneId;
|
|
1360
|
-
_context10.t12 = _this6._deviceStore.speakerId;
|
|
1361
|
-
_context10.t13 = !_this6.localAudioState;
|
|
1362
|
-
_context10.t14 = _this6._deviceStore.microphoneVolumeLevel;
|
|
1363
|
-
_context10.t15 = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.duration) || 0;
|
|
1364
|
-
_context10.t16 = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) || new Date().getTime();
|
|
1365
|
-
_context10.t17 = localUser.userRole === _type.FcrUserRole.HOST;
|
|
1366
|
-
_context10.t18 = localUser.userRole === _type.FcrUserRole.HOST;
|
|
1367
|
-
_context10.t19 = _this6._securityStore.allowChangeSelfName();
|
|
1368
|
-
_context10.t20 = _this6._securityStore.allowChat();
|
|
1369
|
-
_context10.t21 = _this6._securityStore.allowJoinWithMuteAudio();
|
|
1370
|
-
_context10.t22 = _this6._securityStore.allowScreenShareAndBoard();
|
|
1371
|
-
_context10.t23 = _this6._securityStore.allowUnmuteSelfVideo();
|
|
1372
|
-
_context10.t24 = _this6._securityStore.allowUnmuteSelfAudio();
|
|
1373
|
-
_context10.t25 = _this6._securityStore.isLockRoomEnabled();
|
|
1374
|
-
_context10.t26 = _this6._securityStore.isWaitingRoomEnabled();
|
|
1375
|
-
_context10.t27 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pushStreamingUrl;
|
|
1376
|
-
_context10.t28 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pushStreamingUrl;
|
|
1377
|
-
_context10.t29 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pullStreamingUrl;
|
|
1378
|
-
_context10.t30 = _this6._roomControl.getLiveStreamingState();
|
|
1379
|
-
_context10.t31 = _this6._securityStore.hasStartCloudRecordingPermission();
|
|
1380
|
-
_context10.t32 = _this6._securityStore.hasStartLiveStreamingPermission();
|
|
1381
|
-
_context10.t33 = _this6._securityStore.hasStopLiveStreamingPermission();
|
|
1382
|
-
_context10.t34 = _this6._securityStore.hasGetLiveStreamingLinkPermission();
|
|
1383
|
-
_context10.next = 45;
|
|
1384
|
-
return _this6._mediaControl.getWindowList();
|
|
1385
|
-
case 45:
|
|
1386
|
-
_context10.t35 = _context10.sent;
|
|
1387
|
-
_context10.t36 = _this6._connectType;
|
|
1388
|
-
_context10.t37 = _this6._securityStore.hasEnableStartScreenSharePermission();
|
|
1389
|
-
_context10.t38 = _this6._securityStore.hasPermissionToControlAllowSendAll();
|
|
1390
|
-
_context10.t39 = _this6._securityStore.hasEnableStartAudioPermission();
|
|
1391
|
-
_context10.t40 = _this6._securityStore.hasEnableChangeNamePermission();
|
|
1392
|
-
_context10.t41 = _this6._securityStore.hasEnableStartVideoPermission();
|
|
1393
|
-
_context10.t42 = _this6._securityStore.hasLockRoomPermission();
|
|
1394
|
-
_context10.t43 = {
|
|
1395
|
-
currentShareAudioProcessingChannel: _context10.t2,
|
|
1396
|
-
currentShareId: _context10.t3,
|
|
1397
|
-
currentShareType: _context10.t4,
|
|
1398
|
-
shareWithAudio: _context10.t5,
|
|
1399
|
-
cameraList: _context10.t6,
|
|
1400
|
-
currentCameraId: _context10.t7,
|
|
1401
|
-
isMuteVideo: _context10.t8,
|
|
1402
|
-
microphoneList: _context10.t9,
|
|
1403
|
-
speakerList: _context10.t10,
|
|
1404
|
-
currentMicrophoneId: _context10.t11,
|
|
1405
|
-
currentSpeakerId: _context10.t12,
|
|
1406
|
-
isMuteAudio: _context10.t13,
|
|
1407
|
-
localAudioVolume: _context10.t14,
|
|
1408
|
-
duration: _context10.t15,
|
|
1409
|
-
startTime: _context10.t16,
|
|
1410
|
-
isHost: _context10.t17,
|
|
1411
|
-
showSecurity: _context10.t18,
|
|
1412
|
-
allowChangeSelfName: _context10.t19,
|
|
1413
|
-
allowChat: _context10.t20,
|
|
1414
|
-
allowJoinWithMuteAudio: _context10.t21,
|
|
1415
|
-
allowShareScreen: _context10.t22,
|
|
1416
|
-
allowUnmuteSelfVideo: _context10.t23,
|
|
1417
|
-
allowUnmuteSelfAudio: _context10.t24,
|
|
1418
|
-
isLockRoomEnabled: _context10.t25,
|
|
1419
|
-
isWaitingRoomEnabled: _context10.t26,
|
|
1420
|
-
videoSteamingUrl: _context10.t27,
|
|
1421
|
-
videoStreamingKey: _context10.t28,
|
|
1422
|
-
playUrl: _context10.t29,
|
|
1423
|
-
liveStreamingState: _context10.t30,
|
|
1424
|
-
isStartError: false,
|
|
1425
|
-
hasStartCloudRecordingPermission: _context10.t31,
|
|
1426
|
-
hasStartLiveStreamingPermission: _context10.t32,
|
|
1427
|
-
hasStopLiveStreamingPermission: _context10.t33,
|
|
1428
|
-
hasGetLiveStreamingLinkPermission: _context10.t34,
|
|
1429
|
-
allApplicationWindows: _context10.t35,
|
|
1430
|
-
connectType: _context10.t36,
|
|
1431
|
-
hasEnableStartScreenSharePermission: _context10.t37,
|
|
1432
|
-
hasPermissionToControlAllowSendAll: _context10.t38,
|
|
1433
|
-
hasEnableStartAudioPermission: _context10.t39,
|
|
1434
|
-
hasEnableChangeNamePermission: _context10.t40,
|
|
1435
|
-
hasEnableStartVideoPermission: _context10.t41,
|
|
1436
|
-
hasLockRoomPermission: _context10.t42
|
|
1437
|
-
};
|
|
1438
|
-
_context10.t44 = {
|
|
1439
|
-
action: _context10.t1,
|
|
1440
|
-
payload: _context10.t43
|
|
1441
|
-
};
|
|
1442
|
-
(0, _context10.t0)(_context10.t44);
|
|
1443
|
-
window.runtime.browserWindow.setFullScreen(false);
|
|
1444
|
-
window.runtime.browserWindow.hide();
|
|
1445
|
-
_context10.next = 61;
|
|
1446
|
-
break;
|
|
1447
|
-
case 60:
|
|
1448
|
-
_this6._deviceStore.removeObserver(_this6._deviceStoreObserver);
|
|
1449
|
-
case 61:
|
|
1355
|
+
case 1:
|
|
1450
1356
|
case "end":
|
|
1451
1357
|
return _context10.stop();
|
|
1452
1358
|
}
|
|
@@ -1764,10 +1670,145 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1764
1670
|
}
|
|
1765
1671
|
return _getExcludeWindows;
|
|
1766
1672
|
}()
|
|
1673
|
+
}, {
|
|
1674
|
+
key: "_initToolbar",
|
|
1675
|
+
value: function () {
|
|
1676
|
+
var _initToolbar2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee16() {
|
|
1677
|
+
var cameraList, microphoneList, speakerList, localUser, scheduleInfo, liveStreamingConfig;
|
|
1678
|
+
return _regenerator["default"].wrap(function _callee16$(_context16) {
|
|
1679
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
1680
|
+
case 0:
|
|
1681
|
+
this._deviceStore.addObserver(this._deviceStoreObserver);
|
|
1682
|
+
cameraList = this._deviceStore.cameraList;
|
|
1683
|
+
microphoneList = this._deviceStore.microphoneList;
|
|
1684
|
+
speakerList = this._deviceStore.speakerList;
|
|
1685
|
+
localUser = this._roomControl.getUserControl().getLocalUser();
|
|
1686
|
+
scheduleInfo = this._roomControl.getRoomSchedule();
|
|
1687
|
+
liveStreamingConfig = this._roomControl.getLiveStreamingConfig();
|
|
1688
|
+
_context16.t0 = _rendererEvent.sendEvent;
|
|
1689
|
+
_context16.t1 = _constant.RendererEventAction.INIT_CONTROL_BAR;
|
|
1690
|
+
_context16.t2 = _shareAudio.AudioProcessingChannel.MONO;
|
|
1691
|
+
_context16.t3 = this.currentShareId;
|
|
1692
|
+
_context16.t4 = this.currentShareType;
|
|
1693
|
+
_context16.t5 = this.withAudio;
|
|
1694
|
+
_context16.t6 = cameraList;
|
|
1695
|
+
_context16.t7 = this._deviceStore.cameraId;
|
|
1696
|
+
_context16.t8 = !this.localVideoState;
|
|
1697
|
+
_context16.t9 = microphoneList;
|
|
1698
|
+
_context16.t10 = speakerList;
|
|
1699
|
+
_context16.t11 = this._deviceStore.microphoneId;
|
|
1700
|
+
_context16.t12 = this._deviceStore.speakerId;
|
|
1701
|
+
_context16.t13 = !this.localAudioState;
|
|
1702
|
+
_context16.t14 = this._deviceStore.microphoneVolumeLevel;
|
|
1703
|
+
_context16.t15 = localUser.userName;
|
|
1704
|
+
_context16.t16 = this._config.inviteLink;
|
|
1705
|
+
_context16.t17 = this._roomControl.getRoomInfo();
|
|
1706
|
+
_context16.t18 = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.duration) || 0;
|
|
1707
|
+
_context16.t19 = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) || new Date().getTime();
|
|
1708
|
+
_context16.t20 = localUser.userRole === _type.FcrUserRole.HOST;
|
|
1709
|
+
_context16.t21 = localUser.userRole === _type.FcrUserRole.HOST;
|
|
1710
|
+
_context16.t22 = this._securityStore.allowChangeSelfName();
|
|
1711
|
+
_context16.t23 = this._securityStore.allowChat();
|
|
1712
|
+
_context16.t24 = this._securityStore.allowJoinWithMuteAudio();
|
|
1713
|
+
_context16.t25 = this._securityStore.allowScreenShareAndBoard();
|
|
1714
|
+
_context16.t26 = this._securityStore.allowBoardWrite();
|
|
1715
|
+
_context16.t27 = this._securityStore.allowUnmuteSelfVideo();
|
|
1716
|
+
_context16.t28 = this._securityStore.allowUnmuteSelfAudio();
|
|
1717
|
+
_context16.t29 = this._securityStore.isLockRoomEnabled();
|
|
1718
|
+
_context16.t30 = this._securityStore.isWaitingRoomEnabled();
|
|
1719
|
+
_context16.t31 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pushStreamingUrl;
|
|
1720
|
+
_context16.t32 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pushStreamingUrl;
|
|
1721
|
+
_context16.t33 = liveStreamingConfig === null || liveStreamingConfig === void 0 ? void 0 : liveStreamingConfig.pullStreamingUrl;
|
|
1722
|
+
_context16.t34 = this._roomControl.getLiveStreamingState();
|
|
1723
|
+
_context16.t35 = this._securityStore.hasStartCloudRecordingPermission();
|
|
1724
|
+
_context16.t36 = this._securityStore.hasStartLiveStreamingPermission();
|
|
1725
|
+
_context16.t37 = this._securityStore.hasStopLiveStreamingPermission();
|
|
1726
|
+
_context16.t38 = this._securityStore.hasGetLiveStreamingLinkPermission();
|
|
1727
|
+
_context16.next = 48;
|
|
1728
|
+
return this._mediaControl.getWindowList();
|
|
1729
|
+
case 48:
|
|
1730
|
+
_context16.t39 = _context16.sent;
|
|
1731
|
+
_context16.t40 = this._connectType;
|
|
1732
|
+
_context16.t41 = this._securityStore.hasEnableStartScreenSharePermission();
|
|
1733
|
+
_context16.t42 = this._securityStore.hasPermissionToControlAllowSendAll();
|
|
1734
|
+
_context16.t43 = this._securityStore.hasEnableStartAudioPermission();
|
|
1735
|
+
_context16.t44 = this._securityStore.hasEnableChangeNamePermission();
|
|
1736
|
+
_context16.t45 = this._securityStore.hasEnableStartVideoPermission();
|
|
1737
|
+
_context16.t46 = this._securityStore.hasLockRoomPermission();
|
|
1738
|
+
_context16.t47 = this._securityStore.hasAllowWriteBoardPermission();
|
|
1739
|
+
_context16.t48 = this._securityStore.hasWaitingRoomPermission();
|
|
1740
|
+
_context16.t49 = {
|
|
1741
|
+
currentShareAudioProcessingChannel: _context16.t2,
|
|
1742
|
+
currentShareId: _context16.t3,
|
|
1743
|
+
currentShareType: _context16.t4,
|
|
1744
|
+
shareWithAudio: _context16.t5,
|
|
1745
|
+
cameraList: _context16.t6,
|
|
1746
|
+
currentCameraId: _context16.t7,
|
|
1747
|
+
isMuteVideo: _context16.t8,
|
|
1748
|
+
microphoneList: _context16.t9,
|
|
1749
|
+
speakerList: _context16.t10,
|
|
1750
|
+
currentMicrophoneId: _context16.t11,
|
|
1751
|
+
currentSpeakerId: _context16.t12,
|
|
1752
|
+
isMuteAudio: _context16.t13,
|
|
1753
|
+
localAudioVolume: _context16.t14,
|
|
1754
|
+
userName: _context16.t15,
|
|
1755
|
+
inviteLink: _context16.t16,
|
|
1756
|
+
roomInfo: _context16.t17,
|
|
1757
|
+
duration: _context16.t18,
|
|
1758
|
+
startTime: _context16.t19,
|
|
1759
|
+
isHost: _context16.t20,
|
|
1760
|
+
showSecurity: _context16.t21,
|
|
1761
|
+
allowChangeSelfName: _context16.t22,
|
|
1762
|
+
allowChat: _context16.t23,
|
|
1763
|
+
allowJoinWithMuteAudio: _context16.t24,
|
|
1764
|
+
allowShareScreen: _context16.t25,
|
|
1765
|
+
allowBoardWrite: _context16.t26,
|
|
1766
|
+
allowUnmuteSelfVideo: _context16.t27,
|
|
1767
|
+
allowUnmuteSelfAudio: _context16.t28,
|
|
1768
|
+
isLockRoomEnabled: _context16.t29,
|
|
1769
|
+
isWaitingRoomEnabled: _context16.t30,
|
|
1770
|
+
videoSteamingUrl: _context16.t31,
|
|
1771
|
+
videoStreamingKey: _context16.t32,
|
|
1772
|
+
playUrl: _context16.t33,
|
|
1773
|
+
liveStreamingState: _context16.t34,
|
|
1774
|
+
isStartError: false,
|
|
1775
|
+
hasStartCloudRecordingPermission: _context16.t35,
|
|
1776
|
+
hasStartLiveStreamingPermission: _context16.t36,
|
|
1777
|
+
hasStopLiveStreamingPermission: _context16.t37,
|
|
1778
|
+
hasGetLiveStreamingLinkPermission: _context16.t38,
|
|
1779
|
+
allApplicationWindows: _context16.t39,
|
|
1780
|
+
connectType: _context16.t40,
|
|
1781
|
+
hasEnableStartScreenSharePermission: _context16.t41,
|
|
1782
|
+
hasPermissionToControlAllowSendAll: _context16.t42,
|
|
1783
|
+
hasEnableStartAudioPermission: _context16.t43,
|
|
1784
|
+
hasEnableChangeNamePermission: _context16.t44,
|
|
1785
|
+
hasEnableStartVideoPermission: _context16.t45,
|
|
1786
|
+
hasLockRoomPermission: _context16.t46,
|
|
1787
|
+
hasAllowWriteBoardPermission: _context16.t47,
|
|
1788
|
+
hasWaitingRoomPermission: _context16.t48
|
|
1789
|
+
};
|
|
1790
|
+
_context16.t50 = {
|
|
1791
|
+
action: _context16.t1,
|
|
1792
|
+
payload: _context16.t49
|
|
1793
|
+
};
|
|
1794
|
+
(0, _context16.t0)(_context16.t50);
|
|
1795
|
+
window.runtime.browserWindow.setFullScreen(false);
|
|
1796
|
+
window.runtime.browserWindow.hide();
|
|
1797
|
+
case 63:
|
|
1798
|
+
case "end":
|
|
1799
|
+
return _context16.stop();
|
|
1800
|
+
}
|
|
1801
|
+
}, _callee16, this);
|
|
1802
|
+
}));
|
|
1803
|
+
function _initToolbar() {
|
|
1804
|
+
return _initToolbar2.apply(this, arguments);
|
|
1805
|
+
}
|
|
1806
|
+
return _initToolbar;
|
|
1807
|
+
}()
|
|
1767
1808
|
}]);
|
|
1768
1809
|
}();
|
|
1769
1810
|
_ShareScreenStore = ShareScreenStore;
|
|
1770
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ShareScreenStore, [[_mobx.observable, 1, "_shareSelectionDialogId"], [_mobx.observable, 1, "_controlBarDialogId"], [_mobx.observable, 1, "_videoWindowDialogId"], [_mobx.observable, 1, "_isHost"], [_mobx.observable, 1, "_shareLocked"], [_mobx.observable, 1, "_screenTrack"], [_mobx.observable, 1, "_shareAudioTrack"], [_mobx.observable, 1, "_localUser"], [_mobx.observable, 1, "screenSharingState"], [_mobx.observable, 1, "applicationCaptureSources"], [_mobx.observable, 1, "screenCaptureSources"], [_mobx.observable, 1, "hasScreenCapturePermission"], [_mobx.observable, 1, "showConfirm"], [_mobx.observable, 1, "shareControlBarActive"], [_mobx.observable, 1, "withAudio"], [_mobx.observable, 1, "currentShareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "sharerId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "currentSelection"], [_mobx.observable, 1, "currentSelectionType"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "title"], [_mobx.observable, 1, "localMicrophoneMute"], [_mobx.computed, 3, "localVideoState"], [_mobx.computed, 3, "localAudioState"], [_mobx.computed, 3, "localAudioVolume"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_decorator.bound, 2, "handlerBoardShareStop"], [_sendLocalAudioStateEventDecs, 18, "sendLocalAudioStateEvent"], [_decorator.bound, 2, "release"], [_handleCheckScreenCapturePermissionDecs, 18, "handleCheckScreenCapturePermission"], [_handleToSettingDecs, 18, "handleToSetting"], [_muteLocalAudioDecs, 18, "muteLocalAudio"], [_muteLocalVideoDecs, 18, "muteLocalVideo"], [_handleShareStartWithAudioDecs, 18, "handleShareStartWithAudio"], [_handleShareStopWithAudioDecs, 18, "handleShareStopWithAudio"], [_startPreviewDecs, 18, "startPreview"], [_setShareControlBarActiveDecs, 18, "setShareControlBarActive"], [_setCurrentCameraIdDecs, 18, "setCurrentCameraId"], [_setCurrentSpeakerIdDecs, 18, "setCurrentSpeakerId"], [_setCurrentMicrophoneIdDecs, 18, "setCurrentMicrophoneId"], [_setAllowChangeSelfNameDecs, 18, "setAllowChangeSelfName"], [_setAllowChatDecs, 18, "setAllowChat"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_setAllowShareScreenDecs, 18, "setAllowShareScreen"], [_setAllowUnmuteSelfVideoDecs, 18, "setAllowUnmuteSelfVideo"], [_setAllowUnmuteSelfAudioDecs, 18, "setAllowUnmuteSelfAudio"], [_setLockRoomEnabledDecs, 18, "setLockRoomEnabled"], [
|
|
1811
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ShareScreenStore, [[_mobx.observable, 1, "_shareSelectionDialogId"], [_mobx.observable, 1, "_controlBarDialogId"], [_mobx.observable, 1, "_videoWindowDialogId"], [_mobx.observable, 1, "_isHost"], [_mobx.observable, 1, "_shareLocked"], [_mobx.observable, 1, "_screenTrack"], [_mobx.observable, 1, "_shareAudioTrack"], [_mobx.observable, 1, "_localUser"], [_mobx.observable, 1, "screenSharingState"], [_mobx.observable, 1, "applicationCaptureSources"], [_mobx.observable, 1, "screenCaptureSources"], [_mobx.observable, 1, "hasScreenCapturePermission"], [_mobx.observable, 1, "showConfirm"], [_mobx.observable, 1, "shareControlBarActive"], [_mobx.observable, 1, "withAudio"], [_mobx.observable, 1, "currentShareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "sharerId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "currentSelection"], [_mobx.observable, 1, "currentSelectionType"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "title"], [_mobx.observable, 1, "localMicrophoneMute"], [_mobx.computed, 3, "localVideoState"], [_mobx.computed, 3, "localAudioState"], [_mobx.computed, 3, "localAudioVolume"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_decorator.bound, 2, "handlerBoardShareStop"], [_sendLocalAudioStateEventDecs, 18, "sendLocalAudioStateEvent"], [_decorator.bound, 2, "release"], [_handleCheckScreenCapturePermissionDecs, 18, "handleCheckScreenCapturePermission"], [_handleToSettingDecs, 18, "handleToSetting"], [_muteLocalAudioDecs, 18, "muteLocalAudio"], [_muteLocalVideoDecs, 18, "muteLocalVideo"], [_handleShareStartWithAudioDecs, 18, "handleShareStartWithAudio"], [_handleShareStopWithAudioDecs, 18, "handleShareStopWithAudio"], [_startPreviewDecs, 18, "startPreview"], [_setShareControlBarActiveDecs, 18, "setShareControlBarActive"], [_setCurrentCameraIdDecs, 18, "setCurrentCameraId"], [_setCurrentSpeakerIdDecs, 18, "setCurrentSpeakerId"], [_setCurrentMicrophoneIdDecs, 18, "setCurrentMicrophoneId"], [_setAllowChangeSelfNameDecs, 18, "setAllowChangeSelfName"], [_setAllowChatDecs, 18, "setAllowChat"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_setAllowShareScreenDecs, 18, "setAllowShareScreen"], [_setAllowUnmuteSelfVideoDecs, 18, "setAllowUnmuteSelfVideo"], [_setAllowUnmuteSelfAudioDecs, 18, "setAllowUnmuteSelfAudio"], [_setLockRoomEnabledDecs, 18, "setLockRoomEnabled"], [_openDialogDecs, 18, "openDialog"], [_decorator.bound, 2, "closeDialog"], [_decorator.bound, 2, "openLiveStreamingDialog"], [_closeShareScreenSelectionDecs, 18, "closeShareScreenSelection"], [_openControlBarDecs, 18, "openControlBar"], [_setControlBarWindowIdDecs, 18, "setControlBarWindowId"], [_openVideoWindowDialogDecs, 18, "openVideoWindowDialog"], [_closeControlBarDecs, 18, "closeControlBar"], [_closeVideoWindowDialogDecs, 18, "closeVideoWindowDialog"], [_setShareWithAudioDecs, 18, "setShareWithAudio"], [_setWithAudioStateDecs, 18, "_setWithAudioState"], [_handleShareScreenResourceDecs, 18, "handleShareScreenResource"], [_handleStartShareDecs, 18, "handleStartShare"], [_handleReplaceScreenDecs, 18, "handleReplaceScreen"], [_handleStopShareDecs, 18, "handleStopShare"], [_decorator.bound, 2, "_handleWebScreenCaptureStateUpdated"], [_handleScreenCaptureStateUpdatedDecs, 18, "_handleScreenCaptureStateUpdated"], [_updateCameraListDecs, 18, "_updateCameraList"], [_updateMicrophoneListDecs, 18, "_updateMicrophoneList"], [_updateSpeakerListDecs, 18, "_updateSpeakerList"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_setShareLockDecs, 18, "_setShareLock"], [_decorator.bound, 2, "_syncShareStreamState"], [_refreshLocalUserDecs, 18, "_refreshLocalUser"], [_handleChooseScreenDecs, 16, "handleChooseScreen"]], []).e, 29);
|
|
1771
1812
|
_init__shareSelectionDialogId = _applyDecs$e[0];
|
|
1772
1813
|
_init__controlBarDialogId = _applyDecs$e[1];
|
|
1773
1814
|
_init__videoWindowDialogId = _applyDecs$e[2];
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
.fcr-state-bar__meeting-info-drop .fcr-drop-menu {
|
|
487
487
|
width: 100%;
|
|
488
488
|
border: 1px solid var(--fcr_ui_scene_line1);
|
|
489
|
-
box-shadow:
|
|
489
|
+
box-shadow: var(--fcr_web_light_dropup_m);
|
|
490
490
|
}
|
|
491
491
|
.fcr-state-bar__meeting-info-drop .fcr-drop-menu-option-text {
|
|
492
492
|
overflow: hidden;
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
.fcr-state-bar__meeting-info-drop .fcr-drop-menu {
|
|
528
528
|
width: 100%;
|
|
529
529
|
border: 1px solid var(--fcr_ui_scene_line1);
|
|
530
|
-
box-shadow:
|
|
530
|
+
box-shadow: var(--fcr_web_light_dropup_m);
|
|
531
531
|
}
|
|
532
532
|
.fcr-state-bar__meeting-info-drop .fcr-drop-menu-option-text {
|
|
533
533
|
overflow: hidden;
|
|
@@ -3,11 +3,11 @@ import './index.css';
|
|
|
3
3
|
import { FcrUIEventStore } from '../../common/event-store';
|
|
4
4
|
import { FcrSecurityStore } from '../../common/security-store';
|
|
5
5
|
import { FcrUISceneConfig } from '../../type';
|
|
6
|
-
import { FcrMainRoomControl } from 'agora-edu-core/lib/room-control/type';
|
|
6
|
+
import { FcrMainRoomControl, FcrWaitingRoomControl } from 'agora-edu-core/lib/room-control/type';
|
|
7
7
|
export declare class StateBarUIModule extends UIModule {
|
|
8
8
|
private _store;
|
|
9
9
|
constructor({ roomControl, uiEventStore, securityStore, config, }: {
|
|
10
|
-
roomControl: FcrMainRoomControl;
|
|
10
|
+
roomControl: FcrMainRoomControl | FcrWaitingRoomControl;
|
|
11
11
|
uiEventStore: FcrUIEventStore;
|
|
12
12
|
securityStore: FcrSecurityStore;
|
|
13
13
|
config: FcrUISceneConfig;
|
|
@@ -37,7 +37,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
|
|
|
37
37
|
_context.next = 5;
|
|
38
38
|
return engine.login();
|
|
39
39
|
case 5:
|
|
40
|
-
roomControl = engine.
|
|
40
|
+
roomControl = engine.createMainRoomControl(roomId);
|
|
41
41
|
_context.next = 8;
|
|
42
42
|
return roomControl.join({
|
|
43
43
|
userRole: _type.FcrUserRole.HOST,
|
|
@@ -18,15 +18,17 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.meeting-details__content {
|
|
21
|
-
margin-top:
|
|
21
|
+
margin-top: 12px;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.meeting-details__content-meeting-subject {
|
|
25
25
|
font-size: 12px;
|
|
26
|
-
font-weight:
|
|
26
|
+
font-weight: 600;
|
|
27
27
|
color: var(--fcr_ui_scene_icontext1, #ffffff);
|
|
28
28
|
word-break: break-all;
|
|
29
29
|
text-align: left;
|
|
30
|
+
min-height: 32px;
|
|
31
|
+
line-height: 32px;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.meeting-details__content-meeting-id,
|
|
@@ -78,8 +80,8 @@
|
|
|
78
80
|
.meeting-details__content-meeting-id > div > svg:hover,
|
|
79
81
|
.meeting-details__content-code > div > svg:hover,
|
|
80
82
|
.meeting-details__content-share-link > div > svg:hover {
|
|
81
|
-
background-color: var(--fcr_web_ui_scene_hover
|
|
82
|
-
fill: var(--
|
|
83
|
+
background-color: var(--fcr_web_ui_scene_hover);
|
|
84
|
+
fill: var(--fcr_web_ui_scene_mainicon2);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
.meeting-details__footer {
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.MeetingDetails = void 0;
|
|
9
|
+
require("core-js/modules/es.array.concat.js");
|
|
9
10
|
require("core-js/modules/es.regexp.exec.js");
|
|
10
11
|
require("core-js/modules/es.string.replace.js");
|
|
11
12
|
var _button = require("agora-ui-foundation/lib/components/button");
|
|
@@ -27,17 +28,21 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
|
|
|
27
28
|
localUser = _useContext.localUser,
|
|
28
29
|
roomInfo = _useContext.roomInfo,
|
|
29
30
|
scheduleInfo = _useContext.scheduleInfo,
|
|
30
|
-
getShareLink = _useContext.getShareLink
|
|
31
|
+
getShareLink = _useContext.getShareLink,
|
|
32
|
+
password = _useContext.password,
|
|
33
|
+
toastCopyInfo = _useContext.toastCopyInfo,
|
|
34
|
+
meetingId = _useContext.meetingId;
|
|
31
35
|
var shareLink = (0, _react.useMemo)(function () {
|
|
32
36
|
return getShareLink();
|
|
33
37
|
}, []);
|
|
34
38
|
if (!roomInfo || !localUser) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
|
|
35
|
-
var displayMeetingId = roomInfo.roomId.replace(/(.{3})/g, '$1 ');
|
|
36
|
-
var detailText = t('
|
|
39
|
+
var displayMeetingId = meetingId ? meetingId : roomInfo.roomId.replace(/(.{3})/g, '$1 ');
|
|
40
|
+
var detailText = t('fmt_link_invitation', {
|
|
37
41
|
reason1: localUser.userName,
|
|
38
42
|
reason2: roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomName,
|
|
39
43
|
reason3: (0, _dayjs["default"])((_scheduleInfo$startTi = scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) !== null && _scheduleInfo$startTi !== void 0 ? _scheduleInfo$startTi : 0).format('YYYY-MM-DD HH:mm:ss'),
|
|
40
|
-
reason4: shareLink
|
|
44
|
+
reason4: shareLink,
|
|
45
|
+
reason5: !!password ? "".concat(t('fmt_meeting_creatpage_label_password'), ": ").concat(password) : ''
|
|
41
46
|
});
|
|
42
47
|
function handleCopyMeetingId(meetingId) {
|
|
43
48
|
(0, _copyText.copyText)(meetingId).then(function () {
|
|
@@ -56,6 +61,13 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
|
|
|
56
61
|
});
|
|
57
62
|
});
|
|
58
63
|
}
|
|
64
|
+
function handleCopyMeetingPassword(password) {
|
|
65
|
+
(0, _copyText.copyText)(password).then(function () {
|
|
66
|
+
toastCopyInfo('info', t('fmt_uimanager_tips_passwordcopied'));
|
|
67
|
+
})["catch"](function () {
|
|
68
|
+
toastCopyInfo('warn', t('fmt_settings_tips_passwordcopyfailed'));
|
|
69
|
+
});
|
|
70
|
+
}
|
|
59
71
|
function handlerCopyMeetingShareLink(shareLink) {
|
|
60
72
|
(0, _copyText.copyText)(shareLink).then(function () {
|
|
61
73
|
_toast.FcrToastApi.open({
|
|
@@ -108,7 +120,7 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
|
|
|
108
120
|
children: displayMeetingId
|
|
109
121
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
110
122
|
onClick: function onClick() {
|
|
111
|
-
return handleCopyMeetingId(roomInfo.roomId);
|
|
123
|
+
return handleCopyMeetingId(meetingId !== null && meetingId !== void 0 ? meetingId : roomInfo.roomId);
|
|
112
124
|
},
|
|
113
125
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
114
126
|
type: _type.FcrIconType.FCR_COPY,
|
|
@@ -130,6 +142,21 @@ var MeetingDetails = exports.MeetingDetails = (0, _mobxReact.observer)(function
|
|
|
130
142
|
size: 22
|
|
131
143
|
})
|
|
132
144
|
})]
|
|
145
|
+
}), !!password && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
146
|
+
className: "meeting-details__content-share-link",
|
|
147
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
|
|
148
|
+
children: t('fmt_meeting_creatpage_label_password')
|
|
149
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
150
|
+
children: password
|
|
151
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
152
|
+
onClick: function onClick() {
|
|
153
|
+
return handleCopyMeetingPassword(password !== null && password !== void 0 ? password : '');
|
|
154
|
+
},
|
|
155
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icon.FcrIcon, {
|
|
156
|
+
type: _type.FcrIconType.FCR_COPY,
|
|
157
|
+
size: 22
|
|
158
|
+
})
|
|
159
|
+
})]
|
|
133
160
|
})]
|
|
134
161
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
135
162
|
className: "meeting-details__footer",
|
|
@@ -11,18 +11,28 @@
|
|
|
11
11
|
.meeting-network-state__connection {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
|
+
align-items: start;
|
|
14
15
|
border-radius: var(--fcr_cornerradius_l, 8px);
|
|
15
|
-
padding: 18px 15px;
|
|
16
|
+
padding: 18px 15px 20px 15px;
|
|
16
17
|
background-color: var(--fcr_web_ui_scene_fill4_popup, #43434e);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.meeting-network-state__connection > label {
|
|
20
21
|
font-size: 14px;
|
|
22
|
+
height: 30px;
|
|
23
|
+
line-height: 30px;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.meeting-network-state__connection .meeting-network-state_text {
|
|
28
|
+
vertical-align: middle;
|
|
21
29
|
}
|
|
22
30
|
|
|
23
31
|
.meeting-network-state__connection > span {
|
|
24
|
-
margin-top:
|
|
32
|
+
margin-top: 6px;
|
|
25
33
|
font-size: 22px;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
height: 24px;
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
.meeting-network-state__connection > span.excellent {
|
|
@@ -47,7 +57,7 @@
|
|
|
47
57
|
}
|
|
48
58
|
|
|
49
59
|
.meeting-network-state__loss-rate {
|
|
50
|
-
margin-bottom: 10px;
|
|
60
|
+
/* margin-bottom: 10px; */
|
|
51
61
|
}
|
|
52
62
|
|
|
53
63
|
.meeting-network-state__delay,
|
|
@@ -87,6 +97,7 @@
|
|
|
87
97
|
.meeting-network-state__loss-rate__value > div {
|
|
88
98
|
display: flex;
|
|
89
99
|
line-height: 32px;
|
|
100
|
+
text-align: left;
|
|
90
101
|
}
|
|
91
102
|
|
|
92
103
|
.meeting-network-state__loss-rate__value > div > span:first-child {
|