bigbluebutton-html-plugin-sdk 0.0.89 → 0.0.91

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.
Files changed (59) hide show
  1. package/README.md +28 -10
  2. package/dist/cjs/core/auxiliary/join-url/getter.js.map +1 -1
  3. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/types.d.ts +1 -1
  4. package/dist/cjs/data-consumption/domain/users/index.d.ts +1 -1
  5. package/dist/cjs/data-consumption/domain/users/users-basic-info/hooks.js +3 -3
  6. package/dist/cjs/data-consumption/domain/users/users-basic-info/hooks.js.map +1 -1
  7. package/dist/cjs/data-consumption/domain/users/users-basic-info/types.d.ts +8 -0
  8. package/dist/cjs/data-consumption/enums.d.ts +1 -0
  9. package/dist/cjs/data-consumption/enums.js +1 -0
  10. package/dist/cjs/data-consumption/enums.js.map +1 -1
  11. package/dist/cjs/ui-commands/actions-bar/commands.d.ts +1 -1
  12. package/dist/cjs/ui-commands/actions-bar/commands.js +1 -1
  13. package/dist/cjs/ui-commands/commands.d.ts +2 -44
  14. package/dist/cjs/ui-commands/commands.js +2 -0
  15. package/dist/cjs/ui-commands/commands.js.map +1 -1
  16. package/dist/cjs/ui-commands/conference/commands.d.ts +1 -1
  17. package/dist/cjs/ui-commands/conference/commands.js +1 -1
  18. package/dist/cjs/ui-commands/index.d.ts +1 -1
  19. package/dist/cjs/ui-commands/index.js +2 -1
  20. package/dist/cjs/ui-commands/index.js.map +1 -1
  21. package/dist/cjs/ui-commands/layout/commands.d.ts +10 -2
  22. package/dist/cjs/ui-commands/layout/commands.js +15 -2
  23. package/dist/cjs/ui-commands/layout/commands.js.map +1 -1
  24. package/dist/cjs/ui-commands/layout/enums.d.ts +5 -2
  25. package/dist/cjs/ui-commands/layout/enums.js +14 -12
  26. package/dist/cjs/ui-commands/layout/enums.js.map +1 -1
  27. package/dist/cjs/ui-commands/layout/types.d.ts +6 -1
  28. package/dist/cjs/ui-commands/sidekick-area/commands.d.ts +2 -0
  29. package/dist/cjs/ui-commands/sidekick-area/commands.js +8 -0
  30. package/dist/cjs/ui-commands/sidekick-area/commands.js.map +1 -0
  31. package/dist/cjs/ui-commands/sidekick-area/options/commands.d.ts +2 -0
  32. package/dist/cjs/ui-commands/sidekick-area/options/commands.js +52 -0
  33. package/dist/cjs/ui-commands/sidekick-area/options/commands.js.map +1 -0
  34. package/dist/cjs/ui-commands/sidekick-area/options/enums.d.ts +6 -0
  35. package/dist/cjs/ui-commands/sidekick-area/options/enums.js +11 -0
  36. package/dist/cjs/ui-commands/sidekick-area/options/enums.js.map +1 -0
  37. package/dist/cjs/ui-commands/sidekick-area/options/panel/commands.d.ts +2 -0
  38. package/dist/cjs/ui-commands/sidekick-area/options/panel/commands.js +19 -0
  39. package/dist/cjs/ui-commands/sidekick-area/options/panel/commands.js.map +1 -0
  40. package/dist/cjs/ui-commands/sidekick-area/options/panel/enums.d.ts +4 -0
  41. package/dist/cjs/ui-commands/sidekick-area/options/panel/enums.js +9 -0
  42. package/dist/cjs/ui-commands/sidekick-area/options/panel/enums.js.map +1 -0
  43. package/dist/cjs/ui-commands/sidekick-area/options/panel/types.d.ts +4 -0
  44. package/dist/cjs/ui-commands/sidekick-area/options/panel/types.js +3 -0
  45. package/dist/cjs/ui-commands/sidekick-area/options/panel/types.js.map +1 -0
  46. package/dist/cjs/ui-commands/sidekick-area/options/types.d.ts +19 -0
  47. package/dist/cjs/ui-commands/sidekick-area/options/types.js +3 -0
  48. package/dist/cjs/ui-commands/sidekick-area/options/types.js.map +1 -0
  49. package/dist/cjs/ui-commands/sidekick-area/types.d.ts +4 -0
  50. package/dist/cjs/ui-commands/sidekick-area/types.js +3 -0
  51. package/dist/cjs/ui-commands/sidekick-area/types.js.map +1 -0
  52. package/dist/cjs/ui-commands/sidekick-options-container/commands.d.ts +4 -0
  53. package/dist/cjs/ui-commands/sidekick-options-container/commands.js +4 -0
  54. package/dist/cjs/ui-commands/sidekick-options-container/commands.js.map +1 -1
  55. package/dist/cjs/ui-commands/types.d.ts +2 -0
  56. package/package.json +1 -1
  57. package/dist/cjs/data-consumption/domain/users/users-basic-info/queries.d.ts +0 -1
  58. package/dist/cjs/data-consumption/domain/users/users-basic-info/queries.js +0 -5
  59. package/dist/cjs/data-consumption/domain/users/users-basic-info/queries.js.map +0 -1
package/README.md CHANGED
@@ -339,7 +339,7 @@ Wiping all data off will delete every item from the specific data-channel within
339
339
 
340
340
  **Data-channel configuration:**
341
341
 
342
- The data-channel name must be in the `manifest.json` along with all the permissions for writting, reading and deleting, see example below:
342
+ The data-channel name must be in the `manifest.json` along with all the permissions for writing, reading and deleting, see example below:
343
343
 
344
344
  ```json
345
345
  {
@@ -406,26 +406,44 @@ One other thing is that the type of the return is precisely the same type requir
406
406
 
407
407
  `uiCommands` object: It basically contains all the possible commands available to the developer to interact with the core BBB UI, see the ones implemented down below:
408
408
 
409
+ - actions-bar:
410
+ - setDisplayActionBar: this function decides whether to display the actions bar
411
+ - camera:
412
+ - setSelfViewDisableAllDevices: Sets the self-view camera disabled/enabled for all camera devices of a user;
413
+ - setSelfViewDisable: Sets the self-view camera disabled/enabled for specific camera.
409
414
  - chat:
410
415
  - form:
411
416
  - open: this function will open the sidebar chat panel automatically;
412
- - fill: this function will fill the form input field of the chat passed in the argument as {text: string}
417
+ - fill: this function will fill the form input field of the chat passed in the argument as `{text: string}`
418
+ - conference:
419
+ - setSpeakerLevel: this function will set the speaker volume level(audio output) of the conference to a certain number between 0 and 1;
413
420
  - external-video:
414
421
  - volume:
415
422
  - set: this function will set the external video volume to a certain number between 0 and 1 (that is 0% and);
416
- - sidekick-options-container:
417
- - open: this function will open the sidekick options panel automatically;
418
- - close: this function will close the sidekick options panel automatically (and also the sidebar content if open, to avoid inconsistencies in ui);
423
+ - layout:
424
+ - changeEnforcedLayout: (deprecated) Changes the enforced layout
425
+ - setEnforcedLayout: Sets the enforced layout
426
+ - navBar:
427
+ - setDisplayNavBar: Sets the displayNavBar to true (show it) or false (hide it).
428
+ - notification:
429
+ - send: This function will send a notification for the client to render, keep in mind that it's only client-side. Should you want it to be rendered in multiple clients, use this with a data-channel;
419
430
  - presentation-area:
420
431
  - open: this function will open the presentation area content automatically;
421
432
  - close: this function will close the presentation area content automatically;
422
- - conference:
423
- - setSpeakerLevel: this function will set the speaker volume level(audio output) of the conference to a certain number between 0 and 1;
424
- - notification:
425
- - send: This function will send a notification for the client to render, keep in mind that it's only client-side. Should you want it to be rendered in multiple clients, use this with a data-channel;
433
+ - sidekick-area:
434
+ - options:
435
+ - renameGenericContentMenu: this function will rename the menu of the generic content in the sidekick-area (must have the ID of the sidekick and the newName);
436
+ - renameGenericContentSection: this function will rename the section in which the menu with the specified ID is;
437
+ - setMenuBadge: this will set a badge for a specific generic content in the sidekick area;
438
+ - removeMenuBadge: this will remove any badges that a specific generic content might have;
439
+ - panel:
440
+ - open: this function will open the sidekick options panel automatically;
441
+ - close: this function will close the sidekick options panel automatically (and also the sidebar content if open, to avoid inconsistencies in ui);
442
+ - sidekick-options-container:
443
+ - open: this function will open the sidekick options panel automatically;
444
+ - close: this function will close the sidekick options panel automatically (and also the sidebar content if open, to avoid inconsistencies in ui);
426
445
  - user-status:
427
446
  - setAwayStatus: this function will set the away status of the user to a certain status;
428
-
429
447
  See usage ahead:
430
448
 
431
449
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"getter.js","sourceRoot":"","sources":["../../../../../src/core/auxiliary/join-url/getter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAA0D;AAI1D,SAAS,qBAAqB,CAAC,UAAmC;IAChE,IAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;SAC3C,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QAAM,OAAA,UAAG,kBAAkB,CAAC,GAAG,CAAC,cAAI,kBAAkB,CAAC,KAAK,CAAC,CAAE;IAAzD,CAAyD,CAAC;SAChF,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,SAAsB,UAAU,CAAC,UAAmC;;;;;;;oBAC5D,aAAa,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;oBAClD,OAAO,GAAG,CAAA,MAAA,MAAM,CAAC,qBAAqB,0CAAE,MAAM,CAAC,GAAG,CAAC,UAAU,KAAI,gBAAgB,CAAC;oBAClF,GAAG,GAAG,UAAG,OAAO,0CAAgC,IAAA,wBAAe,GAAE,cAAI,aAAa,CAAE,CAAC;oBAC1E,qBAAM,KAAK,CAAC,GAAG,EAAE;4BAChC,WAAW,EAAE,SAAS;yBACvB,CAAC,EAAA;;oBAFI,QAAQ,GAAG,SAEf;oBACkB,qBAAM,QAAQ,CAAC,IAAI,EAAE,EAAA;;oBAAnC,WAAW,GAAG,SAAqB;oBACzC,sBAAO,WAAW,CAAC,QAAQ,CAAC,GAAa,EAAC;;;;CAC3C;AATD,gCASC"}
1
+ {"version":3,"file":"getter.js","sourceRoot":"","sources":["../../../../../src/core/auxiliary/join-url/getter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAA0D;AAI1D,SAAS,qBAAqB,CAAC,UAAqC;IAClE,IAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;SAC3C,GAAG,CAAC,UAAC,EAAY;YAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QAAM,OAAA,UAAG,kBAAkB,CAAC,GAAG,CAAC,cAAI,kBAAkB,CAAC,KAAK,CAAC,CAAE;IAAzD,CAAyD,CAAC;SAChF,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,SAAsB,UAAU,CAAC,UAAqC;;;;;;;oBAC9D,aAAa,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;oBAClD,OAAO,GAAG,CAAA,MAAA,MAAM,CAAC,qBAAqB,0CAAE,MAAM,CAAC,GAAG,CAAC,UAAU,KAAI,gBAAgB,CAAC;oBAClF,GAAG,GAAG,UAAG,OAAO,0CAAgC,IAAA,wBAAe,GAAE,cAAI,aAAa,CAAE,CAAC;oBAC1E,qBAAM,KAAK,CAAC,GAAG,EAAE;4BAChC,WAAW,EAAE,SAAS;yBACvB,CAAC,EAAA;;oBAFI,QAAQ,GAAG,SAEf;oBACkB,qBAAM,QAAQ,CAAC,IAAI,EAAE,EAAA;;oBAAnC,WAAW,GAAG,SAAqB;oBACzC,sBAAO,WAAW,CAAC,QAAQ,CAAC,GAAa,EAAC;;;;CAC3C;AATD,gCASC"}
@@ -1,4 +1,4 @@
1
- import { PluginApi } from 'src/core/api/types';
1
+ import { PluginApi } from '../../../../core/api/types';
2
2
  export interface UseLocaleMessagesProps {
3
3
  pluginApi: PluginApi;
4
4
  fetchConfigs?: RequestInit;
@@ -1,3 +1,3 @@
1
1
  export { CurrentUserData, } from './current-user/types';
2
2
  export { LoadedUserListData, } from './loaded-user-list/types';
3
- export { UsersBasicInfoResponseFromGraphqlWrapper, } from './users-basic-info/types';
3
+ export { UsersBasicInfoResponseFromGraphqlWrapper, UsersBasicInfoData, } from './users-basic-info/types';
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useUsersBasicInfo = void 0;
4
- var hooks_1 = require("../../shared/custom-subscription/hooks");
5
- var queries_1 = require("./queries");
6
- var useUsersBasicInfo = function () { return (0, hooks_1.useCustomSubscription)(queries_1.USERS_BASIC_INFO_QUERY); };
4
+ var enums_1 = require("../../../../data-consumption/enums");
5
+ var hookCreator_1 = require("../../../factory/hookCreator");
6
+ var useUsersBasicInfo = function () { return (0, hookCreator_1.createDataConsumptionHook)(enums_1.DataConsumptionHooks.USERS_BASIC_INFO); };
7
7
  exports.useUsersBasicInfo = useUsersBasicInfo;
8
8
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../../src/data-consumption/domain/users/users-basic-info/hooks.ts"],"names":[],"mappings":";;;AAAA,gEAA+E;AAC/E,qCAAmD;AAG5C,IAAM,iBAAiB,GAAG,cAAM,OAAA,IAAA,6BAAqB,EAExD,gCAAsB,CACvB,EAHoC,CAGpC,CAAC;AAHS,QAAA,iBAAiB,qBAG1B"}
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../../../src/data-consumption/domain/users/users-basic-info/hooks.ts"],"names":[],"mappings":";;;AAAA,4DAA0E;AAC1E,4DAAyE;AAGlE,IAAM,iBAAiB,GAAG,cAAM,OAAA,IAAA,uCAAyB,EAE5D,4BAAoB,CAAC,gBAAgB,CACtC,EAHoC,CAGpC,CAAC;AAHS,QAAA,iBAAiB,qBAG1B"}
@@ -1,8 +1,16 @@
1
1
  import { GraphqlResponseWrapper } from '../../../../core';
2
2
  export interface UsersBasicInfoData {
3
3
  userId: string;
4
+ extId: string;
4
5
  name: string;
6
+ /**
7
+ * @deprecated use {@link isModerator} instead
8
+ */
5
9
  role: string;
10
+ avatar: string;
11
+ color: string;
12
+ isModerator: boolean;
13
+ presenter: boolean;
6
14
  }
7
15
  export interface UsersBasicInfoResponseFromGraphqlWrapper {
8
16
  user: UsersBasicInfoData[];
@@ -2,6 +2,7 @@ export declare enum DataConsumptionHooks {
2
2
  CURRENT_PRESENTATION = "Hooks::UseCurrentPresentation",
3
3
  LOADED_USER_LIST = "Hooks::UseLoadedUserList",
4
4
  CURRENT_USER = "Hooks::UseCurrentUser",
5
+ USERS_BASIC_INFO = "Hooks::UseUsersBasicInfo",
5
6
  LOADED_CHAT_MESSAGES = "Hooks::UseLoadedChatMessages",
6
7
  MEETING = "Hooks::UseMeeting",
7
8
  TALKING_INDICATOR = "Hooks::UseTalkingIndicator",
@@ -6,6 +6,7 @@ var DataConsumptionHooks;
6
6
  DataConsumptionHooks["CURRENT_PRESENTATION"] = "Hooks::UseCurrentPresentation";
7
7
  DataConsumptionHooks["LOADED_USER_LIST"] = "Hooks::UseLoadedUserList";
8
8
  DataConsumptionHooks["CURRENT_USER"] = "Hooks::UseCurrentUser";
9
+ DataConsumptionHooks["USERS_BASIC_INFO"] = "Hooks::UseUsersBasicInfo";
9
10
  DataConsumptionHooks["LOADED_CHAT_MESSAGES"] = "Hooks::UseLoadedChatMessages";
10
11
  DataConsumptionHooks["MEETING"] = "Hooks::UseMeeting";
11
12
  DataConsumptionHooks["TALKING_INDICATOR"] = "Hooks::UseTalkingIndicator";
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/data-consumption/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC9B,8EAAsD,CAAA;IACtD,qEAA6C,CAAA;IAC7C,8DAAsC,CAAA;IACtC,6EAAqD,CAAA;IACrD,qDAA6B,CAAA;IAC7B,wEAAgD,CAAA;IAChD,yEAAiD,CAAA;IACjD,2DAAmC,CAAA;AACrC,CAAC,EATW,oBAAoB,oCAApB,oBAAoB,QAS/B"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/data-consumption/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAUX;AAVD,WAAY,oBAAoB;IAC9B,8EAAsD,CAAA;IACtD,qEAA6C,CAAA;IAC7C,8DAAsC,CAAA;IACtC,qEAA6C,CAAA;IAC7C,6EAAqD,CAAA;IACrD,qDAA6B,CAAA;IAC7B,wEAAgD,CAAA;IAChD,yEAAiD,CAAA;IACjD,2DAAmC,CAAA;AACrC,CAAC,EAVW,oBAAoB,oCAApB,oBAAoB,QAU/B"}
@@ -3,7 +3,7 @@ export declare const actionsBar: {
3
3
  /**
4
4
  * Decides whether to display the actions bar
5
5
  *
6
- * @param setSpeakerLevelCommandArgumentsthe volume to which the core will set the speaker
6
+ * @param arg object containing the `displayActionBar` which is a boolean
7
7
  * level.
8
8
  * Refer to {@link SetDisplayActionBarCommandArguments} to understand the argument structure.
9
9
  */
@@ -6,7 +6,7 @@ exports.actionsBar = {
6
6
  /**
7
7
  * Decides whether to display the actions bar
8
8
  *
9
- * @param setSpeakerLevelCommandArgumentsthe volume to which the core will set the speaker
9
+ * @param arg object containing the `displayActionBar` which is a boolean
10
10
  * level.
11
11
  * Refer to {@link SetDisplayActionBarCommandArguments} to understand the argument structure.
12
12
  */
@@ -1,44 +1,2 @@
1
- export declare const uiCommands: {
2
- actionsBar: {
3
- setDisplayActionBar: (arg: import("./actions-bar/types").SetDisplayActionBarCommandArguments) => void;
4
- };
5
- camera: {
6
- setSelfViewDisableAllDevices: (setSelfViewDisableAllDevicesCommandArguments: import("./camera/types").SetSelfViewDisableAllDevicesCommandArguments) => void;
7
- setSelfViewDisable: (setSelfViewDisableCommandArguments: import("./camera/types").SetSelfViewDisableCommandArguments) => void;
8
- };
9
- chat: {
10
- form: {
11
- open: () => void;
12
- fill: (fillChatFormCommandArguments: import("./chat/form/types").FillChatFormCommandArguments) => void;
13
- };
14
- };
15
- externalVideo: {
16
- volume: {
17
- set: (setExternalVideoVolumeCommandArguments: import("./external-video/volume/types").SetExternalVideoVolumeCommandArguments) => void;
18
- };
19
- };
20
- sidekickOptionsContainer: {
21
- open: () => void;
22
- close: () => void;
23
- };
24
- navBar: {
25
- setDisplayNavBar: (setDisplayNavBarCommandArguments: import("./nav-bar/types").SetDisplayNavBarCommandArguments) => void;
26
- };
27
- presentationArea: {
28
- open: () => void;
29
- close: () => void;
30
- };
31
- userStatus: {
32
- setAwayStatus: (setAwayStatusCommandArguments: import("./user-status/types").SetAwayStatusCommandArguments) => void;
33
- };
34
- conference: {
35
- setSpeakerLevel: (setSpeakerLevelCommandArguments: import("./conference/types").SetSpeakerLevelCommandArguments) => void;
36
- };
37
- notification: {
38
- send: (information: import("./notification/types").SendNotificationCommandArguments) => void;
39
- setEnabledDisplayNotifications: (isNotificationDisplayEnabled: boolean) => void;
40
- };
41
- layout: {
42
- changeEnforcedLayout: import("./layout/types").ChangeEnforcedLayout;
43
- };
44
- };
1
+ import { UiCommands } from './types';
2
+ export declare const uiCommands: UiCommands;
@@ -12,12 +12,14 @@ var commands_8 = require("./camera/commands");
12
12
  var commands_9 = require("./actions-bar/commands");
13
13
  var commands_10 = require("./layout/commands");
14
14
  var commands_11 = require("./nav-bar/commands");
15
+ var commands_12 = require("./sidekick-area/commands");
15
16
  exports.uiCommands = {
16
17
  actionsBar: commands_9.actionsBar,
17
18
  camera: commands_8.camera,
18
19
  chat: commands_1.chat,
19
20
  externalVideo: commands_2.externalVideo,
20
21
  sidekickOptionsContainer: commands_3.sidekickOptionsContainer,
22
+ sidekickArea: commands_12.sidekickArea,
21
23
  navBar: commands_11.navBar,
22
24
  presentationArea: commands_4.presentationArea,
23
25
  userStatus: commands_5.userStatus,
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/ui-commands/commands.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AACvC,sDAA0D;AAC1D,kEAAiF;AACjF,yDAAgE;AAChE,mDAAoD;AACpD,kDAAmD;AACnD,oDAAuD;AACvD,8CAA2C;AAC3C,mDAAoD;AACpD,+CAA2C;AAC3C,gDAA4C;AAE/B,QAAA,UAAU,GAAG;IACxB,UAAU,uBAAA;IACV,MAAM,mBAAA;IACN,IAAI,iBAAA;IACJ,aAAa,0BAAA;IACb,wBAAwB,qCAAA;IACxB,MAAM,oBAAA;IACN,gBAAgB,6BAAA;IAChB,UAAU,uBAAA;IACV,UAAU,uBAAA;IACV,YAAY,yBAAA;IACZ,MAAM,oBAAA;CACP,CAAC"}
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/ui-commands/commands.ts"],"names":[],"mappings":";;;AAAA,4CAAuC;AACvC,sDAA0D;AAC1D,kEAAiF;AACjF,yDAAgE;AAChE,mDAAoD;AACpD,kDAAmD;AACnD,oDAAuD;AACvD,8CAA2C;AAC3C,mDAAoD;AACpD,+CAA2C;AAC3C,gDAA4C;AAC5C,sDAAwD;AAG3C,QAAA,UAAU,GAAe;IACpC,UAAU,uBAAA;IACV,MAAM,mBAAA;IACN,IAAI,iBAAA;IACJ,aAAa,0BAAA;IACb,wBAAwB,qCAAA;IACxB,YAAY,0BAAA;IACZ,MAAM,oBAAA;IACN,gBAAgB,6BAAA;IAChB,UAAU,uBAAA;IACV,UAAU,uBAAA;IACV,YAAY,yBAAA;IACZ,MAAM,oBAAA;CACP,CAAC"}
@@ -4,7 +4,7 @@ export declare const conference: {
4
4
  * Sets the volume of the speakers in the conference to a certain level.
5
5
  * Needs to be a value between 0 and 1.
6
6
  *
7
- * @param setSpeakerLevelCommandArgumentsthe volume to which the core will set the speaker
7
+ * @param setSpeakerLevelCommandArguments volume to which the core will set the speaker
8
8
  * level.
9
9
  * Refer to {@link SetSpeakerLevelCommandArguments} to understand the argument structure.
10
10
  */
@@ -7,7 +7,7 @@ exports.conference = {
7
7
  * Sets the volume of the speakers in the conference to a certain level.
8
8
  * Needs to be a value between 0 and 1.
9
9
  *
10
- * @param setSpeakerLevelCommandArgumentsthe volume to which the core will set the speaker
10
+ * @param setSpeakerLevelCommandArguments volume to which the core will set the speaker
11
11
  * level.
12
12
  * Refer to {@link SetSpeakerLevelCommandArguments} to understand the argument structure.
13
13
  */
@@ -1,2 +1,2 @@
1
1
  export { NotificationTypeUiCommand } from './notification/enums';
2
- export { ChangeEnforcedLayoutTypeEnum } from './layout/enums';
2
+ export { ChangeEnforcedLayoutTypeEnum, EnforcedLayoutTypeEnum } from './layout/enums';
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChangeEnforcedLayoutTypeEnum = exports.NotificationTypeUiCommand = void 0;
3
+ exports.EnforcedLayoutTypeEnum = exports.ChangeEnforcedLayoutTypeEnum = exports.NotificationTypeUiCommand = void 0;
4
4
  var enums_1 = require("./notification/enums");
5
5
  Object.defineProperty(exports, "NotificationTypeUiCommand", { enumerable: true, get: function () { return enums_1.NotificationTypeUiCommand; } });
6
6
  var enums_2 = require("./layout/enums");
7
7
  Object.defineProperty(exports, "ChangeEnforcedLayoutTypeEnum", { enumerable: true, get: function () { return enums_2.ChangeEnforcedLayoutTypeEnum; } });
8
+ Object.defineProperty(exports, "EnforcedLayoutTypeEnum", { enumerable: true, get: function () { return enums_2.EnforcedLayoutTypeEnum; } });
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui-commands/index.ts"],"names":[],"mappings":";;;AAAA,8CAAiE;AAAxD,kHAAA,yBAAyB,OAAA;AAClC,wCAA8D;AAArD,qHAAA,4BAA4B,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui-commands/index.ts"],"names":[],"mappings":";;;AAAA,8CAAiE;AAAxD,kHAAA,yBAAyB,OAAA;AAClC,wCAAsF;AAA7E,qHAAA,4BAA4B,OAAA;AAAE,+GAAA,sBAAsB,OAAA"}
@@ -1,9 +1,17 @@
1
+ import { EnforcedLayoutTypeEnum } from './enums';
1
2
  import { ChangeEnforcedLayout } from './types';
2
3
  export declare const layout: {
3
4
  /**
4
- * <description>
5
+ * @deprecated Use {@link layout.setEnforcedLayout} instead
6
+ * Changes the enforced layout
5
7
  *
6
- * @param
8
+ * @param layoutType is one of the options described by the enum
7
9
  */
8
10
  changeEnforcedLayout: ChangeEnforcedLayout;
11
+ /**
12
+ * Sets the enforced layout
13
+ *
14
+ * @param layoutType is one of the options described by the enum
15
+ */
16
+ setEnforcedLayout: (layoutType: EnforcedLayoutTypeEnum) => void;
9
17
  };
@@ -4,9 +4,10 @@ exports.layout = void 0;
4
4
  var enums_1 = require("./enums");
5
5
  exports.layout = {
6
6
  /**
7
- * <description>
7
+ * @deprecated Use {@link layout.setEnforcedLayout} instead
8
+ * Changes the enforced layout
8
9
  *
9
- * @param
10
+ * @param layoutType is one of the options described by the enum
10
11
  */
11
12
  changeEnforcedLayout: (function (layoutType) {
12
13
  window.dispatchEvent(new CustomEvent(enums_1.LayoutEnum.CHANGE_ENFORCED_LAYOUT, {
@@ -15,5 +16,17 @@ exports.layout = {
15
16
  },
16
17
  }));
17
18
  }),
19
+ /**
20
+ * Sets the enforced layout
21
+ *
22
+ * @param layoutType is one of the options described by the enum
23
+ */
24
+ setEnforcedLayout: (function (layoutType) {
25
+ window.dispatchEvent(new CustomEvent(enums_1.LayoutEnum.SET_ENFORCED_LAYOUT, {
26
+ detail: {
27
+ layoutType: layoutType,
28
+ },
29
+ }));
30
+ }),
18
31
  };
19
32
  //# sourceMappingURL=commands.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/layout/commands.ts"],"names":[],"mappings":";;;AAAA,iCAAmE;AAGtD,QAAA,MAAM,GAAG;IACpB;;;;OAIG;IACH,oBAAoB,EAAE,CAAC,UAAC,UAAwC;QAC9D,MAAM,CAAC,aAAa,CAClB,IAAI,WAAW,CAEb,kBAAU,CAAC,sBAAsB,EAAE;YACnC,MAAM,EAAE;gBACN,UAAU,YAAA;aACX;SACF,CAAC,CACH,CAAC;IACJ,CAAC,CAAyB;CAC3B,CAAC"}
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/layout/commands.ts"],"names":[],"mappings":";;;AAAA,iCAA6D;AAGhD,QAAA,MAAM,GAAG;IACpB;;;;;OAKG;IACH,oBAAoB,EAAE,CAAC,UAAC,UAAkC;QACxD,MAAM,CAAC,aAAa,CAClB,IAAI,WAAW,CAEb,kBAAU,CAAC,sBAAsB,EAAE;YACnC,MAAM,EAAE;gBACN,UAAU,YAAA;aACX;SACF,CAAC,CACH,CAAC;IACJ,CAAC,CAAyB;IAE1B;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,UAAC,UAAkC;QACrD,MAAM,CAAC,aAAa,CAClB,IAAI,WAAW,CAEb,kBAAU,CAAC,mBAAmB,EAAE;YAChC,MAAM,EAAE;gBACN,UAAU,YAAA;aACX;SACF,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;CACH,CAAC"}
@@ -1,7 +1,8 @@
1
1
  export declare enum LayoutEnum {
2
- CHANGE_ENFORCED_LAYOUT = "CHANGE_ENFORCED_LAYOUT"
2
+ CHANGE_ENFORCED_LAYOUT = "CHANGE_ENFORCED_LAYOUT",
3
+ SET_ENFORCED_LAYOUT = "SET_ENFORCED_LAYOUT"
3
4
  }
4
- export declare enum ChangeEnforcedLayoutTypeEnum {
5
+ export declare enum EnforcedLayoutTypeEnum {
5
6
  CUSTOM_LAYOUT = "CUSTOM_LAYOUT",
6
7
  SMART_LAYOUT = "SMART_LAYOUT",
7
8
  PRESENTATION_FOCUS = "PRESENTATION_FOCUS",
@@ -11,3 +12,5 @@ export declare enum ChangeEnforcedLayoutTypeEnum {
11
12
  PARTICIPANTS_AND_CHAT_ONLY = "PARTICIPANTS_AND_CHAT_ONLY",
12
13
  MEDIA_ONLY = "MEDIA_ONLY"
13
14
  }
15
+ export declare const ChangeEnforcedLayoutTypeEnum: typeof EnforcedLayoutTypeEnum;
16
+ export type ChangeEnforcedLayoutTypeEnum = EnforcedLayoutTypeEnum;
@@ -1,19 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChangeEnforcedLayoutTypeEnum = exports.LayoutEnum = void 0;
3
+ exports.ChangeEnforcedLayoutTypeEnum = exports.EnforcedLayoutTypeEnum = exports.LayoutEnum = void 0;
4
4
  var LayoutEnum;
5
5
  (function (LayoutEnum) {
6
6
  LayoutEnum["CHANGE_ENFORCED_LAYOUT"] = "CHANGE_ENFORCED_LAYOUT";
7
+ LayoutEnum["SET_ENFORCED_LAYOUT"] = "SET_ENFORCED_LAYOUT";
7
8
  })(LayoutEnum || (exports.LayoutEnum = LayoutEnum = {}));
8
- var ChangeEnforcedLayoutTypeEnum;
9
- (function (ChangeEnforcedLayoutTypeEnum) {
10
- ChangeEnforcedLayoutTypeEnum["CUSTOM_LAYOUT"] = "CUSTOM_LAYOUT";
11
- ChangeEnforcedLayoutTypeEnum["SMART_LAYOUT"] = "SMART_LAYOUT";
12
- ChangeEnforcedLayoutTypeEnum["PRESENTATION_FOCUS"] = "PRESENTATION_FOCUS";
13
- ChangeEnforcedLayoutTypeEnum["VIDEO_FOCUS"] = "VIDEO_FOCUS";
14
- ChangeEnforcedLayoutTypeEnum["CAMERAS_ONLY"] = "CAMERAS_ONLY";
15
- ChangeEnforcedLayoutTypeEnum["PRESENTATION_ONLY"] = "PRESENTATION_ONLY";
16
- ChangeEnforcedLayoutTypeEnum["PARTICIPANTS_AND_CHAT_ONLY"] = "PARTICIPANTS_AND_CHAT_ONLY";
17
- ChangeEnforcedLayoutTypeEnum["MEDIA_ONLY"] = "MEDIA_ONLY";
18
- })(ChangeEnforcedLayoutTypeEnum || (exports.ChangeEnforcedLayoutTypeEnum = ChangeEnforcedLayoutTypeEnum = {}));
9
+ var EnforcedLayoutTypeEnum;
10
+ (function (EnforcedLayoutTypeEnum) {
11
+ EnforcedLayoutTypeEnum["CUSTOM_LAYOUT"] = "CUSTOM_LAYOUT";
12
+ EnforcedLayoutTypeEnum["SMART_LAYOUT"] = "SMART_LAYOUT";
13
+ EnforcedLayoutTypeEnum["PRESENTATION_FOCUS"] = "PRESENTATION_FOCUS";
14
+ EnforcedLayoutTypeEnum["VIDEO_FOCUS"] = "VIDEO_FOCUS";
15
+ EnforcedLayoutTypeEnum["CAMERAS_ONLY"] = "CAMERAS_ONLY";
16
+ EnforcedLayoutTypeEnum["PRESENTATION_ONLY"] = "PRESENTATION_ONLY";
17
+ EnforcedLayoutTypeEnum["PARTICIPANTS_AND_CHAT_ONLY"] = "PARTICIPANTS_AND_CHAT_ONLY";
18
+ EnforcedLayoutTypeEnum["MEDIA_ONLY"] = "MEDIA_ONLY";
19
+ })(EnforcedLayoutTypeEnum || (exports.EnforcedLayoutTypeEnum = EnforcedLayoutTypeEnum = {}));
20
+ exports.ChangeEnforcedLayoutTypeEnum = EnforcedLayoutTypeEnum;
19
21
  //# sourceMappingURL=enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/ui-commands/layout/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AAED,IAAY,4BASX;AATD,WAAY,4BAA4B;IACtC,+DAA+B,CAAA;IAC/B,6DAA6B,CAAA;IAC7B,yEAAyC,CAAA;IACzC,2DAA2B,CAAA;IAC3B,6DAA6B,CAAA;IAC7B,uEAAuC,CAAA;IACvC,yFAAyD,CAAA;IACzD,yDAAyB,CAAA;AAC3B,CAAC,EATW,4BAA4B,4CAA5B,4BAA4B,QASvC"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/ui-commands/layout/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+DAAiD,CAAA;IACjD,yDAA2C,CAAA;AAC7C,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,yDAA+B,CAAA;IAC/B,uDAA6B,CAAA;IAC7B,mEAAyC,CAAA;IACzC,qDAA2B,CAAA;IAC3B,uDAA6B,CAAA;IAC7B,iEAAuC,CAAA;IACvC,mFAAyD,CAAA;IACzD,mDAAyB,CAAA;AAC3B,CAAC,EATW,sBAAsB,sCAAtB,sBAAsB,QASjC;AAEY,QAAA,4BAA4B,GAAG,sBAAsB,CAAC"}
@@ -1,8 +1,13 @@
1
- import { ChangeEnforcedLayoutTypeEnum } from './enums';
1
+ import { ChangeEnforcedLayoutTypeEnum, EnforcedLayoutTypeEnum } from './enums';
2
2
  export interface ChangeEnforcedLayoutCommandArguments {
3
3
  layoutType: ChangeEnforcedLayoutTypeEnum;
4
4
  }
5
+ export interface SetEnforcedLayoutCommandArguments {
6
+ layoutType: EnforcedLayoutTypeEnum;
7
+ }
5
8
  export type ChangeEnforcedLayout = (layoutType: ChangeEnforcedLayoutTypeEnum) => void;
9
+ export type SetEnforcedLayoutFunction = (layoutType: EnforcedLayoutTypeEnum) => void;
6
10
  export interface UiCommandsLayoutObject {
7
11
  changeEnforcedLayout: ChangeEnforcedLayout;
12
+ setEnforcedLayout: SetEnforcedLayoutFunction;
8
13
  }
@@ -0,0 +1,2 @@
1
+ import { UiCommandsSidekickArea } from './types';
2
+ export declare const sidekickArea: UiCommandsSidekickArea;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sidekickArea = void 0;
4
+ var commands_1 = require("./options/commands");
5
+ exports.sidekickArea = {
6
+ options: commands_1.sidekickAreaOptions,
7
+ };
8
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/sidekick-area/commands.ts"],"names":[],"mappings":";;;AAAA,+CAAyD;AAG5C,QAAA,YAAY,GAA2B;IAClD,OAAO,EAAE,8BAAmB;CAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { UiCommandsSidekickAreaOptionsObject } from './types';
2
+ export declare const sidekickAreaOptions: UiCommandsSidekickAreaOptionsObject;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sidekickAreaOptions = void 0;
4
+ var enums_1 = require("./enums");
5
+ var commands_1 = require("./panel/commands");
6
+ exports.sidekickAreaOptions = {
7
+ panel: commands_1.sidekickAreaOptionsPanel,
8
+ /**
9
+ * Rename Generic Sidekick Content's menu (Option's name)
10
+ */
11
+ renameGenericContentMenu: function (id, newName) {
12
+ window.dispatchEvent(new CustomEvent(enums_1.SidekickAreaOptionsEnum.RENAME_GENERIC_CONTENT_MENU, {
13
+ detail: {
14
+ id: id,
15
+ newName: newName,
16
+ },
17
+ }));
18
+ },
19
+ /**
20
+ * Rename Generic Sidekick Content's Section (Section that the option belongs name)
21
+ */
22
+ renameGenericContentSection: function (id, newName) {
23
+ window.dispatchEvent(new CustomEvent(enums_1.SidekickAreaOptionsEnum.RENAME_GENERIC_CONTENT_SECTION, {
24
+ detail: {
25
+ id: id,
26
+ newName: newName,
27
+ },
28
+ }));
29
+ },
30
+ /**
31
+ * Set the badge of the sidekick option menu
32
+ */
33
+ setMenuBadge: function (id, badgeContent) {
34
+ window.dispatchEvent(new CustomEvent(enums_1.SidekickAreaOptionsEnum.SET_GENERIC_CONTENT_BADGE, {
35
+ detail: {
36
+ id: id,
37
+ badgeContent: badgeContent,
38
+ },
39
+ }));
40
+ },
41
+ /**
42
+ * Remove the badge of the sidekick option menu
43
+ */
44
+ removeMenuBadge: function (id) {
45
+ window.dispatchEvent(new CustomEvent(enums_1.SidekickAreaOptionsEnum.REMOVE_GENERIC_CONTENT_BADGE, {
46
+ detail: {
47
+ id: id,
48
+ },
49
+ }));
50
+ },
51
+ };
52
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../../src/ui-commands/sidekick-area/options/commands.ts"],"names":[],"mappings":";;;AAAA,iCAAkD;AAClD,6CAA4D;AAQ/C,QAAA,mBAAmB,GAAwC;IACtE,KAAK,EAAE,mCAAwB;IAC/B;;OAEG;IACH,wBAAwB,EAAE,UAAC,EAAU,EAAE,OAAe;QACpD,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAClC,+BAAuB,CAAC,2BAA2B,EACnD;YACE,MAAM,EAAE;gBACN,EAAE,IAAA;gBACF,OAAO,SAAA;aACR;SACF,CACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,2BAA2B,EAAE,UAAC,EAAU,EAAE,OAAe;QACvD,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAClC,+BAAuB,CAAC,8BAA8B,EACtD;YACE,MAAM,EAAE;gBACN,EAAE,IAAA;gBACF,OAAO,SAAA;aACR;SACF,CACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,YAAY,EAAE,UAAC,EAAU,EAAE,YAAoB;QAC7C,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAClC,+BAAuB,CAAC,yBAAyB,EACjD;YACE,MAAM,EAAE;gBACN,EAAE,IAAA;gBACF,YAAY,cAAA;aACb;SACF,CACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,eAAe,EAAE,UAAC,EAAU;QAC1B,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAClC,+BAAuB,CAAC,4BAA4B,EACpD;YACE,MAAM,EAAE;gBACN,EAAE,IAAA;aACH;SACF,CACF,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare enum SidekickAreaOptionsEnum {
2
+ RENAME_GENERIC_CONTENT_MENU = "RENAME_GENERIC_CONTENT_SIDEKICK_AREA_MENU",
3
+ RENAME_GENERIC_CONTENT_SECTION = "RENAME_GENERIC_CONTENT_SIDEKICK_AREA_SECTION",
4
+ SET_GENERIC_CONTENT_BADGE = "SET_GENERIC_CONTENT_SIDEKICK_AREA_BADGE",
5
+ REMOVE_GENERIC_CONTENT_BADGE = "REMOVE_GENERIC_CONTENT_SIDEKICK_AREA_BADGE"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SidekickAreaOptionsEnum = void 0;
4
+ var SidekickAreaOptionsEnum;
5
+ (function (SidekickAreaOptionsEnum) {
6
+ SidekickAreaOptionsEnum["RENAME_GENERIC_CONTENT_MENU"] = "RENAME_GENERIC_CONTENT_SIDEKICK_AREA_MENU";
7
+ SidekickAreaOptionsEnum["RENAME_GENERIC_CONTENT_SECTION"] = "RENAME_GENERIC_CONTENT_SIDEKICK_AREA_SECTION";
8
+ SidekickAreaOptionsEnum["SET_GENERIC_CONTENT_BADGE"] = "SET_GENERIC_CONTENT_SIDEKICK_AREA_BADGE";
9
+ SidekickAreaOptionsEnum["REMOVE_GENERIC_CONTENT_BADGE"] = "REMOVE_GENERIC_CONTENT_SIDEKICK_AREA_BADGE";
10
+ })(SidekickAreaOptionsEnum || (exports.SidekickAreaOptionsEnum = SidekickAreaOptionsEnum = {}));
11
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/ui-commands/sidekick-area/options/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,oGAAyE,CAAA;IACzE,0GAA+E,CAAA;IAC/E,gGAAqE,CAAA;IACrE,sGAA2E,CAAA;AAC7E,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC"}
@@ -0,0 +1,2 @@
1
+ import { UiCommandsSidekickAreaOptionsPanelObject } from './types';
2
+ export declare const sidekickAreaOptionsPanel: UiCommandsSidekickAreaOptionsPanelObject;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sidekickAreaOptionsPanel = void 0;
4
+ var enums_1 = require("./enums");
5
+ exports.sidekickAreaOptionsPanel = {
6
+ /**
7
+ * Opens the sidekick container automatically.
8
+ */
9
+ open: function () {
10
+ window.dispatchEvent(new Event(enums_1.SidekickAreaOptionsPanelEnum.OPEN));
11
+ },
12
+ /**
13
+ * Closes the sidekick container (and sidebard content panel) automatically.
14
+ */
15
+ close: function () {
16
+ window.dispatchEvent(new Event(enums_1.SidekickAreaOptionsPanelEnum.CLOSE));
17
+ },
18
+ };
19
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../../../src/ui-commands/sidekick-area/options/panel/commands.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAG1C,QAAA,wBAAwB,GAA6C;IAChF;;OAEG;IACH,IAAI,EAAE;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,KAAK,EAAE;QACL,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACF,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare enum SidekickAreaOptionsPanelEnum {
2
+ OPEN = "OPEN_SIDEKICK_OPTIONS_CONTAINER_COMMAND",
3
+ CLOSE = "CLOSE_SIDEKICK_OPTIONS_CONTAINER_COMMAND"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SidekickAreaOptionsPanelEnum = void 0;
4
+ var SidekickAreaOptionsPanelEnum;
5
+ (function (SidekickAreaOptionsPanelEnum) {
6
+ SidekickAreaOptionsPanelEnum["OPEN"] = "OPEN_SIDEKICK_OPTIONS_CONTAINER_COMMAND";
7
+ SidekickAreaOptionsPanelEnum["CLOSE"] = "CLOSE_SIDEKICK_OPTIONS_CONTAINER_COMMAND";
8
+ })(SidekickAreaOptionsPanelEnum || (exports.SidekickAreaOptionsPanelEnum = SidekickAreaOptionsPanelEnum = {}));
9
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../../src/ui-commands/sidekick-area/options/panel/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,gFAAgD,CAAA;IAChD,kFAAkD,CAAA;AACpD,CAAC,EAHW,4BAA4B,4CAA5B,4BAA4B,QAGvC"}
@@ -0,0 +1,4 @@
1
+ export interface UiCommandsSidekickAreaOptionsPanelObject {
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/sidekick-area/options/panel/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { UiCommandsSidekickAreaOptionsPanelObject } from './panel/types';
2
+ export interface UiCommandsSidekickAreaOptionsObject {
3
+ panel: UiCommandsSidekickAreaOptionsPanelObject;
4
+ renameGenericContentMenu: (id: string, newName: string) => void;
5
+ renameGenericContentSection: (id: string, newName: string) => void;
6
+ setMenuBadge: (id: string, badgeContent: string) => void;
7
+ removeMenuBadge: (id: string) => void;
8
+ }
9
+ export interface RenameGenericContentSidekickAreaCommandArguments {
10
+ id: string;
11
+ newName: string;
12
+ }
13
+ export interface SetGenericContentSidekickAreaBadgeCommandArguments {
14
+ id: string;
15
+ badgeContent: string;
16
+ }
17
+ export interface RemoveGenericContentSidekickAreaBadgeCommandArguments {
18
+ id: string;
19
+ }
@@ -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/sidekick-area/options/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { UiCommandsSidekickAreaOptionsObject } from './options/types';
2
+ export interface UiCommandsSidekickArea {
3
+ options: UiCommandsSidekickAreaOptionsObject;
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/sidekick-area/types.ts"],"names":[],"mappings":""}
@@ -1,10 +1,14 @@
1
1
  export declare const sidekickOptionsContainer: {
2
2
  /**
3
3
  * Opens the sidekick container automatically.
4
+ *
5
+ * @deprecated Use the new {@link sidekickArea} object instead.
4
6
  */
5
7
  open: () => void;
6
8
  /**
7
9
  * Closes the sidekick container (and sidebard content panel) automatically.
10
+ *
11
+ * @deprecated Use the new {@link sidekickArea} object instead.
8
12
  */
9
13
  close: () => void;
10
14
  };
@@ -5,12 +5,16 @@ var enums_1 = require("./enums");
5
5
  exports.sidekickOptionsContainer = {
6
6
  /**
7
7
  * Opens the sidekick container automatically.
8
+ *
9
+ * @deprecated Use the new {@link sidekickArea} object instead.
8
10
  */
9
11
  open: function () {
10
12
  window.dispatchEvent(new Event(enums_1.SidekickOptionsContainerEnum.OPEN));
11
13
  },
12
14
  /**
13
15
  * Closes the sidekick container (and sidebard content panel) automatically.
16
+ *
17
+ * @deprecated Use the new {@link sidekickArea} object instead.
14
18
  */
15
19
  close: function () {
16
20
  window.dispatchEvent(new Event(enums_1.SidekickOptionsContainerEnum.CLOSE));
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/sidekick-options-container/commands.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAE1C,QAAA,wBAAwB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,KAAK,EAAE;QACL,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/ui-commands/sidekick-options-container/commands.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAE1C,QAAA,wBAAwB,GAAG;IACtC;;;;OAIG;IACH,IAAI,EAAE;QACJ,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,KAAK,EAAE;QACL,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,oCAA4B,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;CACF,CAAC"}
@@ -9,6 +9,7 @@ import { UiCommandsActionsBarObject } from './actions-bar/types';
9
9
  import { UiCommandsLayoutObject } from './layout/types';
10
10
  import { UiCommandsNavBarObject } from './nav-bar/types';
11
11
  import { UiCommandsCameraObject } from './camera/types';
12
+ import { UiCommandsSidekickArea } from './sidekick-area/types';
12
13
  export interface UiCommands {
13
14
  layout: UiCommandsLayoutObject;
14
15
  actionsBar: UiCommandsActionsBarObject;
@@ -16,6 +17,7 @@ export interface UiCommands {
16
17
  chat: UiCommandsChatObject;
17
18
  externalVideo: UiCommandsExternalVideoObject;
18
19
  sidekickOptionsContainer: UiCommandsSidekickOptionsContainerObject;
20
+ sidekickArea: UiCommandsSidekickArea;
19
21
  navBar: UiCommandsNavBarObject;
20
22
  presentationArea: UiCommandsPresentationAreaObject;
21
23
  userStatus: UiCommandsUserStatusObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigbluebutton-html-plugin-sdk",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
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",
@@ -1 +0,0 @@
1
- export declare const USERS_BASIC_INFO_QUERY = "\nsubscription Users {\n user {\n userId\n name\n role\n }\n}";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.USERS_BASIC_INFO_QUERY = void 0;
4
- exports.USERS_BASIC_INFO_QUERY = "\nsubscription Users {\n user {\n userId\n name\n role\n }\n}";
5
- //# sourceMappingURL=queries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../../../src/data-consumption/domain/users/users-basic-info/queries.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG,0EAOpC,CAAC"}