@webex/plugin-meetings 3.0.0-beta.15 → 3.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/browser-detection.js +1 -21
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.js +5 -20
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.js +0 -7
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.js +0 -21
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.js +0 -21
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-meeting.js +0 -21
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/media.js +0 -21
- package/dist/common/errors/media.js.map +1 -1
- package/dist/common/errors/parameter.js +0 -28
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.js +0 -21
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.js +0 -21
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reconnection-in-progress.js +0 -17
- package/dist/common/errors/reconnection-in-progress.js.map +1 -1
- package/dist/common/errors/reconnection.js +0 -21
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.js +0 -21
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.js +6 -41
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.js +1 -24
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.js +0 -22
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.js +0 -23
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.js +0 -12
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.js +0 -15
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.js +0 -4
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.js +1 -8
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.js +35 -61
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.js +4 -14
- package/dist/common/queue.js.map +1 -1
- package/dist/config.js +1 -5
- package/dist/config.js.map +1 -1
- package/dist/constants.js +45 -40
- package/dist/constants.js.map +1 -1
- package/dist/index.js +1 -17
- package/dist/index.js.map +1 -1
- package/dist/locus-info/controlsUtils.js +10 -28
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.js +3 -26
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.js +0 -15
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.js +4 -12
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.js +90 -185
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +0 -38
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.js +12 -38
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.js +88 -125
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js +15 -81
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +43 -97
- package/dist/media/index.js.map +1 -1
- package/dist/media/internal-media-core-wrapper.js +0 -4
- package/dist/media/internal-media-core-wrapper.js.map +1 -1
- package/dist/media/properties.js +64 -110
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.js +1 -8
- package/dist/media/util.js.map +1 -1
- package/dist/mediaQualityMetrics/config.js +10 -12
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/effectsState.js +119 -191
- package/dist/meeting/effectsState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +0 -13
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +729 -1504
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/muteState.js +30 -77
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +160 -230
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js +0 -1
- package/dist/meeting/state.js +16 -26
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/util.js +19 -158
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/collection.js +3 -25
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.js +8 -31
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +131 -220
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.js +1 -16
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.js +98 -183
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.js +137 -228
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.js +3 -21
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.js +202 -335
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/request.js +5 -28
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.js +85 -141
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +18 -58
- package/dist/member/index.js.map +1 -1
- package/dist/member/util.js +17 -68
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.js +2 -12
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.js +29 -151
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +21 -56
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +9 -38
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/config.js +0 -2
- package/dist/metrics/config.js.map +1 -1
- package/dist/metrics/constants.js +1 -2
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.js +30 -121
- package/dist/metrics/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +12 -28
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/multistreamMedia.js +11 -22
- package/dist/multistream/multistreamMedia.js.map +1 -1
- package/dist/multistream/receiveSlot.js +7 -47
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +37 -78
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +11 -56
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +6 -40
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +221 -380
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/networkQualityMonitor/index.js +20 -49
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/personal-meeting-room/index.js +3 -38
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.js +2 -33
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.js +0 -13
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/reachability/index.js +100 -166
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.js +2 -18
- package/dist/reachability/request.js.map +1 -1
- package/dist/reactions/reactions.js +0 -2
- package/dist/reactions/reactions.js.map +1 -1
- package/dist/reactions/reactions.type.js +0 -6
- package/dist/reactions/reactions.type.js.map +1 -1
- package/dist/reconnection-manager/index.js +290 -455
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/roap/index.js +13 -48
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.js +13 -55
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/turnDiscovery.js +10 -52
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/statsAnalyzer/global.js +0 -2
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.js +66 -174
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.js +54 -53
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.js +9 -44
- package/dist/transcription/index.js.map +1 -1
- package/package.json +18 -18
- package/test/integration/spec/journey.js +1 -1
- package/test/integration/spec/space-meeting.js +1 -1
- package/test/integration/spec/transcription.js +1 -1
package/dist/locus-info/index.js
CHANGED
|
@@ -1,65 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
4
|
-
|
|
5
4
|
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
6
|
-
|
|
7
5
|
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
8
|
-
|
|
9
6
|
_Object$defineProperty(exports, "__esModule", {
|
|
10
7
|
value: true
|
|
11
8
|
});
|
|
12
|
-
|
|
13
9
|
exports.default = void 0;
|
|
14
|
-
|
|
15
10
|
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
|
|
16
|
-
|
|
17
11
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
|
|
18
|
-
|
|
19
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
|
|
20
|
-
|
|
21
13
|
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/assertThisInitialized"));
|
|
22
|
-
|
|
23
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
|
|
24
|
-
|
|
25
15
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
|
|
26
|
-
|
|
27
16
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
|
|
28
|
-
|
|
29
17
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
|
|
30
|
-
|
|
31
18
|
var _isEqual2 = _interopRequireDefault(require("lodash/isEqual"));
|
|
32
|
-
|
|
33
19
|
var _loggerProxy = _interopRequireDefault(require("../common/logs/logger-proxy"));
|
|
34
|
-
|
|
35
20
|
var _eventsScope = _interopRequireDefault(require("../common/events/events-scope"));
|
|
36
|
-
|
|
37
21
|
var _constants = require("../constants");
|
|
38
|
-
|
|
39
22
|
var _metrics = _interopRequireDefault(require("../metrics"));
|
|
40
|
-
|
|
41
23
|
var _config = require("../metrics/config");
|
|
42
|
-
|
|
43
24
|
var _infoUtils = _interopRequireDefault(require("./infoUtils"));
|
|
44
|
-
|
|
45
25
|
var _fullState = _interopRequireDefault(require("./fullState"));
|
|
46
|
-
|
|
47
26
|
var _selfUtils = _interopRequireDefault(require("./selfUtils"));
|
|
48
|
-
|
|
49
27
|
var _hostUtils = _interopRequireDefault(require("./hostUtils"));
|
|
50
|
-
|
|
51
28
|
var _controlsUtils = _interopRequireDefault(require("./controlsUtils"));
|
|
52
|
-
|
|
53
29
|
var _embeddedAppsUtils = _interopRequireDefault(require("./embeddedAppsUtils"));
|
|
54
|
-
|
|
55
30
|
var _mediaSharesUtils = _interopRequireDefault(require("./mediaSharesUtils"));
|
|
56
|
-
|
|
57
31
|
var _parser = _interopRequireDefault(require("./parser"));
|
|
58
|
-
|
|
59
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
60
|
-
|
|
61
33
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
62
|
-
|
|
63
34
|
/**
|
|
64
35
|
* @description LocusInfo extends ChildEmitter to convert locusInfo info a private emitter to parent object
|
|
65
36
|
* @export
|
|
@@ -68,12 +39,9 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_R
|
|
|
68
39
|
*/
|
|
69
40
|
var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
70
41
|
(0, _inherits2.default)(LocusInfo, _EventsScope);
|
|
71
|
-
|
|
72
42
|
var _super = _createSuper(LocusInfo);
|
|
73
|
-
|
|
74
43
|
function LocusInfo(updateMeeting, webex, meetingId) {
|
|
75
44
|
var _this;
|
|
76
|
-
|
|
77
45
|
(0, _classCallCheck2.default)(this, LocusInfo);
|
|
78
46
|
_this = _super.call(this);
|
|
79
47
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "compareAndUpdateFlags", void 0);
|
|
@@ -114,6 +82,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
114
82
|
_this.locusParser = new _parser.default();
|
|
115
83
|
return _this;
|
|
116
84
|
}
|
|
85
|
+
|
|
117
86
|
/**
|
|
118
87
|
* Apply locus delta data to meeting
|
|
119
88
|
* @param {string} action Locus delta action
|
|
@@ -121,45 +90,38 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
121
90
|
* @param {Meeting} meeting
|
|
122
91
|
* @returns {undefined}
|
|
123
92
|
*/
|
|
124
|
-
|
|
125
|
-
|
|
126
93
|
(0, _createClass2.default)(LocusInfo, [{
|
|
127
94
|
key: "applyLocusDeltaData",
|
|
128
95
|
value: function applyLocusDeltaData(action, locus, meeting) {
|
|
129
96
|
var _this2 = this;
|
|
130
|
-
|
|
131
97
|
var _LocusDeltaParser$loc = _parser.default.loci,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
98
|
+
DESYNC = _LocusDeltaParser$loc.DESYNC,
|
|
99
|
+
USE_CURRENT = _LocusDeltaParser$loc.USE_CURRENT,
|
|
100
|
+
USE_INCOMING = _LocusDeltaParser$loc.USE_INCOMING;
|
|
136
101
|
switch (action) {
|
|
137
102
|
case USE_INCOMING:
|
|
138
103
|
meeting.locusInfo.onDeltaLocus(locus);
|
|
139
104
|
break;
|
|
140
|
-
|
|
141
105
|
case USE_CURRENT:
|
|
142
106
|
meeting.locusDesync = false;
|
|
143
107
|
meeting.needToGetFullLocus = false;
|
|
144
108
|
break;
|
|
145
|
-
|
|
146
109
|
case DESYNC:
|
|
147
110
|
meeting.meetingRequest.getFullLocus({
|
|
148
111
|
desync: true,
|
|
149
112
|
locusUrl: meeting.locusUrl
|
|
150
113
|
}).then(function (res) {
|
|
151
|
-
meeting.locusInfo.onFullLocus(res.body);
|
|
114
|
+
meeting.locusInfo.onFullLocus(res.body);
|
|
115
|
+
// Notify parser to resume processing delta events
|
|
152
116
|
// now that we have full locus from DESYNC.
|
|
153
|
-
|
|
154
117
|
_this2.locusParser.resume();
|
|
155
118
|
});
|
|
156
119
|
break;
|
|
157
|
-
|
|
158
120
|
default:
|
|
159
121
|
_loggerProxy.default.logger.info("Locus-info:index#applyLocusDeltaData --> Unknown locus delta action: ".concat(action));
|
|
160
|
-
|
|
161
122
|
}
|
|
162
123
|
}
|
|
124
|
+
|
|
163
125
|
/**
|
|
164
126
|
* Adds locus delta to parser's queue
|
|
165
127
|
* and registers a function handler
|
|
@@ -168,12 +130,10 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
168
130
|
* @param {Meeting} meeting
|
|
169
131
|
* @returns {undefined}
|
|
170
132
|
*/
|
|
171
|
-
|
|
172
133
|
}, {
|
|
173
134
|
key: "handleLocusDelta",
|
|
174
135
|
value: function handleLocusDelta(locus, meeting) {
|
|
175
136
|
var _this3 = this;
|
|
176
|
-
|
|
177
137
|
// register a function to process delta actions
|
|
178
138
|
if (!this.locusParser.onDeltaAction) {
|
|
179
139
|
// delta action, along with associated loci
|
|
@@ -181,17 +141,16 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
181
141
|
this.locusParser.onDeltaAction = function (action, parsedLoci) {
|
|
182
142
|
_this3.applyLocusDeltaData(action, parsedLoci, meeting);
|
|
183
143
|
};
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
|
|
144
|
+
}
|
|
145
|
+
// queue delta event with parser
|
|
187
146
|
this.locusParser.onDeltaEvent(locus);
|
|
188
147
|
}
|
|
148
|
+
|
|
189
149
|
/**
|
|
190
150
|
* @param {Locus} locus
|
|
191
151
|
* @returns {undefined}
|
|
192
152
|
* @memberof LocusInfo
|
|
193
153
|
*/
|
|
194
|
-
|
|
195
154
|
}, {
|
|
196
155
|
key: "init",
|
|
197
156
|
value: function init() {
|
|
@@ -206,6 +165,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
206
165
|
this.membership = locus.membership || null;
|
|
207
166
|
this.identities = locus.identities || null;
|
|
208
167
|
this.participants = locus.participants || null;
|
|
168
|
+
|
|
209
169
|
/**
|
|
210
170
|
* Stores the delta values for a changed participant.
|
|
211
171
|
*
|
|
@@ -223,51 +183,50 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
223
183
|
* @private
|
|
224
184
|
* @member LocusInfo
|
|
225
185
|
*/
|
|
186
|
+
this.deltaParticipants = [];
|
|
226
187
|
|
|
227
|
-
|
|
188
|
+
// above section only updates the locusInfo object
|
|
228
189
|
// The below section makes sure it updates the locusInfo as well as updates the meeting object
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
190
|
+
this.updateParticipants(locus.participants);
|
|
191
|
+
// For 1:1 space meeting the conversation Url does not exist in locus.conversation
|
|
232
192
|
this.updateConversationUrl(locus.conversationUrl, locus.info);
|
|
233
193
|
this.updateControls(locus.controls);
|
|
234
194
|
this.updateLocusUrl(locus.url);
|
|
235
195
|
this.updateFullState(locus.fullState);
|
|
236
196
|
this.updateMeetingInfo(locus.info);
|
|
237
|
-
this.updateEmbeddedApps(locus.embeddedApps);
|
|
238
|
-
|
|
197
|
+
this.updateEmbeddedApps(locus.embeddedApps);
|
|
198
|
+
// self and participants generate sipUrl for 1:1 meeting
|
|
239
199
|
this.updateSelf(locus.self, locus.participants);
|
|
240
200
|
this.updateHostInfo(locus.host);
|
|
241
201
|
this.updateMediaShares(locus.mediaShares);
|
|
242
202
|
}
|
|
203
|
+
|
|
243
204
|
/**
|
|
244
205
|
* @param {Object} locus
|
|
245
206
|
* @returns {undefined}
|
|
246
207
|
* @memberof LocusInfo
|
|
247
208
|
*/
|
|
248
|
-
|
|
249
209
|
}, {
|
|
250
210
|
key: "initialSetup",
|
|
251
211
|
value: function initialSetup(locus) {
|
|
252
|
-
this.onFullLocus(locus);
|
|
212
|
+
this.onFullLocus(locus);
|
|
253
213
|
|
|
214
|
+
// Change it to true after it receives it first locus object
|
|
254
215
|
this.emitChange = true;
|
|
255
216
|
}
|
|
217
|
+
|
|
256
218
|
/**
|
|
257
219
|
* @param {Meeting} meeting
|
|
258
220
|
* @param {Object} data
|
|
259
221
|
* @returns {undefined}
|
|
260
222
|
* @memberof LocusInfo
|
|
261
223
|
*/
|
|
262
|
-
|
|
263
224
|
}, {
|
|
264
225
|
key: "parse",
|
|
265
226
|
value: function parse(meeting, data) {
|
|
266
227
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
267
228
|
var eventType = data.eventType;
|
|
268
|
-
|
|
269
229
|
_loggerProxy.default.logger.info("Locus-info:index#parse --> received locus data: ".concat(eventType));
|
|
270
|
-
|
|
271
230
|
switch (eventType) {
|
|
272
231
|
case _constants.LOCUSEVENT.PARTICIPANT_JOIN:
|
|
273
232
|
case _constants.LOCUSEVENT.PARTICIPANT_LEFT:
|
|
@@ -285,17 +244,16 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
285
244
|
case _constants.LOCUSEVENT.FLOOR_RELEASED:
|
|
286
245
|
this.onFullLocus(data.locus, eventType);
|
|
287
246
|
break;
|
|
288
|
-
|
|
289
247
|
case _constants.LOCUSEVENT.DIFFERENCE:
|
|
290
248
|
this.handleLocusDelta(data.locus, meeting);
|
|
291
249
|
break;
|
|
292
|
-
|
|
293
250
|
default:
|
|
294
251
|
// Why will there be a event with no eventType ????
|
|
295
252
|
// we may not need this, we can get full locus
|
|
296
253
|
this.handleLocusDelta(data.locus, meeting);
|
|
297
254
|
}
|
|
298
255
|
}
|
|
256
|
+
|
|
299
257
|
/**
|
|
300
258
|
* @param {String} scope
|
|
301
259
|
* @param {String} eventName
|
|
@@ -303,12 +261,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
303
261
|
* @returns {undefined}
|
|
304
262
|
* @memberof LocusInfo
|
|
305
263
|
*/
|
|
306
|
-
|
|
307
264
|
}, {
|
|
308
265
|
key: "emitScoped",
|
|
309
266
|
value: function emitScoped(scope, eventName, args) {
|
|
310
267
|
return this.emit(scope, eventName, args);
|
|
311
268
|
}
|
|
269
|
+
|
|
312
270
|
/**
|
|
313
271
|
* updates the locus with full locus object
|
|
314
272
|
* @param {object} locus locus object
|
|
@@ -317,14 +275,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
317
275
|
* @memberof LocusInfo
|
|
318
276
|
*/
|
|
319
277
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
320
|
-
|
|
321
278
|
}, {
|
|
322
279
|
key: "onFullLocus",
|
|
323
280
|
value: function onFullLocus(locus, eventType) {
|
|
324
281
|
if (!locus) {
|
|
325
282
|
_loggerProxy.default.logger.error('Locus-info:index#onFullLocus --> object passed as argument was invalid, continuing.');
|
|
326
283
|
}
|
|
327
|
-
|
|
328
284
|
this.updateParticipantDeltas(locus.participants);
|
|
329
285
|
this.scheduledMeeting = locus.meeting || null;
|
|
330
286
|
this.participants = locus.participants;
|
|
@@ -332,18 +288,18 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
332
288
|
this.updateParticipants(locus.participants);
|
|
333
289
|
this.isMeetingActive();
|
|
334
290
|
this.handleOneOnOneEvent(eventType);
|
|
335
|
-
this.updateEmbeddedApps(locus.embeddedApps);
|
|
336
|
-
|
|
291
|
+
this.updateEmbeddedApps(locus.embeddedApps);
|
|
292
|
+
// set current (working copy) for parser
|
|
337
293
|
this.locusParser.workingCopy = locus;
|
|
338
|
-
}
|
|
294
|
+
}
|
|
339
295
|
|
|
296
|
+
// used for ringing stops on one on one
|
|
340
297
|
/**
|
|
341
298
|
* @param {String} eventType
|
|
342
299
|
* @returns {undefined}
|
|
343
300
|
* @memberof LocusInfo
|
|
344
301
|
*/
|
|
345
302
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
346
|
-
|
|
347
303
|
}, {
|
|
348
304
|
key: "handleOneOnOneEvent",
|
|
349
305
|
value: function handleOneOnOneEvent(eventType) {
|
|
@@ -358,9 +314,8 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
358
314
|
remoteDeclined: true,
|
|
359
315
|
remoteAnswered: false
|
|
360
316
|
});
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
|
|
317
|
+
}
|
|
318
|
+
// for 1:1 bob calls alice and alice answers, notify the meeting state
|
|
364
319
|
if (eventType === _constants.LOCUSEVENT.PARTICIPANT_JOIN) {
|
|
365
320
|
// trigger the event for stop ringing
|
|
366
321
|
this.emitScoped({
|
|
@@ -373,12 +328,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
373
328
|
}
|
|
374
329
|
}
|
|
375
330
|
}
|
|
331
|
+
|
|
376
332
|
/**
|
|
377
333
|
* @param {Object} locus
|
|
378
334
|
* @returns {undefined}
|
|
379
335
|
* @memberof LocusInfo
|
|
380
336
|
*/
|
|
381
|
-
|
|
382
337
|
}, {
|
|
383
338
|
key: "onDeltaLocus",
|
|
384
339
|
value: function onDeltaLocus(locus) {
|
|
@@ -386,12 +341,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
386
341
|
this.updateParticipants(locus.participants);
|
|
387
342
|
this.isMeetingActive();
|
|
388
343
|
}
|
|
344
|
+
|
|
389
345
|
/**
|
|
390
346
|
* @param {Object} locus
|
|
391
347
|
* @returns {undefined}
|
|
392
348
|
* @memberof LocusInfo
|
|
393
349
|
*/
|
|
394
|
-
|
|
395
350
|
}, {
|
|
396
351
|
key: "updateLocusInfo",
|
|
397
352
|
value: function updateLocusInfo(locus) {
|
|
@@ -412,33 +367,34 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
412
367
|
this.updateMemberShip(locus.membership);
|
|
413
368
|
this.updateIdentifiers(locus.identities);
|
|
414
369
|
this.updateEmbeddedApps(locus.embeddedApps);
|
|
415
|
-
this.compareAndUpdate();
|
|
370
|
+
this.compareAndUpdate();
|
|
371
|
+
// update which required to compare different objects from locus
|
|
416
372
|
}
|
|
373
|
+
|
|
417
374
|
/**
|
|
418
375
|
* @param {Array} participants
|
|
419
376
|
* @param {Object} self
|
|
420
377
|
* @returns {Array}
|
|
421
378
|
* @memberof LocusInfo
|
|
422
379
|
*/
|
|
423
|
-
|
|
424
380
|
}, {
|
|
425
381
|
key: "getLocusPartner",
|
|
426
382
|
value: function getLocusPartner(participants, self) {
|
|
427
383
|
if (!participants || participants.length === 0) {
|
|
428
384
|
return null;
|
|
429
385
|
}
|
|
430
|
-
|
|
431
386
|
return participants.find(function (participant) {
|
|
432
387
|
return self && participant.identity !== self.identity && (participants.length <= 2 || participant.type === _constants._USER_ && !participant.removed);
|
|
433
|
-
}
|
|
388
|
+
}
|
|
389
|
+
// @ts-ignore
|
|
434
390
|
) || this.partner;
|
|
435
|
-
}
|
|
391
|
+
}
|
|
436
392
|
|
|
393
|
+
// TODO: all the leave states need to be checked
|
|
437
394
|
/**
|
|
438
395
|
* @returns {undefined}
|
|
439
396
|
* @memberof LocusInfo
|
|
440
397
|
*/
|
|
441
|
-
|
|
442
398
|
}, {
|
|
443
399
|
key: "isMeetingActive",
|
|
444
400
|
value: function isMeetingActive() {
|
|
@@ -447,20 +403,22 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
447
403
|
var partner = this.getLocusPartner(this.participants, this.self);
|
|
448
404
|
this.updateMeeting({
|
|
449
405
|
partner: partner
|
|
450
|
-
});
|
|
406
|
+
});
|
|
407
|
+
|
|
408
|
+
// Check if guest user needs to be checked here
|
|
409
|
+
|
|
451
410
|
// 1) when bob declines call from bob, (bob='DECLINED')
|
|
452
411
|
// 2) When alice rejects call to bob , (bob='NOTIFIED')
|
|
412
|
+
|
|
453
413
|
// When we dont add MEDIA for condition 2. The state of bob='IDLE'
|
|
454
414
|
|
|
455
415
|
if (this.fullState && this.fullState.state === _constants.LOCUS.STATE.INACTIVE) {
|
|
456
416
|
// TODO: update the meeting state
|
|
457
417
|
_loggerProxy.default.logger.warn('Locus-info:index#isMeetingActive --> Call Ended, locus state is inactive.');
|
|
458
|
-
|
|
459
418
|
_metrics.default.postEvent({
|
|
460
419
|
event: _config.eventType.REMOTE_ENDED,
|
|
461
420
|
meetingId: this.meetingId
|
|
462
421
|
});
|
|
463
|
-
|
|
464
422
|
this.emitScoped({
|
|
465
423
|
file: 'locus-info',
|
|
466
424
|
function: 'isMeetingActive'
|
|
@@ -473,7 +431,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
473
431
|
event: _config.eventType.REMOTE_ENDED,
|
|
474
432
|
meetingId: this.meetingId
|
|
475
433
|
});
|
|
476
|
-
|
|
477
434
|
this.emitScoped({
|
|
478
435
|
file: 'locus-info',
|
|
479
436
|
function: 'isMeetingActive'
|
|
@@ -487,7 +444,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
487
444
|
event: _config.eventType.REMOTE_ENDED,
|
|
488
445
|
meetingId: this.meetingId
|
|
489
446
|
});
|
|
490
|
-
|
|
491
447
|
this.emitScoped({
|
|
492
448
|
file: 'locus-info',
|
|
493
449
|
function: 'isMeetingActive'
|
|
@@ -497,15 +453,14 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
497
453
|
});
|
|
498
454
|
}
|
|
499
455
|
} else if (this.parsedLocus.fullState.type === _constants._MEETING_) {
|
|
500
|
-
if (this.fullState && (this.fullState.state === _constants.LOCUS.STATE.INACTIVE ||
|
|
456
|
+
if (this.fullState && (this.fullState.state === _constants.LOCUS.STATE.INACTIVE ||
|
|
457
|
+
// @ts-ignore
|
|
501
458
|
this.fullState.state === _constants.LOCUS.STATE.TERMINATING)) {
|
|
502
459
|
_loggerProxy.default.logger.warn('Locus-info:index#isMeetingActive --> Meeting is ending due to inactive or terminating');
|
|
503
|
-
|
|
504
460
|
_metrics.default.postEvent({
|
|
505
461
|
event: _config.eventType.REMOTE_ENDED,
|
|
506
462
|
meetingId: this.meetingId
|
|
507
463
|
});
|
|
508
|
-
|
|
509
464
|
this.emitScoped({
|
|
510
465
|
file: 'locus-info',
|
|
511
466
|
function: 'isMeetingActive'
|
|
@@ -519,7 +474,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
519
474
|
event: _config.eventType.REMOTE_ENDED,
|
|
520
475
|
meetingId: this.meetingId
|
|
521
476
|
});
|
|
522
|
-
|
|
523
477
|
this.emitScoped({
|
|
524
478
|
file: 'locus-info',
|
|
525
479
|
function: 'isMeetingActive'
|
|
@@ -527,7 +481,8 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
527
481
|
reason: _constants.MEETING_REMOVED_REASON.FULLSTATE_REMOVED,
|
|
528
482
|
shouldLeave: false
|
|
529
483
|
});
|
|
530
|
-
}
|
|
484
|
+
}
|
|
485
|
+
// If you are guest and you are removed from the meeting
|
|
531
486
|
// You wont get any further events
|
|
532
487
|
else if (this.parsedLocus.self && this.parsedLocus.self.removed) {
|
|
533
488
|
// Check if we need to send an event
|
|
@@ -543,13 +498,13 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
543
498
|
_loggerProxy.default.logger.warn('Locus-info:index#isMeetingActive --> Meeting Type is unknown.');
|
|
544
499
|
}
|
|
545
500
|
}
|
|
501
|
+
|
|
546
502
|
/**
|
|
547
503
|
* checks if the host permissions have changed while in the meeting
|
|
548
504
|
* This would be the case if your role as host or moderator has been updated
|
|
549
505
|
* @returns {undefined}
|
|
550
506
|
* @memberof LocusInfo
|
|
551
507
|
*/
|
|
552
|
-
|
|
553
508
|
}, {
|
|
554
509
|
key: "compareAndUpdate",
|
|
555
510
|
value: function compareAndUpdate() {
|
|
@@ -559,17 +514,16 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
559
514
|
this.compareSelfAndHost();
|
|
560
515
|
}
|
|
561
516
|
}
|
|
517
|
+
|
|
562
518
|
/**
|
|
563
519
|
* compared the self object to check if the user has host permissions
|
|
564
520
|
* @returns {undefined}
|
|
565
521
|
* @memberof LocusInfo
|
|
566
522
|
*/
|
|
567
|
-
|
|
568
523
|
}, {
|
|
569
524
|
key: "compareSelfAndHost",
|
|
570
525
|
value: function compareSelfAndHost() {
|
|
571
526
|
var _this$parsedLocus$hos;
|
|
572
|
-
|
|
573
527
|
// In some cases the host info is not present but the moderator values changes from null to false so it triggers an update
|
|
574
528
|
if (this.parsedLocus.self.selfIdentity === ((_this$parsedLocus$hos = this.parsedLocus.host) === null || _this$parsedLocus$hos === void 0 ? void 0 : _this$parsedLocus$hos.hostId) && this.parsedLocus.self.moderator) {
|
|
575
529
|
this.emitScoped({
|
|
@@ -587,6 +541,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
587
541
|
});
|
|
588
542
|
}
|
|
589
543
|
}
|
|
544
|
+
|
|
590
545
|
/**
|
|
591
546
|
* Update the deltaParticipants property of this object based on a list of
|
|
592
547
|
* provided participants.
|
|
@@ -594,22 +549,19 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
594
549
|
* @param {Array} [participants] - The participants to update against.
|
|
595
550
|
* @returns {void}
|
|
596
551
|
*/
|
|
597
|
-
|
|
598
552
|
}, {
|
|
599
553
|
key: "updateParticipantDeltas",
|
|
600
554
|
value: function updateParticipantDeltas() {
|
|
601
555
|
var _this4 = this;
|
|
602
|
-
|
|
603
556
|
var participants = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
604
|
-
|
|
605
557
|
// Used to find a participant within a participants collection.
|
|
606
558
|
var findParticipant = function findParticipant(participant, collection) {
|
|
607
559
|
return collection.find(function (item) {
|
|
608
560
|
return item.person.id === participant.person.id;
|
|
609
561
|
});
|
|
610
|
-
};
|
|
611
|
-
|
|
562
|
+
};
|
|
612
563
|
|
|
564
|
+
// Generates an object that indicates which state properties have changed.
|
|
613
565
|
var generateDelta = function generateDelta() {
|
|
614
566
|
var prevState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
615
567
|
var newState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -618,8 +570,9 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
618
570
|
audioStatus: prevState.audioStatus !== newState.audioStatus,
|
|
619
571
|
videoSlidesStatus: prevState.videoSlidesStatus !== newState.videoSlidesStatus,
|
|
620
572
|
videoStatus: prevState.videoStatus !== newState.videoStatus
|
|
621
|
-
};
|
|
573
|
+
};
|
|
622
574
|
|
|
575
|
+
// Clean the object
|
|
623
576
|
(0, _keys.default)(deltas).forEach(function (key) {
|
|
624
577
|
if (deltas[key] !== true) {
|
|
625
578
|
delete deltas[key];
|
|
@@ -627,22 +580,20 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
627
580
|
});
|
|
628
581
|
return deltas;
|
|
629
582
|
};
|
|
630
|
-
|
|
631
583
|
this.deltaParticipants = participants.reduce(function (collection, participant) {
|
|
632
584
|
var existingParticipant = findParticipant(participant, _this4.participants || []) || {};
|
|
633
585
|
var delta = generateDelta(existingParticipant.status, participant.status);
|
|
634
586
|
var changed = (0, _keys.default)(delta).length > 0;
|
|
635
|
-
|
|
636
587
|
if (changed) {
|
|
637
588
|
collection.push({
|
|
638
589
|
person: participant.person,
|
|
639
590
|
delta: delta
|
|
640
591
|
});
|
|
641
592
|
}
|
|
642
|
-
|
|
643
593
|
return collection;
|
|
644
594
|
}, []);
|
|
645
595
|
}
|
|
596
|
+
|
|
646
597
|
/**
|
|
647
598
|
*
|
|
648
599
|
* @param {Object} participants new participants object
|
|
@@ -650,12 +601,10 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
650
601
|
* @returns {Array} updatedParticipants
|
|
651
602
|
* @memberof LocusInfo
|
|
652
603
|
*/
|
|
653
|
-
|
|
654
604
|
}, {
|
|
655
605
|
key: "updateParticipants",
|
|
656
606
|
value: function updateParticipants(participants) {
|
|
657
607
|
var _this$parsedLocus$con;
|
|
658
|
-
|
|
659
608
|
this.emitScoped({
|
|
660
609
|
file: 'locus-info',
|
|
661
610
|
function: 'updateParticipants'
|
|
@@ -667,30 +616,27 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
667
616
|
hostId: this.parsedLocus.host && this.parsedLocus.host.hostId
|
|
668
617
|
});
|
|
669
618
|
}
|
|
619
|
+
|
|
670
620
|
/**
|
|
671
621
|
* @param {Object} controls
|
|
672
622
|
* @returns {undefined}
|
|
673
623
|
* @memberof LocusInfo
|
|
674
624
|
*/
|
|
675
|
-
|
|
676
625
|
}, {
|
|
677
626
|
key: "updateControls",
|
|
678
627
|
value: function updateControls(controls) {
|
|
679
628
|
if (controls && !(0, _isEqual2.default)(this.controls, controls)) {
|
|
680
629
|
this.parsedLocus.controls = _controlsUtils.default.parse(controls);
|
|
681
|
-
|
|
682
630
|
var _ControlsUtils$getCon = _controlsUtils.default.getControls(this.controls, controls),
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
631
|
+
_ControlsUtils$getCon2 = _ControlsUtils$getCon.updates,
|
|
632
|
+
hasRecordingChanged = _ControlsUtils$getCon2.hasRecordingChanged,
|
|
633
|
+
hasRecordingPausedChanged = _ControlsUtils$getCon2.hasRecordingPausedChanged,
|
|
634
|
+
hasMeetingContainerChanged = _ControlsUtils$getCon2.hasMeetingContainerChanged,
|
|
635
|
+
hasTranscribeChanged = _ControlsUtils$getCon2.hasTranscribeChanged,
|
|
636
|
+
hasEntryExitToneChanged = _ControlsUtils$getCon2.hasEntryExitToneChanged,
|
|
637
|
+
current = _ControlsUtils$getCon.current;
|
|
691
638
|
if (hasRecordingChanged || hasRecordingPausedChanged) {
|
|
692
639
|
var state = null;
|
|
693
|
-
|
|
694
640
|
if (hasRecordingPausedChanged) {
|
|
695
641
|
if (current.record.paused) {
|
|
696
642
|
state = _constants.RECORDING_STATE.PAUSED;
|
|
@@ -701,7 +647,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
701
647
|
} else if (hasRecordingChanged) {
|
|
702
648
|
state = current.record.recording ? _constants.RECORDING_STATE.RECORDING : _constants.RECORDING_STATE.IDLE;
|
|
703
649
|
}
|
|
704
|
-
|
|
705
650
|
this.emitScoped({
|
|
706
651
|
file: 'locus-info',
|
|
707
652
|
function: 'updateControls'
|
|
@@ -711,7 +656,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
711
656
|
lastModified: current.record.lastModified
|
|
712
657
|
});
|
|
713
658
|
}
|
|
714
|
-
|
|
715
659
|
if (hasMeetingContainerChanged) {
|
|
716
660
|
var meetingContainerUrl = current.meetingContainer.meetingContainerUrl;
|
|
717
661
|
this.emitScoped({
|
|
@@ -721,11 +665,10 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
721
665
|
meetingContainerUrl: meetingContainerUrl
|
|
722
666
|
});
|
|
723
667
|
}
|
|
724
|
-
|
|
725
668
|
if (hasTranscribeChanged) {
|
|
726
669
|
var _current$transcribe = current.transcribe,
|
|
727
|
-
|
|
728
|
-
|
|
670
|
+
transcribing = _current$transcribe.transcribing,
|
|
671
|
+
caption = _current$transcribe.caption;
|
|
729
672
|
this.emitScoped({
|
|
730
673
|
file: 'locus-info',
|
|
731
674
|
function: 'updateControls'
|
|
@@ -734,7 +677,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
734
677
|
caption: caption
|
|
735
678
|
});
|
|
736
679
|
}
|
|
737
|
-
|
|
738
680
|
if (hasEntryExitToneChanged) {
|
|
739
681
|
var entryExitTone = current.entryExitTone;
|
|
740
682
|
this.emitScoped({
|
|
@@ -747,17 +689,16 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
747
689
|
entryExitTone: entryExitTone
|
|
748
690
|
});
|
|
749
691
|
}
|
|
750
|
-
|
|
751
692
|
this.controls = controls;
|
|
752
693
|
}
|
|
753
694
|
}
|
|
695
|
+
|
|
754
696
|
/**
|
|
755
697
|
* @param {String} conversationUrl
|
|
756
698
|
* @param {Object} info
|
|
757
699
|
* @returns {undefined}
|
|
758
700
|
* @memberof LocusInfo
|
|
759
701
|
*/
|
|
760
|
-
|
|
761
702
|
}, {
|
|
762
703
|
key: "updateConversationUrl",
|
|
763
704
|
value: function updateConversationUrl(conversationUrl, info) {
|
|
@@ -773,12 +714,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
773
714
|
});
|
|
774
715
|
}
|
|
775
716
|
}
|
|
717
|
+
|
|
776
718
|
/**
|
|
777
719
|
* @param {Object} created
|
|
778
720
|
* @returns {undefined}
|
|
779
721
|
* @memberof LocusInfo
|
|
780
722
|
*/
|
|
781
|
-
|
|
782
723
|
}, {
|
|
783
724
|
key: "updateCreated",
|
|
784
725
|
value: function updateCreated(created) {
|
|
@@ -786,20 +727,18 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
786
727
|
this.created = created;
|
|
787
728
|
}
|
|
788
729
|
}
|
|
730
|
+
|
|
789
731
|
/**
|
|
790
732
|
* @param {Object} fullState
|
|
791
733
|
* @returns {undefined}
|
|
792
734
|
* @memberof LocusInfo
|
|
793
735
|
*/
|
|
794
|
-
|
|
795
736
|
}, {
|
|
796
737
|
key: "updateFullState",
|
|
797
738
|
value: function updateFullState(fullState) {
|
|
798
739
|
if (fullState && !(0, _isEqual2.default)(this.fullState, fullState)) {
|
|
799
740
|
var result = _fullState.default.getFullState(this.fullState, fullState);
|
|
800
|
-
|
|
801
741
|
this.updateMeeting(result.current);
|
|
802
|
-
|
|
803
742
|
if (result.updates.meetingStateChangedTo) {
|
|
804
743
|
this.emitScoped({
|
|
805
744
|
file: 'locus-info',
|
|
@@ -809,7 +748,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
809
748
|
currentState: result.current.meetingState
|
|
810
749
|
});
|
|
811
750
|
}
|
|
812
|
-
|
|
813
751
|
if (result.updates.meetingTypeChangedTo) {
|
|
814
752
|
this.emitScoped({
|
|
815
753
|
file: 'locus-info',
|
|
@@ -818,11 +756,11 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
818
756
|
type: result.current.type
|
|
819
757
|
});
|
|
820
758
|
}
|
|
821
|
-
|
|
822
759
|
this.parsedLocus.fullState = result.current;
|
|
823
760
|
this.fullState = fullState;
|
|
824
761
|
}
|
|
825
762
|
}
|
|
763
|
+
|
|
826
764
|
/**
|
|
827
765
|
* handles when the locus.host is updated
|
|
828
766
|
* @param {Object} host the locus.host property
|
|
@@ -830,16 +768,13 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
830
768
|
* @memberof LocusInfo
|
|
831
769
|
* emits internal event locus_info_update_host
|
|
832
770
|
*/
|
|
833
|
-
|
|
834
771
|
}, {
|
|
835
772
|
key: "updateHostInfo",
|
|
836
773
|
value: function updateHostInfo(host) {
|
|
837
774
|
if (host && !(0, _isEqual2.default)(this.host, host)) {
|
|
838
775
|
var parsedHosts = _hostUtils.default.getHosts(this.host, host);
|
|
839
|
-
|
|
840
776
|
this.updateMeeting(parsedHosts.current);
|
|
841
777
|
this.parsedLocus.host = parsedHosts.current;
|
|
842
|
-
|
|
843
778
|
if (parsedHosts.updates.isNewHost) {
|
|
844
779
|
this.compareAndUpdateFlags.compareSelfAndHost = true;
|
|
845
780
|
this.emitScoped({
|
|
@@ -850,31 +785,26 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
850
785
|
oldHost: parsedHosts.previous
|
|
851
786
|
});
|
|
852
787
|
}
|
|
853
|
-
|
|
854
788
|
this.host = host;
|
|
855
789
|
} else {
|
|
856
790
|
this.compareAndUpdateFlags.compareSelfAndHost = false;
|
|
857
791
|
}
|
|
858
792
|
}
|
|
793
|
+
|
|
859
794
|
/**
|
|
860
795
|
* @param {Object} info
|
|
861
796
|
* @param {Object} self
|
|
862
797
|
* @returns {undefined}
|
|
863
798
|
* @memberof LocusInfo
|
|
864
799
|
*/
|
|
865
|
-
|
|
866
800
|
}, {
|
|
867
801
|
key: "updateMeetingInfo",
|
|
868
802
|
value: function updateMeetingInfo(info, self) {
|
|
869
803
|
if (info && !(0, _isEqual2.default)(this.info, info)) {
|
|
870
804
|
var _this$parsedLocus$sel;
|
|
871
|
-
|
|
872
805
|
var roles = self ? _selfUtils.default.getRoles(self) : ((_this$parsedLocus$sel = this.parsedLocus.self) === null || _this$parsedLocus$sel === void 0 ? void 0 : _this$parsedLocus$sel.roles) || [];
|
|
873
|
-
|
|
874
806
|
var isJoined = _selfUtils.default.isJoined(self || this.parsedLocus.self);
|
|
875
|
-
|
|
876
807
|
var parsedInfo = _infoUtils.default.getInfos(this.parsedLocus.info, info, roles, isJoined);
|
|
877
|
-
|
|
878
808
|
this.emitScoped({
|
|
879
809
|
file: 'locus-info',
|
|
880
810
|
function: 'updateMeetingInfo'
|
|
@@ -882,33 +812,30 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
882
812
|
info: parsedInfo.current,
|
|
883
813
|
self: self
|
|
884
814
|
});
|
|
885
|
-
|
|
886
815
|
if (parsedInfo.updates.isLocked) {
|
|
887
816
|
this.emitScoped({
|
|
888
817
|
file: 'locus-info',
|
|
889
818
|
function: 'updateMeetingInfo'
|
|
890
819
|
}, _constants.LOCUSINFO.EVENTS.MEETING_LOCKED, info);
|
|
891
820
|
}
|
|
892
|
-
|
|
893
821
|
if (parsedInfo.updates.isUnlocked) {
|
|
894
822
|
this.emitScoped({
|
|
895
823
|
file: 'locus-info',
|
|
896
824
|
function: 'updateMeetingInfo'
|
|
897
825
|
}, _constants.LOCUSINFO.EVENTS.MEETING_UNLOCKED, info);
|
|
898
826
|
}
|
|
899
|
-
|
|
900
827
|
this.info = info;
|
|
901
|
-
this.parsedLocus.info = parsedInfo.current;
|
|
902
|
-
|
|
828
|
+
this.parsedLocus.info = parsedInfo.current;
|
|
829
|
+
// Parses the info and adds necessary values
|
|
903
830
|
this.updateMeeting(parsedInfo.current);
|
|
904
831
|
}
|
|
905
832
|
}
|
|
833
|
+
|
|
906
834
|
/**
|
|
907
835
|
* @param {Object} embeddedApps
|
|
908
836
|
* @returns {undefined}
|
|
909
837
|
* @memberof LocusInfo
|
|
910
838
|
*/
|
|
911
|
-
|
|
912
839
|
}, {
|
|
913
840
|
key: "updateEmbeddedApps",
|
|
914
841
|
value: function updateEmbeddedApps(embeddedApps) {
|
|
@@ -916,9 +843,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
916
843
|
if (_embeddedAppsUtils.default.areSimilar(this.embeddedApps, embeddedApps)) {
|
|
917
844
|
return;
|
|
918
845
|
}
|
|
919
|
-
|
|
920
846
|
var parsedEmbeddedApps = _embeddedAppsUtils.default.parse(embeddedApps);
|
|
921
|
-
|
|
922
847
|
this.updateMeeting({
|
|
923
848
|
embeddedApps: parsedEmbeddedApps
|
|
924
849
|
});
|
|
@@ -928,6 +853,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
928
853
|
}, _constants.LOCUSINFO.EVENTS.EMBEDDED_APPS_UPDATED, parsedEmbeddedApps);
|
|
929
854
|
this.embeddedApps = embeddedApps;
|
|
930
855
|
}
|
|
856
|
+
|
|
931
857
|
/**
|
|
932
858
|
* handles when the locus.mediaShares is updated
|
|
933
859
|
* @param {Object} mediaShares the locus.mediaShares property
|
|
@@ -935,13 +861,11 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
935
861
|
* @memberof LocusInfo
|
|
936
862
|
* emits internal event locus_info_update_media_shares
|
|
937
863
|
*/
|
|
938
|
-
|
|
939
864
|
}, {
|
|
940
865
|
key: "updateMediaShares",
|
|
941
866
|
value: function updateMediaShares(mediaShares) {
|
|
942
867
|
if (mediaShares && !(0, _isEqual2.default)(this.mediaShares, mediaShares)) {
|
|
943
868
|
var parsedMediaShares = _mediaSharesUtils.default.getMediaShares(this.mediaShares, mediaShares);
|
|
944
|
-
|
|
945
869
|
this.updateMeeting(parsedMediaShares.current);
|
|
946
870
|
this.emitScoped({
|
|
947
871
|
file: 'locus-info',
|
|
@@ -954,12 +878,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
954
878
|
this.mediaShares = mediaShares;
|
|
955
879
|
}
|
|
956
880
|
}
|
|
881
|
+
|
|
957
882
|
/**
|
|
958
883
|
* @param {String} participantsUrl
|
|
959
884
|
* @returns {undefined}
|
|
960
885
|
* @memberof LocusInfo
|
|
961
886
|
*/
|
|
962
|
-
|
|
963
887
|
}, {
|
|
964
888
|
key: "updateParticipantsUrl",
|
|
965
889
|
value: function updateParticipantsUrl(participantsUrl) {
|
|
@@ -967,12 +891,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
967
891
|
this.participantsUrl = participantsUrl;
|
|
968
892
|
}
|
|
969
893
|
}
|
|
894
|
+
|
|
970
895
|
/**
|
|
971
896
|
* @param {Object} replace
|
|
972
897
|
* @returns {undefined}
|
|
973
898
|
* @memberof LocusInfo
|
|
974
899
|
*/
|
|
975
|
-
|
|
976
900
|
}, {
|
|
977
901
|
key: "updateReplace",
|
|
978
902
|
value: function updateReplace(replace) {
|
|
@@ -980,6 +904,7 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
980
904
|
this.replace = replace;
|
|
981
905
|
}
|
|
982
906
|
}
|
|
907
|
+
|
|
983
908
|
/**
|
|
984
909
|
* handles when the locus.self is updated
|
|
985
910
|
* @param {Object} self the locus.mediaShares property
|
|
@@ -988,7 +913,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
988
913
|
* @memberof LocusInfo
|
|
989
914
|
* emits internal events self_admitted_guest, self_unadmitted_guest, locus_info_update_self
|
|
990
915
|
*/
|
|
991
|
-
|
|
992
916
|
}, {
|
|
993
917
|
key: "updateSelf",
|
|
994
918
|
value: function updateSelf(self, participants) {
|
|
@@ -996,29 +920,24 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
996
920
|
if (self && !(0, _isEqual2.default)(this.self, self)) {
|
|
997
921
|
// @ts-ignore
|
|
998
922
|
var parsedSelves = _selfUtils.default.getSelves(this.self, self, this.webex.internal.device.url);
|
|
999
|
-
|
|
1000
923
|
this.updateMeeting(parsedSelves.current);
|
|
1001
924
|
this.parsedLocus.self = parsedSelves.current;
|
|
1002
925
|
var element = this.parsedLocus.states[this.parsedLocus.states.length - 1];
|
|
1003
|
-
|
|
1004
926
|
if (element !== parsedSelves.current.state) {
|
|
1005
927
|
this.parsedLocus.states.push(parsedSelves.current.state);
|
|
1006
|
-
}
|
|
1007
|
-
// this.emit(LOCUSINFO.EVENTS.MEETING_UPDATE, SelfUtils.getSipUrl(this.getLocusPartner(participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri));
|
|
1008
|
-
|
|
928
|
+
}
|
|
1009
929
|
|
|
930
|
+
// TODO: check if we need to save the sipUri here as well
|
|
931
|
+
// this.emit(LOCUSINFO.EVENTS.MEETING_UPDATE, SelfUtils.getSipUrl(this.getLocusPartner(participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri));
|
|
1010
932
|
var result = _selfUtils.default.getSipUrl(this.getLocusPartner(participants, self), this.parsedLocus.fullState.type, this.parsedLocus.info.sipUri);
|
|
1011
|
-
|
|
1012
933
|
if (result.sipUri) {
|
|
1013
934
|
this.updateMeeting(result);
|
|
1014
935
|
}
|
|
1015
|
-
|
|
1016
936
|
if (parsedSelves.updates.moderatorChanged) {
|
|
1017
937
|
this.compareAndUpdateFlags.compareHostAndSelf = true;
|
|
1018
938
|
} else {
|
|
1019
939
|
this.compareAndUpdateFlags.compareHostAndSelf = false;
|
|
1020
940
|
}
|
|
1021
|
-
|
|
1022
941
|
if (parsedSelves.updates.layoutChanged) {
|
|
1023
942
|
this.emitScoped({
|
|
1024
943
|
file: 'locus-info',
|
|
@@ -1027,7 +946,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1027
946
|
layout: parsedSelves.current.layout
|
|
1028
947
|
});
|
|
1029
948
|
}
|
|
1030
|
-
|
|
1031
949
|
if (parsedSelves.updates.isMediaInactiveOrReleased) {
|
|
1032
950
|
this.emitScoped({
|
|
1033
951
|
file: 'locus-info',
|
|
@@ -1036,14 +954,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1036
954
|
reason: self.reason
|
|
1037
955
|
});
|
|
1038
956
|
}
|
|
1039
|
-
|
|
1040
957
|
if (parsedSelves.updates.moderatorChanged) {
|
|
1041
958
|
this.emitScoped({
|
|
1042
959
|
file: 'locus-info',
|
|
1043
960
|
function: 'updateSelf'
|
|
1044
961
|
}, _constants.LOCUSINFO.EVENTS.SELF_MODERATOR_CHANGED, self);
|
|
1045
962
|
}
|
|
1046
|
-
|
|
1047
963
|
if (parsedSelves.updates.localAudioUnmuteRequiredByServer) {
|
|
1048
964
|
this.emitScoped({
|
|
1049
965
|
file: 'locus-info',
|
|
@@ -1053,7 +969,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1053
969
|
unmuteAllowed: parsedSelves.current.unmuteAllowed
|
|
1054
970
|
});
|
|
1055
971
|
}
|
|
1056
|
-
|
|
1057
972
|
if (parsedSelves.updates.isMutedByOthersChanged) {
|
|
1058
973
|
this.emitScoped({
|
|
1059
974
|
file: 'locus-info',
|
|
@@ -1063,39 +978,34 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1063
978
|
unmuteAllowed: parsedSelves.current.unmuteAllowed
|
|
1064
979
|
});
|
|
1065
980
|
}
|
|
1066
|
-
|
|
1067
981
|
if (parsedSelves.updates.localAudioUnmuteRequestedByServer) {
|
|
1068
982
|
this.emitScoped({
|
|
1069
983
|
file: 'locus-info',
|
|
1070
984
|
function: 'updateSelf'
|
|
1071
985
|
}, _constants.LOCUSINFO.EVENTS.LOCAL_UNMUTE_REQUESTED, {});
|
|
1072
986
|
}
|
|
1073
|
-
|
|
1074
987
|
if (parsedSelves.updates.isUserUnadmitted) {
|
|
1075
988
|
this.emitScoped({
|
|
1076
989
|
file: 'locus-info',
|
|
1077
990
|
function: 'updateSelf'
|
|
1078
991
|
}, _constants.LOCUSINFO.EVENTS.SELF_UNADMITTED_GUEST, self);
|
|
1079
992
|
}
|
|
1080
|
-
|
|
1081
993
|
if (parsedSelves.updates.isUserAdmitted) {
|
|
1082
994
|
this.emitScoped({
|
|
1083
995
|
file: 'locus-info',
|
|
1084
996
|
function: 'updateSelf'
|
|
1085
997
|
}, _constants.LOCUSINFO.EVENTS.SELF_ADMITTED_GUEST, self);
|
|
1086
998
|
}
|
|
1087
|
-
|
|
1088
999
|
if (parsedSelves.updates.isMediaInactive) {
|
|
1089
1000
|
this.emitScoped({
|
|
1090
1001
|
file: 'locus-info',
|
|
1091
1002
|
function: 'updateSelf'
|
|
1092
|
-
},
|
|
1003
|
+
},
|
|
1004
|
+
// @ts-ignore
|
|
1093
1005
|
_constants.LOCUSINFO.EVENTS.MEDIA_INACTIVITY, _selfUtils.default.getMediaStatus(self.mediaSessions));
|
|
1094
1006
|
}
|
|
1095
|
-
|
|
1096
1007
|
if (parsedSelves.updates.audioStateChange || parsedSelves.updates.videoStateChange || parsedSelves.updates.shareStateChange) {
|
|
1097
1008
|
var _parsedSelves$current, _parsedSelves$current2, _parsedSelves$current3;
|
|
1098
|
-
|
|
1099
1009
|
this.emitScoped({
|
|
1100
1010
|
file: 'locus-info',
|
|
1101
1011
|
function: 'updateSelf'
|
|
@@ -1105,14 +1015,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1105
1015
|
shareStatus: (_parsedSelves$current3 = parsedSelves.current.currentMediaStatus) === null || _parsedSelves$current3 === void 0 ? void 0 : _parsedSelves$current3.share
|
|
1106
1016
|
});
|
|
1107
1017
|
}
|
|
1108
|
-
|
|
1109
1018
|
if (parsedSelves.updates.isUserObserving) {
|
|
1110
1019
|
this.emitScoped({
|
|
1111
1020
|
file: 'locus-info',
|
|
1112
1021
|
function: 'updateSelf'
|
|
1113
1022
|
}, _constants.LOCUSINFO.EVENTS.SELF_OBSERVING);
|
|
1114
1023
|
}
|
|
1115
|
-
|
|
1116
1024
|
if (parsedSelves.updates.canNotViewTheParticipantListChanged) {
|
|
1117
1025
|
this.emitScoped({
|
|
1118
1026
|
file: 'locus-info',
|
|
@@ -1121,7 +1029,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1121
1029
|
canNotViewTheParticipantList: parsedSelves.current.canNotViewTheParticipantList
|
|
1122
1030
|
});
|
|
1123
1031
|
}
|
|
1124
|
-
|
|
1125
1032
|
if (parsedSelves.updates.isSharingBlockedChanged) {
|
|
1126
1033
|
this.emitScoped({
|
|
1127
1034
|
file: 'locus-info',
|
|
@@ -1130,7 +1037,6 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1130
1037
|
isSharingBlocked: parsedSelves.current.isSharingBlocked
|
|
1131
1038
|
});
|
|
1132
1039
|
}
|
|
1133
|
-
|
|
1134
1040
|
this.emitScoped({
|
|
1135
1041
|
file: 'locus-info',
|
|
1136
1042
|
function: 'updateSelf'
|
|
@@ -1138,20 +1044,20 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1138
1044
|
oldSelf: parsedSelves.previous,
|
|
1139
1045
|
newSelf: parsedSelves.current
|
|
1140
1046
|
});
|
|
1141
|
-
this.parsedLocus.self = parsedSelves.current;
|
|
1142
|
-
|
|
1047
|
+
this.parsedLocus.self = parsedSelves.current;
|
|
1048
|
+
// @ts-ignore
|
|
1143
1049
|
this.self = self;
|
|
1144
1050
|
} else {
|
|
1145
1051
|
this.compareAndUpdateFlags.compareHostAndSelf = false;
|
|
1146
1052
|
}
|
|
1147
1053
|
}
|
|
1054
|
+
|
|
1148
1055
|
/**
|
|
1149
1056
|
* handles when the locus.url is updated
|
|
1150
1057
|
* @param {String} url
|
|
1151
1058
|
* @returns {undefined}
|
|
1152
1059
|
* emits internal event locus_info_update_url
|
|
1153
1060
|
*/
|
|
1154
|
-
|
|
1155
1061
|
}, {
|
|
1156
1062
|
key: "updateLocusUrl",
|
|
1157
1063
|
value: function updateLocusUrl(url) {
|
|
@@ -1166,12 +1072,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1166
1072
|
}, _constants.EVENTS.LOCUS_INFO_UPDATE_URL, url);
|
|
1167
1073
|
}
|
|
1168
1074
|
}
|
|
1075
|
+
|
|
1169
1076
|
/**
|
|
1170
1077
|
* @param {String} aclUrl
|
|
1171
1078
|
* @returns {undefined}
|
|
1172
1079
|
* @memberof LocusInfo
|
|
1173
1080
|
*/
|
|
1174
|
-
|
|
1175
1081
|
}, {
|
|
1176
1082
|
key: "updateAclUrl",
|
|
1177
1083
|
value: function updateAclUrl(aclUrl) {
|
|
@@ -1179,12 +1085,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1179
1085
|
this.aclUrl = aclUrl;
|
|
1180
1086
|
}
|
|
1181
1087
|
}
|
|
1088
|
+
|
|
1182
1089
|
/**
|
|
1183
1090
|
* @param {Number} baseSequence
|
|
1184
1091
|
* @returns {undefined}
|
|
1185
1092
|
* @memberof LocusInfo
|
|
1186
1093
|
*/
|
|
1187
|
-
|
|
1188
1094
|
}, {
|
|
1189
1095
|
key: "updateBasequence",
|
|
1190
1096
|
value: function updateBasequence(baseSequence) {
|
|
@@ -1192,12 +1098,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1192
1098
|
this.baseSequence = baseSequence;
|
|
1193
1099
|
}
|
|
1194
1100
|
}
|
|
1101
|
+
|
|
1195
1102
|
/**
|
|
1196
1103
|
* @param {Number} sequence
|
|
1197
1104
|
* @returns {undefined}
|
|
1198
1105
|
* @memberof LocusInfo
|
|
1199
1106
|
*/
|
|
1200
|
-
|
|
1201
1107
|
}, {
|
|
1202
1108
|
key: "updateSequence",
|
|
1203
1109
|
value: function updateSequence(sequence) {
|
|
@@ -1205,12 +1111,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1205
1111
|
this.sequence = sequence;
|
|
1206
1112
|
}
|
|
1207
1113
|
}
|
|
1114
|
+
|
|
1208
1115
|
/**
|
|
1209
1116
|
* @param {Object} membership
|
|
1210
1117
|
* @returns {undefined}
|
|
1211
1118
|
* @memberof LocusInfo
|
|
1212
1119
|
*/
|
|
1213
|
-
|
|
1214
1120
|
}, {
|
|
1215
1121
|
key: "updateMemberShip",
|
|
1216
1122
|
value: function updateMemberShip(membership) {
|
|
@@ -1218,12 +1124,12 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1218
1124
|
this.membership = membership;
|
|
1219
1125
|
}
|
|
1220
1126
|
}
|
|
1127
|
+
|
|
1221
1128
|
/**
|
|
1222
1129
|
* @param {Array} identities
|
|
1223
1130
|
* @returns {undefined}
|
|
1224
1131
|
* @memberof LocusInfo
|
|
1225
1132
|
*/
|
|
1226
|
-
|
|
1227
1133
|
}, {
|
|
1228
1134
|
key: "updateIdentifiers",
|
|
1229
1135
|
value: function updateIdentifiers(identities) {
|
|
@@ -1234,6 +1140,5 @@ var LocusInfo = /*#__PURE__*/function (_EventsScope) {
|
|
|
1234
1140
|
}]);
|
|
1235
1141
|
return LocusInfo;
|
|
1236
1142
|
}(_eventsScope.default);
|
|
1237
|
-
|
|
1238
1143
|
exports.default = LocusInfo;
|
|
1239
1144
|
//# sourceMappingURL=index.js.map
|