@cometchat/chat-uikit-angular 4.0.1 → 4.1.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/AI/AIAssistBot/AIAssistBot.d.ts +7 -0
- package/AI/AIAssistBot/AIAssistBotDecorator.d.ts +11 -0
- package/AI/AIConversationStarter/AIConversationStarter.d.ts +2 -2
- package/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +3 -0
- package/AI/AIConversationSummary/AIConversationSummary.d.ts +7 -0
- package/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +10 -0
- package/AI/AISmartReplies/AISmartReplies.d.ts +2 -2
- package/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +3 -0
- package/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.d.ts +119 -0
- package/Calls/CometChatCallLogDetails/cometchat-call-log-details.module.d.ts +14 -0
- package/Calls/CometChatCallLogHistory/cometchat-call-log-history/cometchat-call-log-history.component.d.ts +111 -0
- package/Calls/CometChatCallLogHistory/cometchat-call-log-history.module.d.ts +10 -0
- package/Calls/CometChatCallLogParticipants/cometchat-call-log-participants/cometchat-call-log-participants.component.d.ts +76 -0
- package/Calls/CometChatCallLogParticipants/cometchat-call-log-participants.module.d.ts +10 -0
- package/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings/cometchat-call-log-recordings.component.d.ts +90 -0
- package/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings.module.d.ts +10 -0
- package/Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component.d.ts +133 -0
- package/Calls/CometChatCallLogs/cometchat-call-logs.module.d.ts +12 -0
- package/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component.d.ts +54 -0
- package/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details.module.d.ts +12 -0
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +18 -7
- package/CometChatList/cometchat-list.component.d.ts +12 -9
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +65 -29
- package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +3 -3
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +7 -6
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +6 -4
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +96 -55
- package/CometChatMessageList/cometchat-message-list.module.d.ts +1 -1
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +19 -16
- package/CometChatMessages/cometchat-messages.module.d.ts +3 -2
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +8 -5
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +13 -3
- package/Shared/Framework/AIExtensionDataSource.d.ts +5 -0
- package/Shared/Framework/DataSource.d.ts +3 -1
- package/Shared/Framework/DataSourceDecorator.d.ts +3 -1
- package/Shared/Utils/CallDetailUtils.d.ts +8 -0
- package/Shared/Utils/CallLogUtils.d.ts +8 -0
- package/Shared/Utils/MessageUtils.d.ts +2 -1
- package/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.d.ts +71 -0
- package/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list.module.d.ts +11 -0
- package/assets/InfoIcon.svg +13 -0
- package/assets/greaterThanIcon.svg +3 -0
- package/assets/incomingAudioCallIconUrl.svg +5 -0
- package/assets/incomingVideoCallIconUrl.svg +6 -0
- package/assets/missedAudioCallIconUrl.svg +5 -0
- package/assets/missedVideoCallIconUrl.svg +6 -0
- package/assets/outgoingAudioCallIconUrl.svg +5 -0
- package/assets/outgoingVideoCallIconUrl.svg +6 -0
- package/esm2020/AI/AIAssistBot/AIAssistBot.mjs +21 -0
- package/esm2020/AI/AIAssistBot/AIAssistBotDecorator.mjs +68 -0
- package/esm2020/AI/AIConversationStarter/AIConversationStarter.mjs +7 -4
- package/esm2020/AI/AIConversationStarter/AIConversationStarterDecorator.mjs +22 -1
- package/esm2020/AI/AIConversationSummary/AIConversationSummary.mjs +21 -0
- package/esm2020/AI/AIConversationSummary/AIConversationSummaryDecorator.mjs +32 -0
- package/esm2020/AI/AISmartReplies/AISmartReplies.mjs +7 -4
- package/esm2020/AI/AISmartReplies/AISmartRepliesDecorator.mjs +22 -1
- package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +3 -3
- package/esm2020/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.mjs +351 -0
- package/esm2020/Calls/CometChatCallLogDetails/cometchat-call-log-details.module.mjs +47 -0
- package/esm2020/Calls/CometChatCallLogHistory/cometchat-call-log-history/cometchat-call-log-history.component.mjs +352 -0
- package/esm2020/Calls/CometChatCallLogHistory/cometchat-call-log-history.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogParticipants/cometchat-call-log-participants/cometchat-call-log-participants.component.mjs +189 -0
- package/esm2020/Calls/CometChatCallLogParticipants/cometchat-call-log-participants.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings/cometchat-call-log-recordings.component.mjs +246 -0
- package/esm2020/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component.mjs +585 -0
- package/esm2020/Calls/CometChatCallLogs/cometchat-call-logs.module.mjs +36 -0
- package/esm2020/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component.mjs +193 -0
- package/esm2020/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details.module.mjs +39 -0
- package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +1 -1
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +72 -46
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +3 -3
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +1 -1
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +1 -1
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +3 -3
- package/esm2020/CometChatList/cometchat-list.component.mjs +44 -28
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +312 -115
- package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +7 -14
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +15 -17
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +19 -21
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +888 -300
- package/esm2020/CometChatMessageList/cometchat-message-list.module.mjs +5 -5
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +72 -51
- package/esm2020/CometChatMessages/cometchat-messages.module.mjs +10 -6
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +23 -23
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +1 -1
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +3 -3
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +173 -36
- package/esm2020/Shared/Framework/AIExtensionDataSource.mjs +3 -0
- package/esm2020/Shared/Framework/ChatConfigurator.mjs +2 -2
- package/esm2020/Shared/Framework/DataSource.mjs +1 -1
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +5 -2
- package/esm2020/Shared/Utils/CallDetailUtils.mjs +72 -0
- package/esm2020/Shared/Utils/CallLogUtils.mjs +122 -0
- package/esm2020/Shared/Utils/MessageUtils.mjs +31 -20
- package/esm2020/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.mjs +289 -0
- package/esm2020/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list.module.mjs +22 -0
- package/esm2020/public-api.mjs +106 -91
- package/fesm2015/cometchat-chat-uikit-angular.mjs +4249 -817
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +4271 -836
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +6 -6
- package/public-api.d.ts +105 -90
- package/AI/AIEnabler.d.ts +0 -8
- package/AI/AIEnablerDecorator.d.ts +0 -7
- package/LICENSE.md +0 -3
- package/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.d.ts +0 -71
- package/Shared/Views/CometChatCardView/cometchat-card-view.module.d.ts +0 -8
- package/esm2020/AI/AIEnabler.mjs +0 -70
- package/esm2020/AI/AIEnablerDecorator.mjs +0 -10
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.mjs +0 -117
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view.module.mjs +0 -23
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { ListStyle, OutgoingCallConfiguration, OutgoingCallStyle, CometChatUIKitCalls, CallScreenConfiguration, CallLogsStyle } from "@cometchat/uikit-shared";
|
|
3
|
+
import { AvatarStyle, BackdropStyle, CallscreenStyle, DateStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
4
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
5
|
+
import { DatePatterns, TitleAlignment, States } from "@cometchat/uikit-resources";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CometchatCallLogsComponent implements OnInit {
|
|
8
|
+
private elementRef;
|
|
9
|
+
private ref;
|
|
10
|
+
private themeService;
|
|
11
|
+
title: string;
|
|
12
|
+
titleAlignment: TitleAlignment;
|
|
13
|
+
listItemView: any;
|
|
14
|
+
subtitleView: any;
|
|
15
|
+
tailView: any;
|
|
16
|
+
menu: TemplateRef<any>;
|
|
17
|
+
emptyStateView: TemplateRef<any>;
|
|
18
|
+
errorStateView: TemplateRef<any>;
|
|
19
|
+
emptyStateText: string;
|
|
20
|
+
errorStateText: string;
|
|
21
|
+
loadingStateView: TemplateRef<any>;
|
|
22
|
+
loadingIconURL: string;
|
|
23
|
+
infoIconUrl: string;
|
|
24
|
+
missedAudioCallIconUrl: string;
|
|
25
|
+
missedVideoCallIconUrl: string;
|
|
26
|
+
outgoingAudioCallIconUrl: string;
|
|
27
|
+
outgoingVideoCallIconUrl: string;
|
|
28
|
+
incomingAudioCallIconUrl: string;
|
|
29
|
+
incomingVideoCallIconUrl: string;
|
|
30
|
+
callLogRequestBuilder: any;
|
|
31
|
+
cometchatCallObject: CometChat.Call | null;
|
|
32
|
+
onItemClick: (call: any) => void;
|
|
33
|
+
onInfoClick: (call: any) => void;
|
|
34
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
35
|
+
activeCall: any;
|
|
36
|
+
datePattern: DatePatterns;
|
|
37
|
+
DateSeparatorPattern: DatePatterns;
|
|
38
|
+
callLogsStyle: CallLogsStyle;
|
|
39
|
+
avatarStyle: AvatarStyle;
|
|
40
|
+
hideSeparator: boolean;
|
|
41
|
+
dateSeparatorStyle: DateStyle;
|
|
42
|
+
outgoingCallConfiguration: OutgoingCallConfiguration;
|
|
43
|
+
hideError: boolean;
|
|
44
|
+
showSectionHeader: boolean;
|
|
45
|
+
showMoreInfo: boolean;
|
|
46
|
+
sectionHeaderField: any;
|
|
47
|
+
backdropStyle: BackdropStyle;
|
|
48
|
+
dateStyle: DateStyle;
|
|
49
|
+
listItemStyle: ListItemStyle;
|
|
50
|
+
ongoingCallConfiguration: CallScreenConfiguration;
|
|
51
|
+
selectedOrActiveCallLogObject: any;
|
|
52
|
+
callsRequest: any;
|
|
53
|
+
state: States;
|
|
54
|
+
listStyle: ListStyle;
|
|
55
|
+
sessionId: string;
|
|
56
|
+
callLogsListenerId: string;
|
|
57
|
+
ongoingCallStyle: CallscreenStyle;
|
|
58
|
+
showOngoingCall: boolean;
|
|
59
|
+
limit: number;
|
|
60
|
+
callsList: any;
|
|
61
|
+
callsListenerId: string;
|
|
62
|
+
loggedInUser: CometChat.User | null;
|
|
63
|
+
authToken: string;
|
|
64
|
+
showOutgoingCallscreen: boolean;
|
|
65
|
+
onScrolledToBottom: any;
|
|
66
|
+
outgoingCallStyle: OutgoingCallStyle;
|
|
67
|
+
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
68
|
+
ngOnInit(): void;
|
|
69
|
+
attachListeners(): void;
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
removeListener(): void;
|
|
72
|
+
fetchNextCallLogsList: () => void;
|
|
73
|
+
getSubtitle(call: any): any;
|
|
74
|
+
handleInfoClick: (call: any) => void;
|
|
75
|
+
getActiveCall: (call: any) => boolean;
|
|
76
|
+
getSectionHeader: (call: any, index: any) => any;
|
|
77
|
+
onListItemClickCall: (call: any) => void;
|
|
78
|
+
cancelOutgoingCall: () => void;
|
|
79
|
+
getCallerName(call: any): any;
|
|
80
|
+
getAvatarUrl(call: any): any;
|
|
81
|
+
getRequestBuilder(): any;
|
|
82
|
+
getCallTypeIcon(call: any): string;
|
|
83
|
+
callLogStyle: () => {
|
|
84
|
+
height: string | undefined;
|
|
85
|
+
width: string | undefined;
|
|
86
|
+
background: string | undefined;
|
|
87
|
+
border: string | undefined;
|
|
88
|
+
borderRadius: string | undefined;
|
|
89
|
+
};
|
|
90
|
+
setThemeStyle(): void;
|
|
91
|
+
setAvatarStyle(): void;
|
|
92
|
+
setDateStyle(): void;
|
|
93
|
+
getListItemStyle(call: CometChat.Call): {
|
|
94
|
+
activeBackground?: string | undefined;
|
|
95
|
+
hoverBackground?: string | undefined;
|
|
96
|
+
separatorColor?: string | undefined;
|
|
97
|
+
titleFont?: string | undefined;
|
|
98
|
+
titleColor?: string | undefined;
|
|
99
|
+
padding?: string | undefined;
|
|
100
|
+
height?: string | undefined;
|
|
101
|
+
width?: string | undefined;
|
|
102
|
+
border?: string | undefined;
|
|
103
|
+
borderRadius?: string | undefined;
|
|
104
|
+
background?: string | undefined;
|
|
105
|
+
};
|
|
106
|
+
setCallLogsStyle(): void;
|
|
107
|
+
subtitleStyle: () => {
|
|
108
|
+
font: string | undefined;
|
|
109
|
+
color: string | undefined;
|
|
110
|
+
};
|
|
111
|
+
infoButtonStyle: () => {
|
|
112
|
+
height: string;
|
|
113
|
+
width: string;
|
|
114
|
+
border: string;
|
|
115
|
+
borderRadius: string;
|
|
116
|
+
background: string;
|
|
117
|
+
buttonIconTint: string | undefined;
|
|
118
|
+
};
|
|
119
|
+
getCallBuilder(): typeof CometChatUIKitCalls.CallSettings | undefined;
|
|
120
|
+
closeCallScreen(): void;
|
|
121
|
+
openOngoingCallScreen(call: CometChat.Call): void;
|
|
122
|
+
setOngoingCallStyle: () => void;
|
|
123
|
+
getDirectionIconStyle(call: any): {
|
|
124
|
+
height: string;
|
|
125
|
+
width: string;
|
|
126
|
+
border: string;
|
|
127
|
+
borderRadius: string;
|
|
128
|
+
background: string;
|
|
129
|
+
iconTint: string | undefined;
|
|
130
|
+
};
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometchatCallLogsComponent, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometchatCallLogsComponent, "cometchat-call-logs", never, { "title": "title"; "titleAlignment": "titleAlignment"; "listItemView": "listItemView"; "subtitleView": "subtitleView"; "tailView": "tailView"; "menu": "menu"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "loadingStateView": "loadingStateView"; "loadingIconURL": "loadingIconURL"; "infoIconUrl": "infoIconUrl"; "missedAudioCallIconUrl": "missedAudioCallIconUrl"; "missedVideoCallIconUrl": "missedVideoCallIconUrl"; "outgoingAudioCallIconUrl": "outgoingAudioCallIconUrl"; "outgoingVideoCallIconUrl": "outgoingVideoCallIconUrl"; "incomingAudioCallIconUrl": "incomingAudioCallIconUrl"; "incomingVideoCallIconUrl": "incomingVideoCallIconUrl"; "callLogRequestBuilder": "callLogRequestBuilder"; "cometchatCallObject": "cometchatCallObject"; "onItemClick": "onItemClick"; "onInfoClick": "onInfoClick"; "onError": "onError"; "activeCall": "activeCall"; "datePattern": "datePattern"; "DateSeparatorPattern": "DateSeparatorPattern"; "callLogsStyle": "callLogsStyle"; "avatarStyle": "avatarStyle"; "hideSeparator": "hideSeparator"; "dateSeparatorStyle": "dateSeparatorStyle"; "outgoingCallConfiguration": "outgoingCallConfiguration"; "hideError": "hideError"; "showSectionHeader": "showSectionHeader"; "showMoreInfo": "showMoreInfo"; "sectionHeaderField": "sectionHeaderField"; "backdropStyle": "backdropStyle"; "dateStyle": "dateStyle"; "listItemStyle": "listItemStyle"; "ongoingCallConfiguration": "ongoingCallConfiguration"; }, {}, never, never>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-call-logs/cometchat-call-logs.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
import * as i4 from "../CometChatOutgoingCall/cometchat-outgoing-call.module";
|
|
7
|
+
import * as i5 from "../CometChatOngoingCall/cometchat-ongoing-call.module";
|
|
8
|
+
export declare class CometChatCallLogs {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogs, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogs, [typeof i1.CometchatCallLogsComponent], [typeof i2.CommonModule, typeof i3.CometChatList, typeof i4.CometChatOutgoingCall, typeof i5.CometChatOngoingCall], [typeof i1.CometchatCallLogsComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogs>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
+
import "@cometchat/uikit-elements";
|
|
3
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
4
|
+
import { BackdropStyle } from "@cometchat/uikit-elements";
|
|
5
|
+
import { CallLogDetailsConfiguration, CallLogsConfiguration, WithDetailsStyle } from "@cometchat/uikit-shared";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CometChatCallLogsWithDetailsComponent implements OnInit, OnChanges {
|
|
8
|
+
private elementRef;
|
|
9
|
+
private ref;
|
|
10
|
+
private themeService;
|
|
11
|
+
isMobileView: boolean;
|
|
12
|
+
messageText: string;
|
|
13
|
+
withDetailsStyle: WithDetailsStyle;
|
|
14
|
+
showMoreInfo: boolean;
|
|
15
|
+
backdropStyle: BackdropStyle;
|
|
16
|
+
call: any;
|
|
17
|
+
callLogDetailsConfiguration: CallLogDetailsConfiguration;
|
|
18
|
+
callLogConfiguration: CallLogsConfiguration;
|
|
19
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
20
|
+
/**
|
|
21
|
+
* Properties for internal use
|
|
22
|
+
*/
|
|
23
|
+
loggedInUser: CometChat.User | null;
|
|
24
|
+
activeCall: any;
|
|
25
|
+
user: any | null;
|
|
26
|
+
group: CometChat.Group | null;
|
|
27
|
+
computedCallLogDetailsConfig: CallLogDetailsConfiguration;
|
|
28
|
+
labelStyle: any;
|
|
29
|
+
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
updateBackdropHeight(): void;
|
|
32
|
+
onBackClick: () => void;
|
|
33
|
+
setWithDetailsStyle(): void;
|
|
34
|
+
onInfoClick: (call: any) => void;
|
|
35
|
+
setActiveCallLog(): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
computedCallLogDetailsConfiguration(): CallLogDetailsConfiguration;
|
|
38
|
+
emptyMessageStyle: () => {
|
|
39
|
+
background: string | undefined;
|
|
40
|
+
height: string | undefined;
|
|
41
|
+
width: string;
|
|
42
|
+
border: string | undefined;
|
|
43
|
+
borderRadius: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
chatsWrapperStyles: () => {
|
|
46
|
+
height: string | undefined;
|
|
47
|
+
width: string | undefined;
|
|
48
|
+
border: string | undefined;
|
|
49
|
+
borderRadius: string | undefined;
|
|
50
|
+
background: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogsWithDetailsComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogsWithDetailsComponent, "cometchat-call-logs-with-details", never, { "isMobileView": "isMobileView"; "messageText": "messageText"; "withDetailsStyle": "withDetailsStyle"; "showMoreInfo": "showMoreInfo"; "backdropStyle": "backdropStyle"; "call": "call"; "callLogDetailsConfiguration": "callLogDetailsConfiguration"; "callLogConfiguration": "callLogConfiguration"; "onError": "onError"; }, {}, never, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-call-logs-with-details/cometchat-call-logs-with-details.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../CometChatCallLogs/cometchat-call-logs.module";
|
|
5
|
+
import * as i4 from "../CometChatCallLogDetails/cometchat-call-log-details.module";
|
|
6
|
+
import * as i5 from "../CometChatOutgoingCall/cometchat-outgoing-call.module";
|
|
7
|
+
import * as i6 from "../../CometChatMessages/cometchat-messages.module";
|
|
8
|
+
export declare class CometChatCallLogsWithDetails {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogsWithDetails, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogsWithDetails, [typeof i1.CometChatCallLogsWithDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallLogs, typeof i4.CometChatCallLogDetails, typeof i5.CometChatOutgoingCall, typeof i6.CometChatMessages], [typeof i1.CometChatCallLogsWithDetailsComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogsWithDetails>;
|
|
12
|
+
}
|
package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Subscription } from "rxjs";
|
|
1
|
+
import '@cometchat/uikit-elements';
|
|
2
|
+
import { AvatarStyle, BackdropStyle, BadgeStyle, ConfirmDialogStyle, DateStyle, ListItemStyle, ReceiptStyle } from '@cometchat/uikit-elements';
|
|
4
3
|
import { BaseStyle, ConversationsStyle, ListStyle } from "@cometchat/uikit-shared";
|
|
5
4
|
import { CometChatOption, DatePatterns, SelectionMode, States, TitleAlignment } from '@cometchat/uikit-resources';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
5
|
+
import { ChangeDetectorRef, NgZone, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
6
|
+
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
8
7
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
8
|
+
import { Subscription } from "rxjs";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
@@ -88,6 +88,18 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
88
88
|
ccGroupLeft: Subscription;
|
|
89
89
|
ccUserBlocked: Subscription;
|
|
90
90
|
ccMessageRead: Subscription;
|
|
91
|
+
onTextMessageReceived: Subscription;
|
|
92
|
+
onMediaMessageReceived: Subscription;
|
|
93
|
+
onCustomMessageReceived: Subscription;
|
|
94
|
+
onFormMessageReceived: Subscription;
|
|
95
|
+
onCardMessageReceived: Subscription;
|
|
96
|
+
onCustomInteractiveMessageReceived: Subscription;
|
|
97
|
+
onMessagesRead: Subscription;
|
|
98
|
+
onMessageDeleted: Subscription;
|
|
99
|
+
onMessageEdited: Subscription;
|
|
100
|
+
onMessagesDelivered: Subscription;
|
|
101
|
+
onTypingStarted: Subscription;
|
|
102
|
+
onTypingEnded: Subscription;
|
|
91
103
|
ccOutgoingCall: Subscription;
|
|
92
104
|
ccCallRejected: Subscription;
|
|
93
105
|
ccCallEnded: Subscription;
|
|
@@ -130,7 +142,6 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
130
142
|
conversationOptions: CometChatOption[];
|
|
131
143
|
showConfirmDialog: boolean;
|
|
132
144
|
conversationToBeDeleted: CometChat.Conversation | null;
|
|
133
|
-
conversationListenerId: string;
|
|
134
145
|
userListenerId: string;
|
|
135
146
|
groupListenerId: string;
|
|
136
147
|
groupToUpdate: CometChat.Group | {};
|
|
@@ -236,7 +247,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
236
247
|
/**
|
|
237
248
|
* Updates the conversation list's last message , badgeCount , user presence based on activities propagated by listeners
|
|
238
249
|
*/
|
|
239
|
-
conversationUpdated: (key: any, item: import("@cometchat/chat-sdk-javascript").
|
|
250
|
+
conversationUpdated: (key: any, item: import("@cometchat/chat-sdk-javascript").Group | import("@cometchat/chat-sdk-javascript").User | null | undefined, message: CometChat.BaseMessage, options?: null) => void;
|
|
240
251
|
/**
|
|
241
252
|
* @param {CometChat.BaseMessage} message
|
|
242
253
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef, OnInit, SimpleChanges, TemplateRef } from
|
|
2
|
-
import { SearchInputStyle } from
|
|
3
|
-
import { ListStyle } from
|
|
4
|
-
import { States, TitleAlignment } from
|
|
1
|
+
import { ElementRef, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { DateStyle, SearchInputStyle } from "@cometchat/uikit-elements";
|
|
3
|
+
import { ListStyle } from "@cometchat/uikit-shared";
|
|
4
|
+
import { DatePatterns, States, TitleAlignment } from "@cometchat/uikit-resources";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CometchatListComponent implements OnInit {
|
|
7
7
|
listScroll: ElementRef;
|
|
@@ -12,6 +12,7 @@ export declare class CometchatListComponent implements OnInit {
|
|
|
12
12
|
onScrolledToTop: () => void;
|
|
13
13
|
list: any;
|
|
14
14
|
onSearch: (text: string) => void;
|
|
15
|
+
getSectionHeader: (call: any, index: any) => void;
|
|
15
16
|
searchText: string;
|
|
16
17
|
searchIconURL: String;
|
|
17
18
|
listStyle: ListStyle;
|
|
@@ -29,6 +30,8 @@ export declare class CometchatListComponent implements OnInit {
|
|
|
29
30
|
loadingIconURL: string;
|
|
30
31
|
showSectionHeader: boolean;
|
|
31
32
|
sectionHeaderField: string;
|
|
33
|
+
DateSeparatorPattern: DatePatterns;
|
|
34
|
+
dateSeparatorStyle: DateStyle;
|
|
32
35
|
states: typeof States;
|
|
33
36
|
numberOfTopScroll: number;
|
|
34
37
|
searchStyle: SearchInputStyle;
|
|
@@ -42,13 +45,13 @@ export declare class CometchatListComponent implements OnInit {
|
|
|
42
45
|
*/
|
|
43
46
|
ioBottom: () => void;
|
|
44
47
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
* listening to top scroll using intersection observer
|
|
49
|
+
*/
|
|
47
50
|
ioTop: () => void;
|
|
48
51
|
searchEvent: (event: any) => void;
|
|
49
52
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
* styling part
|
|
54
|
+
*/
|
|
52
55
|
chatsListStyle: () => {
|
|
53
56
|
height: string | undefined;
|
|
54
57
|
background: string | undefined;
|
|
@@ -84,5 +87,5 @@ export declare class CometchatListComponent implements OnInit {
|
|
|
84
87
|
height: string;
|
|
85
88
|
};
|
|
86
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometchatListComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometchatListComponent, "cometchat-list", never, { "listItemView": "listItemView"; "onScrolledToBottom": "onScrolledToBottom"; "onScrolledToTop": "onScrolledToTop"; "list": "list"; "onSearch": "onSearch"; "searchText": "searchText"; "searchIconURL": "searchIconURL"; "listStyle": "listStyle"; "searchPlaceholderText": "searchPlaceholderText"; "hideSearch": "hideSearch"; "hideError": "hideError"; "title": "title"; "titleAlignment": "titleAlignment"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateView": "emptyStateView"; "state": "state"; "errorStateText": "errorStateText"; "emptyStateText": "emptyStateText"; "loadingIconURL": "loadingIconURL"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; }, {}, never, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometchatListComponent, "cometchat-list", never, { "listItemView": "listItemView"; "onScrolledToBottom": "onScrolledToBottom"; "onScrolledToTop": "onScrolledToTop"; "list": "list"; "onSearch": "onSearch"; "getSectionHeader": "getSectionHeader"; "searchText": "searchText"; "searchIconURL": "searchIconURL"; "listStyle": "listStyle"; "searchPlaceholderText": "searchPlaceholderText"; "hideSearch": "hideSearch"; "hideError": "hideError"; "title": "title"; "titleAlignment": "titleAlignment"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateView": "emptyStateView"; "state": "state"; "errorStateText": "errorStateText"; "emptyStateText": "emptyStateText"; "loadingIconURL": "loadingIconURL"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "DateSeparatorPattern": "DateSeparatorPattern"; "dateSeparatorStyle": "dateSeparatorStyle"; }, {}, never, never>;
|
|
88
91
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { OnInit, ElementRef, ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef } from
|
|
2
|
-
import { EmojiKeyboardStyle, PopoverStyle, ActionSheetStyle, PreviewStyle, MediaRecorderStyle, BackdropStyle } from
|
|
3
|
-
import { Subscription } from
|
|
4
|
-
import { localize, CometChatMessageComposerAction, AuxiliaryButtonAlignment, Placement } from
|
|
5
|
-
import { MessageComposerStyle, StickersConfiguration, StickersStyle, CreatePollStyle, ComposerId } from
|
|
6
|
-
import { CometChatThemeService } from
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { Buttons } from '../../Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component';
|
|
1
|
+
import { OnInit, ElementRef, ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import { EmojiKeyboardStyle, PopoverStyle, ActionSheetStyle, PreviewStyle, MediaRecorderStyle, BackdropStyle } from "@cometchat/uikit-elements";
|
|
3
|
+
import { Subscription } from "rxjs";
|
|
4
|
+
import { localize, CometChatMessageComposerAction, AuxiliaryButtonAlignment, Placement, CometChatActionsView, States } from "@cometchat/uikit-resources";
|
|
5
|
+
import { MessageComposerStyle, StickersConfiguration, StickersStyle, CreatePollStyle, ComposerId, SmartRepliesStyle, AIOptionsStyle } from "@cometchat/uikit-shared";
|
|
6
|
+
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
7
|
+
import "@cometchat/uikit-shared";
|
|
8
|
+
import "@cometchat/uikit-elements";
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
13
|
-
* CometChatMessageComposer is used to send message to user or group.
|
|
14
|
-
*
|
|
15
|
-
* @version 1.0.0
|
|
16
|
-
* @author CometChatTeam
|
|
17
|
-
* @copyright © 2022 CometChat Inc.
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
11
|
+
*
|
|
12
|
+
* CometChatMessageComposer is used to send message to user or group.
|
|
13
|
+
*
|
|
14
|
+
* @version 1.0.0
|
|
15
|
+
* @author CometChatTeam
|
|
16
|
+
* @copyright © 2022 CometChat Inc.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
20
19
|
export declare class CometChatMessageComposerComponent implements OnInit, OnChanges {
|
|
21
20
|
private ref;
|
|
22
21
|
private themeService;
|
|
@@ -45,23 +44,40 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
45
44
|
parentMessageId: number;
|
|
46
45
|
hideLiveReaction: boolean;
|
|
47
46
|
LiveReactionIconURL: string;
|
|
47
|
+
backButtonIconURL: string;
|
|
48
48
|
messageComposerStyle: MessageComposerStyle;
|
|
49
49
|
onSendButtonClick: ((message: CometChat.BaseMessage) => void) | undefined;
|
|
50
50
|
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
51
51
|
backdropStyle: BackdropStyle;
|
|
52
|
+
actionSheetStyle: ActionSheetStyle;
|
|
53
|
+
aiActionSheetStyle: any;
|
|
52
54
|
hideVoiceRecording: boolean;
|
|
53
55
|
mediaRecorderStyle: MediaRecorderStyle;
|
|
56
|
+
aiOptionsStyle: AIOptionsStyle;
|
|
57
|
+
aiIconURL: string;
|
|
54
58
|
voiceRecordingIconURL: string;
|
|
55
59
|
voiceRecordingCloseIconURL: string;
|
|
56
60
|
voiceRecordingStartIconURL: string;
|
|
57
61
|
voiceRecordingStopIconURL: string;
|
|
58
62
|
voiceRecordingSubmitIconURL: string;
|
|
63
|
+
childEvent: EventEmitter<void>;
|
|
59
64
|
composerId: ComposerId;
|
|
60
65
|
composerActions: CometChatMessageComposerAction[];
|
|
66
|
+
states: typeof States;
|
|
67
|
+
smartReplyState: States;
|
|
68
|
+
loadingStateText: string;
|
|
69
|
+
errorStateText: string;
|
|
70
|
+
emptyStateText: string;
|
|
61
71
|
showCreatePolls: boolean;
|
|
62
72
|
showStickerKeyboard: boolean;
|
|
63
73
|
showActionSheetItem: boolean;
|
|
74
|
+
showActionSheetItemAI: boolean;
|
|
75
|
+
showSmartReply: boolean;
|
|
64
76
|
showAiFeatures: boolean;
|
|
77
|
+
repliesArray: string[];
|
|
78
|
+
aiBotList: CometChat.User[];
|
|
79
|
+
currentAskAIBot: any;
|
|
80
|
+
isAiMoreThanOne: boolean;
|
|
65
81
|
showPreview: boolean;
|
|
66
82
|
aiFeaturesCloseCallback: (() => void) | null;
|
|
67
83
|
editPreviewObject: CometChat.TextMessage;
|
|
@@ -70,12 +86,15 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
70
86
|
acceptHandlers: any;
|
|
71
87
|
enableStickerKeyboard: boolean;
|
|
72
88
|
toggleMediaRecorded: boolean;
|
|
89
|
+
showAiBotList: boolean;
|
|
73
90
|
stickerConfiguration: {
|
|
74
91
|
id?: string;
|
|
75
92
|
configuration?: StickersConfiguration;
|
|
76
93
|
};
|
|
77
94
|
closeButtonIconURL: string;
|
|
78
95
|
buttons: Buttons[];
|
|
96
|
+
aiActionButtons: Buttons[];
|
|
97
|
+
smartReplyStyle: SmartRepliesStyle;
|
|
79
98
|
sendButtonStyle: any;
|
|
80
99
|
liveReactionStyle: any;
|
|
81
100
|
localize: typeof localize;
|
|
@@ -96,8 +115,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
96
115
|
sendButtonIconURL: string;
|
|
97
116
|
emojiButtonIconURL: string;
|
|
98
117
|
stickerButtonIconURL: string;
|
|
99
|
-
|
|
100
|
-
actions: CometChatMessageComposerAction[];
|
|
118
|
+
actions: (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
101
119
|
messageText: string;
|
|
102
120
|
attachmentButtonStyle: any;
|
|
103
121
|
auxilaryPlacement: Placement;
|
|
@@ -125,12 +143,14 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
125
143
|
unsubscribeToEvents(): void;
|
|
126
144
|
closeModals(): void;
|
|
127
145
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
146
|
+
callConversationSummaryMethod(): void;
|
|
128
147
|
ngOnChanges(changes: SimpleChanges): void;
|
|
129
148
|
customSendMethod(message: String): void;
|
|
130
149
|
/**
|
|
131
|
-
|
|
132
|
-
|
|
150
|
+
* @param {String=""} textMsg
|
|
151
|
+
*/
|
|
133
152
|
sendTextMessage(textMsg?: String): boolean;
|
|
153
|
+
onAiBackButtonClick(): void;
|
|
134
154
|
editMessage(): void;
|
|
135
155
|
getReceiverDetails(): {
|
|
136
156
|
receiverId: string;
|
|
@@ -138,9 +158,9 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
138
158
|
};
|
|
139
159
|
playAudio(): void;
|
|
140
160
|
/**
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
161
|
+
* @param {} timer=null
|
|
162
|
+
* @param {string=""} metadata
|
|
163
|
+
*/
|
|
144
164
|
startTyping(timer?: null, metadata?: string): void;
|
|
145
165
|
handleActions: (event: any) => void;
|
|
146
166
|
endTyping(metadata?: null): void;
|
|
@@ -152,16 +172,16 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
152
172
|
inputChangeHandler: (event: any) => void;
|
|
153
173
|
sendSticker: (event: any) => void;
|
|
154
174
|
/**
|
|
155
|
-
|
|
156
|
-
|
|
175
|
+
* @param {any} event
|
|
176
|
+
*/
|
|
157
177
|
onVideoChange(event: any): boolean;
|
|
158
178
|
/**
|
|
159
179
|
* @param {any} event
|
|
160
180
|
*/
|
|
161
181
|
onAudioChange(event: any): boolean;
|
|
162
182
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
183
|
+
* @param {any} event
|
|
184
|
+
*/
|
|
165
185
|
onImageChange(event: any): boolean;
|
|
166
186
|
/**
|
|
167
187
|
* @param {any} event
|
|
@@ -173,6 +193,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
173
193
|
openAudioPicker: () => void;
|
|
174
194
|
openActionSheet: (event: any) => void;
|
|
175
195
|
handleAiFeaturesClose: (callback: () => void) => void;
|
|
196
|
+
closeSmartReply: () => void;
|
|
176
197
|
openAiFeatures: (event: any) => void;
|
|
177
198
|
openEmojiKeyboard: (event: any) => void;
|
|
178
199
|
openMediaRecorded: (event: any) => void;
|
|
@@ -182,12 +203,27 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
182
203
|
ngOnInit(): void;
|
|
183
204
|
getSmartReplies: () => Promise<unknown>;
|
|
184
205
|
enableAiFeatures(): void;
|
|
206
|
+
showAiBotMessageListMethod: (action: any) => void;
|
|
207
|
+
sendReply: (event: any) => void;
|
|
185
208
|
composerWrapperStyle(): {
|
|
186
209
|
background: string | undefined;
|
|
187
210
|
};
|
|
188
211
|
setTheme(): void;
|
|
189
212
|
setComposerStyle(): void;
|
|
190
213
|
closePreview(): void;
|
|
214
|
+
backButtonStyle: () => {
|
|
215
|
+
height: string;
|
|
216
|
+
width: string;
|
|
217
|
+
border: string;
|
|
218
|
+
borderRadius: string;
|
|
219
|
+
background: string;
|
|
220
|
+
buttonIconTint: string | undefined;
|
|
221
|
+
};
|
|
191
222
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageComposerComponent, never>;
|
|
192
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; }, {}, never, never>;
|
|
223
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "backButtonIconURL": "backButtonIconURL"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "actionSheetStyle": "actionSheetStyle"; "aiActionSheetStyle": "aiActionSheetStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "aiOptionsStyle": "aiOptionsStyle"; "aiIconURL": "aiIconURL"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; }, { "childEvent": "childEvent"; }, never, never>;
|
|
224
|
+
}
|
|
225
|
+
export interface Buttons {
|
|
226
|
+
title: string;
|
|
227
|
+
id: string;
|
|
228
|
+
onClick: () => Promise<unknown>;
|
|
193
229
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./cometchat-message-composer/cometchat-message-composer.component";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../Shared/Views/
|
|
5
|
+
import * as i3 from "../Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list.module";
|
|
6
6
|
export declare class CometChatMessageComposer {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageComposer, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatMessageComposer, [typeof i1.CometChatMessageComposerComponent], [typeof i2.CommonModule, typeof i3.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatMessageComposer, [typeof i1.CometChatMessageComposerComponent], [typeof i2.CommonModule, typeof i3.AIAssistBotMessageList], [typeof i1.CometChatMessageComposerComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatMessageComposer>;
|
|
10
10
|
}
|
package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ListItemStyle, AvatarStyle, BaseStyle } from '@cometchat/uikit-elements';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
1
|
+
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
2
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
5
3
|
import { CometChatTheme } from '@cometchat/uikit-resources';
|
|
6
|
-
import {
|
|
4
|
+
import { CometChat } from '@cometchat/chat-sdk-javascript';
|
|
7
5
|
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
6
|
+
import { MessageHeaderStyle } from '@cometchat/uikit-shared';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
@@ -35,7 +35,6 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
35
35
|
listItemView: TemplateRef<any>;
|
|
36
36
|
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
37
37
|
onBack: () => void;
|
|
38
|
-
msgListenerId: string;
|
|
39
38
|
groupsListenerId: string;
|
|
40
39
|
userListenerId: string;
|
|
41
40
|
subtitleText: string;
|
|
@@ -48,6 +47,8 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
48
47
|
ccGroupMemberKicked: Subscription;
|
|
49
48
|
ccGroupMemberBanned: Subscription;
|
|
50
49
|
ccOwnershipChanged: Subscription;
|
|
50
|
+
onTypingStarted: Subscription;
|
|
51
|
+
onTypingEnded: Subscription;
|
|
51
52
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
52
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
54
|
ngOnInit(): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
2
|
import { CometChatMessageTemplate, Receipts, States } from '@cometchat/uikit-resources';
|
|
4
|
-
import { ListStyle, MessageInformationStyle } from '@cometchat/uikit-shared';
|
|
5
3
|
import { DateStyle, LabelStyle, ListItemStyle, ReceiptStyle } from '@cometchat/uikit-elements';
|
|
4
|
+
import { ListStyle, MessageInformationStyle } from '@cometchat/uikit-shared';
|
|
5
|
+
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
6
|
+
import { Subscription } from "rxjs";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
*
|
|
@@ -36,11 +37,12 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
|
|
|
36
37
|
loadingIconURL: string;
|
|
37
38
|
loadingStateView: TemplateRef<any>;
|
|
38
39
|
errorStateView: TemplateRef<any>;
|
|
40
|
+
onMessagesDelivered: Subscription;
|
|
41
|
+
onMessagesRead: Subscription;
|
|
39
42
|
receipts: CometChat.MessageReceipt[];
|
|
40
43
|
receiptStyle: ReceiptStyle;
|
|
41
44
|
isUserType: boolean;
|
|
42
45
|
deliveredReceipt: Receipts;
|
|
43
|
-
msgListenerId: string;
|
|
44
46
|
readReceipt: Receipts;
|
|
45
47
|
listStyle: ListStyle;
|
|
46
48
|
messageText: string;
|