fcr-ui-scene-mobile 3.4.4 → 3.5.0
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/device-store.js +0 -2
- package/lib/common/device-stream-store.js +2 -3
- package/lib/common/event-store.d.ts +2 -2
- package/lib/common/member-list-data-source.js +0 -3
- package/lib/common/participant-store.d.ts +1 -4
- package/lib/common/participant-store.js +69 -121
- package/lib/common/security-store.js +0 -4
- package/lib/common/setting-store.js +0 -4
- package/lib/hooks/meeting-time.d.ts +4 -2
- package/lib/hooks/meeting-time.js +37 -25
- package/lib/modules/action-bar/member-list-popup/attendee/index.d.ts +0 -2
- package/lib/modules/action-bar/member-list-popup/attendee/index.js +0 -2
- package/lib/modules/action-bar/member-list-popup/attendee/list.js +15 -27
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.js +0 -1
- package/lib/modules/action-bar/store.d.ts +2 -2
- package/lib/modules/action-bar/store.js +0 -5
- package/lib/modules/audio-stream/index.js +0 -2
- package/lib/modules/chat/chat-bar/index.js +0 -2
- package/lib/modules/chat/chat-select/index.js +0 -2
- package/lib/modules/chat/message-list.js +2 -4
- package/lib/modules/chat/store.d.ts +3 -3
- package/lib/modules/chat/store.js +5 -7
- package/lib/modules/chat/view.js +5 -7
- package/lib/modules/layout/components/index.js +0 -1
- package/lib/modules/layout/store.d.ts +2 -2
- package/lib/modules/layout/type.js +2 -0
- package/lib/modules/member-layout/grid/index.js +0 -4
- package/lib/modules/member-layout/store.js +0 -4
- package/lib/modules/member-layout/user/index.js +0 -2
- package/lib/modules/member-layout/view.js +0 -4
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.js +4 -4
- package/lib/modules/state-bar/store.d.ts +1 -0
- package/lib/modules/state-bar/store.js +13 -8
- package/lib/modules/state-bar/view.js +9 -5
- package/lib/modules/whiteboard/components/switch-theme/index.js +0 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/index.js +1 -4
- package/lib/modules/whiteboard/index.js +0 -4
- package/lib/modules/whiteboard/type.js +2 -0
- package/lib/translations/enUS.d.ts +25 -12
- package/lib/translations/enUS.js +78 -63
- package/lib/translations/zhCN.d.ts +25 -12
- package/lib/translations/zhCN.js +66 -51
- package/lib/type.js +12 -0
- package/lib/ui-scene.d.ts +2 -0
- package/lib/ui-scene.js +25 -3
- package/lib/utilities/constant.js +34 -0
- package/lib/utilities/tools.js +0 -1
- package/package.json +5 -5
|
@@ -48,8 +48,6 @@ require("core-js/modules/es.object.to-string.js");
|
|
|
48
48
|
require("core-js/modules/es.set.js");
|
|
49
49
|
require("core-js/modules/es.string.iterator.js");
|
|
50
50
|
require("core-js/modules/es.weak-map.js");
|
|
51
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
52
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
53
51
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
52
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
55
53
|
require("core-js/modules/esnext.iterator.map.js");
|
|
@@ -43,7 +43,6 @@ exports.FcrDeviceStreamStore = void 0;
|
|
|
43
43
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
44
44
|
require("core-js/modules/es.array.find.js");
|
|
45
45
|
require("core-js/modules/es.object.to-string.js");
|
|
46
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
47
46
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
48
47
|
require("core-js/modules/esnext.iterator.find.js");
|
|
49
48
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
@@ -177,7 +176,7 @@ var FcrDeviceStreamStore = exports.FcrDeviceStreamStore = /*#__PURE__*/function
|
|
|
177
176
|
_toast.FcrToastApi.open({
|
|
178
177
|
toastProps: {
|
|
179
178
|
type: 'warn',
|
|
180
|
-
content: (0, _i18n.transI18n)('
|
|
179
|
+
content: (0, _i18n.transI18n)('fmt_toolbar_tips_host_forbid_open_camera')
|
|
181
180
|
}
|
|
182
181
|
});
|
|
183
182
|
return _context.abrupt("return");
|
|
@@ -241,7 +240,7 @@ var FcrDeviceStreamStore = exports.FcrDeviceStreamStore = /*#__PURE__*/function
|
|
|
241
240
|
_toast.FcrToastApi.open({
|
|
242
241
|
toastProps: {
|
|
243
242
|
type: 'warn',
|
|
244
|
-
content: (0, _i18n.transI18n)('
|
|
243
|
+
content: (0, _i18n.transI18n)('fmt_toolbar_tips_host_forbid_open_mic')
|
|
245
244
|
}
|
|
246
245
|
});
|
|
247
246
|
return _context3.abrupt("return");
|
|
@@ -5,7 +5,7 @@ import { ToastSize } from 'agora-ui-foundation/lib/components/toast';
|
|
|
5
5
|
import { FcrIconType } from 'agora-ui-foundation/lib/components/icon/type';
|
|
6
6
|
import { ButtonType } from 'agora-ui-foundation/lib/components/button';
|
|
7
7
|
import { ConfirmContentProps } from 'agora-ui-foundation/lib/components/confirm-content';
|
|
8
|
-
import {
|
|
8
|
+
import { FcrChatRoomReceivedBaseMessage } from 'fcr-core/lib/room-control/chatroom-control/type';
|
|
9
9
|
import { SlotsType } from '../modules/layout/store';
|
|
10
10
|
import { CustomSetting } from './setting-store';
|
|
11
11
|
export interface FcrUIDialogParams {
|
|
@@ -43,7 +43,7 @@ export interface FcrUIUpdateAsideParams {
|
|
|
43
43
|
chat?: boolean;
|
|
44
44
|
}
|
|
45
45
|
export interface FcrUINewChatMessagesParams {
|
|
46
|
-
latestMessage:
|
|
46
|
+
latestMessage: FcrChatRoomReceivedBaseMessage;
|
|
47
47
|
count: number;
|
|
48
48
|
type: string;
|
|
49
49
|
}
|
|
@@ -18,7 +18,6 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
18
18
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
19
19
|
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
20
20
|
require("core-js/modules/es.object.keys.js");
|
|
21
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
22
21
|
require("core-js/modules/esnext.function.metadata.js");
|
|
23
22
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
24
23
|
require("core-js/modules/esnext.map.delete-all.js");
|
|
@@ -54,8 +53,6 @@ require("core-js/modules/es.array.splice.js");
|
|
|
54
53
|
require("core-js/modules/es.object.to-string.js");
|
|
55
54
|
require("core-js/modules/es.string.iterator.js");
|
|
56
55
|
require("core-js/modules/es.weak-map.js");
|
|
57
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
58
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
59
56
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
60
57
|
require("core-js/modules/esnext.iterator.find.js");
|
|
61
58
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FcrPrivilegeUserRole, FcrRoomConnectorType, FcrVideoSourceType } from 'fcr-core';
|
|
2
2
|
import { FcrPeerSessionControl } from 'fcr-core/lib/peer-session/type';
|
|
3
3
|
import { FcrUserInfo, FcrUserRole } from 'fcr-core/lib/type';
|
|
4
4
|
import { RoomType } from '../utilities/constant';
|
|
@@ -64,8 +64,6 @@ export declare class FcrParticipantStore {
|
|
|
64
64
|
private _whitebaordObderver;
|
|
65
65
|
private accessor _mainList;
|
|
66
66
|
accessor _participantsWindowActive: boolean;
|
|
67
|
-
accessor currentPerspectiveType: 'host' | 'attendee' | 'cohost';
|
|
68
|
-
accessor screenSharingState: FcrMediaSourceState;
|
|
69
67
|
accessor enableParticipantsJoinWithMute: boolean;
|
|
70
68
|
accessor searchText: string;
|
|
71
69
|
accessor currentModal: 'modal' | 'window';
|
|
@@ -178,7 +176,6 @@ export declare class FcrParticipantStore {
|
|
|
178
176
|
private _handleStreamsAdded;
|
|
179
177
|
private _handleStreamsUpdated;
|
|
180
178
|
private _handleStreamsRemoved;
|
|
181
|
-
private _refreshCurrentPerspectiveType;
|
|
182
179
|
private _onPeerSessionReceived;
|
|
183
180
|
cancelRequestEquip(): void;
|
|
184
181
|
confirmRequestEquip(): void;
|
|
@@ -42,11 +42,6 @@ require("core-js/modules/es.set.js");
|
|
|
42
42
|
require("core-js/modules/es.string.includes.js");
|
|
43
43
|
require("core-js/modules/es.string.iterator.js");
|
|
44
44
|
require("core-js/modules/es.weak-map.js");
|
|
45
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
46
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
47
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
48
|
-
require("core-js/modules/esnext.async-iterator.map.js");
|
|
49
|
-
require("core-js/modules/esnext.async-iterator.some.js");
|
|
50
45
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
51
46
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
52
47
|
require("core-js/modules/esnext.iterator.find.js");
|
|
@@ -114,7 +109,7 @@ var _memberListDataSource = require("./member-list-data-source");
|
|
|
114
109
|
var _type4 = require("./type");
|
|
115
110
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
116
111
|
var _FcrParticipantStore;
|
|
117
|
-
var _initProto, _init__mainList, _init__participantsWindowActive,
|
|
112
|
+
var _initProto, _init__mainList, _init__participantsWindowActive, _init_enableParticipantsJoinWithMute, _init_searchText, _init_currentModal, _init_localUserRole, _init_spotlightUserId, _init_enableSpotlight, _init_mergeConfirmDialog, _init_mergeUserId, _init_activeTab, _init_isNewWaitingRoomUserEnter, _init_waitingRoomUserCount, _init_participantCount, _init_requestEquipPopupShow, _init_requestEquipType, _init_requestEquipSenderRole, _setSpotlightUserIdDecs, _setCurrentModalDecs, _setParticipantsWindowActiveDecs, _handlerSearchUserDecs, _getAllowedOperationsDecs, _handlerUserActionDecs, _moveToWaitingRoomByUserIdsDecs, _removeWaitingRoomUserDecs, _kickOutWaitingRoomAllMemberDecs, _moveToMainRoomAllMemberDecs, _handlerRoomControlActionDecs, _handleEventDecs, _moveToMainRoomByUserIdsDecs, _handleActiveTabDecs, _setAsAttendeeDecs, _handleRemoteUserJoinedDecs, _handleRemoteUserLeftDecs, _onUserInfoUpdatedDecs, _onAllUserCountUpdatedDecs, _initUserListDecs, _onPeerSessionReceivedDecs, _updateLocalUserRoleDecs, _setRequestEquipPopupShowDecs, _setRequestEquipTypeDecs, _setRequestEquipSenderRoleDecs, _ref; // import { sendEvent } from '../../utilities/renderer-event';
|
|
118
113
|
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; }
|
|
119
114
|
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; }
|
|
120
115
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
@@ -139,10 +134,10 @@ var EquipRequstType = exports.EquipRequstType = /*#__PURE__*/function (EquipRequ
|
|
|
139
134
|
EquipRequstType[EquipRequstType["VIDEO"] = 1] = "VIDEO";
|
|
140
135
|
return EquipRequstType;
|
|
141
136
|
}({});
|
|
137
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
142
138
|
var _B = /*#__PURE__*/new WeakMap();
|
|
143
139
|
var _C = /*#__PURE__*/new WeakMap();
|
|
144
140
|
var _D = /*#__PURE__*/new WeakMap();
|
|
145
|
-
var _A = /*#__PURE__*/new WeakMap();
|
|
146
141
|
var _E = /*#__PURE__*/new WeakMap();
|
|
147
142
|
var _F = /*#__PURE__*/new WeakMap();
|
|
148
143
|
var _G = /*#__PURE__*/new WeakMap();
|
|
@@ -156,9 +151,7 @@ var _N = /*#__PURE__*/new WeakMap();
|
|
|
156
151
|
var _O = /*#__PURE__*/new WeakMap();
|
|
157
152
|
var _P = /*#__PURE__*/new WeakMap();
|
|
158
153
|
var _Q = /*#__PURE__*/new WeakMap();
|
|
159
|
-
|
|
160
|
-
var _S = /*#__PURE__*/new WeakMap();
|
|
161
|
-
_ref = (_setSpotlightUserIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _getAllowedOperationsDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _initUserListDecs = [_mobx.action, _mobx.action.bound], _refreshCurrentPerspectiveTypeDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _updateLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipPopupShowDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipTypeDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipSenderRoleDecs = [_mobx.action, _mobx.action.bound], "MIN_USERS_TO_ENABLE_SPOTLIGHT");
|
|
154
|
+
_ref = (_setSpotlightUserIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentModalDecs = [_mobx.action, _mobx.action.bound], _setParticipantsWindowActiveDecs = [_mobx.action, _mobx.action.bound], _handlerSearchUserDecs = [_mobx.action, _mobx.action.bound], _getAllowedOperationsDecs = [_mobx.action, _mobx.action.bound], _handlerUserActionDecs = [_mobx.action, _mobx.action.bound], _moveToWaitingRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _removeWaitingRoomUserDecs = [_mobx.action, _mobx.action.bound], _kickOutWaitingRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomAllMemberDecs = [_mobx.action, _mobx.action.bound], _handlerRoomControlActionDecs = [_mobx.action, _mobx.action.bound], _handleEventDecs = [_mobx.action, _mobx.action.bound], _moveToMainRoomByUserIdsDecs = [_mobx.action, _mobx.action.bound], _handleActiveTabDecs = [_mobx.action, _mobx.action.bound], _setAsAttendeeDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserJoinedDecs = [_mobx.action, _mobx.action.bound], _handleRemoteUserLeftDecs = [_mobx.action, _mobx.action.bound], _onUserInfoUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAllUserCountUpdatedDecs = [_mobx.action, _mobx.action.bound], _initUserListDecs = [_mobx.action, _mobx.action.bound], _onPeerSessionReceivedDecs = [_mobx.action, _mobx.action.bound], _updateLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipPopupShowDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipTypeDecs = [_mobx.action, _mobx.action.bound], _setRequestEquipSenderRoleDecs = [_mobx.action, _mobx.action.bound], "MIN_USERS_TO_ENABLE_SPOTLIGHT");
|
|
162
155
|
var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function () {
|
|
163
156
|
function FcrParticipantStore(_ref2) {
|
|
164
157
|
var _this = this;
|
|
@@ -204,25 +197,23 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
204
197
|
_this._updateUserBoardState(operatorUser);
|
|
205
198
|
}
|
|
206
199
|
});
|
|
207
|
-
_classPrivateFieldInitSpec(this,
|
|
208
|
-
_classPrivateFieldInitSpec(this,
|
|
209
|
-
_classPrivateFieldInitSpec(this,
|
|
210
|
-
_classPrivateFieldInitSpec(this,
|
|
211
|
-
_classPrivateFieldInitSpec(this, _E,
|
|
212
|
-
_classPrivateFieldInitSpec(this, _F,
|
|
213
|
-
_classPrivateFieldInitSpec(this, _G,
|
|
214
|
-
_classPrivateFieldInitSpec(this, _H,
|
|
215
|
-
_classPrivateFieldInitSpec(this, _I,
|
|
216
|
-
_classPrivateFieldInitSpec(this, _J,
|
|
217
|
-
_classPrivateFieldInitSpec(this, _K,
|
|
218
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
219
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
220
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
221
|
-
_classPrivateFieldInitSpec(this, _O,
|
|
222
|
-
_classPrivateFieldInitSpec(this, _P,
|
|
223
|
-
_classPrivateFieldInitSpec(this, _Q,
|
|
224
|
-
_classPrivateFieldInitSpec(this, _R, _init_requestEquipType(this, EquipRequstType.MICRO));
|
|
225
|
-
_classPrivateFieldInitSpec(this, _S, _init_requestEquipSenderRole(this, _type.FcrUserRole.HOST));
|
|
200
|
+
_classPrivateFieldInitSpec(this, _A, _init__mainList(this, []));
|
|
201
|
+
_classPrivateFieldInitSpec(this, _B, _init__participantsWindowActive(this, false));
|
|
202
|
+
_classPrivateFieldInitSpec(this, _C, _init_enableParticipantsJoinWithMute(this, false));
|
|
203
|
+
_classPrivateFieldInitSpec(this, _D, _init_searchText(this, ''));
|
|
204
|
+
_classPrivateFieldInitSpec(this, _E, _init_currentModal(this, 'modal'));
|
|
205
|
+
_classPrivateFieldInitSpec(this, _F, _init_localUserRole(this));
|
|
206
|
+
_classPrivateFieldInitSpec(this, _G, _init_spotlightUserId(this, ''));
|
|
207
|
+
_classPrivateFieldInitSpec(this, _H, _init_enableSpotlight(this, true));
|
|
208
|
+
_classPrivateFieldInitSpec(this, _I, _init_mergeConfirmDialog(this, false));
|
|
209
|
+
_classPrivateFieldInitSpec(this, _J, _init_mergeUserId(this, ''));
|
|
210
|
+
_classPrivateFieldInitSpec(this, _K, _init_activeTab(this, _constant.RoomType.MAIN_ROOM));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _L, _init_isNewWaitingRoomUserEnter(this, false));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _M, _init_waitingRoomUserCount(this, 0));
|
|
213
|
+
_classPrivateFieldInitSpec(this, _N, _init_participantCount(this, 0));
|
|
214
|
+
_classPrivateFieldInitSpec(this, _O, _init_requestEquipPopupShow(this, false));
|
|
215
|
+
_classPrivateFieldInitSpec(this, _P, _init_requestEquipType(this, EquipRequstType.MICRO));
|
|
216
|
+
_classPrivateFieldInitSpec(this, _Q, _init_requestEquipSenderRole(this, _type.FcrUserRole.HOST));
|
|
226
217
|
(0, _defineProperty2["default"])(this, "allowedOperations", (0, _mobxUtils.computedFn)(function (userId, userRole) {
|
|
227
218
|
var _this$_userControl$ge;
|
|
228
219
|
return _this.getAllowedOperations(userRole, userId === ((_this$_userControl$ge = _this._userControl.getLocalUser()) === null || _this$_userControl$ge === void 0 ? void 0 : _this$_userControl$ge.userId));
|
|
@@ -342,37 +333,37 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
342
333
|
return (0, _createClass2["default"])(FcrParticipantStore, [{
|
|
343
334
|
key: "_mainList",
|
|
344
335
|
get: function get() {
|
|
345
|
-
return _classPrivateFieldGet(
|
|
336
|
+
return _classPrivateFieldGet(_A, this);
|
|
346
337
|
},
|
|
347
338
|
set: function set(v) {
|
|
348
|
-
_classPrivateFieldSet(
|
|
339
|
+
_classPrivateFieldSet(_A, this, v);
|
|
349
340
|
}
|
|
350
341
|
}, {
|
|
351
342
|
key: "_participantsWindowActive",
|
|
352
343
|
get: function get() {
|
|
353
|
-
return _classPrivateFieldGet(
|
|
344
|
+
return _classPrivateFieldGet(_B, this);
|
|
354
345
|
},
|
|
355
346
|
set: function set(v) {
|
|
356
|
-
_classPrivateFieldSet(
|
|
347
|
+
_classPrivateFieldSet(_B, this, v);
|
|
357
348
|
}
|
|
358
349
|
}, {
|
|
359
|
-
key: "
|
|
350
|
+
key: "enableParticipantsJoinWithMute",
|
|
360
351
|
get: function get() {
|
|
361
|
-
return _classPrivateFieldGet(
|
|
352
|
+
return _classPrivateFieldGet(_C, this);
|
|
362
353
|
},
|
|
363
354
|
set: function set(v) {
|
|
364
|
-
_classPrivateFieldSet(
|
|
355
|
+
_classPrivateFieldSet(_C, this, v);
|
|
365
356
|
}
|
|
366
357
|
}, {
|
|
367
|
-
key: "
|
|
358
|
+
key: "searchText",
|
|
368
359
|
get: function get() {
|
|
369
|
-
return _classPrivateFieldGet(
|
|
360
|
+
return _classPrivateFieldGet(_D, this);
|
|
370
361
|
},
|
|
371
362
|
set: function set(v) {
|
|
372
|
-
_classPrivateFieldSet(
|
|
363
|
+
_classPrivateFieldSet(_D, this, v);
|
|
373
364
|
}
|
|
374
365
|
}, {
|
|
375
|
-
key: "
|
|
366
|
+
key: "currentModal",
|
|
376
367
|
get: function get() {
|
|
377
368
|
return _classPrivateFieldGet(_E, this);
|
|
378
369
|
},
|
|
@@ -380,7 +371,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
380
371
|
_classPrivateFieldSet(_E, this, v);
|
|
381
372
|
}
|
|
382
373
|
}, {
|
|
383
|
-
key: "
|
|
374
|
+
key: "localUserRole",
|
|
384
375
|
get: function get() {
|
|
385
376
|
return _classPrivateFieldGet(_F, this);
|
|
386
377
|
},
|
|
@@ -388,7 +379,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
388
379
|
_classPrivateFieldSet(_F, this, v);
|
|
389
380
|
}
|
|
390
381
|
}, {
|
|
391
|
-
key: "
|
|
382
|
+
key: "spotlightUserId",
|
|
392
383
|
get: function get() {
|
|
393
384
|
return _classPrivateFieldGet(_G, this);
|
|
394
385
|
},
|
|
@@ -396,7 +387,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
396
387
|
_classPrivateFieldSet(_G, this, v);
|
|
397
388
|
}
|
|
398
389
|
}, {
|
|
399
|
-
key: "
|
|
390
|
+
key: "enableSpotlight",
|
|
400
391
|
get: function get() {
|
|
401
392
|
return _classPrivateFieldGet(_H, this);
|
|
402
393
|
},
|
|
@@ -404,7 +395,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
404
395
|
_classPrivateFieldSet(_H, this, v);
|
|
405
396
|
}
|
|
406
397
|
}, {
|
|
407
|
-
key: "
|
|
398
|
+
key: "mergeConfirmDialog",
|
|
408
399
|
get: function get() {
|
|
409
400
|
return _classPrivateFieldGet(_I, this);
|
|
410
401
|
},
|
|
@@ -412,7 +403,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
412
403
|
_classPrivateFieldSet(_I, this, v);
|
|
413
404
|
}
|
|
414
405
|
}, {
|
|
415
|
-
key: "
|
|
406
|
+
key: "mergeUserId",
|
|
416
407
|
get: function get() {
|
|
417
408
|
return _classPrivateFieldGet(_J, this);
|
|
418
409
|
},
|
|
@@ -420,7 +411,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
420
411
|
_classPrivateFieldSet(_J, this, v);
|
|
421
412
|
}
|
|
422
413
|
}, {
|
|
423
|
-
key: "
|
|
414
|
+
key: "activeTab",
|
|
424
415
|
get: function get() {
|
|
425
416
|
return _classPrivateFieldGet(_K, this);
|
|
426
417
|
},
|
|
@@ -428,7 +419,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
428
419
|
_classPrivateFieldSet(_K, this, v);
|
|
429
420
|
}
|
|
430
421
|
}, {
|
|
431
|
-
key: "
|
|
422
|
+
key: "isNewWaitingRoomUserEnter",
|
|
432
423
|
get: function get() {
|
|
433
424
|
return _classPrivateFieldGet(_L, this);
|
|
434
425
|
},
|
|
@@ -436,7 +427,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
436
427
|
_classPrivateFieldSet(_L, this, v);
|
|
437
428
|
}
|
|
438
429
|
}, {
|
|
439
|
-
key: "
|
|
430
|
+
key: "waitingRoomUserCount",
|
|
440
431
|
get: function get() {
|
|
441
432
|
return _classPrivateFieldGet(_M, this);
|
|
442
433
|
},
|
|
@@ -444,7 +435,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
444
435
|
_classPrivateFieldSet(_M, this, v);
|
|
445
436
|
}
|
|
446
437
|
}, {
|
|
447
|
-
key: "
|
|
438
|
+
key: "participantCount",
|
|
448
439
|
get: function get() {
|
|
449
440
|
return _classPrivateFieldGet(_N, this);
|
|
450
441
|
},
|
|
@@ -452,7 +443,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
452
443
|
_classPrivateFieldSet(_N, this, v);
|
|
453
444
|
}
|
|
454
445
|
}, {
|
|
455
|
-
key: "
|
|
446
|
+
key: "requestEquipPopupShow",
|
|
456
447
|
get: function get() {
|
|
457
448
|
return _classPrivateFieldGet(_O, this);
|
|
458
449
|
},
|
|
@@ -460,7 +451,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
460
451
|
_classPrivateFieldSet(_O, this, v);
|
|
461
452
|
}
|
|
462
453
|
}, {
|
|
463
|
-
key: "
|
|
454
|
+
key: "requestEquipType",
|
|
464
455
|
get: function get() {
|
|
465
456
|
return _classPrivateFieldGet(_P, this);
|
|
466
457
|
},
|
|
@@ -468,29 +459,13 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
468
459
|
_classPrivateFieldSet(_P, this, v);
|
|
469
460
|
}
|
|
470
461
|
}, {
|
|
471
|
-
key: "
|
|
462
|
+
key: "requestEquipSenderRole",
|
|
472
463
|
get: function get() {
|
|
473
464
|
return _classPrivateFieldGet(_Q, this);
|
|
474
465
|
},
|
|
475
466
|
set: function set(v) {
|
|
476
467
|
_classPrivateFieldSet(_Q, this, v);
|
|
477
468
|
}
|
|
478
|
-
}, {
|
|
479
|
-
key: "requestEquipType",
|
|
480
|
-
get: function get() {
|
|
481
|
-
return _classPrivateFieldGet(_R, this);
|
|
482
|
-
},
|
|
483
|
-
set: function set(v) {
|
|
484
|
-
_classPrivateFieldSet(_R, this, v);
|
|
485
|
-
}
|
|
486
|
-
}, {
|
|
487
|
-
key: "requestEquipSenderRole",
|
|
488
|
-
get: function get() {
|
|
489
|
-
return _classPrivateFieldGet(_S, this);
|
|
490
|
-
},
|
|
491
|
-
set: function set(v) {
|
|
492
|
-
_classPrivateFieldSet(_S, this, v);
|
|
493
|
-
}
|
|
494
469
|
}, {
|
|
495
470
|
key: "userListSource",
|
|
496
471
|
get: function get() {
|
|
@@ -1249,7 +1224,7 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1249
1224
|
value: function _lockRoom(enable) {
|
|
1250
1225
|
this._uiEventStore.showToast({
|
|
1251
1226
|
type: 'info',
|
|
1252
|
-
message: enable ? (0, _i18n.transI18n)('
|
|
1227
|
+
message: enable ? (0, _i18n.transI18n)('fmt_uimanager_tips_ilock') : (0, _i18n.transI18n)('fmt_uimanager_tips_meetingunlocked')
|
|
1253
1228
|
});
|
|
1254
1229
|
this._securityStore.setLockRoomEnabled(enable);
|
|
1255
1230
|
}
|
|
@@ -1294,9 +1269,9 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1294
1269
|
value: function _handleRemoteUserJoined(_roomId, events) {
|
|
1295
1270
|
var _this7 = this;
|
|
1296
1271
|
events.forEach(function (event) {
|
|
1297
|
-
var
|
|
1298
|
-
_this7._dataSource.add(
|
|
1299
|
-
_this7._updateUserBoardState(
|
|
1272
|
+
var userInfo = event.userInfo;
|
|
1273
|
+
_this7._dataSource.add(userInfo, _this7._streamControl.getStreamsByUserId(userInfo.userId), userInfo.userId === _this7._userControl.getLocalUser().userId);
|
|
1274
|
+
_this7._updateUserBoardState(userInfo);
|
|
1300
1275
|
});
|
|
1301
1276
|
}
|
|
1302
1277
|
}, {
|
|
@@ -1304,9 +1279,9 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1304
1279
|
value: function _handleRemoteUserLeft(_roomId, events) {
|
|
1305
1280
|
var _this8 = this;
|
|
1306
1281
|
events.forEach(function (event) {
|
|
1307
|
-
var
|
|
1308
|
-
_this8._dataSource["delete"](
|
|
1309
|
-
_this8._updateUserBoardState(
|
|
1282
|
+
var userInfo = event.userInfo;
|
|
1283
|
+
_this8._dataSource["delete"](userInfo);
|
|
1284
|
+
_this8._updateUserBoardState(userInfo);
|
|
1310
1285
|
});
|
|
1311
1286
|
}
|
|
1312
1287
|
}, {
|
|
@@ -1352,7 +1327,6 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1352
1327
|
}
|
|
1353
1328
|
}
|
|
1354
1329
|
this._updateLocalUserRole(localUserRole);
|
|
1355
|
-
this._refreshCurrentPerspectiveType();
|
|
1356
1330
|
}
|
|
1357
1331
|
}, {
|
|
1358
1332
|
key: "_onAllUserCountUpdated",
|
|
@@ -1362,7 +1336,6 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1362
1336
|
}, {
|
|
1363
1337
|
key: "_initUserList",
|
|
1364
1338
|
value: function _initUserList() {
|
|
1365
|
-
this._refreshCurrentPerspectiveType();
|
|
1366
1339
|
var users = this._userControl.getUsers();
|
|
1367
1340
|
for (var _i = 0, _Object$entries = Object.entries(users); _i < _Object$entries.length; _i++) {
|
|
1368
1341
|
var _Object$entries$_i = (0, _slicedToArray2["default"])(_Object$entries[_i], 2),
|
|
@@ -1398,39 +1371,15 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1398
1371
|
_this11._dataSource.updateWithStreamRemove(modifiedStream);
|
|
1399
1372
|
});
|
|
1400
1373
|
}
|
|
1401
|
-
}, {
|
|
1402
|
-
key: "_refreshCurrentPerspectiveType",
|
|
1403
|
-
value: function _refreshCurrentPerspectiveType() {
|
|
1404
|
-
var _this$_userControl$ge4;
|
|
1405
|
-
var localUserUid = (_this$_userControl$ge4 = this._userControl.getLocalUser()) === null || _this$_userControl$ge4 === void 0 ? void 0 : _this$_userControl$ge4.userId;
|
|
1406
|
-
if (!localUserUid) {
|
|
1407
|
-
this.currentPerspectiveType = 'attendee';
|
|
1408
|
-
return;
|
|
1409
|
-
}
|
|
1410
|
-
var localUser = this._userControl.getUser(localUserUid);
|
|
1411
|
-
if (!localUser) {
|
|
1412
|
-
this.currentPerspectiveType = 'attendee';
|
|
1413
|
-
return;
|
|
1414
|
-
}
|
|
1415
|
-
if (localUser.userRole === _type.FcrUserRole.HOST) {
|
|
1416
|
-
this.currentPerspectiveType = 'host';
|
|
1417
|
-
return;
|
|
1418
|
-
}
|
|
1419
|
-
if (localUser.userRole === _type.FcrUserRole.COHOST) {
|
|
1420
|
-
this.currentPerspectiveType = 'cohost';
|
|
1421
|
-
return;
|
|
1422
|
-
}
|
|
1423
|
-
this.currentPerspectiveType = 'attendee';
|
|
1424
|
-
}
|
|
1425
1374
|
}, {
|
|
1426
1375
|
key: "_onPeerSessionReceived",
|
|
1427
1376
|
value: function _onPeerSessionReceived(session) {
|
|
1428
|
-
var _this$_userControl$
|
|
1377
|
+
var _this$_userControl$ge4;
|
|
1429
1378
|
if (session.sessionId && this._processedUserOpenDeviceRequests.has(session.sessionId)) {
|
|
1430
1379
|
return;
|
|
1431
1380
|
}
|
|
1432
1381
|
this._processedUserOpenDeviceRequests.add(session.sessionId);
|
|
1433
|
-
var localUserUid = (_this$_userControl$
|
|
1382
|
+
var localUserUid = (_this$_userControl$ge4 = this._userControl.getLocalUser()) === null || _this$_userControl$ge4 === void 0 ? void 0 : _this$_userControl$ge4.userId;
|
|
1434
1383
|
if (!localUserUid) {
|
|
1435
1384
|
return;
|
|
1436
1385
|
}
|
|
@@ -1565,24 +1514,23 @@ var FcrParticipantStore = exports.FcrParticipantStore = /*#__PURE__*/function ()
|
|
|
1565
1514
|
}]);
|
|
1566
1515
|
}();
|
|
1567
1516
|
_FcrParticipantStore = FcrParticipantStore;
|
|
1568
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "
|
|
1517
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrParticipantStore, [[_mobx.observable, 1, "_mainList"], [_mobx.observable, 1, "_participantsWindowActive"], [_mobx.observable, 1, "enableParticipantsJoinWithMute"], [_mobx.observable, 1, "searchText"], [_mobx.observable, 1, "currentModal"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "spotlightUserId"], [_mobx.observable, 1, "enableSpotlight"], [_mobx.observable, 1, "mergeConfirmDialog"], [_mobx.observable, 1, "mergeUserId"], [_mobx.observable, 1, "activeTab"], [_mobx.observable, 1, "isNewWaitingRoomUserEnter"], [_mobx.observable, 1, "waitingRoomUserCount"], [_mobx.observable, 1, "participantCount"], [_mobx.observable, 1, "requestEquipPopupShow"], [_mobx.observable, 1, "requestEquipType"], [_mobx.observable, 1, "requestEquipSenderRole"], [_mobx.computed, 3, "userListSource"], [_mobx.computed, 3, "localUser"], [_mobx.computed, 3, "mergeUserInfo"], [_mobx.computed, 3, "hostList"], [_mobx.computed, 3, "userMap"], [_mobx.computed, 3, "pinedStreamIds"], [_mobx.computed, 3, "hasPinnedStream"], [_mobx.computed, 3, "participantList"], [_mobx.computed, 3, "memberList"], [_mobx.computed, 3, "localMicVolume"], [_mobx.computed, 3, "hasRevokeHostPermission"], [_setSpotlightUserIdDecs, 18, "setSpotlightUserId"], [_decorator.bound, 2, "hasMutePermission"], [_decorator.bound, 2, "hasWaitingRoomPermission"], [_decorator.bound, 2, "hasUnmutePermission"], [_decorator.bound, 2, "hasRequestStartAudioPermission"], [_setCurrentModalDecs, 18, "setCurrentModal"], [_decorator.bound, 2, "closeParticipantsAside"], [_setParticipantsWindowActiveDecs, 18, "setParticipantsWindowActive"], [_handlerSearchUserDecs, 18, "handlerSearchUser"], [_decorator.bound, 2, "onInvite"], [_decorator.bound, 2, "setMergeConfirmDialog"], [_decorator.bound, 2, "mergeConfirmDialogOk"], [_decorator.bound, 2, "removePin"], [_decorator.bound, 2, "addPin"], [_getAllowedOperationsDecs, 18, "getAllowedOperations"], [_handlerUserActionDecs, 18, "handlerUserAction"], [_moveToWaitingRoomByUserIdsDecs, 18, "_moveToWaitingRoomByUserIds"], [_removeWaitingRoomUserDecs, 18, "removeWaitingRoomUser"], [_kickOutWaitingRoomAllMemberDecs, 18, "kickOutWaitingRoomAllMember"], [_moveToMainRoomAllMemberDecs, 18, "moveToMainRoomAllMember"], [_handlerRoomControlActionDecs, 18, "handlerRoomControlAction"], [_handleEventDecs, 18, "_handleEvent"], [_moveToMainRoomByUserIdsDecs, 18, "moveToMainRoomByUserIds"], [_handleActiveTabDecs, 18, "handleActiveTab"], [_setAsAttendeeDecs, 18, "_setAsAttendee"], [_handleRemoteUserJoinedDecs, 18, "_handleRemoteUserJoined"], [_handleRemoteUserLeftDecs, 18, "_handleRemoteUserLeft"], [_decorator.bound, 2, "_onLocalUserKickedout"], [_onUserInfoUpdatedDecs, 18, "_onUserInfoUpdated"], [_onAllUserCountUpdatedDecs, 18, "_onAllUserCountUpdated"], [_initUserListDecs, 18, "_initUserList"], [_decorator.bound, 2, "_handleStreamsAdded"], [_decorator.bound, 2, "_handleStreamsUpdated"], [_decorator.bound, 2, "_handleStreamsRemoved"], [_onPeerSessionReceivedDecs, 18, "_onPeerSessionReceived"], [_decorator.bound, 2, "cancelRequestEquip"], [_decorator.bound, 2, "confirmRequestEquip"], [_decorator.bound, 2, "_isSetSpotlightEnable"], [_updateLocalUserRoleDecs, 18, "_updateLocalUserRole"], [_setRequestEquipPopupShowDecs, 18, "setRequestEquipPopupShow"], [_setRequestEquipTypeDecs, 18, "setRequestEquipType"], [_setRequestEquipSenderRoleDecs, 18, "setRequestEquipSenderRole"]], []).e, 18);
|
|
1569
1518
|
_init__mainList = _applyDecs$e[0];
|
|
1570
1519
|
_init__participantsWindowActive = _applyDecs$e[1];
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
_initProto = _applyDecs$e[18];
|
|
1520
|
+
_init_enableParticipantsJoinWithMute = _applyDecs$e[2];
|
|
1521
|
+
_init_searchText = _applyDecs$e[3];
|
|
1522
|
+
_init_currentModal = _applyDecs$e[4];
|
|
1523
|
+
_init_localUserRole = _applyDecs$e[5];
|
|
1524
|
+
_init_spotlightUserId = _applyDecs$e[6];
|
|
1525
|
+
_init_enableSpotlight = _applyDecs$e[7];
|
|
1526
|
+
_init_mergeConfirmDialog = _applyDecs$e[8];
|
|
1527
|
+
_init_mergeUserId = _applyDecs$e[9];
|
|
1528
|
+
_init_activeTab = _applyDecs$e[10];
|
|
1529
|
+
_init_isNewWaitingRoomUserEnter = _applyDecs$e[11];
|
|
1530
|
+
_init_waitingRoomUserCount = _applyDecs$e[12];
|
|
1531
|
+
_init_participantCount = _applyDecs$e[13];
|
|
1532
|
+
_init_requestEquipPopupShow = _applyDecs$e[14];
|
|
1533
|
+
_init_requestEquipType = _applyDecs$e[15];
|
|
1534
|
+
_init_requestEquipSenderRole = _applyDecs$e[16];
|
|
1535
|
+
_initProto = _applyDecs$e[17];
|
|
1588
1536
|
(0, _defineProperty2["default"])(FcrParticipantStore, _ref, 2);
|
|
@@ -14,7 +14,6 @@ require("core-js/modules/es.number.constructor.js");
|
|
|
14
14
|
require("core-js/modules/es.object.create.js");
|
|
15
15
|
require("core-js/modules/es.object.define-property.js");
|
|
16
16
|
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
17
|
-
require("core-js/modules/esnext.async-iterator.every.js");
|
|
18
17
|
require("core-js/modules/esnext.function.metadata.js");
|
|
19
18
|
require("core-js/modules/esnext.iterator.every.js");
|
|
20
19
|
require("core-js/modules/esnext.map.delete-all.js");
|
|
@@ -52,9 +51,6 @@ require("core-js/modules/es.object.to-string.js");
|
|
|
52
51
|
require("core-js/modules/es.string.includes.js");
|
|
53
52
|
require("core-js/modules/es.string.iterator.js");
|
|
54
53
|
require("core-js/modules/es.weak-map.js");
|
|
55
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
56
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
57
|
-
require("core-js/modules/esnext.async-iterator.some.js");
|
|
58
54
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
59
55
|
require("core-js/modules/esnext.iterator.find.js");
|
|
60
56
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
@@ -51,10 +51,6 @@ require("core-js/modules/es.object.keys.js");
|
|
|
51
51
|
require("core-js/modules/es.object.to-string.js");
|
|
52
52
|
require("core-js/modules/es.string.iterator.js");
|
|
53
53
|
require("core-js/modules/es.weak-map.js");
|
|
54
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
55
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
56
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
57
|
-
require("core-js/modules/esnext.async-iterator.reduce.js");
|
|
58
54
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
59
55
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
60
56
|
require("core-js/modules/esnext.iterator.find.js");
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { FcrRoomSchedule } from 'fcr-core/lib/type';
|
|
2
1
|
declare enum MeetingStatus {
|
|
3
2
|
NORMAL = "normal",
|
|
4
3
|
SOON_TO_END = "soon2end",
|
|
5
4
|
OVERTIME = "overtime"
|
|
6
5
|
}
|
|
7
|
-
export declare const useMeetingTime: (
|
|
6
|
+
export declare const useMeetingTime: ({ duration, enterTime, }: {
|
|
7
|
+
duration: number | undefined;
|
|
8
|
+
enterTime: string | null;
|
|
9
|
+
}) => {
|
|
8
10
|
totalHourText: string;
|
|
9
11
|
totalMinuteText: string;
|
|
10
12
|
status: MeetingStatus;
|