@cometchat/chat-uikit-angular 4.0.0-beta.1.4 → 4.0.0
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 +4 -3
- package/Calls/CallingExtensionDecorator.d.ts +0 -1
- package/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts +4 -3
- package/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts +4 -3
- package/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.d.ts +14 -6
- package/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.d.ts +0 -1
- package/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts +5 -5
- package/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.d.ts +6 -5
- package/CometChatContacts/cometchat-contacts/cometchat-contacts.component.d.ts +65 -0
- package/CometChatContacts/cometchat-contacts.module.d.ts +12 -0
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +21 -15
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts +13 -4
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.d.ts +2 -1
- package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +7 -7
- package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +14 -12
- package/CometChatGroups/cometchat-groups/cometchat-groups.component.d.ts +12 -6
- package/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.d.ts +6 -4
- package/CometChatList/cometchat-list.component.d.ts +2 -1
- package/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.d.ts +2 -2
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +23 -6
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +1 -1
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +95 -0
- package/CometChatMessageInformation/cometchat-message-information.module.d.ts +10 -0
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +45 -26
- package/CometChatMessageList/cometchat-message-list.module.d.ts +3 -1
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +5 -3
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +0 -1
- package/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.d.ts +3 -3
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +11 -5
- package/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.d.ts +2 -2
- package/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +4 -8
- package/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +1 -4
- package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +4 -8
- package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +1 -4
- package/Extensions/ImageModeration/ImageModerationExtension.d.ts +4 -4
- package/Extensions/LinkPreviewExtension/LinkPreviewExtension.d.ts +4 -4
- package/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +4 -8
- package/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +1 -4
- package/Extensions/PollsExtension/PollsExtension.d.ts +4 -4
- package/Extensions/PollsExtension/PollsExtensionDecorator.d.ts +0 -1
- package/Extensions/Reactions/ReactionExtension.d.ts +4 -4
- package/Extensions/Reactions/ReactionExtensionDecorator.d.ts +0 -1
- package/Extensions/SmartReplies/SmartRepliesExtension.d.ts +4 -8
- package/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +2 -2
- package/Extensions/Stickers/StickersExtension.d.ts +4 -8
- package/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -2
- package/Extensions/TextModerator/TextModeratorExtension.d.ts +4 -3
- package/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +0 -1
- package/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +4 -4
- package/README.md +4 -7
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +10 -6
- package/Shared/Framework/DataSource.d.ts +0 -1
- package/Shared/Framework/DataSourceDecorator.d.ts +0 -1
- package/Shared/Utils/ComeChatException.d.ts +1 -2
- package/Shared/Utils/MessageUtils.d.ts +2 -1
- package/Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component.d.ts +38 -9
- package/Shared/Views/CometChatTabs/cometchat-tabs.module.d.ts +1 -5
- package/assets/.gitkeep +0 -0
- package/assets/Reply@2x.svg +9 -0
- package/assets/call.svg +0 -0
- package/assets/chats.svg +0 -0
- package/assets/group.svg +0 -0
- package/assets/message-privately.svg +6 -0
- package/assets/mic.svg +11 -0
- package/assets/new-chat.svg +13 -0
- package/assets/open-thread.svg +0 -0
- package/assets/pause-icon.svg +14 -0
- package/assets/play-icon.svg +18 -0
- package/assets/record-icon.svg +8 -0
- package/assets/start-conversation.svg +46 -0
- package/assets/stop.svg +1 -0
- package/assets/user.svg +0 -0
- package/esm2020/Calls/CallingExtension.mjs +7 -4
- package/esm2020/Calls/CallingExtensionDecorator.mjs +4 -4
- package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +58 -21
- package/esm2020/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.mjs +48 -17
- package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.mjs +110 -9
- package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.mjs +9 -7
- package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +9 -6
- package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +12 -7
- package/esm2020/CometChatContacts/cometchat-contacts/cometchat-contacts.component.mjs +273 -0
- package/esm2020/CometChatContacts/cometchat-contacts.module.mjs +23 -0
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +122 -65
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +105 -17
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.mjs +6 -2
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +13 -11
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +45 -46
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +69 -28
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +60 -21
- package/esm2020/CometChatList/cometchat-list.component.mjs +8 -9
- package/esm2020/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.mjs +4 -5
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +200 -30
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +4 -5
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +288 -0
- package/esm2020/CometChatMessageInformation/cometchat-message-information.module.mjs +28 -0
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +401 -185
- package/esm2020/CometChatMessageList/cometchat-message-list.module.mjs +12 -4
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +28 -15
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +3 -4
- package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.mjs +14 -15
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +72 -45
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +21 -9
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.mjs +7 -6
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.mjs +3 -4
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.mjs +7 -6
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.mjs +3 -4
- package/esm2020/Extensions/ImageModeration/ImageModerationExtension.mjs +7 -5
- package/esm2020/Extensions/LinkPreviewExtension/LinkPreviewExtension.mjs +7 -5
- package/esm2020/Extensions/MessageTranslation/MessageTranslationExtension.mjs +7 -6
- package/esm2020/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.mjs +2 -4
- package/esm2020/Extensions/PollsExtension/PollsExtension.mjs +7 -5
- package/esm2020/Extensions/PollsExtension/PollsExtensionDecorator.mjs +1 -1
- package/esm2020/Extensions/Reactions/ReactionExtension.mjs +7 -5
- package/esm2020/Extensions/Reactions/ReactionExtensionDecorator.mjs +3 -2
- package/esm2020/Extensions/SmartReplies/SmartRepliesExtension.mjs +7 -6
- package/esm2020/Extensions/SmartReplies/SmartRepliesExtensionDecorator.mjs +5 -7
- package/esm2020/Extensions/Stickers/StickersExtension.mjs +7 -10
- package/esm2020/Extensions/Stickers/StickersExtensionDecorator.mjs +5 -7
- package/esm2020/Extensions/TextModerator/TextModeratorExtension.mjs +16 -4
- package/esm2020/Extensions/TextModerator/TextModeratorExtensionDecorator.mjs +1 -1
- package/esm2020/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.mjs +7 -5
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +66 -32
- package/esm2020/Shared/Framework/DataSource.mjs +1 -1
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +1 -1
- package/esm2020/Shared/Utils/ComeChatException.mjs +2 -2
- package/esm2020/Shared/Utils/MessageUtils.mjs +36 -6
- package/esm2020/Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component.mjs +61 -25
- package/esm2020/Shared/Views/CometChatTabs/cometchat-tabs.module.mjs +2 -18
- package/esm2020/public-api.mjs +8 -5
- package/fesm2015/cometchat-chat-uikit-angular.mjs +3658 -3185
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +3639 -3164
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +7 -4
- package/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.d.ts +0 -139
- package/Calls/CometChatCallDetails/cometchat-call-details.module.d.ts +0 -10
- package/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.d.ts +0 -125
- package/Calls/CometChatCallHistory/cometchat-call-history.module.d.ts +0 -10
- package/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details/cometchat-call-history-with-details.component.d.ts +0 -59
- package/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module.d.ts +0 -12
- package/esm2020/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.mjs +0 -452
- package/esm2020/Calls/CometChatCallDetails/cometchat-call-details.module.mjs +0 -31
- package/esm2020/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.mjs +0 -397
- package/esm2020/Calls/CometChatCallHistory/cometchat-call-history.module.mjs +0 -28
- package/esm2020/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details/cometchat-call-history-with-details.component.mjs +0 -143
- package/esm2020/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module.mjs +0 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cometchat/chat-uikit-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"CometChat",
|
|
6
6
|
"chat",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"Angular"
|
|
21
21
|
],
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@cometchat-
|
|
24
|
-
"@cometchat/uikit-
|
|
25
|
-
"@cometchat/uikit-
|
|
26
|
-
"@cometchat/
|
|
23
|
+
"@cometchat/uikit-elements": "~4.0.0",
|
|
24
|
+
"@cometchat/uikit-resources": "~4.0.0",
|
|
25
|
+
"@cometchat/uikit-shared": "~4.0.0",
|
|
26
|
+
"@cometchat/chat-sdk-javascript": "^4.0.0"
|
|
27
27
|
},
|
|
28
28
|
"module": "fesm2015/cometchat-chat-uikit-angular.mjs",
|
|
29
29
|
"es2020": "fesm2020/cometchat-chat-uikit-angular.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
export { ConversationUtils, DetailsUtils, GroupMemberUtils, MessageReceiptUtils, ConversationsConfiguration, CreateGroupConfiguration, DetailsConfiguration, GroupsConfiguration, JoinGroupConfiguration, MessageComposerConfiguration, MessageHeaderConfiguration, MessageListConfiguration, MessagesConfiguration, UsersConfiguration, ThreadedMessagesConfiguration, MessageBubbleConfiguration, AddMembersConfiguration, BannedMembersConfiguration, GroupMembersConfiguration, TransferOwnershipConfiguration, PollsConstants, SmartRepliesConstants, SmartRepliesConfiguration, StickersConstants, StickersConfiguration, MessageTranslationConstants, MessageTranslationConfiguration, CollaborativeWhiteboardConfiguration, CollaborativeDocumentConstants, CollaborativeDocumentConfiguration, CollaborativeWhiteboardConstants, ReactionsConstants, ImageModerationConfiguration, ImageModerationConstants, ThumbnailGenerationConstants, LinkPreviewConstants, CallingDetailsUtils, CallHistoryConfiguration, OutgoingCallConfiguration, CallButtonsConfiguration, CallScreenConfiguration, CallDetailsConfiguration, ComposerId } from '@cometchat/uikit-shared';
|
|
1
|
+
export * from '@cometchat/uikit-shared';
|
|
2
|
+
export * from '@cometchat/uikit-resources';
|
|
3
|
+
export { CometChatAvatar, AvatarStyle, CometChatBadge, BadgeStyle, CometChatReceipt, ReceiptStyle, CometChatStatusIndicator, CometChatDate, DateStyle, CometChatIcon, IconStyle, CometChatBackdrop, CometChatButton, CometChatPopover, PopoverStyle, CometChatLabel, LabelStyle, CometChatInput, InputStyle, CometChatSearchInput, SearchInputStyle, CometChatModal, ModalStyle, CometChatMenuList, MenuListStyle, CometChatLoader, LoaderStyle, CometChatListItem, ListItemStyle, CometChatConfirmDialog, ConfirmDialogStyle, CometChatDivider, CometChatButtonGroup, ButtonGroupStyle, CometChatCheckbox, CheckboxStyle, CometChatTextBubble, TextBubbleStyle, CometChatVideoBubble, CometChatAudioBubble, CometChatImageBubble, ImageBubbleStyle, CometChatFileBubble, FileBubbleStyle, CometChatRadioButton, RadioButtonStyle, CometChatEmojiKeyboard, EmojiKeyboardStyle, Emojis, CometChatEmoji, CometChatMessageInput, MessageInputStyle, CometChatDropdown, DropdownStyle, CometChatChangeScope, ChangeScopeStyle, CometChatPreview, PreviewStyle, auxiliaryButtonAlignmentEnum, CometChatActionSheet, CometChatActionItem, layoutType, ActionSheetStyle, CometChatLiveReaction, CometChatJoinGroup, JoinGroupStyle, CometChatCreateGroup, CreateGroupStyle, CometChatDocumentBubble, CometChatCard, CardStyle, DocumentBubbleStyle, CometChatFullScreenViewer, FullScreenViewerStyle, CometChatIconButton, CometChatDraggable, CometChatContextMenu, ContextMenuStyle, CometChatMediaRecorder, MediaRecorderStyle, CallscreenStyle, CometChatCallscreenWrapper, BackdropStyle, } from '@cometchat/uikit-elements';
|
|
5
4
|
export { CometChatUIKit } from './Shared/CometChatUIkit/CometChatUIKit';
|
|
6
5
|
export { ChatConfigurator } from './Shared/Framework/ChatConfigurator';
|
|
7
6
|
export { DataSource } from './Shared/Framework/DataSource';
|
|
@@ -79,3 +78,7 @@ export { CometChatUsersWithMessagesComponent } from './CometChatUsersWithMessage
|
|
|
79
78
|
export { CometChatUsersWithMessages } from './CometChatUsersWithMessages/cometchat-users-with-messages.module';
|
|
80
79
|
export { CometChatTabsComponent } from './Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component';
|
|
81
80
|
export { CometChatTabs } from './Shared/Views/CometChatTabs/cometchat-tabs.module';
|
|
81
|
+
export { CometChatContacts } from './CometChatContacts/cometchat-contacts.module';
|
|
82
|
+
export { CometChatContactsComponent } from './CometChatContacts/cometchat-contacts/cometchat-contacts.component';
|
|
83
|
+
export { CometChatMessageInformation } from './CometChatMessageInformation/cometchat-message-information.module';
|
|
84
|
+
export { CometChatMessageInformationComponent } from './CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component';
|
package/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.d.ts
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import '@cometchat/uikit-elements';
|
|
4
|
-
import { AvatarStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
5
|
-
import { DetailsStyle, CallButtonsConfiguration } from "@cometchat/uikit-shared";
|
|
6
|
-
import { CometChatDetailsOption, CometChatDetailsTemplate } from '@cometchat/uikit-resources';
|
|
7
|
-
import { CometChat } from "@cometchat-pro/chat";
|
|
8
|
-
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* CometChatCallDetailsComponent renders details of user or group.
|
|
13
|
-
*
|
|
14
|
-
* @version 1.0.0
|
|
15
|
-
* @author CometChatTeam
|
|
16
|
-
* @copyright © 2022 CometChat Inc.
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export declare class CometChatCallDetailsComponent implements OnInit, OnChanges {
|
|
20
|
-
private ref;
|
|
21
|
-
private themeService;
|
|
22
|
-
group: CometChat.Group;
|
|
23
|
-
user: CometChat.User;
|
|
24
|
-
title: string;
|
|
25
|
-
closeButtonIconURL: string;
|
|
26
|
-
hideProfile: boolean;
|
|
27
|
-
subtitleView: TemplateRef<any>;
|
|
28
|
-
customProfileView: TemplateRef<any>;
|
|
29
|
-
disableUsersPresence: boolean;
|
|
30
|
-
privateGroupIcon: string;
|
|
31
|
-
protectedGroupIcon: string;
|
|
32
|
-
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
33
|
-
data: CometChatDetailsTemplate[];
|
|
34
|
-
onClose: () => void;
|
|
35
|
-
statusIndicatorStyle: any;
|
|
36
|
-
avatarStyle: AvatarStyle;
|
|
37
|
-
callDetailsStyle: DetailsStyle;
|
|
38
|
-
callButtonsConfiguration: CallButtonsConfiguration;
|
|
39
|
-
listItemStyle: ListItemStyle;
|
|
40
|
-
messagesList: CometChat.Call[];
|
|
41
|
-
loggedInUser: CometChat.User | null;
|
|
42
|
-
ccGroupMemberAdded: Subscription;
|
|
43
|
-
ccGroupMemberJoined: Subscription;
|
|
44
|
-
ccGroupMemberKicked: Subscription;
|
|
45
|
-
ccGroupMemberBanned: Subscription;
|
|
46
|
-
ccOwnershipChanged: Subscription;
|
|
47
|
-
statusColor: any;
|
|
48
|
-
closeButtonStyle: any;
|
|
49
|
-
buttonStyle: any;
|
|
50
|
-
dividerStyle: any;
|
|
51
|
-
getTitleStyle(): {
|
|
52
|
-
textFont: string;
|
|
53
|
-
textColor: string | undefined;
|
|
54
|
-
};
|
|
55
|
-
subtitleText: string;
|
|
56
|
-
userListenerId: string;
|
|
57
|
-
requestBuilder: any;
|
|
58
|
-
limit: number;
|
|
59
|
-
types: string[];
|
|
60
|
-
categories: string[];
|
|
61
|
-
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
62
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
-
removeListener(): void;
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
/**
|
|
67
|
-
* Compares two dates and sets Date on a a new day
|
|
68
|
-
*/
|
|
69
|
-
/**
|
|
70
|
-
* @param {number} firstDate
|
|
71
|
-
* @param {number} secondDate
|
|
72
|
-
*/
|
|
73
|
-
isDateDifferent(firstDate: number | undefined, secondDate: number | undefined): boolean;
|
|
74
|
-
subscribeToEvents(): void;
|
|
75
|
-
unsubscribeToEvents(): void;
|
|
76
|
-
checkStatusType: () => any;
|
|
77
|
-
updateSubtitle(): void;
|
|
78
|
-
getButtonStyle(option: CometChatDetailsOption): {
|
|
79
|
-
height: string;
|
|
80
|
-
width: string;
|
|
81
|
-
border: string;
|
|
82
|
-
borderRadius: string;
|
|
83
|
-
buttonTextFont: string | undefined;
|
|
84
|
-
buttonTextColor: string | undefined;
|
|
85
|
-
background: string;
|
|
86
|
-
};
|
|
87
|
-
checkGroupType(): string;
|
|
88
|
-
updateUserStatus(user: CometChat.User): void;
|
|
89
|
-
attachListeners(): void;
|
|
90
|
-
getSectionHeaderStyle(): {
|
|
91
|
-
textFont: string;
|
|
92
|
-
textColor: string;
|
|
93
|
-
};
|
|
94
|
-
getCallStatusStyleStyle(): {
|
|
95
|
-
textFont: string;
|
|
96
|
-
textColor: string;
|
|
97
|
-
};
|
|
98
|
-
getDateStyle(): {
|
|
99
|
-
textFont: string;
|
|
100
|
-
textColor: string;
|
|
101
|
-
};
|
|
102
|
-
onCloseClick: () => void;
|
|
103
|
-
onCloseDetails(): void;
|
|
104
|
-
subtitleStyle: () => {
|
|
105
|
-
textFont: string | undefined;
|
|
106
|
-
textColor: string | undefined;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* @param {CometChat.Group} group
|
|
110
|
-
*/
|
|
111
|
-
getGroupIcon: (group: CometChat.Group) => string | null | undefined;
|
|
112
|
-
/**
|
|
113
|
-
* @param {CometChat.Group} group
|
|
114
|
-
*/
|
|
115
|
-
getStatusIndicatorColor(group: CometChat.Group): any;
|
|
116
|
-
getTemplateOptions: (template: CometChatDetailsTemplate) => CometChatDetailsOption[];
|
|
117
|
-
getCustomOptionView(option: CometChatDetailsOption): any;
|
|
118
|
-
showDataSectionStyle(template: CometChatDetailsTemplate): {
|
|
119
|
-
textFont: string | undefined;
|
|
120
|
-
textColor: string | undefined;
|
|
121
|
-
};
|
|
122
|
-
setThemeStyle(): void;
|
|
123
|
-
setListItemStyle(): void;
|
|
124
|
-
setAvatarStyle(): void;
|
|
125
|
-
setStatusStyle(): void;
|
|
126
|
-
setDetailsStyle(): void;
|
|
127
|
-
wrapperStyle: () => {
|
|
128
|
-
width: string | undefined;
|
|
129
|
-
height: string | undefined;
|
|
130
|
-
border: string | undefined;
|
|
131
|
-
borderRadius: string | undefined;
|
|
132
|
-
background: string | undefined;
|
|
133
|
-
};
|
|
134
|
-
marginStyle: () => {
|
|
135
|
-
padding: string | undefined;
|
|
136
|
-
};
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallDetailsComponent, never>;
|
|
138
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallDetailsComponent, "cometchat-call-details", never, { "group": "group"; "user": "user"; "title": "title"; "closeButtonIconURL": "closeButtonIconURL"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "disableUsersPresence": "disableUsersPresence"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "onError": "onError"; "data": "data"; "onClose": "onClose"; "statusIndicatorStyle": "statusIndicatorStyle"; "avatarStyle": "avatarStyle"; "callDetailsStyle": "callDetailsStyle"; "callButtonsConfiguration": "callButtonsConfiguration"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
139
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cometchat-call-details/cometchat-call-details.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../CometChatCallButtons/cometchat-call-buttons.module";
|
|
5
|
-
import * as i4 from "../../CometChatList/cometchat-list.module";
|
|
6
|
-
export declare class CometChatCallDetails {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallDetails, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallDetails, [typeof i1.CometChatCallDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallButtons, typeof i4.CometChatList], [typeof i1.CometChatCallDetailsComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallDetails>;
|
|
10
|
-
}
|
package/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CometChat } from '@cometchat-pro/chat';
|
|
3
|
-
import { States, TitleAlignment, SelectionMode, ListStyle } from "@cometchat/uikit-shared";
|
|
4
|
-
import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { CometChatThemeService } from '../../../CometChatTheme.service';
|
|
7
|
-
import { CometChatOption, DatePatterns } from '@cometchat/uikit-resources';
|
|
8
|
-
import { CallHistoryStyle } from '@cometchat/uikit-shared';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* CometChatCallHistory is a wrapper component which renders callhistory of the loggedinuser using CometChatListItem && CometChatList.
|
|
13
|
-
*
|
|
14
|
-
* @version 1.0.0
|
|
15
|
-
* @author CometChatTeam
|
|
16
|
-
* @copyright © 2022 CometChat Inc.
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export declare class CometChatCallHistoryComponent implements OnInit {
|
|
20
|
-
private ref;
|
|
21
|
-
private themeService;
|
|
22
|
-
messageRequestBuilder: CometChat.MessagesRequestBuilder;
|
|
23
|
-
subtitleView: TemplateRef<any>;
|
|
24
|
-
listItemView: TemplateRef<any>;
|
|
25
|
-
menu: TemplateRef<any>;
|
|
26
|
-
options: ((member: CometChat.Call) => CometChatOption[]) | null;
|
|
27
|
-
activeCall: CometChat.Call | null;
|
|
28
|
-
hideSeparator: boolean;
|
|
29
|
-
selectionMode: SelectionMode;
|
|
30
|
-
hideError: boolean;
|
|
31
|
-
title: string;
|
|
32
|
-
onError: (error: CometChat.CometChatException) => void;
|
|
33
|
-
onSelect: (call: CometChat.Call) => void;
|
|
34
|
-
emptyStateView: TemplateRef<any>;
|
|
35
|
-
errorStateView: TemplateRef<any>;
|
|
36
|
-
loadingIconURL: string;
|
|
37
|
-
datePattern: DatePatterns;
|
|
38
|
-
loadingStateView: TemplateRef<any>;
|
|
39
|
-
emptyStateText: string;
|
|
40
|
-
errorStateText: string;
|
|
41
|
-
titleAlignment: TitleAlignment;
|
|
42
|
-
avatarStyle: AvatarStyle;
|
|
43
|
-
dateStyle: DateStyle;
|
|
44
|
-
callHistoryStyle: CallHistoryStyle;
|
|
45
|
-
listItemStyle: ListItemStyle;
|
|
46
|
-
onItemClick: (call: CometChat.Call) => void;
|
|
47
|
-
callsRequest: CometChat.MessagesRequest | null;
|
|
48
|
-
selectionmodeEnum: typeof SelectionMode;
|
|
49
|
-
state: States;
|
|
50
|
-
ccOutgoingCall: Subscription;
|
|
51
|
-
ccCallAccepted: Subscription;
|
|
52
|
-
ccCallRejected: Subscription;
|
|
53
|
-
ccCallEnded: Subscription;
|
|
54
|
-
listStyle: ListStyle;
|
|
55
|
-
limit: number;
|
|
56
|
-
callsList: CometChat.Call[];
|
|
57
|
-
callsListenerId: string;
|
|
58
|
-
loggedInUser: CometChat.User | null;
|
|
59
|
-
onScrolledToBottom: any;
|
|
60
|
-
iconStyle: IconStyle;
|
|
61
|
-
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
62
|
-
ngOnInit(): void;
|
|
63
|
-
callMenuOption(event: any, call: CometChat.Call): void;
|
|
64
|
-
subscribeToEvents(): void;
|
|
65
|
-
unsubscribeToEvents(): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
/**
|
|
68
|
-
* @param {CometChat.Call} call
|
|
69
|
-
*/
|
|
70
|
-
/**
|
|
71
|
-
* @param {CometChat.Call} call
|
|
72
|
-
*/
|
|
73
|
-
attachListeners(): void;
|
|
74
|
-
removeListener(): void;
|
|
75
|
-
fetchNextcallList: () => void;
|
|
76
|
-
getSubtitle(call: CometChat.Call): string;
|
|
77
|
-
/**
|
|
78
|
-
* @param {CometChat.Call} call
|
|
79
|
-
*/
|
|
80
|
-
onClick: (call: CometChat.Call) => void;
|
|
81
|
-
/**
|
|
82
|
-
* @param {CometChat.Call} call
|
|
83
|
-
*/
|
|
84
|
-
/**
|
|
85
|
-
* @param {CometChat.Call} call
|
|
86
|
-
*/
|
|
87
|
-
getActiveCall: (call: CometChat.Call) => boolean;
|
|
88
|
-
getCallTypeIcon(call: CometChat.Call): "assets/Audio-Call.svg" | "VideoCallIcon";
|
|
89
|
-
getCallerName(call: CometChat.Call): string;
|
|
90
|
-
getRequestBuilder(): CometChat.MessagesRequest;
|
|
91
|
-
/**
|
|
92
|
-
* addcall
|
|
93
|
-
* @param call
|
|
94
|
-
*/
|
|
95
|
-
addCall(call: CometChat.Call): void;
|
|
96
|
-
callStyle: () => {
|
|
97
|
-
height: string | undefined;
|
|
98
|
-
width: string | undefined;
|
|
99
|
-
background: string | undefined;
|
|
100
|
-
border: string | undefined;
|
|
101
|
-
borderRadius: string | undefined;
|
|
102
|
-
};
|
|
103
|
-
setThemeStyle(): void;
|
|
104
|
-
setAvatarStyle(): void;
|
|
105
|
-
setDateStyle(): void;
|
|
106
|
-
getListItemStyle(call: CometChat.Call): {
|
|
107
|
-
activeBackground?: string | undefined;
|
|
108
|
-
hoverBackground?: string | undefined;
|
|
109
|
-
separatorColor?: string | undefined;
|
|
110
|
-
titleFont?: string | undefined;
|
|
111
|
-
titleColor?: string | undefined;
|
|
112
|
-
height?: string | undefined;
|
|
113
|
-
width?: string | undefined;
|
|
114
|
-
border?: string | undefined;
|
|
115
|
-
borderRadius?: string | undefined;
|
|
116
|
-
background?: string | undefined;
|
|
117
|
-
};
|
|
118
|
-
setCallsStyle(): void;
|
|
119
|
-
subtitleStyle: () => {
|
|
120
|
-
font: string | undefined;
|
|
121
|
-
color: string | undefined;
|
|
122
|
-
};
|
|
123
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryComponent, never>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallHistoryComponent, "cometchat-call-history", never, { "messageRequestBuilder": "messageRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "menu": "menu"; "options": "options"; "activeCall": "activeCall"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "hideError": "hideError"; "title": "title"; "onError": "onError"; "onSelect": "onSelect"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "datePattern": "datePattern"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "avatarStyle": "avatarStyle"; "dateStyle": "dateStyle"; "callHistoryStyle": "callHistoryStyle"; "listItemStyle": "listItemStyle"; "onItemClick": "onItemClick"; }, {}, never, never>;
|
|
125
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "@cometchat/uikit-elements";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./cometchat-call-history/cometchat-call-history.component";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
-
export declare class CometChatCallHistory {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistory, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallHistory, [typeof i1.CometChatCallHistoryComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatCallHistoryComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallHistory>;
|
|
10
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
-
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
-
import { CallDetailsConfiguration, CallHistoryConfiguration, WithDetailsStyle } from '@cometchat/uikit-shared';
|
|
4
|
-
import '@cometchat/uikit-elements';
|
|
5
|
-
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* CometChatCallHistoryWithDetailsComponent is a wrapper component for CometChatCallDetailsComponent and CometChatCallHistorycomponent to show history and details of calls in one screen
|
|
10
|
-
*
|
|
11
|
-
* @version 1.0.0
|
|
12
|
-
* @author CometChatTeam
|
|
13
|
-
* @copyright © 2022 CometChat Inc.
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
export declare class CometChatCallHistoryWithDetailsComponent implements OnInit, OnChanges {
|
|
17
|
-
private elementRef;
|
|
18
|
-
private ref;
|
|
19
|
-
private themeService;
|
|
20
|
-
user: CometChat.User | null;
|
|
21
|
-
group: CometChat.Group | null;
|
|
22
|
-
call: CometChat.Call | null;
|
|
23
|
-
isMobileView: boolean;
|
|
24
|
-
messageText: string;
|
|
25
|
-
callHistoryWithDetailsStyle: WithDetailsStyle;
|
|
26
|
-
callDetailsConfiguration: CallDetailsConfiguration;
|
|
27
|
-
callHistoryConfiguration: CallHistoryConfiguration;
|
|
28
|
-
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
29
|
-
/**
|
|
30
|
-
* Properties for internal use
|
|
31
|
-
*/
|
|
32
|
-
loggedInUser: CometChat.User | null;
|
|
33
|
-
activeCall: CometChat.Call | null;
|
|
34
|
-
labelStyle: any;
|
|
35
|
-
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
36
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
-
closeDetailsPage: () => void;
|
|
38
|
-
onBack: () => void;
|
|
39
|
-
setWithDetailsStyle(): void;
|
|
40
|
-
onItemClick: ((call: CometChat.Call) => void);
|
|
41
|
-
setActiveChat(): void;
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
emptyMessageStyle: () => {
|
|
44
|
-
background: string | undefined;
|
|
45
|
-
height: string | undefined;
|
|
46
|
-
width: string;
|
|
47
|
-
border: string | undefined;
|
|
48
|
-
borderRadius: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
chatsWrapperStyles: () => {
|
|
51
|
-
height: string | undefined;
|
|
52
|
-
width: string | undefined;
|
|
53
|
-
border: string | undefined;
|
|
54
|
-
borderRadius: string | undefined;
|
|
55
|
-
background: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryWithDetailsComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallHistoryWithDetailsComponent, "cometchat-call-history-with-details", never, { "call": "call"; "isMobileView": "isMobileView"; "messageText": "messageText"; "callHistoryWithDetailsStyle": "callHistoryWithDetailsStyle"; "callDetailsConfiguration": "callDetailsConfiguration"; "callHistoryConfiguration": "callHistoryConfiguration"; "onError": "onError"; }, {}, never, never>;
|
|
59
|
-
}
|
package/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cometchat-call-history-with-details/cometchat-call-history-with-details.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../CometChatCallHistory/cometchat-call-history.module";
|
|
5
|
-
import * as i4 from "../CometChatCallDetails/cometchat-call-details.module";
|
|
6
|
-
import * as i5 from "@angular/platform-browser";
|
|
7
|
-
import * as i6 from "@angular/platform-browser/animations";
|
|
8
|
-
export declare class CometChatCallHistoryWithDetails {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryWithDetails, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallHistoryWithDetails, [typeof i1.CometChatCallHistoryWithDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallHistory, typeof i4.CometChatCallDetails, typeof i5.BrowserModule, typeof i6.BrowserAnimationsModule], [typeof i1.CometChatCallHistoryWithDetailsComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallHistoryWithDetails>;
|
|
12
|
-
}
|