@cometchat/chat-uikit-angular 4.3.14 → 4.3.16
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/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.d.ts +21 -4
- package/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts +5 -1
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +10 -2
- package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +4 -0
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +4 -0
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +3 -0
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +10 -1
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +5 -2
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +8 -1
- package/esm2020/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.mjs +31 -9
- package/esm2020/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component.mjs +3 -3
- package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +9 -3
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +61 -38
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +9 -9
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +1 -1
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +19 -3
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +24 -11
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +19 -4
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +19 -3
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +46 -22
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +3 -3
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +21 -6
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +25 -5
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +3 -3
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +2 -2
- package/examples/sample-app/README.md +8 -4
- package/fesm2015/cometchat-chat-uikit-angular.mjs +294 -121
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +278 -108
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
2
|
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";
|
|
4
4
|
import { CallButtonsStyle, CallButtonsConfiguration, CallLogDetailsStyle, CallLogParticipantsConfiguration, CallLogHistoryConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
|
|
5
5
|
import { CometChatDetailsOption, CometChatDetailsTemplate, DatePatterns, CometChatCallDetailsOption } from "@cometchat/uikit-resources";
|
|
6
6
|
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
@@ -12,7 +12,7 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
|
|
|
12
12
|
group: CometChat.Group;
|
|
13
13
|
user: CometChat.User;
|
|
14
14
|
title: string;
|
|
15
|
-
onBackClick
|
|
15
|
+
onBackClick?: () => void;
|
|
16
16
|
hideProfile: boolean;
|
|
17
17
|
subtitleView: TemplateRef<any>;
|
|
18
18
|
customProfileView: TemplateRef<any>;
|
|
@@ -27,6 +27,7 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
|
|
|
27
27
|
datePattern2: DatePatterns;
|
|
28
28
|
data: CometChatDetailsTemplate[];
|
|
29
29
|
avatarStyle: AvatarStyle;
|
|
30
|
+
labelStyle: LabelStyle;
|
|
30
31
|
callDetailsStyle: CallLogDetailsStyle;
|
|
31
32
|
listItemStyle: ListItemStyle;
|
|
32
33
|
dateStyle: DateStyle;
|
|
@@ -40,7 +41,6 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
|
|
|
40
41
|
showParticipantsList: Boolean;
|
|
41
42
|
showCallRecordingList: Boolean;
|
|
42
43
|
showCallHistory: Boolean;
|
|
43
|
-
dividerStyle: any;
|
|
44
44
|
getTitleStyle(): {
|
|
45
45
|
textFont: string;
|
|
46
46
|
textColor: string | undefined;
|
|
@@ -93,6 +93,23 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
|
|
|
93
93
|
border: string | undefined;
|
|
94
94
|
borderRadius: string | undefined;
|
|
95
95
|
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;
|
|
96
113
|
};
|
|
97
114
|
getTailView(totalSeconds: number): string;
|
|
98
115
|
getSubtitle(call: any): string;
|
|
@@ -115,5 +132,5 @@ export declare class CometChatCallLogDetailsComponent implements OnInit, OnChang
|
|
|
115
132
|
hoverBackground: string | undefined;
|
|
116
133
|
};
|
|
117
134
|
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>;
|
|
119
136
|
}
|
|
@@ -55,7 +55,11 @@ export declare class CometChatAddMembersComponent implements OnInit {
|
|
|
55
55
|
titleAlignmentEnum: typeof TitleAlignment;
|
|
56
56
|
selectionmodeEnum: typeof SelectionMode;
|
|
57
57
|
addMembersStyle: AddMembersStyle;
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated This property is deprecated as of version 4.3.14. Use `statusIndicatorStyle` instead.
|
|
60
|
+
*/
|
|
58
61
|
StatusIndicatorStyle: BaseStyle;
|
|
62
|
+
statusIndicatorStyle: BaseStyle;
|
|
59
63
|
avatarStyle: AvatarStyle;
|
|
60
64
|
loggedInUser: CometChat.User | null;
|
|
61
65
|
actionMessagesList: CometChat.Action[];
|
|
@@ -107,5 +111,5 @@ export declare class CometChatAddMembersComponent implements OnInit {
|
|
|
107
111
|
padding: string | undefined;
|
|
108
112
|
};
|
|
109
113
|
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>;
|
|
111
115
|
}
|
package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts
CHANGED
|
@@ -30,7 +30,13 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
30
30
|
options: ((conversation: CometChat.Conversation) => CometChatOption[]) | null;
|
|
31
31
|
searchPlaceHolder: string;
|
|
32
32
|
disableUsersPresence: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated
|
|
35
|
+
*
|
|
36
|
+
* This property is deprecated as of version 4.3.16 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
|
|
37
|
+
*/
|
|
33
38
|
disableReceipt: boolean;
|
|
39
|
+
hideReceipt: boolean;
|
|
34
40
|
disableTyping: boolean;
|
|
35
41
|
deliveredIcon: string;
|
|
36
42
|
readIcon: string;
|
|
@@ -106,6 +112,8 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
106
112
|
onCustomInteractiveMessageReceived: Subscription;
|
|
107
113
|
onMessagesRead: Subscription;
|
|
108
114
|
onMessageDeleted: Subscription;
|
|
115
|
+
onMessagesReadByAll: Subscription;
|
|
116
|
+
onMessagesDeliveredToAll: Subscription;
|
|
109
117
|
onMessageEdited: Subscription;
|
|
110
118
|
onMessagesDelivered: Subscription;
|
|
111
119
|
onTypingStarted: Subscription;
|
|
@@ -190,7 +198,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
190
198
|
deleteConversationOnClick: (() => void) | null;
|
|
191
199
|
onConfirmClick: () => void;
|
|
192
200
|
onConversationSelected(conversation: CometChat.Conversation, event: any): void;
|
|
193
|
-
|
|
201
|
+
getStatusIndicatorStyle: (conversation: CometChat.Conversation) => any;
|
|
194
202
|
/**
|
|
195
203
|
* @param {CometChat.Conversation} conversation
|
|
196
204
|
*/
|
|
@@ -372,5 +380,5 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
372
380
|
textColor: string | undefined;
|
|
373
381
|
};
|
|
374
382
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversationsComponent, never>;
|
|
375
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatConversationsComponent, "cometchat-conversations", never, { "subtitleView": "subtitleView"; "title": "title"; "options": "options"; "searchPlaceHolder": "searchPlaceHolder"; "disableUsersPresence": "disableUsersPresence"; "disableReceipt": "disableReceipt"; "disableTyping": "disableTyping"; "deliveredIcon": "deliveredIcon"; "readIcon": "readIcon"; "errorIcon": "errorIcon"; "datePattern": "datePattern"; "onError": "onError"; "sentIcon": "sentIcon"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "passwordGroupIcon": "passwordGroupIcon"; "customSoundForMessages": "customSoundForMessages"; "activeConversation": "activeConversation"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "conversationsRequestBuilder": "conversationsRequestBuilder"; "emptyStateView": "emptyStateView"; "onSelect": "onSelect"; "loadingIconURL": "loadingIconURL"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "listItemView": "listItemView"; "menu": "menu"; "hideSeparator": "hideSeparator"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "selectionMode": "selectionMode"; "disableSoundForMessages": "disableSoundForMessages"; "confirmDialogTitle": "confirmDialogTitle"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "confirmDialogMessage": "confirmDialogMessage"; "onItemClick": "onItemClick"; "deleteConversationDialogStyle": "deleteConversationDialogStyle"; "backdropStyle": "backdropStyle"; "badgeStyle": "badgeStyle"; "dateStyle": "dateStyle"; "conversationsStyle": "conversationsStyle"; "listItemStyle": "listItemStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "typingIndicatorText": "typingIndicatorText"; "threadIndicatorText": "threadIndicatorText"; "avatarStyle": "avatarStyle"; "receiptStyle": "receiptStyle"; "loggedInUser": "loggedInUser"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, {}, never, never>;
|
|
383
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatConversationsComponent, "cometchat-conversations", never, { "subtitleView": "subtitleView"; "title": "title"; "options": "options"; "searchPlaceHolder": "searchPlaceHolder"; "disableUsersPresence": "disableUsersPresence"; "disableReceipt": "disableReceipt"; "hideReceipt": "hideReceipt"; "disableTyping": "disableTyping"; "deliveredIcon": "deliveredIcon"; "readIcon": "readIcon"; "errorIcon": "errorIcon"; "datePattern": "datePattern"; "onError": "onError"; "sentIcon": "sentIcon"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "passwordGroupIcon": "passwordGroupIcon"; "customSoundForMessages": "customSoundForMessages"; "activeConversation": "activeConversation"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "conversationsRequestBuilder": "conversationsRequestBuilder"; "emptyStateView": "emptyStateView"; "onSelect": "onSelect"; "loadingIconURL": "loadingIconURL"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "listItemView": "listItemView"; "menu": "menu"; "hideSeparator": "hideSeparator"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "selectionMode": "selectionMode"; "disableSoundForMessages": "disableSoundForMessages"; "confirmDialogTitle": "confirmDialogTitle"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "confirmDialogMessage": "confirmDialogMessage"; "onItemClick": "onItemClick"; "deleteConversationDialogStyle": "deleteConversationDialogStyle"; "backdropStyle": "backdropStyle"; "badgeStyle": "badgeStyle"; "dateStyle": "dateStyle"; "conversationsStyle": "conversationsStyle"; "listItemStyle": "listItemStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "typingIndicatorText": "typingIndicatorText"; "threadIndicatorText": "threadIndicatorText"; "avatarStyle": "avatarStyle"; "receiptStyle": "receiptStyle"; "loggedInUser": "loggedInUser"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, {}, never, never>;
|
|
376
384
|
}
|
package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts
CHANGED
|
@@ -97,6 +97,10 @@ export declare class CometChatGroupMembersComponent implements OnInit, OnChanges
|
|
|
97
97
|
* @param {CometChat.GroupMember} member
|
|
98
98
|
*/
|
|
99
99
|
getStatusIndicatorColor: (member: CometChat.GroupMember) => string | null | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* @param {CometChat.GroupMember} member
|
|
102
|
+
*/
|
|
103
|
+
getStatusIndicatorStyle: (member: CometChat.GroupMember) => any;
|
|
100
104
|
changeMemberScope(event: any): void;
|
|
101
105
|
handleMenuAction: (menu: any, groupMember: CometChat.GroupMember) => void;
|
|
102
106
|
blockMember: (member: CometChat.GroupMember) => void;
|
package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts
CHANGED
|
@@ -65,6 +65,10 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
65
65
|
setListItemStyle(): void;
|
|
66
66
|
setAvatarStyle(): void;
|
|
67
67
|
setStatusStyle(): void;
|
|
68
|
+
/**
|
|
69
|
+
* @param {CometChat.User} user
|
|
70
|
+
*/
|
|
71
|
+
getStatusIndicatorStyle: (user: CometChat.User) => BaseStyle | null;
|
|
68
72
|
getHeadersStyle(): MessageHeaderStyle;
|
|
69
73
|
statusColor: any;
|
|
70
74
|
backButtonStyle: any;
|
|
@@ -39,6 +39,8 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
|
|
|
39
39
|
errorStateView: TemplateRef<any>;
|
|
40
40
|
onMessagesDelivered: Subscription;
|
|
41
41
|
onMessagesRead: Subscription;
|
|
42
|
+
onMessagesReadByAll: Subscription;
|
|
43
|
+
onMessagesDeliveredToAll: Subscription;
|
|
42
44
|
receipts: CometChat.MessageReceipt[];
|
|
43
45
|
receiptStyle: ReceiptStyle;
|
|
44
46
|
isUserType: boolean;
|
|
@@ -64,6 +66,7 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
|
|
|
64
66
|
getAvatarUrl(): string;
|
|
65
67
|
getUserReceipt(): number;
|
|
66
68
|
getMessageReceipt(): import("@cometchat/uikit-shared/dist/Utils/MessageReceiptUtils").receipts;
|
|
69
|
+
updateReceipt(receipt: CometChat.MessageReceipt): void;
|
|
67
70
|
getMessageReceipts(): void;
|
|
68
71
|
closeClicked(): void;
|
|
69
72
|
closeButtonStyle: () => {
|
|
@@ -49,7 +49,13 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
49
49
|
loadingIconURL: string;
|
|
50
50
|
user: CometChat.User;
|
|
51
51
|
group: CometChat.Group;
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated
|
|
54
|
+
*
|
|
55
|
+
* This property is deprecated as of version 4.3.16 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
|
|
56
|
+
*/
|
|
52
57
|
disableReceipt: boolean;
|
|
58
|
+
hideReceipt: boolean;
|
|
53
59
|
disableSoundForMessages: boolean;
|
|
54
60
|
customSoundForMessages: string;
|
|
55
61
|
readIcon: string;
|
|
@@ -215,6 +221,8 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
215
221
|
onMediaMessageReceived: Subscription;
|
|
216
222
|
onMessagesDelivered: Subscription;
|
|
217
223
|
onMessagesRead: Subscription;
|
|
224
|
+
onMessagesReadByAll: Subscription;
|
|
225
|
+
onMessagesDeliveredToAll: Subscription;
|
|
218
226
|
onMessageDeleted: Subscription;
|
|
219
227
|
onMessageEdited: Subscription;
|
|
220
228
|
onTransientMessageReceived: Subscription;
|
|
@@ -647,6 +655,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
647
655
|
closeSmartReply: () => void;
|
|
648
656
|
closeConversationSummary: () => void;
|
|
649
657
|
showStatusInfo(message: CometChat.BaseMessage): boolean;
|
|
658
|
+
shouldShowMessage(message: CometChat.BaseMessage, disableReceipt: boolean, hideReceipt: boolean): boolean;
|
|
650
659
|
sendReply: (event: any) => void;
|
|
651
660
|
sendConversationStarter: (event: any) => void;
|
|
652
661
|
fetchConversationStarter(): void;
|
|
@@ -800,5 +809,5 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
800
809
|
justifyContent: string;
|
|
801
810
|
};
|
|
802
811
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageListComponent, never>;
|
|
803
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageListComponent, "cometchat-message-list", never, { "hideError": "hideError"; "hideDateSeparator": "hideDateSeparator"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateView": "emptyStateView"; "errorStateText": "errorStateText"; "emptyStateText": "emptyStateText"; "loadingIconURL": "loadingIconURL"; "user": "user"; "group": "group"; "disableReceipt": "disableReceipt"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessages": "customSoundForMessages"; "readIcon": "readIcon"; "deliveredIcon": "deliveredIcon"; "sentIcon": "sentIcon"; "waitIcon": "waitIcon"; "errorIcon": "errorIcon"; "aiErrorIcon": "aiErrorIcon"; "aiEmptyIcon": "aiEmptyIcon"; "alignment": "alignment"; "showAvatar": "showAvatar"; "datePattern": "datePattern"; "timestampAlignment": "timestampAlignment"; "DateSeparatorPattern": "DateSeparatorPattern"; "templates": "templates"; "messagesRequestBuilder": "messagesRequestBuilder"; "newMessageIndicatorText": "newMessageIndicatorText"; "scrollToBottomOnNewMessages": "scrollToBottomOnNewMessages"; "thresholdValue": "thresholdValue"; "unreadMessageThreshold": "unreadMessageThreshold"; "reactionsConfiguration": "reactionsConfiguration"; "disableReactions": "disableReactions"; "emojiKeyboardStyle": "emojiKeyboardStyle"; "apiConfiguration": "apiConfiguration"; "onThreadRepliesClick": "onThreadRepliesClick"; "headerView": "headerView"; "footerView": "footerView"; "parentMessageId": "parentMessageId"; "threadIndicatorIcon": "threadIndicatorIcon"; "avatarStyle": "avatarStyle"; "backdropStyle": "backdropStyle"; "dateSeparatorStyle": "dateSeparatorStyle"; "messageListStyle": "messageListStyle"; "onError": "onError"; "messageInformationConfiguration": "messageInformationConfiguration"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, {}, never, never>;
|
|
812
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageListComponent, "cometchat-message-list", never, { "hideError": "hideError"; "hideDateSeparator": "hideDateSeparator"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateView": "emptyStateView"; "errorStateText": "errorStateText"; "emptyStateText": "emptyStateText"; "loadingIconURL": "loadingIconURL"; "user": "user"; "group": "group"; "disableReceipt": "disableReceipt"; "hideReceipt": "hideReceipt"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessages": "customSoundForMessages"; "readIcon": "readIcon"; "deliveredIcon": "deliveredIcon"; "sentIcon": "sentIcon"; "waitIcon": "waitIcon"; "errorIcon": "errorIcon"; "aiErrorIcon": "aiErrorIcon"; "aiEmptyIcon": "aiEmptyIcon"; "alignment": "alignment"; "showAvatar": "showAvatar"; "datePattern": "datePattern"; "timestampAlignment": "timestampAlignment"; "DateSeparatorPattern": "DateSeparatorPattern"; "templates": "templates"; "messagesRequestBuilder": "messagesRequestBuilder"; "newMessageIndicatorText": "newMessageIndicatorText"; "scrollToBottomOnNewMessages": "scrollToBottomOnNewMessages"; "thresholdValue": "thresholdValue"; "unreadMessageThreshold": "unreadMessageThreshold"; "reactionsConfiguration": "reactionsConfiguration"; "disableReactions": "disableReactions"; "emojiKeyboardStyle": "emojiKeyboardStyle"; "apiConfiguration": "apiConfiguration"; "onThreadRepliesClick": "onThreadRepliesClick"; "headerView": "headerView"; "footerView": "footerView"; "parentMessageId": "parentMessageId"; "threadIndicatorIcon": "threadIndicatorIcon"; "avatarStyle": "avatarStyle"; "backdropStyle": "backdropStyle"; "dateSeparatorStyle": "dateSeparatorStyle"; "messageListStyle": "messageListStyle"; "onError": "onError"; "messageInformationConfiguration": "messageInformationConfiguration"; "disableMentions": "disableMentions"; "textFormatters": "textFormatters"; }, {}, never, never>;
|
|
804
813
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
2
2
|
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
3
|
-
import { MessageComposerConfiguration, MessageComposerStyle, MessageListConfiguration,
|
|
3
|
+
import { MessageComposerConfiguration, MessageComposerStyle, MessageListConfiguration, UserMemberWrapperConfiguration, ThreadedMessagesStyle } from "@cometchat/uikit-shared";
|
|
4
4
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
5
5
|
import { Subscription } from "rxjs";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -30,6 +30,7 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
|
|
|
30
30
|
hideMessageComposer: boolean;
|
|
31
31
|
messageComposerView: TemplateRef<any>;
|
|
32
32
|
messageListView: TemplateRef<any>;
|
|
33
|
+
disableSoundForMessages: boolean;
|
|
33
34
|
user: CometChat.User;
|
|
34
35
|
group: CometChat.Group;
|
|
35
36
|
loggedInUser: CometChat.User | null;
|
|
@@ -49,6 +50,8 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
|
|
|
49
50
|
onMessagesDelivered: Subscription;
|
|
50
51
|
onMessagesRead: Subscription;
|
|
51
52
|
onMessageDeleted: Subscription;
|
|
53
|
+
onMessagesDeliveredToAll: Subscription;
|
|
54
|
+
onMessagesReadByAll: Subscription;
|
|
52
55
|
onMessageEdited: Subscription;
|
|
53
56
|
onTextMessageReceived: Subscription;
|
|
54
57
|
onCustomMessageReceived: Subscription;
|
|
@@ -78,5 +81,5 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
|
|
|
78
81
|
borderRadius: string | undefined;
|
|
79
82
|
};
|
|
80
83
|
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>;
|
|
82
85
|
}
|
|
@@ -62,6 +62,9 @@ export declare class CometChatUsersComponent implements OnInit {
|
|
|
62
62
|
connectionListenerId: string;
|
|
63
63
|
previousSearchKeyword: string;
|
|
64
64
|
isWebsocketReconnected: boolean;
|
|
65
|
+
selectedUsers: {
|
|
66
|
+
[uid: string]: CometChat.User;
|
|
67
|
+
};
|
|
65
68
|
/**
|
|
66
69
|
* Events
|
|
67
70
|
*/
|
|
@@ -78,7 +81,7 @@ export declare class CometChatUsersComponent implements OnInit {
|
|
|
78
81
|
subscribeToEvents(): void;
|
|
79
82
|
unsubscribeToEvents(): void;
|
|
80
83
|
ngOnDestroy(): void;
|
|
81
|
-
isUserSelected(user: CometChat.User):
|
|
84
|
+
isUserSelected(user: CometChat.User): true | import("@cometchat/chat-sdk-javascript").User;
|
|
82
85
|
/**
|
|
83
86
|
* @param {CometChat.User} user
|
|
84
87
|
*/
|
|
@@ -91,6 +94,10 @@ export declare class CometChatUsersComponent implements OnInit {
|
|
|
91
94
|
* @param {CometChat.User} user
|
|
92
95
|
*/
|
|
93
96
|
getStatusIndicatorColor: (user: CometChat.User) => string | null | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @param {CometChat.User} user
|
|
99
|
+
*/
|
|
100
|
+
getStatusIndicatorStyle: (user: CometChat.User) => BaseStyle | null;
|
|
94
101
|
/**
|
|
95
102
|
* @param {CometChat.User} user
|
|
96
103
|
*/
|