@cometchat/chat-uikit-angular 4.3.15 → 4.3.17
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/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +7 -1
- package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +2 -0
- package/CometChatGroups/cometchat-groups/cometchat-groups.component.d.ts +1 -0
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +1 -0
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +0 -2
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +9 -2
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +4 -1
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +18 -15
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +9 -9
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +20 -4
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +89 -23
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +3 -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 +21 -32
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +1 -3
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +53 -30
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +3 -3
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +3 -3
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +15 -5
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +2 -2
- package/fesm2015/cometchat-chat-uikit-angular.mjs +255 -138
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +248 -130
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +5 -5
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;
|
|
@@ -374,5 +380,5 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
374
380
|
textColor: string | undefined;
|
|
375
381
|
};
|
|
376
382
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversationsComponent, never>;
|
|
377
|
-
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>;
|
|
378
384
|
}
|
|
@@ -86,6 +86,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
86
86
|
getCustomOptionView(option: CometChatDetailsOption): any;
|
|
87
87
|
subtitleText: string;
|
|
88
88
|
userListenerId: string;
|
|
89
|
+
membersListenerId: string;
|
|
89
90
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
90
91
|
ngOnChanges(changes: SimpleChanges): void;
|
|
91
92
|
getTemplate(): void;
|
|
@@ -123,6 +124,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
123
124
|
viewMembers: () => void;
|
|
124
125
|
addMembers: () => void;
|
|
125
126
|
bannedMembers: () => void;
|
|
127
|
+
onBackForAddMembers: () => void;
|
|
126
128
|
leaveGroup(): void;
|
|
127
129
|
showDeleteDialog(): void;
|
|
128
130
|
deleteGroup(): void;
|
|
@@ -94,6 +94,7 @@ export declare class CometChatGroupsComponent implements OnInit, OnChanges {
|
|
|
94
94
|
getGroupIcon: (group: CometChat.Group) => string | null | undefined;
|
|
95
95
|
fetchNewUsers(): void;
|
|
96
96
|
attachConnectionListeners(): void;
|
|
97
|
+
findGroupIndex: (groupToFind: CometChat.Group) => number;
|
|
97
98
|
attachListeners(): void;
|
|
98
99
|
removeListener(): void;
|
|
99
100
|
fetchNextGroupList: (state?: States) => void;
|
package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
78
78
|
getSubtitleView(): any;
|
|
79
79
|
checkGroupType(): string;
|
|
80
80
|
updateUserStatus(user: CometChat.User): void;
|
|
81
|
+
handleGroupEvent: (group: CometChat.Group, user: CometChat.User, hasJoined: boolean, newScope?: import("@cometchat/chat-sdk-javascript").GroupMemberScope | undefined) => void;
|
|
81
82
|
attachListeners(): void;
|
|
82
83
|
removeListener(): void;
|
|
83
84
|
ngOnDestroy(): void;
|
|
@@ -39,8 +39,6 @@ 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;
|
|
44
42
|
receipts: CometChat.MessageReceipt[];
|
|
45
43
|
receiptStyle: ReceiptStyle;
|
|
46
44
|
isUserType: boolean;
|
|
@@ -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;
|
|
@@ -509,7 +515,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
509
515
|
reInitializeMessageList(): void;
|
|
510
516
|
reInitializeMessageBuilder: () => void;
|
|
511
517
|
getMessageReceipt(message: CometChat.BaseMessage): import("@cometchat/uikit-shared/dist/Utils/MessageReceiptUtils").receipts;
|
|
512
|
-
messageReadAndDelivered(message: CometChat.MessageReceipt): void;
|
|
518
|
+
messageReadAndDelivered(message: CometChat.MessageReceipt, isGroupReceipt?: boolean): void;
|
|
513
519
|
/**
|
|
514
520
|
* @param {CometChat.BaseMessage} readMessage
|
|
515
521
|
*/
|
|
@@ -649,6 +655,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
649
655
|
closeSmartReply: () => void;
|
|
650
656
|
closeConversationSummary: () => void;
|
|
651
657
|
showStatusInfo(message: CometChat.BaseMessage): boolean;
|
|
658
|
+
shouldShowMessage(message: CometChat.BaseMessage, disableReceipt: boolean, hideReceipt: boolean): boolean;
|
|
652
659
|
sendReply: (event: any) => void;
|
|
653
660
|
sendConversationStarter: (event: any) => void;
|
|
654
661
|
fetchConversationStarter(): void;
|
|
@@ -802,5 +809,5 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
802
809
|
justifyContent: string;
|
|
803
810
|
};
|
|
804
811
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageListComponent, never>;
|
|
805
|
-
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>;
|
|
806
813
|
}
|
|
@@ -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
|
*/
|