mediasfu-angular 2.2.1 → 2.2.3

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 (215) hide show
  1. package/README.md +970 -40
  2. package/USAGE_COOKBOOK.md +202 -0
  3. package/dist/LICENSE +21 -0
  4. package/dist/README.md +970 -40
  5. package/dist/fesm2022/mediasfu-angular.mjs +30595 -16317
  6. package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
  7. package/dist/lib/@types/types.d.ts +28 -2
  8. package/dist/lib/@types/ui-overrides.types.d.ts +314 -0
  9. package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1053 -5
  10. package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +2126 -51
  11. package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1587 -45
  12. package/dist/lib/components/breakout-components/room-list/room-list.component.d.ts +5 -1
  13. package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +1067 -56
  14. package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +98 -28
  15. package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +17 -7
  16. package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +591 -11
  17. package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +3 -0
  18. package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +1 -1
  19. package/dist/lib/components/display-components/control-buttons-component/control-buttons-component.component.d.ts +34 -2
  20. package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +19 -0
  21. package/dist/lib/components/display-components/control-widgets/control-icon-badge-widget.component.d.ts +13 -0
  22. package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +1 -0
  23. package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +2 -2
  24. package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +2 -2
  25. package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +2 -0
  26. package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +5 -3
  27. package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +617 -26
  28. package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +41 -1
  29. package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +2024 -10
  30. package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +6 -2
  31. package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +6 -2
  32. package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +507 -8
  33. package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +508 -7
  34. package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +18 -11
  35. package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +11 -3
  36. package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +1026 -999
  37. package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +9 -3
  38. package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +517 -1
  39. package/dist/lib/components/display-components/pagination/pagination.component.d.ts +34 -1
  40. package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +513 -2
  41. package/dist/lib/components/display-components/subtitle-overlay/subtitle-overlay.component.d.ts +6 -0
  42. package/dist/lib/components/display-components/video-card/video-card.component.d.ts +10 -6
  43. package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1108 -27
  44. package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +1134 -49
  45. package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +94 -32
  46. package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +1123 -47
  47. package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +2622 -4793
  48. package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +602 -4140
  49. package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +864 -5707
  50. package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +2087 -6304
  51. package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +650 -5707
  52. package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +26 -4
  53. package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +80 -1
  54. package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +46 -1
  55. package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +706 -15
  56. package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +49 -2
  57. package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +79 -16
  58. package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1113 -17
  59. package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +4 -0
  60. package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +1114 -29
  61. package/dist/lib/components/panelists-components/panelists-modal/panelists-modal.component.d.ts +73 -0
  62. package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1084 -6
  63. package/dist/lib/components/permissions-components/permissions-modal/permissions-modal.component.d.ts +89 -0
  64. package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +1060 -21
  65. package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +1055 -35
  66. package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +1117 -45
  67. package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +1059 -47
  68. package/dist/lib/components/translation-components/translation-settings-modal/translation-settings-modal.component.d.ts +124 -0
  69. package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +1119 -46
  70. package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +2117 -22
  71. package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +3 -15
  72. package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
  73. package/dist/lib/consumers/auto-adjust.service.d.ts +0 -11
  74. package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +0 -7
  75. package/dist/lib/consumers/change-vids.service.d.ts +1 -1
  76. package/dist/lib/consumers/check-permission.service.d.ts +4 -1
  77. package/dist/lib/consumers/check-screen-share.service.d.ts +0 -18
  78. package/dist/lib/consumers/compare-active-names.service.d.ts +0 -16
  79. package/dist/lib/consumers/compare-screen-states.service.d.ts +0 -18
  80. package/dist/lib/consumers/connect-ips.service.d.ts +5 -26
  81. package/dist/lib/consumers/connect-local-ips.service.d.ts +1 -28
  82. package/dist/lib/consumers/connect-recv-transport.service.d.ts +4 -1
  83. package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +5 -1
  84. package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +6 -1
  85. package/dist/lib/consumers/connect-send-transport-video.service.d.ts +6 -1
  86. package/dist/lib/consumers/connect-send-transport.service.d.ts +3 -1
  87. package/dist/lib/consumers/consumer-resume.service.d.ts +2 -1
  88. package/dist/lib/consumers/create-send-transport.service.d.ts +4 -1
  89. package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +3 -1
  90. package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +3 -1
  91. package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +3 -1
  92. package/dist/lib/consumers/disp-streams.service.d.ts +1 -110
  93. package/dist/lib/consumers/generate-page-content.service.d.ts +0 -17
  94. package/dist/lib/consumers/get-estimate.service.d.ts +0 -21
  95. package/dist/lib/consumers/mix-streams.service.d.ts +0 -19
  96. package/dist/lib/consumers/on-screen-changes.service.d.ts +1 -21
  97. package/dist/lib/consumers/prepopulate-user-media.service.d.ts +3 -0
  98. package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +1 -14
  99. package/dist/lib/consumers/process-consumer-transports.service.d.ts +3 -57
  100. package/dist/lib/consumers/re-update-inter.service.d.ts +1 -39
  101. package/dist/lib/consumers/reorder-streams.service.d.ts +1 -35
  102. package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +3 -1
  103. package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +3 -1
  104. package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +5 -14
  105. package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +4 -14
  106. package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +1 -8
  107. package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +5 -1
  108. package/dist/lib/consumers/stream-success-audio.service.d.ts +3 -1
  109. package/dist/lib/consumers/stream-success-video.service.d.ts +5 -1
  110. package/dist/lib/consumers/translation-consumer-switch.service.d.ts +68 -0
  111. package/dist/lib/consumers/trigger.service.d.ts +0 -79
  112. package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +0 -24
  113. package/dist/lib/directives/with-override.directive.d.ts +76 -0
  114. package/dist/lib/methods/background-methods/launch-background.service.d.ts +2 -5
  115. package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +2 -5
  116. package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +2 -5
  117. package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +1 -1
  118. package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +2 -5
  119. package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +2 -0
  120. package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +2 -5
  121. package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +2 -5
  122. package/dist/lib/methods/message-methods/launch-messages.service.d.ts +2 -5
  123. package/dist/lib/methods/panelists-methods/add-panelist.service.d.ts +19 -0
  124. package/dist/lib/methods/panelists-methods/focus-panelists.service.d.ts +19 -0
  125. package/dist/lib/methods/panelists-methods/remove-panelist.service.d.ts +17 -0
  126. package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +2 -5
  127. package/dist/lib/methods/permissions-methods/bulk-update-participant-permissions.service.d.ts +20 -0
  128. package/dist/lib/methods/permissions-methods/update-participant-permission.service.d.ts +19 -0
  129. package/dist/lib/methods/permissions-methods/update-permission-config.service.d.ts +29 -0
  130. package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +1 -1
  131. package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +1 -1
  132. package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +1 -1
  133. package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +1 -1
  134. package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +1 -12
  135. package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +1 -11
  136. package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +0 -94
  137. package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +1 -20
  138. package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +1 -12
  139. package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +0 -66
  140. package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +1 -33
  141. package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +1 -17
  142. package/dist/lib/methods/recording-methods/start-recording.service.d.ts +1 -92
  143. package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +1 -42
  144. package/dist/lib/methods/recording-methods/update-recording.service.d.ts +1 -94
  145. package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +2 -5
  146. package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +2 -5
  147. package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +1 -1
  148. package/dist/lib/methods/stream-methods/click-chat.service.d.ts +1 -1
  149. package/dist/lib/methods/utils/get-modal-position.util.d.ts +0 -3
  150. package/dist/lib/methods/utils/initial-values.util.d.ts +25 -3
  151. package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +11 -1
  152. package/dist/lib/methods/utils/producer/a-params.service.d.ts +2 -5
  153. package/dist/lib/methods/utils/producer/h-params.service.d.ts +2 -5
  154. package/dist/lib/methods/utils/producer/screen-params.service.d.ts +2 -5
  155. package/dist/lib/methods/utils/producer/v-params.service.d.ts +2 -5
  156. package/dist/lib/methods/utils/sound-player.service.d.ts +1 -1
  157. package/dist/lib/methods/utils/translation-languages.util.d.ts +341 -0
  158. package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +2 -5
  159. package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +3 -1
  160. package/dist/lib/modern/display-components/modern-alert.component.d.ts +40 -0
  161. package/dist/lib/modern/display-components/modern-loading-modal.component.d.ts +37 -0
  162. package/dist/lib/modern/display-components/modern-meeting-progress-timer.component.d.ts +40 -0
  163. package/dist/lib/modern/display-components/modern-mini-card.component.d.ts +1064 -0
  164. package/dist/lib/modern/display-components/modern-pagination.component.d.ts +91 -0
  165. package/dist/lib/modern/display-components/modern-participants-counter-badge.component.d.ts +16 -0
  166. package/dist/lib/modern/modal-components/modern-co-host-modal.component.d.ts +63 -0
  167. package/dist/lib/modern/modal-components/modern-confirm-exit-modal.component.d.ts +42 -0
  168. package/dist/lib/modern/modal-components/modern-confirm-here-modal.component.d.ts +39 -0
  169. package/dist/lib/modern/modal-components/modern-display-settings-modal.component.d.ts +59 -0
  170. package/dist/lib/modern/modal-components/modern-event-settings-modal.component.d.ts +80 -0
  171. package/dist/lib/modern/modal-components/modern-media-settings-modal.component.d.ts +72 -0
  172. package/dist/lib/modern/modal-components/modern-menu-modal.component.d.ts +48 -0
  173. package/dist/lib/modern/modal-components/modern-messages-modal.component.d.ts +58 -0
  174. package/dist/lib/modern/modal-components/modern-participants-modal.component.d.ts +49 -0
  175. package/dist/lib/modern/modal-components/modern-poll-modal.component.d.ts +54 -0
  176. package/dist/lib/modern/modal-components/modern-recording-modal.component.d.ts +39 -0
  177. package/dist/lib/modern/modal-components/modern-requests-modal.component.d.ts +61 -0
  178. package/dist/lib/modern/modal-components/modern-share-event-modal.component.d.ts +39 -0
  179. package/dist/lib/modern/modal-components/modern-waiting-room-modal.component.d.ts +55 -0
  180. package/dist/lib/modern/primitives/modern-button.component.d.ts +10 -0
  181. package/dist/lib/modern/primitives/modern-entry-shell.component.d.ts +6 -0
  182. package/dist/lib/modern/primitives/modern-field.component.d.ts +32 -0
  183. package/dist/lib/modern/primitives/modern-sidebar-panel.component.d.ts +24 -0
  184. package/dist/lib/modern/primitives/modern-surface.component.d.ts +7 -0
  185. package/dist/lib/modern/utils/render-mode.utils.d.ts +3 -0
  186. package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +4 -10
  187. package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +0 -19
  188. package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +8 -63
  189. package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +3 -19
  190. package/dist/lib/producers/producer-emits/join-local-room.service.d.ts +3 -106
  191. package/dist/lib/producers/producer-emits/join-room.service.d.ts +0 -18
  192. package/dist/lib/producers/socket-receive-methods/added-as-panelist.service.d.ts +15 -0
  193. package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +1 -90
  194. package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +1 -88
  195. package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +1 -66
  196. package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +3 -1
  197. package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +1 -1
  198. package/dist/lib/producers/socket-receive-methods/panelist-focus-changed.service.d.ts +25 -0
  199. package/dist/lib/producers/socket-receive-methods/panelists-updated.service.d.ts +19 -0
  200. package/dist/lib/producers/socket-receive-methods/permission-config-updated.service.d.ts +15 -0
  201. package/dist/lib/producers/socket-receive-methods/permission-updated.service.d.ts +17 -0
  202. package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +1 -1
  203. package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +0 -80
  204. package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +1 -1
  205. package/dist/lib/producers/socket-receive-methods/receive-control-media.service.d.ts +21 -0
  206. package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +1 -5
  207. package/dist/lib/producers/socket-receive-methods/removed-from-panelists.service.d.ts +15 -0
  208. package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +1 -1
  209. package/dist/lib/producers/socket-receive-methods/translation-receive-methods.service.d.ts +20 -0
  210. package/dist/lib/services/live-subtitle.service.d.ts +15 -0
  211. package/dist/lib/services/ui-override-resolver.service.d.ts +91 -0
  212. package/dist/lib/sockets/socket-manager.service.d.ts +1 -2
  213. package/dist/public-api.d.ts +46 -1
  214. package/package.json +106 -95
  215. package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +0 -177
@@ -0,0 +1,91 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { GeneratePageContent, GeneratePageContentParameters } from '../../consumers/generate-page-content.service';
3
+ import { Socket } from 'socket.io-client';
4
+ import { BreakoutParticipant, ComponentSizes, ShowAlert } from '../../@types/types';
5
+ import * as i0 from "@angular/core";
6
+ export interface ModernPaginationParameters extends GeneratePageContentParameters {
7
+ mainRoomsLength: number;
8
+ memberRoom: number;
9
+ breakOutRoomStarted: boolean;
10
+ breakOutRoomEnded: boolean;
11
+ member: string;
12
+ breakoutRooms: BreakoutParticipant[][];
13
+ hostNewRoom: number;
14
+ roomName: string;
15
+ islevel: string;
16
+ showAlert?: ShowAlert;
17
+ socket: Socket;
18
+ getUpdatedAllParams: () => ModernPaginationParameters;
19
+ [key: string]: any;
20
+ }
21
+ export interface ModernPaginationOptions {
22
+ totalPages: number;
23
+ currentUserPage: number;
24
+ handlePageChange: (options: any) => Promise<void>;
25
+ position: 'left' | 'middle' | 'right' | string;
26
+ location: 'top' | 'middle' | 'bottom' | string;
27
+ direction: 'horizontal' | 'vertical';
28
+ buttonsContainerStyle: any;
29
+ activePageStyle: any;
30
+ inactivePageStyle: any;
31
+ backgroundColor: string;
32
+ paginationHeight: number;
33
+ showAspect?: boolean;
34
+ parameters: ModernPaginationParameters;
35
+ }
36
+ export declare class ModernPaginationComponent implements OnInit, OnChanges {
37
+ private generatePageContentService;
38
+ totalPages: number;
39
+ currentUserPage: number;
40
+ handlePageChange: (options: any) => Promise<void>;
41
+ position: 'left' | 'middle' | 'right' | string;
42
+ location: 'top' | 'middle' | 'bottom' | string;
43
+ direction: 'horizontal' | 'vertical';
44
+ buttonsContainerStyle: any;
45
+ activePageStyle: any;
46
+ inactivePageStyle: any;
47
+ backgroundColor: string;
48
+ paginationHeight: number;
49
+ showAspect: boolean;
50
+ maxVisiblePages: number;
51
+ parameters: ModernPaginationParameters;
52
+ constructor(generatePageContentService: GeneratePageContent);
53
+ faHome: import("@fortawesome/fontawesome-common-types").IconDefinition;
54
+ faStar: import("@fortawesome/fontawesome-common-types").IconDefinition;
55
+ faLock: import("@fortawesome/fontawesome-common-types").IconDefinition;
56
+ faUsers: import("@fortawesome/fontawesome-common-types").IconDefinition;
57
+ faChevronLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
58
+ faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
59
+ faChevronUp: import("@fortawesome/fontawesome-common-types").IconDefinition;
60
+ faChevronDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
61
+ data: number[];
62
+ private windowStart;
63
+ componentSizes: ComponentSizes;
64
+ ngOnInit(): void;
65
+ ngOnChanges(changes: SimpleChanges): void;
66
+ handleClick: (page: number) => Promise<void>;
67
+ resolveParameters(): ModernPaginationParameters;
68
+ isDarkModeEnabled(): boolean;
69
+ refreshVisiblePages(): void;
70
+ shouldShowNavigationArrows(): boolean;
71
+ canNavigateBack(): boolean;
72
+ canNavigateForward(): boolean;
73
+ shiftWindowBack(): void;
74
+ shiftWindowForward(): void;
75
+ getArrowStyle(disabled: boolean): Record<string, string>;
76
+ getHomeIconColor(): string;
77
+ getContainerStyle(): Record<string, string>;
78
+ getPageStyle(item: number): Record<string, string>;
79
+ getPageLabelStyle(item: number): Record<string, string>;
80
+ getPageAriaLabel(item: number): string;
81
+ isBreakoutRoom: (item: number) => boolean;
82
+ isCurrentBreakoutRoom(item: number): boolean;
83
+ showBreakoutLock(item: number): boolean;
84
+ getDisplayItem(item: number): string;
85
+ private syncWindowToCurrentPage;
86
+ private clampWindowStart;
87
+ private getWindowShiftAmount;
88
+ private getBreakoutRoomNumber;
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernPaginationComponent, never>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernPaginationComponent, "app-modern-pagination", never, { "totalPages": { "alias": "totalPages"; "required": false; }; "currentUserPage": { "alias": "currentUserPage"; "required": false; }; "handlePageChange": { "alias": "handlePageChange"; "required": false; }; "position": { "alias": "position"; "required": false; }; "location": { "alias": "location"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "buttonsContainerStyle": { "alias": "buttonsContainerStyle"; "required": false; }; "activePageStyle": { "alias": "activePageStyle"; "required": false; }; "inactivePageStyle": { "alias": "inactivePageStyle"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "paginationHeight": { "alias": "paginationHeight"; "required": false; }; "showAspect": { "alias": "showAspect"; "required": false; }; "maxVisiblePages": { "alias": "maxVisiblePages"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; }, {}, never, never, true, never>;
91
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ export type ModernBadgePosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
3
+ export declare class ModernParticipantsCounterBadgeComponent {
4
+ participantsCount: number;
5
+ position: ModernBadgePosition;
6
+ showBadge: boolean;
7
+ backgroundColor?: string;
8
+ textColor?: string;
9
+ isDarkMode: boolean;
10
+ customStyle: Record<string, string | number>;
11
+ readonly faUsers: import("@fortawesome/fontawesome-common-types").IconDefinition;
12
+ get containerStyle(): Record<string, string | number>;
13
+ get badgeStyle(): Record<string, string>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernParticipantsCounterBadgeComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernParticipantsCounterBadgeComponent, "app-modern-participants-counter-badge", never, { "participantsCount": { "alias": "participantsCount"; "required": false; }; "position": { "alias": "position"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "customStyle": { "alias": "customStyle"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,63 @@
1
+ import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Socket } from 'socket.io-client';
3
+ import { CoHostResponsibility, Participant, ShowAlert } from '../../@types/types';
4
+ import { ModifyCoHostSettings, ModifyCoHostSettingsOptions } from '../../methods/co-host-methods/modify-co-host-settings.service';
5
+ import { ModernRenderMode } from '../utils/render-mode.utils';
6
+ import * as i0 from "@angular/core";
7
+ interface ResponsibilityKey {
8
+ dedicateKey: string;
9
+ label: string;
10
+ manageKey: string;
11
+ }
12
+ export declare class ModernCoHostModalComponent implements OnChanges, OnInit {
13
+ private readonly modifyCoHostSettingsService;
14
+ isCoHostModalVisible: boolean;
15
+ currentCohost: string;
16
+ participants: Participant[];
17
+ coHostResponsibility: CoHostResponsibility[];
18
+ position: string;
19
+ backgroundColor: string;
20
+ roomName: string;
21
+ showAlert: ShowAlert;
22
+ updateCoHostResponsibility: (coHostResponsibility: CoHostResponsibility[]) => void;
23
+ updateCoHost: (coHost: string) => void;
24
+ updateIsCoHostModalVisible: (isCoHostModalVisible: boolean) => void;
25
+ socket: Socket;
26
+ onCoHostClose: () => void;
27
+ onModifyCoHost?: (settings: ModifyCoHostSettingsOptions) => void;
28
+ overlayStyle?: Partial<CSSStyleDeclaration>;
29
+ contentStyle?: Partial<CSSStyleDeclaration>;
30
+ customTemplate?: TemplateRef<unknown>;
31
+ parameters?: unknown;
32
+ renderMode: ModernRenderMode;
33
+ showHeader: boolean;
34
+ readonly faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
35
+ readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
36
+ selectedCohost: string;
37
+ responsibilityKeys: ResponsibilityKey[];
38
+ responsibilities: Record<string, boolean>;
39
+ private coHostResponsibilityCopy;
40
+ private modalWidth;
41
+ constructor(modifyCoHostSettingsService: ModifyCoHostSettings);
42
+ ngOnInit(): void;
43
+ ngOnChanges(changes: SimpleChanges): void;
44
+ isVisible(): boolean;
45
+ isEmbedded(): boolean;
46
+ get filteredParticipants(): Participant[];
47
+ handleToggleSwitch(key: string): void;
48
+ handleSave(): Promise<void>;
49
+ handleClose(): void;
50
+ hasAssignedCohost(): boolean;
51
+ displayCurrentCohost(): string;
52
+ resolvedOverlayStyle(): Record<string, string | number>;
53
+ resolvedContentStyle(): Record<string, string | number>;
54
+ private calculateModalWidth;
55
+ private findResponsibility;
56
+ private formatLabel;
57
+ private initializeResponsibilities;
58
+ private resolvePositionStyle;
59
+ private normalizeStyle;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernCoHostModalComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernCoHostModalComponent, "app-co-host-modal", never, { "isCoHostModalVisible": { "alias": "isCoHostModalVisible"; "required": false; }; "currentCohost": { "alias": "currentCohost"; "required": false; }; "participants": { "alias": "participants"; "required": false; }; "coHostResponsibility": { "alias": "coHostResponsibility"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "showAlert": { "alias": "showAlert"; "required": false; }; "updateCoHostResponsibility": { "alias": "updateCoHostResponsibility"; "required": false; }; "updateCoHost": { "alias": "updateCoHost"; "required": false; }; "updateIsCoHostModalVisible": { "alias": "updateIsCoHostModalVisible"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "onCoHostClose": { "alias": "onCoHostClose"; "required": false; }; "onModifyCoHost": { "alias": "onModifyCoHost"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, true, never>;
62
+ }
63
+ export {};
@@ -0,0 +1,42 @@
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
+ import { Socket } from 'socket.io-client';
3
+ import { ConfirmExit, ConfirmExitOptions } from '../../methods/exit-methods/confirm-exit.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ModernConfirmExitModalComponent implements OnInit {
6
+ private readonly confirmExitService;
7
+ isConfirmExitModalVisible: boolean;
8
+ onConfirmExitClose: () => void;
9
+ position: string;
10
+ backgroundColor: string;
11
+ exitEventOnConfirm?: (options: ConfirmExitOptions) => void;
12
+ member: string;
13
+ ban: boolean;
14
+ roomName: string;
15
+ socket: Socket;
16
+ islevel: string;
17
+ title?: string;
18
+ confirmLabel?: string;
19
+ cancelLabel?: string;
20
+ message?: string | ((context: {
21
+ islevel: string;
22
+ }) => string);
23
+ overlayStyle?: Partial<CSSStyleDeclaration>;
24
+ contentStyle?: Partial<CSSStyleDeclaration>;
25
+ customTemplate?: TemplateRef<unknown>;
26
+ readonly faExclamationTriangle: import("@fortawesome/fontawesome-common-types").IconDefinition;
27
+ readonly faSignOutAlt: import("@fortawesome/fontawesome-common-types").IconDefinition;
28
+ readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
29
+ constructor(confirmExitService: ConfirmExit);
30
+ ngOnInit(): void;
31
+ handleConfirmExit(): void;
32
+ resolvedTitle(): string;
33
+ resolvedMessage(): string;
34
+ resolvedConfirmLabel(): string;
35
+ resolvedCancelLabel(): string;
36
+ resolvedOverlayStyle(): Record<string, string | number>;
37
+ resolvedContentStyle(): Record<string, string | number>;
38
+ private resolvePositionStyle;
39
+ private normalizeStyle;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernConfirmExitModalComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernConfirmExitModalComponent, "app-confirm-exit-modal", never, { "isConfirmExitModalVisible": { "alias": "isConfirmExitModalVisible"; "required": false; }; "onConfirmExitClose": { "alias": "onConfirmExitClose"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "exitEventOnConfirm": { "alias": "exitEventOnConfirm"; "required": false; }; "member": { "alias": "member"; "required": false; }; "ban": { "alias": "ban"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "islevel": { "alias": "islevel"; "required": false; }; "title": { "alias": "title"; "required": false; }; "confirmLabel": { "alias": "confirmLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "message": { "alias": "message"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; }, {}, never, never, true, never>;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Socket } from 'socket.io-client';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ModernConfirmHereModalComponent implements OnInit, OnChanges, OnDestroy {
5
+ isConfirmHereModalVisible: boolean;
6
+ position: string;
7
+ backgroundColor: string;
8
+ displayColor: string;
9
+ isDarkMode: boolean;
10
+ onConfirmHereClose: () => void;
11
+ onSuppressConfirmHere?: () => void;
12
+ socket: Socket;
13
+ localSocket?: Socket;
14
+ roomName: string;
15
+ member: string;
16
+ countdownDuration: number;
17
+ overlayStyle?: Partial<CSSStyleDeclaration>;
18
+ contentStyle?: Partial<CSSStyleDeclaration>;
19
+ customTemplate?: TemplateRef<unknown>;
20
+ readonly faSpinner: import("@fortawesome/fontawesome-common-types").IconDefinition;
21
+ counter: number;
22
+ doNotShowAgain: boolean;
23
+ private countdownInterval?;
24
+ ngOnInit(): void;
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ ngOnDestroy(): void;
27
+ get resolvedIsDarkMode(): boolean;
28
+ get resolvedAccentColor(): string;
29
+ handleConfirmHere(): void;
30
+ updateSuppressConfirmHere(event: Event): void;
31
+ resolvedOverlayStyle(): Record<string, string | number>;
32
+ resolvedContentStyle(): Record<string, string | number>;
33
+ private startCountdown;
34
+ private clearCountdown;
35
+ private resolvePositionStyle;
36
+ private normalizeStyle;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernConfirmHereModalComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernConfirmHereModalComponent, "app-confirm-here-modal", never, { "isConfirmHereModalVisible": { "alias": "isConfirmHereModalVisible"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "displayColor": { "alias": "displayColor"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "onConfirmHereClose": { "alias": "onConfirmHereClose"; "required": false; }; "onSuppressConfirmHere": { "alias": "onSuppressConfirmHere"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "localSocket": { "alias": "localSocket"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "member": { "alias": "member"; "required": false; }; "countdownDuration": { "alias": "countdownDuration"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; }, {}, never, never, true, never>;
39
+ }
@@ -0,0 +1,59 @@
1
+ import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ModifyDisplaySettings, ModifyDisplaySettingsOptions, ModifyDisplaySettingsParameters } from '../../methods/display-settings-methods/modify-display-settings.service';
3
+ import { ModernRenderMode } from '../utils/render-mode.utils';
4
+ import * as i0 from "@angular/core";
5
+ export interface ModernDisplaySettingsModalParameters extends ModifyDisplaySettingsParameters {
6
+ meetingDisplayType: string;
7
+ autoWave: boolean;
8
+ forceFullDisplay: boolean;
9
+ meetingVideoOptimized: boolean;
10
+ showSubtitlesOnCards?: boolean;
11
+ }
12
+ export declare class ModernDisplaySettingsModalComponent implements OnInit, OnChanges {
13
+ private readonly modifyDisplaySettingsService;
14
+ isDisplaySettingsModalVisible: boolean;
15
+ onDisplaySettingsClose: () => void;
16
+ onModifyDisplaySettings?: (options: ModifyDisplaySettingsOptions) => Promise<void> | void;
17
+ parameters: ModernDisplaySettingsModalParameters;
18
+ position: string;
19
+ backgroundColor: string;
20
+ overlayStyle?: Partial<CSSStyleDeclaration>;
21
+ contentStyle?: Partial<CSSStyleDeclaration>;
22
+ customTemplate?: TemplateRef<unknown>;
23
+ renderMode: ModernRenderMode;
24
+ showHeader: boolean;
25
+ faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
26
+ faDisplay: import("@fortawesome/fontawesome-common-types").IconDefinition;
27
+ faExpand: import("@fortawesome/fontawesome-common-types").IconDefinition;
28
+ faGaugeHigh: import("@fortawesome/fontawesome-common-types").IconDefinition;
29
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
30
+ faVideo: import("@fortawesome/fontawesome-common-types").IconDefinition;
31
+ faWaveSquare: import("@fortawesome/fontawesome-common-types").IconDefinition;
32
+ meetingDisplayTypeState: string;
33
+ autoWaveState: boolean;
34
+ forceFullDisplayState: boolean;
35
+ showSubtitlesOnCardsState: boolean;
36
+ meetingVideoOptimizedState: boolean;
37
+ readonly displayOptions: {
38
+ value: string;
39
+ label: string;
40
+ description: string;
41
+ icon: import("@fortawesome/fontawesome-common-types").IconDefinition;
42
+ }[];
43
+ constructor(modifyDisplaySettingsService: ModifyDisplaySettings);
44
+ ngOnInit(): void;
45
+ ngOnChanges(_changes: SimpleChanges): void;
46
+ isVisible(): boolean;
47
+ isEmbedded(): boolean;
48
+ handleOverlayClick(): void;
49
+ handleSaveSettings(): Promise<void>;
50
+ resolvedOverlayStyle(): Record<string, string | number>;
51
+ resolvedContentStyle(): Record<string, string | number>;
52
+ resolvedAccentColor(): string;
53
+ private ensureHandler;
54
+ private resolvedModifyHandler;
55
+ private syncFromParameters;
56
+ private normalizeStyle;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernDisplaySettingsModalComponent, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernDisplaySettingsModalComponent, "app-display-settings-modal", never, { "isDisplaySettingsModalVisible": { "alias": "isDisplaySettingsModalVisible"; "required": false; }; "onDisplaySettingsClose": { "alias": "onDisplaySettingsClose"; "required": false; }; "onModifyDisplaySettings": { "alias": "onModifyDisplaySettings"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, true, never>;
59
+ }
@@ -0,0 +1,80 @@
1
+ import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
+ import { Socket } from 'socket.io-client';
4
+ import { ShowAlert } from '../../@types/types';
5
+ import { ModifySettings, ModifySettingsOptions } from '../../methods/settings-methods/modify-settings.service';
6
+ import { ModernRenderMode } from '../utils/render-mode.utils';
7
+ import * as i0 from "@angular/core";
8
+ type EventSettingValue = 'disallow' | 'allow' | 'approval';
9
+ type EventSettingSectionKey = 'audio' | 'video' | 'screenshare' | 'chat';
10
+ export declare class ModernEventSettingsModalComponent implements OnInit, OnChanges {
11
+ private readonly modifySettingsService;
12
+ isEventSettingsModalVisible: boolean;
13
+ onEventSettingsClose: () => void;
14
+ onModifyEventSettings?: (options: ModifySettingsOptions) => Promise<void>;
15
+ position: string;
16
+ backgroundColor: string;
17
+ isDarkMode?: boolean;
18
+ audioSetting: string;
19
+ videoSetting: string;
20
+ screenshareSetting: string;
21
+ chatSetting: string;
22
+ updateAudioSetting: (_setting: string) => void;
23
+ updateVideoSetting: (_setting: string) => void;
24
+ updateScreenshareSetting: (_setting: string) => void;
25
+ updateChatSetting: (_setting: string) => void;
26
+ updateIsSettingsModalVisible: (_isVisible: boolean) => void;
27
+ roomName: string;
28
+ socket: Socket;
29
+ showAlert?: ShowAlert;
30
+ overlayStyle?: Partial<CSSStyleDeclaration>;
31
+ contentStyle?: Partial<CSSStyleDeclaration>;
32
+ customTemplate?: TemplateRef<unknown>;
33
+ renderMode: ModernRenderMode;
34
+ showHeader: boolean;
35
+ readonly faMessage: IconDefinition;
36
+ readonly faMicrophone: IconDefinition;
37
+ readonly faDesktop: IconDefinition;
38
+ readonly faBan: IconDefinition;
39
+ readonly faCheckCircle: IconDefinition;
40
+ readonly faLock: IconDefinition;
41
+ readonly faTimes: IconDefinition;
42
+ readonly faVideo: IconDefinition;
43
+ audioState: EventSettingValue | string;
44
+ videoState: EventSettingValue | string;
45
+ screenshareState: EventSettingValue | string;
46
+ chatState: EventSettingValue | string;
47
+ readonly settingOptions: ReadonlyArray<{
48
+ value: EventSettingValue;
49
+ label: string;
50
+ icon: IconDefinition;
51
+ }>;
52
+ readonly settingSections: ReadonlyArray<{
53
+ key: EventSettingSectionKey;
54
+ title: string;
55
+ embeddedTitle: string;
56
+ description: string;
57
+ icon: IconDefinition;
58
+ ariaLabel: string;
59
+ }>;
60
+ constructor(modifySettingsService: ModifySettings);
61
+ get resolvedIsDarkMode(): boolean;
62
+ ngOnInit(): void;
63
+ ngOnChanges(changes: SimpleChanges): void;
64
+ isVisible(): boolean;
65
+ isEmbedded(): boolean;
66
+ handleOverlayClick(): void;
67
+ updateStatesFromParameters(): void;
68
+ settingValue(section: EventSettingSectionKey): EventSettingValue | string;
69
+ setSettingValue(section: EventSettingSectionKey, value: EventSettingValue): void;
70
+ handleSaveSettings(): Promise<void>;
71
+ closeModal(): void;
72
+ resolvedOverlayStyle(): Record<string, string | number>;
73
+ resolvedContentStyle(): Record<string, string | number>;
74
+ private resolvePositionStyle;
75
+ private normalizeStyle;
76
+ private resolvedBackground;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernEventSettingsModalComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernEventSettingsModalComponent, "app-event-settings-modal", never, { "isEventSettingsModalVisible": { "alias": "isEventSettingsModalVisible"; "required": false; }; "onEventSettingsClose": { "alias": "onEventSettingsClose"; "required": false; }; "onModifyEventSettings": { "alias": "onModifyEventSettings"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "audioSetting": { "alias": "audioSetting"; "required": false; }; "videoSetting": { "alias": "videoSetting"; "required": false; }; "screenshareSetting": { "alias": "screenshareSetting"; "required": false; }; "chatSetting": { "alias": "chatSetting"; "required": false; }; "updateAudioSetting": { "alias": "updateAudioSetting"; "required": false; }; "updateVideoSetting": { "alias": "updateVideoSetting"; "required": false; }; "updateScreenshareSetting": { "alias": "updateScreenshareSetting"; "required": false; }; "updateChatSetting": { "alias": "updateChatSetting"; "required": false; }; "updateIsSettingsModalVisible": { "alias": "updateIsSettingsModalVisible"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "showAlert": { "alias": "showAlert"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, true, never>;
79
+ }
80
+ export {};
@@ -0,0 +1,72 @@
1
+ import { DoCheck, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { SwitchAudio, SwitchAudioOptions } from '../../methods/stream-methods/switch-audio.service';
3
+ import { SwitchVideo, SwitchVideoOptions } from '../../methods/stream-methods/switch-video.service';
4
+ import { SwitchVideoAlt, SwitchVideoAltOptions } from '../../methods/stream-methods/switch-video-alt.service';
5
+ import type { MediaSettingsModalParameters } from '../../components/media-settings-components/media-settings-modal/media-settings-modal.component';
6
+ import { ModernRenderMode } from '../utils/render-mode.utils';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ModernMediaSettingsModalComponent implements OnInit, OnChanges, DoCheck {
9
+ private readonly switchAudioService;
10
+ private readonly switchVideoService;
11
+ private readonly switchVideoAltService;
12
+ isMediaSettingsModalVisible: boolean;
13
+ onMediaSettingsClose: () => void;
14
+ switchCameraOnPress?: (options: SwitchVideoAltOptions) => Promise<void>;
15
+ switchVideoOnPress?: (options: SwitchVideoOptions) => Promise<void>;
16
+ switchAudioOnPress?: (options: SwitchAudioOptions) => Promise<void>;
17
+ parameters: MediaSettingsModalParameters;
18
+ position: string;
19
+ backgroundColor: string;
20
+ overlayStyle?: Partial<CSSStyleDeclaration>;
21
+ contentStyle?: Partial<CSSStyleDeclaration>;
22
+ customTemplate?: TemplateRef<unknown>;
23
+ renderMode: ModernRenderMode;
24
+ showHeader: boolean;
25
+ onOpenBackgroundSidebar?: () => void;
26
+ readonly faCamera: import("@fortawesome/fontawesome-common-types").IconDefinition;
27
+ readonly faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
28
+ readonly faMicrophone: import("@fortawesome/fontawesome-common-types").IconDefinition;
29
+ readonly faPhotoFilm: import("@fortawesome/fontawesome-common-types").IconDefinition;
30
+ readonly faSyncAlt: import("@fortawesome/fontawesome-common-types").IconDefinition;
31
+ readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
32
+ readonly faVideo: import("@fortawesome/fontawesome-common-types").IconDefinition;
33
+ activeSection: 'video' | 'audio';
34
+ liveParameters: MediaSettingsModalParameters;
35
+ selectedVideoInput: string;
36
+ selectedAudioInput: string;
37
+ prevSelectedVideoInput: string;
38
+ prevSelectedAudioInput: string;
39
+ private lastResolvedSignature;
40
+ constructor(switchAudioService: SwitchAudio, switchVideoService: SwitchVideo, switchVideoAltService: SwitchVideoAlt);
41
+ ngOnInit(): void;
42
+ ngOnChanges(_changes: SimpleChanges): void;
43
+ ngDoCheck(): void;
44
+ isVisible(): boolean;
45
+ isEmbedded(): boolean;
46
+ handleOverlayClick(): void;
47
+ handleSwitchCamera(): Promise<void>;
48
+ handleVideoSwitch(eventOrDeviceId: Event | string): Promise<void>;
49
+ handleAudioSwitch(eventOrDeviceId: Event | string): Promise<void>;
50
+ handleModalClose(): void;
51
+ showVirtual(): void;
52
+ showCameraHint(): boolean;
53
+ getDeviceLabel(device: MediaDeviceInfo, fallback: string, index: number): string;
54
+ getSectionDescription(section: 'video' | 'audio'): string;
55
+ resolvedOverlayStyle(): Record<string, string | number>;
56
+ resolvedContentStyle(): Record<string, string | number>;
57
+ private setupDefaultServices;
58
+ private refreshState;
59
+ private syncLiveParameters;
60
+ private ensureDefaultSelections;
61
+ private resolveParameters;
62
+ private createParameterSignature;
63
+ private resolveSelectedDevice;
64
+ private resolvedCameraHandler;
65
+ private resolvedVideoHandler;
66
+ private resolvedAudioHandler;
67
+ private extractDeviceId;
68
+ private resolvePositionStyle;
69
+ private normalizeStyle;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernMediaSettingsModalComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernMediaSettingsModalComponent, "app-media-settings-modal", never, { "isMediaSettingsModalVisible": { "alias": "isMediaSettingsModalVisible"; "required": false; }; "onMediaSettingsClose": { "alias": "onMediaSettingsClose"; "required": false; }; "switchCameraOnPress": { "alias": "switchCameraOnPress"; "required": false; }; "switchVideoOnPress": { "alias": "switchVideoOnPress"; "required": false; }; "switchAudioOnPress": { "alias": "switchAudioOnPress"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "onOpenBackgroundSidebar": { "alias": "onOpenBackgroundSidebar"; "required": false; }; }, {}, never, never, true, never>;
72
+ }
@@ -0,0 +1,48 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { EventType } from '../../@types/types';
3
+ import { CustomButton } from '../../components/menu-components/custom-buttons/custom-buttons.component';
4
+ import { ModernRenderMode } from '../utils/render-mode.utils';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ModernMenuModalComponent {
7
+ backgroundColor: string;
8
+ isVisible: boolean;
9
+ isDarkMode?: boolean;
10
+ onToggleTheme?: (value: boolean) => void;
11
+ customButtons: CustomButton[];
12
+ shareButtons: boolean;
13
+ position: string;
14
+ roomName: string;
15
+ adminPasscode: string;
16
+ islevel: string;
17
+ eventType: EventType;
18
+ localLink?: string;
19
+ title?: string;
20
+ overlayStyle?: Partial<CSSStyleDeclaration>;
21
+ contentStyle?: Partial<CSSStyleDeclaration>;
22
+ customTemplate?: TemplateRef<unknown>;
23
+ onClose: () => void;
24
+ renderMode: ModernRenderMode;
25
+ showHeader: boolean;
26
+ showDefaultSections: boolean;
27
+ showBackButton: boolean;
28
+ backLabel: string;
29
+ onBack: () => void;
30
+ protected readonly faArrowLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
31
+ protected readonly faBars: import("@fortawesome/fontawesome-common-types").IconDefinition;
32
+ protected readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
33
+ protected readonly faMoon: import("@fortawesome/fontawesome-common-types").IconDefinition;
34
+ protected readonly faSun: import("@fortawesome/fontawesome-common-types").IconDefinition;
35
+ get resolvedIsDarkMode(): boolean;
36
+ isEmbedded(): boolean;
37
+ headerEyebrow(): string;
38
+ headerSubtitle(): string;
39
+ resolvedOverlayStyle(): Partial<CSSStyleDeclaration>;
40
+ resolvedContentStyle(): Partial<CSSStyleDeclaration>;
41
+ toggleTheme(value: boolean): void;
42
+ handleClose(): void;
43
+ handleBack(): void;
44
+ handleOverlayClick(): void;
45
+ private isTransparentBackground;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernMenuModalComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernMenuModalComponent, "app-modern-menu-modal", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "onToggleTheme": { "alias": "onToggleTheme"; "required": false; }; "customButtons": { "alias": "customButtons"; "required": false; }; "shareButtons": { "alias": "shareButtons"; "required": false; }; "position": { "alias": "position"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "adminPasscode": { "alias": "adminPasscode"; "required": false; }; "islevel": { "alias": "islevel"; "required": false; }; "eventType": { "alias": "eventType"; "required": false; }; "localLink": { "alias": "localLink"; "required": false; }; "title": { "alias": "title"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showDefaultSections": { "alias": "showDefaultSections"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "backLabel": { "alias": "backLabel"; "required": false; }; "onBack": { "alias": "onBack"; "required": false; }; }, {}, never, ["*"], true, never>;
48
+ }
@@ -0,0 +1,58 @@
1
+ import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { Socket } from 'socket.io-client';
3
+ import { CoHostResponsibility, EventType, Message, Participant, ShowAlert } from '../../@types/types';
4
+ import { SendMessage, SendMessageOptions } from '../../methods/message-methods/send-message.service';
5
+ import { ModernRenderMode } from '../utils/render-mode.utils';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ModernMessagesModalComponent implements OnInit, OnChanges {
8
+ private readonly sendMessageService;
9
+ isMessagesModalVisible: boolean;
10
+ onMessagesClose: () => void;
11
+ onSendMessagePress?: (options: SendMessageOptions) => Promise<void>;
12
+ messages: Message[];
13
+ position: string;
14
+ backgroundColor: string;
15
+ activeTabBackgroundColor: string;
16
+ eventType: EventType;
17
+ member: string;
18
+ islevel: string;
19
+ coHostResponsibility: CoHostResponsibility[];
20
+ coHost: string;
21
+ startDirectMessage: boolean;
22
+ directMessageDetails: Participant | null;
23
+ updateStartDirectMessage: (_start: boolean) => void;
24
+ updateDirectMessageDetails: (_participant: Participant | null) => void;
25
+ showAlert?: ShowAlert;
26
+ roomName: string;
27
+ socket: Socket;
28
+ chatSetting: string;
29
+ overlayStyle?: Partial<CSSStyleDeclaration>;
30
+ contentStyle?: Partial<CSSStyleDeclaration>;
31
+ customTemplate?: TemplateRef<unknown>;
32
+ renderMode: ModernRenderMode;
33
+ showHeader: boolean;
34
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
35
+ activeTab: 'group' | 'direct';
36
+ focusedInput: boolean;
37
+ directMessages: Message[];
38
+ groupMessages: Message[];
39
+ constructor(sendMessageService: SendMessage);
40
+ ngOnInit(): void;
41
+ ngOnChanges(_changes: SimpleChanges): void;
42
+ isVisible(): boolean;
43
+ isEmbedded(): boolean;
44
+ supportsDirectMessages(): boolean;
45
+ switchToDirectTab(): void;
46
+ switchToGroupTab(): void;
47
+ closeMessagesModal(): void;
48
+ handleOverlayClick(): void;
49
+ resolvedSendMessageHandler(): (options: SendMessageOptions) => Promise<void>;
50
+ resolvedOverlayStyle(): Record<string, string | number>;
51
+ resolvedContentStyle(): Record<string, string | number>;
52
+ private ensureSendMessageHandler;
53
+ private syncState;
54
+ private populateMessages;
55
+ private normalizeStyle;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModernMessagesModalComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModernMessagesModalComponent, "app-messages-modal", never, { "isMessagesModalVisible": { "alias": "isMessagesModalVisible"; "required": false; }; "onMessagesClose": { "alias": "onMessagesClose"; "required": false; }; "onSendMessagePress": { "alias": "onSendMessagePress"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "activeTabBackgroundColor": { "alias": "activeTabBackgroundColor"; "required": false; }; "eventType": { "alias": "eventType"; "required": false; }; "member": { "alias": "member"; "required": false; }; "islevel": { "alias": "islevel"; "required": false; }; "coHostResponsibility": { "alias": "coHostResponsibility"; "required": false; }; "coHost": { "alias": "coHost"; "required": false; }; "startDirectMessage": { "alias": "startDirectMessage"; "required": false; }; "directMessageDetails": { "alias": "directMessageDetails"; "required": false; }; "updateStartDirectMessage": { "alias": "updateStartDirectMessage"; "required": false; }; "updateDirectMessageDetails": { "alias": "updateDirectMessageDetails"; "required": false; }; "showAlert": { "alias": "showAlert"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "chatSetting": { "alias": "chatSetting"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, true, never>;
58
+ }