Skip to content

Commit 96bf58f

Browse files
Updated UI Kit version to 4.3.19
1 parent 8b8b141 commit 96bf58f

File tree

19 files changed

+357
-238
lines changed

19 files changed

+357
-238
lines changed

Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ export declare class CometChatCallButtonsComponent implements OnInit {
1919
private themeService;
2020
user: CometChat.User;
2121
group: CometChat.Group;
22-
voiceCallIconURL: string;
22+
voiceCallIconURL: string | undefined;
2323
voiceCallIconText: string;
2424
voiceCallIconHoverText: string;
25-
videoCallIconURL: string;
25+
videoCallIconURL: string | undefined;
2626
videoCallIconText: string;
2727
videoCallIconHoverText: string;
28-
onVoiceCallClick: ((user: CometChat.User, group: CometChat.Group) => void) | null;
29-
onVideoCallClick: ((user: CometChat.User, group: CometChat.Group) => void) | null;
28+
onVoiceCallClick?: ((user: CometChat.User, group: CometChat.Group) => void) | null;
29+
onVideoCallClick?: ((user: CometChat.User, group: CometChat.Group) => void) | null;
3030
onError: (error: CometChat.CometChatException) => void;
31-
callButtonsStyle: CallButtonsStyle;
31+
callButtonsStyle: CallButtonsStyle | undefined;
3232
outgoingCallConfiguration: OutgoingCallConfiguration;
3333
ongoingCallConfiguration: CallScreenConfiguration;
3434
call: CometChat.Call | null;

Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2-
import { IncomingCallStyle, CometChatUIKitCalls } from "@cometchat/uikit-shared";
2+
import { IncomingCallStyle, CometChatUIKitCalls, CallScreenConfiguration } from "@cometchat/uikit-shared";
33
import { CallscreenStyle } from '@cometchat/uikit-elements';
44
import { AvatarStyle, IconStyle, ListItemStyle } from '@cometchat/uikit-elements';
55
import { Subscription } from 'rxjs';
@@ -25,6 +25,7 @@ export declare class CometChatIncomingCallComponent implements OnInit, OnChanges
2525
acceptButtonText: string;
2626
declineButtonText: string;
2727
subtitleView: TemplateRef<any>;
28+
ongoingCallConfiguration: CallScreenConfiguration;
2829
onError: (error: CometChat.CometChatException) => void;
2930
listItemStyle: ListItemStyle;
3031
avatarStyle: AvatarStyle;
@@ -76,5 +77,5 @@ export declare class CometChatIncomingCallComponent implements OnInit, OnChanges
7677
padding: string;
7778
};
7879
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatIncomingCallComponent, never>;
79-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatIncomingCallComponent, "cometchat-incoming-call", never, { "call": "call"; "disableSoundForCalls": "disableSoundForCalls"; "customSoundForCalls": "customSoundForCalls"; "onAccept": "onAccept"; "onDecline": "onDecline"; "acceptButtonText": "acceptButtonText"; "declineButtonText": "declineButtonText"; "subtitleView": "subtitleView"; "onError": "onError"; "listItemStyle": "listItemStyle"; "avatarStyle": "avatarStyle"; "incomingCallStyle": "incomingCallStyle"; }, {}, never, never>;
80+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatIncomingCallComponent, "cometchat-incoming-call", never, { "call": "call"; "disableSoundForCalls": "disableSoundForCalls"; "customSoundForCalls": "customSoundForCalls"; "onAccept": "onAccept"; "onDecline": "onDecline"; "acceptButtonText": "acceptButtonText"; "declineButtonText": "declineButtonText"; "subtitleView": "subtitleView"; "ongoingCallConfiguration": "ongoingCallConfiguration"; "onError": "onError"; "listItemStyle": "listItemStyle"; "avatarStyle": "avatarStyle"; "incomingCallStyle": "incomingCallStyle"; }, {}, never, never>;
8081
}

CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
3131
user: CometChat.User;
3232
group: CometChat.Group;
3333
disableSoundForMessages: boolean;
34+
/**
35+
* @deprecated
36+
*
37+
* This property is deprecated as of version 4.3.19 due to newer property 'customSoundForMessages'. It will be removed in subsequent versions.
38+
*/
3439
customSoundForMessage: string;
40+
customSoundForMessages: string;
3541
disableTypingEvents: boolean;
3642
text: string;
3743
placeholderText: string;
@@ -304,7 +310,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
304310
};
305311
handleClickOutside: (event: any) => void;
306312
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageComposerComponent, never>;
307-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "backButtonIconURL": "backButtonIconURL"; "mentionsWarningText": "mentionsWarningText"; "mentionsWarningStyle": "mentionsWarningStyle"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "actionSheetStyle": "actionSheetStyle"; "aiActionSheetStyle": "aiActionSheetStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "aiOptionsStyle": "aiOptionsStyle"; "aiIconURL": "aiIconURL"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; "hideLayoutMode": "hideLayoutMode"; "emojiIconURL": "emojiIconURL"; "userMemberWrapperConfiguration": "userMemberWrapperConfiguration"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, { "childEvent": "childEvent"; }, never, never>;
313+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "customSoundForMessages": "customSoundForMessages"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "backButtonIconURL": "backButtonIconURL"; "mentionsWarningText": "mentionsWarningText"; "mentionsWarningStyle": "mentionsWarningStyle"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "actionSheetStyle": "actionSheetStyle"; "aiActionSheetStyle": "aiActionSheetStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "aiOptionsStyle": "aiOptionsStyle"; "aiIconURL": "aiIconURL"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; "hideLayoutMode": "hideLayoutMode"; "emojiIconURL": "emojiIconURL"; "userMemberWrapperConfiguration": "userMemberWrapperConfiguration"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, { "childEvent": "childEvent"; }, never, never>;
308314
}
309315
export interface Buttons {
310316
title: string;

Shared/CometChatUIkit/CometChatUIKit.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UIKitSettings } from "@cometchat/uikit-shared";
1+
import { CallingExtensionDataSource, UIKitSettings } from "@cometchat/uikit-shared";
22
import { CardMessage, CometChatLocalize, CustomInteractiveMessage, FormMessage, SchedulerMessage } from "@cometchat/uikit-resources";
33
import { ExtensionsDataSource } from "../Framework/ExtensionDataSource";
44
import { CometChatSoundManager } from "@cometchat/uikit-shared";
@@ -13,6 +13,11 @@ export declare class CometChatUIKit {
1313
static init(uiKitSettings: UIKitSettings): Promise<Object> | undefined;
1414
static getLoggedinUser(): Promise<CometChat.User> | undefined;
1515
static defaultExtensions: ExtensionsDataSource[];
16+
/**
17+
* Default callingExtension included in the UI Kit.
18+
* @type {CallingExtensionDataSource}
19+
*/
20+
static defaultCallingExtension: CallingExtensionDataSource;
1621
static defaultAIFeatures: AIExtensionDataSource[];
1722
static enableCalling(): void;
1823
private static initiateAfterLogin;

esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs

Lines changed: 14 additions & 16 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)