@webex/plugin-meetings 3.0.0-beta.193 → 3.0.0-beta.194
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/in-meeting-actions.js +3 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +5 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/types/meeting/in-meeting-actions.d.ts +2 -0
- package/package.json +19 -19
- package/src/meeting/in-meeting-actions.ts +4 -0
- package/src/meeting/index.ts +4 -0
- package/test/unit/spec/meeting/in-meeting-actions.ts +2 -0
- package/test/unit/spec/meeting/index.js +773 -643
|
@@ -68,6 +68,7 @@ interface IInMeetingActions {
|
|
|
68
68
|
canShareDesktop?: boolean;
|
|
69
69
|
canShareContent?: boolean;
|
|
70
70
|
canTransferFile?: boolean;
|
|
71
|
+
canAnnotate?: boolean;
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
74
|
* @class InMeetingActions
|
|
@@ -136,6 +137,7 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
|
136
137
|
canShareDesktop: any;
|
|
137
138
|
canShareContent: any;
|
|
138
139
|
canTransferFile: any;
|
|
140
|
+
canAnnotate: any;
|
|
139
141
|
/**
|
|
140
142
|
* Returns all meeting action options
|
|
141
143
|
* @returns {Object}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/plugin-meetings",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.194",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
|
|
6
6
|
"contributors": [
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"build": "yarn run -T tsc --declaration true --declarationDir ./dist/types"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@webex/plugin-meetings": "3.0.0-beta.
|
|
36
|
-
"@webex/test-helper-chai": "3.0.0-beta.
|
|
37
|
-
"@webex/test-helper-mocha": "3.0.0-beta.
|
|
38
|
-
"@webex/test-helper-mock-webex": "3.0.0-beta.
|
|
39
|
-
"@webex/test-helper-retry": "3.0.0-beta.
|
|
40
|
-
"@webex/test-helper-test-users": "3.0.0-beta.
|
|
35
|
+
"@webex/plugin-meetings": "3.0.0-beta.194",
|
|
36
|
+
"@webex/test-helper-chai": "3.0.0-beta.194",
|
|
37
|
+
"@webex/test-helper-mocha": "3.0.0-beta.194",
|
|
38
|
+
"@webex/test-helper-mock-webex": "3.0.0-beta.194",
|
|
39
|
+
"@webex/test-helper-retry": "3.0.0-beta.194",
|
|
40
|
+
"@webex/test-helper-test-users": "3.0.0-beta.194",
|
|
41
41
|
"chai": "^4.3.4",
|
|
42
42
|
"chai-as-promised": "^7.1.1",
|
|
43
43
|
"jsdom-global": "3.0.2",
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
"typescript": "^4.7.4"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@webex/common": "3.0.0-beta.
|
|
49
|
+
"@webex/common": "3.0.0-beta.194",
|
|
50
50
|
"@webex/internal-media-core": "1.39.1",
|
|
51
|
-
"@webex/internal-plugin-conversation": "3.0.0-beta.
|
|
52
|
-
"@webex/internal-plugin-device": "3.0.0-beta.
|
|
53
|
-
"@webex/internal-plugin-llm": "3.0.0-beta.
|
|
54
|
-
"@webex/internal-plugin-mercury": "3.0.0-beta.
|
|
55
|
-
"@webex/internal-plugin-metrics": "3.0.0-beta.
|
|
56
|
-
"@webex/internal-plugin-support": "3.0.0-beta.
|
|
57
|
-
"@webex/internal-plugin-user": "3.0.0-beta.
|
|
58
|
-
"@webex/media-helpers": "3.0.0-beta.
|
|
59
|
-
"@webex/plugin-people": "3.0.0-beta.
|
|
60
|
-
"@webex/plugin-rooms": "3.0.0-beta.
|
|
61
|
-
"@webex/webex-core": "3.0.0-beta.
|
|
51
|
+
"@webex/internal-plugin-conversation": "3.0.0-beta.194",
|
|
52
|
+
"@webex/internal-plugin-device": "3.0.0-beta.194",
|
|
53
|
+
"@webex/internal-plugin-llm": "3.0.0-beta.194",
|
|
54
|
+
"@webex/internal-plugin-mercury": "3.0.0-beta.194",
|
|
55
|
+
"@webex/internal-plugin-metrics": "3.0.0-beta.194",
|
|
56
|
+
"@webex/internal-plugin-support": "3.0.0-beta.194",
|
|
57
|
+
"@webex/internal-plugin-user": "3.0.0-beta.194",
|
|
58
|
+
"@webex/media-helpers": "3.0.0-beta.194",
|
|
59
|
+
"@webex/plugin-people": "3.0.0-beta.194",
|
|
60
|
+
"@webex/plugin-rooms": "3.0.0-beta.194",
|
|
61
|
+
"@webex/webex-core": "3.0.0-beta.194",
|
|
62
62
|
"ampersand-collection": "^2.0.2",
|
|
63
63
|
"bowser": "^2.11.0",
|
|
64
64
|
"btoa": "^1.2.1",
|
|
@@ -71,6 +71,7 @@ interface IInMeetingActions {
|
|
|
71
71
|
canShareDesktop?: boolean;
|
|
72
72
|
canShareContent?: boolean;
|
|
73
73
|
canTransferFile?: boolean;
|
|
74
|
+
canAnnotate?: boolean;
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
/**
|
|
@@ -203,6 +204,8 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
|
203
204
|
|
|
204
205
|
canTransferFile = null;
|
|
205
206
|
|
|
207
|
+
canAnnotate = null;
|
|
208
|
+
|
|
206
209
|
/**
|
|
207
210
|
* Returns all meeting action options
|
|
208
211
|
* @returns {Object}
|
|
@@ -270,6 +273,7 @@ export default class InMeetingActions implements IInMeetingActions {
|
|
|
270
273
|
canShareDesktop: this.canShareDesktop,
|
|
271
274
|
canShareContent: this.canShareContent,
|
|
272
275
|
canTransferFile: this.canTransferFile,
|
|
276
|
+
canAnnotate: this.canAnnotate,
|
|
273
277
|
});
|
|
274
278
|
|
|
275
279
|
/**
|
package/src/meeting/index.ts
CHANGED
|
@@ -2654,6 +2654,10 @@ export default class Meeting extends StatelessWebexPlugin {
|
|
|
2654
2654
|
requiredHints: [DISPLAY_HINTS.SHARE_CONTENT],
|
|
2655
2655
|
displayHints: payload.info.userDisplayHints,
|
|
2656
2656
|
}) || this.isLocusCall(),
|
|
2657
|
+
canAnnotate: ControlsOptionsUtil.hasPolicies({
|
|
2658
|
+
requiredPolicies: [SELF_POLICY.SUPPORT_ANNOTATION],
|
|
2659
|
+
policies: this.selfUserPolicies,
|
|
2660
|
+
}),
|
|
2657
2661
|
});
|
|
2658
2662
|
|
|
2659
2663
|
this.recordingController.setDisplayHints(payload.info.userDisplayHints);
|
|
@@ -67,6 +67,7 @@ describe('plugin-meetings', () => {
|
|
|
67
67
|
canShareDesktop: null,
|
|
68
68
|
canShareContent: null,
|
|
69
69
|
canTransferFile: null,
|
|
70
|
+
canAnnotate: null,
|
|
70
71
|
...expected,
|
|
71
72
|
};
|
|
72
73
|
|
|
@@ -139,6 +140,7 @@ describe('plugin-meetings', () => {
|
|
|
139
140
|
'canShareDesktop',
|
|
140
141
|
'canShareContent',
|
|
141
142
|
'canTransferFile',
|
|
143
|
+
'canAnnotate',
|
|
142
144
|
].forEach((key) => {
|
|
143
145
|
it(`get and set for ${key} work as expected`, () => {
|
|
144
146
|
const inMeetingActions = new InMeetingActions();
|