bigbluebutton-html-plugin-sdk 0.1.4 → 0.1.5

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 (171) hide show
  1. package/README.md +70 -35
  2. package/dist/cjs/core/api/BbbPluginSdk.d.ts +1 -1
  3. package/dist/cjs/core/api/BbbPluginSdk.js +7 -4
  4. package/dist/cjs/core/api/BbbPluginSdk.js.map +1 -1
  5. package/dist/cjs/core/api/types.d.ts +16 -4
  6. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/types.d.ts +1 -4
  7. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/useLocaleMessages.js +81 -39
  8. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/useLocaleMessages.js.map +1 -1
  9. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/utils.d.ts +3 -0
  10. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/utils.js +72 -0
  11. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/utils.js.map +1 -0
  12. package/dist/cjs/core/utils/hooks.d.ts +1 -0
  13. package/dist/cjs/core/utils/hooks.js +13 -0
  14. package/dist/cjs/core/utils/hooks.js.map +1 -0
  15. package/dist/cjs/data-channel/enums.d.ts +1 -1
  16. package/dist/cjs/data-channel/enums.js +1 -1
  17. package/dist/cjs/data-consumption/domain/settings/plugin-settings/hooks.d.ts +2 -5
  18. package/dist/cjs/data-consumption/domain/settings/plugin-settings/hooks.js.map +1 -1
  19. package/dist/cjs/data-consumption/domain/settings/plugin-settings/types.d.ts +2 -0
  20. package/dist/cjs/data-consumption/domain/settings/plugin-settings/utils.d.ts +2 -7
  21. package/dist/cjs/data-consumption/domain/settings/plugin-settings/utils.js.map +1 -1
  22. package/dist/cjs/extensible-areas/actions-bar-item/component.d.ts +14 -8
  23. package/dist/cjs/extensible-areas/actions-bar-item/component.js +32 -10
  24. package/dist/cjs/extensible-areas/actions-bar-item/component.js.map +1 -1
  25. package/dist/cjs/extensible-areas/actions-bar-item/types.d.ts +18 -1
  26. package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.d.ts +4 -1
  27. package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.js +4 -1
  28. package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.js.map +1 -1
  29. package/dist/cjs/extensible-areas/audio-settings-dropdown-item/types.d.ts +1 -0
  30. package/dist/cjs/extensible-areas/base.d.ts +2 -2
  31. package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.d.ts +3 -1
  32. package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.js +4 -1
  33. package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.js.map +1 -1
  34. package/dist/cjs/extensible-areas/camera-settings-dropdown-item/types.d.ts +1 -0
  35. package/dist/cjs/extensible-areas/index.d.ts +1 -1
  36. package/dist/cjs/extensible-areas/index.js +1 -1
  37. package/dist/cjs/extensible-areas/index.js.map +1 -1
  38. package/dist/cjs/extensible-areas/media-area-item/component.d.ts +42 -0
  39. package/dist/cjs/extensible-areas/media-area-item/component.js +61 -0
  40. package/dist/cjs/extensible-areas/media-area-item/component.js.map +1 -0
  41. package/dist/cjs/extensible-areas/media-area-item/enums.d.ts +4 -0
  42. package/dist/cjs/extensible-areas/media-area-item/enums.js +10 -0
  43. package/dist/cjs/extensible-areas/media-area-item/enums.js.map +1 -0
  44. package/dist/cjs/extensible-areas/media-area-item/index.d.ts +2 -0
  45. package/dist/cjs/extensible-areas/media-area-item/index.js +7 -0
  46. package/dist/cjs/extensible-areas/media-area-item/index.js.map +1 -0
  47. package/dist/cjs/extensible-areas/media-area-item/types.d.ts +15 -0
  48. package/dist/cjs/extensible-areas/media-area-item/types.js.map +1 -0
  49. package/dist/cjs/extensible-areas/presentation-toolbar-item/component.d.ts +3 -1
  50. package/dist/cjs/extensible-areas/presentation-toolbar-item/component.js +3 -1
  51. package/dist/cjs/extensible-areas/presentation-toolbar-item/component.js.map +1 -1
  52. package/dist/cjs/extensible-areas/presentation-toolbar-item/types.d.ts +1 -0
  53. package/dist/cjs/index.d.ts +1 -1
  54. package/dist/cjs/index.js +1 -1
  55. package/dist/cjs/index.js.map +1 -1
  56. package/dist/cjs/ui-data/domain/chat/form/enums.js.map +1 -0
  57. package/dist/cjs/ui-data/domain/chat/form/types.js.map +1 -0
  58. package/dist/cjs/ui-data/domain/chat/index.js.map +1 -0
  59. package/dist/cjs/ui-data/domain/external-video/index.js.map +1 -0
  60. package/dist/cjs/ui-data/domain/external-video/volume/enums.js.map +1 -0
  61. package/dist/cjs/ui-data/domain/external-video/volume/types.js.map +1 -0
  62. package/dist/cjs/ui-data/domain/intl/index.js.map +1 -0
  63. package/dist/cjs/ui-data/domain/intl/locale/enums.js.map +1 -0
  64. package/dist/cjs/ui-data/domain/intl/locale/types.js.map +1 -0
  65. package/dist/cjs/ui-data/domain/layout/index.d.ts +1 -0
  66. package/dist/cjs/ui-data/domain/layout/index.js +7 -0
  67. package/dist/cjs/ui-data/domain/layout/index.js.map +1 -0
  68. package/dist/cjs/{ui-data-hooks → ui-data/domain}/layout/presentation-area/enums.d.ts +1 -1
  69. package/dist/cjs/{ui-data-hooks → ui-data/domain}/layout/presentation-area/enums.js +5 -5
  70. package/dist/cjs/ui-data/domain/layout/presentation-area/enums.js.map +1 -0
  71. package/dist/cjs/{ui-data-hooks → ui-data/domain}/layout/presentation-area/types.d.ts +2 -2
  72. package/dist/cjs/ui-data/domain/layout/presentation-area/types.js.map +1 -0
  73. package/dist/cjs/ui-data/domain/presentation/index.d.ts +1 -0
  74. package/dist/cjs/ui-data/domain/presentation/index.js +6 -0
  75. package/dist/cjs/ui-data/domain/presentation/index.js.map +1 -0
  76. package/dist/cjs/ui-data/domain/presentation/presentation-area/enums.d.ts +3 -0
  77. package/dist/cjs/ui-data/domain/presentation/presentation-area/enums.js +8 -0
  78. package/dist/cjs/ui-data/domain/presentation/presentation-area/enums.js.map +1 -0
  79. package/dist/cjs/ui-data/domain/presentation/presentation-area/types.d.ts +6 -0
  80. package/dist/cjs/ui-data/domain/presentation/presentation-area/types.js.map +1 -0
  81. package/dist/cjs/ui-data/domain/user-list/enums.js.map +1 -0
  82. package/dist/cjs/ui-data/domain/user-list/index.js.map +1 -0
  83. package/dist/cjs/ui-data/domain/user-list/types.js +4 -0
  84. package/dist/cjs/ui-data/domain/user-list/types.js.map +1 -0
  85. package/dist/cjs/ui-data/getters/consts.d.ts +1 -0
  86. package/dist/cjs/ui-data/getters/consts.js +5 -0
  87. package/dist/cjs/ui-data/getters/consts.js.map +1 -0
  88. package/dist/cjs/ui-data/getters/getters.d.ts +2 -0
  89. package/dist/cjs/ui-data/getters/getters.js +65 -0
  90. package/dist/cjs/ui-data/getters/getters.js.map +1 -0
  91. package/dist/cjs/ui-data/getters/types.d.ts +2 -0
  92. package/dist/cjs/ui-data/getters/types.js.map +1 -0
  93. package/dist/cjs/ui-data/hooks/consts.js.map +1 -0
  94. package/dist/cjs/{ui-data-hooks → ui-data/hooks}/hooks.d.ts +1 -1
  95. package/dist/cjs/{ui-data-hooks → ui-data/hooks}/hooks.js +10 -1
  96. package/dist/cjs/ui-data/hooks/hooks.js.map +1 -0
  97. package/dist/cjs/ui-data/hooks/types.d.ts +2 -0
  98. package/dist/cjs/ui-data/hooks/types.js +3 -0
  99. package/dist/cjs/ui-data/hooks/types.js.map +1 -0
  100. package/dist/cjs/ui-data/index.d.ts +7 -0
  101. package/dist/cjs/{ui-data-hooks → ui-data}/index.js +6 -5
  102. package/dist/cjs/ui-data/index.js.map +1 -0
  103. package/dist/cjs/ui-data/types.d.ts +11 -0
  104. package/dist/cjs/ui-data/types.js +3 -0
  105. package/dist/cjs/{ui-data-hooks → ui-data}/types.js.map +1 -1
  106. package/package.json +12 -3
  107. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/subscriptions.d.ts +0 -2
  108. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/subscriptions.js +0 -6
  109. package/dist/cjs/core/auxiliary/plugin-information/locale-messages/subscriptions.js.map +0 -1
  110. package/dist/cjs/extensible-areas/action-button-dropdown-item/component.d.ts +0 -30
  111. package/dist/cjs/extensible-areas/action-button-dropdown-item/component.js +0 -50
  112. package/dist/cjs/extensible-areas/action-button-dropdown-item/component.js.map +0 -1
  113. package/dist/cjs/extensible-areas/action-button-dropdown-item/enums.d.ts +0 -4
  114. package/dist/cjs/extensible-areas/action-button-dropdown-item/enums.js +0 -10
  115. package/dist/cjs/extensible-areas/action-button-dropdown-item/enums.js.map +0 -1
  116. package/dist/cjs/extensible-areas/action-button-dropdown-item/index.d.ts +0 -2
  117. package/dist/cjs/extensible-areas/action-button-dropdown-item/index.js +0 -7
  118. package/dist/cjs/extensible-areas/action-button-dropdown-item/index.js.map +0 -1
  119. package/dist/cjs/extensible-areas/action-button-dropdown-item/types.d.ts +0 -14
  120. package/dist/cjs/extensible-areas/action-button-dropdown-item/types.js.map +0 -1
  121. package/dist/cjs/ui-data-hooks/chat/form/enums.js.map +0 -1
  122. package/dist/cjs/ui-data-hooks/chat/form/types.js.map +0 -1
  123. package/dist/cjs/ui-data-hooks/chat/index.js.map +0 -1
  124. package/dist/cjs/ui-data-hooks/consts.js.map +0 -1
  125. package/dist/cjs/ui-data-hooks/external-video/index.js.map +0 -1
  126. package/dist/cjs/ui-data-hooks/external-video/volume/enums.js.map +0 -1
  127. package/dist/cjs/ui-data-hooks/external-video/volume/types.js.map +0 -1
  128. package/dist/cjs/ui-data-hooks/hooks.js.map +0 -1
  129. package/dist/cjs/ui-data-hooks/index.d.ts +0 -6
  130. package/dist/cjs/ui-data-hooks/index.js.map +0 -1
  131. package/dist/cjs/ui-data-hooks/intl/index.js.map +0 -1
  132. package/dist/cjs/ui-data-hooks/intl/locale/enums.js.map +0 -1
  133. package/dist/cjs/ui-data-hooks/intl/locale/types.js.map +0 -1
  134. package/dist/cjs/ui-data-hooks/layout/index.d.ts +0 -1
  135. package/dist/cjs/ui-data-hooks/layout/index.js +0 -7
  136. package/dist/cjs/ui-data-hooks/layout/index.js.map +0 -1
  137. package/dist/cjs/ui-data-hooks/layout/presentation-area/enums.js.map +0 -1
  138. package/dist/cjs/ui-data-hooks/layout/presentation-area/types.js.map +0 -1
  139. package/dist/cjs/ui-data-hooks/types.d.ts +0 -11
  140. package/dist/cjs/ui-data-hooks/user-list/enums.js.map +0 -1
  141. package/dist/cjs/ui-data-hooks/user-list/index.js.map +0 -1
  142. package/dist/cjs/ui-data-hooks/user-list/types.js.map +0 -1
  143. /package/dist/cjs/extensible-areas/{action-button-dropdown-item → media-area-item}/types.js +0 -0
  144. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/form/enums.d.ts +0 -0
  145. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/form/enums.js +0 -0
  146. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/form/types.d.ts +0 -0
  147. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/form/types.js +0 -0
  148. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/index.d.ts +0 -0
  149. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/chat/index.js +0 -0
  150. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/index.d.ts +0 -0
  151. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/index.js +0 -0
  152. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/volume/enums.d.ts +0 -0
  153. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/volume/enums.js +0 -0
  154. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/volume/types.d.ts +0 -0
  155. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/external-video/volume/types.js +0 -0
  156. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/index.d.ts +0 -0
  157. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/index.js +0 -0
  158. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/locale/enums.d.ts +0 -0
  159. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/locale/enums.js +0 -0
  160. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/locale/types.d.ts +0 -0
  161. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/intl/locale/types.js +0 -0
  162. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/layout/presentation-area/types.js +0 -0
  163. /package/dist/cjs/{ui-data-hooks/user-list → ui-data/domain/presentation/presentation-area}/types.js +0 -0
  164. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/user-list/enums.d.ts +0 -0
  165. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/user-list/enums.js +0 -0
  166. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/user-list/index.d.ts +0 -0
  167. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/user-list/index.js +0 -0
  168. /package/dist/cjs/{ui-data-hooks → ui-data/domain}/user-list/types.d.ts +0 -0
  169. /package/dist/cjs/{ui-data-hooks → ui-data/getters}/types.js +0 -0
  170. /package/dist/cjs/{ui-data-hooks → ui-data/hooks}/consts.d.ts +0 -0
  171. /package/dist/cjs/{ui-data-hooks → ui-data/hooks}/consts.js +0 -0
@@ -0,0 +1,11 @@
1
+ import { ChatFormUiDataPayloads } from './domain/chat/form/types';
2
+ import { ExternalVideoVolumeUiDataPayloads } from './domain/external-video/volume/types';
3
+ import { IntlLocaleUiDataPayloads } from './domain/intl/locale/types';
4
+ import { LayoutPresentationAreaUiDataPayloads } from './domain/layout/presentation-area/types';
5
+ import { PresentationWhiteboardUiDataPayloads } from './domain/presentation/presentation-area/types';
6
+ import { UserListUiDataPayloads } from './domain/user-list/types';
7
+ export type UiDataPayloads = IntlLocaleUiDataPayloads & ChatFormUiDataPayloads & PresentationWhiteboardUiDataPayloads & UserListUiDataPayloads & ExternalVideoVolumeUiDataPayloads & LayoutPresentationAreaUiDataPayloads;
8
+ export type UiDataNames = keyof UiDataPayloads;
9
+ export interface UiDataHookPayloadWrapper<T> extends Event {
10
+ detail: T;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/ui-data-hooks/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/ui-data/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigbluebutton-html-plugin-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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",
@@ -14,11 +14,16 @@
14
14
  "react-dom": "^18.2.0"
15
15
  },
16
16
  "devDependencies": {
17
+ "@playwright/test": "^1.51.1",
17
18
  "@types/node": "^20.4.4",
18
19
  "@types/react": "^18.2.15",
19
20
  "@types/react-dom": "^18.2.7",
21
+ "@types/sha.js": "^2.4.4",
22
+ "@types/xml2js": "^0.4.14",
20
23
  "@typescript-eslint/eslint-plugin": "^6.2.0",
21
24
  "@typescript-eslint/parser": "^6.2.0",
25
+ "axios": "^1.8.4",
26
+ "dotenv": "^16.4.7",
22
27
  "eslint": "^8.45.0",
23
28
  "eslint-config-airbnb": "^19.0.4",
24
29
  "eslint-config-airbnb-base": "^15.0.0",
@@ -30,8 +35,10 @@
30
35
  "lint-staged": "11.2.0",
31
36
  "react": "^18.2.0",
32
37
  "react-dom": "^18.2.0",
38
+ "sha.js": "^2.4.11",
33
39
  "typescript": "^5.1.6",
34
- "watch": "^1.0.2"
40
+ "watch": "^0.13.0",
41
+ "xml2js": "^0.6.2"
35
42
  },
36
43
  "scripts": {
37
44
  "prepublishOnly": "npm run build # runs before publish",
@@ -39,7 +46,9 @@
39
46
  "build:watch": "rm -rf dist && tsc -w --module CommonJS",
40
47
  "lint": "eslint . --ignore-pattern node_modules",
41
48
  "lint:fix": "npm run lint -- --fix",
42
- "lint:watch": "watch 'yarn lint'"
49
+ "lint:watch": "watch 'yarn lint'",
50
+ "test": "npx playwright test",
51
+ "test-chromium-ci": "export CI='true' && npx playwright test --project=chromium"
43
52
  },
44
53
  "files": [
45
54
  "dist"
@@ -1,2 +0,0 @@
1
- declare const GET_PLUGIN_INFORMATION = "\nsubscription GetPluginInformation {\n plugin {\n javascriptEntrypointIntegrity\n javascriptEntrypointUrl\n localesBaseUrl\n name\n }\n}\n";
2
- export { GET_PLUGIN_INFORMATION };
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GET_PLUGIN_INFORMATION = void 0;
4
- var GET_PLUGIN_INFORMATION = "\nsubscription GetPluginInformation {\n plugin {\n javascriptEntrypointIntegrity\n javascriptEntrypointUrl\n localesBaseUrl\n name\n }\n}\n";
5
- exports.GET_PLUGIN_INFORMATION = GET_PLUGIN_INFORMATION;
6
- //# sourceMappingURL=subscriptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../../../../src/core/auxiliary/plugin-information/locale-messages/subscriptions.ts"],"names":[],"mappings":";;;AAAA,IAAM,sBAAsB,GAAG,2JAS9B,CAAC;AAEO,wDAAsB"}
@@ -1,30 +0,0 @@
1
- import { ActionButtonDropdownItemType } from './enums';
2
- import { ActionButtonDropdownInterface, ActionButtonDropdownOptionProps } from './types';
3
- export declare class ActionButtonDropdownOption implements ActionButtonDropdownInterface {
4
- id: string;
5
- type: ActionButtonDropdownItemType;
6
- label: string;
7
- icon: string;
8
- tooltip: string;
9
- allowed: boolean;
10
- onClick: () => void;
11
- /**
12
- * Returns the option for the action button dropdown
13
- *
14
- * @param label - label to be displayed on the option
15
- * @param icon - icon to be displayed on the option
16
- * @param tooltip - tooltip to be displayed when hovering over option
17
- * @param allowed - boolean indicating whether the option should be displayed
18
- * @param onClick - function to be called when clicking
19
- *
20
- * @returns the option to be displayed in the action button dropdown
21
- */
22
- constructor({ id, label, icon, tooltip, allowed, onClick, }: ActionButtonDropdownOptionProps);
23
- setItemId: (id: string) => void;
24
- }
25
- export declare class ActionButtonDropdownSeparator implements ActionButtonDropdownInterface {
26
- id: string;
27
- type: ActionButtonDropdownItemType;
28
- constructor();
29
- setItemId: (id: string) => void;
30
- }
@@ -1,50 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionButtonDropdownSeparator = exports.ActionButtonDropdownOption = void 0;
4
- var enums_1 = require("./enums");
5
- // ActionButtonDropdown Extensible Area
6
- var ActionButtonDropdownOption = /** @class */ (function () {
7
- /**
8
- * Returns the option for the action button dropdown
9
- *
10
- * @param label - label to be displayed on the option
11
- * @param icon - icon to be displayed on the option
12
- * @param tooltip - tooltip to be displayed when hovering over option
13
- * @param allowed - boolean indicating whether the option should be displayed
14
- * @param onClick - function to be called when clicking
15
- *
16
- * @returns the option to be displayed in the action button dropdown
17
- */
18
- function ActionButtonDropdownOption(_a) {
19
- var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.tooltip, tooltip = _d === void 0 ? '' : _d, _e = _a.allowed, allowed = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f;
20
- var _this = this;
21
- this.id = '';
22
- this.setItemId = function (id) {
23
- _this.id = "ActionButtonDropdownOption_".concat(id);
24
- };
25
- if (id) {
26
- this.id = id;
27
- }
28
- this.label = label;
29
- this.icon = icon;
30
- this.tooltip = tooltip;
31
- this.allowed = allowed;
32
- this.onClick = onClick;
33
- this.type = enums_1.ActionButtonDropdownItemType.OPTION;
34
- }
35
- return ActionButtonDropdownOption;
36
- }());
37
- exports.ActionButtonDropdownOption = ActionButtonDropdownOption;
38
- var ActionButtonDropdownSeparator = /** @class */ (function () {
39
- function ActionButtonDropdownSeparator() {
40
- var _this = this;
41
- this.id = '';
42
- this.setItemId = function (id) {
43
- _this.id = "ActionButtonDropdownSeparator_".concat(id);
44
- };
45
- this.type = enums_1.ActionButtonDropdownItemType.SEPARATOR;
46
- }
47
- return ActionButtonDropdownSeparator;
48
- }());
49
- exports.ActionButtonDropdownSeparator = ActionButtonDropdownSeparator;
50
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/action-button-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAKvD,uCAAuC;AAEvC;IAeE;;;;;;;;;;OAUG;IACH,oCAAY,EAEsB;YADhC,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD7E,iBAYC;QArCD,OAAE,GAAW,EAAE,CAAC;QAuChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,qCAA8B,EAAE,CAAE,CAAC;QAC/C,CAAC,CAAC;QAbA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,oCAA4B,CAAC,MAAM,CAAC;IAClD,CAAC;IAKH,iCAAC;AAAD,CAAC,AA3CD,IA2CC;AA3CY,gEAA0B;AA6CvC;IAKE;QAAA,iBAEC;QAND,OAAE,GAAW,EAAE,CAAC;QAQhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,wCAAiC,EAAE,CAAE,CAAC;QAClD,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,oCAA4B,CAAC,SAAS,CAAC;IACrD,CAAC;IAKH,oCAAC;AAAD,CAAC,AAZD,IAYC;AAZY,sEAA6B"}
@@ -1,4 +0,0 @@
1
- export declare enum ActionButtonDropdownItemType {
2
- OPTION = "ACTION_BUTTON_DROPDOWN_OPTION",
3
- SEPARATOR = "ACTION_BUTTON_DROPDOWN_SEPARATOR"
4
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionButtonDropdownItemType = void 0;
4
- // Action button dropdown items types:
5
- var ActionButtonDropdownItemType;
6
- (function (ActionButtonDropdownItemType) {
7
- ActionButtonDropdownItemType["OPTION"] = "ACTION_BUTTON_DROPDOWN_OPTION";
8
- ActionButtonDropdownItemType["SEPARATOR"] = "ACTION_BUTTON_DROPDOWN_SEPARATOR";
9
- })(ActionButtonDropdownItemType || (exports.ActionButtonDropdownItemType = ActionButtonDropdownItemType = {}));
10
- //# sourceMappingURL=enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/extensible-areas/action-button-dropdown-item/enums.ts"],"names":[],"mappings":";;;AAAA,sCAAsC;AACtC,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,wEAAwC,CAAA;IACxC,8EAA8C,CAAA;AAChD,CAAC,EAHW,4BAA4B,4CAA5B,4BAA4B,QAGvC"}
@@ -1,2 +0,0 @@
1
- export { ActionButtonDropdownOption, ActionButtonDropdownSeparator, } from './component';
2
- export { ActionButtonDropdownInterface, } from './types';
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionButtonDropdownSeparator = exports.ActionButtonDropdownOption = void 0;
4
- var component_1 = require("./component");
5
- Object.defineProperty(exports, "ActionButtonDropdownOption", { enumerable: true, get: function () { return component_1.ActionButtonDropdownOption; } });
6
- Object.defineProperty(exports, "ActionButtonDropdownSeparator", { enumerable: true, get: function () { return component_1.ActionButtonDropdownSeparator; } });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/extensible-areas/action-button-dropdown-item/index.ts"],"names":[],"mappings":";;;AAAA,yCAGqB;AAFnB,uHAAA,0BAA0B,OAAA;AAC1B,0HAAA,6BAA6B,OAAA"}
@@ -1,14 +0,0 @@
1
- import { PluginProvidedUiItemDescriptor } from '../base';
2
- /**
3
- * Interface for a generic item for the action button dropdown.
4
- */
5
- export interface ActionButtonDropdownInterface extends PluginProvidedUiItemDescriptor {
6
- }
7
- export interface ActionButtonDropdownOptionProps {
8
- id?: string;
9
- label: string;
10
- icon: string;
11
- tooltip: string;
12
- allowed: boolean;
13
- onClick: () => void;
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/extensible-areas/action-button-dropdown-item/types.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/chat/form/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,wEAAiD,CAAA;IACjD,mEAA4C,CAAA;AAC9C,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/chat/form/types.ts"],"names":[],"mappings":";;AAAA,iCAA8C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/chat/index.ts"],"names":[],"mappings":";;;AAAA,sCAAmD;AAA1C,4GAAA,mBAAmB,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/ui-data-hooks/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,2BAA2B,GAAG,6BAA6B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/external-video/index.ts"],"names":[],"mappings":";;;AAAA,wCAAgE;AAAvD,uHAAA,8BAA8B,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/external-video/volume/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACtC,+EAA6C,CAAA;IAC7C,qEAAmC,CAAA;AACvC,CAAC,EAHW,8BAA8B,8CAA9B,8BAA8B,QAGzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/external-video/volume/types.ts"],"names":[],"mappings":";;AAAA,iCAAyD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/ui-data-hooks/hooks.ts"],"names":[],"mappings":";;;AAAA,+BAA4C;AAE5C,mCAAuD;AAEvD,SAAgB,SAAS,CAEvB,QAAW,EAAE,YAA+B;IACtC,IAAA,KAAkB,IAAA,gBAAQ,EAAoB,YAAY,CAAC,EAA1D,IAAI,QAAA,EAAE,OAAO,QAA6C,CAAC;IAClE,IAAM,mBAAmB,GAAG,CAAC,UAAC,WAA2C;QACvE,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC,CAAkB,CAAC;IAEpB,IAAA,iBAAS,EAAC;QACR,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;QACvD,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,UAAG,oCAA2B,cAAI,QAAQ,CAAE,CAAC,CAAC,CAAC;QAC9E,OAAO;YACL,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;QAC5D,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,IAAI,CAAC;AACd,CAAC;AAjBD,8BAiBC"}
@@ -1,6 +0,0 @@
1
- export { UiDataNames } from './types';
2
- export * from './intl';
3
- export * from './external-video';
4
- export * from './user-list';
5
- export * from './chat';
6
- export * from './layout';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui-data-hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,yCAAuB;AACvB,mDAAiC;AACjC,8CAA4B;AAC5B,yCAAuB;AACvB,2CAAyB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/intl/index.ts"],"names":[],"mappings":";;;AAAA,wCAAuD;AAA9C,8GAAA,qBAAqB,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/intl/locale/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,0DAAiC,CAAA;AACnC,CAAC,EAFW,qBAAqB,qCAArB,qBAAqB,QAEhC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/intl/locale/types.ts"],"names":[],"mappings":";;AAAA,iCAAgD"}
@@ -1 +0,0 @@
1
- export { LayoutPresentatioAreaUiDataNames, UiLayouts } from './presentation-area/enums';
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UiLayouts = exports.LayoutPresentatioAreaUiDataNames = void 0;
4
- var enums_1 = require("./presentation-area/enums");
5
- Object.defineProperty(exports, "LayoutPresentatioAreaUiDataNames", { enumerable: true, get: function () { return enums_1.LayoutPresentatioAreaUiDataNames; } });
6
- Object.defineProperty(exports, "UiLayouts", { enumerable: true, get: function () { return enums_1.UiLayouts; } });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/layout/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwF;AAA/E,yHAAA,gCAAgC,OAAA;AAAE,kGAAA,SAAS,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/layout/presentation-area/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gCAEX;AAFD,WAAY,gCAAgC;IAC1C,uEAAmC,CAAA;AACrC,CAAC,EAFW,gCAAgC,gDAAhC,gCAAgC,QAE3C;AAED,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,wDAA2C,CAAA;IAC3C,8CAAiC,CAAA;IACjC,0CAA6B,CAAA;IAC7B,sCAAyB,CAAA;IACzB,gDAAmC,CAAA;AACrC,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/layout/presentation-area/types.ts"],"names":[],"mappings":";;AAAA,iCAAsE"}
@@ -1,11 +0,0 @@
1
- import { ChatFormUiDataPayloads } from './chat/form/types';
2
- import { ExternalVideoVolumeUiDataPayloads } from './external-video/volume/types';
3
- import { IntlLocaleUiDataPayloads } from './intl/locale/types';
4
- import { LayoutPresentationAreaUiDataPayloads } from './layout/presentation-area/types';
5
- import { UserListUiDataPayloads } from './user-list/types';
6
- export type UiDataPayloads = IntlLocaleUiDataPayloads & ChatFormUiDataPayloads & UserListUiDataPayloads & ExternalVideoVolumeUiDataPayloads & LayoutPresentationAreaUiDataPayloads;
7
- export type UiDataNames = keyof UiDataPayloads;
8
- export interface UiDataHookPayloadWrapper<T> extends Event {
9
- detail: T;
10
- }
11
- export type UseUiDataFunction = <T extends keyof UiDataPayloads>(dataName: T, defaultValue: UiDataPayloads[T]) => UiDataPayloads[T];
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/user-list/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,8DAAuC,CAAA;AACzC,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/user-list/index.ts"],"names":[],"mappings":";;;AAAA,iCAA8C;AAArC,4GAAA,mBAAmB,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ui-data-hooks/user-list/types.ts"],"names":[],"mappings":";;AAAA,iCAA8C"}