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
|
@@ -384,21 +384,17 @@ var FcrPretestStore = exports.FcrPretestStore = /*#__PURE__*/function () {
|
|
|
384
384
|
}, {
|
|
385
385
|
key: "_handleCameraListUpdated",
|
|
386
386
|
value: function () {
|
|
387
|
-
var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(cameraList
|
|
388
|
-
var previewCameraEnabled,
|
|
387
|
+
var _handleCameraListUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(cameraList) {
|
|
388
|
+
var previewCameraEnabled, cameraTrack;
|
|
389
389
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
390
390
|
while (1) switch (_context.prev = _context.next) {
|
|
391
391
|
case 0:
|
|
392
392
|
previewCameraEnabled = this.previewCameraEnabled;
|
|
393
|
-
if (
|
|
394
|
-
if (
|
|
395
|
-
deviceId = cameraList[0].deviceId;
|
|
396
|
-
this.setCameraId(deviceId);
|
|
393
|
+
if (cameraList.length > 0) {
|
|
394
|
+
if (previewCameraEnabled) {
|
|
397
395
|
cameraTrack = this._deviceStore.mediaControl.getCameraTrack(this._deviceStore.cameraId);
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
this._setPreviewCameraEnabled(true);
|
|
401
|
-
}
|
|
396
|
+
cameraTrack.start();
|
|
397
|
+
this._setPreviewCameraEnabled(true);
|
|
402
398
|
}
|
|
403
399
|
}
|
|
404
400
|
case 2:
|
|
@@ -407,7 +403,7 @@ var FcrPretestStore = exports.FcrPretestStore = /*#__PURE__*/function () {
|
|
|
407
403
|
}
|
|
408
404
|
}, _callee, this);
|
|
409
405
|
}));
|
|
410
|
-
function _handleCameraListUpdated(_x
|
|
406
|
+
function _handleCameraListUpdated(_x) {
|
|
411
407
|
return _handleCameraListUpdated2.apply(this, arguments);
|
|
412
408
|
}
|
|
413
409
|
return _handleCameraListUpdated;
|
|
@@ -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.InterpreterElectronDialog = 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 InterpreterElectronDialog = exports.InterpreterElectronDialog = (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('interpreter-setting', function (dom, browserWindow) {
|
|
25
|
+
_dialogs.dialogWindows.set(_constant.DialogKey.INTERPRETER, 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.INTERPRETER);
|
|
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('interpreter-setting');
|
|
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,61 @@
|
|
|
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["default"] = void 0;
|
|
8
|
+
var _env = require("agora-foundation/lib/utilities/env");
|
|
9
|
+
var _electron = require("./electron");
|
|
10
|
+
var _mobxReact = require("mobx-react");
|
|
11
|
+
var _react = require("react");
|
|
12
|
+
var _reactRnd = require("react-rnd");
|
|
13
|
+
var _windowHeader = require("agora-ui-foundation/lib/components/window-header");
|
|
14
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
15
|
+
var _context = require("../../context");
|
|
16
|
+
require("./index.css");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
var InterpreterDialog = (0, _mobxReact.observer)(function (_ref) {
|
|
19
|
+
var children = _ref.children;
|
|
20
|
+
var t = (0, _i18n.useI18n)();
|
|
21
|
+
var store = (0, _react.useContext)(_context.StoreContext);
|
|
22
|
+
var containerRef = (0, _react.useRef)(null);
|
|
23
|
+
var windowWidth = window.innerWidth;
|
|
24
|
+
var windowHeight = window.innerHeight;
|
|
25
|
+
var width = 506;
|
|
26
|
+
var height = 434;
|
|
27
|
+
var x = windowWidth / 2 - width / 2;
|
|
28
|
+
if ((0, _env.isElectron)()) {
|
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_electron.InterpreterElectronDialog, {
|
|
30
|
+
children: children
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function handleCloseClick() {
|
|
34
|
+
store.closeInterpreterDialog();
|
|
35
|
+
}
|
|
36
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRnd.Rnd, {
|
|
37
|
+
"default": {
|
|
38
|
+
x: x,
|
|
39
|
+
y: windowHeight / 2 - height / 2,
|
|
40
|
+
width: width,
|
|
41
|
+
height: height
|
|
42
|
+
},
|
|
43
|
+
ref: containerRef,
|
|
44
|
+
bounds: '.fcr-layout-content',
|
|
45
|
+
minWidth: width,
|
|
46
|
+
minHeight: height,
|
|
47
|
+
dragHandleClassName: "frc-window-header",
|
|
48
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
49
|
+
className: "fcr-simultaneous-interpretation-dialog-wrapper",
|
|
50
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_windowHeader.FcrWindowHeader, {
|
|
51
|
+
showClose: true,
|
|
52
|
+
title: t('fmt_modules_labels_simultaneous_interpretation'),
|
|
53
|
+
onClose: handleCloseClick,
|
|
54
|
+
type: _windowHeader.WindowType.WINDOW,
|
|
55
|
+
withWindowPopUpButton: false
|
|
56
|
+
// otherActionsAfter={<UserQueue />}
|
|
57
|
+
}), children]
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
var _default = exports["default"] = InterpreterDialog;
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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["default"] = void 0;
|
|
8
|
+
var _avatar = require("agora-ui-foundation/lib/components/avatar");
|
|
9
|
+
var _tooltip = require("agora-ui-foundation/lib/components/tooltip");
|
|
10
|
+
require("./index.css");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
var UserQueue = function UserQueue() {
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
|
|
14
|
+
trigger: "click",
|
|
15
|
+
content: 'xxx等21人可能正在设置该功能',
|
|
16
|
+
placement: 'top',
|
|
17
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
18
|
+
className: "fcr-simultaneous-interpretation-user-queue",
|
|
19
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
20
|
+
className: "fcr-simultaneous-interpretation-user-queue-container",
|
|
21
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
22
|
+
size: 24,
|
|
23
|
+
nickName: 'name1',
|
|
24
|
+
textSize: 12
|
|
25
|
+
})
|
|
26
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
27
|
+
className: "fcr-simultaneous-interpretation-user-queue-container",
|
|
28
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
29
|
+
size: 24,
|
|
30
|
+
nickName: 'name2',
|
|
31
|
+
textSize: 12
|
|
32
|
+
})
|
|
33
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
34
|
+
className: "fcr-simultaneous-interpretation-user-queue-container-last__bg",
|
|
35
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
36
|
+
className: "fcr-simultaneous-interpretation-user-queue-container-last",
|
|
37
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.FcrAvatar, {
|
|
38
|
+
size: 24,
|
|
39
|
+
nickName: 'name2',
|
|
40
|
+
textSize: 12
|
|
41
|
+
})
|
|
42
|
+
}), "21"]
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var _default = exports["default"] = UserQueue;
|
|
@@ -48,7 +48,8 @@ var ChatElectronDialog = exports.ChatElectronDialog = (0, _mobxReact.observer)(f
|
|
|
48
48
|
fullscreen: false,
|
|
49
49
|
maximizable: false,
|
|
50
50
|
y: store.currentDialogBounds.y,
|
|
51
|
-
show: !(0, _platform.isWindows)()
|
|
51
|
+
show: !(0, _platform.isWindows)(),
|
|
52
|
+
transparent: true
|
|
52
53
|
});
|
|
53
54
|
return function () {
|
|
54
55
|
node && (0, _reactDom.unmountComponentAtNode)(node);
|
|
@@ -59,14 +59,16 @@ var ConfirmElectronDialog = (0, _mobxReact.observer)(function (_ref) {
|
|
|
59
59
|
frame: false,
|
|
60
60
|
fullscreen: false,
|
|
61
61
|
maximizable: false,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
// TODO:
|
|
63
|
+
width: (params === null || params === void 0 ? void 0 : params.width) || 320,
|
|
64
|
+
height: (params === null || params === void 0 ? void 0 : params.height) || 168 + (params.closable || params.closable === undefined ? 16 : 0),
|
|
64
65
|
minWidth: 255,
|
|
65
66
|
minHeight: 160,
|
|
66
67
|
maxWidth: 620,
|
|
67
68
|
maxHeight: 700,
|
|
68
69
|
x: x + ((params === null || params === void 0 ? void 0 : params.x) || 0),
|
|
69
|
-
y: y + ((params === null || params === void 0 ? void 0 : params.y) || 0)
|
|
70
|
+
y: y + ((params === null || params === void 0 ? void 0 : params.y) || 0),
|
|
71
|
+
transparent: true
|
|
70
72
|
});
|
|
71
73
|
case 9:
|
|
72
74
|
case "end":
|
|
@@ -21,6 +21,7 @@ var ConnectionGatewayElectronDialog = exports.ConnectionGatewayElectronDialog =
|
|
|
21
21
|
(0, _react.useEffect)(function () {
|
|
22
22
|
var node;
|
|
23
23
|
window.runtime.openRendererWindow('connection-gateway', function (dom, browserWindow) {
|
|
24
|
+
browserWindow.webContents.insertCSS("\n ::-webkit-scrollbar {\n display: none;\n }\n ");
|
|
24
25
|
browserRef.current = browserWindow;
|
|
25
26
|
browserWindow.focus();
|
|
26
27
|
_dialogs.dialogWindows.set(_constant.DialogKey.CONNECTION_GATEWAY, browserWindow);
|
|
@@ -43,7 +44,8 @@ var ConnectionGatewayElectronDialog = exports.ConnectionGatewayElectronDialog =
|
|
|
43
44
|
x: 0,
|
|
44
45
|
y: 0
|
|
45
46
|
},
|
|
46
|
-
resizable: false
|
|
47
|
+
resizable: false,
|
|
48
|
+
transparent: true
|
|
47
49
|
});
|
|
48
50
|
return function () {
|
|
49
51
|
node && (0, _reactDom.unmountComponentAtNode)(node);
|
|
@@ -22,6 +22,7 @@ var DeviceSettingElectronDialog = exports.DeviceSettingElectronDialog = (0, _mob
|
|
|
22
22
|
(0, _react.useEffect)(function () {
|
|
23
23
|
var node;
|
|
24
24
|
window.runtime.openRendererWindow('device-setting', function (dom, browserWindow) {
|
|
25
|
+
browserWindow.webContents.insertCSS("\n ::-webkit-scrollbar {\n display: none;\n }\n ");
|
|
25
26
|
_dialogs.dialogWindows.set(_constant.DialogKey.DEVICE_SETTINGS, browserWindow);
|
|
26
27
|
node = dom;
|
|
27
28
|
if (store.currentDialogBounds.height) {
|
|
@@ -61,7 +62,8 @@ var DeviceSettingElectronDialog = exports.DeviceSettingElectronDialog = (0, _mob
|
|
|
61
62
|
minWidth: 580,
|
|
62
63
|
minHeight: 600,
|
|
63
64
|
maxWidth: 670,
|
|
64
|
-
maxHeight: 800
|
|
65
|
+
maxHeight: 800,
|
|
66
|
+
transparent: true
|
|
65
67
|
});
|
|
66
68
|
return function () {
|
|
67
69
|
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 OperationWaitingRoomDialog = (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', function (dom, browserWindow) {
|
|
45
|
+
node = dom;
|
|
46
|
+
// browserWindow.focus(); // 这里打开的confirm dialog 不会走 openRendererWindow 中的 focus 逻辑,所以单独 focus 一下
|
|
47
|
+
|
|
48
|
+
browserWindow.setBounds({
|
|
49
|
+
width: 445,
|
|
50
|
+
height: 237
|
|
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');
|
|
85
|
+
};
|
|
86
|
+
}, []);
|
|
87
|
+
return null;
|
|
88
|
+
});
|
|
89
|
+
var _default = exports["default"] = OperationWaitingRoomDialog;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.close-waiting-room-dialog {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
text-align: center;
|
|
7
|
+
background-color: white;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.close-waiting-room-dialog .fcr-dialog-title {
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
margin-bottom: 10px;
|
|
16
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.close-waiting-room-dialog .fcr-dialog-content {
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-size: 13px;
|
|
22
|
+
margin-bottom: 10px;
|
|
23
|
+
color: var(--fcr_ui_scene_icontext1);
|
|
24
|
+
width: 90%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.close-waiting-room-dialog button {
|
|
28
|
+
width: 100%;
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.close-waiting-room-dialog .fcr-button-white {
|
|
33
|
+
background-color: var(--fcr_ui_scene_btn2);
|
|
34
|
+
color: var(--fcr_ui_scene_icontext2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.close-waiting-room-dialog .fcr-button-white:hover {
|
|
38
|
+
background-color: var(--fcr_ui_scene_btn2) !important;
|
|
39
|
+
color: var(--fcr_ui_scene_icontext2) !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fcr-dialog-buttons {
|
|
43
|
+
width: 90%;
|
|
44
|
+
}
|