fcr-ui-scene 3.6.2 → 3.6.3
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/creator.d.ts +1 -0
- package/lib/creator.js +38 -26
- package/lib/electron/app.js +5 -4
- package/lib/electron/bootstrap-dev.js +3 -0
- package/lib/electron/injections.d.ts +3 -2
- package/lib/electron/injections.js +5 -6
- package/lib/electron/main.js +15 -11
- package/lib/electron/window.js +0 -3
- package/lib/fragments/annotation/index.d.ts +1 -0
- package/lib/fragments/annotation/index.js +55 -40
- package/lib/fragments/annotation/store.d.ts +7 -2
- package/lib/fragments/annotation/store.js +170 -90
- package/lib/fragments/annotation/view.d.ts +1 -0
- package/lib/fragments/annotation/view.js +10 -2
- package/lib/modules/action-bar/index.css +4 -0
- package/lib/modules/action-bar/store.d.ts +1 -7
- package/lib/modules/action-bar/store.js +35 -82
- package/lib/modules/annotation/board-cursor.css +76 -0
- package/lib/modules/annotation/components/control-bar/index.js +42 -2
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/index.js +3 -1
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/libs.d.ts +1 -0
- package/lib/modules/annotation/components/toolbar/components/graphic-tool/graphic-panel/libs.js +11 -5
- package/lib/modules/annotation/components/toolbar/components/item/item.d.ts +1 -0
- package/lib/modules/annotation/components/toolbar/components/item/item.js +3 -2
- package/lib/modules/annotation/index.d.ts +2 -0
- package/lib/modules/annotation/index.js +2 -1
- package/lib/modules/annotation/store.d.ts +11 -3
- package/lib/modules/annotation/store.js +209 -184
- package/lib/modules/annotation/style.css +3 -3
- package/lib/modules/annotation/view.d.ts +1 -0
- package/lib/modules/annotation/view.js +26 -9
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/audio-control.js +10 -4
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.d.ts +2 -2
- package/lib/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +4 -4
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.d.ts +0 -2
- package/lib/modules/components/member-window/components/member-actions/components/icon-status.js +3 -4
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.d.ts +0 -3
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +6 -32
- package/lib/modules/components/member-window/components/member-actions/components/share-status.js +11 -3
- package/lib/modules/components/member-window/components/member-actions/components/user-info.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/user-info.js +7 -10
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.d.ts +0 -1
- package/lib/modules/components/member-window/components/member-actions/components/user-tag.js +0 -2
- package/lib/modules/components/member-window/components/member-actions/index.js +1 -32
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +38 -1
- package/lib/modules/components/member-window/components/member-actions/store.js +130 -23
- package/lib/modules/components/member-window/index.css +37 -0
- package/lib/modules/control-bar/index.d.ts +0 -4
- package/lib/modules/control-bar/index.js +0 -32
- package/lib/modules/control-bar/store.d.ts +4 -6
- package/lib/modules/control-bar/store.js +63 -103
- package/lib/modules/control-bar/view.js +45 -3
- package/lib/modules/dialog/components/control-bar/index.d.ts +0 -2
- package/lib/modules/dialog/components/control-bar/index.js +1 -3
- package/lib/modules/dialog/hooks/useElectron.js +3 -2
- package/lib/modules/dialog/index.d.ts +0 -3
- package/lib/modules/dialog/index.js +1 -25
- package/lib/modules/dialog/store.d.ts +6 -8
- package/lib/modules/dialog/store.js +21 -55
- package/lib/modules/layout/components/CommonVideoRenderer.js +5 -2
- package/lib/modules/layout/type.d.ts +7 -0
- package/lib/modules/participant/store.js +59 -28
- package/lib/modules/setting/index.d.ts +2 -0
- package/lib/modules/setting/index.js +3 -3
- package/lib/modules/setting/store.d.ts +8 -10
- package/lib/modules/setting/store.js +22 -20
- package/lib/modules/share-screen/store.d.ts +3 -0
- package/lib/modules/share-screen/store.js +63 -54
- package/lib/modules/state-bar/index.css +8 -6
- package/lib/modules/state-bar/index.d.ts +2 -0
- package/lib/modules/state-bar/index.js +2 -1
- package/lib/modules/state-bar/layout-config.d.ts +1 -0
- package/lib/modules/state-bar/layout-config.js +15 -5
- package/lib/modules/state-bar/store.d.ts +5 -1
- package/lib/modules/state-bar/store.js +8 -1
- package/lib/modules/state-bar/view.js +9 -5
- package/lib/modules/whiteboard/components/control-bar/store.js +2 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +7 -3
- package/lib/modules/whiteboard/components/toolbar/store.js +61 -35
- package/lib/modules/whiteboard/index.js +3 -2
- package/lib/modules/whiteboard/style.css +0 -4
- package/lib/modules/whiteboard/view.js +8 -2
- package/lib/providers/annotation-provider.d.ts +63 -12
- package/lib/providers/annotation-provider.js +51 -41
- package/lib/providers/device-provider.d.ts +3 -3
- package/lib/providers/device-provider.js +8 -6
- package/lib/providers/event-provider.d.ts +3 -3
- package/lib/providers/screen-share-provider.js +53 -60
- package/lib/providers/sharing-provider.d.ts +5 -1
- package/lib/providers/sharing-provider.js +16 -1
- package/lib/providers/user-setting-storage-provider.d.ts +20 -0
- package/lib/providers/user-setting-storage-provider.js +74 -0
- package/lib/scenes/main-scene.js +2 -3
- package/lib/scenes/waiting-scene.js +1 -1
- package/lib/shared-data-source/config.d.ts +1 -5
- package/lib/shared-data-source/config.js +11 -81
- package/lib/shared-data-source/screen-share-data.d.ts +4 -0
- package/lib/shared-data-source/screen-share-data.js +1 -0
- package/lib/shared-data-source/setting.d.ts +13 -13
- package/lib/shared-data-source/setting.js +10 -6
- package/lib/shared-data-source/video-window.d.ts +2 -1
- package/lib/shared-data-source/video-window.js +56 -36
- package/lib/translations/enUS.d.ts +8 -0
- package/lib/translations/enUS.js +9 -1
- package/lib/translations/zhCN.d.ts +8 -0
- package/lib/translations/zhCN.js +11 -3
- package/lib/type.d.ts +2 -1
- package/lib/ui-scene.js +11 -6
- package/lib/utilities/constant.d.ts +2 -1
- package/lib/utilities/constant.js +1 -0
- package/lib/utilities/setting-config-storage.d.ts +5 -6
- package/lib/utilities/setting-config-storage.js +33 -39
- package/lib/utilities/tools.d.ts +1 -0
- package/lib/utilities/tools.js +3 -2
- package/package.json +8 -6
- package/dist/132.js +0 -2
- package/dist/132.js.LICENSE.txt +0 -311
- package/dist/317.js +0 -2
- package/dist/317.js.LICENSE.txt +0 -20
- package/dist/651.js +0 -2
- package/dist/651.js.LICENSE.txt +0 -1
- package/dist/689343b64b60bfb7ffff.png +0 -0
- package/dist/73.js +0 -1
- package/dist/885f9369ea05a8ac0e56.png +0 -0
- package/dist/90f383876a6e93e7c7ca.png +0 -0
- package/dist/9b37584780995fc5df8c.gif +0 -0
- package/dist/annotation.e5cbd3a70b6d42361872.css +0 -1274
- package/dist/annotation.html +0 -1
- package/dist/annotation.js +0 -2
- package/dist/annotation.js.LICENSE.txt +0 -252
- package/dist/assets/browser/images/default1.jpg +0 -0
- package/dist/assets/browser/images/default2.jpg +0 -0
- package/dist/assets/browser/images/default3.jpg +0 -0
- package/dist/assets/browser/images/default4.jpg +0 -0
- package/dist/assets/browser/images/default5.jpg +0 -0
- package/dist/assets/browser/images/default6.jpg +0 -0
- package/dist/assets/browser/images/default7.jpg +0 -0
- package/dist/assets/browser/sound_effects/pretest.mp3 +0 -0
- package/dist/assets/browser/sound_effects/recording_started.mp3 +0 -0
- package/dist/assets/browser/sound_effects/remote_user_joined.mp3 +0 -0
- package/dist/assets/browser/sound_effects/speaker_test.mp3 +0 -0
- package/dist/assets/browser/videos/default8.mp4 +0 -0
- package/dist/assets/browser/videos/default9.mp4 +0 -0
- package/dist/assets/cursors/fcr_whiteboard_input.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_pen.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_-straightline.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_arrow.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_circle.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_rectangle.ico +0 -0
- package/dist/assets/cursors/fcr_whiteboard_shape_triangle.ico +0 -0
- package/dist/assets/electron/images/default1.jpg +0 -0
- package/dist/assets/electron/images/default2.jpg +0 -0
- package/dist/assets/electron/sound_effects/pretest.mp3 +0 -0
- package/dist/assets/electron/videos/default8.mp4 +0 -0
- package/dist/assets/fcr_chat_reddot.svg +0 -5
- package/dist/assets/fcr_defaultpage.png +0 -0
- package/dist/assets/fcr_grid_big.svg +0 -3
- package/dist/assets/fcr_leave2.svg +0 -58
- package/dist/assets/fcr_listontop_big.svg +0 -3
- package/dist/assets/full-screen-error-boundary-img.png +0 -0
- package/dist/assets/leave-meeting.png +0 -0
- package/dist/assets/loading.gif +0 -0
- package/dist/assets/login_confirm.png +0 -0
- package/dist/assets/pretest.mp3 +0 -0
- package/dist/assets/state-bar-logo.png +0 -0
- package/dist/assets/step-gradient.svg +0 -10
- package/dist/b74b002687a3a3346bec.png +0 -0
- package/dist/b94869094481702f949b.png +0 -0
- package/dist/ebeace75fd46b90d890e.png +0 -0
- package/dist/electron/app.js +0 -194
- package/dist/electron/bootstrap-dev.js +0 -46
- package/dist/electron/bootstrap-sdk.js +0 -211
- package/dist/electron/default-options.js +0 -25
- package/dist/electron/env.js +0 -13
- package/dist/electron/index.js +0 -20
- package/dist/electron/injections.js +0 -903
- package/dist/electron/ipc/ipc.js +0 -141
- package/dist/electron/ipc/type.js +0 -19
- package/dist/electron/logger.js +0 -65
- package/dist/electron/main.js +0 -94
- package/dist/electron/plugins/devtool-shortcut.js +0 -33
- package/dist/electron/plugins/meeting-state.js +0 -39
- package/dist/electron/plugins/screenshot.js +0 -54
- package/dist/electron/preload.js +0 -108
- package/dist/electron/tools.js +0 -66
- package/dist/electron/window.js +0 -123
- package/dist/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
- package/dist/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
- package/dist/extensions/ai-denoiser/denoiser-wasm.js +0 -1
- package/dist/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
- package/dist/fad688b9135b15d6c405.png +0 -0
- package/dist/index.html +0 -224
- package/dist/main.393a2a91ab7fc05ffce6.css +0 -15403
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -272
- package/dist/worker-entry.worker.js.LICENSE.txt +0 -13
|
@@ -77,13 +77,12 @@ var _react = require("react");
|
|
|
77
77
|
var _platform = require("../../utilities/platform");
|
|
78
78
|
var _constant = require("../../utilities/constant");
|
|
79
79
|
var _dialogProvider = require("../../providers/dialog-provider");
|
|
80
|
-
var _type2 = require("agora-rte-sdk/lib/core/rtc/type");
|
|
81
80
|
var _logger = require("../../utilities/logger");
|
|
82
81
|
var _tools = require("../../utilities/tools");
|
|
83
82
|
var _useElectron = require("./hooks/useElectron");
|
|
84
83
|
var _excluded = ["x", "y"];
|
|
85
84
|
var _DialogStore;
|
|
86
|
-
var _initProto, _init_openedDialogs, _init_confirmDialogs, _init_userCount, _init_participantElectronDialogContainer, _init_currentDialogBounds, _init_videoWindowBounds,
|
|
85
|
+
var _initProto, _init_openedDialogs, _init_confirmDialogs, _init_userCount, _init_participantElectronDialogContainer, _init_currentDialogBounds, _init_videoWindowBounds, _init_recordShareBounds, _init_allApplicationWindows, _setVideoWindowBoundsDecs, _recordCurrentSharingScreenBoundsDecs, _handleDialogEventDecs, _hanleAllUserCountUpdatedDecs, _ref;
|
|
87
86
|
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; }
|
|
88
87
|
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; }
|
|
89
88
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -106,14 +105,11 @@ var _E = /*#__PURE__*/new WeakMap();
|
|
|
106
105
|
var _F = /*#__PURE__*/new WeakMap();
|
|
107
106
|
var _G = /*#__PURE__*/new WeakMap();
|
|
108
107
|
var _H = /*#__PURE__*/new WeakMap();
|
|
109
|
-
|
|
110
|
-
var _J = /*#__PURE__*/new WeakMap();
|
|
111
|
-
var _K = /*#__PURE__*/new WeakMap();
|
|
112
|
-
_ref = (_setVideoWindowBoundsDecs = [_mobx.action, _mobx.action.bound], _updateCurrentShareContentDecs = [_mobx.action, _mobx.action.bound], _recordCurrentSharingScreenBoundsDecs = [_mobx.action, _mobx.action.bound], _handleDialogEventDecs = [_mobx.action, _mobx.action.bound], _hanleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
108
|
+
_ref = (_setVideoWindowBoundsDecs = [_mobx.action, _mobx.action.bound], _recordCurrentSharingScreenBoundsDecs = [_mobx.action, _mobx.action.bound], _handleDialogEventDecs = [_mobx.action, _mobx.action.bound], _hanleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
113
109
|
var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
114
110
|
function DialogStore(_ref2) {
|
|
115
111
|
var _this = this;
|
|
116
|
-
var
|
|
112
|
+
var eventProvider = _ref2.eventProvider,
|
|
117
113
|
userControl = _ref2.userControl,
|
|
118
114
|
deviceStore = _ref2.deviceStore,
|
|
119
115
|
streamControl = _ref2.streamControl,
|
|
@@ -145,18 +141,10 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
145
141
|
_classPrivateFieldInitSpec(this, _D, _init_participantElectronDialogContainer(this, null));
|
|
146
142
|
_classPrivateFieldInitSpec(this, _E, _init_currentDialogBounds(this, new Map()));
|
|
147
143
|
_classPrivateFieldInitSpec(this, _F, _init_videoWindowBounds(this, {}));
|
|
148
|
-
_classPrivateFieldInitSpec(this, _G,
|
|
149
|
-
_classPrivateFieldInitSpec(this, _H,
|
|
150
|
-
_classPrivateFieldInitSpec(this, _I, _init_currentShareBounds(this, {
|
|
151
|
-
width: 0,
|
|
152
|
-
height: 0,
|
|
153
|
-
x: 0,
|
|
154
|
-
y: 0
|
|
155
|
-
}));
|
|
156
|
-
_classPrivateFieldInitSpec(this, _J, _init_recordShareBounds(this, new Map()));
|
|
157
|
-
_classPrivateFieldInitSpec(this, _K, _init_allApplicationWindows(this, []));
|
|
144
|
+
_classPrivateFieldInitSpec(this, _G, _init_recordShareBounds(this, new Map()));
|
|
145
|
+
_classPrivateFieldInitSpec(this, _H, _init_allApplicationWindows(this, []));
|
|
158
146
|
this._sharedScreenShareSharedDataSource = sharedScreenShareSharedDataSource;
|
|
159
|
-
this.
|
|
147
|
+
this._eventProvider = eventProvider;
|
|
160
148
|
this._streamControl = streamControl;
|
|
161
149
|
this._userControl = userControl;
|
|
162
150
|
this._remoteVideoRenderManager = remoteVideoRenderManager;
|
|
@@ -171,7 +159,7 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
171
159
|
this._chatProvider = chatProvider;
|
|
172
160
|
this._screenShareProvider = screenShareProvider;
|
|
173
161
|
this._userControl.addObserver(this._userObserver);
|
|
174
|
-
this.
|
|
162
|
+
this._eventProvider.addObserver(this._handleDialogEventObserver);
|
|
175
163
|
this._dialogProvider.addObserver(this._handleDialogEventObserver);
|
|
176
164
|
this._userInfo = userControl.getLocalUser();
|
|
177
165
|
(0, _mobx.runInAction)(function () {
|
|
@@ -227,7 +215,7 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
227
215
|
_classPrivateFieldSet(_F, this, v);
|
|
228
216
|
}
|
|
229
217
|
}, {
|
|
230
|
-
key: "
|
|
218
|
+
key: "recordShareBounds",
|
|
231
219
|
get: function get() {
|
|
232
220
|
return _classPrivateFieldGet(_G, this);
|
|
233
221
|
},
|
|
@@ -235,7 +223,7 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
235
223
|
_classPrivateFieldSet(_G, this, v);
|
|
236
224
|
}
|
|
237
225
|
}, {
|
|
238
|
-
key: "
|
|
226
|
+
key: "allApplicationWindows",
|
|
239
227
|
get: function get() {
|
|
240
228
|
return _classPrivateFieldGet(_H, this);
|
|
241
229
|
},
|
|
@@ -243,28 +231,19 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
231
|
_classPrivateFieldSet(_H, this, v);
|
|
244
232
|
}
|
|
245
233
|
}, {
|
|
246
|
-
key: "
|
|
234
|
+
key: "currentShareId",
|
|
247
235
|
get: function get() {
|
|
248
|
-
return
|
|
249
|
-
},
|
|
250
|
-
set: function set(v) {
|
|
251
|
-
_classPrivateFieldSet(_I, this, v);
|
|
236
|
+
return this._sharedScreenShareSharedDataSource.currentShareId;
|
|
252
237
|
}
|
|
253
238
|
}, {
|
|
254
|
-
key: "
|
|
239
|
+
key: "currentShareType",
|
|
255
240
|
get: function get() {
|
|
256
|
-
return
|
|
257
|
-
},
|
|
258
|
-
set: function set(v) {
|
|
259
|
-
_classPrivateFieldSet(_J, this, v);
|
|
241
|
+
return this._sharedScreenShareSharedDataSource.currentShareType;
|
|
260
242
|
}
|
|
261
243
|
}, {
|
|
262
|
-
key: "
|
|
244
|
+
key: "currentShareBounds",
|
|
263
245
|
get: function get() {
|
|
264
|
-
return
|
|
265
|
-
},
|
|
266
|
-
set: function set(v) {
|
|
267
|
-
_classPrivateFieldSet(_K, this, v);
|
|
246
|
+
return this._sharedScreenShareSharedDataSource.currentSelectionBounds;
|
|
268
247
|
}
|
|
269
248
|
}, {
|
|
270
249
|
key: "dialogComponentMapByKey",
|
|
@@ -424,27 +403,17 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
424
403
|
value: function release() {
|
|
425
404
|
this._userControl.removeObserver(this._userObserver);
|
|
426
405
|
this._dialogProvider.removeObserver(this._handleDialogEventObserver);
|
|
427
|
-
this.
|
|
406
|
+
this._eventProvider.removeObserver(this._handleDialogEventObserver);
|
|
428
407
|
_dialogs.dialogWindows.clear();
|
|
429
408
|
}
|
|
430
409
|
}, {
|
|
431
410
|
key: "resizeVideoWindow",
|
|
432
411
|
value: function resizeVideoWindow(width, height) {
|
|
433
|
-
this.
|
|
412
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.VIDEO_WINDOW_RESIZE, {
|
|
434
413
|
width: width,
|
|
435
414
|
height: height
|
|
436
415
|
});
|
|
437
416
|
}
|
|
438
|
-
}, {
|
|
439
|
-
key: "updateCurrentShareContent",
|
|
440
|
-
value: function updateCurrentShareContent(payload) {
|
|
441
|
-
var id = payload.id,
|
|
442
|
-
type = payload.type,
|
|
443
|
-
bounds = payload.bounds;
|
|
444
|
-
this.currentShareId = id;
|
|
445
|
-
this.currentShareType = type;
|
|
446
|
-
this.currentShareBounds = bounds;
|
|
447
|
-
}
|
|
448
417
|
}, {
|
|
449
418
|
key: "recordCurrentSharingScreenBounds",
|
|
450
419
|
value: function recordCurrentSharingScreenBounds() {
|
|
@@ -580,17 +549,14 @@ var DialogStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
580
549
|
}]);
|
|
581
550
|
}();
|
|
582
551
|
_DialogStore = DialogStore;
|
|
583
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_DialogStore, [[_mobx.observable, 1, "openedDialogs"], [_mobx.observable, 1, "confirmDialogs"], [_mobx.observable, 1, "userCount"], [_mobx.observable, 1, "participantElectronDialogContainer"], [_mobx.observable, 1, "currentDialogBounds"], [_mobx.observable, 1, "videoWindowBounds"], [_mobx.observable, 1, "
|
|
552
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_DialogStore, [[_mobx.observable, 1, "openedDialogs"], [_mobx.observable, 1, "confirmDialogs"], [_mobx.observable, 1, "userCount"], [_mobx.observable, 1, "participantElectronDialogContainer"], [_mobx.observable, 1, "currentDialogBounds"], [_mobx.observable, 1, "videoWindowBounds"], [_mobx.observable, 1, "recordShareBounds"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.computed, 3, "connectType"], [_mobx.computed, 3, "hasOwnPstnStream"], [_mobx.computed, 3, "chatRoomState"], [_mobx.computed, 3, "isSharingScreen"], [_mobx.action, 2, "setParticipantElectronDialogContainer"], [_setVideoWindowBoundsDecs, 18, "setVideoWindowBounds"], [_decorator.bound, 2, "closeDialogByKey"], [_decorator.bound, 2, "closeDilaogByDialogId"], [_decorator.bound, 2, "closeSystemPreferenceDialog"], [_decorator.bound, 2, "closeChatFromDialog"], [_decorator.bound, 2, "moveChatFromDialogToAside"], [_decorator.bound, 2, "closeConnectionDialog"], [_decorator.bound, 2, "closeParticipantDialog"], [_decorator.bound, 2, "moveParticipantFromDialogToAside"], [_decorator.bound, 2, "resizeVideoWindow"], [_recordCurrentSharingScreenBoundsDecs, 18, "recordCurrentSharingScreenBounds"], [_decorator.bound, 2, "log"], [_handleDialogEventDecs, 18, "_handleDialogEvent"], [_hanleAllUserCountUpdatedDecs, 18, "_hanleAllUserCountUpdated"], [_decorator.bound, 2, "_focusDialog"]], []).e, 9);
|
|
584
553
|
_init_openedDialogs = _applyDecs$e[0];
|
|
585
554
|
_init_confirmDialogs = _applyDecs$e[1];
|
|
586
555
|
_init_userCount = _applyDecs$e[2];
|
|
587
556
|
_init_participantElectronDialogContainer = _applyDecs$e[3];
|
|
588
557
|
_init_currentDialogBounds = _applyDecs$e[4];
|
|
589
558
|
_init_videoWindowBounds = _applyDecs$e[5];
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
_init_recordShareBounds = _applyDecs$e[9];
|
|
594
|
-
_init_allApplicationWindows = _applyDecs$e[10];
|
|
595
|
-
_initProto = _applyDecs$e[11];
|
|
559
|
+
_init_recordShareBounds = _applyDecs$e[6];
|
|
560
|
+
_init_allApplicationWindows = _applyDecs$e[7];
|
|
561
|
+
_initProto = _applyDecs$e[8];
|
|
596
562
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
@@ -190,7 +190,10 @@ var CommonVideoRenderer = exports.CommonVideoRenderer = (0, _mobxReact.observer)
|
|
|
190
190
|
videoSourceType = windowData.videoSourceType;
|
|
191
191
|
var isBoard = type === _type.FcrUIWindowType.BOARD;
|
|
192
192
|
var isScreenSharing = videoSourceType === _fcrCore.FcrVideoSourceType.SCREEN;
|
|
193
|
-
|
|
193
|
+
/**
|
|
194
|
+
* 在只有一个用户时,无法开启网格布局,所以可以通过 data.length 和 layoutType 判断是否是主窗口。
|
|
195
|
+
*/
|
|
196
|
+
var isMainWindow = data.length === 1 && layoutType === _type.FcrUILayoutType.GALLERY;
|
|
194
197
|
var isShowScreenSharingInMainWindow = isScreenSharing && isMainWindow;
|
|
195
198
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
196
199
|
className: commonProps.className,
|
|
@@ -203,7 +206,7 @@ var CommonVideoRenderer = exports.CommonVideoRenderer = (0, _mobxReact.observer)
|
|
|
203
206
|
width: dimensions.width,
|
|
204
207
|
height: dimensions.height
|
|
205
208
|
},
|
|
206
|
-
children: [
|
|
209
|
+
children: [isShowScreenSharingInMainWindow && annotationControl, /*#__PURE__*/(0, _jsxRuntime.jsx)(_memberWindow.MemberWindow, {
|
|
207
210
|
memberWindowPreviewType: commonProps.memberWindowPreviewType,
|
|
208
211
|
canShowSpeakerSpotlight: commonProps.canShowSpeakerSpotlight,
|
|
209
212
|
width: dimensions.width,
|
|
@@ -303,7 +303,7 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
303
303
|
hasVideo = isSelf ? _this._deviceStore.cameraEnabled : hasVideoPublishedAndStarted(defaultStream);
|
|
304
304
|
if (pstnStream) {
|
|
305
305
|
audioDeviceType = 'phone-mic';
|
|
306
|
-
hasAudio =
|
|
306
|
+
hasAudio = pstnStream.audioSourceState === _fcrCore.FcrMediaSourceState.OPEN;
|
|
307
307
|
} else {
|
|
308
308
|
audioDeviceType = 'computer-mic';
|
|
309
309
|
hasAudio = isSelf ? _this._deviceStore.microphoneEnabled : hasAudioPublishedAndStarted(defaultStream);
|
|
@@ -1284,17 +1284,20 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1284
1284
|
value:
|
|
1285
1285
|
// user actions
|
|
1286
1286
|
function _muteUserAudio(user) {
|
|
1287
|
-
var
|
|
1288
|
-
var
|
|
1289
|
-
return
|
|
1287
|
+
var userStreams = this._streamControl.getStreamsByUserId(user);
|
|
1288
|
+
var hardStream = userStreams.find(function (stream) {
|
|
1289
|
+
return stream.connectorType !== _fcrCore.FcrRoomConnectorType.NONE;
|
|
1290
|
+
});
|
|
1291
|
+
var normalStream = userStreams.find(function (stream) {
|
|
1292
|
+
return stream.videoSourceType === _type2.AgoraRteVideoSourceType.CAMERA;
|
|
1290
1293
|
});
|
|
1291
|
-
// const isNormal = targetUser?.connectorType === FcrRoomConnectorType.NONE;
|
|
1292
1294
|
var isSelf = user === this.localUser.userId;
|
|
1293
1295
|
if (isSelf) {
|
|
1294
1296
|
this._deviceStreamStore.enableMicrophoneWithPreCheck(false);
|
|
1295
1297
|
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
+
var targetStream = hardStream !== null && hardStream !== void 0 ? hardStream : normalStream;
|
|
1299
|
+
if (targetStream) {
|
|
1300
|
+
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, targetStream.streamId, {
|
|
1298
1301
|
audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOPRIVILEGE,
|
|
1299
1302
|
videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION
|
|
1300
1303
|
}));
|
|
@@ -1303,37 +1306,65 @@ var ParticipantStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1303
1306
|
}, {
|
|
1304
1307
|
key: "_unmuteUserAudio",
|
|
1305
1308
|
value: function _unmuteUserAudio(userId) {
|
|
1309
|
+
var streamInfos = this._streamControl.getStreamsByUserId(userId);
|
|
1310
|
+
var hardStream = streamInfos.find(function (streamInfo) {
|
|
1311
|
+
return streamInfo.connectorType !== _imports.AgoraRteRoomConnectorType.NONE;
|
|
1312
|
+
});
|
|
1313
|
+
// const normalStream = streamInfos.find(streamInfo => streamInfo.videoSourceType === AgoraRteVideoSourceType.CAMERA);
|
|
1306
1314
|
var isSelf = userId === this.localUser.userId;
|
|
1307
|
-
if (isSelf) {
|
|
1315
|
+
if (isSelf && !hardStream) {
|
|
1308
1316
|
this._deviceStreamStore.enableMicrophoneWithPreCheck(true);
|
|
1309
|
-
|
|
1317
|
+
return;
|
|
1318
|
+
}
|
|
1319
|
+
if (!hardStream) {
|
|
1310
1320
|
var _this$_unmuteAudioTim;
|
|
1311
1321
|
var now = Date.now();
|
|
1312
1322
|
if (now - ((_this$_unmuteAudioTim = this._unmuteAudioTimestamp.get(userId)) !== null && _this$_unmuteAudioTim !== void 0 ? _this$_unmuteAudioTim : 0) <= SESSION_DURATION * 1000) {
|
|
1313
1323
|
return;
|
|
1314
1324
|
}
|
|
1315
1325
|
this._unmuteAudioTimestamp.set(userId, now);
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
this.
|
|
1322
|
-
sessionKey: 'REQUEST_OPEN_MICROPHONE',
|
|
1323
|
-
receiverId: userId,
|
|
1324
|
-
duration: SESSION_DURATION,
|
|
1325
|
-
payload: {
|
|
1326
|
-
sender: this.localUser
|
|
1327
|
-
}
|
|
1328
|
-
});
|
|
1329
|
-
} else {
|
|
1330
|
-
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, streamInfo.streamId, {
|
|
1331
|
-
audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE,
|
|
1332
|
-
videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE
|
|
1333
|
-
}));
|
|
1326
|
+
this._peerSessionControl.startPeerSession({
|
|
1327
|
+
sessionKey: 'REQUEST_OPEN_MICROPHONE',
|
|
1328
|
+
receiverId: userId,
|
|
1329
|
+
duration: SESSION_DURATION,
|
|
1330
|
+
payload: {
|
|
1331
|
+
sender: this.localUser
|
|
1334
1332
|
}
|
|
1335
|
-
}
|
|
1333
|
+
});
|
|
1334
|
+
} else {
|
|
1335
|
+
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, hardStream.streamId, {
|
|
1336
|
+
audioPrivilege: _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE,
|
|
1337
|
+
videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION
|
|
1338
|
+
}));
|
|
1336
1339
|
}
|
|
1340
|
+
|
|
1341
|
+
// if (streamInfos && streamInfos.length > 0) {
|
|
1342
|
+
// const streamInfo = streamInfos[0];
|
|
1343
|
+
// const isNotCommonClientConnectorType =
|
|
1344
|
+
// streamInfo.connectorType !== AgoraRteRoomConnectorType.NONE;
|
|
1345
|
+
// if (!isNotCommonClientConnectorType) {
|
|
1346
|
+
// const now = Date.now();
|
|
1347
|
+
// if (now - (this._unmuteAudioTimestamp.get(userId) ?? 0) <= SESSION_DURATION * 1000) {
|
|
1348
|
+
// return;
|
|
1349
|
+
// }
|
|
1350
|
+
// this._unmuteAudioTimestamp.set(userId, now);
|
|
1351
|
+
// this._peerSessionControl.startPeerSession({
|
|
1352
|
+
// sessionKey: 'REQUEST_OPEN_MICROPHONE',
|
|
1353
|
+
// receiverId: userId,
|
|
1354
|
+
// duration: SESSION_DURATION,
|
|
1355
|
+
// payload: {
|
|
1356
|
+
// sender: this.localUser,
|
|
1357
|
+
// },
|
|
1358
|
+
// });
|
|
1359
|
+
// } else {
|
|
1360
|
+
// this._streamControl.updatePublishPrivilegeOfStreams({
|
|
1361
|
+
// [streamInfo.streamId]: {
|
|
1362
|
+
// audioPrivilege: FcrStreamPrivilegeOperation.HAS_PRIVILEGE,
|
|
1363
|
+
// videoPrivilege: FcrStreamPrivilegeOperation.NOOPERATION,
|
|
1364
|
+
// },
|
|
1365
|
+
// });
|
|
1366
|
+
// }
|
|
1367
|
+
// }
|
|
1337
1368
|
}
|
|
1338
1369
|
}, {
|
|
1339
1370
|
key: "_muteUserVideo",
|
|
@@ -11,6 +11,7 @@ import { FcrUIMessageProvider } from '../../providers/message-provider';
|
|
|
11
11
|
import { FcrUISharedSettingDataSource } from '../../shared-data-source/setting';
|
|
12
12
|
import { FcrUIDialogProvider } from '../../providers/dialog-provider';
|
|
13
13
|
import { FcrUILocalStorageProviderImpl } from '../../providers/local-storage-provider';
|
|
14
|
+
import { FcrUIUserSettingStorageProviderImpl } from '../../providers/user-setting-storage-provider';
|
|
14
15
|
export declare class SettingUIModule extends UIModule {
|
|
15
16
|
private _store?;
|
|
16
17
|
deviceProvider?: FcrUIDeviceProvider;
|
|
@@ -25,6 +26,7 @@ export declare class SettingUIModule extends UIModule {
|
|
|
25
26
|
dialogProvider?: FcrUIDialogProvider;
|
|
26
27
|
sharedSettingDataSource?: FcrUISharedSettingDataSource;
|
|
27
28
|
localStorageProvider?: FcrUILocalStorageProviderImpl;
|
|
29
|
+
userSettingStorageProvider?: FcrUIUserSettingStorageProviderImpl;
|
|
28
30
|
constructor(parentNode: FcrUINode, rootNode: FcrUINode);
|
|
29
31
|
onNodeWillActive(): void;
|
|
30
32
|
onNodeWillInactive(): void;
|
|
@@ -84,7 +84,7 @@ var SettingUIModule = exports.SettingUIModule = /*#__PURE__*/function (_UIModule
|
|
|
84
84
|
var _this$currentRoomCont, _this$currentRoomCont2, _this$sharedConfigDat;
|
|
85
85
|
this.streamControl = (_this$currentRoomCont = this.currentRoomControlProvider) === null || _this$currentRoomCont === void 0 ? void 0 : _this$currentRoomCont.currentRoomControl.getStreamControl();
|
|
86
86
|
this.userControl = (_this$currentRoomCont2 = this.currentRoomControlProvider) === null || _this$currentRoomCont2 === void 0 ? void 0 : _this$currentRoomCont2.currentRoomControl.getUserControl();
|
|
87
|
-
if (this.deviceProvider && this.currentRoomControlProvider && this.streamControl && this.eventProvider && this.monitorProvider && (_this$sharedConfigDat = this.sharedConfigDataSource) !== null && _this$sharedConfigDat !== void 0 && _this$sharedConfigDat.sceneConfig && this.sharedConfigDataSource.settingConfig && this.sharedLayoutDataSource && this.messageProvider && this.dialogProvider && this.sharedSettingDataSource && this.
|
|
87
|
+
if (this.deviceProvider && this.currentRoomControlProvider && this.streamControl && this.eventProvider && this.monitorProvider && (_this$sharedConfigDat = this.sharedConfigDataSource) !== null && _this$sharedConfigDat !== void 0 && _this$sharedConfigDat.sceneConfig && this.sharedConfigDataSource.settingConfig && this.sharedLayoutDataSource && this.messageProvider && this.dialogProvider && this.sharedSettingDataSource && this.userSettingStorageProvider) {
|
|
88
88
|
var _this$sharedConfigDat2, _this$sharedConfigDat3, _this$userControl;
|
|
89
89
|
this._store = new _store["default"]({
|
|
90
90
|
uiEventStore: this.eventProvider,
|
|
@@ -99,8 +99,8 @@ var SettingUIModule = exports.SettingUIModule = /*#__PURE__*/function (_UIModule
|
|
|
99
99
|
sharedSettingDataSource: this.sharedSettingDataSource,
|
|
100
100
|
dialogProvider: this.dialogProvider,
|
|
101
101
|
settingConfig: this.sharedConfigDataSource.settingConfig,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
userId: (_this$userControl = this.userControl) === null || _this$userControl === void 0 ? void 0 : _this$userControl.getLocalUser().userId,
|
|
103
|
+
userSettingStorageProvider: this.userSettingStorageProvider
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -14,8 +14,7 @@ import { FcrUISharedLayoutDataSource } from '../../shared-data-source/layout-dat
|
|
|
14
14
|
import { FcrUIMessageProvider } from '../../providers/message-provider';
|
|
15
15
|
import { FcrUISharedSettingDataSource } from '../../shared-data-source/setting';
|
|
16
16
|
import { FcrUIDialogProvider } from '../../providers/dialog-provider';
|
|
17
|
-
import {
|
|
18
|
-
export declare const SETTING_KEY = "setting";
|
|
17
|
+
import { FcrUIUserSettingStorageProviderImpl } from '../../providers/user-setting-storage-provider';
|
|
19
18
|
export interface FcrDeviceObserver {
|
|
20
19
|
onCameraChanged?(cameraId: string): void;
|
|
21
20
|
onMicrophoneChanged?(microphoneId: string): void;
|
|
@@ -40,7 +39,7 @@ export interface DeviceSettingDialogConfig {
|
|
|
40
39
|
highlightSelector: FcrUIHighlightElement | undefined;
|
|
41
40
|
videoActiveTab: VideoActiveTab;
|
|
42
41
|
}
|
|
43
|
-
export interface
|
|
42
|
+
export interface FcrUICustomSetting {
|
|
44
43
|
shouldDisplayPreviewDialog: boolean;
|
|
45
44
|
shouldHideNonVideoParticipants: boolean;
|
|
46
45
|
displayedMaxAttendees: number;
|
|
@@ -174,10 +173,10 @@ export default class SettingStore {
|
|
|
174
173
|
get currentIsMirror(): boolean;
|
|
175
174
|
get microphoneDetecting(): boolean;
|
|
176
175
|
get speakerDetecting(): boolean;
|
|
177
|
-
get setting():
|
|
176
|
+
get setting(): FcrUICustomSetting;
|
|
178
177
|
get settingConfig(): FcrUISettingConfig;
|
|
179
178
|
private _userId;
|
|
180
|
-
constructor({ monitorControl, uiEventStore, deviceStore, streamControl, roomControl, config, parameters, sharedLayoutDataSource, messageProvider, dialogProvider, sharedSettingDataSource, settingConfig,
|
|
179
|
+
constructor({ monitorControl, uiEventStore, deviceStore, streamControl, roomControl, config, parameters, sharedLayoutDataSource, messageProvider, dialogProvider, sharedSettingDataSource, settingConfig, userId, userSettingStorageProvider, }: {
|
|
181
180
|
uiEventStore: FcrUIEventProvider;
|
|
182
181
|
deviceStore: FcrUIDeviceProvider;
|
|
183
182
|
streamControl?: FcrStreamControl;
|
|
@@ -190,7 +189,7 @@ export default class SettingStore {
|
|
|
190
189
|
sharedLayoutDataSource?: FcrUISharedLayoutDataSource;
|
|
191
190
|
messageProvider: FcrUIMessageProvider;
|
|
192
191
|
dialogProvider: FcrUIDialogProvider;
|
|
193
|
-
|
|
192
|
+
userSettingStorageProvider: FcrUIUserSettingStorageProviderImpl;
|
|
194
193
|
userId: string;
|
|
195
194
|
});
|
|
196
195
|
get messageProvider(): FcrUIMessageProvider;
|
|
@@ -228,7 +227,7 @@ export default class SettingStore {
|
|
|
228
227
|
stopMicrophoneTest(): void;
|
|
229
228
|
release(): void;
|
|
230
229
|
setDialogConfig(dialogConfig: Partial<DeviceSettingDialogConfig>): void;
|
|
231
|
-
setSetting(setting: Partial<
|
|
230
|
+
setSetting(setting: Partial<FcrUICustomSetting>): void;
|
|
232
231
|
private _onEvent;
|
|
233
232
|
private _onNetworkStatsUpdated;
|
|
234
233
|
clearGetSystemInfoInterval(): void;
|
|
@@ -245,9 +244,8 @@ export default class SettingStore {
|
|
|
245
244
|
private _handleCameraListUpdated;
|
|
246
245
|
private _onAudioVolumeUpdated;
|
|
247
246
|
private _preHandleSetting;
|
|
248
|
-
_setMeetingSettingsToLocalStorage
|
|
249
|
-
_getMeetingSettingsFromLocalStorage
|
|
250
|
-
_initDialogConfig(): void;
|
|
247
|
+
private _setMeetingSettingsToLocalStorage;
|
|
248
|
+
private _getMeetingSettingsFromLocalStorage;
|
|
251
249
|
changeMediaSetting(key: keyof typeof this.settingConfig.media, value: any): void;
|
|
252
250
|
}
|
|
253
251
|
export declare const StoreContext: import("react").Context<SettingStore>;
|
|
@@ -33,7 +33,7 @@ Object.defineProperty(exports, "DEFAULT_BEAUTY_VALUE", {
|
|
|
33
33
|
return _localVideoPlayer.DEFAULT_BEAUTY_VALUE;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
exports["default"] = exports.StoreContext = exports.
|
|
36
|
+
exports["default"] = exports.StoreContext = exports.DeviceSettingTab = void 0;
|
|
37
37
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
38
38
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
39
39
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
@@ -106,7 +106,7 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
|
106
106
|
var _logger = require("../../utilities/logger");
|
|
107
107
|
var _excluded = ["dialogId"];
|
|
108
108
|
var _SettingStore;
|
|
109
|
-
var _initProto, _init_loudestStreamVolumeLevel, _init_isPreMeetingSettingsStore, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _getMeetingSettingsFromLocalStorageDecs,
|
|
109
|
+
var _initProto, _init_loudestStreamVolumeLevel, _init_isPreMeetingSettingsStore, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_config, _init_getSystemInfoTimer, _setDialogConfigDecs, _setSettingDecs, _onEventDecs, _onNetworkStatsUpdatedDecs, _clearGetSystemInfoIntervalDecs, _closeDialogDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _getMeetingSettingsFromLocalStorageDecs, _changeMediaSettingDecs, _ref;
|
|
110
110
|
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; } } }; }
|
|
111
111
|
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; } }
|
|
112
112
|
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; }
|
|
@@ -122,7 +122,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
122
122
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
123
123
|
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
124
124
|
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
125
|
-
var SETTING_KEY = exports.SETTING_KEY = 'setting';
|
|
126
125
|
var DeviceSettingTab = exports.DeviceSettingTab = /*#__PURE__*/function (DeviceSettingTab) {
|
|
127
126
|
DeviceSettingTab["GENERAL"] = "general";
|
|
128
127
|
DeviceSettingTab["AUDIO"] = "audio";
|
|
@@ -154,7 +153,7 @@ var _L = /*#__PURE__*/new WeakMap();
|
|
|
154
153
|
var _M = /*#__PURE__*/new WeakMap();
|
|
155
154
|
var _N = /*#__PURE__*/new WeakMap();
|
|
156
155
|
var _O = /*#__PURE__*/new WeakMap();
|
|
157
|
-
_ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], _getMeetingSettingsFromLocalStorageDecs = [_mobx.action, _mobx.action.bound],
|
|
156
|
+
_ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _onEventDecs = [_mobx.action, _mobx.action.bound], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _closeDialogDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], _getMeetingSettingsFromLocalStorageDecs = [_mobx.action, _mobx.action.bound], _changeMediaSettingDecs = [_mobx.action, _mobx.action.bound], "_userSettingStorageProvider");
|
|
158
157
|
var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
159
158
|
function SettingStore(_ref2) {
|
|
160
159
|
var _this$_roomControl, _this$_streamControl, _this$_streamControl2;
|
|
@@ -170,8 +169,8 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
170
169
|
dialogProvider = _ref2.dialogProvider,
|
|
171
170
|
sharedSettingDataSource = _ref2.sharedSettingDataSource,
|
|
172
171
|
settingConfig = _ref2.settingConfig,
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
userId = _ref2.userId,
|
|
173
|
+
userSettingStorageProvider = _ref2.userSettingStorageProvider;
|
|
175
174
|
(0, _classCallCheck2["default"])(this, SettingStore);
|
|
176
175
|
// @internal
|
|
177
176
|
(0, _defineProperty2["default"])(this, _ref, void _initProto(this));
|
|
@@ -252,7 +251,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
252
251
|
_classPrivateFieldInitSpec(this, _M, _init_systemCpuDesc(this, ''));
|
|
253
252
|
_classPrivateFieldInitSpec(this, _N, _init_config(this, undefined));
|
|
254
253
|
_classPrivateFieldInitSpec(this, _O, _init_getSystemInfoTimer(this, null));
|
|
255
|
-
this.
|
|
254
|
+
this._userSettingStorageProvider = userSettingStorageProvider;
|
|
256
255
|
this._monitorControl = monitorControl;
|
|
257
256
|
this._streamControl = streamControl;
|
|
258
257
|
this._roomControl = roomControl;
|
|
@@ -270,7 +269,8 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
270
269
|
} else {
|
|
271
270
|
this.isPreMeetingSettingsStore = true;
|
|
272
271
|
}
|
|
273
|
-
this._initDialogConfig();
|
|
272
|
+
// this._initDialogConfig();
|
|
273
|
+
|
|
274
274
|
var defaultVideoGallerySize = (0, _parameters.getDefaultVideoGallerySize)(parameters);
|
|
275
275
|
if (defaultVideoGallerySize) {
|
|
276
276
|
defaultVideoGallerySize = Math.min(Math.max(defaultVideoGallerySize, 16), 25);
|
|
@@ -1231,22 +1231,24 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1231
1231
|
key: "_setMeetingSettingsToLocalStorage",
|
|
1232
1232
|
value: function _setMeetingSettingsToLocalStorage(value) {
|
|
1233
1233
|
var oldValue = this._getMeetingSettingsFromLocalStorage() || {};
|
|
1234
|
-
this.
|
|
1234
|
+
this._userSettingStorageProvider.write({
|
|
1235
|
+
setting: _objectSpread(_objectSpread({}, oldValue), value)
|
|
1236
|
+
});
|
|
1235
1237
|
}
|
|
1236
1238
|
}, {
|
|
1237
1239
|
key: "_getMeetingSettingsFromLocalStorage",
|
|
1238
1240
|
value: function _getMeetingSettingsFromLocalStorage() {
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
}, {
|
|
1242
|
-
key: "_initDialogConfig",
|
|
1243
|
-
value: function _initDialogConfig() {
|
|
1244
|
-
var value = this._getMeetingSettingsFromLocalStorage();
|
|
1245
|
-
if (value && !this.isPreMeetingSettingsStore) {
|
|
1246
|
-
var _value$dialogConfig;
|
|
1247
|
-
this.dialogConfig = (_value$dialogConfig = value.dialogConfig) !== null && _value$dialogConfig !== void 0 ? _value$dialogConfig : this.dialogConfig;
|
|
1248
|
-
}
|
|
1241
|
+
var _this$_userSettingSto;
|
|
1242
|
+
return (_this$_userSettingSto = this._userSettingStorageProvider.read()) === null || _this$_userSettingSto === void 0 ? void 0 : _this$_userSettingSto.setting;
|
|
1249
1243
|
}
|
|
1244
|
+
|
|
1245
|
+
// @action.bound
|
|
1246
|
+
// private _initDialogConfig() {
|
|
1247
|
+
// const value = this._getMeetingSettingsFromLocalStorage();
|
|
1248
|
+
// if (value && !this.isPreMeetingSettingsStore) {
|
|
1249
|
+
// this.dialogConfig = value.dialogConfig ?? this.dialogConfig;
|
|
1250
|
+
// }
|
|
1251
|
+
// }
|
|
1250
1252
|
}, {
|
|
1251
1253
|
key: "changeMediaSetting",
|
|
1252
1254
|
value: function changeMediaSetting(key, value) {
|
|
@@ -1256,7 +1258,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1256
1258
|
}]);
|
|
1257
1259
|
}();
|
|
1258
1260
|
_SettingStore = SettingStore;
|
|
1259
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "isPreMeetingSettingsStore"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"], [_getMeetingSettingsFromLocalStorageDecs, 18, "_getMeetingSettingsFromLocalStorage"], [
|
|
1261
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStore, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "isPreMeetingSettingsStore"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "config"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_onEventDecs, 18, "_onEvent"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_closeDialogDecs, 18, "closeDialog"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"], [_getMeetingSettingsFromLocalStorageDecs, 18, "_getMeetingSettingsFromLocalStorage"], [_changeMediaSettingDecs, 18, "changeMediaSetting"]], []).e, 16);
|
|
1260
1262
|
_init_loudestStreamVolumeLevel = _applyDecs$e[0];
|
|
1261
1263
|
_init_isPreMeetingSettingsStore = _applyDecs$e[1];
|
|
1262
1264
|
_init_microphoneVolumeLevel = _applyDecs$e[2];
|
|
@@ -63,6 +63,7 @@ export default class ShareScreenStore {
|
|
|
63
63
|
get currentSelectionBounds(): CurrentShareBounds;
|
|
64
64
|
get shareLock(): boolean;
|
|
65
65
|
get currentShareId(): string;
|
|
66
|
+
get _screenShareInfoForLog(): string;
|
|
66
67
|
constructor({ roomControl, deviceProvider, privilegeProvider, messageProvider, dialogProvider, eventProvider, sharedMemberDataSource, roomProvider, sharedConfigDataSource, screenShareProvider, annotationProvider, sharedScreenShareSharedDataSource, connectionProvider, }: {
|
|
67
68
|
roomControl: FcrMainRoomControl;
|
|
68
69
|
deviceProvider: FcrUIDeviceProvider;
|
|
@@ -113,6 +114,8 @@ export default class ShareScreenStore {
|
|
|
113
114
|
private _validateDisplay;
|
|
114
115
|
private _validateShareStart;
|
|
115
116
|
private _initControlbar;
|
|
117
|
+
private _handleBrowserShow;
|
|
118
|
+
private _hendleBrowserHide;
|
|
116
119
|
handleToggleScreenShareWithAudio(withAudio: boolean): void;
|
|
117
120
|
}
|
|
118
121
|
export declare const StoreContext: import("react").Context<ShareScreenStore>;
|