fcr-ui-scene 3.8.0-alpha → 3.8.1-alpha
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/lib/base.js +2 -2
- package/lib/electron/bootstrap-sdk.js +6 -6
- package/lib/electron/exit-codes.js +11 -11
- package/lib/electron/hang-detection/manager.js +4 -4
- package/lib/electron/ipc-protocol.js +12 -12
- package/lib/electron/process-manager/event-manager.js +30 -30
- package/lib/electron/process-manager/index.js +88 -88
- package/lib/electron/process-manager/state-manager.js +57 -57
- package/lib/electron/process-manager/types.js +16 -16
- package/lib/electron/sdk-helper.js +3 -3
- package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
- package/lib/electron/window-proxy/main-process-handler.js +14 -14
- package/lib/fragments/annotation/style.css +9 -9
- package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
- package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
- package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
- package/lib/fragments/annotation/toolbar/style.css +55 -55
- package/lib/fragments/whiteboard/cursor.css +77 -77
- package/lib/fragments/whiteboard/store.js +1 -1
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/modules/action-bar/components/chat/index.css +88 -88
- package/lib/modules/action-bar/components/more/index.css +114 -114
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
- package/lib/modules/action-bar/components/participants/index.css +21 -21
- package/lib/modules/action-bar/components/record/index.css +39 -39
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
- package/lib/modules/action-bar/index.css +358 -358
- package/lib/modules/action-bar/main-scene/view.js +3 -3
- package/lib/modules/audio-stream/index.js +3 -3
- package/lib/modules/caption/draggable-container/index.css +10 -10
- package/lib/modules/caption/draggable-container/index.js +34 -12
- package/lib/modules/caption/store.d.ts +1 -4
- package/lib/modules/caption/store.js +10 -18
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/caption/view.js +16 -27
- package/lib/modules/chat/components/chat-bar/index.css +89 -89
- package/lib/modules/chat/components/chat-select/index.css +185 -185
- package/lib/modules/chat/index.css +124 -124
- package/lib/modules/chat/store.d.ts +1 -0
- package/lib/modules/chat/store.js +2 -2
- package/lib/modules/components/apps/app-item/index.css +49 -49
- package/lib/modules/components/apps/index.css +9 -9
- package/lib/modules/components/caption-menu/index.css +58 -58
- package/lib/modules/components/caption-menu/index.d.ts +2 -0
- package/lib/modules/components/caption-menu/index.js +13 -10
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
- package/lib/modules/components/control-bar/components/loading/index.css +76 -76
- package/lib/modules/components/control-bar/components/progress/style.css +51 -51
- package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
- package/lib/modules/components/control-bar/index.css +99 -99
- package/lib/modules/components/device-control/index.css +177 -177
- package/lib/modules/components/leave-meeting/components/index.css +151 -151
- package/lib/modules/components/leave-meeting/style.css +9 -9
- package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
- package/lib/modules/components/member-window/index.css +502 -502
- package/lib/modules/components/security-menu/index.css +42 -42
- package/lib/modules/components/tab-frame/index.css +40 -40
- package/lib/modules/components/toolbar/components/item/style.css +94 -94
- package/lib/modules/components/toolbar/components/panel/style.css +86 -86
- package/lib/modules/components/toolbar/style.css +85 -85
- package/lib/modules/connection-gateway/components/computer/index.css +12 -12
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
- package/lib/modules/connection-gateway/components/phone/index.css +49 -49
- package/lib/modules/connection-gateway/index.css +6 -6
- package/lib/modules/control-bar/components/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- package/lib/modules/control-bar/components/more-actions/index.css +103 -103
- package/lib/modules/control-bar/components/share-audio/index.css +90 -90
- package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/control-bar/store.d.ts +3 -4
- package/lib/modules/control-bar/store.js +37 -30
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +40 -57
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/components/dialog-container/index.js +1 -0
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
- package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
- package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
- package/lib/modules/dialog/dialogs/widget/index.js +4 -4
- package/lib/modules/dialog/index.css +56 -56
- package/lib/modules/event-toast/index.css +25 -25
- package/lib/modules/event-toast/index.js +7 -1
- package/lib/modules/interpreter/action/add-btn/index.css +4 -4
- package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
- package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
- package/lib/modules/interpreter/dialog-content/index.css +33 -33
- package/lib/modules/interpreter/footer/index.css +11 -11
- package/lib/modules/interpreter/index.css +4 -4
- package/lib/modules/interpreter/interpreter-list/index.css +8 -8
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
- package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
- package/lib/modules/layout/components/index.css +653 -653
- package/lib/modules/layout/index.css +59 -59
- package/lib/modules/layout/store.base.d.ts +1 -1
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/store.electron.d.ts +0 -1
- package/lib/modules/layout/store.electron.js +37 -133
- package/lib/modules/layout/type.js +5 -5
- package/lib/modules/notification/index.css +77 -77
- package/lib/modules/notification/interpreter-status/index.css +76 -76
- package/lib/modules/participant/components/confirm-input/index.css +4 -4
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
- package/lib/modules/participant/index.css +102 -102
- package/lib/modules/participant/store.base.js +183 -185
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
- package/lib/modules/phone-audio-connect/index.css +56 -56
- package/lib/modules/secondary-window/store.js +8 -10
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
- package/lib/modules/setting/general-settings/index.css +41 -41
- package/lib/modules/setting/index.css +112 -112
- package/lib/modules/setting/index.js +4 -2
- package/lib/modules/setting/minutes-settings/index.css +65 -65
- package/lib/modules/setting/state/index.css +207 -207
- package/lib/modules/setting/storage-settings/index.css +91 -91
- package/lib/modules/setting/store.base.d.ts +5 -3
- package/lib/modules/setting/store.base.js +64 -43
- package/lib/modules/setting/store.electron.d.ts +1 -1
- package/lib/modules/setting/store.electron.js +3 -7
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/setting/view.js +3 -2
- package/lib/modules/share-screen/components/control-bar/index.css +75 -75
- package/lib/modules/share-screen/components/selection/index.css +73 -73
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
- package/lib/modules/share-screen/index.js +10 -10
- package/lib/modules/share-screen/store.base.js +2 -2
- package/lib/modules/share-screen/store.electron.js +51 -23
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
- package/lib/modules/state-bar/index.css +706 -706
- package/lib/modules/state-bar/main-scene/store.base.js +2 -2
- package/lib/modules/state-bar/meeting-detail.css +137 -137
- package/lib/modules/state-bar/meeting-network-state.css +150 -150
- package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
- package/lib/modules/subtitles-history/components/list-item.js +4 -7
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/subtitles-history/store.base.d.ts +3 -1
- package/lib/modules/subtitles-history/store.base.js +11 -1
- package/lib/modules/video-window/components/members/index.css +51 -51
- package/lib/modules/video-window/components/speaking/index.css +86 -86
- package/lib/modules/video-window/components/topControl/index.css +35 -35
- package/lib/modules/video-window/index.css +21 -21
- package/lib/modules/video-window/popover-watcher.js +3 -3
- package/lib/modules/video-window/store.js +10 -10
- package/lib/modules/waiting-room-layout/index.css +96 -96
- package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
- package/lib/modules/whiteboard/components/loading/index.css +76 -76
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
- package/lib/modules/whiteboard/components/pagination/index.css +228 -228
- package/lib/modules/whiteboard/components/progress/style.css +51 -51
- package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
- package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
- package/lib/modules/whiteboard/style.css +140 -140
- package/lib/modules/widget/index.css +9 -9
- package/lib/object-manager.js +8 -8
- package/lib/plugins/module-dev-plugin.js +11 -11
- package/lib/providers/ability-provider.js +17 -17
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/dialog/provider.base.js +2 -2
- package/lib/providers/dialog/type.js +3 -3
- package/lib/providers/multi-display-provider.js +4 -4
- package/lib/providers/privilege-provider.js +7 -7
- package/lib/providers/screen-share/provider.base.d.ts +2 -13
- package/lib/providers/screen-share/provider.base.js +28 -35
- package/lib/providers/screen-share/provider.electron.d.ts +0 -5
- package/lib/providers/screen-share/provider.electron.js +31 -18
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/screen-share/type.d.ts +0 -16
- package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
- package/lib/providers/stt-provider/stt-provider.js +145 -146
- package/lib/providers/stt-provider/type.d.ts +2 -10
- package/lib/providers/stt-provider/type.js +3 -3
- package/lib/providers/window/main-window.js +2 -2
- package/lib/providers/window/provider.js +5 -5
- package/lib/providers/window/renderer-window.js +2 -2
- package/lib/schema.js +26 -26
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/translations/enUS.d.ts +12 -1
- package/lib/translations/enUS.js +22 -19
- package/lib/translations/zhCN.d.ts +12 -1
- package/lib/translations/zhCN.js +20 -17
- package/lib/type.js +21 -21
- package/lib/ui-scene-switch.js +2 -2
- package/lib/utilities/constant.js +6 -6
- package/lib/utilities/renderer.js +8 -8
- package/lib/utilities/shared-storage.js +2 -2
- package/lib/utilities/tools.js +14 -14
- package/package.json +78 -79
- package/public/assets/fcr_chat_reddot.svg +5 -5
- package/public/assets/fcr_grid_big.svg +3 -3
- package/public/assets/fcr_leave2.svg +58 -58
- package/public/assets/fcr_listontop_big.svg +3 -3
- package/public/assets/step-gradient.svg +10 -10
- package/public/fragment.html +10 -10
- package/public/index.html +183 -183
- package/public/meeting-manager.js +405 -405
package/lib/base.js
CHANGED
|
@@ -300,8 +300,8 @@ var FcrBaseUIScene = exports.FcrBaseUIScene = /*#__PURE__*/function (_FcrUIRootN
|
|
|
300
300
|
}
|
|
301
301
|
}]);
|
|
302
302
|
}(FcrUIRootNode);
|
|
303
|
-
/**
|
|
304
|
-
* UI Module
|
|
303
|
+
/**
|
|
304
|
+
* UI Module
|
|
305
305
|
*/
|
|
306
306
|
var UIModule = exports.UIModule = /*#__PURE__*/function (_FcrUINode3) {
|
|
307
307
|
function UIModule(parentNode) {
|
|
@@ -114,8 +114,8 @@ _electron.app.addListener('quit', function (event, exitCode) {
|
|
|
114
114
|
|
|
115
115
|
// ==================== 辅助函数 ====================
|
|
116
116
|
|
|
117
|
-
/**
|
|
118
|
-
* 创建主窗口
|
|
117
|
+
/**
|
|
118
|
+
* 创建主窗口
|
|
119
119
|
*/
|
|
120
120
|
function createMainWindow() {
|
|
121
121
|
var mainWindow = new _electron.BrowserWindow(_objectSpread(_objectSpread({}, _defaultOptions.defaultWindowOptions), {}, {
|
|
@@ -129,8 +129,8 @@ function createMainWindow() {
|
|
|
129
129
|
return mainWindow;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
/**
|
|
133
|
-
* 加载页面
|
|
132
|
+
/**
|
|
133
|
+
* 加载页面
|
|
134
134
|
*/
|
|
135
135
|
function loadPage(mainWindow) {
|
|
136
136
|
if (_env.isDev) {
|
|
@@ -178,8 +178,8 @@ function handleResponsive(targetWindowId) {
|
|
|
178
178
|
hangDetectionManager.handleWindowResponsive(targetWindowId);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* 清理资源
|
|
181
|
+
/**
|
|
182
|
+
* 清理资源
|
|
183
183
|
*/
|
|
184
184
|
function cleanupResources() {
|
|
185
185
|
logger.info('Cleaning up resources...');
|
|
@@ -5,22 +5,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.AppExitCode = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* Application exit codes
|
|
10
|
-
*
|
|
11
|
-
* These codes are used when calling app.exit() to indicate the reason for application termination.
|
|
12
|
-
* Using specific exit codes helps with debugging and process monitoring.
|
|
8
|
+
/**
|
|
9
|
+
* Application exit codes
|
|
10
|
+
*
|
|
11
|
+
* These codes are used when calling app.exit() to indicate the reason for application termination.
|
|
12
|
+
* Using specific exit codes helps with debugging and process monitoring.
|
|
13
13
|
*/
|
|
14
14
|
var AppExitCode = exports.AppExitCode = /*#__PURE__*/function (AppExitCode) {
|
|
15
15
|
AppExitCode[AppExitCode["NORMAL_EXIT"] = 0] = "NORMAL_EXIT";
|
|
16
|
-
/**
|
|
17
|
-
* Renderer process has unexpectedly terminated
|
|
18
|
-
* This typically indicates a crash or critical error in the sub window renderer process
|
|
16
|
+
/**
|
|
17
|
+
* Renderer process has unexpectedly terminated
|
|
18
|
+
* This typically indicates a crash or critical error in the sub window renderer process
|
|
19
19
|
*/
|
|
20
20
|
AppExitCode[AppExitCode["RENDERER_PROCESS_GONE"] = 100] = "RENDERER_PROCESS_GONE";
|
|
21
|
-
/**
|
|
22
|
-
* Window hang detection
|
|
23
|
-
* This typically indicates a hang or critical error in the main window
|
|
21
|
+
/**
|
|
22
|
+
* Window hang detection
|
|
23
|
+
* This typically indicates a hang or critical error in the main window
|
|
24
24
|
*/
|
|
25
25
|
AppExitCode[AppExitCode["HANG_DETECTION_EXIT"] = 101] = "HANG_DETECTION_EXIT";
|
|
26
26
|
return AppExitCode;
|
|
@@ -66,8 +66,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
66
66
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
67
67
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
68
68
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
69
|
-
/**
|
|
70
|
-
* 多窗口 Hang Detection 管理器
|
|
69
|
+
/**
|
|
70
|
+
* 多窗口 Hang Detection 管理器
|
|
71
71
|
*/
|
|
72
72
|
var MultiWindowHangDetectionManager = exports.MultiWindowHangDetectionManager = /*#__PURE__*/function () {
|
|
73
73
|
function MultiWindowHangDetectionManager(callbacks, config) {
|
|
@@ -105,8 +105,8 @@ var MultiWindowHangDetectionManager = exports.MultiWindowHangDetectionManager =
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
/**
|
|
109
|
-
* 处理窗口变为responsive
|
|
108
|
+
/**
|
|
109
|
+
* 处理窗口变为responsive
|
|
110
110
|
*/
|
|
111
111
|
}, {
|
|
112
112
|
key: "handleWindowResponsive",
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.BrowserWindowIPCAction = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* BrowserWindow IPC 通信协议
|
|
8
|
+
/**
|
|
9
|
+
* BrowserWindow IPC 通信协议
|
|
10
10
|
*/
|
|
11
11
|
var BrowserWindowIPCAction = exports.BrowserWindowIPCAction = /*#__PURE__*/function (BrowserWindowIPCAction) {
|
|
12
12
|
// 窗口操作
|
|
@@ -45,17 +45,17 @@ var BrowserWindowIPCAction = exports.BrowserWindowIPCAction = /*#__PURE__*/funct
|
|
|
45
45
|
BrowserWindowIPCAction["EVENT_BLUR"] = "browser-window:event:blur";
|
|
46
46
|
return BrowserWindowIPCAction;
|
|
47
47
|
}({});
|
|
48
|
-
/**
|
|
49
|
-
* IPC 请求参数类型
|
|
48
|
+
/**
|
|
49
|
+
* IPC 请求参数类型
|
|
50
50
|
*/
|
|
51
|
-
/**
|
|
52
|
-
* IPC 响应类型
|
|
53
|
-
* Note: With invoke pattern, success/error is handled by promise resolution/rejection
|
|
54
|
-
* This interface is kept for backward compatibility in the proxy layer
|
|
51
|
+
/**
|
|
52
|
+
* IPC 响应类型
|
|
53
|
+
* Note: With invoke pattern, success/error is handled by promise resolution/rejection
|
|
54
|
+
* This interface is kept for backward compatibility in the proxy layer
|
|
55
55
|
*/
|
|
56
|
-
/**
|
|
57
|
-
* 窗口事件通知类型
|
|
56
|
+
/**
|
|
57
|
+
* 窗口事件通知类型
|
|
58
58
|
*/
|
|
59
|
-
/**
|
|
60
|
-
* 具体操作的参数类型
|
|
59
|
+
/**
|
|
60
|
+
* 具体操作的参数类型
|
|
61
61
|
*/
|
|
@@ -22,8 +22,8 @@ var _logger = require("../logger");
|
|
|
22
22
|
var _struct = require("../struct");
|
|
23
23
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
24
24
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25
|
-
/**
|
|
26
|
-
* EventManager 负责管理启动状态和房间ID,提供事件驱动的状态管理
|
|
25
|
+
/**
|
|
26
|
+
* EventManager 负责管理启动状态和房间ID,提供事件驱动的状态管理
|
|
27
27
|
*/
|
|
28
28
|
var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter) {
|
|
29
29
|
function EventManager() {
|
|
@@ -39,8 +39,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
39
39
|
return _this;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* 获取当前启动状态
|
|
42
|
+
/**
|
|
43
|
+
* 获取当前启动状态
|
|
44
44
|
*/
|
|
45
45
|
(0, _inherits2["default"])(EventManager, _EventEmitter);
|
|
46
46
|
return (0, _createClass2["default"])(EventManager, [{
|
|
@@ -49,8 +49,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
49
49
|
return this._launchState;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* 获取当前房间ID
|
|
52
|
+
/**
|
|
53
|
+
* 获取当前房间ID
|
|
54
54
|
*/
|
|
55
55
|
}, {
|
|
56
56
|
key: "roomId",
|
|
@@ -58,8 +58,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
58
58
|
return this._roomId || 'unknown';
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
/**
|
|
62
|
-
* 获取结束原因
|
|
61
|
+
/**
|
|
62
|
+
* 获取结束原因
|
|
63
63
|
*/
|
|
64
64
|
}, {
|
|
65
65
|
key: "endReason",
|
|
@@ -67,8 +67,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
67
67
|
return this._endReason;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
/**
|
|
71
|
-
* 获取状态变更历史
|
|
70
|
+
/**
|
|
71
|
+
* 获取状态变更历史
|
|
72
72
|
*/
|
|
73
73
|
}, {
|
|
74
74
|
key: "stateHistory",
|
|
@@ -76,8 +76,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
76
76
|
return (0, _toConsumableArray2["default"])(this._stateHistory);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
/**
|
|
80
|
-
* 设置启动状态
|
|
79
|
+
/**
|
|
80
|
+
* 设置启动状态
|
|
81
81
|
*/
|
|
82
82
|
}, {
|
|
83
83
|
key: "_setState",
|
|
@@ -111,8 +111,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
111
111
|
this.emit('stateChange', stateChangeEvent);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* 检查是否可以启动新的会议
|
|
114
|
+
/**
|
|
115
|
+
* 检查是否可以启动新的会议
|
|
116
116
|
*/
|
|
117
117
|
}, {
|
|
118
118
|
key: "canLaunchMeeting",
|
|
@@ -120,8 +120,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
120
120
|
return this._launchState !== _struct.FcrUISceneLaunchState.PROCESSING;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/**
|
|
124
|
-
* 开始处理会议启动
|
|
123
|
+
/**
|
|
124
|
+
* 开始处理会议启动
|
|
125
125
|
*/
|
|
126
126
|
}, {
|
|
127
127
|
key: "startMeetingProcess",
|
|
@@ -139,8 +139,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
139
139
|
return true;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
/**
|
|
143
|
-
* 会议启动成功
|
|
142
|
+
/**
|
|
143
|
+
* 会议启动成功
|
|
144
144
|
*/
|
|
145
145
|
}, {
|
|
146
146
|
key: "onLaunchSuccess",
|
|
@@ -153,8 +153,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
153
153
|
// this.emit('launchSuccess', event);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
/**
|
|
157
|
-
* 会议启动失败
|
|
156
|
+
/**
|
|
157
|
+
* 会议启动失败
|
|
158
158
|
*/
|
|
159
159
|
}, {
|
|
160
160
|
key: "onLaunchFailure",
|
|
@@ -171,8 +171,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
171
171
|
// this.emit('launchFailure', event);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
/**
|
|
175
|
-
* 退出会议
|
|
174
|
+
/**
|
|
175
|
+
* 退出会议
|
|
176
176
|
*/
|
|
177
177
|
}, {
|
|
178
178
|
key: "onExitedMeeting",
|
|
@@ -191,8 +191,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
191
191
|
// this.emit('exitedMeeting', event);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
/**
|
|
195
|
-
* 窗口关闭
|
|
194
|
+
/**
|
|
195
|
+
* 窗口关闭
|
|
196
196
|
*/
|
|
197
197
|
}, {
|
|
198
198
|
key: "onCloseWindow",
|
|
@@ -210,8 +210,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
/**
|
|
214
|
-
* 重置状态到默认值
|
|
213
|
+
/**
|
|
214
|
+
* 重置状态到默认值
|
|
215
215
|
*/
|
|
216
216
|
}, {
|
|
217
217
|
key: "reset",
|
|
@@ -224,8 +224,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
224
224
|
// this.emit('reset', { timestamp: Date.now() });
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
/**
|
|
228
|
-
* 获取当前状态的描述信息
|
|
227
|
+
/**
|
|
228
|
+
* 获取当前状态的描述信息
|
|
229
229
|
*/
|
|
230
230
|
}, {
|
|
231
231
|
key: "getStateDescription",
|
|
@@ -234,8 +234,8 @@ var EventManager = exports.EventManager = /*#__PURE__*/function (_EventEmitter)
|
|
|
234
234
|
return "State: ".concat(_struct.FcrUISceneLaunchState[this._launchState], ", RoomId: ").concat(this._roomId || 'None').concat(endReasonText);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
/**
|
|
238
|
-
* 清理资源
|
|
237
|
+
/**
|
|
238
|
+
* 清理资源
|
|
239
239
|
*/
|
|
240
240
|
}, {
|
|
241
241
|
key: "release",
|