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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.InterpreterView = void 0;
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
var _mobxReact = require("mobx-react");
|
|
11
|
+
var _context = require("./context");
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
var _interpreterList = _interopRequireDefault(require("./interpreter-list"));
|
|
14
|
+
var _footer = _interopRequireDefault(require("./footer"));
|
|
15
|
+
require("./index.css");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
var InterpreterView = exports.InterpreterView = (0, _mobxReact.observer)(function () {
|
|
18
|
+
var _useContext = (0, _react.useContext)(_context.StoreContext),
|
|
19
|
+
setInterpreterListEditState = _useContext.setInterpreterListEditState,
|
|
20
|
+
interpreterUsersEditState = _useContext.interpreterUsersEditState;
|
|
21
|
+
(0, _react.useEffect)(function () {
|
|
22
|
+
return function () {
|
|
23
|
+
if (interpreterUsersEditState) {
|
|
24
|
+
setInterpreterListEditState();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}, []);
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
29
|
+
className: (0, _classnames["default"])('fcr-simultaneous-interpretation__layout'),
|
|
30
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_interpreterList["default"], {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_footer["default"], {})]
|
|
31
|
+
});
|
|
32
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Interpreter = void 0;
|
|
8
|
+
var _item = require("../item");
|
|
9
|
+
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
10
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
11
|
+
var _react = require("react");
|
|
12
|
+
var _context = require("../context");
|
|
13
|
+
var _mobxReact = require("mobx-react");
|
|
14
|
+
var _fcrCore = require("fcr-core");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
var Interpreter = exports.Interpreter = (0, _mobxReact.observer)(function (props) {
|
|
17
|
+
var id = props.id,
|
|
18
|
+
order = props.order;
|
|
19
|
+
var actionStore = (0, _react.useContext)(_context.ActionBarContext);
|
|
20
|
+
var openInterpreterDialog = actionStore.openInterpreterDialog,
|
|
21
|
+
interpreterState = actionStore.interpreterState,
|
|
22
|
+
localUserRole = actionStore.localUserRole;
|
|
23
|
+
if (localUserRole !== _fcrCore.FcrUserRole.HOST) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
var content = interpreterState ? '关闭同声传译' : '开启同声传译';
|
|
27
|
+
var icon = interpreterState ? _type.FcrIconType.FCR_SIMULTANEOUSINTERPRETATION_OFF : _type.FcrIconType.FCR_SIMULTANEOUSINTERPRETATION_ON;
|
|
28
|
+
var title = '同声传译';
|
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
30
|
+
content: content,
|
|
31
|
+
mouseEnterDelay: 0,
|
|
32
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_item.ActionBarItem, {
|
|
33
|
+
id: id,
|
|
34
|
+
order: order,
|
|
35
|
+
onClick: openInterpreterDialog,
|
|
36
|
+
className: "fcr-action-bar-item-wrapper-apps-item",
|
|
37
|
+
icon: icon,
|
|
38
|
+
title: title,
|
|
39
|
+
iconColors: {
|
|
40
|
+
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
});
|
|
@@ -69,13 +69,13 @@ var midActionOrderMap = exports.midActionOrderMap = [/*#__PURE__*/(0, _jsxRuntim
|
|
|
69
69
|
// <Board id="Whiteboard" key="Whiteboard" order={6} />,
|
|
70
70
|
// <BreakoutRoom id="BreakoutRoom" key="BreakoutRoom" order={7} />,
|
|
71
71
|
// <Respond id="Respond" key="Respond" order={8} />,
|
|
72
|
-
(0, _jsxRuntime.jsx)(
|
|
73
|
-
id: "Settings",
|
|
74
|
-
order: 9
|
|
75
|
-
}, "Settings"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_liveStreaming.LiveStreaming, {
|
|
72
|
+
(0, _jsxRuntime.jsx)(_liveStreaming.LiveStreaming, {
|
|
76
73
|
id: "LiveStreaming",
|
|
74
|
+
order: 9
|
|
75
|
+
}, "LiveStreaming"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settings.Settings, {
|
|
76
|
+
id: "Settings",
|
|
77
77
|
order: 10
|
|
78
|
-
}, "
|
|
78
|
+
}, "Settings"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_more.More, {
|
|
79
79
|
id: "More",
|
|
80
80
|
order: 11
|
|
81
81
|
}, "More")];
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.array.iterator.js");
|
|
4
|
+
require("core-js/modules/es.object.define-property.js");
|
|
5
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
6
|
+
require("core-js/modules/es.object.to-string.js");
|
|
7
|
+
require("core-js/modules/es.string.iterator.js");
|
|
8
|
+
require("core-js/modules/es.weak-map.js");
|
|
9
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
10
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
11
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
12
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
13
|
+
Object.defineProperty(exports, "__esModule", {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
exports.Appitems = void 0;
|
|
17
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
18
|
+
var _mobxReact = require("mobx-react");
|
|
19
|
+
var _Interpreter = require("../Interpreter");
|
|
20
|
+
var _context = require("../context");
|
|
21
|
+
require("./index.css");
|
|
22
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
24
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
25
|
+
// import { Subtitle } from '../subtitle';
|
|
26
|
+
// import { LiveTranslate } from '../live-translate';
|
|
27
|
+
// import { Effective } from '../effective';
|
|
28
|
+
|
|
29
|
+
var Appitems = exports.Appitems = (0, _mobxReact.observer)(function () {
|
|
30
|
+
var _useContext = (0, _react.useContext)(_context.ActionBarContext),
|
|
31
|
+
hasEnableInterpreterPermission = _useContext.hasEnableInterpreterPermission,
|
|
32
|
+
hasDisableInterpreterPermission = _useContext.hasDisableInterpreterPermission;
|
|
33
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
34
|
+
className: "action-bar-apps-container",
|
|
35
|
+
children: hasEnableInterpreterPermission && hasDisableInterpreterPermission && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Interpreter.Interpreter, {
|
|
36
|
+
id: "Interpreter",
|
|
37
|
+
order: 24
|
|
38
|
+
}, "Interpreter")
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Apps = void 0;
|
|
9
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
+
var _type = require("agora-ui-foundation/lib/components/icon/type");
|
|
11
|
+
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
12
|
+
var _item = require("../item");
|
|
13
|
+
var _react = require("react");
|
|
14
|
+
var _context = require("../context");
|
|
15
|
+
var _mobxReact = require("mobx-react");
|
|
16
|
+
var _appitems = require("./appitems");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
var Apps = exports.Apps = (0, _mobxReact.observer)(function (_ref) {
|
|
19
|
+
var id = _ref.id,
|
|
20
|
+
order = _ref.order;
|
|
21
|
+
var actionStore = (0, _react.useContext)(_context.ActionBarContext);
|
|
22
|
+
var localUserRole = actionStore.localUserRole,
|
|
23
|
+
hasStartScreenSharePermission = actionStore.hasStartScreenSharePermission;
|
|
24
|
+
var _useState = (0, _react.useState)(false),
|
|
25
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
26
|
+
visibleTooltip = _useState2[0],
|
|
27
|
+
setTooltipVisible = _useState2[1];
|
|
28
|
+
var _useState3 = (0, _react.useState)(false),
|
|
29
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
|
30
|
+
visibleMenu = _useState4[0],
|
|
31
|
+
setMenuVisible = _useState4[1];
|
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
33
|
+
content: 'Apps',
|
|
34
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_item.ActionBarItemWithPopover, {
|
|
35
|
+
popoverProps: {
|
|
36
|
+
trigger: 'click',
|
|
37
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_appitems.Appitems, {}),
|
|
38
|
+
overlayClassName: 'attendee__footer-more-actions',
|
|
39
|
+
overlayInnerStyle: {
|
|
40
|
+
boxShadow: 'var(--fcr_web_light_dropup_m)',
|
|
41
|
+
border: 'none',
|
|
42
|
+
width: '303px',
|
|
43
|
+
height: '110px'
|
|
44
|
+
},
|
|
45
|
+
onVisibleChange: function onVisibleChange(visible) {
|
|
46
|
+
(function () {});
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
id: id,
|
|
50
|
+
order: order,
|
|
51
|
+
icon: _type.FcrIconType.FCR_MOREAPP,
|
|
52
|
+
title: 'Apps',
|
|
53
|
+
iconColors: {
|
|
54
|
+
iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
|
|
55
|
+
}
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
});
|
|
@@ -28,10 +28,10 @@ var Chat = exports.Chat = (0, _mobxReact.observer)(function (_ref) {
|
|
|
28
28
|
var tooltip = transI18n('fmt_screenshare_controlbar_button_more_chat');
|
|
29
29
|
var _useContext = (0, _react.useContext)(_context.ActionBarContext),
|
|
30
30
|
toggleChat = _useContext.toggleChat,
|
|
31
|
-
newMessageCount = _useContext.newMessageCount,
|
|
32
31
|
latestMessage = _useContext.latestMessage,
|
|
33
32
|
newMessageTooltipVisible = _useContext.newMessageTooltipVisible,
|
|
34
|
-
hideNewMessageTooltip = _useContext.hideNewMessageTooltip
|
|
33
|
+
hideNewMessageTooltip = _useContext.hideNewMessageTooltip,
|
|
34
|
+
allNewMessage = _useContext.allNewMessage;
|
|
35
35
|
var _useState = (0, _react.useState)(false),
|
|
36
36
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
37
37
|
tooltipVisible = _useState2[0],
|
|
@@ -50,11 +50,11 @@ var Chat = exports.Chat = (0, _mobxReact.observer)(function (_ref) {
|
|
|
50
50
|
}, [newMessageTooltipVisible]);
|
|
51
51
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
52
52
|
className: "fcr-action-bar-chat-wrapper",
|
|
53
|
-
children: [
|
|
53
|
+
children: [allNewMessage > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
54
54
|
className: "fcr-action-bar-chat-unread-count",
|
|
55
|
-
children:
|
|
55
|
+
children: allNewMessage > 99 ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
56
56
|
src: _fcr_chat_reddot["default"]
|
|
57
|
-
}) :
|
|
57
|
+
}) : allNewMessage
|
|
58
58
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
59
59
|
overlayClassName: "fcr-chatroom-tooltip",
|
|
60
60
|
overlayInnerStyle: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.fcr-action-bar-device {
|
|
2
2
|
border-radius: var(--fcr_cornerradius_s);
|
|
3
3
|
position: relative;
|
|
4
|
-
width: 71px;
|
|
4
|
+
min-width: 71px;
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
}
|
|
7
7
|
.fcr-action-bar-device:hover {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
stop-color: var(--fcr_web_ui_scene_mainicon1);
|
|
26
26
|
}
|
|
27
27
|
.fcr-action-bar-device-text {
|
|
28
|
-
color: var(--
|
|
28
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
29
29
|
line-height: 12px;
|
|
30
30
|
font-size: 12px;
|
|
31
31
|
text-align: center;
|
|
@@ -155,3 +155,8 @@
|
|
|
155
155
|
white-space: nowrap;
|
|
156
156
|
text-overflow: ellipsis;
|
|
157
157
|
}
|
|
158
|
+
|
|
159
|
+
.fcr-device-popover-content-more-item--danger:hover {
|
|
160
|
+
color: var(--fcr_ui_scene_ramp_red6);
|
|
161
|
+
background: var(--fcr_ui_scene_ramp_red1);
|
|
162
|
+
}
|
|
@@ -52,11 +52,9 @@ var MicrophoneDevice = exports.MicrophoneDevice = (0, _mobxReact.observer)(funct
|
|
|
52
52
|
microphoneEnabled = _useContext2.microphoneEnabled,
|
|
53
53
|
enableMicrophone = _useContext2.enableMicrophone,
|
|
54
54
|
toggleLayoutBarLock = _useContext2.toggleLayoutBarLock,
|
|
55
|
-
toggleConnection = _useContext2.toggleConnection,
|
|
56
55
|
openConnection = _useContext2.openConnection,
|
|
57
56
|
connectType = _useContext2.connectType,
|
|
58
57
|
microphoneList = _useContext2.microphoneList,
|
|
59
|
-
microphoneVolumeLevel = _useContext2.microphoneVolumeLevel,
|
|
60
58
|
phoneMicEnabled = _useContext2.phoneMicEnabled;
|
|
61
59
|
var _useDeviceTooltipVisi = useDeviceTooltipVisible(toggleLayoutBarLock),
|
|
62
60
|
tooltipVisible = _useDeviceTooltipVisi.tooltipVisible,
|
|
@@ -393,7 +391,8 @@ var AudioDeviceListPopoverContent = (0, _mobxReact.observer)(function (_ref3) {
|
|
|
393
391
|
speakerList = _useContext5.speakerList,
|
|
394
392
|
openConnection = _useContext5.openConnection,
|
|
395
393
|
connectType = _useContext5.connectType,
|
|
396
|
-
closeConnection = _useContext5.closeConnection
|
|
394
|
+
closeConnection = _useContext5.closeConnection,
|
|
395
|
+
closeSpeaker = _useContext5.closeSpeaker;
|
|
397
396
|
var microphoneOptions = microphoneList.map(function (device) {
|
|
398
397
|
return {
|
|
399
398
|
text: device.deviceName,
|
|
@@ -480,10 +479,11 @@ var AudioDeviceListPopoverContent = (0, _mobxReact.observer)(function (_ref3) {
|
|
|
480
479
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
481
480
|
className: "fcr-device-popover-content-more",
|
|
482
481
|
children: [connectType === _type2.ConnectType.COMPUTER && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
483
|
-
className: "fcr-device-popover-content-more-item",
|
|
482
|
+
className: "fcr-device-popover-content-more-item fcr-device-popover-content-more-item--danger",
|
|
484
483
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
485
484
|
onClick: function onClick() {
|
|
486
485
|
setMicrophoneId('');
|
|
486
|
+
closeSpeaker();
|
|
487
487
|
closeConnection();
|
|
488
488
|
},
|
|
489
489
|
children: transI18n('fmt_device_label_audio_list_leaveComputerAudio')
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
html {
|
|
2
2
|
--fcr-action-bar-height: 58px;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.fcr-action-bar {
|
|
5
6
|
background: var(--fcr_web_ui_scene_fill2);
|
|
6
7
|
width: 100%;
|
|
@@ -14,6 +15,7 @@ html {
|
|
|
14
15
|
border-top-style: solid;
|
|
15
16
|
z-index: 3;
|
|
16
17
|
}
|
|
18
|
+
|
|
17
19
|
.fcr-action-bar-hide {
|
|
18
20
|
transform: translateY(var(--fcr-action-bar-height));
|
|
19
21
|
}
|
|
@@ -25,9 +27,11 @@ html {
|
|
|
25
27
|
flex-direction: row;
|
|
26
28
|
align-items: center;
|
|
27
29
|
}
|
|
30
|
+
|
|
28
31
|
.fcr-action-bar-right {
|
|
29
32
|
padding-right: 12px;
|
|
30
33
|
}
|
|
34
|
+
|
|
31
35
|
.fcr-action-bar-mid {
|
|
32
36
|
flex: 1;
|
|
33
37
|
flex-shrink: 1;
|
|
@@ -35,6 +39,7 @@ html {
|
|
|
35
39
|
padding: 0 10px;
|
|
36
40
|
justify-content: center;
|
|
37
41
|
}
|
|
42
|
+
|
|
38
43
|
.fcr-action-bar-collapse {
|
|
39
44
|
display: flex;
|
|
40
45
|
flex-flow: row nowrap;
|
|
@@ -42,6 +47,7 @@ html {
|
|
|
42
47
|
overflow: hidden;
|
|
43
48
|
flex: 1;
|
|
44
49
|
}
|
|
50
|
+
|
|
45
51
|
.fcr-action-bar-item-wrapper {
|
|
46
52
|
background: transparent;
|
|
47
53
|
width: fit-content;
|
|
@@ -55,9 +61,11 @@ html {
|
|
|
55
61
|
flex-shrink: 0;
|
|
56
62
|
position: relative;
|
|
57
63
|
}
|
|
64
|
+
|
|
58
65
|
.fcr-action-bar-extra {
|
|
59
66
|
cursor: pointer;
|
|
60
67
|
}
|
|
68
|
+
|
|
61
69
|
@media screen and (max-width: 430px) {
|
|
62
70
|
.fcr-action-bar-item-wrapper {
|
|
63
71
|
min-width: 55px;
|
|
@@ -68,11 +76,16 @@ html {
|
|
|
68
76
|
outline: 0;
|
|
69
77
|
}
|
|
70
78
|
|
|
71
|
-
.fcr-action-bar-item:hover
|
|
79
|
+
.fcr-action-bar-item-wrapper:hover .fcr-action-bar-item {
|
|
80
|
+
background: var(--fcr_web_ui_scene_hover2);
|
|
81
|
+
border-radius: var(--fcr_cornerradius_s);
|
|
82
|
+
}
|
|
83
|
+
|
|
72
84
|
.fcr-action-bar-item-active {
|
|
73
85
|
background: var(--fcr_web_ui_scene_hover2);
|
|
74
86
|
border-radius: var(--fcr_cornerradius_s);
|
|
75
87
|
}
|
|
88
|
+
|
|
76
89
|
.fcr-action-bar-item {
|
|
77
90
|
flex: 1;
|
|
78
91
|
display: inline-flex;
|
|
@@ -81,33 +94,41 @@ html {
|
|
|
81
94
|
max-width: 100%;
|
|
82
95
|
height: 100%;
|
|
83
96
|
}
|
|
97
|
+
|
|
84
98
|
.fcr-icon-green path,
|
|
85
99
|
.fcr-icon-green-when-hover:hover path {
|
|
86
100
|
fill: var(--fcr_ui_scene_ramp_green6);
|
|
87
101
|
}
|
|
102
|
+
|
|
88
103
|
.fcr-icon-blue path {
|
|
89
104
|
fill: var(--fcr_ui_scene_ramp_brand6);
|
|
90
105
|
}
|
|
106
|
+
|
|
91
107
|
.fcr-checkbox-overlay-style svg path {
|
|
92
108
|
fill: var(--fcr_ui_scene_icontext1);
|
|
93
109
|
transition: all 0.1s ease;
|
|
94
110
|
}
|
|
111
|
+
|
|
95
112
|
.fcr-checkbox-overlay-style .fcr-checkbox-inner {
|
|
96
113
|
width: 14px;
|
|
97
114
|
height: 14px;
|
|
98
115
|
background: transparent;
|
|
99
116
|
}
|
|
117
|
+
|
|
100
118
|
.fcr-checkbox-overlay-style .fcr-checkbox-inner svg {
|
|
101
119
|
width: 14px;
|
|
102
120
|
height: 14px;
|
|
103
121
|
}
|
|
122
|
+
|
|
104
123
|
.fcr-action-bar-item-disabled {
|
|
105
124
|
cursor: not-allowed;
|
|
106
125
|
}
|
|
126
|
+
|
|
107
127
|
.fcr-action-bar-item-disabled .fcr-action-bar-item-icon,
|
|
108
128
|
.fcr-action-bar-item-disabled .fcr-action-bar-item-text {
|
|
109
129
|
opacity: 0.5;
|
|
110
130
|
}
|
|
131
|
+
|
|
111
132
|
.fcr-action-bar-item-text {
|
|
112
133
|
color: var(--fcr_ui_scene_icontext2);
|
|
113
134
|
font-weight: 400;
|
|
@@ -115,9 +136,11 @@ html {
|
|
|
115
136
|
line-height: 12px;
|
|
116
137
|
padding: 0 8px;
|
|
117
138
|
}
|
|
139
|
+
|
|
118
140
|
.fcr-action-bar-item-text span {
|
|
119
141
|
white-space: nowrap;
|
|
120
142
|
}
|
|
143
|
+
|
|
121
144
|
.fcr-action-bar-cancel-leave {
|
|
122
145
|
margin-right: 15px;
|
|
123
146
|
margin-left: auto;
|
|
@@ -128,16 +151,39 @@ html {
|
|
|
128
151
|
display: flex;
|
|
129
152
|
align-items: center;
|
|
130
153
|
}
|
|
154
|
+
|
|
131
155
|
.fcr-action-bar--popover .fcr-drop-menu {
|
|
132
156
|
text-align: left;
|
|
133
157
|
}
|
|
158
|
+
|
|
134
159
|
.fcr-action-bar--popover .fcr-checkbox-input-wrapper {
|
|
135
160
|
border-color: transparent;
|
|
136
161
|
}
|
|
162
|
+
|
|
137
163
|
.fcr-action-bar--popover .fcr-tooltip-inner {
|
|
138
164
|
border: none;
|
|
139
165
|
box-shadow: var(--fcr_web_light_dropup_m) !important;
|
|
140
166
|
}
|
|
167
|
+
.fcr-screen-share--popover .fcr-button > p {
|
|
168
|
+
max-width: 140px;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
text-overflow: ellipsis;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.fcr-action-bar--fold-wrap {
|
|
175
|
+
width: 100%;
|
|
176
|
+
display: flex;
|
|
177
|
+
/* position: absolute;
|
|
178
|
+
inset: auto auto 0px 0px; */
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.fcr-action-bar--fold-btn {
|
|
182
|
+
width: 70px;
|
|
183
|
+
height: 22px;
|
|
184
|
+
margin-left: 50%;
|
|
185
|
+
}
|
|
186
|
+
|
|
141
187
|
.fcr-action-bar--fold {
|
|
142
188
|
width: 70px;
|
|
143
189
|
height: 22px;
|
|
@@ -148,26 +194,21 @@ html {
|
|
|
148
194
|
border-top-right-radius: 8px;
|
|
149
195
|
border: 1px solid var(--fcr_ui_scene_line1);
|
|
150
196
|
border-bottom: none;
|
|
151
|
-
|
|
152
|
-
left: 50%;
|
|
153
|
-
top: -21px;
|
|
154
|
-
transform: translateX(-50%);
|
|
155
|
-
background: #fff;
|
|
197
|
+
background-color: #fff;
|
|
156
198
|
cursor: pointer;
|
|
157
199
|
}
|
|
200
|
+
|
|
158
201
|
.fcr-action-bar--fold-hotarea {
|
|
159
|
-
width:
|
|
160
|
-
height:
|
|
202
|
+
width: 100%;
|
|
203
|
+
height: 22px;
|
|
161
204
|
display: flex;
|
|
162
|
-
position: absolute;
|
|
163
|
-
left: 50%;
|
|
164
|
-
top: -30px;
|
|
165
|
-
transform: translateX(-50%);
|
|
166
205
|
}
|
|
206
|
+
|
|
167
207
|
.fcr-action-bar--fold svg {
|
|
168
208
|
width: 30px;
|
|
169
209
|
height: 30px;
|
|
170
210
|
}
|
|
211
|
+
|
|
171
212
|
.fcr-action-bar--unfold {
|
|
172
213
|
width: 52px;
|
|
173
214
|
height: 50px;
|
|
@@ -176,18 +217,23 @@ html {
|
|
|
176
217
|
justify-content: center;
|
|
177
218
|
cursor: pointer;
|
|
178
219
|
}
|
|
220
|
+
|
|
179
221
|
.fcr-action-bar--unfold svg {
|
|
180
222
|
transform: rotate(90deg);
|
|
181
223
|
width: 40px;
|
|
182
224
|
height: 40px;
|
|
183
225
|
}
|
|
226
|
+
|
|
184
227
|
.fcr-action-bar-fold-style {
|
|
185
228
|
width: 110px;
|
|
186
229
|
height: 50px;
|
|
187
230
|
position: absolute;
|
|
188
231
|
right: 15px;
|
|
189
232
|
bottom: 15px;
|
|
233
|
+
border: none;
|
|
234
|
+
background-color: transparent;
|
|
190
235
|
}
|
|
236
|
+
|
|
191
237
|
.fcr-action-bar-smaller {
|
|
192
238
|
width: 110px;
|
|
193
239
|
height: 50px;
|
|
@@ -200,6 +246,7 @@ html {
|
|
|
200
246
|
z-index: 1000;
|
|
201
247
|
display: flex;
|
|
202
248
|
}
|
|
249
|
+
|
|
203
250
|
.fcr-action-bar-smaller-micphone {
|
|
204
251
|
width: 58px;
|
|
205
252
|
height: 50px;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { UIModule } from '../../base';
|
|
2
2
|
import './index.css';
|
|
3
|
-
import { FcrDesktopMediaControl,
|
|
3
|
+
import { FcrDesktopMediaControl, FcrStreamControl, FcrUserControl } from 'agora-edu-core';
|
|
4
4
|
import { FcrUIEventStore } from '../../common/event-store';
|
|
5
5
|
import { FcrDeviceStore } from '../../common/device-store';
|
|
6
6
|
import { FcrSecurityStore } from '../../common/security-store';
|
|
7
7
|
import { FcrDeviceStreamStore } from '../../common/device-stream-store';
|
|
8
|
+
import { FcrMainRoomControl, FcrWaitingRoomControl } from 'agora-edu-core/lib/room-control/type';
|
|
8
9
|
interface FcrActionBarUIModuleArgs {
|
|
9
|
-
roomControl:
|
|
10
|
+
roomControl: FcrMainRoomControl | FcrWaitingRoomControl;
|
|
10
11
|
userControl: FcrUserControl;
|
|
11
12
|
uiEventStore: FcrUIEventStore;
|
|
12
13
|
deviceStore: FcrDeviceStore;
|
|
@@ -45,7 +45,7 @@ window.__DEV_ENGINE_IS_READY__.then(/*#__PURE__*/(0, _asyncToGenerator2["default
|
|
|
45
45
|
_context.next = 4;
|
|
46
46
|
return engine.login();
|
|
47
47
|
case 4:
|
|
48
|
-
roomControl = engine.
|
|
48
|
+
roomControl = engine.createMainRoomControl(roomId);
|
|
49
49
|
userRole = _type.FcrUserRole.HOST;
|
|
50
50
|
userName = 'host-user';
|
|
51
51
|
_context.next = 9;
|
|
@@ -79,6 +79,27 @@ var FcrActionBarUIModule = exports.FcrActionBarUIModule = /*#__PURE__*/function
|
|
|
79
79
|
activeTab: _store2.DeviceSettingTab.AUDIO
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
+
if (event.action === _constant.RendererEventAction.LEAVE_ROOM) {
|
|
83
|
+
this._store.leave();
|
|
84
|
+
}
|
|
85
|
+
if (event.action === _constant.RendererEventAction.KEEP_PHONE_AUDIO_CONNECTION) {
|
|
86
|
+
this._store.keepPhoneAudioConnection();
|
|
87
|
+
}
|
|
88
|
+
if (event.action === _constant.RendererEventAction.END_ROOM) {
|
|
89
|
+
this._store.end();
|
|
90
|
+
}
|
|
91
|
+
if (event.action === _constant.RendererEventAction.REISSUE_CONTROLBAR_INFO) {
|
|
92
|
+
this._store.fetchNewestLeavingRoomCompProps();
|
|
93
|
+
}
|
|
94
|
+
if (event.action === _constant.RendererEventAction.ASSIGN_HOST) {
|
|
95
|
+
this._store.assignHost(event.payload);
|
|
96
|
+
}
|
|
97
|
+
if (event.action === _constant.RendererEventAction.CALL_CLOSE_MAIN_WINDOW) {
|
|
98
|
+
this._store.setPopoverOpened(true);
|
|
99
|
+
}
|
|
100
|
+
if (event.action === _constant.RendererEventAction.FRAGMENT_SET_ENABLE_WAITING_ROOM) {
|
|
101
|
+
this._store.setEnableWaitingRoom(event.payload.allow, true);
|
|
102
|
+
}
|
|
82
103
|
}
|
|
83
104
|
}, {
|
|
84
105
|
key: "onUnload",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
+
import { FcrUserInfo } from 'agora-edu-core/lib/type';
|
|
2
3
|
interface AssignHostProps {
|
|
4
|
+
remoteUsers: FcrUserInfo[];
|
|
5
|
+
assignHost: (user: FcrUserInfo) => void;
|
|
3
6
|
setPopoverOpened: React.Dispatch<React.SetStateAction<boolean>>;
|
|
4
7
|
handleKeepConnect: () => void;
|
|
5
8
|
}
|
|
@@ -13,14 +13,12 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
13
13
|
var _mobxReact = require("mobx-react");
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
require("./index.css");
|
|
16
|
-
var _context2 = require("../context");
|
|
17
16
|
var _chatSelect = require("../../chat/chat-select");
|
|
18
17
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
19
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
19
|
var AssignHost = exports.AssignHost = (0, _mobxReact.observer)(function (props) {
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
assignHost = _useContext.assignHost;
|
|
20
|
+
var remoteUsers = props.remoteUsers,
|
|
21
|
+
assignHost = props.assignHost;
|
|
24
22
|
var _useState = (0, _react.useState)(0),
|
|
25
23
|
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
26
24
|
selected = _useState2[0],
|