bigbluebutton-html-plugin-sdk 0.0.38 → 0.0.39
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/data-channel/types.d.ts +5 -1
- package/dist/cjs/extensible-areas/floating-window/component.d.ts +1 -2
- package/dist/cjs/extensible-areas/floating-window/component.js +1 -2
- package/dist/cjs/extensible-areas/floating-window/component.js.map +1 -1
- package/dist/cjs/extensible-areas/generic-component/component.d.ts +2 -3
- package/dist/cjs/extensible-areas/generic-component/component.js +2 -3
- package/dist/cjs/extensible-areas/generic-component/component.js.map +1 -1
- package/dist/cjs/extensible-areas/generic-component/enums.d.ts +1 -1
- package/dist/cjs/extensible-areas/generic-component/enums.js +2 -2
- package/dist/cjs/extensible-areas/generic-component/enums.js.map +1 -1
- package/dist/cjs/ui-data-hooks/index.d.ts +1 -0
- package/dist/cjs/ui-data-hooks/index.js +1 -0
- package/dist/cjs/ui-data-hooks/index.js.map +1 -1
- package/dist/cjs/ui-data-hooks/layout/index.d.ts +1 -0
- package/dist/cjs/ui-data-hooks/layout/index.js +7 -0
- package/dist/cjs/ui-data-hooks/layout/index.js.map +1 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/enums.d.ts +10 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/enums.js +16 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/enums.js.map +1 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/types.d.ts +7 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/types.js +4 -0
- package/dist/cjs/ui-data-hooks/layout/presentation-area/types.js.map +1 -0
- package/dist/cjs/ui-data-hooks/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -37,4 +37,8 @@ export interface DataChannelMessagesWrapper<T> {
|
|
|
37
37
|
pluginDataChannelMessage: DataChannelMessageResponseType<T>[];
|
|
38
38
|
}
|
|
39
39
|
export type UseDataChannelFunctionFromPluginApi = <T>(channelName: string) => [GraphqlResponseWrapper<DataChannelMessagesWrapper<T>>, DispatcherFunction, DeletionFunction];
|
|
40
|
-
export type UseDataChannelStaticFunction = <T>(channelName: string, pluginName: string, pluginApi: PluginApi) => [
|
|
40
|
+
export type UseDataChannelStaticFunction = <T>(channelName: string, pluginName: string, pluginApi: PluginApi) => [
|
|
41
|
+
GraphqlResponseWrapper<DataChannelMessagesWrapper<T>>,
|
|
42
|
+
DispatcherFunction?,
|
|
43
|
+
DeletionFunction?
|
|
44
|
+
];
|
|
@@ -10,8 +10,7 @@ export declare class FloatingWindow implements FloatingWindowInterface {
|
|
|
10
10
|
boxShadow: string;
|
|
11
11
|
contentFunction: (element: HTMLElement) => void;
|
|
12
12
|
/**
|
|
13
|
-
* Returns object to be used in the setter for the
|
|
14
|
-
* a button.
|
|
13
|
+
* Returns object to be used in the setter for the Floating Window
|
|
15
14
|
*
|
|
16
15
|
* @param top - position in which the the top left corner of the floating window is relative
|
|
17
16
|
* to the top of the rendered window.
|
|
@@ -5,8 +5,7 @@ var enums_1 = require("./enums");
|
|
|
5
5
|
// FloatingWindow Extensible Area
|
|
6
6
|
var FloatingWindow = /** @class */ (function () {
|
|
7
7
|
/**
|
|
8
|
-
* Returns object to be used in the setter for the
|
|
9
|
-
* a button.
|
|
8
|
+
* Returns object to be used in the setter for the Floating Window
|
|
10
9
|
*
|
|
11
10
|
* @param top - position in which the the top left corner of the floating window is relative
|
|
12
11
|
* to the top of the rendered window.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;AAAA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAiBE
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;AAAA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAiBE;;;;;;;;;;;;;;OAcG;IACH,wBAAY,EAOU;YANpB,GAAG,SAAA,EACH,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,eAAe,qBAAA,EACf,SAAS,eAAA,EACT,eAAe,qBAAA;QANjB,iBAgBC;QA/CD,OAAE,GAAW,EAAE,CAAC;QAiDhB,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,AArDD,IAqDC;AArDY,wCAAc"}
|
|
@@ -5,11 +5,10 @@ export declare class GenericComponent implements GenericComponentInterface {
|
|
|
5
5
|
type: GenericComponentType;
|
|
6
6
|
contentFunction: (element: HTMLElement) => void;
|
|
7
7
|
/**
|
|
8
|
-
* Returns object to be used in the setter
|
|
9
|
-
* a button.
|
|
8
|
+
* Returns object to be used in the setter as a generic component
|
|
10
9
|
*
|
|
11
10
|
* @param contentFunction - function that gives the html element to render the content of
|
|
12
|
-
* the
|
|
11
|
+
* the generic component
|
|
13
12
|
*
|
|
14
13
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
15
14
|
*/
|
|
@@ -5,11 +5,10 @@ var enums_1 = require("./enums");
|
|
|
5
5
|
// GenericComponent Extensible Area
|
|
6
6
|
var GenericComponent = /** @class */ (function () {
|
|
7
7
|
/**
|
|
8
|
-
* Returns object to be used in the setter
|
|
9
|
-
* a button.
|
|
8
|
+
* Returns object to be used in the setter as a generic component
|
|
10
9
|
*
|
|
11
10
|
* @param contentFunction - function that gives the html element to render the content of
|
|
12
|
-
* the
|
|
11
|
+
* the generic component
|
|
13
12
|
*
|
|
14
13
|
* @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
|
|
15
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-component/component.ts"],"names":[],"mappings":";;;AAAA,iCAA+C;AAG/C,mCAAmC;AAEnC;IAOE
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-component/component.ts"],"names":[],"mappings":";;;AAAA,iCAA+C;AAG/C,mCAAmC;AAEnC;IAOE;;;;;;;OAOG;IACH,0BAAY,EAEY;YADtB,eAAe,qBAAA;QADjB,iBAKC;QAnBD,OAAE,GAAW,EAAE,CAAC;QAqBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,2BAAoB,EAAE,CAAE,CAAC;QACrC,CAAC,CAAC;QANA,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,4BAAoB,CAAC,SAAS,CAAC;IAC7C,CAAC;IAKH,uBAAC;AAAD,CAAC,AAzBD,IAyBC;AAzBY,4CAAgB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GenericComponentType = void 0;
|
|
4
|
-
//
|
|
4
|
+
// Generic Component types:
|
|
5
5
|
var GenericComponentType;
|
|
6
6
|
(function (GenericComponentType) {
|
|
7
|
-
GenericComponentType["CONTAINER"] = "
|
|
7
|
+
GenericComponentType["CONTAINER"] = "GENERIC_COMPONENT";
|
|
8
8
|
})(GenericComponentType || (exports.GenericComponentType = GenericComponentType = {}));
|
|
9
9
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-component/enums.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-component/enums.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AAC3B,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC9B,uDAA+B,CAAA;AACjC,CAAC,EAFW,oBAAoB,oCAApB,oBAAoB,QAE/B"}
|
|
@@ -18,4 +18,5 @@ __exportStar(require("./intl"), exports);
|
|
|
18
18
|
__exportStar(require("./external-video"), exports);
|
|
19
19
|
__exportStar(require("./user-list"), exports);
|
|
20
20
|
__exportStar(require("./chat"), exports);
|
|
21
|
+
__exportStar(require("./layout"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui-data-hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,yCAAuB;AACvB,mDAAiC;AACjC,8CAA4B;AAC5B,yCAAuB"}
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LayoutPresentatioAreaUiDataNames, UiLayouts } from './presentation-area/enums';
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum LayoutPresentatioAreaUiDataNames {
|
|
2
|
+
CURRENT_ELEMENT = "CURRENT_ELEMENT"
|
|
3
|
+
}
|
|
4
|
+
export declare enum UiLayouts {
|
|
5
|
+
PINNED_SHARED_NOTES = "PINNED_SHARED_NOTES",
|
|
6
|
+
EXTERNAL_VIDEO = "EXTERNAL_VIDEO",
|
|
7
|
+
SCREEN_SHARE = "SCREEN_SHARE",
|
|
8
|
+
ONLY_PRESENTATION = "ONLY_PRESENTATION",
|
|
9
|
+
GENERIC_COMPONENT = "GENERIC_COMPONENT"
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UiLayouts = exports.LayoutPresentatioAreaUiDataNames = void 0;
|
|
4
|
+
var LayoutPresentatioAreaUiDataNames;
|
|
5
|
+
(function (LayoutPresentatioAreaUiDataNames) {
|
|
6
|
+
LayoutPresentatioAreaUiDataNames["CURRENT_ELEMENT"] = "CURRENT_ELEMENT";
|
|
7
|
+
})(LayoutPresentatioAreaUiDataNames || (exports.LayoutPresentatioAreaUiDataNames = LayoutPresentatioAreaUiDataNames = {}));
|
|
8
|
+
var UiLayouts;
|
|
9
|
+
(function (UiLayouts) {
|
|
10
|
+
UiLayouts["PINNED_SHARED_NOTES"] = "PINNED_SHARED_NOTES";
|
|
11
|
+
UiLayouts["EXTERNAL_VIDEO"] = "EXTERNAL_VIDEO";
|
|
12
|
+
UiLayouts["SCREEN_SHARE"] = "SCREEN_SHARE";
|
|
13
|
+
UiLayouts["ONLY_PRESENTATION"] = "ONLY_PRESENTATION";
|
|
14
|
+
UiLayouts["GENERIC_COMPONENT"] = "GENERIC_COMPONENT";
|
|
15
|
+
})(UiLayouts || (exports.UiLayouts = UiLayouts = {}));
|
|
16
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,oDAAuC,CAAA;IACvC,oDAAuC,CAAA;AACzC,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui-data-hooks/layout/presentation-area/types.ts"],"names":[],"mappings":";;AAAA,iCAAsE"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ChatFormUiDataPayloads } from './chat/form/types';
|
|
2
2
|
import { ExternalVideoVolumeUiDataPayloads } from './external-video/volume/types';
|
|
3
3
|
import { IntlLocaleUiDataPayloads } from './intl/locale/types';
|
|
4
|
+
import { LayoutPresentationAreaUiDataPayloads } from './layout/presentation-area/types';
|
|
4
5
|
import { UserListUiDataPayloads } from './user-list/types';
|
|
5
|
-
export type UiDataPayloads = IntlLocaleUiDataPayloads & ChatFormUiDataPayloads & UserListUiDataPayloads & ExternalVideoVolumeUiDataPayloads;
|
|
6
|
+
export type UiDataPayloads = IntlLocaleUiDataPayloads & ChatFormUiDataPayloads & UserListUiDataPayloads & ExternalVideoVolumeUiDataPayloads & LayoutPresentationAreaUiDataPayloads;
|
|
6
7
|
export type UiDataNames = keyof UiDataPayloads;
|
|
7
8
|
export interface UiDataHookPayloadWrapper<T> extends Event {
|
|
8
9
|
detail: T;
|