bigbluebutton-html-plugin-sdk 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +1049 -20
  2. package/dist/cjs/core/api/BbbPluginSdk.js +13 -6
  3. package/dist/cjs/core/api/BbbPluginSdk.js.map +1 -1
  4. package/dist/cjs/core/api/types.d.ts +48 -1
  5. package/dist/cjs/data-consumption/domain/meeting/index.d.ts +1 -0
  6. package/dist/cjs/data-consumption/domain/meeting/meeting-data/hooks.d.ts +3 -0
  7. package/dist/cjs/data-consumption/domain/meeting/meeting-data/hooks.js +9 -0
  8. package/dist/cjs/data-consumption/domain/meeting/meeting-data/hooks.js.map +1 -0
  9. package/dist/cjs/data-consumption/domain/meeting/meeting-data/types.d.ts +139 -0
  10. package/dist/cjs/data-consumption/domain/meeting/meeting-data/types.js +3 -0
  11. package/dist/cjs/data-consumption/domain/meeting/meeting-data/types.js.map +1 -0
  12. package/dist/cjs/data-consumption/domain/users/users-basic-info/types.d.ts +2 -0
  13. package/dist/cjs/data-consumption/enums.d.ts +1 -0
  14. package/dist/cjs/data-consumption/enums.js +1 -0
  15. package/dist/cjs/data-consumption/enums.js.map +1 -1
  16. package/dist/cjs/data-consumption/factory/hooks.d.ts +4 -0
  17. package/dist/cjs/data-consumption/factory/hooks.js +55 -0
  18. package/dist/cjs/data-consumption/factory/hooks.js.map +1 -0
  19. package/dist/cjs/data-consumption/factory/types.d.ts +3 -0
  20. package/dist/cjs/data-consumption/factory/types.js +3 -0
  21. package/dist/cjs/data-consumption/factory/types.js.map +1 -0
  22. package/dist/cjs/data-consumption/factory/utils.d.ts +2 -0
  23. package/dist/cjs/data-consumption/factory/utils.js +11 -0
  24. package/dist/cjs/data-consumption/factory/utils.js.map +1 -0
  25. package/dist/cjs/data-consumption/index.d.ts +1 -0
  26. package/dist/cjs/data-consumption/index.js +1 -0
  27. package/dist/cjs/data-consumption/index.js.map +1 -1
  28. package/dist/cjs/extensible-areas/apps-gallery-item/component.d.ts +13 -1
  29. package/dist/cjs/extensible-areas/apps-gallery-item/component.js +13 -1
  30. package/dist/cjs/extensible-areas/apps-gallery-item/component.js.map +1 -1
  31. package/dist/cjs/extensible-areas/apps-gallery-item/types.d.ts +1 -0
  32. package/dist/cjs/extensible-areas/base.d.ts +1 -0
  33. package/dist/cjs/extensible-areas/floating-window/component.d.ts +4 -1
  34. package/dist/cjs/extensible-areas/floating-window/component.js +4 -1
  35. package/dist/cjs/extensible-areas/floating-window/component.js.map +1 -1
  36. package/dist/cjs/extensible-areas/floating-window/types.d.ts +2 -0
  37. package/dist/cjs/extensible-areas/generic-content-item/component.d.ts +6 -2
  38. package/dist/cjs/extensible-areas/generic-content-item/component.js +6 -2
  39. package/dist/cjs/extensible-areas/generic-content-item/component.js.map +1 -1
  40. package/dist/cjs/extensible-areas/generic-content-item/types.d.ts +2 -0
  41. package/dist/cjs/extensible-areas/nav-bar-item/component.d.ts +6 -2
  42. package/dist/cjs/extensible-areas/nav-bar-item/component.js +6 -2
  43. package/dist/cjs/extensible-areas/nav-bar-item/component.js.map +1 -1
  44. package/dist/cjs/extensible-areas/nav-bar-item/types.d.ts +2 -0
  45. package/dist/cjs/extensible-areas/options-dropdown-item/component.d.ts +9 -2
  46. package/dist/cjs/extensible-areas/options-dropdown-item/component.js +8 -2
  47. package/dist/cjs/extensible-areas/options-dropdown-item/component.js.map +1 -1
  48. package/dist/cjs/extensible-areas/options-dropdown-item/types.d.ts +1 -0
  49. package/dist/cjs/extensible-areas/presentation-dropdown-item/component.d.ts +10 -3
  50. package/dist/cjs/extensible-areas/presentation-dropdown-item/component.js +9 -3
  51. package/dist/cjs/extensible-areas/presentation-dropdown-item/component.js.map +1 -1
  52. package/dist/cjs/extensible-areas/presentation-dropdown-item/types.d.ts +1 -0
  53. package/dist/cjs/extensible-areas/screenshare-helper-item/component.d.ts +3 -1
  54. package/dist/cjs/extensible-areas/screenshare-helper-item/component.js +3 -1
  55. package/dist/cjs/extensible-areas/screenshare-helper-item/component.js.map +1 -1
  56. package/dist/cjs/extensible-areas/screenshare-helper-item/types.d.ts +1 -0
  57. package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.d.ts +7 -2
  58. package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.js +7 -2
  59. package/dist/cjs/extensible-areas/user-camera-dropdown-item/component.js.map +1 -1
  60. package/dist/cjs/extensible-areas/user-camera-dropdown-item/types.d.ts +2 -0
  61. package/dist/cjs/extensible-areas/user-camera-helper-item/component.d.ts +3 -1
  62. package/dist/cjs/extensible-areas/user-camera-helper-item/component.js +3 -1
  63. package/dist/cjs/extensible-areas/user-camera-helper-item/component.js.map +1 -1
  64. package/dist/cjs/extensible-areas/user-camera-helper-item/types.d.ts +1 -0
  65. package/dist/cjs/extensible-areas/user-list-dropdown-item/component.d.ts +15 -5
  66. package/dist/cjs/extensible-areas/user-list-dropdown-item/component.js +15 -5
  67. package/dist/cjs/extensible-areas/user-list-dropdown-item/component.js.map +1 -1
  68. package/dist/cjs/extensible-areas/user-list-dropdown-item/types.d.ts +5 -0
  69. package/dist/cjs/extensible-areas/user-list-item-additional-information/component.d.ts +6 -2
  70. package/dist/cjs/extensible-areas/user-list-item-additional-information/component.js +6 -2
  71. package/dist/cjs/extensible-areas/user-list-item-additional-information/component.js.map +1 -1
  72. package/dist/cjs/extensible-areas/user-list-item-additional-information/types.d.ts +2 -0
  73. package/dist/cjs/learning-analytics-dashboard/commands.d.ts +5 -0
  74. package/dist/cjs/learning-analytics-dashboard/commands.js +43 -0
  75. package/dist/cjs/learning-analytics-dashboard/commands.js.map +1 -0
  76. package/dist/cjs/learning-analytics-dashboard/enums.d.ts +4 -1
  77. package/dist/cjs/learning-analytics-dashboard/enums.js +3 -0
  78. package/dist/cjs/learning-analytics-dashboard/enums.js.map +1 -1
  79. package/dist/cjs/learning-analytics-dashboard/types.d.ts +41 -2
  80. package/dist/cjs/utils/logger/logger.d.ts +3 -1
  81. package/dist/cjs/utils/logger/logger.js +89 -1
  82. package/dist/cjs/utils/logger/logger.js.map +1 -1
  83. package/package.json +1 -1
  84. package/dist/cjs/learning-analytics-dashboard/hooks.d.ts +0 -2
  85. package/dist/cjs/learning-analytics-dashboard/hooks.js +0 -14
  86. package/dist/cjs/learning-analytics-dashboard/hooks.js.map +0 -1
@@ -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,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"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/floating-window/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAAiC;AAEjC;IAqBE;;;;;;;;;;;;;;;;OAgBG;IACH,wBAAY,EAUU;YATpB,EAAE,QAAA,EACF,GAAG,SAAA,EACH,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,eAAe,qBAAA,EACf,SAAS,eAAA,EACT,MAAM,YAAA,EACN,eAAe,qBAAA,EACf,QAAQ,cAAA;QATV,iBAwBC;QA7DD,OAAE,GAAW,EAAE,CAAC;QA+DhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,yBAAkB,EAAE,CAAE,CAAC;QACnC,CAAC,CAAC;QAjBA,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,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,SAAS,CAAC;IAC3C,CAAC;IAKH,qBAAC;AAAD,CAAC,AAnED,IAmEC;AAnEY,wCAAc"}
@@ -9,6 +9,8 @@ export interface FloatingWindowProps {
9
9
  movable: boolean;
10
10
  backgroundColor: string;
11
11
  boxShadow: string;
12
+ zIndex?: number;
13
+ dataTest?: string;
12
14
  contentFunction: (element: HTMLElement) => ReactDOM.Root;
13
15
  }
14
16
  export type SetFloatingWindows = (FloatingWindows: FloatingWindowInterface[]) => void;
@@ -5,16 +5,18 @@ export declare class GenericContentMainArea implements GenericContentInterface {
5
5
  id: string;
6
6
  type: GenericContentType;
7
7
  contentFunction: (element: HTMLElement) => ReactDOM.Root;
8
+ dataTest: string;
8
9
  /**
9
10
  * Returns an object that when used in the setter as a generic content will be rendered
10
11
  * over the meeting main presentation.
11
12
  *
12
13
  * @param contentFunction - function that gives the html element to render the content of
13
14
  * the generic component
15
+ * @param dataTest - string attribute to be used for testing
14
16
  *
15
17
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
16
18
  */
17
- constructor({ id, contentFunction, }: GenericContentMainAreaProps);
19
+ constructor({ id, contentFunction, dataTest, }: GenericContentMainAreaProps);
18
20
  setItemId: (id: string) => void;
19
21
  }
20
22
  export declare class GenericContentSidekickArea implements GenericContentInterface {
@@ -24,6 +26,7 @@ export declare class GenericContentSidekickArea implements GenericContentInterfa
24
26
  section: string;
25
27
  buttonIcon: string;
26
28
  open: boolean;
29
+ dataTest: string;
27
30
  contentFunction: (element: HTMLElement) => ReactDOM.Root;
28
31
  /**
29
32
  * Returns an object that when used in the setter as a generic content will be rendered
@@ -38,9 +41,10 @@ export declare class GenericContentSidekickArea implements GenericContentInterfa
38
41
  * displayed
39
42
  * @param buttonIcon - the icon of the associated sidebar navigation button
40
43
  * @param open - boolean value to decide wether to start open
44
+ * @param dataTest - string attribute to be used for testing
41
45
  *
42
46
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
43
47
  */
44
- constructor({ id, contentFunction, name, section, buttonIcon, open, }: GenericContentSidekickAreaProps);
48
+ constructor({ id, contentFunction, name, section, buttonIcon, open, dataTest, }: GenericContentSidekickAreaProps);
45
49
  setItemId: (id: string) => void;
46
50
  }
@@ -10,11 +10,12 @@ var GenericContentMainArea = /** @class */ (function () {
10
10
  *
11
11
  * @param contentFunction - function that gives the html element to render the content of
12
12
  * the generic component
13
+ * @param dataTest - string attribute to be used for testing
13
14
  *
14
15
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
15
16
  */
16
17
  function GenericContentMainArea(_a) {
17
- var id = _a.id, contentFunction = _a.contentFunction;
18
+ var id = _a.id, contentFunction = _a.contentFunction, _b = _a.dataTest, dataTest = _b === void 0 ? '' : _b;
18
19
  var _this = this;
19
20
  this.id = '';
20
21
  this.setItemId = function (id) {
@@ -24,6 +25,7 @@ var GenericContentMainArea = /** @class */ (function () {
24
25
  this.id = id;
25
26
  }
26
27
  this.contentFunction = contentFunction;
28
+ this.dataTest = dataTest;
27
29
  this.type = enums_1.GenericContentType.MAIN_AREA;
28
30
  }
29
31
  return GenericContentMainArea;
@@ -43,11 +45,12 @@ var GenericContentSidekickArea = /** @class */ (function () {
43
45
  * displayed
44
46
  * @param buttonIcon - the icon of the associated sidebar navigation button
45
47
  * @param open - boolean value to decide wether to start open
48
+ * @param dataTest - string attribute to be used for testing
46
49
  *
47
50
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
48
51
  */
49
52
  function GenericContentSidekickArea(_a) {
50
- var id = _a.id, contentFunction = _a.contentFunction, name = _a.name, section = _a.section, buttonIcon = _a.buttonIcon, open = _a.open;
53
+ var id = _a.id, contentFunction = _a.contentFunction, name = _a.name, section = _a.section, buttonIcon = _a.buttonIcon, open = _a.open, _b = _a.dataTest, dataTest = _b === void 0 ? '' : _b;
51
54
  var _this = this;
52
55
  this.id = '';
53
56
  this.name = '';
@@ -64,6 +67,7 @@ var GenericContentSidekickArea = /** @class */ (function () {
64
67
  this.name = name;
65
68
  this.section = section;
66
69
  this.buttonIcon = buttonIcon;
70
+ this.dataTest = dataTest;
67
71
  this.type = enums_1.GenericContentType.SIDEKICK_AREA;
68
72
  this.open = open;
69
73
  }
@@ -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,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"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/generic-content-item/component.ts"],"names":[],"mappings":";;;AACA,iCAA6C;AAG7C,iCAA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I,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,0BAAkB,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAKH,iCAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,gEAA0B"}
@@ -5,6 +5,7 @@ export interface GenericContentInterface extends PluginProvidedUiItemDescriptor
5
5
  export interface GenericContentMainAreaProps {
6
6
  id?: string;
7
7
  contentFunction: (element: HTMLElement) => ReactDOM.Root;
8
+ dataTest?: string;
8
9
  }
9
10
  export interface GenericContentSidekickAreaProps {
10
11
  id?: string;
@@ -13,4 +14,5 @@ export interface GenericContentSidekickAreaProps {
13
14
  section: string;
14
15
  buttonIcon: string;
15
16
  open: boolean;
17
+ dataTest?: string;
16
18
  }
@@ -7,6 +7,7 @@ export declare class NavBarButton implements NavBarInterface {
7
7
  icon: string;
8
8
  tooltip: string;
9
9
  disabled: boolean;
10
+ dataTest: string;
10
11
  position: NavBarItemPosition;
11
12
  hasSeparator: boolean;
12
13
  onClick: () => void;
@@ -23,16 +24,18 @@ export declare class NavBarButton implements NavBarInterface {
23
24
  * @param hasSeparator - boolean indicating whether the navigation bar button has separator
24
25
  * (vertical bar)
25
26
  * @param disabled - if true, the navigation bar button will not be clickable
27
+ * @param dataTest - string attribute to be used for testing
26
28
  *
27
29
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
28
30
  */
29
- constructor({ id, label, icon, tooltip, disabled, onClick, position, hasSeparator, }: NavBarButtonProps);
31
+ constructor({ id, label, icon, tooltip, disabled, dataTest, onClick, position, hasSeparator, }: NavBarButtonProps);
30
32
  setItemId: (id: string) => void;
31
33
  }
32
34
  export declare class NavBarInfo implements NavBarInterface {
33
35
  id: string;
34
36
  type: NavBarItemType;
35
37
  label: string;
38
+ dataTest: string;
36
39
  hasSeparator: boolean;
37
40
  position: NavBarItemPosition;
38
41
  /**
@@ -44,9 +47,10 @@ export declare class NavBarInfo implements NavBarInterface {
44
47
  * See {@link NavBarItemPosition}
45
48
  * @param hasSeparator - boolean indicating whether the navigation bar information has separator
46
49
  * (vertical bar)
50
+ * @param dataTest - string attribute to be used for testing
47
51
  *
48
52
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
49
53
  */
50
- constructor({ id, label, position, hasSeparator, }: NavBarInfoProps);
54
+ constructor({ id, label, position, hasSeparator, dataTest, }: NavBarInfoProps);
51
55
  setItemId: (id: string) => void;
52
56
  }
@@ -17,11 +17,12 @@ var NavBarButton = /** @class */ (function () {
17
17
  * @param hasSeparator - boolean indicating whether the navigation bar button has separator
18
18
  * (vertical bar)
19
19
  * @param disabled - if true, the navigation bar button will not be clickable
20
+ * @param dataTest - string attribute to be used for testing
20
21
  *
21
22
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
22
23
  */
23
24
  function NavBarButton(_a) {
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
+ 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.dataTest, dataTest = _f === void 0 ? '' : _f, _g = _a.onClick, onClick = _g === void 0 ? function () { } : _g, _h = _a.position, position = _h === void 0 ? enums_1.NavBarItemPosition.RIGHT : _h, _j = _a.hasSeparator, hasSeparator = _j === void 0 ? true : _j;
25
26
  var _this = this;
26
27
  this.id = '';
27
28
  this.setItemId = function (id) {
@@ -34,6 +35,7 @@ var NavBarButton = /** @class */ (function () {
34
35
  this.icon = icon;
35
36
  this.tooltip = tooltip;
36
37
  this.disabled = disabled;
38
+ this.dataTest = dataTest;
37
39
  this.onClick = onClick;
38
40
  this.type = enums_1.NavBarItemType.BUTTON;
39
41
  this.hasSeparator = hasSeparator;
@@ -52,11 +54,12 @@ var NavBarInfo = /** @class */ (function () {
52
54
  * See {@link NavBarItemPosition}
53
55
  * @param hasSeparator - boolean indicating whether the navigation bar information has separator
54
56
  * (vertical bar)
57
+ * @param dataTest - string attribute to be used for testing
55
58
  *
56
59
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
57
60
  */
58
61
  function NavBarInfo(_a) {
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;
62
+ 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, _e = _a.dataTest, dataTest = _e === void 0 ? '' : _e;
60
63
  var _this = this;
61
64
  this.id = '';
62
65
  this.setItemId = function (id) {
@@ -66,6 +69,7 @@ var NavBarInfo = /** @class */ (function () {
66
69
  this.id = id;
67
70
  }
68
71
  this.label = label;
72
+ this.dataTest = dataTest;
69
73
  this.type = enums_1.NavBarItemType.INFO;
70
74
  this.position = position;
71
75
  this.hasSeparator = hasSeparator;
@@ -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,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,K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AAU"}
@@ -13,10 +13,12 @@ export interface NavBarButtonProps {
13
13
  hasSeparator: boolean;
14
14
  position: NavBarItemPosition;
15
15
  onClick: () => void;
16
+ dataTest?: string;
16
17
  }
17
18
  export interface NavBarInfoProps {
18
19
  id?: string;
19
20
  label: string;
20
21
  hasSeparator: boolean;
21
22
  position: NavBarItemPosition;
23
+ dataTest?: string;
22
24
  }
@@ -5,6 +5,7 @@ export declare class OptionsDropdownOption implements OptionsDropdownInterface {
5
5
  type: OptionsDropdownItemType;
6
6
  label: string;
7
7
  icon: string;
8
+ dataTest: string;
8
9
  onClick: () => void;
9
10
  /**
10
11
  * Returns object to be used in the setter for the Options Dropdown. In this case,
@@ -12,22 +13,28 @@ export declare class OptionsDropdownOption implements OptionsDropdownInterface {
12
13
  *
13
14
  * @param label - label to be displayed in the options dropdown option.
14
15
  * @param icon - icon to be displayed in the options dropdown. It goes in the left side of it.
16
+ * @param dataTest - string attribute to be used for testing
15
17
  * @param onClick - function to be called when clicking the option.
16
18
  *
17
19
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
18
20
  */
19
- constructor({ id, label, icon, onClick, }: OptionsDropdownOptionProps);
21
+ constructor({ id, label, icon, dataTest, onClick, }: OptionsDropdownOptionProps);
20
22
  setItemId: (id: string) => void;
21
23
  }
22
24
  export declare class OptionsDropdownSeparator implements OptionsDropdownInterface {
23
25
  id: string;
24
26
  type: OptionsDropdownItemType;
27
+ dataTest: string;
25
28
  /**
26
29
  * Returns object to be used in the setter for the Navigation Bar. In this case,
27
30
  * a separator.
28
31
  *
32
+ * @param dataTest - string attribute to be used for testing
33
+ *
29
34
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
30
35
  */
31
- constructor();
36
+ constructor({ dataTest }?: {
37
+ dataTest?: string | undefined;
38
+ });
32
39
  setItemId: (id: string) => void;
33
40
  }
@@ -10,12 +10,13 @@ var OptionsDropdownOption = /** @class */ (function () {
10
10
  *
11
11
  * @param label - label to be displayed in the options dropdown option.
12
12
  * @param icon - icon to be displayed in the options dropdown. It goes in the left side of it.
13
+ * @param dataTest - string attribute to be used for testing
13
14
  * @param onClick - function to be called when clicking the option.
14
15
  *
15
16
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
16
17
  */
17
18
  function OptionsDropdownOption(_a) {
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
+ var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.dataTest, dataTest = _d === void 0 ? '' : _d, _e = _a.onClick, onClick = _e === void 0 ? function () { } : _e;
19
20
  var _this = this;
20
21
  this.id = '';
21
22
  this.setItemId = function (id) {
@@ -26,6 +27,7 @@ var OptionsDropdownOption = /** @class */ (function () {
26
27
  }
27
28
  this.label = label;
28
29
  this.icon = icon;
30
+ this.dataTest = dataTest;
29
31
  this.onClick = onClick;
30
32
  this.type = enums_1.OptionsDropdownItemType.OPTION;
31
33
  }
@@ -37,14 +39,18 @@ var OptionsDropdownSeparator = /** @class */ (function () {
37
39
  * Returns object to be used in the setter for the Navigation Bar. In this case,
38
40
  * a separator.
39
41
  *
42
+ * @param dataTest - string attribute to be used for testing
43
+ *
40
44
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
41
45
  */
42
- function OptionsDropdownSeparator() {
46
+ function OptionsDropdownSeparator(_a) {
47
+ var _b = _a === void 0 ? {} : _a, _c = _b.dataTest, dataTest = _c === void 0 ? '' : _c;
43
48
  var _this = this;
44
49
  this.id = '';
45
50
  this.setItemId = function (id) {
46
51
  _this.id = "OptionsDropdownSeparator_".concat(id);
47
52
  };
53
+ this.dataTest = dataTest;
48
54
  this.type = enums_1.OptionsDropdownItemType.SEPARATOR;
49
55
  }
50
56
  return OptionsDropdownSeparator;
@@ -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,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"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/options-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAkD;AAKlD,kCAAkC;AAElC;IAaE;;;;;;;;;;OAUG;IACH,+BAAY,EAEiB;Y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;
15
15
  onClick: () => void;
16
+ dataTest?: string;
16
17
  }
@@ -5,6 +5,7 @@ export declare class PresentationDropdownOption implements PresentationDropdownI
5
5
  type: PresentationDropdownItemType;
6
6
  label: string;
7
7
  icon: string;
8
+ dataTest: string;
8
9
  onClick: () => void;
9
10
  /**
10
11
  * Returns object to be used in the setter for the Presentation Dropdown. In this case,
@@ -13,22 +14,28 @@ export declare class PresentationDropdownOption implements PresentationDropdownI
13
14
  * @param label - label to be displayed in the presentation dropdown option.
14
15
  * @param icon - icon to be displayed in the presentation dropdown.
15
16
  * It goes in the left side of it.
17
+ * @param dataTest - string attribute to be used for testing
16
18
  * @param onClick - function to be called when clicking the option.
17
19
  *
18
20
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
19
21
  */
20
- constructor({ id, label, icon, onClick, }: PresentationDropdownOptionProps);
22
+ constructor({ id, label, icon, dataTest, onClick, }: PresentationDropdownOptionProps);
21
23
  setItemId: (id: string) => void;
22
24
  }
23
25
  export declare class PresentationDropdownSeparator implements PresentationDropdownInterface {
24
26
  id: string;
25
27
  type: PresentationDropdownItemType;
28
+ dataTest: string;
26
29
  /**
27
30
  * Returns object to be used in the setter for the Presentation Dropdown. In this case,
28
31
  * a separator (horizontal thin black line).
29
-
32
+ *
33
+ * @param dataTest - string attribute to be used for testing
34
+ *
30
35
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
31
36
  */
32
- constructor();
37
+ constructor({ dataTest }?: {
38
+ dataTest?: string | undefined;
39
+ });
33
40
  setItemId: (id: string) => void;
34
41
  }
@@ -11,12 +11,13 @@ var PresentationDropdownOption = /** @class */ (function () {
11
11
  * @param label - label to be displayed in the presentation dropdown option.
12
12
  * @param icon - icon to be displayed in the presentation dropdown.
13
13
  * It goes in the left side of it.
14
+ * @param dataTest - string attribute to be used for testing
14
15
  * @param onClick - function to be called when clicking the option.
15
16
  *
16
17
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
17
18
  */
18
19
  function PresentationDropdownOption(_a) {
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
+ var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.dataTest, dataTest = _d === void 0 ? '' : _d, _e = _a.onClick, onClick = _e === void 0 ? function () { } : _e;
20
21
  var _this = this;
21
22
  this.id = '';
22
23
  this.setItemId = function (id) {
@@ -27,6 +28,7 @@ var PresentationDropdownOption = /** @class */ (function () {
27
28
  }
28
29
  this.label = label;
29
30
  this.icon = icon;
31
+ this.dataTest = dataTest;
30
32
  this.onClick = onClick;
31
33
  this.type = enums_1.PresentationDropdownItemType.OPTION;
32
34
  }
@@ -37,15 +39,19 @@ var PresentationDropdownSeparator = /** @class */ (function () {
37
39
  /**
38
40
  * Returns object to be used in the setter for the Presentation Dropdown. In this case,
39
41
  * a separator (horizontal thin black line).
40
-
42
+ *
43
+ * @param dataTest - string attribute to be used for testing
44
+ *
41
45
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
42
46
  */
43
- function PresentationDropdownSeparator() {
47
+ function PresentationDropdownSeparator(_a) {
48
+ var _b = _a === void 0 ? {} : _a, _c = _b.dataTest, dataTest = _c === void 0 ? '' : _c;
44
49
  var _this = this;
45
50
  this.id = '';
46
51
  this.setItemId = function (id) {
47
52
  _this.id = "PresentationDropdownSeparator_".concat(id);
48
53
  };
54
+ this.dataTest = dataTest;
49
55
  this.type = enums_1.PresentationDropdownItemType.SEPARATOR;
50
56
  }
51
57
  return PresentationDropdownSeparator;
@@ -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,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"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/presentation-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAKvD,uCAAuC;AAEvC;IAaE;;;;;;;;;;;OAWG;IACH,oCAAY,EAEsB;YADhC,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,gBAAa,EAAb,QAAQ,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA;QAD9D,iBAWC;QAnCD,OAAE,GAAW,EAAE,CAAC;QAqChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,qCAA8B,EAAE,CAAE,CAAC;QAC/C,CAAC,CAAC;QAZA,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,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,oCAA4B,CAAC,MAAM,CAAC;IAClD,CAAC;IAKH,iCAAC;AAAD,CAAC,AAzCD,IAyCC;AAzCY,gEAA0B;AA2CvC;IAOE;;;;;;;OAOG;IACH,uCAAY,EAAsB;YAAtB,qBAAoB,EAAE,KAAA,EAApB,gBAAa,EAAb,QAAQ,mBAAG,EAAE,KAAA;QAA3B,iBAGC;QAjBD,OAAE,GAAW,EAAE,CAAC;QAmBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,wCAAiC,EAAE,CAAE,CAAC;QAClD,CAAC,CAAC;QANA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,oCAA4B,CAAC,SAAS,CAAC;IACrD,CAAC;IAKH,oCAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBY,sEAA6B"}
@@ -13,4 +13,5 @@ export interface PresentationDropdownOptionProps {
13
13
  label: string;
14
14
  icon: string;
15
15
  onClick: () => void;
16
+ dataTest?: string;
16
17
  }
@@ -7,6 +7,7 @@ export declare class ScreenshareHelperButton implements ScreenshareHelperButtonI
7
7
  icon: string;
8
8
  tooltip: string;
9
9
  disabled: boolean;
10
+ dataTest: string;
10
11
  position: ScreenshareHelperItemPosition;
11
12
  onClick: (args: ScreenshareHelperButtonOnclickCallback) => void;
12
13
  /**
@@ -22,9 +23,10 @@ export declare class ScreenshareHelperButton implements ScreenshareHelperButtonI
22
23
  * @param hasSeparator - boolean indicating whether the screenshare helper button has separator
23
24
  * (vertical bar)
24
25
  * @param disabled - if true, the screenshare helper button will not be clickable
26
+ * @param dataTest - string attribute to be used for testing
25
27
  *
26
28
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
27
29
  */
28
- constructor({ id, label, icon, tooltip, disabled, onClick, position, }: ScreenshareHelperButtonProps);
30
+ constructor({ id, label, icon, tooltip, disabled, dataTest, onClick, position, }: ScreenshareHelperButtonProps);
29
31
  setItemId: (id: string) => void;
30
32
  }
@@ -17,11 +17,12 @@ var ScreenshareHelperButton = /** @class */ (function () {
17
17
  * @param hasSeparator - boolean indicating whether the screenshare helper button has separator
18
18
  * (vertical bar)
19
19
  * @param disabled - if true, the screenshare helper button will not be clickable
20
+ * @param dataTest - string attribute to be used for testing
20
21
  *
21
22
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
22
23
  */
23
24
  function ScreenshareHelperButton(_a) {
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
+ 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.dataTest, dataTest = _f === void 0 ? '' : _f, _g = _a.onClick, onClick = _g === void 0 ? function () { } : _g, _h = _a.position, position = _h === void 0 ? enums_1.ScreenshareHelperItemPosition.TOP_RIGHT : _h;
25
26
  var _this = this;
26
27
  this.id = '';
27
28
  this.setItemId = function (id) {
@@ -34,6 +35,7 @@ var ScreenshareHelperButton = /** @class */ (function () {
34
35
  this.icon = icon;
35
36
  this.tooltip = tooltip;
36
37
  this.disabled = disabled;
38
+ this.dataTest = dataTest;
37
39
  this.onClick = onClick;
38
40
  this.type = enums_1.ScreenshareHelperItemType.BUTTON;
39
41
  this.position = position;
@@ -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,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,OA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yB,CAAC,MAAM,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAKH,8BAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,0DAAuB"}
@@ -24,4 +24,5 @@ export interface ScreenshareHelperButtonProps {
24
24
  hasSeparator: boolean;
25
25
  position: ScreenshareHelperItemPosition;
26
26
  onClick: (args: ScreenshareHelperButtonOnclickCallback) => void;
27
+ dataTest?: string;
27
28
  }
@@ -5,6 +5,7 @@ export declare class UserCameraDropdownOption implements UserCameraDropdownInter
5
5
  type: UserCameraDropdownItemType;
6
6
  label: string;
7
7
  icon: string;
8
+ dataTest: string;
8
9
  onClick: (args: OnclickFunctionCallbackArguments) => void;
9
10
  displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean;
10
11
  /**
@@ -13,23 +14,27 @@ export declare class UserCameraDropdownOption implements UserCameraDropdownInter
13
14
  *
14
15
  * @param label - label to be displayed in the option.
15
16
  * @param icon - icon to be displayed in the option. Left side of it.
17
+ * @param dataTest - string attribute to be used for testing
16
18
  * @param onClick - function to be called when clicking the button
17
19
  *
18
20
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
19
21
  */
20
- constructor({ id, label, icon, onClick, displayFunction, }: UserCameraDropdownOptionProps);
22
+ constructor({ id, label, icon, dataTest, onClick, displayFunction, }: UserCameraDropdownOptionProps);
21
23
  setItemId: (id: string) => void;
22
24
  }
23
25
  export declare class UserCameraDropdownSeparator implements UserCameraDropdownInterface {
24
26
  id: string;
25
27
  type: UserCameraDropdownItemType;
28
+ dataTest: string;
26
29
  displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean;
27
30
  /**
28
31
  * Returns object to be used in the setter for User Camera Dropdown. In this case
29
32
  * a separator.
30
33
  *
34
+ * @param dataTest - string attribute to be used for testing
35
+ *
31
36
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
32
37
  */
33
- constructor({ displayFunction, }?: UserCameraDropdownSeparatorProps);
38
+ constructor({ displayFunction, dataTest, }?: UserCameraDropdownSeparatorProps);
34
39
  setItemId: (id: string) => void;
35
40
  }
@@ -10,12 +10,13 @@ var UserCameraDropdownOption = /** @class */ (function () {
10
10
  *
11
11
  * @param label - label to be displayed in the option.
12
12
  * @param icon - icon to be displayed in the option. Left side of it.
13
+ * @param dataTest - string attribute to be used for testing
13
14
  * @param onClick - function to be called when clicking the button
14
15
  *
15
16
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
16
17
  */
17
18
  function UserCameraDropdownOption(_a) {
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
+ var id = _a.id, _b = _a.label, label = _b === void 0 ? '' : _b, _c = _a.icon, icon = _c === void 0 ? '' : _c, _d = _a.dataTest, dataTest = _d === void 0 ? '' : _d, _e = _a.onClick, onClick = _e === void 0 ? function () { } : _e, _f = _a.displayFunction, displayFunction = _f === void 0 ? function () { return true; } : _f;
19
20
  var _this = this;
20
21
  this.id = '';
21
22
  this.setItemId = function (id) {
@@ -27,6 +28,7 @@ var UserCameraDropdownOption = /** @class */ (function () {
27
28
  this.displayFunction = displayFunction;
28
29
  this.label = label;
29
30
  this.icon = icon;
31
+ this.dataTest = dataTest;
30
32
  this.onClick = onClick;
31
33
  this.type = enums_1.UserCameraDropdownItemType.OPTION;
32
34
  }
@@ -38,16 +40,19 @@ var UserCameraDropdownSeparator = /** @class */ (function () {
38
40
  * Returns object to be used in the setter for User Camera Dropdown. In this case
39
41
  * a separator.
40
42
  *
43
+ * @param dataTest - string attribute to be used for testing
44
+ *
41
45
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5)
42
46
  */
43
47
  function UserCameraDropdownSeparator(_a) {
44
- var _b = _a === void 0 ? { displayFunction: function () { return true; } } : _a, displayFunction = _b.displayFunction;
48
+ var _b = _a === void 0 ? { displayFunction: function () { return true; } } : _a, displayFunction = _b.displayFunction, _c = _b.dataTest, dataTest = _c === void 0 ? '' : _c;
45
49
  var _this = this;
46
50
  this.id = '';
47
51
  this.setItemId = function (id) {
48
52
  _this.id = "UserCameraDropdownSeparator_".concat(id);
49
53
  };
50
54
  this.displayFunction = displayFunction;
55
+ this.dataTest = dataTest;
51
56
  this.type = enums_1.UserCameraDropdownItemType.SEPARATOR;
52
57
  }
53
58
  return UserCameraDropdownSeparator;
@@ -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,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"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/extensible-areas/user-camera-dropdown-item/component.ts"],"names":[],"mappings":";;;AAAA,iCAAqD;AAQrD,qCAAqC;AAErC;IAeE;;;;;;;;;;OAUG;IACH,kCAAY,EAGoB;YAF9B,EAAE,QAAA,EAAE,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAE,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,gBAAa,EAAb,QAAQ,mBAAG,EAAE,KAAA,EAAE,eAAkB,EAAlB,OAAO,mBAAG,cAAO,CAAC,KAAA,EAC5D,uBAA4B,EAA5B,eAAe,mBAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,KAAA;QAF9B,iBAaC;QAtCD,OAAE,GAAW,EAAE,CAAC;QAwChB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,mCAA4B,EAAE,CAAE,CAAC;QAC7C,CAAC,CAAC;QAbA,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,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,kCAA0B,CAAC,MAAM,CAAC;IAChD,CAAC;IAKH,+BAAC;AAAD,CAAC,AA5CD,IA4CC;AA5CY,4DAAwB;AA8CrC;IASE;;;;;;;OAOG;IACH,qCAAY,EAEyD;YAFzD,qBAE0B,EAAE,eAAe,EAAE,cAAM,OAAA,IAAI,EAAJ,CAAI,EAAE,KAAA,EADnE,eAAe,qBAAA,EAAE,gBAAa,EAAb,QAAQ,mBAAG,EAAE,KAAA;QADhC,iBAMC;QAtBD,OAAE,GAAW,EAAE,CAAC;QAwBhB,cAAS,GAAyB,UAAC,EAAU;YAC3C,KAAI,CAAC,EAAE,GAAG,sCAA+B,EAAE,CAAE,CAAC;QAChD,CAAC,CAAC;QAPA,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,kCAA0B,CAAC,SAAS,CAAC;IACnD,CAAC;IAKH,kCAAC;AAAD,CAAC,AA5BD,IA4BC;AA5BY,kEAA2B"}
@@ -18,6 +18,7 @@ export interface UserCameraDropdownInterface extends PluginProvidedUiItemDescrip
18
18
  }
19
19
  export interface UserCameraDropdownSeparatorProps {
20
20
  displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean;
21
+ dataTest?: string;
21
22
  }
22
23
  export interface UserCameraDropdownOptionProps {
23
24
  id?: string;
@@ -25,4 +26,5 @@ export interface UserCameraDropdownOptionProps {
25
26
  icon: string;
26
27
  onClick: (args: OnclickFunctionCallbackArguments) => void;
27
28
  displayFunction?: (args: UserCameraDropdownCallbackFunctionsArguments) => boolean;
29
+ dataTest?: string;
28
30
  }
@@ -8,6 +8,7 @@ export declare class UserCameraHelperButton implements UserCameraHelperButtonInt
8
8
  icon: string;
9
9
  tooltip: string;
10
10
  disabled: boolean;
11
+ dataTest: string;
11
12
  position: UserCameraHelperItemPosition;
12
13
  onClick: (args: UserCameraHelperButtonOnclickCallback) => void;
13
14
  /**
@@ -23,9 +24,10 @@ export declare class UserCameraHelperButton implements UserCameraHelperButtonInt
23
24
  * @param position - position to place the userCamera helper button.
24
25
  * See {@link UserCameraHelperItemPosition}
25
26
  * @param disabled - if true, the userCamera helper button will not be clickable
27
+ * @param dataTest - string attribute to be used for testing
26
28
  *
27
29
  * @returns Object that will be interpreted by the core of Bigbluebutton (HTML5).
28
30
  */
29
- constructor({ id, label, icon, tooltip, disabled, onClick, position, displayFunction, }: UserCameraHelperButtonProps);
31
+ constructor({ id, label, icon, tooltip, disabled, dataTest, onClick, position, displayFunction, }: UserCameraHelperButtonProps);
30
32
  setItemId: (id: string) => void;
31
33
  }