fcr-ui-scene-mobile 3.4.0 → 3.4.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/lib/common/security-store.d.ts +2 -1
- package/lib/common/security-store.js +2 -1
- package/lib/error-fallback.d.ts +2 -0
- package/lib/error-fallback.js +21 -0
- package/lib/modules/action-bar/more-popup/index.js +3 -3
- package/lib/modules/action-bar/store.d.ts +1 -3
- package/lib/modules/action-bar/store.js +6 -17
- package/lib/modules/member-layout/view.js +4 -4
- package/lib/ui-manager.d.ts +2 -0
- package/lib/ui-manager.js +47 -20
- package/package.json +11 -10
|
@@ -92,7 +92,8 @@ export declare class FcrSecurityStore {
|
|
|
92
92
|
hasDisallowWriteBoardPermission(): boolean;
|
|
93
93
|
hasAllowScreenShareAndBoardPermission(): boolean;
|
|
94
94
|
hasAllowWaterMarkPermission(): boolean;
|
|
95
|
-
|
|
95
|
+
/** 当前是否是多行水印 */
|
|
96
|
+
isWatermarkMultiRow: () => boolean;
|
|
96
97
|
getAllowedOperations(targetUserRole: FcrUserRole, _isSelf: boolean): string[];
|
|
97
98
|
allowShare(state: FcrSharePermissionState): Promise<void>;
|
|
98
99
|
setAllowWriteBoard(state: FcrSharePermissionState): Promise<void>;
|
|
@@ -346,7 +346,8 @@ var FcrSecurityStore = exports.FcrSecurityStore = /*#__PURE__*/function () {
|
|
|
346
346
|
(0, _defineProperty2["default"])(this, "hasWatermarkDisablePermission", function () {
|
|
347
347
|
return _this._hasPermission(_type3.FcrPermissionAction.RoomDisableWatermark, _type3.FcrPrivilegeUserRole.PARTICIPANT);
|
|
348
348
|
});
|
|
349
|
-
|
|
349
|
+
/** 当前是否是多行水印 */
|
|
350
|
+
(0, _defineProperty2["default"])(this, "isWatermarkMultiRow", (0, _mobxUtils.computedFn)(function () {
|
|
350
351
|
var _info$info3;
|
|
351
352
|
var info = _this.securityInfos.find(function (_ref17) {
|
|
352
353
|
var info = _ref17.info;
|
|
@@ -0,0 +1,21 @@
|
|
|
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.ErrorFallback = void 0;
|
|
9
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
var ErrorFallback = exports.ErrorFallback = function ErrorFallback(_ref) {
|
|
12
|
+
(0, _objectDestructuringEmpty2["default"])(_ref);
|
|
13
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
14
|
+
className: "fcr-mobile-full-screen-error",
|
|
15
|
+
style: {
|
|
16
|
+
width: '100%',
|
|
17
|
+
height: '100%',
|
|
18
|
+
backgroundColor: 'transparent'
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
};
|
|
@@ -24,7 +24,7 @@ var FcrMobileMorePopup = exports.FcrMobileMorePopup = (0, _mobxReact.observer)(f
|
|
|
24
24
|
setSetting = settingStore.setSetting;
|
|
25
25
|
var setAllowWaterMark = securityStore.setAllowWaterMark,
|
|
26
26
|
isWaterMarkEnabled = securityStore.isWaterMarkEnabled,
|
|
27
|
-
|
|
27
|
+
isWatermarkMultiRow = securityStore.isWatermarkMultiRow;
|
|
28
28
|
var waterMarkEnabled = isWaterMarkEnabled();
|
|
29
29
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_popup.FcrPopup, {
|
|
30
30
|
showCloseButton: true,
|
|
@@ -105,13 +105,13 @@ var FcrMobileMorePopup = exports.FcrMobileMorePopup = (0, _mobxReact.observer)(f
|
|
|
105
105
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
106
106
|
className: "fcr-mobile-more-cfg-card-item-linechoose",
|
|
107
107
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
108
|
-
className: "fcr-mobile-more-cfg-card-item-btn ".concat(
|
|
108
|
+
className: "fcr-mobile-more-cfg-card-item-btn ".concat(isWatermarkMultiRow() ? '' : 'active'),
|
|
109
109
|
onClick: function onClick() {
|
|
110
110
|
setAllowWaterMark(waterMarkEnabled, _type.FcrLineType.SINGLE_ROW);
|
|
111
111
|
},
|
|
112
112
|
children: (0, _i18n.transI18n)('fmt_security_setting_mobile_option_watermark_style_single')
|
|
113
113
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
114
|
-
className: "fcr-mobile-more-cfg-card-item-btn ".concat(
|
|
114
|
+
className: "fcr-mobile-more-cfg-card-item-btn ".concat(isWatermarkMultiRow() ? 'active' : ''),
|
|
115
115
|
onClick: function onClick() {
|
|
116
116
|
setAllowWaterMark(waterMarkEnabled, _type.FcrLineType.MULTI_ROW);
|
|
117
117
|
},
|
|
@@ -51,7 +51,6 @@ export default class ActionBarStore {
|
|
|
51
51
|
private _roomObserver;
|
|
52
52
|
private _uiEventObserver;
|
|
53
53
|
private _streamObserver;
|
|
54
|
-
private _deviceObserver;
|
|
55
54
|
private _observer;
|
|
56
55
|
private _openedDialogIdMap;
|
|
57
56
|
private _participantVisible;
|
|
@@ -105,7 +104,7 @@ export default class ActionBarStore {
|
|
|
105
104
|
get isScreenShareAndBoardEnabled(): boolean;
|
|
106
105
|
get isBoardWriteEnabled(): boolean;
|
|
107
106
|
get isWaterMarkEnabled(): boolean;
|
|
108
|
-
get
|
|
107
|
+
get isWatermarkMultiRow(): boolean;
|
|
109
108
|
get isPstnUser(): boolean;
|
|
110
109
|
get cameraEnabled(): boolean;
|
|
111
110
|
get cameraId(): string;
|
|
@@ -191,6 +190,5 @@ export default class ActionBarStore {
|
|
|
191
190
|
private _handleCloudRecordingStateUpdated;
|
|
192
191
|
private _handleStreamsAddedOrUpdated;
|
|
193
192
|
setParticipantsPopoverOpened(visible: boolean): void;
|
|
194
|
-
private _handleMicrophoneChanged;
|
|
195
193
|
}
|
|
196
194
|
export {};
|
|
@@ -96,7 +96,7 @@ var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
|
96
96
|
var _type6 = require("fcr-core/lib/room-control/type");
|
|
97
97
|
var _type7 = require("fcr-core/lib/room-control/privilege-control/type");
|
|
98
98
|
var _ActionBarStore;
|
|
99
|
-
var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_isNewWaitingRoomUserEnter, _init_chatTabIndex, _init_popoverOpened, _init_participantsPopoverOpened, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _setPopoverOpenedDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _getWaitingRoomUserCountDecs, _handleRemoteWaitingUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs,
|
|
99
|
+
var _initProto, _init_users, _init_newMessageTooltipVisible, _init_newMessageCount, _init_latestMessage, _init_totalUser, _init_totalWaitingRoomUser, _init_liveStreamingState, _init_currentMenuIs, _init_cloudRecordingState, _init_localUserRole, _init_localUser, _init_connectionSettingVisible, _init_connectType, _init_folded, _init_boardOwnerUser, _init_hasScreenShare, _init_showArrow, _init_phoneMicEnabled, _init_isNewWaitingRoomUserEnter, _init_chatTabIndex, _init_popoverOpened, _init_participantsPopoverOpened, _pauseCloudRecordingDecs, _resumeCloudRecordingDecs, _stopCloudRecordingDecs, _toggleLayoutBarLockDecs, _showNewMessageTooltipDecs, _hideNewMessageTooltipDecs, _switchMenuDecs, _assignHostDecs, _setPopoverOpenedDecs, _toggleFoldDecs, _setShowArrowDecs, _setEnableWaitingRoomDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handleRemoteUsersJoinedDecs, _handleRemoteUsersLeftDecs, _handleAllUserCountUpdatedDecs, _getWaitingRoomUserCountDecs, _handleRemoteWaitingUserLeftDecs, _handleRemoteWaitingUserJoinedDecs, _handleUserInfoUpdatedDecs, _handleLiveStreamingStateUpdatedDecs, _handleNewMessageEventDecs, _init__handleNewMessageEvent, _handleChatVisibleDecs, _handlerTraceScreenCaptureStateUpdateDecs, _operateWaitingRoomDecs, _handleCloudRecordingStateUpdatedDecs, _handleStreamsAddedOrUpdatedDecs, _ref;
|
|
100
100
|
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; }
|
|
101
101
|
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; }
|
|
102
102
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -148,7 +148,7 @@ _ref = (_pauseCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(
|
|
|
148
148
|
leading: true
|
|
149
149
|
})], _stopCloudRecordingDecs = [_decorator.bound, (0, _decorator.debounced)(500, {
|
|
150
150
|
leading: true
|
|
151
|
-
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _getWaitingRoomUserCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound],
|
|
151
|
+
})], _toggleLayoutBarLockDecs = [_mobx.action, _mobx.action.bound], _showNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _hideNewMessageTooltipDecs = [_mobx.action, _mobx.action.bound], _switchMenuDecs = [_mobx.action, _mobx.action.bound], _assignHostDecs = [_mobx.action, _mobx.action.bound], _setPopoverOpenedDecs = [_mobx.action, _mobx.action.bound], _toggleFoldDecs = [_mobx.action, _mobx.action.bound], _setShowArrowDecs = [_mobx.action, _mobx.action.bound], _setEnableWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUsersLeftDecs = [_mobx.action, _mobx.action.bound], _handleAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _getWaitingRoomUserCountDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserLeftDecs = [_mobx.action, _mobx.action.bound], _handleRemoteWaitingUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleLiveStreamingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleNewMessageEventDecs = [_mobx.action, _mobx.action.bound], _handleChatVisibleDecs = [_mobx.action, _mobx.action.bound], _handlerTraceScreenCaptureStateUpdateDecs = [_mobx.action, _mobx.action.bound], _operateWaitingRoomDecs = [_mobx.action, _mobx.action.bound], _handleCloudRecordingStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleStreamsAddedOrUpdatedDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
152
152
|
var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
153
153
|
function ActionBarStore(args) {
|
|
154
154
|
var _this = this;
|
|
@@ -180,9 +180,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
180
180
|
onStreamsUpdated: this._handleStreamsAddedOrUpdated.bind(this),
|
|
181
181
|
onStreamsRemoved: this._handleStreamsAddedOrUpdated.bind(this)
|
|
182
182
|
});
|
|
183
|
-
(0, _defineProperty2["default"])(this, "_deviceObserver", {
|
|
184
|
-
onMicrophoneChanged: this._handleMicrophoneChanged.bind(this)
|
|
185
|
-
});
|
|
186
183
|
(0, _defineProperty2["default"])(this, "_openedDialogIdMap", new Map());
|
|
187
184
|
(0, _defineProperty2["default"])(this, "_participantVisible", false);
|
|
188
185
|
(0, _defineProperty2["default"])(this, "_chatVisible", false);
|
|
@@ -203,7 +200,7 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
200
|
_classPrivateFieldInitSpec(this, _J, _init_localUserRole(this));
|
|
204
201
|
_classPrivateFieldInitSpec(this, _K, _init_localUser(this));
|
|
205
202
|
_classPrivateFieldInitSpec(this, _L, _init_connectionSettingVisible(this, false));
|
|
206
|
-
_classPrivateFieldInitSpec(this, _M, _init_connectType(this, _type3.ConnectType.
|
|
203
|
+
_classPrivateFieldInitSpec(this, _M, _init_connectType(this, _type3.ConnectType.PHONE));
|
|
207
204
|
_classPrivateFieldInitSpec(this, _N, _init_folded(this, false));
|
|
208
205
|
_classPrivateFieldInitSpec(this, _O, _init_boardOwnerUser(this, null));
|
|
209
206
|
_classPrivateFieldInitSpec(this, _P, _init_hasScreenShare(this, false));
|
|
@@ -244,7 +241,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
241
|
this._roomControl.addObserver(this._roomObserver);
|
|
245
242
|
this._streamControl.addObserver(this._streamObserver);
|
|
246
243
|
this._uiEventStore.addObserver(this._uiEventObserver);
|
|
247
|
-
this._deviceStore.addObserver(this._deviceObserver);
|
|
248
244
|
this._observer = {
|
|
249
245
|
onScreenCaptureStateUpdated: this._handlerTraceScreenCaptureStateUpdate.bind(this)
|
|
250
246
|
};
|
|
@@ -534,9 +530,9 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
534
530
|
return this._securityStore.isWaterMarkEnabled();
|
|
535
531
|
}
|
|
536
532
|
}, {
|
|
537
|
-
key: "
|
|
533
|
+
key: "isWatermarkMultiRow",
|
|
538
534
|
get: function get() {
|
|
539
|
-
return this._securityStore.
|
|
535
|
+
return this._securityStore.isWatermarkMultiRow();
|
|
540
536
|
}
|
|
541
537
|
}, {
|
|
542
538
|
key: "isPstnUser",
|
|
@@ -768,7 +764,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
768
764
|
this._roomControl.removeObserver(this._roomObserver);
|
|
769
765
|
this._streamControl.removeObserver(this._streamObserver);
|
|
770
766
|
this._uiEventStore.removeObserver(this._uiEventObserver);
|
|
771
|
-
this._deviceStore.removeObserver(this._deviceObserver);
|
|
772
767
|
}
|
|
773
768
|
}, {
|
|
774
769
|
key: "allowJoinWithMuteAudio",
|
|
@@ -1380,7 +1375,6 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1380
1375
|
return connectorType === _fcrCore.FcrRoomConnectorType.PSTN;
|
|
1381
1376
|
});
|
|
1382
1377
|
var hasPstnStream = !!pstnStream;
|
|
1383
|
-
this.connectType = hasPstnStream ? _type3.ConnectType.PHONE : this.microphoneId ? _type3.ConnectType.COMPUTER : _type3.ConnectType.NONE;
|
|
1384
1378
|
if (hasPstnStream) {
|
|
1385
1379
|
this.phoneMicEnabled = pstnStream.streamType === _type4.AgoraRteMediaStreamType.BOTH || pstnStream.audioSourceState === _fcrCore.FcrMediaSourceState.OPEN;
|
|
1386
1380
|
}
|
|
@@ -1390,15 +1384,10 @@ var ActionBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1390
1384
|
value: function setParticipantsPopoverOpened(visible) {
|
|
1391
1385
|
this.participantsPopoverOpened = visible;
|
|
1392
1386
|
}
|
|
1393
|
-
}, {
|
|
1394
|
-
key: "_handleMicrophoneChanged",
|
|
1395
|
-
value: function _handleMicrophoneChanged(microphoneId) {
|
|
1396
|
-
this.connectType = microphoneId ? _type3.ConnectType.COMPUTER : _type3.ConnectType.NONE;
|
|
1397
|
-
}
|
|
1398
1387
|
}]);
|
|
1399
1388
|
}();
|
|
1400
1389
|
_ActionBarStore = ActionBarStore;
|
|
1401
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "participantsPopoverOpened"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "
|
|
1390
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ActionBarStore, [[_mobx.observable, 1, "users"], [_mobx.observable, 1, "newMessageTooltipVisible"], [_mobx.observable, 1, "newMessageCount"], [_mobx.observable, 1, "latestMessage"], [_mobx.observable, 1, "totalUser"], [_mobx.observable, 1, "totalWaitingRoomUser"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "currentMenuIs"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "connectionSettingVisible"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "folded"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "hasScreenShare"], [_mobx.observable, 1, "showArrow"], [_mobx.observable, 1, "phoneMicEnabled"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "chatTabIndex"], [_mobx.observable, 1, "popoverOpened"], [_mobx.observable, 1, "participantsPopoverOpened"], [_mobx.computed, 3, "remoteUsers"], [_mobx.computed, 3, "hasStartScreenSharePermission"], [_mobx.computed, 3, "hasStartLiveStreamingPermission"], [_mobx.computed, 3, "hasEnableStartAudioPermission"], [_mobx.computed, 3, "hasEnableChangeNamePermission"], [_mobx.computed, 3, "hasEnableStartVideoPermission"], [_mobx.computed, 3, "hasLockRoomPermission"], [_mobx.computed, 3, "hasWaitingRoomPermission"], [_mobx.computed, 3, "hasWatermarkDisablePermission"], [_mobx.computed, 3, "hasEnableStartSharePermission"], [_mobx.computed, 3, "hasAllowWriteBoardPermission"], [_mobx.computed, 3, "hasCloseWriteBoardPermission"], [_mobx.computed, 3, "hasAllowScreenShareAndBoardPermission"], [_mobx.computed, 3, "hasAllowChatPermission"], [_mobx.computed, 3, "hasStartCloudRecordingPermission"], [_mobx.computed, 3, "hasAssignHostBeforeLeavingPermission"], [_mobx.computed, 3, "hasEndRoomPermission"], [_mobx.computed, 3, "isScreenShareAndBoardEnabled"], [_mobx.computed, 3, "isBoardWriteEnabled"], [_mobx.computed, 3, "isWaterMarkEnabled"], [_mobx.computed, 3, "isWatermarkMultiRow"], [_mobx.computed, 3, "isPstnUser"], [_mobx.computed, 3, "cameraId"], [_mobx.computed, 3, "cameraList"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneId"], [_mobx.computed, 3, "microphoneVolumeLevel"], [_mobx.computed, 3, "microphoneList"], [_mobx.computed, 3, "speakerId"], [_mobx.computed, 3, "speakerList"], [_mobx.computed, 3, "allNewMessage"], [_mobx.computed, 3, "isMainRoom"], [_pauseCloudRecordingDecs, 2, "pauseCloudRecording"], [_resumeCloudRecordingDecs, 2, "resumeCloudRecording"], [_stopCloudRecordingDecs, 2, "stopCloudRecording"], [_decorator.bound, 2, "startCloudRecording"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_showNewMessageTooltipDecs, 18, "showNewMessageTooltip"], [_hideNewMessageTooltipDecs, 18, "hideNewMessageTooltip"], [_switchMenuDecs, 18, "switchMenu"], [_mobx.computed, 3, "isLocked"], [_decorator.bound, 2, "isWaitingRoomEnabled"], [_decorator.bound, 2, "enableCamera"], [_decorator.bound, 2, "enableMicrophone"], [_decorator.bound, 2, "closeSpeaker"], [_decorator.bound, 2, "setAllowBoardWrite"], [_decorator.bound, 2, "setAllowScreenShare"], [_decorator.bound, 2, "closeBoard"], [_assignHostDecs, 18, "assignHost"], [_decorator.bound, 2, "leave"], [_decorator.bound, 2, "keepPhoneAudioConnection"], [_setPopoverOpenedDecs, 18, "setPopoverOpened"], [_decorator.bound, 2, "getRoomType"], [_decorator.bound, 2, "end"], [_decorator.bound, 2, "allowJoinWithMuteAudio"], [_decorator.bound, 2, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "isLockRoomEnabled"], [_decorator.bound, 2, "setLockRoomEnabled"], [_decorator.bound, 2, "setAllowShareScreen"], [_decorator.bound, 2, "allowShareScreen"], [_decorator.bound, 2, "allowWriteBoard"], [_decorator.bound, 2, "allowChat"], [_decorator.bound, 2, "setAllowChat"], [_decorator.bound, 2, "allowUnmuteSelfAudio"], [_decorator.bound, 2, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "allowUnmuteSelfVideo"], [_decorator.bound, 2, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "toggleChat"], [_decorator.bound, 2, "openChat"], [_decorator.bound, 2, "closeChat"], [_decorator.bound, 2, "toggleParticipants"], [_decorator.bound, 2, "openParticipants"], [_decorator.bound, 2, "closeParticipants"], [_decorator.bound, 2, "startScreenShare"], [_decorator.bound, 2, "openWhiteboard"], [_decorator.bound, 2, "closeWhiteboard"], [_decorator.bound, 2, "closeLiveStreamingDialog"], [_decorator.bound, 2, "toggleConnection"], [_decorator.bound, 2, "openConnection"], [_decorator.bound, 2, "closeConnection"], [_toggleFoldDecs, 18, "toggleFold"], [_setShowArrowDecs, 18, "setShowArrow"], [_setEnableWaitingRoomDecs, 18, "setEnableWaitingRoom"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_decorator.bound, 2, "_interceptShareScreen"], [_handleRemoteUsersJoinedDecs, 18, "_handleRemoteUsersJoined"], [_handleRemoteUsersLeftDecs, 18, "_handleRemoteUsersLeft"], [_handleAllUserCountUpdatedDecs, 18, "_handleAllUserCountUpdated"], [_getWaitingRoomUserCountDecs, 18, "_getWaitingRoomUserCount"], [_handleRemoteWaitingUserLeftDecs, 18, "_handleRemoteWaitingUserLeft"], [_handleRemoteWaitingUserJoinedDecs, 18, "_handleRemoteWaitingUserJoined"], [_handleUserInfoUpdatedDecs, 18, "_handleUserInfoUpdated"], [_handleLiveStreamingStateUpdatedDecs, 18, "_handleLiveStreamingStateUpdated"], [_handleChatVisibleDecs, 18, "_handleChatVisible"], [_handlerTraceScreenCaptureStateUpdateDecs, 18, "_handlerTraceScreenCaptureStateUpdate"], [_decorator.bound, 2, "setAllowWaterMark"], [_decorator.bound, 2, "setWaterMarkLineType"], [_decorator.bound, 2, "_onEvent"], [_operateWaitingRoomDecs, 18, "_operateWaitingRoom"], [_handleCloudRecordingStateUpdatedDecs, 18, "_handleCloudRecordingStateUpdated"], [_handleStreamsAddedOrUpdatedDecs, 18, "_handleStreamsAddedOrUpdated"], [_decorator.bound, 2, "setParticipantsPopoverOpened"], [_handleNewMessageEventDecs, 16, "_handleNewMessageEvent"]], []).e, 24);
|
|
1402
1391
|
_init_users = _applyDecs$e[0];
|
|
1403
1392
|
_init_newMessageTooltipVisible = _applyDecs$e[1];
|
|
1404
1393
|
_init_newMessageCount = _applyDecs$e[2];
|
|
@@ -69,7 +69,7 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
|
|
|
69
69
|
participantCount = participantStore.participantCount;
|
|
70
70
|
var isWaterMarkEnabled = securityStore.isWaterMarkEnabled,
|
|
71
71
|
getWaterMarkContent = securityStore.getWaterMarkContent,
|
|
72
|
-
|
|
72
|
+
isWatermarkMultiRow = securityStore.isWatermarkMultiRow;
|
|
73
73
|
var autoPlayFailedDialogShow = deviceStore.autoPlayFailedDialogShow,
|
|
74
74
|
setAutoPlayFailedDialogShow = deviceStore.setAutoPlayFailedDialogShow;
|
|
75
75
|
var memberLayoutRef = (0, _react.useRef)(null);
|
|
@@ -202,9 +202,9 @@ var View = exports.View = (0, _mobxReact.observer)(function () {
|
|
|
202
202
|
};
|
|
203
203
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_mobile.FcrMobileWaterMark, {
|
|
204
204
|
content: isWaterMarkEnabled() ? [getWaterMarkContent()] : [],
|
|
205
|
-
width:
|
|
206
|
-
height:
|
|
207
|
-
multiLine: Boolean(
|
|
205
|
+
width: isWatermarkMultiRow() ? 140 : window.screen.width,
|
|
206
|
+
height: isWatermarkMultiRow() ? 80 : containerHeight,
|
|
207
|
+
multiLine: Boolean(isWatermarkMultiRow()),
|
|
208
208
|
children: [(shareScreenUser.userId || hasShareBoard) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_shareToast["default"], {
|
|
209
209
|
isShareBoard: hasShareBoard
|
|
210
210
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
package/lib/ui-manager.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export declare class DefaultSceneUIManager {
|
|
|
23
23
|
_eventToastUIModule: any;
|
|
24
24
|
constructor(_sceneConfig: FcrUISceneConfig, _engine: FcrCoreEngine, _observable: AgoraObservable<FcrUISceneObserver>);
|
|
25
25
|
private _initWhiteBoardUIModule;
|
|
26
|
+
private _renderWithErrorBoundary;
|
|
27
|
+
private _logError;
|
|
26
28
|
private _initChatUIModule;
|
|
27
29
|
render(dom: HTMLElement): void;
|
|
28
30
|
private renderMainMobile;
|
package/lib/ui-manager.js
CHANGED
|
@@ -76,6 +76,8 @@ var _audioStream = require("./modules/audio-stream");
|
|
|
76
76
|
var _type6 = require("fcr-core/lib/type");
|
|
77
77
|
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
78
78
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
79
|
+
var _reactErrorBoundary = require("react-error-boundary");
|
|
80
|
+
var _errorFallback = require("./error-fallback");
|
|
79
81
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
80
82
|
var _DefaultSceneUIManager;
|
|
81
83
|
var _initProto;
|
|
@@ -115,6 +117,31 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
115
117
|
});
|
|
116
118
|
return this._whiteBoradUIModule;
|
|
117
119
|
}
|
|
120
|
+
}, {
|
|
121
|
+
key: "_renderWithErrorBoundary",
|
|
122
|
+
value: function _renderWithErrorBoundary(layoutComponent, spaceName) {
|
|
123
|
+
var _this = this;
|
|
124
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactErrorBoundary.ErrorBoundary, {
|
|
125
|
+
FallbackComponent: _errorFallback.ErrorFallback,
|
|
126
|
+
onError: function onError(error, info) {
|
|
127
|
+
return _this._logError(error, info, spaceName);
|
|
128
|
+
},
|
|
129
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
130
|
+
style: {
|
|
131
|
+
width: '100vw',
|
|
132
|
+
height: '100vh'
|
|
133
|
+
},
|
|
134
|
+
children: layoutComponent
|
|
135
|
+
})
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
key: "_logError",
|
|
140
|
+
value: function _logError(error, info, space) {
|
|
141
|
+
var errorMessage = "[DefaultSceneUIManager H5]: ErrorBoundary wrap ".concat(space, " error:");
|
|
142
|
+
var componentStackMessage = "componentStack: ".concat(info.componentStack);
|
|
143
|
+
this.logger.error("".concat(errorMessage, "\n") + " Error: ".concat(error.message, "\n") + " Stack: ".concat(error.stack, "\n") + " ".concat(componentStackMessage));
|
|
144
|
+
}
|
|
118
145
|
}, {
|
|
119
146
|
key: "_initChatUIModule",
|
|
120
147
|
value: function _initChatUIModule() {
|
|
@@ -131,7 +158,7 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
131
158
|
}, {
|
|
132
159
|
key: "render",
|
|
133
160
|
value: function render(dom) {
|
|
134
|
-
var
|
|
161
|
+
var _this2 = this;
|
|
135
162
|
this._dom = dom;
|
|
136
163
|
if (!this._dom) {
|
|
137
164
|
this.logger.error('Scene UI cannot be rendered as dom is not exist');
|
|
@@ -142,12 +169,12 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
142
169
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
143
170
|
while (1) switch (_context.prev = _context.next) {
|
|
144
171
|
case 0:
|
|
145
|
-
return _context.abrupt("return",
|
|
146
|
-
return
|
|
172
|
+
return _context.abrupt("return", _this2._engine.login().then(function () {
|
|
173
|
+
return _this2._handleJoinRoom();
|
|
147
174
|
}).then(function () {
|
|
148
|
-
|
|
175
|
+
_this2.renderMainMobile();
|
|
149
176
|
})["catch"](function (e) {
|
|
150
|
-
|
|
177
|
+
_this2._observable.notifyObservers('onLaunchFailure', _this2._sceneConfig.roomId, e);
|
|
151
178
|
}));
|
|
152
179
|
case 1:
|
|
153
180
|
case "end":
|
|
@@ -165,7 +192,7 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
165
192
|
key: "renderMainMobile",
|
|
166
193
|
value: function renderMainMobile() {
|
|
167
194
|
var _this$_initChatUIModu,
|
|
168
|
-
|
|
195
|
+
_this3 = this;
|
|
169
196
|
/**
|
|
170
197
|
* Common Stores
|
|
171
198
|
*/
|
|
@@ -252,25 +279,25 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
252
279
|
participantStore: this._participantStore,
|
|
253
280
|
securityStore: this._securityStore
|
|
254
281
|
},
|
|
255
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
282
|
+
children: this._renderWithErrorBoundary(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
256
283
|
style: {
|
|
257
284
|
width: '100vw',
|
|
258
285
|
height: '100vh'
|
|
259
286
|
},
|
|
260
287
|
children: layoutComponent
|
|
261
|
-
})
|
|
288
|
+
}), 'h5-mainroom')
|
|
262
289
|
}), this._dom);
|
|
263
290
|
this._eventObserver = {
|
|
264
291
|
onEvent: function onEvent(action, payload) {
|
|
265
292
|
if (action === _constant.UIAction.EXIT_ROOM) {
|
|
266
|
-
|
|
293
|
+
_this3._observable.notifyObservers('onExited', _this3._sceneConfig.roomId, payload.reason, _this3._mainRoomControl);
|
|
267
294
|
}
|
|
268
295
|
}
|
|
269
296
|
};
|
|
270
297
|
this._roomObserver = {
|
|
271
298
|
onRoomStateUpdated: function onRoomStateUpdated(roomId, state) {
|
|
272
299
|
if (state === _type6.FcrRoomState.Closed) {
|
|
273
|
-
|
|
300
|
+
_this3._observable.notifyObservers('onExited', roomId, _type.FcrUIExitReason.CLOSE_ROOM);
|
|
274
301
|
}
|
|
275
302
|
}
|
|
276
303
|
};
|
|
@@ -301,7 +328,7 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
301
328
|
key: "_createRoomControl",
|
|
302
329
|
value: function () {
|
|
303
330
|
var _createRoomControl2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(roomId) {
|
|
304
|
-
var
|
|
331
|
+
var _this4 = this;
|
|
305
332
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
306
333
|
while (1) switch (_context3.prev = _context3.next) {
|
|
307
334
|
case 0:
|
|
@@ -311,8 +338,8 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
311
338
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
312
339
|
while (1) switch (_context2.prev = _context2.next) {
|
|
313
340
|
case 0:
|
|
314
|
-
engine =
|
|
315
|
-
config =
|
|
341
|
+
engine = _this4._engine;
|
|
342
|
+
config = _this4._sceneConfig;
|
|
316
343
|
if (engine) {
|
|
317
344
|
_context2.next = 4;
|
|
318
345
|
break;
|
|
@@ -377,22 +404,22 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
377
404
|
key: "_handleJoinRoom",
|
|
378
405
|
value: function () {
|
|
379
406
|
var _handleJoinRoom2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4() {
|
|
380
|
-
var
|
|
407
|
+
var _this5 = this;
|
|
381
408
|
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
382
409
|
while (1) switch (_context4.prev = _context4.next) {
|
|
383
410
|
case 0:
|
|
384
411
|
return _context4.abrupt("return", this._createRoomControl(this._sceneConfig.roomId).then(function (room) {
|
|
385
412
|
var roomInfo = room.getRoomInfo();
|
|
386
413
|
if ((roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomType) === _type5.FcrRoomType.Mainroom) {
|
|
387
|
-
|
|
388
|
-
|
|
414
|
+
_this5._mainRoomControl = room;
|
|
415
|
+
_this5._mainRoomControl.addObserver(_this5._roomObserver);
|
|
389
416
|
// @ts-ignore
|
|
390
417
|
window.__mainRoom_control = room;
|
|
391
418
|
return _type5.FcrRoomType.Mainroom;
|
|
392
419
|
} else if ((roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomType) === _type5.FcrRoomType.Waitingroom) {
|
|
393
|
-
|
|
394
|
-
if (
|
|
395
|
-
|
|
420
|
+
_this5._waitingRoomControl = room;
|
|
421
|
+
if (_this5._waitingRoomControl) {
|
|
422
|
+
_this5._waitingRoomControl.leave();
|
|
396
423
|
}
|
|
397
424
|
_toast.FcrToastApi.open({
|
|
398
425
|
toastProps: {
|
|
@@ -403,7 +430,7 @@ var DefaultSceneUIManager = exports.DefaultSceneUIManager = /*#__PURE__*/functio
|
|
|
403
430
|
throw new Error('host_enabled_waiting_room');
|
|
404
431
|
}
|
|
405
432
|
})["catch"](function (e) {
|
|
406
|
-
|
|
433
|
+
_this5._observable.notifyObservers('onLaunchFailure', _this5._sceneConfig.roomId, e);
|
|
407
434
|
throw e;
|
|
408
435
|
}));
|
|
409
436
|
case 1:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fcr-ui-scene-mobile",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "ssh://git@git.agoralab.co/aduc/fcr-ui-scene-mobile.git",
|
|
6
6
|
"author": "agora.io",
|
|
@@ -14,27 +14,28 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@react-spring/web": "^9.7.3",
|
|
16
16
|
"@use-gesture/react": "^10.3.1",
|
|
17
|
+
"agora-foundation": "^3.4.1",
|
|
18
|
+
"agora-ui-foundation": "^3.4.1",
|
|
17
19
|
"classnames": "^2.5.1",
|
|
18
20
|
"core-js": "^3.33.3",
|
|
19
21
|
"dayjs": "^1.10.4",
|
|
22
|
+
"fcr-core": "^3.4.1",
|
|
20
23
|
"js-md5": "^0.8.3",
|
|
24
|
+
"jszip": "^3.10.1",
|
|
21
25
|
"lodash": "^4.17.21",
|
|
22
26
|
"mobx": "^6.12.3",
|
|
23
27
|
"mobx-react": "^9.1.1",
|
|
24
28
|
"mobx-utils": "^6.0.8",
|
|
29
|
+
"pidusage": "^3.0.2",
|
|
25
30
|
"react": "^17.0.2",
|
|
26
31
|
"react-dom": "^17.0.2",
|
|
27
32
|
"react-rnd": "^10.4.1",
|
|
33
|
+
"react-error-boundary": "^5.0.0",
|
|
28
34
|
"react-use-measure": "^2.1.1",
|
|
29
35
|
"react-virtualized": "^9.22.5",
|
|
30
|
-
"tinycolor2": "^1.6.0",
|
|
31
|
-
"pidusage": "^3.0.2",
|
|
32
36
|
"systeminformation": "^5.22.11",
|
|
33
|
-
"
|
|
34
|
-
"winston": "^3.16.0"
|
|
35
|
-
"agora-foundation": "^3.4.0",
|
|
36
|
-
"agora-ui-foundation": "^3.4.0",
|
|
37
|
-
"fcr-core": "^3.4.0"
|
|
37
|
+
"tinycolor2": "^1.6.0",
|
|
38
|
+
"winston": "^3.16.0"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"@babel/core": "^7.23.5",
|
|
@@ -49,13 +50,13 @@
|
|
|
49
50
|
"@types/react-dom": "^17.0.11",
|
|
50
51
|
"@types/react-virtualized": "^9.21.30",
|
|
51
52
|
"@types/tinycolor2": "^1.4.6",
|
|
53
|
+
"agora-toolchain": "^3.4.1",
|
|
52
54
|
"core-js": "^3.33.3",
|
|
53
55
|
"husky": "^9.0.11",
|
|
54
56
|
"lint-staged": "^15.2.2",
|
|
55
57
|
"prettier": "^3.2.5",
|
|
56
58
|
"react-hot-loader": "^4.13.1",
|
|
57
|
-
"tslib": "^2.6.2"
|
|
58
|
-
"agora-toolchain": "^3.4.0"
|
|
59
|
+
"tslib": "^2.6.2"
|
|
59
60
|
},
|
|
60
61
|
"lint-staged": {
|
|
61
62
|
"*.{ts,tsx,html,css}": "prettier --write"
|