bigbluebutton-html-plugin-sdk 0.0.59 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/extensible-areas/floating-window/component.d.ts +5 -3
- package/dist/cjs/extensible-areas/floating-window/component.js +3 -2
- package/dist/cjs/extensible-areas/floating-window/component.js.map +1 -1
- package/dist/cjs/extensible-areas/floating-window/types.d.ts +2 -1
- package/dist/cjs/extensible-areas/generic-content-item/component.d.ts +4 -3
- package/dist/cjs/extensible-areas/generic-content-item/component.js +1 -1
- package/dist/cjs/extensible-areas/generic-content-item/component.js.map +1 -1
- package/dist/cjs/extensible-areas/generic-content-item/types.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as ReactDOM from 'react-dom/client';
|
|
1
2
|
import { FloatingWindowType } from './enums';
|
|
2
3
|
import { FloatingWindowInterface, FloatingWindowProps } from './types';
|
|
3
4
|
export declare class FloatingWindow implements FloatingWindowInterface {
|
|
@@ -8,19 +9,20 @@ export declare class FloatingWindow implements FloatingWindowInterface {
|
|
|
8
9
|
movable: boolean;
|
|
9
10
|
backgroundColor: string;
|
|
10
11
|
boxShadow: string;
|
|
11
|
-
contentFunction: (element: HTMLElement) =>
|
|
12
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
12
13
|
/**
|
|
13
14
|
* Returns object to be used in the setter for the Floating Window
|
|
14
15
|
*
|
|
15
16
|
* @param top - position in which the the top left corner of the floating window is relative
|
|
16
|
-
* to the top of the rendered window.
|
|
17
|
+
* to the top of the rendered window. It must return the root element where the floating window
|
|
18
|
+
* was rendered.
|
|
17
19
|
* @param left - position in which the the top left corner of the floating window is relative
|
|
18
20
|
* to the left of the rendered window.
|
|
19
21
|
* @param movable - tells whether the floating window is movable or static.
|
|
20
22
|
* @param backgroundColor - background color of the floating window.
|
|
21
23
|
* @param boxShadow - box shadow to apply to the floating window
|
|
22
24
|
* @param contentFunction - function that gives the html element to render the content of
|
|
23
|
-
* the floating window
|
|
25
|
+
* the floating window. It must return the root element where the floating window was rendered.
|
|
24
26
|
*
|
|
25
27
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
26
28
|
*/
|
|
@@ -8,14 +8,15 @@ var FloatingWindow = /** @class */ (function () {
|
|
|
8
8
|
* Returns object to be used in the setter for the Floating Window
|
|
9
9
|
*
|
|
10
10
|
* @param top - position in which the the top left corner of the floating window is relative
|
|
11
|
-
* to the top of the rendered window.
|
|
11
|
+
* to the top of the rendered window. It must return the root element where the floating window
|
|
12
|
+
* was rendered.
|
|
12
13
|
* @param left - position in which the the top left corner of the floating window is relative
|
|
13
14
|
* to the left of the rendered window.
|
|
14
15
|
* @param movable - tells whether the floating window is movable or static.
|
|
15
16
|
* @param backgroundColor - background color of the floating window.
|
|
16
17
|
* @param boxShadow - box shadow to apply to the floating window
|
|
17
18
|
* @param contentFunction - function that gives the html element to render the content of
|
|
18
|
-
* the floating window
|
|
19
|
+
* the floating window. It must return the root element where the floating window was rendered.
|
|
19
20
|
*
|
|
20
21
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
21
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;
|
|
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,EAOU;YANpB,GAAG,SAAA,EACH,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,eAAe,qBAAA,EACf,SAAS,eAAA,EACT,eAAe,qBAAA;QANjB,iBAgBC;QAhDD,OAAE,GAAW,EAAE,CAAC;QAkDhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,yBAAkB,EAAE,CAAE,CAAC;QACnC,CAAC,CAAC;QAZA,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,AAtDD,IAsDC;AAtDY,wCAAc"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as ReactDOM from 'react-dom/client';
|
|
1
2
|
import { PluginProvidedUiItemDescriptor } from '../base';
|
|
2
3
|
export interface FloatingWindowInterface extends PluginProvidedUiItemDescriptor {
|
|
3
4
|
}
|
|
@@ -7,6 +8,6 @@ export interface FloatingWindowProps {
|
|
|
7
8
|
movable: boolean;
|
|
8
9
|
backgroundColor: string;
|
|
9
10
|
boxShadow: string;
|
|
10
|
-
contentFunction: (element: HTMLElement) =>
|
|
11
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
11
12
|
}
|
|
12
13
|
export type SetFloatingWindows = (FloatingWindows: FloatingWindowInterface[]) => void;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import * as ReactDOM from 'react-dom/client';
|
|
1
2
|
import { GenericContentType } from './enums';
|
|
2
3
|
import { GenericContentInterface, GenericContentMainAreaProps, GenericContentSidekickAreaProps } from './types';
|
|
3
4
|
export declare class GenericContentMainArea implements GenericContentInterface {
|
|
4
5
|
id: string;
|
|
5
6
|
type: GenericContentType;
|
|
6
|
-
contentFunction: (element: HTMLElement) =>
|
|
7
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
7
8
|
/**
|
|
8
9
|
* Returns an object that when used in the setter as a generic content will be rendered
|
|
9
10
|
* over the meeting main presentation.
|
|
@@ -23,7 +24,7 @@ export declare class GenericContentSidekickArea implements GenericContentInterfa
|
|
|
23
24
|
section: string;
|
|
24
25
|
buttonIcon: string;
|
|
25
26
|
open: boolean;
|
|
26
|
-
contentFunction: (element: HTMLElement) =>
|
|
27
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
27
28
|
/**
|
|
28
29
|
* Returns an object that when used in the setter as a generic content will be rendered
|
|
29
30
|
* in the sidekick panel. Every generic sidekick content has an intrinsic button associated,
|
|
@@ -31,7 +32,7 @@ export declare class GenericContentSidekickArea implements GenericContentInterfa
|
|
|
31
32
|
* given generic sidekick content.
|
|
32
33
|
*
|
|
33
34
|
* @param contentFunction - function that gives the html element to render the content of
|
|
34
|
-
* the generic
|
|
35
|
+
* the generic content. It must return the root element where the generic content was rendered.
|
|
35
36
|
* @param name - the label of the associated sidebar navigation button
|
|
36
37
|
* @param section - section name under which the associated sidebar navigation button will be
|
|
37
38
|
* displayed
|
|
@@ -34,7 +34,7 @@ var GenericContentSidekickArea = /** @class */ (function () {
|
|
|
34
34
|
* given generic sidekick content.
|
|
35
35
|
*
|
|
36
36
|
* @param contentFunction - function that gives the html element to render the content of
|
|
37
|
-
* the generic
|
|
37
|
+
* the generic content. It must return the root element where the generic content was rendered.
|
|
38
38
|
* @param name - the label of the associated sidebar navigation button
|
|
39
39
|
* @param section - section name under which the associated sidebar navigation button will be
|
|
40
40
|
* displayed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-content-item/component.ts"],"names":[],"mappings":";;;
|
|
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;QADjB,iBAKC;QApBD,OAAE,GAAW,EAAE,CAAC;QAsBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACf,CAAC,CAAC;QANA,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAKH,6BAAC;AAAD,CAAC,AA1BD,IA0BC;AA1BY,wDAAsB;AA4BnC;IAeE;;;;;;;;;;;;;;;OAeG;IACH,oCAAY,EAEsB;YADhC,eAAe,qBAAA,EAAE,IAAI,UAAA,EAAE,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,IAAI,UAAA;QADlD,iBASC;QAvCD,OAAE,GAAW,EAAE,CAAC;QAIhB,SAAI,GAAW,EAAE,CAAC;QAElB,YAAO,GAAW,EAAE,CAAC;QAErB,eAAU,GAAW,EAAE,CAAC;QAExB,SAAI,GAAY,KAAK,CAAC;QA+BtB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACf,CAAC,CAAC;QAVA,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,AA7CD,IA6CC;AA7CY,gEAA0B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import * as ReactDOM from 'react-dom/client';
|
|
1
2
|
import { PluginProvidedUiItemDescriptor } from '../base';
|
|
2
3
|
export interface GenericContentInterface extends PluginProvidedUiItemDescriptor {
|
|
3
4
|
}
|
|
4
5
|
export interface GenericContentMainAreaProps {
|
|
5
|
-
contentFunction: (element: HTMLElement) =>
|
|
6
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
6
7
|
}
|
|
7
8
|
export interface GenericContentSidekickAreaProps {
|
|
8
|
-
contentFunction: (element: HTMLElement) =>
|
|
9
|
+
contentFunction: (element: HTMLElement) => ReactDOM.Root;
|
|
9
10
|
name: string;
|
|
10
11
|
section: string;
|
|
11
12
|
buttonIcon: string;
|