bigbluebutton-html-plugin-sdk 0.0.64 → 0.0.66
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 +43 -0
- package/dist/cjs/core/api/BbbPluginSdk.js +2 -0
- package/dist/cjs/core/api/BbbPluginSdk.js.map +1 -1
- package/dist/cjs/core/api/types.d.ts +8 -0
- package/dist/cjs/extensible-areas/action-button-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/action-button-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/action-button-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/action-button-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/actions-bar-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/actions-bar-item/component.js +4 -1
- package/dist/cjs/extensible-areas/actions-bar-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/actions-bar-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/audio-settings-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/audio-settings-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/camera-settings-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/camera-settings-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/floating-window/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/floating-window/component.js +4 -1
- package/dist/cjs/extensible-areas/floating-window/component.js.map +1 -1
- package/dist/cjs/extensible-areas/floating-window/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/generic-content-item/component.d.ts +2 -2
- package/dist/cjs/extensible-areas/generic-content-item/component.js +8 -2
- package/dist/cjs/extensible-areas/generic-content-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/generic-content-item/types.d.ts +2 -0
- package/dist/cjs/extensible-areas/nav-bar-item/component.d.ts +2 -2
- package/dist/cjs/extensible-areas/nav-bar-item/component.js +8 -2
- package/dist/cjs/extensible-areas/nav-bar-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/nav-bar-item/types.d.ts +2 -0
- package/dist/cjs/extensible-areas/options-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/options-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/options-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/options-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/presentation-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/presentation-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/presentation-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/presentation-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/presentation-toolbar-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/presentation-toolbar-item/component.js +6 -3
- package/dist/cjs/extensible-areas/presentation-toolbar-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/presentation-toolbar-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/screenshare-helper-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/screenshare-helper-item/component.js +4 -1
- package/dist/cjs/extensible-areas/screenshare-helper-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/screenshare-helper-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.js +4 -1
- package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/user-camera-dropdown-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/user-camera-helper-item/component.d.ts +1 -1
- package/dist/cjs/extensible-areas/user-camera-helper-item/component.js +4 -1
- package/dist/cjs/extensible-areas/user-camera-helper-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/user-camera-helper-item/types.d.ts +1 -0
- package/dist/cjs/extensible-areas/user-list-dropdown-item/component.d.ts +3 -3
- package/dist/cjs/extensible-areas/user-list-dropdown-item/component.js +12 -3
- package/dist/cjs/extensible-areas/user-list-dropdown-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/user-list-dropdown-item/types.d.ts +3 -0
- package/dist/cjs/extensible-areas/user-list-item-additional-information/component.d.ts +2 -2
- package/dist/cjs/extensible-areas/user-list-item-additional-information/component.js +8 -2
- package/dist/cjs/extensible-areas/user-list-item-additional-information/component.js.map +1 -1
- package/dist/cjs/extensible-areas/user-list-item-additional-information/types.d.ts +2 -0
- package/dist/cjs/remote-data/types.d.ts +1 -0
- package/dist/cjs/remote-data/types.js +3 -0
- package/dist/cjs/remote-data/types.js.map +1 -0
- package/dist/cjs/remote-data/utils.d.ts +1 -0
- package/dist/cjs/remote-data/utils.js +14 -0
- package/dist/cjs/remote-data/utils.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -305,6 +305,49 @@ So that the data will appear in the following form:
|
|
|
305
305
|
| user-name | 1 | `<value>` |
|
|
306
306
|
|
|
307
307
|
|
|
308
|
+
### External data resources
|
|
309
|
+
|
|
310
|
+
This is the new integration with external servers to fetch data in a secure manner.
|
|
311
|
+
|
|
312
|
+
This is possible by simply configuring the dataResource name in the manifest and then its endpoint in the URL meta parameter that goes in the create request. The manifest would look like:
|
|
313
|
+
|
|
314
|
+
```json
|
|
315
|
+
{
|
|
316
|
+
// ...rest of manifest configuration
|
|
317
|
+
"remoteDataSources": [
|
|
318
|
+
{
|
|
319
|
+
"name": "allUsers",
|
|
320
|
+
"url": "${meta_pluginSettingsUserInformation}",
|
|
321
|
+
"fetchMode": "onMeetingCreate",
|
|
322
|
+
"permissions": ["moderator", "viewer"]
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
Then when creating the meeting send the following parameters along, adjusting to your needs and resources:
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
meta_pluginSettingsUserInformation=https://<your-external-source-with-your-authentication>/api/users
|
|
332
|
+
pluginsManifests=[{"url": "http://<domain-of-your-manifest>/your-plugin/manifest.json"}]
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
In the plugin, just use the function like:
|
|
336
|
+
|
|
337
|
+
```typescript
|
|
338
|
+
pluginApi.getRemoteData('allUsers').then((response: Response) => {
|
|
339
|
+
if (response.ok) {
|
|
340
|
+
response.json().then((r: CourseData) => {
|
|
341
|
+
// Do something with the jsonified data (if it's a json)
|
|
342
|
+
}).catch((reason) => {
|
|
343
|
+
pluginLogger.error('Error while processing the json from success response: ', reason);
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
}).catch((reason) => {
|
|
347
|
+
pluginLogger.error('Error while fetching external resource: ', reason);
|
|
348
|
+
});
|
|
349
|
+
```
|
|
350
|
+
|
|
308
351
|
|
|
309
352
|
### Frequently Asked Questions (FAQ)
|
|
310
353
|
|
|
@@ -22,6 +22,7 @@ var hooks_11 = require("../../ui-data-hooks/hooks");
|
|
|
22
22
|
var hooks_12 = require("../../data-consumption/domain/meeting/from-core/hooks");
|
|
23
23
|
var commands_2 = require("../../server-commands/commands");
|
|
24
24
|
var hooks_13 = require("../../learning-analytics-dashboard/hooks");
|
|
25
|
+
var utils_1 = require("../../remote-data/utils");
|
|
25
26
|
/**
|
|
26
27
|
* Class responsible for either initialize or get the PluginApi
|
|
27
28
|
*
|
|
@@ -69,6 +70,7 @@ var BbbPluginSdk = /** @class */ (function () {
|
|
|
69
70
|
pluginApi.usePluginSettings = function () { return (0, settings_1.usePluginSettings)(pluginName); };
|
|
70
71
|
pluginApi.serverCommands = (0, commands_2.serverCommands)(pluginName);
|
|
71
72
|
pluginApi.sendGenericDataForLearningAnalyticsDashboard = function (data) { return (0, hooks_13.sendGenericDataForLearningAnalyticsDashboard)(data, pluginName); };
|
|
73
|
+
pluginApi.getRemoteData = function (dataSourceName) { return (0, utils_1.getRemoteData)(dataSourceName, pluginName); };
|
|
72
74
|
}
|
|
73
75
|
else {
|
|
74
76
|
throw new Error('Plugin name not set');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BbbPluginSdk.js","sourceRoot":"","sources":["../../../../src/core/api/BbbPluginSdk.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,+BAAkC;AAOlC,kDAA4D;AAO5D,uDAAwD;AAQxD,kDAAiE;AACjE,gGAEgF;AAChF,wFAEwE;AACxE,oFAA+F;AAC/F,gFAAwF;AACxF,oFAA+F;AAC/F,4DAAoE;AACpE,uDAA0D;AAC1D,mEAA2E;AAE3E,uFAAsG;AACtG,2EAA8F;AAC9F,0EAA4F;AAE5F,2FAAuG;AACvG,oDAAsD;AAEtD,gFAAmF;AACnF,2DAAgE;AAChE,mEAAwG;
|
|
1
|
+
{"version":3,"file":"BbbPluginSdk.js","sourceRoot":"","sources":["../../../../src/core/api/BbbPluginSdk.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,+BAAkC;AAOlC,kDAA4D;AAO5D,uDAAwD;AAQxD,kDAAiE;AACjE,gGAEgF;AAChF,wFAEwE;AACxE,oFAA+F;AAC/F,gFAAwF;AACxF,oFAA+F;AAC/F,4DAAoE;AACpE,uDAA0D;AAC1D,mEAA2E;AAE3E,uFAAsG;AACtG,2EAA8F;AAC9F,0EAA4F;AAE5F,2FAAuG;AACvG,oDAAsD;AAEtD,gFAAmF;AACnF,2DAAgE;AAChE,mEAAwG;AAExG,iDAAwD;AAIxD;;;;;;GAMG;AACH;IAAA;IAuHA,CAAC;IAtHC;;;;;;;;;;OAUG;IACW,uBAAU,GAAxB,UAAyB,IAAY;QACnC,IAAI,CAAC,IAAI,CAAC,kBAAkB,E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vB,EAAE,EAAE,cAAO,CAAC;iBACb;gBACD,eAAe,EAAE,cAAM,OAAA,IAAA,wBAAe,GAAE,EAAjB,CAAiB;gBACxC,UAAU,EAAE,UAAC,MAAM,IAAK,OAAA,IAAA,mBAAU,EAAC,MAAM,CAAC,EAAlB,CAAkB;gBAC1C,UAAU,YAAA;aACX,CAAC;SACH;QAED,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IACH,mBAAC;AAAD,CAAC,AAvHD,IAuHC;AAvHqB,oCAAY"}
|
|
@@ -30,6 +30,7 @@ import { ServerCommands } from '../../server-commands/types';
|
|
|
30
30
|
import { SendGenericDataForLearningAnalyticsDashboard } from '../../learning-analytics-dashboard/types';
|
|
31
31
|
import { UseUserCameraDomElementsFunction } from '../../dom-element-manipulation/user-camera/types';
|
|
32
32
|
import { ScreenshareHelperInterface, UserCameraHelperInterface } from '../../extensible-areas';
|
|
33
|
+
import { GetDataSource } from '../../remote-data/types';
|
|
33
34
|
export type SetPresentationToolbarItems = (presentationToolbarItem: PresentationToolbarInterface[]) => string[];
|
|
34
35
|
export type SetUserListDropdownItems = (userListDropdownItem: UserListDropdownInterface[]) => string[];
|
|
35
36
|
export type SetActionButtonDropdownItems = (actionButtonDropdownInterface: ActionButtonDropdownInterface[]) => string[];
|
|
@@ -191,6 +192,13 @@ export interface PluginApi {
|
|
|
191
192
|
*
|
|
192
193
|
*/
|
|
193
194
|
sendGenericDataForLearningAnalyticsDashboard?: SendGenericDataForLearningAnalyticsDashboard;
|
|
195
|
+
/**
|
|
196
|
+
* Fetches external data from pre-defined data-source in manifest.
|
|
197
|
+
*
|
|
198
|
+
* @param dataSourceName - name of the data source
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
getRemoteData?: GetDataSource;
|
|
194
202
|
}
|
|
195
203
|
export interface PluginBrowserWindow extends Window {
|
|
196
204
|
bbb_plugins: {
|
|
@@ -19,7 +19,7 @@ export declare class ActionButtonDropdownOption implements ActionButtonDropdownI
|
|
|
19
19
|
*
|
|
20
20
|
* @returns the option to be displayed in the action button dropdown
|
|
21
21
|
*/
|
|
22
|
-
constructor({ label, icon, tooltip, allowed, onClick, }: ActionButtonDropdownOptionProps);
|
|
22
|
+
constructor({ id, label, icon, tooltip, allowed, onClick, }: ActionButtonDropdownOptionProps);
|
|
23
23
|
setItemId: (id: string) => void;
|
|
24
24
|
}
|
|
25
25
|
export declare class ActionButtonDropdownSeparator implements ActionButtonDropdownInterface {
|
|
@@ -16,12 +16,15 @@ var ActionButtonDropdownOption = /** @class */ (function () {
|
|
|
16
16
|
* @returns the option to be displayed in the action button dropdown
|
|
17
17
|
*/
|
|
18
18
|
function ActionButtonDropdownOption(_a) {
|
|
19
|
-
var _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;
|
|
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
20
|
var _this = this;
|
|
21
21
|
this.id = '';
|
|
22
22
|
this.setItemId = function (id) {
|
|
23
23
|
_this.id = "ActionButtonDropdownOption_".concat(id);
|
|
24
24
|
};
|
|
25
|
+
if (id) {
|
|
26
|
+
this.id = id;
|
|
27
|
+
}
|
|
25
28
|
this.label = label;
|
|
26
29
|
this.icon = icon;
|
|
27
30
|
this.tooltip = tooltip;
|
|
@@ -1 +1 @@
|
|
|
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,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;
|
|
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"}
|
|
@@ -5,6 +5,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
5
5
|
export interface ActionButtonDropdownInterface extends PluginProvidedUiItemDescriptor {
|
|
6
6
|
}
|
|
7
7
|
export interface ActionButtonDropdownOptionProps {
|
|
8
|
+
id?: string;
|
|
8
9
|
label: string;
|
|
9
10
|
icon: string;
|
|
10
11
|
tooltip: string;
|
|
@@ -18,7 +18,7 @@ export declare class ActionsBarButton implements ActionsBarInterface {
|
|
|
18
18
|
*
|
|
19
19
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
20
20
|
*/
|
|
21
|
-
constructor({ icon, tooltip, onClick, position, }: ActionsBarButtonProps);
|
|
21
|
+
constructor({ id, icon, tooltip, onClick, position, }: ActionsBarButtonProps);
|
|
22
22
|
setItemId: (id: string) => void;
|
|
23
23
|
}
|
|
24
24
|
export declare class ActionsBarSeparator implements ActionsBarInterface {
|
|
@@ -16,12 +16,15 @@ var ActionsBarButton = /** @class */ (function () {
|
|
|
16
16
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
17
17
|
*/
|
|
18
18
|
function ActionsBarButton(_a) {
|
|
19
|
-
var _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.tooltip, tooltip = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.position, position = _e === void 0 ? enums_1.ActionsBarPosition.RIGHT : _e;
|
|
19
|
+
var id = _a.id, _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.tooltip, tooltip = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.position, position = _e === void 0 ? enums_1.ActionsBarPosition.RIGHT : _e;
|
|
20
20
|
var _this = this;
|
|
21
21
|
this.id = '';
|
|
22
22
|
this.setItemId = function (id) {
|
|
23
23
|
_this.id = "ActionsBarButton_".concat(id);
|
|
24
24
|
};
|
|
25
|
+
if (id) {
|
|
26
|
+
this.id = id;
|
|
27
|
+
}
|
|
25
28
|
this.icon = icon;
|
|
26
29
|
this.tooltip = tooltip;
|
|
27
30
|
this.onClick = onClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/actions-bar-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAiE;AAKjE,6BAA6B;AAE7B;IAaE;;;;;;;;;;OAUG;IACH,0BAAY,EAEY;YADtB,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAAE,gBAAmC,EAAnC,QAAQ,mBAAG,0BAAkB,CAAC,KAAK,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/actions-bar-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAiE;AAKjE,6BAA6B;AAE7B;IAaE;;;;;;;;;;OAUG;IACH,0BAAY,EAEY;YADtB,EAAE,QAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAAE,gBAAmC,EAAnC,QAAQ,mBAAG,0BAAkB,CAAC,KAAK,KAAA;QADtF,iBAWC;QAlCD,OAAE,GAAW,EAAE,CAAC;QAoChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,2BAAoB,EAAE,CAAE,CAAC;QACrC,CAAC,CAAC;QAZA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,MAAM,CAAC;IACxC,CAAC;IAKH,uBAAC;AAAD,CAAC,AAxCD,IAwCC;AAxCY,4CAAgB;AA0C7B;IAOE;;;;;;;OAOG;IACH,6BAAY,EAEe;YADzB,gBAAmC,EAAnC,QAAQ,mBAAG,0BAAkB,CAAC,KAAK,KAAA;QADrC,iBAKC;QAjBD,OAAE,GAAW,EAAE,CAAC;QAmBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,8BAAuB,EAAE,CAAE,CAAC;QACxC,CAAC,CAAC;QANA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAKH,0BAAC;AAAD,CAAC,AAzBD,IAyBC;AAzBY,kDAAmB"}
|
|
@@ -16,7 +16,7 @@ export declare class AudioSettingsDropdownOption implements AudioSettingsDropdow
|
|
|
16
16
|
*
|
|
17
17
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
18
18
|
*/
|
|
19
|
-
constructor({ label, icon, onClick, }: AudioSettingsDropdownOptionProps);
|
|
19
|
+
constructor({ id, label, icon, onClick, }: AudioSettingsDropdownOptionProps);
|
|
20
20
|
setItemId: (id: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare class AudioSettingsDropdownSeparator implements AudioSettingsDropdownInterface {
|
|
@@ -15,12 +15,15 @@ var AudioSettingsDropdownOption = /** @class */ (function () {
|
|
|
15
15
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
16
16
|
*/
|
|
17
17
|
function AudioSettingsDropdownOption(_a) {
|
|
18
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
18
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
19
19
|
var _this = this;
|
|
20
20
|
this.id = '';
|
|
21
21
|
this.setItemId = function (id) {
|
|
22
22
|
_this.id = "AudioSettingsDropdownOption_".concat(id);
|
|
23
23
|
};
|
|
24
|
+
if (id) {
|
|
25
|
+
this.id = id;
|
|
26
|
+
}
|
|
24
27
|
this.label = label;
|
|
25
28
|
this.icon = icon;
|
|
26
29
|
this.onClick = onClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/audio-settings-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAwD;AAKxD,wCAAwC;AAExC;IAWE;;;;;;;;;OASG;IACH,qCAAY,EAEuB;YADjC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/audio-settings-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAwD;AAKxD,wCAAwC;AAExC;IAWE;;;;;;;;;OASG;IACH,qCAAY,EAEuB;YADjC,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD/C,iBAUC;QA9BD,OAAE,GAAW,EAAE,CAAC;QAgChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,sCAA+B,EAAE,CAAE,CAAC;QAChD,CAAC,CAAC;QAXA,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,IAAI,GAAG,qCAA6B,CAAC,MAAM,CAAC;IACnD,CAAC;IAKH,kCAAC;AAAD,CAAC,AApCD,IAoCC;AApCY,kEAA2B;AAsCxC;IAKE;;;;;;;;OAQG;IACH;QAAA,iBAEC;QAfD,OAAE,GAAW,EAAE,CAAC;QAiBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,yCAAkC,EAAE,CAAE,CAAC;QACnD,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,qCAA6B,CAAC,SAAS,CAAC;IACtD,CAAC;IAKH,qCAAC;AAAD,CAAC,AArBD,IAqBC;AArBY,wEAA8B"}
|
|
@@ -9,6 +9,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
9
9
|
export interface AudioSettingsDropdownInterface extends PluginProvidedUiItemDescriptor {
|
|
10
10
|
}
|
|
11
11
|
export interface AudioSettingsDropdownOptionProps {
|
|
12
|
+
id?: string;
|
|
12
13
|
label: string;
|
|
13
14
|
icon: string;
|
|
14
15
|
onClick: () => void;
|
|
@@ -16,7 +16,7 @@ export declare class CameraSettingsDropdownOption implements CameraSettingsDropd
|
|
|
16
16
|
*
|
|
17
17
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
18
18
|
*/
|
|
19
|
-
constructor({ label, icon, onClick, }: CameraSettingsDropdownOptionProps);
|
|
19
|
+
constructor({ id, label, icon, onClick, }: CameraSettingsDropdownOptionProps);
|
|
20
20
|
setItemId: (id: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare class CameraSettingsDropdownSeparator implements CameraSettingsDropdownInterface {
|
|
@@ -15,12 +15,15 @@ var CameraSettingsDropdownOption = /** @class */ (function () {
|
|
|
15
15
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
16
16
|
*/
|
|
17
17
|
function CameraSettingsDropdownOption(_a) {
|
|
18
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
18
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
19
19
|
var _this = this;
|
|
20
20
|
this.id = '';
|
|
21
21
|
this.setItemId = function (id) {
|
|
22
22
|
_this.id = "CameraSettingsDropdownOption_".concat(id);
|
|
23
23
|
};
|
|
24
|
+
if (id) {
|
|
25
|
+
this.id = id;
|
|
26
|
+
}
|
|
24
27
|
this.label = label;
|
|
25
28
|
this.icon = icon;
|
|
26
29
|
this.onClick = onClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/camera-settings-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAyD;AAKzD,yCAAyC;AAEzC;IAWE;;;;;;;;;OASG;IACH,sCAAY,EAEwB;YADlC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/camera-settings-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAyD;AAKzD,yCAAyC;AAEzC;IAWE;;;;;;;;;OASG;IACH,sCAAY,EAEwB;YADlC,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD/C,iBAUC;QA9BD,OAAE,GAAW,EAAE,CAAC;QAgChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,uCAAgC,EAAE,CAAE,CAAC;QACjD,CAAC,CAAC;QAXA,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,IAAI,GAAG,sCAA8B,CAAC,MAAM,CAAC;IACpD,CAAC;IAKH,mCAAC;AAAD,CAAC,AApCD,IAoCC;AApCY,oEAA4B;AAsCzC;IAKE;;;;;;;;OAQG;IACH;QAAA,iBAEC;QAfD,OAAE,GAAW,EAAE,CAAC;QAiBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,0CAAmC,EAAE,CAAE,CAAC;QACpD,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,sCAA8B,CAAC,SAAS,CAAC;IACvD,CAAC;IAKH,sCAAC;AAAD,CAAC,AArBD,IAqBC;AArBY,0EAA+B"}
|
|
@@ -9,6 +9,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
9
9
|
export interface CameraSettingsDropdownInterface extends PluginProvidedUiItemDescriptor {
|
|
10
10
|
}
|
|
11
11
|
export interface CameraSettingsDropdownOptionProps {
|
|
12
|
+
id?: string;
|
|
12
13
|
label: string;
|
|
13
14
|
icon: string;
|
|
14
15
|
onClick: () => void;
|
|
@@ -26,6 +26,6 @@ export declare class FloatingWindow implements FloatingWindowInterface {
|
|
|
26
26
|
*
|
|
27
27
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
28
28
|
*/
|
|
29
|
-
constructor({ top, left, movable, backgroundColor, boxShadow, contentFunction, }: FloatingWindowProps);
|
|
29
|
+
constructor({ id, top, left, movable, backgroundColor, boxShadow, contentFunction, }: FloatingWindowProps);
|
|
30
30
|
setItemId: (id: string) => void;
|
|
31
31
|
}
|
|
@@ -21,12 +21,15 @@ var FloatingWindow = /** @class */ (function () {
|
|
|
21
21
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
22
22
|
*/
|
|
23
23
|
function FloatingWindow(_a) {
|
|
24
|
-
var top = _a.top, left = _a.left, movable = _a.movable, backgroundColor = _a.backgroundColor, boxShadow = _a.boxShadow, contentFunction = _a.contentFunction;
|
|
24
|
+
var id = _a.id, top = _a.top, left = _a.left, movable = _a.movable, backgroundColor = _a.backgroundColor, boxShadow = _a.boxShadow, contentFunction = _a.contentFunction;
|
|
25
25
|
var _this = this;
|
|
26
26
|
this.id = '';
|
|
27
27
|
this.setItemId = function (id) {
|
|
28
28
|
_this.id = "FloatingWindow_".concat(id);
|
|
29
29
|
};
|
|
30
|
+
if (id) {
|
|
31
|
+
this.id = id;
|
|
32
|
+
}
|
|
30
33
|
this.top = top;
|
|
31
34
|
this.left = left;
|
|
32
35
|
this.movable = movable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAiBE;;;;;;;;;;;;;;;OAeG;IACH,wBAAY,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAiBE;;;;;;;;;;;;;;;OAeG;IACH,wBAAY,EAQU;YAPpB,EAAE,QAAA,EACF,GAAG,SAAA,EACH,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,eAAe,qBAAA,EACf,SAAS,eAAA,EACT,eAAe,qBAAA;QAPjB,iBAoBC;QApDD,OAAE,GAAW,EAAE,CAAC;QAsDhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,yBAAkB,EAAE,CAAE,CAAC;QACnC,CAAC,CAAC;QAfA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAKH,qBAAC;AAAD,CAAC,AA1DD,IA0DC;AA1DY,wCAAc"}
|
|
@@ -14,7 +14,7 @@ export declare class GenericContentMainArea implements GenericContentInterface {
|
|
|
14
14
|
*
|
|
15
15
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
16
16
|
*/
|
|
17
|
-
constructor({ contentFunction, }: GenericContentMainAreaProps);
|
|
17
|
+
constructor({ id, contentFunction, }: GenericContentMainAreaProps);
|
|
18
18
|
setItemId: (id: string) => void;
|
|
19
19
|
}
|
|
20
20
|
export declare class GenericContentSidekickArea implements GenericContentInterface {
|
|
@@ -41,6 +41,6 @@ export declare class GenericContentSidekickArea implements GenericContentInterfa
|
|
|
41
41
|
*
|
|
42
42
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
43
43
|
*/
|
|
44
|
-
constructor({ contentFunction, name, section, buttonIcon, open, }: GenericContentSidekickAreaProps);
|
|
44
|
+
constructor({ id, contentFunction, name, section, buttonIcon, open, }: GenericContentSidekickAreaProps);
|
|
45
45
|
setItemId: (id: string) => void;
|
|
46
46
|
}
|
|
@@ -14,12 +14,15 @@ var GenericContentMainArea = /** @class */ (function () {
|
|
|
14
14
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
15
15
|
*/
|
|
16
16
|
function GenericContentMainArea(_a) {
|
|
17
|
-
var contentFunction = _a.contentFunction;
|
|
17
|
+
var id = _a.id, contentFunction = _a.contentFunction;
|
|
18
18
|
var _this = this;
|
|
19
19
|
this.id = '';
|
|
20
20
|
this.setItemId = function (id) {
|
|
21
21
|
_this.id = id;
|
|
22
22
|
};
|
|
23
|
+
if (id) {
|
|
24
|
+
this.id = id;
|
|
25
|
+
}
|
|
23
26
|
this.contentFunction = contentFunction;
|
|
24
27
|
this.type = enums_1.GenericContentType.MAIN_AREA;
|
|
25
28
|
}
|
|
@@ -44,7 +47,7 @@ var GenericContentSidekickArea = /** @class */ (function () {
|
|
|
44
47
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
45
48
|
*/
|
|
46
49
|
function GenericContentSidekickArea(_a) {
|
|
47
|
-
var contentFunction = _a.contentFunction, name = _a.name, section = _a.section, buttonIcon = _a.buttonIcon, open = _a.open;
|
|
50
|
+
var id = _a.id, contentFunction = _a.contentFunction, name = _a.name, section = _a.section, buttonIcon = _a.buttonIcon, open = _a.open;
|
|
48
51
|
var _this = this;
|
|
49
52
|
this.id = '';
|
|
50
53
|
this.name = '';
|
|
@@ -54,6 +57,9 @@ var GenericContentSidekickArea = /** @class */ (function () {
|
|
|
54
57
|
this.setItemId = function (id) {
|
|
55
58
|
_this.id = id;
|
|
56
59
|
};
|
|
60
|
+
if (id) {
|
|
61
|
+
this.id = id;
|
|
62
|
+
}
|
|
57
63
|
this.contentFunction = contentFunction;
|
|
58
64
|
this.name = name;
|
|
59
65
|
this.section = section;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-content-item/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAOE;;;;;;;;OAQG;IACH,gCAAY,EAEkB;YAD5B,eAAe,qBAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-content-item/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAOE;;;;;;;;OAQG;IACH,gCAAY,EAEkB;YAD5B,EAAE,QAAA,EAAE,eAAe,qBAAA;QADrB,iBAQC;QAvBD,OAAE,GAAW,EAAE,CAAC;QAyBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACf,CAAC,CAAC;QATA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAKH,6BAAC;AAAD,CAAC,AA7BD,IA6BC;AA7BY,wDAAsB;AA+BnC;IAeE;;;;;;;;;;;;;;;OAeG;IACH,oCAAY,EAEsB;YADhC,EAAE,QAAA,EAAE,eAAe,qBAAA,EAAE,IAAI,UAAA,EAAE,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,IAAI,UAAA;QADtD,iBAYC;QA1CD,OAAE,GAAW,EAAE,CAAC;QAIhB,SAAI,GAAW,EAAE,CAAC;QAElB,YAAO,GAAW,EAAE,CAAC;QAErB,eAAU,GAAW,EAAE,CAAC;QAExB,SAAI,GAAY,KAAK,CAAC;QAkCtB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACf,CAAC,CAAC;QAbA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAKH,iCAAC;AAAD,CAAC,AAhDD,IAgDC;AAhDY,gEAA0B"}
|
|
@@ -3,9 +3,11 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
3
3
|
export interface GenericContentInterface extends PluginProvidedUiItemDescriptor {
|
|
4
4
|
}
|
|
5
5
|
export interface GenericContentMainAreaProps {
|
|
6
|
+
id?: string;
|
|
6
7
|
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
7
8
|
}
|
|
8
9
|
export interface GenericContentSidekickAreaProps {
|
|
10
|
+
id?: string;
|
|
9
11
|
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
10
12
|
name: string;
|
|
11
13
|
section: string;
|
|
@@ -26,7 +26,7 @@ export declare class NavBarButton implements NavBarInterface {
|
|
|
26
26
|
*
|
|
27
27
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
28
28
|
*/
|
|
29
|
-
constructor({ label, icon, tooltip, disabled, onClick, position, hasSeparator, }: NavBarButtonProps);
|
|
29
|
+
constructor({ id, label, icon, tooltip, disabled, onClick, position, hasSeparator, }: NavBarButtonProps);
|
|
30
30
|
setItemId: (id: string) => void;
|
|
31
31
|
}
|
|
32
32
|
export declare class NavBarInfo implements NavBarInterface {
|
|
@@ -47,6 +47,6 @@ export declare class NavBarInfo implements NavBarInterface {
|
|
|
47
47
|
*
|
|
48
48
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
49
49
|
*/
|
|
50
|
-
constructor({ label, position, hasSeparator, }: NavBarInfoProps);
|
|
50
|
+
constructor({ id, label, position, hasSeparator, }: NavBarInfoProps);
|
|
51
51
|
setItemId: (id: string) => void;
|
|
52
52
|
}
|
|
@@ -21,12 +21,15 @@ var NavBarButton = /** @class */ (function () {
|
|
|
21
21
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
22
22
|
*/
|
|
23
23
|
function NavBarButton(_a) {
|
|
24
|
-
var _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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.NavBarItemPosition.RIGHT : _g, _h = _a.hasSeparator, hasSeparator = _h === void 0 ? true : _h;
|
|
24
|
+
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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.NavBarItemPosition.RIGHT : _g, _h = _a.hasSeparator, hasSeparator = _h === void 0 ? true : _h;
|
|
25
25
|
var _this = this;
|
|
26
26
|
this.id = '';
|
|
27
27
|
this.setItemId = function (id) {
|
|
28
28
|
_this.id = "NavBarButton_".concat(id);
|
|
29
29
|
};
|
|
30
|
+
if (id) {
|
|
31
|
+
this.id = id;
|
|
32
|
+
}
|
|
30
33
|
this.label = label;
|
|
31
34
|
this.icon = icon;
|
|
32
35
|
this.tooltip = tooltip;
|
|
@@ -53,12 +56,15 @@ var NavBarInfo = /** @class */ (function () {
|
|
|
53
56
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
54
57
|
*/
|
|
55
58
|
function NavBarInfo(_a) {
|
|
56
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.position, position = _c === void 0 ? enums_1.NavBarItemPosition.RIGHT : _c, _d = _a.hasSeparator, hasSeparator = _d === void 0 ? true : _d;
|
|
59
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.position, position = _c === void 0 ? enums_1.NavBarItemPosition.RIGHT : _c, _d = _a.hasSeparator, hasSeparator = _d === void 0 ? true : _d;
|
|
57
60
|
var _this = this;
|
|
58
61
|
this.id = '';
|
|
59
62
|
this.setItemId = function (id) {
|
|
60
63
|
_this.id = "NavBarInfo_".concat(id);
|
|
61
64
|
};
|
|
65
|
+
if (id) {
|
|
66
|
+
this.id = id;
|
|
67
|
+
}
|
|
62
68
|
this.label = label;
|
|
63
69
|
this.type = enums_1.NavBarItemType.INFO;
|
|
64
70
|
this.position = position;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/nav-bar-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAA6D;AAM7D,yBAAyB;AAEzB;IAmBE;;;;;;;;;;;;;;;OAeG;IACH,sBAAY,EAGQ;YAFlB,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/nav-bar-item/component.ts"],"names":[],"mappings":";;;AAAA,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G,0BAAkB,CAAC,KAAK,KAAA,EACnD,oBAAmB,EAAnB,YAAY,mBAAG,IAAI,KAAA;QAFrB,iBAWC;QAjCD,OAAE,GAAW,EAAE,CAAC;QAmChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,qBAAc,EAAE,CAAE,CAAC;QAC/B,CAAC,CAAC;QAXA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,sBAAc,CAAC,IAAI,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAKH,iBAAC;AAAD,CAAC,AAvCD,IAuCC;AAvCY,gCAAU"}
|
|
@@ -5,6 +5,7 @@ export interface NavBarInterface extends PluginProvidedUiItemDescriptor {
|
|
|
5
5
|
hasSeparator: boolean;
|
|
6
6
|
}
|
|
7
7
|
export interface NavBarButtonProps {
|
|
8
|
+
id?: string;
|
|
8
9
|
label: string;
|
|
9
10
|
icon: string;
|
|
10
11
|
tooltip: string;
|
|
@@ -14,6 +15,7 @@ export interface NavBarButtonProps {
|
|
|
14
15
|
onClick: () => void;
|
|
15
16
|
}
|
|
16
17
|
export interface NavBarInfoProps {
|
|
18
|
+
id?: string;
|
|
17
19
|
label: string;
|
|
18
20
|
hasSeparator: boolean;
|
|
19
21
|
position: NavBarItemPosition;
|
|
@@ -16,7 +16,7 @@ export declare class OptionsDropdownOption implements OptionsDropdownInterface {
|
|
|
16
16
|
*
|
|
17
17
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
18
18
|
*/
|
|
19
|
-
constructor({ label, icon, onClick, }: OptionsDropdownOptionProps);
|
|
19
|
+
constructor({ id, label, icon, onClick, }: OptionsDropdownOptionProps);
|
|
20
20
|
setItemId: (id: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare class OptionsDropdownSeparator implements OptionsDropdownInterface {
|
|
@@ -15,12 +15,15 @@ var OptionsDropdownOption = /** @class */ (function () {
|
|
|
15
15
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
16
16
|
*/
|
|
17
17
|
function OptionsDropdownOption(_a) {
|
|
18
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
18
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
19
19
|
var _this = this;
|
|
20
20
|
this.id = '';
|
|
21
21
|
this.setItemId = function (id) {
|
|
22
22
|
_this.id = "OptionsDropdownOption_".concat(id);
|
|
23
23
|
};
|
|
24
|
+
if (id) {
|
|
25
|
+
this.id = id;
|
|
26
|
+
}
|
|
24
27
|
this.label = label;
|
|
25
28
|
this.icon = icon;
|
|
26
29
|
this.onClick = onClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/options-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAkD;AAKlD,kCAAkC;AAElC;IAWE;;;;;;;;;OASG;IACH,+BAAY,EAEiB;YAD3B,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/options-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAkD;AAKlD,kCAAkC;AAElC;IAWE;;;;;;;;;OASG;IACH,+BAAY,EAEiB;YAD3B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD/C,iBAUC;QA9BD,OAAE,GAAW,EAAE,CAAC;QAgChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,gCAAyB,EAAE,CAAE,CAAC;QAC1C,CAAC,CAAC;QAXA,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,IAAI,GAAG,+BAAuB,CAAC,MAAM,CAAC;IAC7C,CAAC;IAKH,4BAAC;AAAD,CAAC,AApCD,IAoCC;AApCY,sDAAqB;AAsClC;IAKE;;;;;OAKG;IACH;QAAA,iBAEC;QAZD,OAAE,GAAW,EAAE,CAAC;QAchB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,mCAA4B,EAAE,CAAE,CAAC;QAC7C,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,+BAAuB,CAAC,SAAS,CAAC;IAChD,CAAC;IAKH,+BAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,4DAAwB"}
|
|
@@ -9,6 +9,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
9
9
|
export interface OptionsDropdownInterface extends PluginProvidedUiItemDescriptor {
|
|
10
10
|
}
|
|
11
11
|
export interface OptionsDropdownOptionProps {
|
|
12
|
+
id?: string;
|
|
12
13
|
label: string;
|
|
13
14
|
icon: string;
|
|
14
15
|
onClick: () => void;
|
|
@@ -17,7 +17,7 @@ export declare class PresentationDropdownOption implements PresentationDropdownI
|
|
|
17
17
|
*
|
|
18
18
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
19
19
|
*/
|
|
20
|
-
constructor({ label, icon, onClick, }: PresentationDropdownOptionProps);
|
|
20
|
+
constructor({ id, label, icon, onClick, }: PresentationDropdownOptionProps);
|
|
21
21
|
setItemId: (id: string) => void;
|
|
22
22
|
}
|
|
23
23
|
export declare class PresentationDropdownSeparator implements PresentationDropdownInterface {
|
|
@@ -16,12 +16,15 @@ var PresentationDropdownOption = /** @class */ (function () {
|
|
|
16
16
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
17
17
|
*/
|
|
18
18
|
function PresentationDropdownOption(_a) {
|
|
19
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
19
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d;
|
|
20
20
|
var _this = this;
|
|
21
21
|
this.id = '';
|
|
22
22
|
this.setItemId = function (id) {
|
|
23
23
|
_this.id = "PresentationDropdownOption_".concat(id);
|
|
24
24
|
};
|
|
25
|
+
if (id) {
|
|
26
|
+
this.id = id;
|
|
27
|
+
}
|
|
25
28
|
this.label = label;
|
|
26
29
|
this.icon = icon;
|
|
27
30
|
this.onClick = onClick;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/presentation-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAKvD,uCAAuC;AAEvC;IAWE;;;;;;;;;;OAUG;IACH,oCAAY,EAEsB;YADhC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/presentation-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAKvD,uCAAuC;AAEvC;IAWE;;;;;;;;;;OAUG;IACH,oCAAY,EAEsB;YADhC,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD/C,iBAUC;QA/BD,OAAE,GAAW,EAAE,CAAC;QAiChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,qCAA8B,EAAE,CAAE,CAAC;QAC/C,CAAC,CAAC;QAXA,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,IAAI,GAAG,oCAA4B,CAAC,MAAM,CAAC;IAClD,CAAC;IAKH,iCAAC;AAAD,CAAC,AArCD,IAqCC;AArCY,gEAA0B;AAuCvC;IAKE;;;;;OAKG;IACH;QAAA,iBAEC;QAZD,OAAE,GAAW,EAAE,CAAC;QAchB,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,AAlBD,IAkBC;AAlBY,sEAA6B"}
|
|
@@ -9,6 +9,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
9
9
|
export interface PresentationDropdownInterface extends PluginProvidedUiItemDescriptor {
|
|
10
10
|
}
|
|
11
11
|
export interface PresentationDropdownOptionProps {
|
|
12
|
+
id?: string;
|
|
12
13
|
label: string;
|
|
13
14
|
icon: string;
|
|
14
15
|
onClick: () => void;
|
|
@@ -19,7 +19,7 @@ export declare class PresentationToolbarButton implements PresentationToolbarInt
|
|
|
19
19
|
*
|
|
20
20
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
21
21
|
*/
|
|
22
|
-
constructor({ label, tooltip, onClick, style, }: PresentationToolbarButtonProps);
|
|
22
|
+
constructor({ id, label, tooltip, onClick, style, }: PresentationToolbarButtonProps);
|
|
23
23
|
setItemId: (id: string) => void;
|
|
24
24
|
}
|
|
25
25
|
export declare class PresentationToolbarSpinner implements PresentationToolbarInterface {
|
|
@@ -16,12 +16,15 @@ var PresentationToolbarButton = /** @class */ (function () {
|
|
|
16
16
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
17
17
|
*/
|
|
18
18
|
function PresentationToolbarButton(_a) {
|
|
19
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.tooltip, tooltip = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.style, style = _e === void 0 ? {} : _e;
|
|
19
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.tooltip, tooltip = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.style, style = _e === void 0 ? {} : _e;
|
|
20
20
|
var _this = this;
|
|
21
21
|
this.id = '';
|
|
22
22
|
this.setItemId = function (id) {
|
|
23
23
|
_this.id = "PresentationToolbarButton_".concat(id);
|
|
24
24
|
};
|
|
25
|
+
if (id) {
|
|
26
|
+
this.id = id;
|
|
27
|
+
}
|
|
25
28
|
this.label = label;
|
|
26
29
|
this.tooltip = tooltip;
|
|
27
30
|
this.onClick = onClick;
|
|
@@ -42,7 +45,7 @@ var PresentationToolbarSpinner = /** @class */ (function () {
|
|
|
42
45
|
var _this = this;
|
|
43
46
|
this.id = '';
|
|
44
47
|
this.setItemId = function (id) {
|
|
45
|
-
_this.id = "
|
|
48
|
+
_this.id = "PresentationToolbarSpinner_".concat(id);
|
|
46
49
|
};
|
|
47
50
|
this.type = enums_1.PresentationToolbarItemType.SPINNER;
|
|
48
51
|
}
|
|
@@ -60,7 +63,7 @@ var PresentationToolbarSeparator = /** @class */ (function () {
|
|
|
60
63
|
var _this = this;
|
|
61
64
|
this.id = '';
|
|
62
65
|
this.setItemId = function (id) {
|
|
63
|
-
_this.id = "
|
|
66
|
+
_this.id = "PresentationToolbarSeparator_".concat(id);
|
|
64
67
|
};
|
|
65
68
|
this.type = enums_1.PresentationToolbarItemType.SEPARATOR;
|
|
66
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/presentation-toolbar-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAsD;AAKtD,sCAAsC;AAEtC;IAaE;;;;;;;;;;OAUG;IACH,mCAAY,EAEqB;YAD/B,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/presentation-toolbar-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAsD;AAKtD,sCAAsC;AAEtC;IAaE;;;;;;;;;;OAUG;IACH,mCAAY,EAEqB;YAD/B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA;QAD9D,iBAWC;QAlCD,OAAE,GAAW,EAAE,CAAC;QAoChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,oCAA6B,EAAE,CAAE,CAAC;QAC9C,CAAC,CAAC;QAZA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,mCAA2B,CAAC,MAAM,CAAC;IACjD,CAAC;IAKH,gCAAC;AAAD,CAAC,AAxCD,IAwCC;AAxCY,8DAAyB;AA0CtC;IAKE;;;;;OAKG;IACH;QAAA,iBAEC;QAZD,OAAE,GAAW,EAAE,CAAC;QAchB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,qCAA8B,EAAE,CAAE,CAAC;QAC/C,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,mCAA2B,CAAC,OAAO,CAAC;IAClD,CAAC;IAKH,iCAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,gEAA0B;AAoBvC;IAKE;;;;;OAKG;IACH;QAAA,iBAEC;QAZD,OAAE,GAAW,EAAE,CAAC;QAchB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,uCAAgC,EAAE,CAAE,CAAC;QACjD,CAAC,CAAC;QALA,IAAI,CAAC,IAAI,GAAG,mCAA2B,CAAC,SAAS,CAAC;IACpD,CAAC;IAKH,mCAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,oEAA4B"}
|
|
@@ -6,6 +6,7 @@ import { PluginProvidedUiItemDescriptor } from '../base';
|
|
|
6
6
|
export interface PresentationToolbarInterface extends PluginProvidedUiItemDescriptor {
|
|
7
7
|
}
|
|
8
8
|
export interface PresentationToolbarButtonProps {
|
|
9
|
+
id?: string;
|
|
9
10
|
label: string;
|
|
10
11
|
tooltip: string;
|
|
11
12
|
style: React.CSSProperties;
|
|
@@ -25,6 +25,6 @@ export declare class ScreenshareHelperButton implements ScreenshareHelperButtonI
|
|
|
25
25
|
*
|
|
26
26
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
27
27
|
*/
|
|
28
|
-
constructor({ label, icon, tooltip, disabled, onClick, position, }: ScreenshareHelperButtonProps);
|
|
28
|
+
constructor({ id, label, icon, tooltip, disabled, onClick, position, }: ScreenshareHelperButtonProps);
|
|
29
29
|
setItemId: (id: string) => void;
|
|
30
30
|
}
|
|
@@ -21,12 +21,15 @@ var ScreenshareHelperButton = /** @class */ (function () {
|
|
|
21
21
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
22
22
|
*/
|
|
23
23
|
function ScreenshareHelperButton(_a) {
|
|
24
|
-
var _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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.ScreenshareHelperItemPosition.TOP_RIGHT : _g;
|
|
24
|
+
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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.ScreenshareHelperItemPosition.TOP_RIGHT : _g;
|
|
25
25
|
var _this = this;
|
|
26
26
|
this.id = '';
|
|
27
27
|
this.setItemId = function (id) {
|
|
28
28
|
_this.id = "ScreenshareHelperButton_".concat(id);
|
|
29
29
|
};
|
|
30
|
+
if (id) {
|
|
31
|
+
this.id = id;
|
|
32
|
+
}
|
|
30
33
|
this.label = label;
|
|
31
34
|
this.icon = icon;
|
|
32
35
|
this.tooltip = tooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/screenshare-helper-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAmF;AAOnF,oCAAoC;AAEpC;IAiBE;;;;;;;;;;;;;;;OAeG;IACH,iCAAY,EAGmB;YAF7B,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/screenshare-helper-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAmF;AAOnF,oCAAoC;AAEpC;IAiBE;;;;;;;;;;;;;;;OAeG;IACH,iCAAY,EAGmB;YAF7B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAC5E,gBAAkD,EAAlD,QAAQ,mBAAG,qCAA6B,CAAC,SAAS,KAAA;QAFpD,iBAcC;QA9CD,OAAE,GAAW,EAAE,CAAC;QAgDhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,kCAA2B,EAAE,CAAE,CAAC;QAC5C,CAAC,CAAC;QAdA,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,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,iCAAyB,CAAC,MAAM,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAKH,8BAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,0DAAuB"}
|
|
@@ -16,6 +16,7 @@ export interface ScreenshareHelperButtonInterface extends ScreenshareHelperInter
|
|
|
16
16
|
onClick: (args: ScreenshareHelperButtonOnclickCallback) => void;
|
|
17
17
|
}
|
|
18
18
|
export interface ScreenshareHelperButtonProps {
|
|
19
|
+
id?: string;
|
|
19
20
|
label?: string;
|
|
20
21
|
icon: string;
|
|
21
22
|
tooltip: string;
|
|
@@ -17,7 +17,7 @@ export declare class UserCameraDropdownOption implements UserCameraDropdownInter
|
|
|
17
17
|
*
|
|
18
18
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
19
19
|
*/
|
|
20
|
-
constructor({ label, icon, onClick, displayFunction, }: UserCameraDropdownOptionProps);
|
|
20
|
+
constructor({ id, label, icon, onClick, displayFunction, }: UserCameraDropdownOptionProps);
|
|
21
21
|
setItemId: (id: string) => void;
|
|
22
22
|
}
|
|
23
23
|
export declare class UserCameraDropdownSeparator implements UserCameraDropdownInterface {
|
|
@@ -15,12 +15,15 @@ var UserCameraDropdownOption = /** @class */ (function () {
|
|
|
15
15
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
|
|
16
16
|
*/
|
|
17
17
|
function UserCameraDropdownOption(_a) {
|
|
18
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.displayFunction, displayFunction = _e === void 0 ? function () { return true; } : _e;
|
|
18
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.displayFunction, displayFunction = _e === void 0 ? function () { return true; } : _e;
|
|
19
19
|
var _this = this;
|
|
20
20
|
this.id = '';
|
|
21
21
|
this.setItemId = function (id) {
|
|
22
22
|
_this.id = "UserCameraDropdownOption_".concat(id);
|
|
23
23
|
};
|
|
24
|
+
if (id) {
|
|
25
|
+
this.id = id;
|
|
26
|
+
}
|
|
24
27
|
this.displayFunction = displayFunction;
|
|
25
28
|
this.label = label;
|
|
26
29
|
this.icon = icon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-camera-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAqD;AAQrD,qCAAqC;AAErC;IAaE;;;;;;;;;OASG;IACH,kCAAY,EAGoB;YAF9B,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-camera-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAqD;AAQrD,qCAAqC;AAErC;IAaE;;;;;;;;;OASG;IACH,kCAAY,EAGoB;YAF9B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAC7C,uBAA4B,EAA5B,eAAe,mBAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,KAAA;QAF9B,iBAYC;QAlCD,OAAE,GAAW,EAAE,CAAC;QAoChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,mCAA4B,EAAE,CAAE,CAAC;QAC7C,CAAC,CAAC;QAZA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,kCAA0B,CAAC,MAAM,CAAC;IAChD,CAAC;IAKH,+BAAC;AAAD,CAAC,AAxCD,IAwCC;AAxCY,4DAAwB;AA0CrC;IAOE;;;;;OAKG;IACH,qCAAY,EAEyD;YAFzD,qBAE0B,EAAE,eAAe,EAAE,cAAM,OAAA,IAAI,EAAJ,CAAI,EAAE,KAAA,EADnE,eAAe,qBAAA;QADjB,iBAKC;QAjBD,OAAE,GAAW,EAAE,CAAC;QAmBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,sCAA+B,EAAE,CAAE,CAAC;QAChD,CAAC,CAAC;QANA,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,kCAA0B,CAAC,SAAS,CAAC;IACnD,CAAC;IAKH,kCAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBY,kEAA2B"}
|
|
@@ -20,6 +20,7 @@ export interface UserCameraDropdownSeparatorProps {
|
|
|
20
20
|
displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean;
|
|
21
21
|
}
|
|
22
22
|
export interface UserCameraDropdownOptionProps {
|
|
23
|
+
id?: string;
|
|
23
24
|
label: string;
|
|
24
25
|
icon: string;
|
|
25
26
|
onClick: (args: OnclickFunctionCallbackArguments) => void;
|
|
@@ -26,6 +26,6 @@ export declare class UserCameraHelperButton implements UserCameraHelperButtonInt
|
|
|
26
26
|
*
|
|
27
27
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
28
28
|
*/
|
|
29
|
-
constructor({ label, icon, tooltip, disabled, onClick, position, displayFunction, }: UserCameraHelperButtonProps);
|
|
29
|
+
constructor({ id, label, icon, tooltip, disabled, onClick, position, displayFunction, }: UserCameraHelperButtonProps);
|
|
30
30
|
setItemId: (id: string) => void;
|
|
31
31
|
}
|
|
@@ -21,12 +21,15 @@ var UserCameraHelperButton = /** @class */ (function () {
|
|
|
21
21
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
22
22
|
*/
|
|
23
23
|
function UserCameraHelperButton(_a) {
|
|
24
|
-
var _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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.UserCameraHelperItemPosition.TOP_RIGHT : _g, displayFunction = _a.displayFunction;
|
|
24
|
+
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.disabled, disabled = _e === void 0 ? true : _e, _f = _a.onClick, onClick = _f === void 0 ? function () { } : _f, _g = _a.position, position = _g === void 0 ? enums_1.UserCameraHelperItemPosition.TOP_RIGHT : _g, displayFunction = _a.displayFunction;
|
|
25
25
|
var _this = this;
|
|
26
26
|
this.id = '';
|
|
27
27
|
this.setItemId = function (id) {
|
|
28
28
|
_this.id = "UserCameraHelperButton_".concat(id);
|
|
29
29
|
};
|
|
30
|
+
if (id) {
|
|
31
|
+
this.id = id;
|
|
32
|
+
}
|
|
30
33
|
this.label = label;
|
|
31
34
|
this.icon = icon;
|
|
32
35
|
this.tooltip = tooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-camera-helper-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAiF;AAQjF,mCAAmC;AAEnC;IAmBE;;;;;;;;;;;;;;;OAeG;IACH,gCAAY,EAGkB;YAF5B,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-camera-helper-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAiF;AAQjF,mCAAmC;AAEnC;IAmBE;;;;;;;;;;;;;;;OAeG;IACH,gCAAY,EAGkB;YAF5B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EAAE,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAC5E,gBAAiD,EAAjD,QAAQ,mBAAG,oCAA4B,CAAC,SAAS,KAAA,EAAE,eAAe,qBAAA;QAFpE,iBAeC;QAjDD,OAAE,GAAW,EAAE,CAAC;QAmDhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,iCAA0B,EAAE,CAAE,CAAC;QAC3C,CAAC,CAAC;QAfA,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,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,gCAAwB,CAAC,MAAM,CAAC;QAC5C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAKH,6BAAC;AAAD,CAAC,AAvDD,IAuDC;AAvDY,wDAAsB"}
|
|
@@ -23,6 +23,7 @@ export interface UserCameraHelperButtonInterface extends UserCameraHelperInterfa
|
|
|
23
23
|
onClick: (args: UserCameraHelperButtonOnclickCallback) => void;
|
|
24
24
|
}
|
|
25
25
|
export interface UserCameraHelperButtonProps {
|
|
26
|
+
id?: string;
|
|
26
27
|
label?: string;
|
|
27
28
|
icon: string;
|
|
28
29
|
tooltip: string;
|
|
@@ -68,7 +68,7 @@ export declare class UserListDropdownFixedContentInformation implements UserList
|
|
|
68
68
|
*
|
|
69
69
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
70
70
|
*/
|
|
71
|
-
constructor({ label, icon, iconRight, allowed, userId, textColor, }: UserListDropdownFixedContentInformationProps);
|
|
71
|
+
constructor({ id, label, icon, iconRight, allowed, userId, textColor, }: UserListDropdownFixedContentInformationProps);
|
|
72
72
|
setItemId: (id: string) => void;
|
|
73
73
|
}
|
|
74
74
|
export declare class UserListDropdownGenericContentInformation implements UserListDropdownInterface {
|
|
@@ -93,7 +93,7 @@ export declare class UserListDropdownGenericContentInformation implements UserLi
|
|
|
93
93
|
*
|
|
94
94
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
95
95
|
*/
|
|
96
|
-
constructor({ contentFunction, allowed, userId, }: UserListDropdownGenericContentInformationProps);
|
|
96
|
+
constructor({ id, contentFunction, allowed, userId, }: UserListDropdownGenericContentInformationProps);
|
|
97
97
|
setItemId: (id: string) => void;
|
|
98
98
|
}
|
|
99
99
|
export declare class UserListDropdownTitleAction implements UserListDropdownInterface {
|
|
@@ -116,6 +116,6 @@ export declare class UserListDropdownTitleAction implements UserListDropdownInte
|
|
|
116
116
|
*
|
|
117
117
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
118
118
|
*/
|
|
119
|
-
constructor({ icon, userId, onClick, tooltip, }: UserListDropdownTitleActionProps);
|
|
119
|
+
constructor({ id, icon, userId, onClick, tooltip, }: UserListDropdownTitleActionProps);
|
|
120
120
|
setItemId: (id: string) => void;
|
|
121
121
|
}
|
|
@@ -79,12 +79,15 @@ var UserListDropdownFixedContentInformation = /** @class */ (function () {
|
|
|
79
79
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
80
80
|
*/
|
|
81
81
|
function UserListDropdownFixedContentInformation(_a) {
|
|
82
|
-
var _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.iconRight, iconRight = _d === void 0 ? '' : _d, _e = _a.allowed, allowed = _e === void 0 ? true : _e, _f = _a.userId, userId = _f === void 0 ? '' : _f, _g = _a.textColor, textColor = _g === void 0 ? '' : _g;
|
|
82
|
+
var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.iconRight, iconRight = _d === void 0 ? '' : _d, _e = _a.allowed, allowed = _e === void 0 ? true : _e, _f = _a.userId, userId = _f === void 0 ? '' : _f, _g = _a.textColor, textColor = _g === void 0 ? '' : _g;
|
|
83
83
|
var _this = this;
|
|
84
84
|
this.id = '';
|
|
85
85
|
this.setItemId = function (id) {
|
|
86
86
|
_this.id = "UserListDropdownFixedContentInformation_".concat(id);
|
|
87
87
|
};
|
|
88
|
+
if (id) {
|
|
89
|
+
this.id = id;
|
|
90
|
+
}
|
|
88
91
|
this.userId = userId;
|
|
89
92
|
this.label = label;
|
|
90
93
|
this.icon = icon;
|
|
@@ -114,12 +117,15 @@ var UserListDropdownGenericContentInformation = /** @class */ (function () {
|
|
|
114
117
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
115
118
|
*/
|
|
116
119
|
function UserListDropdownGenericContentInformation(_a) {
|
|
117
|
-
var contentFunction = _a.contentFunction, _b = _a.allowed, allowed = _b === void 0 ? true : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c;
|
|
120
|
+
var id = _a.id, contentFunction = _a.contentFunction, _b = _a.allowed, allowed = _b === void 0 ? true : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c;
|
|
118
121
|
var _this = this;
|
|
119
122
|
this.id = '';
|
|
120
123
|
this.setItemId = function (id) {
|
|
121
124
|
_this.id = "UserListDropdownGenericContentInformation_".concat(id);
|
|
122
125
|
};
|
|
126
|
+
if (id) {
|
|
127
|
+
this.id = id;
|
|
128
|
+
}
|
|
123
129
|
this.userId = userId;
|
|
124
130
|
this.allowed = allowed;
|
|
125
131
|
this.contentFunction = contentFunction;
|
|
@@ -143,12 +149,15 @@ var UserListDropdownTitleAction = /** @class */ (function () {
|
|
|
143
149
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
144
150
|
*/
|
|
145
151
|
function UserListDropdownTitleAction(_a) {
|
|
146
|
-
var _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c, onClick = _a.onClick, tooltip = _a.tooltip;
|
|
152
|
+
var id = _a.id, _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c, onClick = _a.onClick, tooltip = _a.tooltip;
|
|
147
153
|
var _this = this;
|
|
148
154
|
this.id = '';
|
|
149
155
|
this.setItemId = function (id) {
|
|
150
156
|
_this.id = "UserListDropdownTitleAction_".concat(id);
|
|
151
157
|
};
|
|
158
|
+
if (id) {
|
|
159
|
+
this.id = id;
|
|
160
|
+
}
|
|
152
161
|
this.userId = userId;
|
|
153
162
|
this.icon = icon;
|
|
154
163
|
this.tooltip = tooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-list-dropdown-item/component.ts"],"names":[],"mappings":";;;AAQA,iCAAsF;AAEtF,mCAAmC;AAEnC;IAiBE;;;;;;;;;;;;;OAaG;IACH,gCAAY,EAGkB;YAF5B,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,EACvE,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA;QAFb,iBAWC;QAzCD,OAAE,GAAW,EAAE,CAAC;QA2ChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,iCAA0B,EAAE,CAAE,CAAC;QAC3C,CAAC,CAAC;QAXA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,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,gCAAwB,CAAC,MAAM,CAAC;IAC9C,CAAC;IAKH,6BAAC;AAAD,CAAC,AA/CD,IA+CC;AA/CY,wDAAsB;AAiDnC;IASE;;;;;;;;OAQG;IACH,mCAAY,EAAmG;YAAjG,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EAAE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AAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,gCAAwB,CAAC,2BAA2B,CAAC;IACnE,CAAC;IAKH,gDAAC;AAAD,CAAC,AA5CD,IA4CC;AA5CY,8FAAyC;AA8CtD;IAaE;;;;;;;;;;;;OAYG;IACH,qCAAY,EAEuB;YADjC,EAAE,QAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EAAE,OAAO,aAAA,EAAE,OAAO,aAAA;QAD9C,iBAWC;QApCD,OAAE,GAAW,EAAE,CAAC;QAsChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,sCAA+B,EAAE,CAAE,CAAC;QAChD,CAAC,CAAC;QAZA,IAAI,EAAE,EAAE;YACN,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,gCAAwB,CAAC,YAAY,CAAC;IACpD,CAAC;IAKH,kCAAC;AAAD,CAAC,AA1CD,IA0CC;AA1CY,kEAA2B"}
|
|
@@ -24,11 +24,13 @@ export interface UserListDropdownSeparatorProps {
|
|
|
24
24
|
position?: UserListDropdownSeparatorPosition;
|
|
25
25
|
}
|
|
26
26
|
export interface UserListDropdownGenericContentInformationProps {
|
|
27
|
+
id?: string;
|
|
27
28
|
contentFunction: (element: HTMLElement) => void;
|
|
28
29
|
allowed: boolean;
|
|
29
30
|
userId: string;
|
|
30
31
|
}
|
|
31
32
|
export interface UserListDropdownFixedContentInformationProps {
|
|
33
|
+
id?: string;
|
|
32
34
|
label: string;
|
|
33
35
|
icon?: string;
|
|
34
36
|
iconRight?: string;
|
|
@@ -40,6 +42,7 @@ export interface UserListDropdownTitleActionOnClickArguments {
|
|
|
40
42
|
browserEvent: React.MouseEvent<HTMLElement>;
|
|
41
43
|
}
|
|
42
44
|
export interface UserListDropdownTitleActionProps {
|
|
45
|
+
id?: string;
|
|
43
46
|
tooltip: string;
|
|
44
47
|
icon: string;
|
|
45
48
|
userId: string;
|
|
@@ -16,7 +16,7 @@ export declare class UserListItemIcon implements UserListItemAdditionalInformati
|
|
|
16
16
|
*
|
|
17
17
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
18
18
|
*/
|
|
19
|
-
constructor({ icon, userId, }: UserListItemIconProps);
|
|
19
|
+
constructor({ id, icon, userId, }: UserListItemIconProps);
|
|
20
20
|
setItemId: (id: string) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare class UserListItemLabel implements UserListItemAdditionalInformationInterface {
|
|
@@ -37,6 +37,6 @@ export declare class UserListItemLabel implements UserListItemAdditionalInformat
|
|
|
37
37
|
*
|
|
38
38
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
39
39
|
*/
|
|
40
|
-
constructor({ icon, userId, label, }: UserListItemLabelProps);
|
|
40
|
+
constructor({ id, icon, userId, label, }: UserListItemLabelProps);
|
|
41
41
|
setItemId: (id: string) => void;
|
|
42
42
|
}
|
|
@@ -16,12 +16,15 @@ var UserListItemIcon = /** @class */ (function () {
|
|
|
16
16
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
17
17
|
*/
|
|
18
18
|
function UserListItemIcon(_a) {
|
|
19
|
-
var _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c;
|
|
19
|
+
var id = _a.id, _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c;
|
|
20
20
|
var _this = this;
|
|
21
21
|
this.id = '';
|
|
22
22
|
this.setItemId = function (id) {
|
|
23
23
|
_this.id = "UserListItemIcon_".concat(id);
|
|
24
24
|
};
|
|
25
|
+
if (id) {
|
|
26
|
+
this.id = id;
|
|
27
|
+
}
|
|
25
28
|
this.icon = icon;
|
|
26
29
|
this.userId = userId;
|
|
27
30
|
this.type = enums_1.UserListItemAdditionalInformationType.ICON;
|
|
@@ -43,12 +46,15 @@ var UserListItemLabel = /** @class */ (function () {
|
|
|
43
46
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
44
47
|
*/
|
|
45
48
|
function UserListItemLabel(_a) {
|
|
46
|
-
var _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c, _d = _a.label, label = _d === void 0 ? '' : _d;
|
|
49
|
+
var id = _a.id, _b = _a.icon, icon = _b === void 0 ? '' : _b, _c = _a.userId, userId = _c === void 0 ? '' : _c, _d = _a.label, label = _d === void 0 ? '' : _d;
|
|
47
50
|
var _this = this;
|
|
48
51
|
this.id = '';
|
|
49
52
|
this.setItemId = function (id) {
|
|
50
53
|
_this.id = "UserListItemLabel_".concat(id);
|
|
51
54
|
};
|
|
55
|
+
if (id) {
|
|
56
|
+
this.id = id;
|
|
57
|
+
}
|
|
52
58
|
this.icon = icon;
|
|
53
59
|
this.label = label;
|
|
54
60
|
this.userId = userId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-list-item-additional-information/component.ts"],"names":[],"mappings":";;;AAAA,iCAAgE;AAMhE,oDAAoD;AAEpD;IASE;;;;;;;;;;OAUG;IACH,0BAAY,EAEY;YADtB,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-list-item-additional-information/component.ts"],"names":[],"mappings":";;;AAAA,iCAAgE;AAMhE,oDAAoD;AAEpD;IASE;;;;;;;;;;OAU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|
@@ -11,10 +11,12 @@ export interface UserListItemAdditionalInformationInterface extends PluginProvid
|
|
|
11
11
|
userId: string;
|
|
12
12
|
}
|
|
13
13
|
export interface UserListItemIconProps {
|
|
14
|
+
id?: string;
|
|
14
15
|
userId: string;
|
|
15
16
|
icon: string;
|
|
16
17
|
}
|
|
17
18
|
export interface UserListItemLabelProps {
|
|
19
|
+
id?: string;
|
|
18
20
|
userId: string;
|
|
19
21
|
icon: string;
|
|
20
22
|
label: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GetDataSource = (dataSourceName: string) => Promise<object>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/remote-data/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getRemoteData: (dataSourceName: string, pluginName: string) => Promise<Response>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRemoteData = void 0;
|
|
4
|
+
var getRemoteData = function (dataSourceName, pluginName) {
|
|
5
|
+
var _a;
|
|
6
|
+
return fetch("/api/plugin/".concat(pluginName, "/").concat(dataSourceName, "/"), {
|
|
7
|
+
credentials: 'include',
|
|
8
|
+
headers: {
|
|
9
|
+
'x-session-token': (_a = new URLSearchParams(window.location.search).get('sessionToken')) !== null && _a !== void 0 ? _a : '',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
exports.getRemoteData = getRemoteData;
|
|
14
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/remote-data/utils.ts"],"names":[],"mappings":";;;AAAO,IAAM,aAAa,GAAG,UAAC,cAAsB,EAAE,UAAkB;;IAAK,OAAA,KAAK,CAAC,sBAAe,UAAU,cAAI,cAAc,MAAG,EAAE;QACjI,WAAW,EAAE,SAAS;QACtB,OAAO,EAAE;YACP,iBAAiB,EAAE,MAAA,IAAI,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,mCAAI,EAAE;SACzF;KACF,CAAC,CAAA;CAAA,CAAC;AALU,QAAA,aAAa,iBAKvB"}
|