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.
- package/README.md +970 -40
- package/USAGE_COOKBOOK.md +202 -0
- package/dist/LICENSE +21 -0
- package/dist/README.md +970 -40
- package/dist/fesm2022/mediasfu-angular.mjs +30595 -16317
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/@types/types.d.ts +28 -2
- package/dist/lib/@types/ui-overrides.types.d.ts +314 -0
- package/dist/lib/components/background-components/background-modal/background-modal.component.d.ts +1053 -5
- package/dist/lib/components/breakout-components/breakout-rooms-modal.component.d.ts +2126 -51
- package/dist/lib/components/breakout-components/edit-room-modal/edit-room-modal.component.d.ts +1587 -45
- package/dist/lib/components/breakout-components/room-list/room-list.component.d.ts +5 -1
- package/dist/lib/components/co-host-components/co-host-modal/co-host-modal.component.d.ts +1067 -56
- package/dist/lib/components/display-components/alert-component/alert.component.component.d.ts +98 -28
- package/dist/lib/components/display-components/audio-card/audio-card.component.d.ts +17 -7
- package/dist/lib/components/display-components/audio-grid/audio-grid.component.d.ts +591 -11
- package/dist/lib/components/display-components/card-video-display/card-video-display.component.d.ts +3 -0
- package/dist/lib/components/display-components/control-buttons-alt-component/control-buttons-alt-component.component.d.ts +1 -1
- package/dist/lib/components/display-components/control-buttons-component/control-buttons-component.component.d.ts +34 -2
- package/dist/lib/components/display-components/control-buttons-component-touch/control-buttons-component-touch.component.d.ts +19 -0
- package/dist/lib/components/display-components/control-widgets/control-icon-badge-widget.component.d.ts +13 -0
- package/dist/lib/components/display-components/control-widgets/menu-participants-widget.component.d.ts +1 -0
- package/dist/lib/components/display-components/control-widgets/menu-widget.component.d.ts +2 -2
- package/dist/lib/components/display-components/control-widgets/message-widget.component.d.ts +2 -2
- package/dist/lib/components/display-components/control-widgets/record-timer-widget.component.d.ts +2 -0
- package/dist/lib/components/display-components/control-widgets/screenshare-widget.component.d.ts +5 -3
- package/dist/lib/components/display-components/flexible-grid/flexible-grid.component.d.ts +617 -26
- package/dist/lib/components/display-components/flexible-video/flexible-video.component.d.ts +41 -1
- package/dist/lib/components/display-components/loading-modal/loading-modal.component.d.ts +2024 -10
- package/dist/lib/components/display-components/main-aspect-component/main-aspect-component.component.d.ts +6 -2
- package/dist/lib/components/display-components/main-container-component/main-container-component.component.d.ts +6 -2
- package/dist/lib/components/display-components/main-grid-component/main-grid-component.component.d.ts +507 -8
- package/dist/lib/components/display-components/main-screen-component/main-screen-component.component.d.ts +508 -7
- package/dist/lib/components/display-components/meeting-progress-timer/meeting-progress-timer.component.d.ts +18 -11
- package/dist/lib/components/display-components/mini-audio/mini-audio.component.d.ts +11 -3
- package/dist/lib/components/display-components/mini-card/mini-card.component.d.ts +1026 -999
- package/dist/lib/components/display-components/mini-card-audio/mini-card-audio.component.d.ts +9 -3
- package/dist/lib/components/display-components/other-grid-component/other-grid-component.component.d.ts +517 -1
- package/dist/lib/components/display-components/pagination/pagination.component.d.ts +34 -1
- package/dist/lib/components/display-components/sub-aspect-component/sub-aspect-component.component.d.ts +513 -2
- package/dist/lib/components/display-components/subtitle-overlay/subtitle-overlay.component.d.ts +6 -0
- package/dist/lib/components/display-components/video-card/video-card.component.d.ts +10 -6
- package/dist/lib/components/display-settings-components/display-settings-modal.component.d.ts +1108 -27
- package/dist/lib/components/event-settings-components/event-settings-modal/event-settings-modal.component.d.ts +1134 -49
- package/dist/lib/components/exit-components/confirm-exit-modal/confirm-exit-modal.component.d.ts +94 -32
- package/dist/lib/components/media-settings-components/media-settings-modal/media-settings-modal.component.d.ts +1123 -47
- package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +2622 -4793
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +602 -4140
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +864 -5707
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +2087 -6304
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +650 -5707
- package/dist/lib/components/menu-components/custom-buttons/custom-buttons.component.d.ts +26 -4
- package/dist/lib/components/menu-components/meeting-id-component/meeting-id-component.component.d.ts +80 -1
- package/dist/lib/components/menu-components/meeting-passcode-component/meeting-passcode-component.component.d.ts +46 -1
- package/dist/lib/components/menu-components/menu-modal/menu-modal.component.d.ts +706 -15
- package/dist/lib/components/menu-components/share-buttons-component/share-buttons-component.component.d.ts +49 -2
- package/dist/lib/components/message-components/messages-modal/messages-modal.component.d.ts +79 -16
- package/dist/lib/components/misc-components/confirm-here-modal/confirm-here-modal.component.d.ts +1113 -17
- package/dist/lib/components/misc-components/pre-join-page/pre-join-page.component.d.ts +4 -0
- package/dist/lib/components/misc-components/share-event-modal/share-event-modal.component.d.ts +1114 -29
- package/dist/lib/components/panelists-components/panelists-modal/panelists-modal.component.d.ts +73 -0
- package/dist/lib/components/participants-components/participants-modal/participants-modal.component.d.ts +1084 -6
- package/dist/lib/components/permissions-components/permissions-modal/permissions-modal.component.d.ts +89 -0
- package/dist/lib/components/polls-components/poll-modal/poll-modal.component.d.ts +1060 -21
- package/dist/lib/components/recording-components/recording-modal/recording-modal.component.d.ts +1055 -35
- package/dist/lib/components/requests-components/requests-modal/requests-modal.component.d.ts +1117 -45
- package/dist/lib/components/screenboard-components/screenboard-modal/screenboard-modal.component.d.ts +1059 -47
- package/dist/lib/components/translation-components/translation-settings-modal/translation-settings-modal.component.d.ts +124 -0
- package/dist/lib/components/waiting-components/waiting-room-modal.component.d.ts +1119 -46
- package/dist/lib/components/whiteboard-components/configure-whiteboard-modal/configure-whiteboard-modal.component.d.ts +2117 -22
- package/dist/lib/components/whiteboard-components/whiteboard/whiteboard.component.d.ts +3 -15
- package/dist/lib/consumers/add-videos-grid.service.d.ts +3 -0
- package/dist/lib/consumers/auto-adjust.service.d.ts +0 -11
- package/dist/lib/consumers/calculate-rows-and-columns.service.d.ts +0 -7
- package/dist/lib/consumers/change-vids.service.d.ts +1 -1
- package/dist/lib/consumers/check-permission.service.d.ts +4 -1
- package/dist/lib/consumers/check-screen-share.service.d.ts +0 -18
- package/dist/lib/consumers/compare-active-names.service.d.ts +0 -16
- package/dist/lib/consumers/compare-screen-states.service.d.ts +0 -18
- package/dist/lib/consumers/connect-ips.service.d.ts +5 -26
- package/dist/lib/consumers/connect-local-ips.service.d.ts +1 -28
- package/dist/lib/consumers/connect-recv-transport.service.d.ts +4 -1
- package/dist/lib/consumers/connect-send-transport-audio.service.d.ts +5 -1
- package/dist/lib/consumers/connect-send-transport-screen.service.d.ts +6 -1
- package/dist/lib/consumers/connect-send-transport-video.service.d.ts +6 -1
- package/dist/lib/consumers/connect-send-transport.service.d.ts +3 -1
- package/dist/lib/consumers/consumer-resume.service.d.ts +2 -1
- package/dist/lib/consumers/create-send-transport.service.d.ts +4 -1
- package/dist/lib/consumers/disconnect-send-transport-audio.service.d.ts +3 -1
- package/dist/lib/consumers/disconnect-send-transport-screen.service.d.ts +3 -1
- package/dist/lib/consumers/disconnect-send-transport-video.service.d.ts +3 -1
- package/dist/lib/consumers/disp-streams.service.d.ts +1 -110
- package/dist/lib/consumers/generate-page-content.service.d.ts +0 -17
- package/dist/lib/consumers/get-estimate.service.d.ts +0 -21
- package/dist/lib/consumers/mix-streams.service.d.ts +0 -19
- package/dist/lib/consumers/on-screen-changes.service.d.ts +1 -21
- package/dist/lib/consumers/prepopulate-user-media.service.d.ts +3 -0
- package/dist/lib/consumers/process-consumer-transports-audio.service.d.ts +1 -14
- package/dist/lib/consumers/process-consumer-transports.service.d.ts +3 -57
- package/dist/lib/consumers/re-update-inter.service.d.ts +1 -39
- package/dist/lib/consumers/reorder-streams.service.d.ts +1 -35
- package/dist/lib/consumers/resume-send-transport-audio.service.d.ts +3 -1
- package/dist/lib/consumers/signal-new-consumer-transport.service.d.ts +3 -1
- package/dist/lib/consumers/socket-receive-methods/join-consume-room.service.d.ts +5 -14
- package/dist/lib/consumers/socket-receive-methods/new-pipe-producer.service.d.ts +4 -14
- package/dist/lib/consumers/socket-receive-methods/producer-closed.service.d.ts +1 -8
- package/dist/lib/consumers/stream-success-audio-switch.service.d.ts +5 -1
- package/dist/lib/consumers/stream-success-audio.service.d.ts +3 -1
- package/dist/lib/consumers/stream-success-video.service.d.ts +5 -1
- package/dist/lib/consumers/translation-consumer-switch.service.d.ts +68 -0
- package/dist/lib/consumers/trigger.service.d.ts +0 -79
- package/dist/lib/consumers/update-mini-cards-grid.service.d.ts +0 -24
- package/dist/lib/directives/with-override.directive.d.ts +76 -0
- package/dist/lib/methods/background-methods/launch-background.service.d.ts +2 -5
- package/dist/lib/methods/breakout-room-methods/launch-breakout-rooms.service.d.ts +2 -5
- package/dist/lib/methods/co-host-methods/launch-co-host.service.d.ts +2 -5
- package/dist/lib/methods/co-host-methods/modify-co-host-settings.service.d.ts +1 -1
- package/dist/lib/methods/display-settings-methods/launch-display-settings.service.d.ts +2 -5
- package/dist/lib/methods/display-settings-methods/modify-display-settings.service.d.ts +2 -0
- package/dist/lib/methods/exit-methods/launch-confirm-exit.service.d.ts +2 -5
- package/dist/lib/methods/menu-methods/launch-menu-modal.service.d.ts +2 -5
- package/dist/lib/methods/message-methods/launch-messages.service.d.ts +2 -5
- package/dist/lib/methods/panelists-methods/add-panelist.service.d.ts +19 -0
- package/dist/lib/methods/panelists-methods/focus-panelists.service.d.ts +19 -0
- package/dist/lib/methods/panelists-methods/remove-panelist.service.d.ts +17 -0
- package/dist/lib/methods/participants-methods/launch-participants.service.d.ts +2 -5
- package/dist/lib/methods/permissions-methods/bulk-update-participant-permissions.service.d.ts +20 -0
- package/dist/lib/methods/permissions-methods/update-participant-permission.service.d.ts +19 -0
- package/dist/lib/methods/permissions-methods/update-permission-config.service.d.ts +29 -0
- package/dist/lib/methods/polls-methods/handle-create-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/handle-end-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/handle-vote-poll.service.d.ts +1 -1
- package/dist/lib/methods/polls-methods/poll-updated.service.d.ts +1 -1
- package/dist/lib/methods/recording-methods/check-pause-state.service.d.ts +1 -12
- package/dist/lib/methods/recording-methods/check-resume-state.service.d.ts +1 -11
- package/dist/lib/methods/recording-methods/confirm-recording.service.d.ts +0 -94
- package/dist/lib/methods/recording-methods/launch-recording.service.d.ts +1 -20
- package/dist/lib/methods/recording-methods/record-pause-timer.service.d.ts +1 -12
- package/dist/lib/methods/recording-methods/record-resume-timer.service.d.ts +0 -66
- package/dist/lib/methods/recording-methods/record-start-timer.service.d.ts +1 -33
- package/dist/lib/methods/recording-methods/record-update-timer.service.d.ts +1 -17
- package/dist/lib/methods/recording-methods/start-recording.service.d.ts +1 -92
- package/dist/lib/methods/recording-methods/stop-recording.service.d.ts +1 -42
- package/dist/lib/methods/recording-methods/update-recording.service.d.ts +1 -94
- package/dist/lib/methods/requests-methods/launch-requests.service.d.ts +2 -5
- package/dist/lib/methods/settings-methods/launch-settings.service.d.ts +2 -5
- package/dist/lib/methods/settings-methods/modify-settings.service.d.ts +1 -1
- package/dist/lib/methods/stream-methods/click-chat.service.d.ts +1 -1
- package/dist/lib/methods/utils/get-modal-position.util.d.ts +0 -3
- package/dist/lib/methods/utils/initial-values.util.d.ts +25 -3
- package/dist/lib/methods/utils/mini-audio-player/mini-audio-player.component.d.ts +11 -1
- package/dist/lib/methods/utils/producer/a-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/h-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/screen-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/producer/v-params.service.d.ts +2 -5
- package/dist/lib/methods/utils/sound-player.service.d.ts +1 -1
- package/dist/lib/methods/utils/translation-languages.util.d.ts +341 -0
- package/dist/lib/methods/waiting-methods/launch-waiting.service.d.ts +2 -5
- package/dist/lib/methods/whiteboard-methods/capture-canvas-stream.service.d.ts +3 -1
- package/dist/lib/modern/display-components/modern-alert.component.d.ts +40 -0
- package/dist/lib/modern/display-components/modern-loading-modal.component.d.ts +37 -0
- package/dist/lib/modern/display-components/modern-meeting-progress-timer.component.d.ts +40 -0
- package/dist/lib/modern/display-components/modern-mini-card.component.d.ts +1064 -0
- package/dist/lib/modern/display-components/modern-pagination.component.d.ts +91 -0
- package/dist/lib/modern/display-components/modern-participants-counter-badge.component.d.ts +16 -0
- package/dist/lib/modern/modal-components/modern-co-host-modal.component.d.ts +63 -0
- package/dist/lib/modern/modal-components/modern-confirm-exit-modal.component.d.ts +42 -0
- package/dist/lib/modern/modal-components/modern-confirm-here-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-display-settings-modal.component.d.ts +59 -0
- package/dist/lib/modern/modal-components/modern-event-settings-modal.component.d.ts +80 -0
- package/dist/lib/modern/modal-components/modern-media-settings-modal.component.d.ts +72 -0
- package/dist/lib/modern/modal-components/modern-menu-modal.component.d.ts +48 -0
- package/dist/lib/modern/modal-components/modern-messages-modal.component.d.ts +58 -0
- package/dist/lib/modern/modal-components/modern-participants-modal.component.d.ts +49 -0
- package/dist/lib/modern/modal-components/modern-poll-modal.component.d.ts +54 -0
- package/dist/lib/modern/modal-components/modern-recording-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-requests-modal.component.d.ts +61 -0
- package/dist/lib/modern/modal-components/modern-share-event-modal.component.d.ts +39 -0
- package/dist/lib/modern/modal-components/modern-waiting-room-modal.component.d.ts +55 -0
- package/dist/lib/modern/primitives/modern-button.component.d.ts +10 -0
- package/dist/lib/modern/primitives/modern-entry-shell.component.d.ts +6 -0
- package/dist/lib/modern/primitives/modern-field.component.d.ts +32 -0
- package/dist/lib/modern/primitives/modern-sidebar-panel.component.d.ts +24 -0
- package/dist/lib/modern/primitives/modern-surface.component.d.ts +7 -0
- package/dist/lib/modern/utils/render-mode.utils.d.ts +3 -0
- package/dist/lib/producer-client/producer-client-emits/create-device-client.service.d.ts +4 -10
- package/dist/lib/producer-client/producer-client-emits/join-room-client.service.d.ts +0 -19
- package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts +8 -63
- package/dist/lib/producers/producer-emits/join-con-room.service.d.ts +3 -19
- package/dist/lib/producers/producer-emits/join-local-room.service.d.ts +3 -106
- package/dist/lib/producers/producer-emits/join-room.service.d.ts +0 -18
- package/dist/lib/producers/socket-receive-methods/added-as-panelist.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/all-members-rest.service.d.ts +1 -90
- package/dist/lib/producers/socket-receive-methods/all-members.service.d.ts +1 -88
- package/dist/lib/producers/socket-receive-methods/control-media-host.service.d.ts +1 -66
- package/dist/lib/producers/socket-receive-methods/get-domains.service.d.ts +3 -1
- package/dist/lib/producers/socket-receive-methods/meeting-still-there.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/panelist-focus-changed.service.d.ts +25 -0
- package/dist/lib/producers/socket-receive-methods/panelists-updated.service.d.ts +19 -0
- package/dist/lib/producers/socket-receive-methods/permission-config-updated.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/permission-updated.service.d.ts +17 -0
- package/dist/lib/producers/socket-receive-methods/person-joined.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/producer-media-paused.service.d.ts +0 -80
- package/dist/lib/producers/socket-receive-methods/producer-media-resumed.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/receive-control-media.service.d.ts +21 -0
- package/dist/lib/producers/socket-receive-methods/recording-notice.service.d.ts +1 -5
- package/dist/lib/producers/socket-receive-methods/removed-from-panelists.service.d.ts +15 -0
- package/dist/lib/producers/socket-receive-methods/room-record-params.service.d.ts +1 -1
- package/dist/lib/producers/socket-receive-methods/translation-receive-methods.service.d.ts +20 -0
- package/dist/lib/services/live-subtitle.service.d.ts +15 -0
- package/dist/lib/services/ui-override-resolver.service.d.ts +91 -0
- package/dist/lib/sockets/socket-manager.service.d.ts +1 -2
- package/dist/public-api.d.ts +46 -1
- package/package.json +106 -95
- package/dist/lib/methods/utils/producer/video-capture-constraints.service.d.ts +0 -177
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MessageParticipants, MessageParticipantsOptions } from '../../methods/participants-methods/message-participants.service';
|
|
3
|
+
import { MuteParticipants, MuteParticipantsOptions } from '../../methods/participants-methods/mute-participants.service';
|
|
4
|
+
import { RemoveParticipants, RemoveParticipantsOptions } from '../../methods/participants-methods/remove-participants.service';
|
|
5
|
+
import { ParticipantsModalParameters } from '../../components/participants-components/participants-modal/participants-modal.component';
|
|
6
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ModernParticipantsModalComponent implements OnInit, OnChanges {
|
|
9
|
+
private readonly muteParticipantsService;
|
|
10
|
+
private readonly messageParticipantsService;
|
|
11
|
+
private readonly removeParticipantsService;
|
|
12
|
+
isParticipantsModalVisible: boolean;
|
|
13
|
+
onParticipantsClose: () => void;
|
|
14
|
+
onParticipantsFilterChange: (_filter: string) => void;
|
|
15
|
+
participantsCounter: number;
|
|
16
|
+
onMuteParticipants?: (options: MuteParticipantsOptions) => Promise<void>;
|
|
17
|
+
onMessageParticipants?: (options: MessageParticipantsOptions) => void;
|
|
18
|
+
onRemoveParticipants?: (options: RemoveParticipantsOptions) => Promise<void>;
|
|
19
|
+
parameters: ParticipantsModalParameters;
|
|
20
|
+
position: string;
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
23
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
24
|
+
customTemplate?: TemplateRef<unknown>;
|
|
25
|
+
renderMode: ModernRenderMode;
|
|
26
|
+
showHeader: boolean;
|
|
27
|
+
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
28
|
+
participant_s: ParticipantsModalParameters["participants"];
|
|
29
|
+
participantsCounter_s: number;
|
|
30
|
+
constructor(muteParticipantsService: MuteParticipants, messageParticipantsService: MessageParticipants, removeParticipantsService: RemoveParticipants);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(_changes: SimpleChanges): void;
|
|
33
|
+
isVisible(): boolean;
|
|
34
|
+
isEmbedded(): boolean;
|
|
35
|
+
handleOverlayClick(): void;
|
|
36
|
+
handleFilterChange(event: Event): void;
|
|
37
|
+
handleClose(): void;
|
|
38
|
+
canShowParticipantList(): boolean;
|
|
39
|
+
resolvedMuteHandler(): (options: MuteParticipantsOptions) => Promise<void>;
|
|
40
|
+
resolvedMessageHandler(): (options: MessageParticipantsOptions) => void;
|
|
41
|
+
resolvedRemoveHandler(): (options: RemoveParticipantsOptions) => Promise<void>;
|
|
42
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
43
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
44
|
+
private ensureHandlers;
|
|
45
|
+
private updateParticipantsData;
|
|
46
|
+
private normalizeStyle;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernParticipantsModalComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernParticipantsModalComponent, "app-participants-modal", never, { "isParticipantsModalVisible": { "alias": "isParticipantsModalVisible"; "required": false; }; "onParticipantsClose": { "alias": "onParticipantsClose"; "required": false; }; "onParticipantsFilterChange": { "alias": "onParticipantsFilterChange"; "required": false; }; "participantsCounter": { "alias": "participantsCounter"; "required": false; }; "onMuteParticipants": { "alias": "onMuteParticipants"; "required": false; }; "onMessageParticipants": { "alias": "onMessageParticipants"; "required": false; }; "onRemoveParticipants": { "alias": "onRemoveParticipants"; "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>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Socket } from 'socket.io-client';
|
|
3
|
+
import { HandleCreatePollType, HandleEndPollType, HandleVotePollType, Poll, ShowAlert } from '../../@types/types';
|
|
4
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface NewPollFormState {
|
|
7
|
+
options: string[];
|
|
8
|
+
question: string;
|
|
9
|
+
type: '' | 'custom' | 'trueFalse' | 'yesNo';
|
|
10
|
+
}
|
|
11
|
+
export declare class ModernPollModalComponent implements OnInit, OnChanges {
|
|
12
|
+
isPollModalVisible: boolean;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
position: string;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
member: string;
|
|
17
|
+
islevel: string;
|
|
18
|
+
polls: Poll[];
|
|
19
|
+
poll: Poll | null;
|
|
20
|
+
socket: Socket;
|
|
21
|
+
roomName: string;
|
|
22
|
+
showAlert: ShowAlert;
|
|
23
|
+
updateIsPollModalVisible: (isVisible: boolean) => void;
|
|
24
|
+
handleCreatePoll: HandleCreatePollType;
|
|
25
|
+
handleEndPoll: HandleEndPollType;
|
|
26
|
+
handleVotePoll: HandleVotePollType;
|
|
27
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
28
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
29
|
+
customTemplate?: TemplateRef<unknown>;
|
|
30
|
+
renderMode: ModernRenderMode;
|
|
31
|
+
showHeader: boolean;
|
|
32
|
+
readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
33
|
+
activeTab: 'active' | 'create' | 'history';
|
|
34
|
+
newPoll: NewPollFormState;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
+
isVisible(): boolean;
|
|
38
|
+
isEmbedded(): boolean;
|
|
39
|
+
renderPolls: () => void;
|
|
40
|
+
calculatePercentage(votes: number[], optionIndex: number): number;
|
|
41
|
+
handlePollTypeChange(event: Event): void;
|
|
42
|
+
canCreatePoll(): boolean;
|
|
43
|
+
setActiveTab(tab: 'active' | 'create' | 'history'): void;
|
|
44
|
+
validateAndCreatePoll(): Promise<void>;
|
|
45
|
+
handledVotePoll(pollId: string, optionIndex: number): void;
|
|
46
|
+
handledEndPoll(pollId: string): void;
|
|
47
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
48
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
49
|
+
private resolvePositionStyle;
|
|
50
|
+
private normalizeStyle;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernPollModalComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernPollModalComponent, "app-poll-modal", never, { "isPollModalVisible": { "alias": "isPollModalVisible"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "member": { "alias": "member"; "required": false; }; "islevel": { "alias": "islevel"; "required": false; }; "polls": { "alias": "polls"; "required": false; }; "poll": { "alias": "poll"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "showAlert": { "alias": "showAlert"; "required": false; }; "updateIsPollModalVisible": { "alias": "updateIsPollModalVisible"; "required": false; }; "handleCreatePoll": { "alias": "handleCreatePoll"; "required": false; }; "handleEndPoll": { "alias": "handleEndPoll"; "required": false; }; "handleVotePoll": { "alias": "handleVotePoll"; "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>;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ConfirmRecordingOptions, StartRecordingOptions } from '../../@types/types';
|
|
3
|
+
import { RecordingModalParameters } from '../../components/recording-components/recording-modal/recording-modal.component';
|
|
4
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ModernRecordingModalComponent implements OnChanges {
|
|
7
|
+
isRecordingModalVisible: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
position: string;
|
|
11
|
+
confirmRecording: (options: ConfirmRecordingOptions) => void;
|
|
12
|
+
startRecording: (options: StartRecordingOptions) => void;
|
|
13
|
+
parameters: RecordingModalParameters;
|
|
14
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
15
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
16
|
+
customTemplate?: TemplateRef<unknown>;
|
|
17
|
+
renderMode: ModernRenderMode;
|
|
18
|
+
showHeader: boolean;
|
|
19
|
+
readonly faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
20
|
+
readonly faCog: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
21
|
+
readonly faPlay: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
22
|
+
readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
23
|
+
readonly faVideo: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
|
+
resolvedParameters: RecordingModalParameters;
|
|
25
|
+
activePanel: 'standard' | 'advanced';
|
|
26
|
+
get recordingDisplayAdvice(): string | null;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
isVisible(): boolean;
|
|
29
|
+
isEmbedded(): boolean;
|
|
30
|
+
confirm(): void;
|
|
31
|
+
start(): void;
|
|
32
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
33
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
34
|
+
private refreshParameters;
|
|
35
|
+
private resolvePositionStyle;
|
|
36
|
+
private normalizeStyle;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernRecordingModalComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernRecordingModalComponent, "app-recording-modal", never, { "isRecordingModalVisible": { "alias": "isRecordingModalVisible"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "position": { "alias": "position"; "required": false; }; "confirmRecording": { "alias": "confirmRecording"; "required": false; }; "startRecording": { "alias": "startRecording"; "required": false; }; "parameters": { "alias": "parameters"; "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>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
+
import { Socket } from 'socket.io-client';
|
|
4
|
+
import { Request } from '../../@types/types';
|
|
5
|
+
import { RespondToRequests, RespondToRequestsType } from '../../methods/requests-methods/respond-to-requests.service';
|
|
6
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface ModernRequestsModalParameters {
|
|
9
|
+
filteredRequestList?: Request[];
|
|
10
|
+
getUpdatedAllParams?: () => {
|
|
11
|
+
filteredRequestList: Request[];
|
|
12
|
+
};
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
export declare class ModernRequestsModalComponent implements OnInit, OnChanges {
|
|
16
|
+
private readonly respondToRequestsService;
|
|
17
|
+
isRequestsModalVisible: boolean;
|
|
18
|
+
requestCounter: number;
|
|
19
|
+
requestList: Request[];
|
|
20
|
+
roomName: string;
|
|
21
|
+
socket: Socket;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
position: string;
|
|
24
|
+
parameters: ModernRequestsModalParameters;
|
|
25
|
+
onRequestClose: () => void;
|
|
26
|
+
onRequestFilterChange: (_filter: string) => void;
|
|
27
|
+
onRequestItemPress?: RespondToRequestsType;
|
|
28
|
+
updateRequestList: (_newRequestList: Request[]) => void;
|
|
29
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
30
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
31
|
+
customTemplate?: TemplateRef<unknown>;
|
|
32
|
+
renderMode: ModernRenderMode;
|
|
33
|
+
showHeader: boolean;
|
|
34
|
+
faTimes: IconDefinition;
|
|
35
|
+
faCheck: IconDefinition;
|
|
36
|
+
faSearch: IconDefinition;
|
|
37
|
+
requestList_s: Request[];
|
|
38
|
+
requestCounter_s: number;
|
|
39
|
+
requestFilterValue: string;
|
|
40
|
+
private readonly iconMap;
|
|
41
|
+
constructor(respondToRequestsService: RespondToRequests);
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnChanges(_changes: SimpleChanges): void;
|
|
44
|
+
isVisible(): boolean;
|
|
45
|
+
isEmbedded(): boolean;
|
|
46
|
+
handleOverlayClick(): void;
|
|
47
|
+
handleModalClose(): void;
|
|
48
|
+
handleFilterChange(event: Event): void;
|
|
49
|
+
emptyStateCopy(): string;
|
|
50
|
+
handleRequestAction(request: Request, action: string): void;
|
|
51
|
+
getIcon(iconName: string): IconDefinition;
|
|
52
|
+
describeRequest(iconName: string): string;
|
|
53
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
54
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
55
|
+
private ensureHandler;
|
|
56
|
+
private resolvedRequestHandler;
|
|
57
|
+
private updateRequests;
|
|
58
|
+
private normalizeStyle;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernRequestsModalComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernRequestsModalComponent, "app-requests-modal", never, { "isRequestsModalVisible": { "alias": "isRequestsModalVisible"; "required": false; }; "requestCounter": { "alias": "requestCounter"; "required": false; }; "requestList": { "alias": "requestList"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "position": { "alias": "position"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "onRequestClose": { "alias": "onRequestClose"; "required": false; }; "onRequestFilterChange": { "alias": "onRequestFilterChange"; "required": false; }; "onRequestItemPress": { "alias": "onRequestItemPress"; "required": false; }; "updateRequestList": { "alias": "updateRequestList"; "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>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { EventType } from '../../@types/types';
|
|
3
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ModernShareEventModalComponent {
|
|
6
|
+
private readonly defaultBackgroundColor;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
isShareEventModalVisible: boolean;
|
|
9
|
+
onShareEventClose: () => void;
|
|
10
|
+
shareButtons: boolean;
|
|
11
|
+
position: string;
|
|
12
|
+
roomName: string;
|
|
13
|
+
adminPasscode: string;
|
|
14
|
+
islevel: string;
|
|
15
|
+
eventType: EventType;
|
|
16
|
+
localLink: string;
|
|
17
|
+
isDarkMode?: boolean;
|
|
18
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
19
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
20
|
+
customTemplate?: TemplateRef<unknown>;
|
|
21
|
+
renderMode: ModernRenderMode;
|
|
22
|
+
showHeader: boolean;
|
|
23
|
+
readonly faLink: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
24
|
+
readonly faShareNodes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
25
|
+
readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
26
|
+
get resolvedIsDarkMode(): boolean;
|
|
27
|
+
isVisible(): boolean;
|
|
28
|
+
isEmbedded(): boolean;
|
|
29
|
+
handleClose(): void;
|
|
30
|
+
handleOverlayClick(): void;
|
|
31
|
+
resolvedSummary(): string;
|
|
32
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
33
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
34
|
+
private resolvePositionStyle;
|
|
35
|
+
private normalizeStyle;
|
|
36
|
+
private resolvedBackground;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernShareEventModalComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernShareEventModalComponent, "app-share-event-modal", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "isShareEventModalVisible": { "alias": "isShareEventModalVisible"; "required": false; }; "onShareEventClose": { "alias": "onShareEventClose"; "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; }; "isDarkMode": { "alias": "isDarkMode"; "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>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Socket } from 'socket.io-client';
|
|
3
|
+
import { WaitingRoomParticipant } from '../../@types/types';
|
|
4
|
+
import { RespondToWaiting, RespondToWaitingType } from '../../methods/waiting-methods/respond-to-waiting.service';
|
|
5
|
+
import { ModernRenderMode } from '../utils/render-mode.utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface WaitingRoomModalParameters {
|
|
8
|
+
filteredWaitingRoomList: WaitingRoomParticipant[];
|
|
9
|
+
getUpdatedAllParams?: () => WaitingRoomModalParameters;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare class ModernWaitingRoomModalComponent implements OnChanges, OnInit {
|
|
13
|
+
private readonly respondToWaitingService;
|
|
14
|
+
isWaitingModalVisible: boolean;
|
|
15
|
+
onWaitingRoomClose: () => void;
|
|
16
|
+
waitingRoomCounter: number;
|
|
17
|
+
onWaitingRoomFilterChange: (filter: string) => void;
|
|
18
|
+
waitingRoomList: WaitingRoomParticipant[];
|
|
19
|
+
updateWaitingList: (updatedList: WaitingRoomParticipant[]) => void;
|
|
20
|
+
roomName: string;
|
|
21
|
+
socket: Socket;
|
|
22
|
+
position: string;
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
parameters: WaitingRoomModalParameters;
|
|
25
|
+
overlayStyle?: Partial<CSSStyleDeclaration>;
|
|
26
|
+
contentStyle?: Partial<CSSStyleDeclaration>;
|
|
27
|
+
customTemplate?: TemplateRef<unknown>;
|
|
28
|
+
onWaitingRoomItemPress?: RespondToWaitingType;
|
|
29
|
+
renderMode: ModernRenderMode;
|
|
30
|
+
showHeader: boolean;
|
|
31
|
+
readonly faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
32
|
+
readonly faSearch: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
33
|
+
readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
34
|
+
waitingRoomCounterState: number;
|
|
35
|
+
waitingRoomListState: WaitingRoomParticipant[];
|
|
36
|
+
waitingFilterValue: string;
|
|
37
|
+
constructor(respondToWaitingService: RespondToWaiting);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
40
|
+
isVisible(): boolean;
|
|
41
|
+
isEmbedded(): boolean;
|
|
42
|
+
handleModalClose(): void;
|
|
43
|
+
handleFilterChange(event: Event): void;
|
|
44
|
+
waitingEmptyTitle(): string;
|
|
45
|
+
waitingEmptyDetail(): string;
|
|
46
|
+
handleItemPress(participant: WaitingRoomParticipant, type: boolean): void;
|
|
47
|
+
resolvedOverlayStyle(): Record<string, string | number>;
|
|
48
|
+
resolvedContentStyle(): Record<string, string | number>;
|
|
49
|
+
private updateParameters;
|
|
50
|
+
private resolvePositionStyle;
|
|
51
|
+
private normalizeStyle;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernWaitingRoomModalComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernWaitingRoomModalComponent, "app-waiting-room-modal", never, { "isWaitingModalVisible": { "alias": "isWaitingModalVisible"; "required": false; }; "onWaitingRoomClose": { "alias": "onWaitingRoomClose"; "required": false; }; "waitingRoomCounter": { "alias": "waitingRoomCounter"; "required": false; }; "onWaitingRoomFilterChange": { "alias": "onWaitingRoomFilterChange"; "required": false; }; "waitingRoomList": { "alias": "waitingRoomList"; "required": false; }; "updateWaitingList": { "alias": "updateWaitingList"; "required": false; }; "roomName": { "alias": "roomName"; "required": false; }; "socket": { "alias": "socket"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "overlayStyle": { "alias": "overlayStyle"; "required": false; }; "contentStyle": { "alias": "contentStyle"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "onWaitingRoomItemPress": { "alias": "onWaitingRoomItemPress"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModernButtonComponent {
|
|
3
|
+
type: 'button' | 'submit' | 'reset';
|
|
4
|
+
variant: 'primary' | 'secondary' | 'ghost';
|
|
5
|
+
size: 'md' | 'lg';
|
|
6
|
+
block: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernButtonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernButtonComponent, "app-modern-button", never, { "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModernEntryShellComponent {
|
|
3
|
+
compact: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernEntryShellComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernEntryShellComponent, "app-modern-entry-shell", never, { "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["[msEntryEyebrow]", "[msEntryTitle]", "[msEntryDescription]", "*", "[msEntryFooter]"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ModernFieldOption {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class ModernFieldComponent implements ControlValueAccessor {
|
|
9
|
+
controlType: 'input' | 'select' | 'textarea';
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
hint: string;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
inputMode: string;
|
|
15
|
+
autocomplete: string;
|
|
16
|
+
rows: number;
|
|
17
|
+
options: ReadonlyArray<ModernFieldOption>;
|
|
18
|
+
blurred: EventEmitter<void>;
|
|
19
|
+
internalValue: string;
|
|
20
|
+
isDisabled: boolean;
|
|
21
|
+
private onChange;
|
|
22
|
+
private onTouched;
|
|
23
|
+
writeValue(value: string | null | undefined): void;
|
|
24
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
25
|
+
registerOnTouched(fn: () => void): void;
|
|
26
|
+
setDisabledState(isDisabled: boolean): void;
|
|
27
|
+
handleValueChange(event: Event): void;
|
|
28
|
+
handleBlur(): void;
|
|
29
|
+
trackOption: (_index: number, option: ModernFieldOption) => string;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernFieldComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernFieldComponent, "app-modern-field", never, { "controlType": { "alias": "controlType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "blurred": "blurred"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ModernSidebarPanelComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
title: string;
|
|
8
|
+
badgeText: string | number | null;
|
|
9
|
+
backLabel: string;
|
|
10
|
+
canNavigateBack: boolean;
|
|
11
|
+
contentKey: string;
|
|
12
|
+
navigateBack: EventEmitter<void>;
|
|
13
|
+
close: EventEmitter<void>;
|
|
14
|
+
private contentContainer?;
|
|
15
|
+
private scrollResetTimer;
|
|
16
|
+
protected readonly faArrowLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
|
+
protected readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
private scheduleScrollReset;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernSidebarPanelComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernSidebarPanelComponent, "app-modern-sidebar-panel", never, { "visible": { "alias": "visible"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "title": { "alias": "title"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "backLabel": { "alias": "backLabel"; "required": false; }; "canNavigateBack": { "alias": "canNavigateBack"; "required": false; }; "contentKey": { "alias": "contentKey"; "required": false; }; }, { "navigateBack": "navigateBack"; "close": "close"; }, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModernSurfaceComponent {
|
|
3
|
+
tone: 'base' | 'elevated';
|
|
4
|
+
interactive: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModernSurfaceComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModernSurfaceComponent, "app-modern-surface", never, { "tone": { "alias": "tone"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type ModernRenderMode = 'modal' | 'sidebar' | 'inline';
|
|
2
|
+
export declare const isEmbeddedRenderMode: (renderMode: ModernRenderMode) => boolean;
|
|
3
|
+
export declare const resolveModernHeaderTitle: (title: string | false | null | undefined, fallbackTitle: string) => string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { types } from 'mediasoup-client';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
4
|
+
type Device = types.Device;
|
|
3
5
|
export interface CreateDeviceClientOptions {
|
|
4
6
|
rtpCapabilities: RtpCapabilities | null;
|
|
5
7
|
}
|
|
@@ -28,16 +30,8 @@ export type CreateDeviceClientType = (options: CreateDeviceClientOptions) => Pro
|
|
|
28
30
|
* In this example, the function creates a device based on RTP capabilities, handling errors and unsupported devices gracefully.
|
|
29
31
|
*/
|
|
30
32
|
export declare class CreateDeviceClient {
|
|
31
|
-
/**
|
|
32
|
-
* Creates a mediasoup client device with the provided RTP capabilities.
|
|
33
|
-
*
|
|
34
|
-
* @param {CreateDeviceClientOptions} options - The options for creating the device client.
|
|
35
|
-
* @param {RTPCapabilities} options.rtpCapabilities - The RTP capabilities required for the device.
|
|
36
|
-
* @returns {Promise<Device | null>} A promise that resolves to the created Device or null if creation fails.
|
|
37
|
-
* @throws {Error} Throws an error if the required parameters are not provided or if device creation is not supported.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
33
|
createDeviceClient({ rtpCapabilities }: CreateDeviceClientOptions): Promise<Device | null>;
|
|
41
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDeviceClient, never>;
|
|
42
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreateDeviceClient>;
|
|
43
36
|
}
|
|
37
|
+
export {};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { JoinRoom } from '../../producers/producer-emits/join-room.service';
|
|
2
|
-
import { JoinConRoom } from '../../producers/producer-emits/join-con-room.service';
|
|
3
1
|
import { Socket } from 'socket.io-client';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export interface JoinRoomClientOptions {
|
|
@@ -44,23 +42,6 @@ export type JoinRoomClientType = (params: JoinRoomClientOptions) => Promise<any>
|
|
|
44
42
|
* This example demonstrates using `joinRoomClient` to join a room, either as a consumer or a producer, based on the `consume` flag.
|
|
45
43
|
*/
|
|
46
44
|
export declare class JoinRoomClient {
|
|
47
|
-
private JoinRoomService;
|
|
48
|
-
private JoinConRoomService;
|
|
49
|
-
constructor(JoinRoomService: JoinRoom, JoinConRoomService: JoinConRoom);
|
|
50
|
-
/**
|
|
51
|
-
* Joins a room by emitting the `joinRoom` event to the server using the provided socket.
|
|
52
|
-
*
|
|
53
|
-
* @param {Object} options - The options for joining the room.
|
|
54
|
-
* @param {Socket} options.socket - The socket instance to use for communication.
|
|
55
|
-
* @param {string} options.roomName - The name of the room to join.
|
|
56
|
-
* @param {boolean} options.islevel - The level indicator for the room.
|
|
57
|
-
* @param {string} options.member - The member identifier.
|
|
58
|
-
* @param {string} options.sec - The security token or identifier.
|
|
59
|
-
* @param {string} options.apiUserName - The API username for authentication.
|
|
60
|
-
* @param {boolean} [options.consume=false] - Flag to determine which join function to use.
|
|
61
|
-
* @returns {Promise<any>} A promise that resolves with the data returned from the server.
|
|
62
|
-
* @throws {Error} Throws an error if the room joining process fails.
|
|
63
|
-
*/
|
|
64
45
|
joinRoomClient({ socket, roomName, islevel, member, sec, apiUserName, consume, }: JoinRoomClientOptions): Promise<any>;
|
|
65
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<JoinRoomClient, never>;
|
|
66
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<JoinRoomClient>;
|
package/dist/lib/producer-client/producer-client-emits/update-room-parameters-client.service.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { AParams } from '../../methods/utils/producer/a-params.service';
|
|
6
|
-
import { RtpCapabilities } from 'mediasoup-client/lib/types';
|
|
7
|
-
import { EventType, ShowAlert, ResponseJoinRoom, ScreenParamsType, AParamsType, MeetingRoomParams } from '../../@types/types';
|
|
1
|
+
import { HParamsType } from '../../methods/utils/producer/h-params.service';
|
|
2
|
+
import { VParamsType } from '../../methods/utils/producer/v-params.service';
|
|
3
|
+
import { types } from 'mediasoup-client';
|
|
4
|
+
import { EventType, ShowAlert, VidCons, ResponseJoinRoom, ScreenParamsType, AParamsType, MeetingRoomParams } from '../../@types/types';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
9
7
|
export interface UpdateRoomParametersClientParameters {
|
|
10
8
|
rtpCapabilities: RtpCapabilities | null;
|
|
11
9
|
roomRecvIPs: string[];
|
|
@@ -17,7 +15,7 @@ export interface UpdateRoomParametersClientParameters {
|
|
|
17
15
|
shareScreenStarted: boolean;
|
|
18
16
|
shared: boolean;
|
|
19
17
|
targetOrientation: string;
|
|
20
|
-
vidCons:
|
|
18
|
+
vidCons: VidCons;
|
|
21
19
|
recordingVideoSupport: boolean;
|
|
22
20
|
frameRate: number;
|
|
23
21
|
adminPasscode: string;
|
|
@@ -44,7 +42,7 @@ export interface UpdateRoomParametersClientParameters {
|
|
|
44
42
|
updateAudioOnlyRoom: (isAudioOnly: boolean) => void;
|
|
45
43
|
updateAddForBasic: (addForBasic: boolean) => void;
|
|
46
44
|
updateScreenPageLimit: (limit: number) => void;
|
|
47
|
-
updateVidCons: (cons:
|
|
45
|
+
updateVidCons: (cons: VidCons) => void;
|
|
48
46
|
updateFrameRate: (frameRate: number) => void;
|
|
49
47
|
updateAdminPasscode: (passcode: string) => void;
|
|
50
48
|
updateEventType: (eventType: EventType) => void;
|
|
@@ -87,62 +85,9 @@ export type UpdateRoomParametersClientOptions = {
|
|
|
87
85
|
parameters: UpdateRoomParametersClientParameters;
|
|
88
86
|
};
|
|
89
87
|
export type UpdateRoomParametersClientType = (options: UpdateRoomParametersClientOptions) => void;
|
|
90
|
-
/**
|
|
91
|
-
* Updates room parameters for the client after joining a room and receiving server-provided parameters.
|
|
92
|
-
*
|
|
93
|
-
* @param {UpdateRoomParametersClientOptions} options - An object containing:
|
|
94
|
-
* - various room settings and parameters,
|
|
95
|
-
* - functions to update those parameters.
|
|
96
|
-
*
|
|
97
|
-
* - **Screen/Page Settings:** Adjusts screen and item page limits, meeting room parameters, and video constraints based on server data.
|
|
98
|
-
* - **Recording and Media Settings:** Applies bitrate and frame rate adjustments, based on the target resolution and media options.
|
|
99
|
-
* - **Role-Specific Settings:** Configures admin, host, and co-host settings for permissions, orientations, and resolutions.
|
|
100
|
-
* - **Alerting**: Uses `showAlert` to notify the client on issues or permissions restrictions.
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* ```typescript
|
|
104
|
-
* const options = {
|
|
105
|
-
* parameters: {
|
|
106
|
-
* rtpCapabilities: myRtpCapabilities,
|
|
107
|
-
* roomRecvIPs: ['192.168.1.1'],
|
|
108
|
-
* meetingRoomParams: myMeetingParams,
|
|
109
|
-
* itemPageLimit: 3,
|
|
110
|
-
* audioOnlyRoom: false,
|
|
111
|
-
* addForBasic: true,
|
|
112
|
-
* screenPageLimit: 2,
|
|
113
|
-
* shareScreenStarted: false,
|
|
114
|
-
* shared: true,
|
|
115
|
-
* targetOrientation: 'landscape',
|
|
116
|
-
* recordingVideoSupport: true,
|
|
117
|
-
* frameRate: 15,
|
|
118
|
-
* adminPasscode: 'admin123',
|
|
119
|
-
* eventType: 'conference',
|
|
120
|
-
* youAreCoHost: false,
|
|
121
|
-
* updateRtpCapabilities: (rtp) => console.log('Updating RTP:', rtp),
|
|
122
|
-
* updateRoomRecvIPs: (ips) => console.log('Updating IPs:', ips),
|
|
123
|
-
* updateMeetingRoomParams: (params) => console.log('Updating room params:', params),
|
|
124
|
-
* // Additional parameters...
|
|
125
|
-
* },
|
|
126
|
-
* };
|
|
127
|
-
*
|
|
128
|
-
* const updateRoomParametersClient = new UpdateRoomParametersClient(videoCaptureConstraints, hParams, vParams, screenParams, aParams);
|
|
129
|
-
* updateRoomParametersClient.updateRoomParametersClient(options);
|
|
130
|
-
* ```
|
|
131
|
-
*
|
|
132
|
-
* This example demonstrates setting up room parameters for a conference-type room with recording support and custom update functions.
|
|
133
|
-
*/
|
|
134
88
|
export declare class UpdateRoomParametersClient {
|
|
135
|
-
private videoCaptureConstraints;
|
|
136
|
-
private hParams;
|
|
137
|
-
private vParams;
|
|
138
|
-
private screenParams;
|
|
139
|
-
private aParams;
|
|
140
|
-
constructor(videoCaptureConstraints: VideoCaptureConstraints, hParams: HParams, vParams: VParams, screenParams: ScreenParams, aParams: AParams);
|
|
141
|
-
/**
|
|
142
|
-
* Update Room Parameters Client after the user has joined the room and the room parameters have been received from the server.
|
|
143
|
-
* @param {Object} parameters - An object containing various parameters and update functions.
|
|
144
|
-
*/
|
|
145
89
|
updateRoomParametersClient: ({ parameters }: UpdateRoomParametersClientOptions) => void;
|
|
146
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateRoomParametersClient, never>;
|
|
147
91
|
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateRoomParametersClient>;
|
|
148
92
|
}
|
|
93
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
|
-
import {
|
|
3
|
-
import { RtpCapabilities } from 'mediasoup-client/lib/types';
|
|
2
|
+
import { types } from 'mediasoup-client';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
type RtpCapabilities = types.RtpCapabilities;
|
|
5
5
|
export interface JoinConRoomOptions {
|
|
6
6
|
socket: Socket;
|
|
7
7
|
roomName: string;
|
|
@@ -59,24 +59,8 @@ export type JoinConRoomType = (options: JoinConRoomOptions) => Promise<JoinConRo
|
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
61
|
export declare class JoinConRoom {
|
|
62
|
-
private validateAlphanumeric;
|
|
63
|
-
constructor(validateAlphanumeric: ValidateAlphanumeric);
|
|
64
|
-
/**
|
|
65
|
-
* Joins a conference room using the provided options.
|
|
66
|
-
*
|
|
67
|
-
* @param {JoinConRoomOptions} options - The options for joining the conference room.
|
|
68
|
-
* @param {Socket} options.socket - The socket instance to use for communication.
|
|
69
|
-
* @param {string} options.roomName - The name of the room to join.
|
|
70
|
-
* @param {string} options.islevel - The level of the user.
|
|
71
|
-
* @param {string} options.member - The member identifier.
|
|
72
|
-
* @param {string} options.sec - The security token.
|
|
73
|
-
* @param {string} options.apiUserName - The API username.
|
|
74
|
-
* @returns {Promise<JoinConRoomResponse>} A promise that resolves with the response of the join operation.
|
|
75
|
-
*
|
|
76
|
-
* @throws {Error} If any of the required parameters are missing or invalid.
|
|
77
|
-
* @throws {Error} If the user is banned, suspended, or if the host has not joined the room yet.
|
|
78
|
-
*/
|
|
79
62
|
joinConRoom({ socket, roomName, islevel, member, sec, apiUserName, }: JoinConRoomOptions): Promise<object>;
|
|
80
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<JoinConRoom, never>;
|
|
81
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<JoinConRoom>;
|
|
82
65
|
}
|
|
66
|
+
export {};
|