@webex/internal-plugin-locus 3.0.0-beta.9 → 3.0.0-bnr.2
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/README.md +1 -3
- package/dist/event-keys.js +1 -3
- package/dist/event-keys.js.map +1 -1
- package/dist/index.js +1 -20
- package/dist/index.js.map +1 -1
- package/dist/internal-plugin-locus.d.ts +23 -0
- package/dist/locus.js +28 -115
- package/dist/locus.js.map +1 -1
- package/dist/tsdoc-metadata.json +11 -0
- package/dist/types/event-keys.d.ts +5 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/locus.d.ts +12 -0
- package/package.json +6 -6
- package/src/event-keys.js +1 -1
- package/src/index.js +1 -9
- package/src/locus.js +144 -129
- package/test/unit/lib/BasicSeqCmp.json +88 -430
- package/test/unit/lib/SeqCmp.json +513 -685
- package/test/unit/spec/locus.js +4 -4
package/README.md
CHANGED
|
@@ -21,14 +21,12 @@ npm install --save @webex/internal-plugin-locus
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
|
-
|
|
25
24
|
import '@webex/internal-plugin-locus';
|
|
26
25
|
|
|
27
26
|
import WebexCore from '@webex/webex-core';
|
|
28
27
|
|
|
29
28
|
const webex = new WebexCore();
|
|
30
|
-
webex.internal.locus.WHATEVER
|
|
31
|
-
|
|
29
|
+
webex.internal.locus.WHATEVER;
|
|
32
30
|
```
|
|
33
31
|
|
|
34
32
|
## Maintainers
|
package/dist/event-keys.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
4
|
-
|
|
5
4
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
|
-
|
|
9
7
|
exports.locusEventKeys = exports.default = void 0;
|
|
10
|
-
|
|
11
8
|
/*!
|
|
12
9
|
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
13
10
|
*/
|
|
11
|
+
|
|
14
12
|
var locusEventKeys = ['locus.summary', 'locus.self_changed', 'locus.participant_joined', 'locus.participant_left', 'locus.participant_declined', 'locus.participant_alerted', 'locus.participant_updated', 'locus.participant_roles_updated', 'locus.participant_audio_muted', 'locus.participant_audio_unmuted', 'locus.participant_video_muted', 'locus.participant_video_unmuted', 'locus.floor_granted', 'locus.floor_released', 'locus.space_users_modified', 'locus.controls_updated', 'locus.participant_controls_updated'];
|
|
15
13
|
exports.locusEventKeys = locusEventKeys;
|
|
16
14
|
var _default = locusEventKeys;
|
package/dist/event-keys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["locusEventKeys"],"sources":["event-keys.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport const locusEventKeys = [\n 'locus.summary',\n 'locus.self_changed',\n 'locus.participant_joined',\n 'locus.participant_left',\n 'locus.participant_declined',\n 'locus.participant_alerted',\n 'locus.participant_updated',\n 'locus.participant_roles_updated',\n 'locus.participant_audio_muted',\n 'locus.participant_audio_unmuted',\n 'locus.participant_video_muted',\n 'locus.participant_video_unmuted',\n 'locus.floor_granted',\n 'locus.floor_released',\n 'locus.space_users_modified',\n 'locus.controls_updated',\n 'locus.participant_controls_updated'
|
|
1
|
+
{"version":3,"names":["locusEventKeys"],"sources":["event-keys.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport const locusEventKeys = [\n 'locus.summary',\n 'locus.self_changed',\n 'locus.participant_joined',\n 'locus.participant_left',\n 'locus.participant_declined',\n 'locus.participant_alerted',\n 'locus.participant_updated',\n 'locus.participant_roles_updated',\n 'locus.participant_audio_muted',\n 'locus.participant_audio_unmuted',\n 'locus.participant_video_muted',\n 'locus.participant_video_unmuted',\n 'locus.floor_granted',\n 'locus.floor_released',\n 'locus.space_users_modified',\n 'locus.controls_updated',\n 'locus.participant_controls_updated',\n];\n\nexport default locusEventKeys;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;;AAEO,IAAMA,cAAc,GAAG,CAC5B,eAAe,EACf,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,oCAAoC,CACrC;AAAC;AAAA,eAEaA,cAAc;AAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,90 +1,71 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs2/helpers/typeof");
|
|
4
|
-
|
|
5
4
|
var _WeakMap = require("@babel/runtime-corejs2/core-js/weak-map");
|
|
6
|
-
|
|
7
5
|
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
8
|
-
|
|
9
6
|
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs2/core-js/object/get-own-property-descriptor");
|
|
10
|
-
|
|
11
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
12
8
|
value: true
|
|
13
9
|
});
|
|
14
|
-
|
|
15
10
|
_Object$defineProperty(exports, "DESYNC", {
|
|
16
11
|
enumerable: true,
|
|
17
12
|
get: function get() {
|
|
18
13
|
return _locus.DESYNC;
|
|
19
14
|
}
|
|
20
15
|
});
|
|
21
|
-
|
|
22
16
|
_Object$defineProperty(exports, "EQUAL", {
|
|
23
17
|
enumerable: true,
|
|
24
18
|
get: function get() {
|
|
25
19
|
return _locus.EQUAL;
|
|
26
20
|
}
|
|
27
21
|
});
|
|
28
|
-
|
|
29
22
|
_Object$defineProperty(exports, "FETCH", {
|
|
30
23
|
enumerable: true,
|
|
31
24
|
get: function get() {
|
|
32
25
|
return _locus.FETCH;
|
|
33
26
|
}
|
|
34
27
|
});
|
|
35
|
-
|
|
36
28
|
_Object$defineProperty(exports, "GREATER_THAN", {
|
|
37
29
|
enumerable: true,
|
|
38
30
|
get: function get() {
|
|
39
31
|
return _locus.GREATER_THAN;
|
|
40
32
|
}
|
|
41
33
|
});
|
|
42
|
-
|
|
43
34
|
_Object$defineProperty(exports, "LESS_THAN", {
|
|
44
35
|
enumerable: true,
|
|
45
36
|
get: function get() {
|
|
46
37
|
return _locus.LESS_THAN;
|
|
47
38
|
}
|
|
48
39
|
});
|
|
49
|
-
|
|
50
40
|
_Object$defineProperty(exports, "USE_CURRENT", {
|
|
51
41
|
enumerable: true,
|
|
52
42
|
get: function get() {
|
|
53
43
|
return _locus.USE_CURRENT;
|
|
54
44
|
}
|
|
55
45
|
});
|
|
56
|
-
|
|
57
46
|
_Object$defineProperty(exports, "USE_INCOMING", {
|
|
58
47
|
enumerable: true,
|
|
59
48
|
get: function get() {
|
|
60
49
|
return _locus.USE_INCOMING;
|
|
61
50
|
}
|
|
62
51
|
});
|
|
63
|
-
|
|
64
52
|
exports.default = void 0;
|
|
65
|
-
|
|
66
53
|
_Object$defineProperty(exports, "eventKeys", {
|
|
67
54
|
enumerable: true,
|
|
68
55
|
get: function get() {
|
|
69
56
|
return _eventKeys.locusEventKeys;
|
|
70
57
|
}
|
|
71
58
|
});
|
|
72
|
-
|
|
73
59
|
require("@webex/internal-plugin-mercury");
|
|
74
|
-
|
|
75
60
|
var _webexCore = require("@webex/webex-core");
|
|
76
|
-
|
|
77
61
|
var _locus = _interopRequireWildcard(require("./locus"));
|
|
78
|
-
|
|
79
62
|
var _eventKeys = require("./event-keys");
|
|
80
|
-
|
|
81
63
|
function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
82
|
-
|
|
83
64
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
84
|
-
|
|
85
65
|
/*!
|
|
86
66
|
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
87
67
|
*/
|
|
68
|
+
|
|
88
69
|
(0, _webexCore.registerInternalPlugin)('locus', _locus.default);
|
|
89
70
|
var _default = _locus.default;
|
|
90
71
|
exports.default = _default;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["registerInternalPlugin","Locus"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport '@webex/internal-plugin-mercury';\nimport {registerInternalPlugin} from '@webex/webex-core';\n\nimport Locus from './locus';\n\nregisterInternalPlugin('locus', Locus);\n\nexport default Locus;\nexport {locusEventKeys as eventKeys} from './event-keys';\nexport {
|
|
1
|
+
{"version":3,"names":["registerInternalPlugin","Locus"],"sources":["index.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nimport '@webex/internal-plugin-mercury';\nimport {registerInternalPlugin} from '@webex/webex-core';\n\nimport Locus from './locus';\n\nregisterInternalPlugin('locus', Locus);\n\nexport default Locus;\nexport {locusEventKeys as eventKeys} from './event-keys';\nexport {USE_INCOMING, USE_CURRENT, EQUAL, FETCH, GREATER_THAN, LESS_THAN, DESYNC} from './locus';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;AACA;AAEA;AAKA;AAAyD;AAAA;AAZzD;AACA;AACA;;AAOA,IAAAA,iCAAsB,EAAC,OAAO,EAAEC,cAAK,CAAC;AAAC,eAExBA,cAAK;AAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const DESYNC: "DESYNC";
|
|
2
|
+
|
|
3
|
+
export declare const EQUAL: "EQUAL";
|
|
4
|
+
|
|
5
|
+
export declare const eventKeys: string[];
|
|
6
|
+
|
|
7
|
+
export declare const FETCH: "FETCH";
|
|
8
|
+
|
|
9
|
+
export declare const GREATER_THAN: "GREATER_THAN";
|
|
10
|
+
|
|
11
|
+
export declare const LESS_THAN: "LESS_THAN";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @class
|
|
15
|
+
*/
|
|
16
|
+
declare const Locus: any;
|
|
17
|
+
export default Locus;
|
|
18
|
+
|
|
19
|
+
export declare const USE_CURRENT: "USE_CURRENT";
|
|
20
|
+
|
|
21
|
+
export declare const USE_INCOMING: "USE_INCOMING";
|
|
22
|
+
|
|
23
|
+
export { }
|