Skip to content

Commit 53755fa

Browse files
committed
updated uikit version to 4.3.2
1 parent d4ebde4 commit 53755fa

File tree

29 files changed

+1212
-412
lines changed

29 files changed

+1212
-412
lines changed

CometChatContacts/cometchat-contacts/cometchat-contacts.component.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export declare class CometChatContactsComponent implements OnInit, AfterViewInit
3535
tabs: CometChatTabItem[];
3636
hideSubmitButton: boolean;
3737
submitButtonText: string;
38+
selection: typeof SelectionMode;
3839
usersRequestBuilder: CometChat.UsersRequestBuilder;
3940
usersSearchRequestBuilder: CometChat.UsersRequestBuilder;
4041
groupsRequestBuilder: CometChat.GroupsRequestBuilder;

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
192192
checkGroupType(conversation: CometChat.Conversation): string;
193193
onCancelClick: () => void;
194194
getMessageReceipt: (conversation: CometChat.Conversation) => import("@cometchat/uikit-shared/dist/Utils/MessageReceiptUtils").receipts;
195-
getDate(): DatePatterns.DayDate | DatePatterns.DayDateTime | DatePatterns.DateTime;
195+
getDate(): DatePatterns;
196196
optionsStyle: {
197197
background: string;
198198
border: string;
@@ -241,6 +241,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
241241
*/
242242
attachListeners(callback: any): void;
243243
fetchNewConversations(): void;
244+
removeConversationFromMessage(group: CometChat.Group): void;
244245
/**
245246
* Removes all listeners
246247
*/
@@ -280,6 +281,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
280281
* @param {CometChat.Conversation|{}} conversation
281282
*/
282283
makeLastMessage(message: CometChat.BaseMessage, conversation?: CometChat.Conversation | {}): import("@cometchat/chat-sdk-javascript").BaseMessage;
284+
updateConversationWithForGroup(message: CometChat.Action, conversation: CometChat.Conversation): void;
283285
/**
284286
*
285287
* Updates Conversations as Text/Custom Messages are received

CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,16 @@ export declare class CometChatConversationsWithMessagesComponent implements OnIn
5151
ccOwnershipChanged: Subscription;
5252
ccGroupDeleted: Subscription;
5353
sideBarStyle: any;
54+
groupListenerId: string;
5455
ccConversationDeleted: Subscription;
5556
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
5657
ngOnChanges(changes: SimpleChanges): void;
5758
triggerStartConversation(): void;
59+
removeChatOnGroupAction(leftUser: CometChat.User, message: CometChat.Action): void;
60+
attachGroupListeners(): void;
5861
onBack: () => void;
5962
setWithMessagesStyle(): void;
60-
onContactSelected: (users?: import("@cometchat/chat-sdk-javascript").User[] | undefined, groups?: import("@cometchat/chat-sdk-javascript").Group[] | undefined) => void;
63+
onContactClicked: (user?: import("@cometchat/chat-sdk-javascript").User | undefined, group?: import("@cometchat/chat-sdk-javascript").Group | undefined) => void;
6164
onItemClick: ((conversation: CometChat.Conversation) => void);
6265
ngAfterViewInit(): void;
6366
updateBackdropHeight(): void;

CometChatDetails/cometchat-details/cometchat-details.component.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
111111
onLeaveClick(): void;
112112
createActionMessage(actionOn: CometChat.GroupMember, action: string): import("@cometchat/chat-sdk-javascript").Action;
113113
createUserLeftAction(actionOn: CometChat.User, action: string): import("@cometchat/chat-sdk-javascript").Action;
114-
onCloseClick: () => void;
115114
onCancelClick(): void;
116115
blockUser(): void;
117116
unBlockUser(): void;
@@ -122,7 +121,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
122121
showDeleteDialog(): void;
123122
deleteGroup(): void;
124123
openTransferOwnership: () => void;
125-
onCloseDetails(): void;
124+
onCloseDetails: () => void;
126125
subtitleStyle: () => {
127126
textFont: string | undefined;
128127
textColor: string | undefined;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CometChat } from "@cometchat/chat-sdk-javascript";
33
import { EmojiKeyboardStyle, PopoverStyle, ActionSheetStyle, PreviewStyle, MediaRecorderStyle, BackdropStyle } from "@cometchat/uikit-elements";
44
import { Subscription } from "rxjs";
55
import { localize, CometChatMessageComposerAction, AuxiliaryButtonAlignment, Placement, CometChatActionsView, States, UserMemberListType } from "@cometchat/uikit-resources";
6-
import { MessageComposerStyle, StickersConfiguration, StickersStyle, CreatePollStyle, ComposerId, SmartRepliesStyle, AIOptionsStyle, CometChatMentionsTextFormatter, CometChatTextFormatter, UserMentionStyle, UserMemberWrapperConfiguration } from "@cometchat/uikit-shared";
6+
import { MessageComposerStyle, StickersConfiguration, StickersStyle, CreatePollStyle, ComposerId, SmartRepliesStyle, AIOptionsStyle, CometChatMentionsFormatter, CometChatTextFormatter, UserMentionStyle, UserMemberWrapperConfiguration } from "@cometchat/uikit-shared";
77
import { CometChatThemeService } from "../../CometChatTheme.service";
88
import "@cometchat/uikit-shared";
99
import "@cometchat/uikit-elements";
@@ -102,7 +102,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
102102
ccMessageEdit: Subscription;
103103
ccComposeMessage: Subscription;
104104
textFormatterList: Array<CometChatTextFormatter>;
105-
mentionsTextFormatterInstance: CometChatMentionsTextFormatter;
105+
mentionsTextFormatterInstance: CometChatMentionsFormatter;
106106
mentionedUsers: Array<CometChat.User | CometChat.GroupMember>;
107107
acceptHandlers: any;
108108
enableStickerKeyboard: boolean;

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

+4
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,10 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
395395
textColor: string | undefined;
396396
bubblePadding?: undefined;
397397
};
398+
isPartOfCurrentChatForUIEvent: (message: CometChat.BaseMessage) => boolean;
399+
isPartOfCurrentChatForSDKEvent: (message: CometChat.BaseMessage) => boolean;
400+
isThreadOfCurrentChatForUIEvent: (message: CometChat.BaseMessage) => boolean;
401+
isThreadOfCurrentChatForSDKEvent: (message: CometChat.BaseMessage) => boolean;
398402
setFileBubbleStyle(message: CometChat.BaseMessage): any;
399403
ngAfterViewInit(): void;
400404
startDirectCall: (sessionId: string) => void;

README.md

+41-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
<p align="center">
2-
<img alt="CometChat" src="https://assets.cometchat.io/website/images/logos/banner.png">
3-
</p>
1+
<div align="center">
2+
<img alt="CometChat" src="https://avatars2.githubusercontent.com/u/45484907?s=200&v=4" alt="CometChat" />
3+
</div>
4+
<br>
5+
<div align="center">Full-fledged Chat UIKit built with <a href="https://angular.io/">Angular</a>. </div>
6+
<div align="center">
7+
<a href="https://www.cometchat.com/docs/angular-uikit-beta/overview"><strong>Explore CometChat docs »</strong></a>
8+
</div>
9+
<br />
10+
<br />
411

5-
# CometChat Angular UI Kit
612

7-
CometChat Angular UIKit provides a pre-built user interface kit that developers can use to quickly integrate a reliable & fully-featured chat experience into an existing or a new app.<br />
13+
## Table of contents
14+
- [About the project](#about-the-project)
15+
- [Prerequisites](#prerequisites)
16+
- [Getting Started](#getting-started)
17+
- [Dependencies](#dependencies)
18+
- [Versioning](#versioning)
19+
- [Contributing](#contributing)
20+
- [Support](#support)
21+
- [License](#license)
22+
- [About Authors](#about-authors)
23+
24+
25+
## About the project
26+
CometChat Angular UIKit provides pre-built user interface kit that developers can use to quickly integrate a reliable & fully featured chat experience into an existing or a new app.<br />
827

928
### Prerequisites
1029
- npm >= 7.
@@ -18,5 +37,20 @@ To set up Angular Chat UIKit and utilize CometChat for your chat functionality,
1837
- Follow the steps provided in the integration section [here](https://www.cometchat.com/docs/angular-uikit-beta/integration#getting-started)
1938

2039

21-
## Help and Support
22-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/angular-uikit/integration) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).
40+
## Versioning
41+
- Semantic Versioning: All of the CometChat packages adhere to [semantic versioning](https://semver.org/) principles.
42+
43+
## Contributing
44+
Please read through our [contributing guidelines](./CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
45+
46+
## Support
47+
- Facing any issues while integrating or installing the UI Kit please connect with us via real time support present in <a href="https://app.cometchat.com/signup"> CometChat Dashboard.</a>.
48+
49+
## License
50+
Code released under the [MIT License](./LICENSE).
51+
52+
53+
## About Authors
54+
55+
This project is created & maintained by: <br/>
56+
[⚔️ @rajdubey 🛡](https://github.com/raj-dubey1) <br/>

Shared/Framework/DataSource.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CometChatActionsView, CometChatMessageComposerAction, CometChatMessageOption, CometChatMessageTemplate, CometChatTheme, MentionsTargetElement } from "@cometchat/uikit-resources";
22
import { ComposerId } from "../Utils/MessageUtils";
3-
import { AIOptionsStyle, CometChatMentionsTextFormatter, CometChatTextFormatter, CometChatUrlTextFormatter } from "@cometchat/uikit-shared";
3+
import { AIOptionsStyle, CometChatMentionsFormatter, CometChatTextFormatter, CometChatUrlsFormatter } from "@cometchat/uikit-shared";
44
export declare abstract class DataSource {
55
abstract getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): Array<CometChatMessageOption>;
66
abstract getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): Array<CometChatMessageOption>;
@@ -31,8 +31,8 @@ export declare abstract class DataSource {
3131
abstract getEditOption(theme: CometChatTheme): CometChatMessageOption;
3232
abstract getAIOptions(theme: CometChatTheme, id?: Map<String, any>, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
3333
abstract getAllTextFormatters(formatterParams: any): CometChatTextFormatter[];
34-
abstract getMentionsTextFormatter(formatterParams: any): CometChatMentionsTextFormatter;
35-
abstract getUrlTextFormatter(formatterParams: any): CometChatUrlTextFormatter;
34+
abstract getMentionsTextFormatter(formatterParams: any): CometChatMentionsFormatter;
35+
abstract getUrlTextFormatter(formatterParams: any): CometChatUrlsFormatter;
3636
abstract getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, mentionsFormatterParams: {
3737
mentionsTargetElement: MentionsTargetElement;
3838
theme: CometChatTheme;

Shared/Framework/DataSourceDecorator.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CometChatActionsView, CometChatMessageComposerAction, CometChatMessageOption, CometChatMessageTemplate, CometChatTheme, MentionsTargetElement } from "@cometchat/uikit-resources";
22
import { DataSource } from "./DataSource";
33
import { ComposerId } from "../Utils/MessageUtils";
4-
import { AIOptionsStyle, CometChatMentionsTextFormatter, CometChatTextFormatter, CometChatUrlTextFormatter } from "@cometchat/uikit-shared";
4+
import { AIOptionsStyle, CometChatMentionsFormatter, CometChatTextFormatter, CometChatUrlsFormatter } from "@cometchat/uikit-shared";
55
export declare abstract class DataSourceDecorator implements DataSource {
66
dataSource: DataSource;
77
constructor(dataSource: DataSource);
@@ -34,8 +34,8 @@ export declare abstract class DataSourceDecorator implements DataSource {
3434
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
3535
getAIOptions(theme: CometChatTheme, id?: Map<String, any>, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
3636
getAllTextFormatters(formatterParams: any): CometChatTextFormatter[];
37-
getMentionsTextFormatter(formatterParams: any): CometChatMentionsTextFormatter;
38-
getUrlTextFormatter(formatterParams: any): CometChatUrlTextFormatter;
37+
getMentionsTextFormatter(formatterParams: any): CometChatMentionsFormatter;
38+
getUrlTextFormatter(formatterParams: any): CometChatUrlsFormatter;
3939
getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, mentionsFormatterParams: {
4040
mentionsTargetElement: MentionsTargetElement;
4141
theme: CometChatTheme;

Shared/Utils/MessageUtils.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CometChatMessageOption, MessageBubbleAlignment, CometChatMessageTemplate, CometChatMessageComposerAction, CometChatTheme, CometChatActionsView, MentionsTargetElement } from "@cometchat/uikit-resources";
2-
import { CometChatMentionsTextFormatter, CometChatTextFormatter, CometChatUrlTextFormatter } from "@cometchat/uikit-shared";
2+
import { CometChatMentionsFormatter, CometChatTextFormatter, CometChatUrlsFormatter } from "@cometchat/uikit-shared";
33
import { DataSource } from "../Framework/DataSource";
44
export declare class MessageUtils implements DataSource {
55
/**
@@ -135,8 +135,8 @@ export declare class MessageUtils implements DataSource {
135135
}): string;
136136
getAIOptions(theme: CometChatTheme, id?: Map<String, any>): Array<CometChatMessageComposerAction | CometChatActionsView>;
137137
getAllTextFormatters(formatterParams: any): CometChatTextFormatter[];
138-
getMentionsTextFormatter(params: any): CometChatMentionsTextFormatter;
139-
getUrlTextFormatter(params?: any): CometChatUrlTextFormatter;
138+
getMentionsTextFormatter(params: any): CometChatMentionsFormatter;
139+
getUrlTextFormatter(params?: any): CometChatUrlsFormatter;
140140
}
141141
export declare type ComposerId = {
142142
parentMessageId: number | null;

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

+12-8
Large diffs are not rendered by default.

esm2020/Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component.mjs

+10-6
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)