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,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.array.filter.js");
|
|
5
|
+
require("core-js/modules/es.array.for-each.js");
|
|
6
|
+
require("core-js/modules/es.array.iterator.js");
|
|
7
|
+
require("core-js/modules/es.array.push.js");
|
|
8
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
9
|
+
require("core-js/modules/es.object.define-property.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
11
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
12
|
+
require("core-js/modules/es.object.keys.js");
|
|
13
|
+
require("core-js/modules/es.object.to-string.js");
|
|
14
|
+
require("core-js/modules/es.string.iterator.js");
|
|
15
|
+
require("core-js/modules/es.weak-map.js");
|
|
16
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
17
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
18
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
19
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
20
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
21
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
22
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
23
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
24
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
25
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
26
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
27
|
+
Object.defineProperty(exports, "__esModule", {
|
|
28
|
+
value: true
|
|
29
|
+
});
|
|
30
|
+
exports.OperationWaitingRoomDialog = void 0;
|
|
31
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
32
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
33
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
34
|
+
var _mobxReact = require("mobx-react");
|
|
35
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
36
|
+
var _context3 = require("../../context");
|
|
37
|
+
var _reactRnd = require("react-rnd");
|
|
38
|
+
var _electron = _interopRequireDefault(require("./electron"));
|
|
39
|
+
var _platform = require("../../../../utilities/platform");
|
|
40
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
41
|
+
var _button = require("agora-ui-foundation/lib/components/button");
|
|
42
|
+
require("./index.css");
|
|
43
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
44
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
45
|
+
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); }
|
|
46
|
+
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; }
|
|
47
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
48
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
|
|
49
|
+
var CloseWaitingRoomDialogContent = (0, _mobxReact.observer)(function (_ref) {
|
|
50
|
+
var totalWaitingRoomUser = _ref.totalWaitingRoomUser;
|
|
51
|
+
var t = (0, _i18n.useI18n)();
|
|
52
|
+
var _useContext = (0, _react.useContext)(_context3.StoreContext),
|
|
53
|
+
moveToMainRoomAllMember = _useContext.moveToMainRoomAllMember,
|
|
54
|
+
closeWaitingRoomDialog = _useContext.closeWaitingRoomDialog;
|
|
55
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
56
|
+
className: "close-waiting-room-dialog",
|
|
57
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
58
|
+
className: "fcr-dialog-title",
|
|
59
|
+
children: t('fmt_waitingroom_mobile_setting_popup_label_close')
|
|
60
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
61
|
+
className: "fcr-dialog-content",
|
|
62
|
+
children: t('fmt_waitingroom_mobile_setting_popup_label_choose', {
|
|
63
|
+
reason1: totalWaitingRoomUser
|
|
64
|
+
})
|
|
65
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66
|
+
className: "fcr-dialog-buttons",
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
68
|
+
size: "S",
|
|
69
|
+
styleType: "normal",
|
|
70
|
+
shape: "rounded",
|
|
71
|
+
onClick: /*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
72
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
73
|
+
while (1) switch (_context.prev = _context.next) {
|
|
74
|
+
case 0:
|
|
75
|
+
moveToMainRoomAllMember(true);
|
|
76
|
+
closeWaitingRoomDialog();
|
|
77
|
+
case 2:
|
|
78
|
+
case "end":
|
|
79
|
+
return _context.stop();
|
|
80
|
+
}
|
|
81
|
+
}, _callee);
|
|
82
|
+
})),
|
|
83
|
+
children: t('fmt_waitingroom_mobile_setting_popup_button_admit_all')
|
|
84
|
+
})
|
|
85
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
86
|
+
className: "fcr-dialog-buttons",
|
|
87
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.FcrButton, {
|
|
88
|
+
size: "S",
|
|
89
|
+
shape: "rounded",
|
|
90
|
+
styleType: "white",
|
|
91
|
+
onClick: /*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2() {
|
|
92
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
93
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
94
|
+
case 0:
|
|
95
|
+
moveToMainRoomAllMember(false);
|
|
96
|
+
closeWaitingRoomDialog();
|
|
97
|
+
case 2:
|
|
98
|
+
case "end":
|
|
99
|
+
return _context2.stop();
|
|
100
|
+
}
|
|
101
|
+
}, _callee2);
|
|
102
|
+
})),
|
|
103
|
+
children: t('fmt_waitingroom_mobile_setting_popup_button_cancel')
|
|
104
|
+
})
|
|
105
|
+
})]
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
var OperationWaitingRoomDialog = exports.OperationWaitingRoomDialog = (0, _mobxReact.observer)(function (_ref4) {
|
|
109
|
+
var params = _ref4.params;
|
|
110
|
+
var store = (0, _react.useContext)(_context3.StoreContext);
|
|
111
|
+
var containerWidth = window.innerWidth;
|
|
112
|
+
var containerHeight = window.innerHeight;
|
|
113
|
+
var _ref5 = (0, _env.isElectron)() ? window.runtime.browserWindow.getBounds() : {
|
|
114
|
+
x: document.body.offsetLeft,
|
|
115
|
+
y: document.body.offsetTop
|
|
116
|
+
},
|
|
117
|
+
offsetX = _ref5.x,
|
|
118
|
+
offsetY = _ref5.y;
|
|
119
|
+
var width = (params === null || params === void 0 ? void 0 : params.width) || 415;
|
|
120
|
+
var height = (params === null || params === void 0 ? void 0 : params.height) || 180;
|
|
121
|
+
var x = containerWidth / 2 - width / 2 + ((0, _platform.isWindows)() ? offsetX : 0);
|
|
122
|
+
var y = containerHeight / 2 - height / 2 + ((0, _platform.isWindows)() ? offsetY : 0);
|
|
123
|
+
if ((0, _env.isElectron)()) {
|
|
124
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_electron["default"], {
|
|
125
|
+
params: _objectSpread(_objectSpread({}, params), {}, {
|
|
126
|
+
x: x,
|
|
127
|
+
y: y
|
|
128
|
+
}),
|
|
129
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseWaitingRoomDialogContent, {
|
|
130
|
+
totalWaitingRoomUser: params.totalWaitingRoomUser
|
|
131
|
+
})
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context3.StoreContext.Provider, {
|
|
135
|
+
value: store,
|
|
136
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRnd.Rnd, {
|
|
137
|
+
"default": {
|
|
138
|
+
x: x,
|
|
139
|
+
y: y,
|
|
140
|
+
width: width,
|
|
141
|
+
height: height
|
|
142
|
+
},
|
|
143
|
+
maxHeight: 700,
|
|
144
|
+
maxWidth: width,
|
|
145
|
+
minWidth: width,
|
|
146
|
+
minHeight: height,
|
|
147
|
+
bounds: '.fcr-confirm-dialog-wrapper_web',
|
|
148
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
149
|
+
className: "fcr-confirm-dialog-wrapper_web",
|
|
150
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseWaitingRoomDialogContent, {
|
|
151
|
+
totalWaitingRoomUser: params.totalWaitingRoomUser
|
|
152
|
+
})
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
});
|
|
156
|
+
});
|
|
@@ -79,7 +79,8 @@ var ParticipantElectronDialog = exports.ParticipantElectronDialog = (0, _mobxRea
|
|
|
79
79
|
maxHeight: 700,
|
|
80
80
|
y: store.currentDialogBounds.y,
|
|
81
81
|
center: true,
|
|
82
|
-
show: !(0, _platform.isWindows)()
|
|
82
|
+
show: !(0, _platform.isWindows)(),
|
|
83
|
+
transparent: true
|
|
83
84
|
}));
|
|
84
85
|
return function () {
|
|
85
86
|
node && (0, _reactDom.unmountComponentAtNode)(node);
|
|
@@ -0,0 +1,89 @@
|
|
|
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["default"] = void 0;
|
|
9
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
+
var _mobxReact = require("mobx-react");
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
var _context2 = require("../../context");
|
|
14
|
+
var _reactDom = require("react-dom");
|
|
15
|
+
var _renderer = require("../../../../utilities/renderer");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
var DialogContent = (0, _mobxReact.observer)(function (_ref) {
|
|
18
|
+
var children = _ref.children,
|
|
19
|
+
params = _ref.params;
|
|
20
|
+
var store = (0, _react.useContext)(_context2.StoreContext);
|
|
21
|
+
(0, _react.useEffect)(function () {
|
|
22
|
+
var node;
|
|
23
|
+
(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
24
|
+
var _ref3, x, y;
|
|
25
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
26
|
+
while (1) switch (_context.prev = _context.next) {
|
|
27
|
+
case 0:
|
|
28
|
+
_context.next = 2;
|
|
29
|
+
return store.setWorkArea();
|
|
30
|
+
case 2:
|
|
31
|
+
_context.t0 = _context.sent;
|
|
32
|
+
if (_context.t0) {
|
|
33
|
+
_context.next = 5;
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
_context.t0 = {
|
|
37
|
+
x: 0,
|
|
38
|
+
y: 0
|
|
39
|
+
};
|
|
40
|
+
case 5:
|
|
41
|
+
_ref3 = _context.t0;
|
|
42
|
+
x = _ref3.x;
|
|
43
|
+
y = _ref3.y;
|
|
44
|
+
window.runtime.openRendererWindow("operation-waiting-room-".concat(params.type), function (dom, browserWindow) {
|
|
45
|
+
node = dom;
|
|
46
|
+
browserWindow.focus(); // 这里打开的confirm dialog 不会走 openRendererWindow 中的 focus 逻辑,所以单独 focus 一下
|
|
47
|
+
|
|
48
|
+
browserWindow.setBounds({
|
|
49
|
+
width: 400,
|
|
50
|
+
height: 300
|
|
51
|
+
});
|
|
52
|
+
(0, _renderer.handleWillClose)(browserWindow, function () {
|
|
53
|
+
(0, _reactDom.unmountComponentAtNode)(node);
|
|
54
|
+
});
|
|
55
|
+
(0, _reactDom.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(_context2.StoreContext.Provider, {
|
|
56
|
+
value: store,
|
|
57
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
58
|
+
children: children
|
|
59
|
+
})
|
|
60
|
+
}), dom);
|
|
61
|
+
}, {
|
|
62
|
+
frame: false,
|
|
63
|
+
fullscreen: false,
|
|
64
|
+
maximizable: false,
|
|
65
|
+
// TODO:
|
|
66
|
+
width: (params === null || params === void 0 ? void 0 : params.width) || 320,
|
|
67
|
+
height: (params === null || params === void 0 ? void 0 : params.height) || 168 + (params.closable || params.closable === undefined ? 16 : 0),
|
|
68
|
+
minWidth: 255,
|
|
69
|
+
minHeight: 160,
|
|
70
|
+
maxWidth: 620,
|
|
71
|
+
maxHeight: 700,
|
|
72
|
+
x: x + ((params === null || params === void 0 ? void 0 : params.x) || 0),
|
|
73
|
+
y: y + ((params === null || params === void 0 ? void 0 : params.y) || 0),
|
|
74
|
+
transparent: true
|
|
75
|
+
});
|
|
76
|
+
case 9:
|
|
77
|
+
case "end":
|
|
78
|
+
return _context.stop();
|
|
79
|
+
}
|
|
80
|
+
}, _callee);
|
|
81
|
+
}))();
|
|
82
|
+
return function () {
|
|
83
|
+
node && (0, _reactDom.unmountComponentAtNode)(node);
|
|
84
|
+
window.runtime.closeRendererWindow("operation-waiting-room-".concat(params.type));
|
|
85
|
+
};
|
|
86
|
+
}, []);
|
|
87
|
+
return null;
|
|
88
|
+
});
|
|
89
|
+
var _default = exports["default"] = DialogContent;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.operate-waiting-room-dialog-content {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
background: white;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
border-radius: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.operate-waiting-room-dialog-title {
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
margin-bottom: 10px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.operate-waiting-room-dialog-tooltip {
|
|
18
|
+
margin-bottom: 10px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.operate-waiting-room-dialog-confirm {
|
|
22
|
+
display: flex;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.operate-waiting-room-dialog-btns {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
width: 100%;
|
|
29
|
+
margin-top: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.operate-waiting-room-dialog-btns .fcr-button-normal {
|
|
33
|
+
width: 48%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.operate-waiting-room-dialog-btns .fcr-button-white {
|
|
37
|
+
background-color: var(--fcr_ui_scene_btn2);
|
|
38
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
39
|
+
width: 48%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.operate-waiting-room-dialog-btns .fcr-button-white:hover {
|
|
43
|
+
background-color: var(--fcr_ui_scene_btn2) !important;
|
|
44
|
+
color: var(--fcr_ui_scene_icontext2) !important;
|
|
45
|
+
width: 48%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.operate-waiting-room-dialog-btns .fcr-button-danger {
|
|
49
|
+
width: 48%;
|
|
50
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.array.filter.js");
|
|
5
|
+
require("core-js/modules/es.array.for-each.js");
|
|
6
|
+
require("core-js/modules/es.array.iterator.js");
|
|
7
|
+
require("core-js/modules/es.array.push.js");
|
|
8
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
9
|
+
require("core-js/modules/es.object.define-property.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
11
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
12
|
+
require("core-js/modules/es.object.keys.js");
|
|
13
|
+
require("core-js/modules/es.object.to-string.js");
|
|
14
|
+
require("core-js/modules/es.string.iterator.js");
|
|
15
|
+
require("core-js/modules/es.weak-map.js");
|
|
16
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
17
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
18
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
19
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
20
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
21
|
+
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
22
|
+
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
23
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
24
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
25
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
26
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
27
|
+
Object.defineProperty(exports, "__esModule", {
|
|
28
|
+
value: true
|
|
29
|
+
});
|
|
30
|
+
exports.RemoveAdmitWaitingRoomDialog = void 0;
|
|
31
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
32
|
+
var _mobxReact = require("mobx-react");
|
|
33
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
34
|
+
var _context = require("../../context");
|
|
35
|
+
var _reactRnd = require("react-rnd");
|
|
36
|
+
var _electron = _interopRequireDefault(require("./electron"));
|
|
37
|
+
var _platform = require("../../../../utilities/platform");
|
|
38
|
+
require("./index.css");
|
|
39
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
40
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
41
|
+
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); }
|
|
42
|
+
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; }
|
|
43
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
44
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
|
|
45
|
+
var RemoveAdmitWaitingRoomDialog = exports.RemoveAdmitWaitingRoomDialog = (0, _mobxReact.observer)(function (_ref) {
|
|
46
|
+
var children = _ref.children,
|
|
47
|
+
params = _ref.params;
|
|
48
|
+
var store = (0, _react.useContext)(_context.StoreContext);
|
|
49
|
+
var containerWidth = window.innerWidth;
|
|
50
|
+
var containerHeight = window.innerHeight;
|
|
51
|
+
var _ref2 = (0, _env.isElectron)() ? window.runtime.browserWindow.getBounds() : {
|
|
52
|
+
x: document.body.offsetLeft,
|
|
53
|
+
y: document.body.offsetTop
|
|
54
|
+
},
|
|
55
|
+
offsetX = _ref2.x,
|
|
56
|
+
offsetY = _ref2.y;
|
|
57
|
+
var width = (params === null || params === void 0 ? void 0 : params.width) || 415;
|
|
58
|
+
var height = (params === null || params === void 0 ? void 0 : params.height) || 180;
|
|
59
|
+
var x = containerWidth / 2 - width / 2 + ((0, _platform.isWindows)() ? offsetX : 0);
|
|
60
|
+
var y = containerHeight / 2 - height / 2 + ((0, _platform.isWindows)() ? offsetY : 0);
|
|
61
|
+
if ((0, _env.isElectron)()) {
|
|
62
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_electron["default"], {
|
|
63
|
+
params: _objectSpread(_objectSpread({}, params), {}, {
|
|
64
|
+
x: x,
|
|
65
|
+
y: y
|
|
66
|
+
}),
|
|
67
|
+
children: children
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.StoreContext.Provider, {
|
|
71
|
+
value: store,
|
|
72
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRnd.Rnd, {
|
|
73
|
+
"default": {
|
|
74
|
+
x: x,
|
|
75
|
+
y: y,
|
|
76
|
+
width: width,
|
|
77
|
+
height: height
|
|
78
|
+
},
|
|
79
|
+
maxHeight: 700,
|
|
80
|
+
maxWidth: width,
|
|
81
|
+
minWidth: width,
|
|
82
|
+
minHeight: height,
|
|
83
|
+
bounds: '.fcr-confirm-dialog-wrapper_web',
|
|
84
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
85
|
+
className: "fcr-confirm-dialog-wrapper_web",
|
|
86
|
+
children: children
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
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.DeviceSettingElectronDialog = void 0;
|
|
8
|
+
var _mobxReact = require("mobx-react");
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
var _context = require("../../context");
|
|
11
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
12
|
+
var _constant = require("../../../../utilities/constant");
|
|
13
|
+
var _dialogs = require("../../dialogs");
|
|
14
|
+
var _renderer = require("../../../../utilities/renderer");
|
|
15
|
+
var _reactDom = require("react-dom");
|
|
16
|
+
var _windowHeader = require("agora-ui-foundation/lib/components/window-header");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
var DeviceSettingElectronDialog = exports.DeviceSettingElectronDialog = (0, _mobxReact.observer)(function (_ref) {
|
|
19
|
+
var children = _ref.children;
|
|
20
|
+
var store = (0, _react.useContext)(_context.StoreContext);
|
|
21
|
+
var t = (0, _i18n.useI18n)();
|
|
22
|
+
(0, _react.useEffect)(function () {
|
|
23
|
+
var node;
|
|
24
|
+
window.runtime.openRendererWindow('simultaneous-interpretation', function (dom, browserWindow) {
|
|
25
|
+
_dialogs.dialogWindows.set(_constant.DialogKey.DEVICE_SETTINGS, browserWindow);
|
|
26
|
+
node = dom;
|
|
27
|
+
if (store.currentDialogBounds.height) {
|
|
28
|
+
(0, _dialogs.setDialogBounds)(browserWindow, {
|
|
29
|
+
y: store.currentDialogBounds.y
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
(0, _renderer.handleWillClose)(browserWindow, function () {
|
|
33
|
+
(0, _reactDom.unmountComponentAtNode)(node);
|
|
34
|
+
_dialogs.dialogWindows["delete"](_constant.DialogKey.DEVICE_SETTINGS);
|
|
35
|
+
store.closeInterpreterDialog();
|
|
36
|
+
});
|
|
37
|
+
var handleCloseClick = function handleCloseClick() {
|
|
38
|
+
store.closeInterpreterDialog();
|
|
39
|
+
};
|
|
40
|
+
(0, _reactDom.render)(/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
41
|
+
className: "fcr-simultaneous-interpretation-dialog-wrapper",
|
|
42
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_windowHeader.FcrWindowHeader, {
|
|
43
|
+
showClose: true,
|
|
44
|
+
title: t('fmt_modules_labels_simultaneous_interpretation'),
|
|
45
|
+
onClose: handleCloseClick,
|
|
46
|
+
type: _windowHeader.WindowType.WINDOW,
|
|
47
|
+
withWindowPopUpButton: false
|
|
48
|
+
}), children]
|
|
49
|
+
}), dom);
|
|
50
|
+
}, {
|
|
51
|
+
frame: false,
|
|
52
|
+
fullscreen: false,
|
|
53
|
+
maximizable: false,
|
|
54
|
+
// titleBarStyle: 'hidden',
|
|
55
|
+
trafficLightPosition: {
|
|
56
|
+
x: 10,
|
|
57
|
+
y: 60
|
|
58
|
+
},
|
|
59
|
+
width: 580,
|
|
60
|
+
height: 600,
|
|
61
|
+
minWidth: 580,
|
|
62
|
+
minHeight: 600,
|
|
63
|
+
maxWidth: 670,
|
|
64
|
+
maxHeight: 800
|
|
65
|
+
});
|
|
66
|
+
return function () {
|
|
67
|
+
node && (0, _reactDom.unmountComponentAtNode)(node);
|
|
68
|
+
window.runtime.closeRendererWindow('simultaneous-interpretation');
|
|
69
|
+
};
|
|
70
|
+
}, []);
|
|
71
|
+
return null;
|
|
72
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.fcr-simultaneous-interpretation-dialog-wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
5
|
+
background: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
6
|
+
border-radius: 16px;
|
|
7
|
+
box-shadow: var(--fcr_web_light_dropup);
|
|
8
|
+
border: 1px solid var(--fcr_ui_scene_line1);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.fcr-simultaneous-interpretation-dialog-wrapper .frc-window-header {
|
|
12
|
+
cursor: move;
|
|
13
|
+
height: 46px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fcr-simultaneous-interpretation-dialog-wrapper .fcr-device-settings {
|
|
17
|
+
cursor: move;
|
|
18
|
+
height: calc(100% - 46px);
|
|
19
|
+
}
|
|
20
|
+
.fcr-simultaneous-interpretation-dialog-wrapper .fcr-device-settings-audio {
|
|
21
|
+
padding: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.fcr-simultaneous-interpretation-dialog-wrapper .frc-window-header .frc-window-header__title {
|
|
25
|
+
height: 46px;
|
|
26
|
+
line-height: 46px;
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 50%;
|
|
29
|
+
transform: translateX(-50%);
|
|
30
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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["default"] = void 0;
|
|
9
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
10
|
+
var _electron = require("./electron");
|
|
11
|
+
var _mobxReact = require("mobx-react");
|
|
12
|
+
var _react = require("react");
|
|
13
|
+
var _reactRnd = require("react-rnd");
|
|
14
|
+
var _windowHeader = require("agora-ui-foundation/lib/components/window-header");
|
|
15
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
16
|
+
var _context = require("../../context");
|
|
17
|
+
var _userQueue = _interopRequireDefault(require("./user-queue"));
|
|
18
|
+
require("./index.css");
|
|
19
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
var DeviceSettingDialog = (0, _mobxReact.observer)(function (_ref) {
|
|
21
|
+
var children = _ref.children;
|
|
22
|
+
var t = (0, _i18n.useI18n)();
|
|
23
|
+
var store = (0, _react.useContext)(_context.StoreContext);
|
|
24
|
+
var containerRef = (0, _react.useRef)(null);
|
|
25
|
+
var windowWidth = window.innerWidth;
|
|
26
|
+
var windowHeight = window.innerHeight;
|
|
27
|
+
var width = 506;
|
|
28
|
+
var height = 434;
|
|
29
|
+
var x = windowWidth / 2 - width / 2;
|
|
30
|
+
if ((0, _env.isElectron)()) {
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_electron.DeviceSettingElectronDialog, {
|
|
32
|
+
children: children
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function handleCloseClick() {
|
|
36
|
+
store.closeInterpreterDialog();
|
|
37
|
+
}
|
|
38
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRnd.Rnd, {
|
|
39
|
+
"default": {
|
|
40
|
+
x: x,
|
|
41
|
+
y: windowHeight / 2 - height / 2,
|
|
42
|
+
width: width,
|
|
43
|
+
height: height
|
|
44
|
+
},
|
|
45
|
+
ref: containerRef,
|
|
46
|
+
bounds: '.fcr-layout-content',
|
|
47
|
+
minWidth: width,
|
|
48
|
+
minHeight: height,
|
|
49
|
+
dragHandleClassName: "frc-window-header",
|
|
50
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
51
|
+
className: "fcr-simultaneous-interpretation-dialog-wrapper",
|
|
52
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_windowHeader.FcrWindowHeader, {
|
|
53
|
+
showClose: true,
|
|
54
|
+
title: t('fmt_modules_labels_simultaneous_interpretation'),
|
|
55
|
+
onClose: handleCloseClick,
|
|
56
|
+
type: _windowHeader.WindowType.WINDOW,
|
|
57
|
+
withWindowPopUpButton: false,
|
|
58
|
+
otherActionsAfter: /*#__PURE__*/(0, _jsxRuntime.jsx)(_userQueue["default"], {})
|
|
59
|
+
}), children]
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
var _default = exports["default"] = DeviceSettingDialog;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.fcr-simultaneous-interpretation-user-queue,
|
|
2
|
+
.fcr-simultaneous-interpretation-user-queue-container,
|
|
3
|
+
.fcr-simultaneous-interpretation-user-queue-container-last__bg,
|
|
4
|
+
.fcr-simultaneous-interpretation-user-queue-container-last {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fcr-simultaneous-interpretation-user-queue-container,
|
|
11
|
+
.fcr-simultaneous-interpretation-user-queue-container-last {
|
|
12
|
+
width: 28px;
|
|
13
|
+
height: 28px;
|
|
14
|
+
background: var(--fcr_mobile_ui_scene_color_popup_fill2);
|
|
15
|
+
|
|
16
|
+
border-radius: 50%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.fcr-simultaneous-interpretation-user-queue-container:nth-child(1) {
|
|
20
|
+
transform: translateX(50%);
|
|
21
|
+
z-index: 999;
|
|
22
|
+
}
|
|
23
|
+
.fcr-simultaneous-interpretation-user-queue-container:nth-child(2) {
|
|
24
|
+
transform: translateX(25%);
|
|
25
|
+
z-index: 998;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fcr-simultaneous-interpretation-user-queue-container-last__bg {
|
|
29
|
+
z-index: 997;
|
|
30
|
+
background: var(--fcr_mobile_ui_scene_fill1);
|
|
31
|
+
border-radius: 14px;
|
|
32
|
+
padding-right: 8px;
|
|
33
|
+
}
|
|
34
|
+
.fcr-simultaneous-interpretation-user-queue-container-last {
|
|
35
|
+
margin-right: 2px;
|
|
36
|
+
}
|