Skip to content

Commit 912170b

Browse files
committed
Updated UIKit version to 4.3.15
1 parent dd09698 commit 912170b

File tree

29 files changed

+679
-290
lines changed

29 files changed

+679
-290
lines changed

Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.d.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
22
import "@cometchat/uikit-elements";
3-
import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from "@cometchat/uikit-elements";
3+
import { AvatarStyle, DateStyle, IconStyle, LabelStyle, ListItemStyle } from "@cometchat/uikit-elements";
44
import { CallButtonsStyle, CallButtonsConfiguration, CallLogDetailsStyle, CallLogParticipantsConfiguration, CallLogHistoryConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
55
import { CometChatDetailsOption, CometChatDetailsTemplate, DatePatterns, CometChatCallDetailsOption } from "@cometchat/uikit-resources";
66
import { CometChatThemeService } from "../../../CometChatTheme.service";
@@ -12,7 +12,7 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
1212
group: CometChat.Group;
1313
user: CometChat.User;
1414
title: string;
15-
onBackClick: () => void;
15+
onBackClick?: () => void;
1616
hideProfile: boolean;
1717
subtitleView: TemplateRef<any>;
1818
customProfileView: TemplateRef<any>;
@@ -27,6 +27,7 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
2727
datePattern2: DatePatterns;
2828
data: CometChatDetailsTemplate[];
2929
avatarStyle: AvatarStyle;
30+
labelStyle: LabelStyle;
3031
callDetailsStyle: CallLogDetailsStyle;
3132
listItemStyle: ListItemStyle;
3233
dateStyle: DateStyle;
@@ -40,7 +41,6 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
4041
showParticipantsList: Boolean;
4142
showCallRecordingList: Boolean;
4243
showCallHistory: Boolean;
43-
dividerStyle: any;
4444
getTitleStyle(): {
4545
textFont: string;
4646
textColor: string | undefined;
@@ -93,6 +93,23 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
9393
border: string | undefined;
9494
borderRadius: string | undefined;
9595
background: string | undefined;
96+
padding: string;
97+
};
98+
profileContainerStyle: () => {
99+
height: string;
100+
width: string;
101+
minHeight: string;
102+
padding: string;
103+
display: string;
104+
flexDirection: string;
105+
justifyContent: string;
106+
alignItems: string;
107+
boxSizing: string;
108+
gap: string;
109+
};
110+
getTailViewStyle: () => {
111+
font: string;
112+
color: string | undefined;
96113
};
97114
getTailView(totalSeconds: number): string;
98115
getSubtitle(call: any): string;
@@ -115,5 +132,5 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
115132
hoverBackground: string | undefined;
116133
};
117134
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogDetailsComponent, never>;
118-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogDetailsComponent, "cometchat-call-log-details", never, { "call": "call"; "group": "group"; "user": "user"; "title": "title"; "onBackClick": "onBackClick"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "backIconUrl": "backIconUrl"; "greaterThanIconURL": "greaterThanIconURL"; "callButtonsConfiguration": "callButtonsConfiguration"; "callLogParticipantsConfiguration": "callLogParticipantsConfiguration"; "callLogHistoryConfiguration": "callLogHistoryConfiguration"; "callLogRecordingsConfiguration": "callLogRecordingsConfiguration"; "onError": "onError"; "datePattern": "datePattern"; "datePattern2": "datePattern2"; "data": "data"; "avatarStyle": "avatarStyle"; "callDetailsStyle": "callDetailsStyle"; "listItemStyle": "listItemStyle"; "dateStyle": "dateStyle"; "callButtonsStyle": "callButtonsStyle"; }, {}, never, never>;
135+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogDetailsComponent, "cometchat-call-log-details", never, { "call": "call"; "group": "group"; "user": "user"; "title": "title"; "onBackClick": "onBackClick"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "backIconUrl": "backIconUrl"; "greaterThanIconURL": "greaterThanIconURL"; "callButtonsConfiguration": "callButtonsConfiguration"; "callLogParticipantsConfiguration": "callLogParticipantsConfiguration"; "callLogHistoryConfiguration": "callLogHistoryConfiguration"; "callLogRecordingsConfiguration": "callLogRecordingsConfiguration"; "onError": "onError"; "datePattern": "datePattern"; "datePattern2": "datePattern2"; "data": "data"; "avatarStyle": "avatarStyle"; "labelStyle": "labelStyle"; "callDetailsStyle": "callDetailsStyle"; "listItemStyle": "listItemStyle"; "dateStyle": "dateStyle"; "callButtonsStyle": "callButtonsStyle"; }, {}, never, never>;
119136
}

CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ export declare class CometChatAddMembersComponent implements OnInit {
5555
titleAlignmentEnum: typeof TitleAlignment;
5656
selectionmodeEnum: typeof SelectionMode;
5757
addMembersStyle: AddMembersStyle;
58+
/**
59+
* @deprecated This property is deprecated as of version 4.3.14. Use `statusIndicatorStyle` instead.
60+
*/
5861
StatusIndicatorStyle: BaseStyle;
62+
statusIndicatorStyle: BaseStyle;
5963
avatarStyle: AvatarStyle;
6064
loggedInUser: CometChat.User | null;
6165
actionMessagesList: CometChat.Action[];
@@ -107,5 +111,5 @@ export declare class CometChatAddMembersComponent implements OnInit {
107111
padding: string | undefined;
108112
};
109113
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatAddMembersComponent, never>;
110-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatAddMembersComponent, "cometchat-add-members", never, { "usersRequestBuilder": "usersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onBack": "onBack"; "onClose": "onClose"; "onSelect": "onSelect"; "buttonText": "buttonText"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "listItemStyle": "listItemStyle"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "onAddMembersButtonClick": "onAddMembersButtonClick"; "titleAlignment": "titleAlignment"; "addMembersStyle": "addMembersStyle"; "StatusIndicatorStyle": "StatusIndicatorStyle"; "avatarStyle": "avatarStyle"; }, {}, never, never>;
114+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatAddMembersComponent, "cometchat-add-members", never, { "usersRequestBuilder": "usersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onBack": "onBack"; "onClose": "onClose"; "onSelect": "onSelect"; "buttonText": "buttonText"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "listItemStyle": "listItemStyle"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "onAddMembersButtonClick": "onAddMembersButtonClick"; "titleAlignment": "titleAlignment"; "addMembersStyle": "addMembersStyle"; "StatusIndicatorStyle": "StatusIndicatorStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "avatarStyle": "avatarStyle"; }, {}, never, never>;
111115
}

CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
106106
onCustomInteractiveMessageReceived: Subscription;
107107
onMessagesRead: Subscription;
108108
onMessageDeleted: Subscription;
109+
onMessagesReadByAll: Subscription;
110+
onMessagesDeliveredToAll: Subscription;
109111
onMessageEdited: Subscription;
110112
onMessagesDelivered: Subscription;
111113
onTypingStarted: Subscription;
@@ -190,7 +192,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
190192
deleteConversationOnClick: (() => void) | null;
191193
onConfirmClick: () => void;
192194
onConversationSelected(conversation: CometChat.Conversation, event: any): void;
193-
setStatusIndicatorStyle: (conversation: CometChat.Conversation) => any;
195+
getStatusIndicatorStyle: (conversation: CometChat.Conversation) => any;
194196
/**
195197
* @param {CometChat.Conversation} conversation
196198
*/

CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ export declare class CometChatGroupMembersComponent implements OnInit, OnChanges
9797
* @param {CometChat.GroupMember} member
9898
*/
9999
getStatusIndicatorColor: (member: CometChat.GroupMember) => string | null | undefined;
100+
/**
101+
* @param {CometChat.GroupMember} member
102+
*/
103+
getStatusIndicatorStyle: (member: CometChat.GroupMember) => any;
100104
changeMemberScope(event: any): void;
101105
handleMenuAction: (menu: any, groupMember: CometChat.GroupMember) => void;
102106
blockMember: (member: CometChat.GroupMember) => void;

CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
6565
setListItemStyle(): void;
6666
setAvatarStyle(): void;
6767
setStatusStyle(): void;
68+
/**
69+
* @param {CometChat.User} user
70+
*/
71+
getStatusIndicatorStyle: (user: CometChat.User) => BaseStyle | null;
6872
getHeadersStyle(): MessageHeaderStyle;
6973
statusColor: any;
7074
backButtonStyle: any;

CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
3939
errorStateView: TemplateRef<any>;
4040
onMessagesDelivered: Subscription;
4141
onMessagesRead: Subscription;
42+
onMessagesReadByAll: Subscription;
43+
onMessagesDeliveredToAll: Subscription;
4244
receipts: CometChat.MessageReceipt[];
4345
receiptStyle: ReceiptStyle;
4446
isUserType: boolean;
@@ -64,6 +66,7 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
6466
getAvatarUrl(): string;
6567
getUserReceipt(): number;
6668
getMessageReceipt(): import("@cometchat/uikit-shared/dist/Utils/MessageReceiptUtils").receipts;
69+
updateReceipt(receipt: CometChat.MessageReceipt): void;
6770
getMessageReceipts(): void;
6871
closeClicked(): void;
6972
closeButtonStyle: () => {

CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
215215
onMediaMessageReceived: Subscription;
216216
onMessagesDelivered: Subscription;
217217
onMessagesRead: Subscription;
218+
onMessagesReadByAll: Subscription;
219+
onMessagesDeliveredToAll: Subscription;
218220
onMessageDeleted: Subscription;
219221
onMessageEdited: Subscription;
220222
onTransientMessageReceived: Subscription;

CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
22
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
3-
import { MessageComposerConfiguration, MessageComposerStyle, MessageListConfiguration, ThreadedMessagesStyle, UserMemberWrapperConfiguration } from "@cometchat/uikit-shared";
3+
import { MessageComposerConfiguration, MessageComposerStyle, MessageListConfiguration, UserMemberWrapperConfiguration, ThreadedMessagesStyle } from "@cometchat/uikit-shared";
44
import { CometChatThemeService } from "../../CometChatTheme.service";
55
import { Subscription } from "rxjs";
66
import * as i0 from "@angular/core";
@@ -30,6 +30,7 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
3030
hideMessageComposer: boolean;
3131
messageComposerView: TemplateRef<any>;
3232
messageListView: TemplateRef<any>;
33+
disableSoundForMessages: boolean;
3334
user: CometChat.User;
3435
group: CometChat.Group;
3536
loggedInUser: CometChat.User | null;
@@ -49,6 +50,8 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
4950
onMessagesDelivered: Subscription;
5051
onMessagesRead: Subscription;
5152
onMessageDeleted: Subscription;
53+
onMessagesDeliveredToAll: Subscription;
54+
onMessagesReadByAll: Subscription;
5255
onMessageEdited: Subscription;
5356
onTextMessageReceived: Subscription;
5457
onCustomMessageReceived: Subscription;
@@ -78,5 +81,5 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
7881
borderRadius: string | undefined;
7982
};
8083
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatThreadedMessagesComponent, never>;
81-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatThreadedMessagesComponent, "cometchat-threaded-messages", never, { "onClose": "onClose"; "onError": "onError"; "parentMessage": "parentMessage"; "title": "title"; "closeIconURL": "closeIconURL"; "bubbleView": "bubbleView"; "messageActionView": "messageActionView"; "messageListConfiguration": "messageListConfiguration"; "userMemberWrapperConfiguration": "userMemberWrapperConfiguration"; "messageComposerConfiguration": "messageComposerConfiguration"; "threadedMessagesStyle": "threadedMessagesStyle"; "hideMessageComposer": "hideMessageComposer"; "messageComposerView": "messageComposerView"; "messageListView": "messageListView"; }, {}, never, never>;
84+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatThreadedMessagesComponent, "cometchat-threaded-messages", never, { "onClose": "onClose"; "onError": "onError"; "parentMessage": "parentMessage"; "title": "title"; "closeIconURL": "closeIconURL"; "bubbleView": "bubbleView"; "messageActionView": "messageActionView"; "messageListConfiguration": "messageListConfiguration"; "userMemberWrapperConfiguration": "userMemberWrapperConfiguration"; "messageComposerConfiguration": "messageComposerConfiguration"; "threadedMessagesStyle": "threadedMessagesStyle"; "hideMessageComposer": "hideMessageComposer"; "messageComposerView": "messageComposerView"; "messageListView": "messageListView"; "disableSoundForMessages": "disableSoundForMessages"; }, {}, never, never>;
8285
}

CometChatUsers/cometchat-users/cometchat-users.component.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ export declare class CometChatUsersComponent implements OnInit {
9191
* @param {CometChat.User} user
9292
*/
9393
getStatusIndicatorColor: (user: CometChat.User) => string | null | undefined;
94+
/**
95+
* @param {CometChat.User} user
96+
*/
97+
getStatusIndicatorStyle: (user: CometChat.User) => BaseStyle | null;
9498
/**
9599
* @param {CometChat.User} user
96100
*/

0 commit comments

Comments
 (0)