bigbluebutton-html-plugin-sdk 0.0.54 → 0.0.55

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 CHANGED
@@ -211,6 +211,7 @@ export type ObjectTo = ToUserId | ToRole;
211
211
  - ExternalVideoVolumeUiDataNames.CURRENT_VOLUME_VALUE;
212
212
  - ExternalVideoVolumeUiDataNames.IS_VOLUME_MUTED;
213
213
  - UserListUiDataNames.USER_LIST_IS_OPEN;
214
+ - LayoutPresentatioAreaUiDataNames.CURRENT_ELEMENT;
214
215
 
215
216
  Example of usage:
216
217
 
@@ -243,6 +244,9 @@ One other thing is that the type of the return is precisely the same type requir
243
244
  - sidekick-options-container:
244
245
  - open: this function will open the sidekick options panel automatically;
245
246
  - close: this function will close the sidekick options panel automatically (and also the sidebar content if open, to avoid inconsistencies in ui);
247
+ - presentation-area:
248
+ - open: this function will open the presentation area content automatically;
249
+ - close: this function will close the presentation area content automatically;
246
250
 
247
251
  See usage ahead:
248
252
 
@@ -14,4 +14,8 @@ export declare const uiCommands: {
14
14
  open: () => void;
15
15
  close: () => void;
16
16
  };
17
+ presentationArea: {
18
+ open: () => void;
19
+ close: () => void;
20
+ };
17
21
  };
@@ -4,9 +4,11 @@ exports.uiCommands = void 0;
4
4
  var commands_1 = require("./chat/commands");
5
5
  var commands_2 = require("./external-video/commands");
6
6
  var commands_3 = require("./sidekick-options-container/commands");
7
+ var commands_4 = require("./presentation-area/commands");
7
8
  exports.uiCommands = {
8
9
  chat: commands_1.chat,
9
10
  externalVideo: commands_2.externalVideo,
10
11
  sidekickOptionsContainer: commands_3.sidekickOptionsContainer,
12
+ presentationArea: commands_4.presentationArea,
11
13
  };
12
14
  //# sourceMappingURL=commands.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/ui-commands/commands.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AACvC,sDAA0D;AAC1D,kEAAiF;AAEpE,QAAA,UAAU,GAAG;IACxB,IAAI,iBAAA;IACJ,aAAa,0BAAA;IACb,wBAAwB,qCAAA;CACzB,CAAC"}
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/ui-commands/commands.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AACvC,sDAA0D;AAC1D,kEAAiF;AACjF,yDAAgE;AAEnD,QAAA,UAAU,GAAG;IACxB,IAAI,iBAAA;IACJ,aAAa,0BAAA;IACb,wBAAwB,qCAAA;IACxB,gBAAgB,6BAAA;CACjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const presentationArea: {
2
+ /**
3
+ * Opens the presentation area content automatically.
4
+ */
5
+ open: () => void;
6
+ /**
7
+ * Closes the presentation area content automatically.
8
+ */
9
+ close: () => void;
10
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.presentationArea = void 0;
4
+ var enums_1 = require("./enums");
5
+ exports.presentationArea = {
6
+ /**
7
+ * Opens the presentation area content automatically.
8
+ */
9
+ open: function () {
10
+ window.dispatchEvent(new Event(enums_1.PresentationAreaEnum.OPEN));
11
+ },
12
+ /**
13
+ * Closes the presentation area content automatically.
14
+ */
15
+ close: function () {
16
+ window.dispatchEvent(new Event(enums_1.PresentationAreaEnum.CLOSE));
17
+ },
18
+ };
19
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/presentation-area/commands.ts"],"names":[],"mappings":";;;AAAA,iCAA+C;AAElC,QAAA,gBAAgB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,4BAAoB,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,KAAK,EAAE;QACL,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,4BAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9D,CAAC;CACF,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare enum PresentationAreaEnum {
2
+ OPEN = "OPEN_PRESENTATION_AREA_COMMAND",
3
+ CLOSE = "CLOSE_PRESENTATION_AREA_COMMAND"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PresentationAreaEnum = void 0;
4
+ var PresentationAreaEnum;
5
+ (function (PresentationAreaEnum) {
6
+ PresentationAreaEnum["OPEN"] = "OPEN_PRESENTATION_AREA_COMMAND";
7
+ PresentationAreaEnum["CLOSE"] = "CLOSE_PRESENTATION_AREA_COMMAND";
8
+ })(PresentationAreaEnum || (exports.PresentationAreaEnum = PresentationAreaEnum = {}));
9
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/ui-commands/presentation-area/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,+DAAuC,CAAA;IACvC,iEAAyC,CAAA;AAC3C,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B"}
@@ -0,0 +1,4 @@
1
+ export interface UiCommandsPresentationAreaObject {
2
+ open: () => void;
3
+ close: () => void;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ui-commands/presentation-area/types.ts"],"names":[],"mappings":""}
@@ -1,8 +1,10 @@
1
1
  import { UiCommandsChatObject } from './chat/types';
2
2
  import { UiCommandsExternalVideoObject } from './external-video/types';
3
3
  import { UiCommandsSidekickOptionsContainerObject } from './sidekick-options-container/types';
4
+ import { UiCommandsPresentationAreaObject } from './presentation-area/types';
4
5
  export interface UiCommands {
5
6
  chat: UiCommandsChatObject;
6
7
  externalVideo: UiCommandsExternalVideoObject;
7
8
  sidekickOptionsContainer: UiCommandsSidekickOptionsContainerObject;
9
+ presentationArea: UiCommandsPresentationAreaObject;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigbluebutton-html-plugin-sdk",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "homepage": "https://github.com/bigbluebutton/bigbluebutton-html-plugin-sdk",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",