@cometchat/chat-uikit-angular 4.0.0-beta.1
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/CallingExtension.d.ts +5 -0
- package/Calls/CallingExtensionDecorator.d.ts +17 -0
- package/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts +75 -0
- package/Calls/CometChatCallButtons/cometchat-call-buttons.module.d.ts +11 -0
- package/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts +80 -0
- package/Calls/CometChatIncomingCall/cometchat-incoming-call.module.d.ts +11 -0
- package/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.d.ts +26 -0
- package/Calls/CometChatOngoingCall/cometchat-ongoing-call.module.d.ts +9 -0
- package/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.d.ts +58 -0
- package/Calls/CometChatOutgoingCall/cometchat-outgoing-call.module.d.ts +10 -0
- package/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts +109 -0
- package/CometChatAddMembers/cometchat-add-members.module.d.ts +12 -0
- package/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.d.ts +140 -0
- package/CometChatBannedMembers/cometchat-banned-members.module.d.ts +13 -0
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +335 -0
- package/CometChatConversations/cometchat-conversations.module.d.ts +10 -0
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts +86 -0
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.d.ts +12 -0
- package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +149 -0
- package/CometChatDetails/cometchat-details.module.d.ts +12 -0
- package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +145 -0
- package/CometChatGroupMembers/cometchat-group-members.module.d.ts +13 -0
- package/CometChatGroups/cometchat-groups/cometchat-groups.component.d.ts +136 -0
- package/CometChatGroups/cometchat-groups.module.d.ts +10 -0
- package/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.d.ts +100 -0
- package/CometChatGroupsWithMessages/cometchat-groups-with-messages.module.d.ts +13 -0
- package/CometChatList/cometchat-list.component.d.ts +87 -0
- package/CometChatList/cometchat-list.module.d.ts +10 -0
- package/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.d.ts +62 -0
- package/CometChatMessageBubble/cometchat-message-bubble.module.d.ts +8 -0
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +165 -0
- package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +9 -0
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +85 -0
- package/CometChatMessageHeader/cometchat-message-header.module.d.ts +9 -0
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +510 -0
- package/CometChatMessageList/cometchat-message-list.module.d.ts +11 -0
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +136 -0
- package/CometChatMessages/cometchat-messages.module.d.ts +15 -0
- package/CometChatTheme.service.d.ts +7 -0
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +73 -0
- package/CometChatThreadedMessages/cometchat-threaded-messages.module.d.ts +12 -0
- package/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.d.ts +88 -0
- package/CometChatTransferOwnership/cometchat-transfer-ownership.module.d.ts +10 -0
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +105 -0
- package/CometChatUsers/cometchat-users.module.d.ts +11 -0
- package/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.d.ts +71 -0
- package/CometChatUsersWithMessages/cometchat-users-with-messages.module.d.ts +12 -0
- package/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +9 -0
- package/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +17 -0
- package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +9 -0
- package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +17 -0
- package/Extensions/ImageModeration/ImageModerationExtension.d.ts +5 -0
- package/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +6 -0
- package/Extensions/LinkPreviewExtension/LinkPreviewExtension.d.ts +5 -0
- package/Extensions/LinkPreviewExtension/LinkPreviewExtensionDecorator.d.ts +6 -0
- package/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +9 -0
- package/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +12 -0
- package/Extensions/PollsExtension/PollsExtension.d.ts +5 -0
- package/Extensions/PollsExtension/PollsExtensionDecorator.d.ts +15 -0
- package/Extensions/Reactions/ReactionExtension.d.ts +5 -0
- package/Extensions/Reactions/ReactionExtensionDecorator.d.ts +10 -0
- package/Extensions/SmartReplies/SmartRepliesExtension.d.ts +9 -0
- package/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +16 -0
- package/Extensions/Stickers/StickersExtension.d.ts +9 -0
- package/Extensions/Stickers/StickersExtensionDecorator.d.ts +27 -0
- package/Extensions/TextModerator/TextModeratorExtension.d.ts +5 -0
- package/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +9 -0
- package/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +5 -0
- package/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +6 -0
- package/README.md +60 -0
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +18 -0
- package/Shared/Framework/ChatConfigurator.d.ts +8 -0
- package/Shared/Framework/DataSource.d.ts +29 -0
- package/Shared/Framework/DataSourceDecorator.d.ts +32 -0
- package/Shared/Framework/ExtensionDataSource.d.ts +3 -0
- package/Shared/Utils/MessageUtils.d.ts +43 -0
- package/assets/.gitkeep +0 -0
- package/assets/Audio-Call.svg +11 -0
- package/assets/Audio-Call2x.svg +11 -0
- package/assets/Copy.svg +17 -0
- package/assets/Grid-layout.svg +1 -0
- package/assets/Heart.svg +11 -0
- package/assets/Imagemoderation.svg +14 -0
- package/assets/Info.svg +13 -0
- package/assets/Locked.svg +10 -0
- package/assets/More@2x.svg +9 -0
- package/assets/Plus.svg +13 -0
- package/assets/Private.svg +10 -0
- package/assets/Reactionsicon.svg +9 -0
- package/assets/Send.svg +12 -0
- package/assets/Spinner.svg +15 -0
- package/assets/Stickers.svg +16 -0
- package/assets/Stipop.svg +9 -0
- package/assets/Video-call.svg +12 -0
- package/assets/Video-call2x.svg +12 -0
- package/assets/activity.svg +22 -0
- package/assets/addreaction.svg +9 -0
- package/assets/animals.svg +15 -0
- package/assets/attachment-file.svg +14 -0
- package/assets/audio-file.svg +12 -0
- package/assets/back.png +0 -0
- package/assets/backbutton.svg +12 -0
- package/assets/call.svg +1 -0
- package/assets/chats.svg +1 -0
- package/assets/checkmark.svg +11 -0
- package/assets/close.svg +12 -0
- package/assets/close2x.svg +12 -0
- package/assets/collaborativedocument.svg +13 -0
- package/assets/collaborativewhiteboard.svg +12 -0
- package/assets/create-button.svg +12 -0
- package/assets/declaration.d.ts +3 -0
- package/assets/delete.svg +7 -0
- package/assets/deleteicon.svg +15 -0
- package/assets/down-arrow.svg +1 -0
- package/assets/download.svg +13 -0
- package/assets/editicon.svg +14 -0
- package/assets/emoji.svg +2693 -0
- package/assets/file-upload.svg +2693 -0
- package/assets/flags.svg +12 -0
- package/assets/food.svg +26 -0
- package/assets/group.svg +40 -0
- package/assets/heart-reaction.png +0 -0
- package/assets/heart.png +0 -0
- package/assets/image.svg +2693 -0
- package/assets/incomingcall.wav +0 -0
- package/assets/increase-size.svg +6 -0
- package/assets/location.svg +2693 -0
- package/assets/message-delivered.png +0 -0
- package/assets/message-delivered.svg +4 -0
- package/assets/message-read.png +0 -0
- package/assets/message-read.svg +4 -0
- package/assets/message-sent.png +0 -0
- package/assets/message-sent.svg +3 -0
- package/assets/moreicon.svg +9 -0
- package/assets/objects.svg +13 -0
- package/assets/open-thread.svg +11 -0
- package/assets/password-protected-group.svg +3 -0
- package/assets/photolibrary.svg +11 -0
- package/assets/placeholder.png +0 -0
- package/assets/plus-rotated.svg +13 -0
- package/assets/polls.svg +14 -0
- package/assets/privacy.svg +4 -0
- package/assets/private-group.svg +9 -0
- package/assets/public.svg +3 -0
- package/assets/reduce-size.svg +6 -0
- package/assets/right-arrow.svg +6 -0
- package/assets/search.png +0 -0
- package/assets/search.svg +4 -0
- package/assets/side-arrow.svg +1 -0
- package/assets/smileys.svg +16 -0
- package/assets/start-chat.svg +1 -0
- package/assets/symbols.svg +16 -0
- package/assets/thread-arrow.svg +1 -0
- package/assets/thread-icon.svg +38 -0
- package/assets/threadicon.svg +14 -0
- package/assets/translation.svg +16 -0
- package/assets/travel.svg +18 -0
- package/assets/unsafe-content.svg +23 -0
- package/assets/user.svg +31 -0
- package/assets/video-upload.svg +2693 -0
- package/assets/video.svg +12 -0
- package/assets/wait.png +0 -0
- package/assets/wait.svg +4 -0
- package/assets/warning-small.png +0 -0
- package/assets/warning-small.svg +5 -0
- package/cometchat-chat-uikit-angular.d.ts +5 -0
- package/esm2020/Calls/CallingExtension.mjs +11 -0
- package/esm2020/Calls/CallingExtensionDecorator.mjs +114 -0
- package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +358 -0
- package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons.module.mjs +32 -0
- package/esm2020/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.mjs +423 -0
- package/esm2020/Calls/CometChatIncomingCall/cometchat-incoming-call.module.mjs +32 -0
- package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.mjs +54 -0
- package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call.module.mjs +27 -0
- package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.mjs +196 -0
- package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call.module.mjs +28 -0
- package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +353 -0
- package/esm2020/CometChatAddMembers/cometchat-add-members.module.mjs +23 -0
- package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +446 -0
- package/esm2020/CometChatBannedMembers/cometchat-banned-members.module.mjs +24 -0
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +1400 -0
- package/esm2020/CometChatConversations/cometchat-conversations.module.mjs +28 -0
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +272 -0
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.mjs +39 -0
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +696 -0
- package/esm2020/CometChatDetails/cometchat-details.module.mjs +27 -0
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +676 -0
- package/esm2020/CometChatGroupMembers/cometchat-group-members.module.mjs +24 -0
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +564 -0
- package/esm2020/CometChatGroups/cometchat-groups.module.mjs +28 -0
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +430 -0
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages.module.mjs +43 -0
- package/esm2020/CometChatList/cometchat-list.component.mjs +210 -0
- package/esm2020/CometChatList/cometchat-list.module.mjs +28 -0
- package/esm2020/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.mjs +157 -0
- package/esm2020/CometChatMessageBubble/cometchat-message-bubble.module.mjs +23 -0
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +930 -0
- package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +24 -0
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +420 -0
- package/esm2020/CometChatMessageHeader/cometchat-message-header.module.mjs +26 -0
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +2598 -0
- package/esm2020/CometChatMessageList/cometchat-message-list.module.mjs +34 -0
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +393 -0
- package/esm2020/CometChatMessages/cometchat-messages.module.mjs +48 -0
- package/esm2020/CometChatTheme.service.mjs +17 -0
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +304 -0
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages.module.mjs +36 -0
- package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.mjs +337 -0
- package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership.module.mjs +21 -0
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +447 -0
- package/esm2020/CometChatUsers/cometchat-users.module.mjs +32 -0
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +185 -0
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages.module.mjs +39 -0
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.mjs +11 -0
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.mjs +89 -0
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.mjs +11 -0
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.mjs +89 -0
- package/esm2020/Extensions/ImageModeration/ImageModerationExtension.mjs +10 -0
- package/esm2020/Extensions/ImageModeration/ImageModerationExtensionDecorator.mjs +10 -0
- package/esm2020/Extensions/LinkPreviewExtension/LinkPreviewExtension.mjs +10 -0
- package/esm2020/Extensions/LinkPreviewExtension/LinkPreviewExtensionDecorator.mjs +10 -0
- package/esm2020/Extensions/MessageTranslation/MessageTranslationExtension.mjs +11 -0
- package/esm2020/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.mjs +33 -0
- package/esm2020/Extensions/PollsExtension/PollsExtension.mjs +10 -0
- package/esm2020/Extensions/PollsExtension/PollsExtensionDecorator.mjs +75 -0
- package/esm2020/Extensions/Reactions/ReactionExtension.mjs +10 -0
- package/esm2020/Extensions/Reactions/ReactionExtensionDecorator.mjs +30 -0
- package/esm2020/Extensions/SmartReplies/SmartRepliesExtension.mjs +11 -0
- package/esm2020/Extensions/SmartReplies/SmartRepliesExtensionDecorator.mjs +117 -0
- package/esm2020/Extensions/Stickers/StickersExtension.mjs +15 -0
- package/esm2020/Extensions/Stickers/StickersExtensionDecorator.mjs +118 -0
- package/esm2020/Extensions/TextModerator/TextModeratorExtension.mjs +10 -0
- package/esm2020/Extensions/TextModerator/TextModeratorExtensionDecorator.mjs +32 -0
- package/esm2020/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.mjs +10 -0
- package/esm2020/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.mjs +10 -0
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +180 -0
- package/esm2020/Shared/Framework/ChatConfigurator.mjs +20 -0
- package/esm2020/Shared/Framework/DataSource.mjs +3 -0
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +80 -0
- package/esm2020/Shared/Framework/ExtensionDataSource.mjs +4 -0
- package/esm2020/Shared/Utils/MessageUtils.mjs +342 -0
- package/esm2020/cometchat-chat-uikit-angular.mjs +5 -0
- package/esm2020/public-api.mjs +93 -0
- package/fesm2015/cometchat-chat-uikit-angular.mjs +13683 -0
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -0
- package/fesm2020/cometchat-chat-uikit-angular.mjs +13586 -0
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -0
- package/package.json +51 -0
- package/public-api.d.ts +79 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
+
import { CometChatMessageComposerComponent } from "../../CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component";
|
|
4
|
+
import { CometChatMessageListComponent } from "../../CometChatMessageList/cometchat-message-list/cometchat-message-list.component";
|
|
5
|
+
import { AvatarStyle, ListItemStyle, BaseStyle } from '@cometchat/uikit-elements';
|
|
6
|
+
import { Subscription } from "rxjs";
|
|
7
|
+
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
8
|
+
import { MessageListConfiguration, MessageComposerConfiguration, ThreadedMessagesStyle, MessageComposerStyle } from "@cometchat/uikit-shared";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* CometChatThreadedMessagesComponent is a wrapper component for messageList, messageBubble, messageComposer component.
|
|
13
|
+
*
|
|
14
|
+
* @version 1.0.0
|
|
15
|
+
* @author CometChatTeam
|
|
16
|
+
* @copyright © 2022 CometChat Inc.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare class CometChatThreadedMessagesComponent implements OnInit, OnChanges {
|
|
20
|
+
private ref;
|
|
21
|
+
private themeService;
|
|
22
|
+
messageComposerRef: CometChatMessageComposerComponent;
|
|
23
|
+
messageListRef: CometChatMessageListComponent;
|
|
24
|
+
onClose: (() => void) | null;
|
|
25
|
+
onError: ((error: any) => void) | null;
|
|
26
|
+
parentMessage: any;
|
|
27
|
+
title: string;
|
|
28
|
+
closeIconURL: string;
|
|
29
|
+
bubbleView: TemplateRef<any>;
|
|
30
|
+
messageActionView: TemplateRef<any>;
|
|
31
|
+
messageListConfiguration: MessageListConfiguration;
|
|
32
|
+
messageComposerConfiguration: MessageComposerConfiguration;
|
|
33
|
+
threadedMessagesStyle: ThreadedMessagesStyle;
|
|
34
|
+
user: CometChat.User;
|
|
35
|
+
group: CometChat.Group;
|
|
36
|
+
loggedInUser: CometChat.User | null;
|
|
37
|
+
limit: number;
|
|
38
|
+
requestBuilder: CometChat.MessagesRequestBuilder;
|
|
39
|
+
composerStyles: MessageComposerStyle;
|
|
40
|
+
avatarStyle: AvatarStyle;
|
|
41
|
+
statusIndicatorStyle: BaseStyle;
|
|
42
|
+
listItemStyle: ListItemStyle;
|
|
43
|
+
actionButtonStyle: any;
|
|
44
|
+
buttonStyle: any;
|
|
45
|
+
titleStyle: any;
|
|
46
|
+
ccMessageSent: Subscription;
|
|
47
|
+
ccMessageEdited: Subscription;
|
|
48
|
+
ccMessageDeleted: Subscription;
|
|
49
|
+
ccMessageRead: Subscription;
|
|
50
|
+
msgListenerId: string;
|
|
51
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
52
|
+
ngOnInit(): void;
|
|
53
|
+
ngOnChanges(change: SimpleChanges): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
updateMessage(message: CometChat.BaseMessage): void;
|
|
56
|
+
updateReceipt(messageReceipt: CometChat.MessageReceipt): void;
|
|
57
|
+
addMessageEventListeners(): void;
|
|
58
|
+
getThreadCount(): string;
|
|
59
|
+
subscribeToEvents(): void;
|
|
60
|
+
unsubscribeToEvents(): void;
|
|
61
|
+
closeView(): void;
|
|
62
|
+
setThreadedMessagesStyle(): void;
|
|
63
|
+
setTheme(): void;
|
|
64
|
+
wrapperStyle(): {
|
|
65
|
+
background: string | undefined;
|
|
66
|
+
height: string | undefined;
|
|
67
|
+
width: string | undefined;
|
|
68
|
+
border: string | undefined;
|
|
69
|
+
borderRadius: string | undefined;
|
|
70
|
+
};
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatThreadedMessagesComponent, never>;
|
|
72
|
+
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"; "messageComposerConfiguration": "messageComposerConfiguration"; "threadedMessagesStyle": "threadedMessagesStyle"; }, {}, never, never>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@cometchat/uikit-elements';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-threaded-messages/cometchat-threaded-messages.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../CometChatMessageHeader/cometchat-message-header.module";
|
|
6
|
+
import * as i4 from "../CometChatMessageList/cometchat-message-list.module";
|
|
7
|
+
import * as i5 from "../CometChatMessageComposer/cometchat-message-composer.module";
|
|
8
|
+
export declare class CometChatThreadedMessages {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatThreadedMessages, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatThreadedMessages, [typeof i1.CometChatThreadedMessagesComponent], [typeof i2.CommonModule, typeof i3.CometChatMessageHeader, typeof i4.CometChatMessageList, typeof i5.CometChatMessageComposer], [typeof i1.CometChatThreadedMessagesComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatThreadedMessages>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
+
import { AvatarStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
4
|
+
import { CometChatOption, TitleAlignment, SelectionMode } from "@cometchat/uikit-resources";
|
|
5
|
+
import { TransferOwnershipStyle, GroupMembersStyle } from "@cometchat/uikit-shared";
|
|
6
|
+
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* CometChatTransferOwnershipComponent is used to render users list to transfer wonership
|
|
11
|
+
*
|
|
12
|
+
* @version 1.0.0
|
|
13
|
+
* @author CometChatTeam
|
|
14
|
+
* @copyright © 2022 CometChat Inc.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class CometChatTransferOwnershipComponent implements OnInit {
|
|
18
|
+
private ref;
|
|
19
|
+
private themeService;
|
|
20
|
+
groupMemberRequestBuilder: CometChat.GroupMembersRequestBuilder;
|
|
21
|
+
searchRequestBuilder: CometChat.GroupMembersRequestBuilder;
|
|
22
|
+
subtitleView: TemplateRef<any>;
|
|
23
|
+
listItemView: TemplateRef<any>;
|
|
24
|
+
disableUsersPresence: boolean;
|
|
25
|
+
options: ((member: CometChat.GroupMember) => CometChatOption[]) | null;
|
|
26
|
+
closeButtonIconURL: string;
|
|
27
|
+
hideSeparator: boolean;
|
|
28
|
+
searchPlaceholder: string;
|
|
29
|
+
searchIconURL: string;
|
|
30
|
+
hideSearch: boolean;
|
|
31
|
+
title: string;
|
|
32
|
+
onError: ((error: any) => void) | null;
|
|
33
|
+
onClose: () => void;
|
|
34
|
+
onTransferOwnership: (member: CometChat.GroupMember) => void;
|
|
35
|
+
group: CometChat.Group;
|
|
36
|
+
emptyStateView: TemplateRef<any>;
|
|
37
|
+
errorStateView: TemplateRef<any>;
|
|
38
|
+
loadingIconURL: string;
|
|
39
|
+
loadingStateView: TemplateRef<any>;
|
|
40
|
+
emptyStateText: string;
|
|
41
|
+
errorStateText: string;
|
|
42
|
+
statusIndicatorStyle: any;
|
|
43
|
+
transferOwnershipStyle: TransferOwnershipStyle;
|
|
44
|
+
transferButtonText: string;
|
|
45
|
+
cancelButtonText: string;
|
|
46
|
+
avatarStyle: AvatarStyle;
|
|
47
|
+
groupMemberStyle: GroupMembersStyle;
|
|
48
|
+
listItemStyle: ListItemStyle;
|
|
49
|
+
titleAlignment: TitleAlignment;
|
|
50
|
+
selectionMode: SelectionMode;
|
|
51
|
+
showBackButton: boolean;
|
|
52
|
+
selectedMember: CometChat.GroupMember | null;
|
|
53
|
+
loggedInUser: CometChat.User | null;
|
|
54
|
+
selectedUser: CometChat.User;
|
|
55
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
56
|
+
transferButtonStyle: any;
|
|
57
|
+
cancelButtonStyle: any;
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
onOwnerSelected: (member: CometChat.GroupMember) => void;
|
|
60
|
+
onTransferClick: () => void;
|
|
61
|
+
closeClicked: () => void;
|
|
62
|
+
setThemeStyle(): void;
|
|
63
|
+
setListItemStyle(): void;
|
|
64
|
+
setGroupMembersStyle(): void;
|
|
65
|
+
setAvatarStyle(): void;
|
|
66
|
+
setStatusStyle(): void;
|
|
67
|
+
setownershipStyle(): void;
|
|
68
|
+
membersStyle: () => {
|
|
69
|
+
height: string | undefined;
|
|
70
|
+
width: string | undefined;
|
|
71
|
+
background: string | undefined;
|
|
72
|
+
border: string | undefined;
|
|
73
|
+
borderRadius: string | undefined;
|
|
74
|
+
};
|
|
75
|
+
wrapperStyle: () => {
|
|
76
|
+
height: string;
|
|
77
|
+
width: string;
|
|
78
|
+
background: string | undefined;
|
|
79
|
+
border: string | undefined;
|
|
80
|
+
borderRadius: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
getScopeStyle: () => {
|
|
83
|
+
textFont: string | undefined;
|
|
84
|
+
textColor: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatTransferOwnershipComponent, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatTransferOwnershipComponent, "cometchat-transfer-ownership", never, { "groupMemberRequestBuilder": "groupMemberRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "options": "options"; "closeButtonIconURL": "closeButtonIconURL"; "hideSeparator": "hideSeparator"; "searchPlaceholder": "searchPlaceholder"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onClose": "onClose"; "onTransferOwnership": "onTransferOwnership"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "statusIndicatorStyle": "statusIndicatorStyle"; "transferOwnershipStyle": "transferOwnershipStyle"; "transferButtonText": "transferButtonText"; "cancelButtonText": "cancelButtonText"; "avatarStyle": "avatarStyle"; "groupMemberStyle": "groupMemberStyle"; "listItemStyle": "listItemStyle"; "titleAlignment": "titleAlignment"; }, {}, never, never>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-transfer-ownership/cometchat-transfer-ownership.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../CometChatGroupMembers/cometchat-group-members.module";
|
|
6
|
+
export declare class CometChatTransferOwnership {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatTransferOwnership, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatTransferOwnership, [typeof i1.CometChatTransferOwnershipComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CometChatGroupMembers], [typeof i1.CometChatTransferOwnershipComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatTransferOwnership>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CometChat } from '@cometchat-pro/chat';
|
|
3
|
+
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { CometChatOption, SelectionMode, TitleAlignment, States } from '@cometchat/uikit-resources';
|
|
6
|
+
import { UsersStyle, ListStyle } from '@cometchat/uikit-shared';
|
|
7
|
+
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CometChatUsersComponent implements OnInit {
|
|
10
|
+
private ref;
|
|
11
|
+
private themeService;
|
|
12
|
+
usersRequestBuilder: CometChat.UsersRequestBuilder;
|
|
13
|
+
searchRequestBuilder: CometChat.UsersRequestBuilder;
|
|
14
|
+
subtitleView: TemplateRef<any>;
|
|
15
|
+
disableUsersPresence: boolean;
|
|
16
|
+
listItemView: TemplateRef<any>;
|
|
17
|
+
menu: TemplateRef<any>;
|
|
18
|
+
options: ((member: CometChat.User) => CometChatOption[]) | null;
|
|
19
|
+
activeUser: CometChat.User | null;
|
|
20
|
+
hideSeparator: boolean;
|
|
21
|
+
searchPlaceholder: string;
|
|
22
|
+
hideError: boolean;
|
|
23
|
+
selectionMode: SelectionMode;
|
|
24
|
+
searchIconURL: string;
|
|
25
|
+
hideSearch: boolean;
|
|
26
|
+
title: string;
|
|
27
|
+
onError: (error: any) => void;
|
|
28
|
+
emptyStateView: TemplateRef<any>;
|
|
29
|
+
onSelect: (user: CometChat.User) => void;
|
|
30
|
+
errorStateView: TemplateRef<any>;
|
|
31
|
+
loadingIconURL: string;
|
|
32
|
+
showSectionHeader: boolean;
|
|
33
|
+
sectionHeaderField: string;
|
|
34
|
+
loadingStateView: TemplateRef<any>;
|
|
35
|
+
emptyStateText: string;
|
|
36
|
+
errorStateText: string;
|
|
37
|
+
titleAlignment: TitleAlignment;
|
|
38
|
+
usersStyle: UsersStyle;
|
|
39
|
+
listItemStyle: ListItemStyle;
|
|
40
|
+
statusIndicatorStyle: BaseStyle;
|
|
41
|
+
avatarStyle: AvatarStyle;
|
|
42
|
+
onItemClick: (user: CometChat.User) => void;
|
|
43
|
+
searchKeyword: string;
|
|
44
|
+
userChecked: string;
|
|
45
|
+
listStyle: ListStyle;
|
|
46
|
+
usersRequest: any;
|
|
47
|
+
state: States;
|
|
48
|
+
timeout: any;
|
|
49
|
+
selectionmodeEnum: typeof SelectionMode;
|
|
50
|
+
usersList: CometChat.User[];
|
|
51
|
+
limit: number;
|
|
52
|
+
userListenerId: string;
|
|
53
|
+
loggedInUser: CometChat.User | null;
|
|
54
|
+
/**
|
|
55
|
+
* Events
|
|
56
|
+
*/
|
|
57
|
+
ccUserBlocked: Subscription;
|
|
58
|
+
ccUserUnBlocked: Subscription;
|
|
59
|
+
onScrolledToBottom: any;
|
|
60
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
61
|
+
ngOnInit(): void;
|
|
62
|
+
subscribeToEvents(): void;
|
|
63
|
+
unsubscribeToEvents(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
isUserSelected(user: CometChat.User): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @param {CometChat.User} user
|
|
68
|
+
*/
|
|
69
|
+
onClick: (user: CometChat.User) => void;
|
|
70
|
+
/**
|
|
71
|
+
* @param {CometChat.User} user
|
|
72
|
+
*/
|
|
73
|
+
getActiveUser: (user: CometChat.User) => boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @param {CometChat.User} user
|
|
76
|
+
*/
|
|
77
|
+
getStatusIndicatorColor: (user: CometChat.User) => string | null | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @param {CometChat.User} user
|
|
80
|
+
*/
|
|
81
|
+
updateUser: (user: CometChat.User) => void;
|
|
82
|
+
attachListeners(): void;
|
|
83
|
+
removeListener(): void;
|
|
84
|
+
addMembersToList: (user: CometChat.User) => void;
|
|
85
|
+
fetchNextUsersList: () => void;
|
|
86
|
+
getRequestBuilder(): CometChat.UsersRequest;
|
|
87
|
+
/**
|
|
88
|
+
* @param {string} key
|
|
89
|
+
*/
|
|
90
|
+
onSearch: (key: string) => void;
|
|
91
|
+
setThemeStyle(): void;
|
|
92
|
+
setListItemStyle(): void;
|
|
93
|
+
setAvatarStyle(): void;
|
|
94
|
+
setStatusStyle(): void;
|
|
95
|
+
setUsersStyle(): void;
|
|
96
|
+
userStyle: () => {
|
|
97
|
+
height: string | undefined;
|
|
98
|
+
width: string | undefined;
|
|
99
|
+
background: string | undefined;
|
|
100
|
+
border: string | undefined;
|
|
101
|
+
borderRadius: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatUsersComponent, never>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatUsersComponent, "cometchat-users", never, { "usersRequestBuilder": "usersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "disableUsersPresence": "disableUsersPresence"; "listItemView": "listItemView"; "menu": "menu"; "options": "options"; "activeUser": "activeUser"; "hideSeparator": "hideSeparator"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "selectionMode": "selectionMode"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "emptyStateView": "emptyStateView"; "onSelect": "onSelect"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "usersStyle": "usersStyle"; "listItemStyle": "listItemStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "avatarStyle": "avatarStyle"; "onItemClick": "onItemClick"; }, {}, never, never>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@cometchat/uikit-elements';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-users/cometchat-users.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/forms";
|
|
6
|
+
import * as i4 from "../CometChatList/cometchat-list.module";
|
|
7
|
+
export declare class CometChatUsers {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatUsers, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatUsers, [typeof i1.CometChatUsersComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CometChatList], [typeof i1.CometChatUsersComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatUsers>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
+
import { CometChatMessagesComponent } from "../../CometChatMessages/cometchat-messages/cometchat-messages.component";
|
|
4
|
+
import { CometChatConversationsComponent } from "../../CometChatConversations/cometchat-conversations/cometchat-conversations.component";
|
|
5
|
+
import '@cometchat/uikit-elements';
|
|
6
|
+
import { Subscription } from "rxjs";
|
|
7
|
+
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
8
|
+
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
9
|
+
import { WithMessagesStyle, MessagesConfiguration, UsersConfiguration } from "@cometchat/uikit-shared";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* CometChatUsersWithMessagesComponent is a wrapper component for CometChatMessagesComponent and CometChatConversations component to show chats and messages in one screen
|
|
14
|
+
*
|
|
15
|
+
* @version 1.0.0
|
|
16
|
+
* @author CometChatTeam
|
|
17
|
+
* @copyright © 2022 CometChat Inc.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class CometChatUsersWithMessagesComponent implements OnInit, OnChanges {
|
|
21
|
+
private elementRef;
|
|
22
|
+
private ref;
|
|
23
|
+
private themeService;
|
|
24
|
+
userRef: CometChatConversationsComponent;
|
|
25
|
+
messageListRef: CometChatMessagesComponent;
|
|
26
|
+
user: CometChat.User | null;
|
|
27
|
+
isMobileView: boolean;
|
|
28
|
+
messageText: string;
|
|
29
|
+
usersWithMessagesStyle: WithMessagesStyle;
|
|
30
|
+
messagesConfiguration: MessagesConfiguration;
|
|
31
|
+
usersConfiguration: UsersConfiguration;
|
|
32
|
+
onError: ((error: any) => void) | null;
|
|
33
|
+
theme: CometChatTheme;
|
|
34
|
+
/**
|
|
35
|
+
* Properties for internal use
|
|
36
|
+
*/
|
|
37
|
+
loggedInUser: CometChat.User | null;
|
|
38
|
+
labelStyle: any;
|
|
39
|
+
/**
|
|
40
|
+
* Events
|
|
41
|
+
*/
|
|
42
|
+
ccUserBlocked: Subscription;
|
|
43
|
+
ccUserUnBlocked: Subscription;
|
|
44
|
+
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
updateBackdropHeight(): void;
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
onBack: () => void;
|
|
49
|
+
onItemClick: ((user: CometChat.User) => void);
|
|
50
|
+
ngOnInit(): void;
|
|
51
|
+
setWithMessagesStyle(): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
subscribeToEvents(): void;
|
|
54
|
+
unsubscribeToEvents(): void;
|
|
55
|
+
emptyMessageStyle: () => {
|
|
56
|
+
background: string | undefined;
|
|
57
|
+
height: string | undefined;
|
|
58
|
+
width: string;
|
|
59
|
+
border: string | undefined;
|
|
60
|
+
borderRadius: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
usersWrapperStyles: () => {
|
|
63
|
+
height: string | undefined;
|
|
64
|
+
width: string | undefined;
|
|
65
|
+
border: string | undefined;
|
|
66
|
+
borderRadius: string | undefined;
|
|
67
|
+
background: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatUsersWithMessagesComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatUsersWithMessagesComponent, "cometchat-users-with-messages", never, { "user": "user"; "isMobileView": "isMobileView"; "messageText": "messageText"; "usersWithMessagesStyle": "usersWithMessagesStyle"; "messagesConfiguration": "messagesConfiguration"; "usersConfiguration": "usersConfiguration"; "onError": "onError"; }, {}, never, never>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-users-with-messages/cometchat-users-with-messages.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../CometChatUsers/cometchat-users.module";
|
|
5
|
+
import * as i4 from "../CometChatMessages/cometchat-messages.module";
|
|
6
|
+
import * as i5 from "@angular/platform-browser";
|
|
7
|
+
import * as i6 from "@angular/platform-browser/animations";
|
|
8
|
+
export declare class CometChatUsersWithMessages {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatUsersWithMessages, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatUsersWithMessages, [typeof i1.CometChatUsersWithMessagesComponent], [typeof i2.CommonModule, typeof i3.CometChatUsers, typeof i4.CometChatMessages, typeof i5.BrowserModule, typeof i6.BrowserAnimationsModule], [typeof i1.CometChatUsersWithMessagesComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatUsersWithMessages>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CollaborativeDocumentConfiguration } from "@cometchat/uikit-shared";
|
|
2
|
+
import { ExtensionsDataSource } from "../../Shared/Framework/ExtensionDataSource";
|
|
3
|
+
export declare class CollaborativeDocumentExtension implements ExtensionsDataSource {
|
|
4
|
+
configuration?: CollaborativeDocumentConfiguration;
|
|
5
|
+
constructor({ configuration }?: {
|
|
6
|
+
configuration?: CollaborativeDocumentConfiguration;
|
|
7
|
+
});
|
|
8
|
+
enable(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { CometChatTheme, CometChatMessageTemplate } from "@cometchat/uikit-resources";
|
|
3
|
+
import { CollaborativeDocumentConfiguration } from "@cometchat/uikit-shared";
|
|
4
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
5
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
6
|
+
export declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorator {
|
|
7
|
+
private configuration;
|
|
8
|
+
constructor(dataSource: DataSource, configuration?: CollaborativeDocumentConfiguration);
|
|
9
|
+
getAllMessageTypes(): string[];
|
|
10
|
+
getId(): string;
|
|
11
|
+
getAllMessageCategories(): string[];
|
|
12
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
13
|
+
getAllMessageTemplates(): CometChatMessageTemplate[];
|
|
14
|
+
getDocumentTemplate(): CometChatMessageTemplate;
|
|
15
|
+
getAttachmentOptions(theme?: CometChatTheme, user?: CometChat.User, group?: CometChat.Group, id?: any): any;
|
|
16
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CollaborativeWhiteboardConfiguration } from "@cometchat/uikit-shared";
|
|
2
|
+
import { ExtensionsDataSource } from "../../Shared/Framework/ExtensionDataSource";
|
|
3
|
+
export declare class CollaborativeWhiteBoardExtension implements ExtensionsDataSource {
|
|
4
|
+
configuration?: CollaborativeWhiteboardConfiguration;
|
|
5
|
+
constructor({ configuration }?: {
|
|
6
|
+
configuration?: CollaborativeWhiteboardConfiguration;
|
|
7
|
+
});
|
|
8
|
+
enable(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { CometChatTheme, CometChatMessageTemplate } from "@cometchat/uikit-resources";
|
|
3
|
+
import { CollaborativeWhiteboardConfiguration } from "@cometchat/uikit-shared";
|
|
4
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
5
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
6
|
+
export declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecorator {
|
|
7
|
+
private configuration;
|
|
8
|
+
constructor(dataSource: DataSource, configuration?: CollaborativeWhiteboardConfiguration);
|
|
9
|
+
getAllMessageTypes(): string[];
|
|
10
|
+
getId(): string;
|
|
11
|
+
getAllMessageCategories(): string[];
|
|
12
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
13
|
+
getAllMessageTemplates(): CometChatMessageTemplate[];
|
|
14
|
+
getWhiteBoardTemplate(): CometChatMessageTemplate;
|
|
15
|
+
getAttachmentOptions(theme?: CometChatTheme, user?: CometChat.User, group?: CometChat.Group, id?: any): any;
|
|
16
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
3
|
+
export declare class ImageModerationExtensionDecorator extends DataSourceDecorator {
|
|
4
|
+
constructor(dataSource: DataSource);
|
|
5
|
+
getId(): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
3
|
+
export declare class LinkPreviewExtensionDecorator extends DataSourceDecorator {
|
|
4
|
+
constructor(dataSource: DataSource);
|
|
5
|
+
getId(): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtensionsDataSource } from "../../Shared/Framework/ExtensionDataSource";
|
|
2
|
+
import { MessageTranslationConfiguration } from '@cometchat/uikit-shared';
|
|
3
|
+
export declare class MessageTranslationExtension implements ExtensionsDataSource {
|
|
4
|
+
private configuration?;
|
|
5
|
+
constructor({ configuration }?: {
|
|
6
|
+
configuration?: MessageTranslationConfiguration;
|
|
7
|
+
});
|
|
8
|
+
enable(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { CometChatTheme, CometChatMessageOption } from "@cometchat/uikit-resources";
|
|
3
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
5
|
+
import { MessageTranslationConfiguration } from "@cometchat/uikit-shared";
|
|
6
|
+
export declare class MessageTranslationExtensionDecorator extends DataSourceDecorator {
|
|
7
|
+
configuration?: MessageTranslationConfiguration;
|
|
8
|
+
constructor(dataSource: DataSource, configuration?: MessageTranslationConfiguration);
|
|
9
|
+
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): CometChatMessageOption[];
|
|
10
|
+
checkIfOptionExist(template: CometChatMessageOption[], id: string): boolean;
|
|
11
|
+
getId(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { CometChatMessageTemplate, CometChatTheme } from "@cometchat/uikit-resources";
|
|
3
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
5
|
+
export declare class PollsExtensionDecorator extends DataSourceDecorator {
|
|
6
|
+
constructor(dataSource: DataSource);
|
|
7
|
+
getId(): string;
|
|
8
|
+
getAllMessageTypes(): string[];
|
|
9
|
+
getAllMessageCategories(): string[];
|
|
10
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
11
|
+
getAllMessageTemplates(): CometChatMessageTemplate[];
|
|
12
|
+
getPollsTemplate(): CometChatMessageTemplate;
|
|
13
|
+
getAttachmentOptions(theme?: CometChatTheme, user?: CometChat.User, group?: CometChat.Group, id?: any): any;
|
|
14
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { CometChatTheme, CometChatMessageOption } from "@cometchat/uikit-resources";
|
|
3
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
5
|
+
export declare class ReactionExtensionDecorator extends DataSourceDecorator {
|
|
6
|
+
constructor(dataSource: DataSource);
|
|
7
|
+
getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): CometChatMessageOption[];
|
|
8
|
+
checkIfOptionExist(template: CometChatMessageOption[], id: string): boolean;
|
|
9
|
+
getId(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SmartRepliesConfiguration } from "@cometchat/uikit-shared";
|
|
2
|
+
import { ExtensionsDataSource } from "../../Shared/Framework/ExtensionDataSource";
|
|
3
|
+
export declare class SmartReplyExtension implements ExtensionsDataSource {
|
|
4
|
+
private configuration?;
|
|
5
|
+
constructor({ configuration }?: {
|
|
6
|
+
configuration?: SmartRepliesConfiguration;
|
|
7
|
+
});
|
|
8
|
+
enable(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { SmartRepliesConfiguration } from "@cometchat/uikit-shared";
|
|
3
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
5
|
+
export declare class SmartReplyExtensionDecorator extends DataSourceDecorator {
|
|
6
|
+
configuration?: SmartRepliesConfiguration;
|
|
7
|
+
private LISTENER_ID;
|
|
8
|
+
private activeUser;
|
|
9
|
+
private activeGroup;
|
|
10
|
+
currentMessage: CometChat.BaseMessage | null;
|
|
11
|
+
loggedInUser: CometChat.User | null;
|
|
12
|
+
constructor(dataSource: DataSource, configuration?: SmartRepliesConfiguration);
|
|
13
|
+
sendReply: (reply: string, message: CometChat.BaseMessage, onError: ((error: any) => void) | null | undefined, customSoundForMessages?: string, disableSoundForMessages?: boolean) => void;
|
|
14
|
+
private addMessageListener;
|
|
15
|
+
getId(): string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtensionsDataSource } from '../../Shared/Framework/ExtensionDataSource';
|
|
2
|
+
import { StickersConfiguration } from '@cometchat/uikit-shared';
|
|
3
|
+
export declare class StickersExtension implements ExtensionsDataSource {
|
|
4
|
+
private configuration?;
|
|
5
|
+
constructor({ configuration }?: {
|
|
6
|
+
configuration?: StickersConfiguration;
|
|
7
|
+
});
|
|
8
|
+
enable(): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
2
|
+
import { CometChatMessageTemplate } from "@cometchat/uikit-resources";
|
|
3
|
+
import { CometChat } from '@cometchat-pro/chat';
|
|
4
|
+
import { StickersConfiguration } from '@cometchat/uikit-shared';
|
|
5
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
6
|
+
import { ComposerId } from "../../Shared/Utils/MessageUtils";
|
|
7
|
+
export declare class StickersExtensionDecorator extends DataSourceDecorator {
|
|
8
|
+
configuration?: StickersConfiguration;
|
|
9
|
+
newDataScorce: DataSource;
|
|
10
|
+
constructor(dataSource: DataSource, configuration?: StickersConfiguration);
|
|
11
|
+
getDataScorce(): DataSource;
|
|
12
|
+
sendStickerMessage: (sticker: {
|
|
13
|
+
name: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}, loggedInUser: CometChat.User, user: CometChat.User, group: CometChat.Group, parentMessageid: number, onError: ((error: any) => void) | null | undefined, customSoundForMessages?: string, disableSoundForMessages?: boolean) => void;
|
|
16
|
+
getAllMessageTemplates(): CometChatMessageTemplate[];
|
|
17
|
+
getAuxiliaryOptions(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): {
|
|
18
|
+
configuration: StickersConfiguration | undefined;
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
getStickerTemplate(): CometChatMessageTemplate;
|
|
22
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
23
|
+
getAllMessageCategories(): string[];
|
|
24
|
+
getAllMessageTypes(): string[];
|
|
25
|
+
getId(): string;
|
|
26
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User): string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
2
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
3
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
4
|
+
export declare class TextModeratorExtensionDecorator extends DataSourceDecorator {
|
|
5
|
+
constructor(dataSource: DataSource);
|
|
6
|
+
getId(): string;
|
|
7
|
+
getModeratedtext(message: CometChat.TextMessage): string;
|
|
8
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User): string;
|
|
9
|
+
}
|