@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,11 @@
|
|
|
1
|
+
import { AIOptionsStyle } from "@cometchat/uikit-shared";
|
|
2
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
3
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
|
|
5
|
+
export declare class AIAssistBotDecorator extends DataSourceDecorator {
|
|
6
|
+
aiBotsList: any;
|
|
7
|
+
constructor(dataSource: DataSource);
|
|
8
|
+
getId(): string;
|
|
9
|
+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
10
|
+
fetchAiBots(): Promise<void>;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AIExtensionDataSource } from "
|
|
1
|
+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
|
|
2
2
|
export declare class AIConversationStarterExtension extends AIExtensionDataSource {
|
|
3
3
|
constructor();
|
|
4
4
|
addExtension(): void;
|
|
5
5
|
getExtensionId(): string;
|
|
6
|
-
enable(): void
|
|
6
|
+
enable(): Promise<void>;
|
|
7
7
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { AIOptionsStyle } from "@cometchat/uikit-shared";
|
|
1
2
|
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
2
3
|
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
4
|
+
import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
|
|
3
5
|
export declare class AIConversationStarterDecorator extends DataSourceDecorator {
|
|
4
6
|
constructor(dataSource: DataSource);
|
|
5
7
|
getId(): string;
|
|
8
|
+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
6
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
|
|
2
|
+
export declare class AIConversationSummaryExtension extends AIExtensionDataSource {
|
|
3
|
+
constructor();
|
|
4
|
+
addExtension(): void;
|
|
5
|
+
getExtensionId(): string;
|
|
6
|
+
enable(): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIOptionsStyle } from "@cometchat/uikit-shared";
|
|
2
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
3
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
4
|
+
import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
|
|
5
|
+
export declare class AIConversationSummaryDecorator extends DataSourceDecorator {
|
|
6
|
+
newDataSource: DataSource;
|
|
7
|
+
constructor(dataSource: DataSource);
|
|
8
|
+
getId(): string;
|
|
9
|
+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AIExtensionDataSource } from "
|
|
1
|
+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
|
|
2
2
|
export declare class AISmartRepliesExtension extends AIExtensionDataSource {
|
|
3
3
|
constructor();
|
|
4
4
|
addExtension(): void;
|
|
5
5
|
getExtensionId(): string;
|
|
6
|
-
enable(): void
|
|
6
|
+
enable(): Promise<void>;
|
|
7
7
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
|
|
1
2
|
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
2
3
|
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
4
|
+
import { AIOptionsStyle } from "@cometchat/uikit-shared";
|
|
3
5
|
export declare class AISmartRepliesExtensionDecorator extends DataSourceDecorator {
|
|
4
6
|
constructor(dataSource: DataSource);
|
|
5
7
|
getId(): string;
|
|
8
|
+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
6
9
|
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import "@cometchat/uikit-elements";
|
|
3
|
+
import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
4
|
+
import { CallButtonsStyle, CallButtonsConfiguration, CallLogDetailsStyle, CallLogParticipantsConfiguration, CallLogHistoryConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
|
|
5
|
+
import { CometChatDetailsOption, CometChatDetailsTemplate, DatePatterns, CometChatCallDetailsOption } from "@cometchat/uikit-resources";
|
|
6
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CometChatCallLogDetailsComponent implements OnInit, OnChanges {
|
|
9
|
+
private ref;
|
|
10
|
+
private themeService;
|
|
11
|
+
call: any;
|
|
12
|
+
group: CometChat.Group;
|
|
13
|
+
user: CometChat.User;
|
|
14
|
+
title: string;
|
|
15
|
+
onBackClick: () => void;
|
|
16
|
+
hideProfile: boolean;
|
|
17
|
+
subtitleView: TemplateRef<any>;
|
|
18
|
+
customProfileView: TemplateRef<any>;
|
|
19
|
+
backIconUrl: string;
|
|
20
|
+
greaterThanIconURL: string;
|
|
21
|
+
callButtonsConfiguration: CallButtonsConfiguration;
|
|
22
|
+
callLogParticipantsConfiguration: CallLogParticipantsConfiguration;
|
|
23
|
+
callLogHistoryConfiguration: CallLogHistoryConfiguration;
|
|
24
|
+
callLogRecordingsConfiguration: CallLogRecordingsConfiguration;
|
|
25
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
26
|
+
datePattern: DatePatterns;
|
|
27
|
+
datePattern2: DatePatterns;
|
|
28
|
+
data: CometChatDetailsTemplate[];
|
|
29
|
+
avatarStyle: AvatarStyle;
|
|
30
|
+
callDetailsStyle: CallLogDetailsStyle;
|
|
31
|
+
listItemStyle: ListItemStyle;
|
|
32
|
+
dateStyle: DateStyle;
|
|
33
|
+
callButtonsStyle: CallButtonsStyle;
|
|
34
|
+
iconStyle: IconStyle;
|
|
35
|
+
defaultTemplate: CometChatDetailsTemplate[];
|
|
36
|
+
authToken: string;
|
|
37
|
+
loggedInUser: CometChat.User | null;
|
|
38
|
+
showCallLogDetailOptionList: Boolean;
|
|
39
|
+
showCometChatMessages: Boolean;
|
|
40
|
+
showParticipantsList: Boolean;
|
|
41
|
+
showCallRecordingList: Boolean;
|
|
42
|
+
showCallHistory: Boolean;
|
|
43
|
+
dividerStyle: any;
|
|
44
|
+
getTitleStyle(): {
|
|
45
|
+
textFont: string;
|
|
46
|
+
textColor: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
userListenerId: string;
|
|
49
|
+
requestBuilder: any;
|
|
50
|
+
limit: number;
|
|
51
|
+
onItemClick: (call: any) => void;
|
|
52
|
+
types: string[];
|
|
53
|
+
categories: string[];
|
|
54
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
55
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
56
|
+
removeListener(): void;
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
trackByFnOption(index: number, option: any): string;
|
|
59
|
+
getTemplate(): void;
|
|
60
|
+
getTemplateOptions: (template: CometChatDetailsTemplate) => CometChatDetailsOption[];
|
|
61
|
+
getCustomOptionView(option: CometChatDetailsOption): any;
|
|
62
|
+
getSectionHeaderStyle(template: CometChatDetailsTemplate): {
|
|
63
|
+
textFont: string | undefined;
|
|
64
|
+
textColor: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
onOptionClick: (option: CometChatCallDetailsOption) => void;
|
|
67
|
+
getButtonStyle(option: CometChatDetailsOption): {
|
|
68
|
+
height: string;
|
|
69
|
+
width: string;
|
|
70
|
+
border: string;
|
|
71
|
+
borderRadius: string;
|
|
72
|
+
buttonTextFont: string | undefined;
|
|
73
|
+
buttonTextColor: string | undefined;
|
|
74
|
+
background: string;
|
|
75
|
+
};
|
|
76
|
+
handlePageOnBackClick: () => void;
|
|
77
|
+
subtitleStyle(template: CometChatDetailsTemplate): {
|
|
78
|
+
textFont: string | undefined;
|
|
79
|
+
textColor: string | undefined;
|
|
80
|
+
};
|
|
81
|
+
showDataSectionStyle(template: CometChatDetailsTemplate): {
|
|
82
|
+
textFont: string | undefined;
|
|
83
|
+
textColor: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
setThemeStyle(): void;
|
|
86
|
+
setListItemStyle(): void;
|
|
87
|
+
setAvatarStyle(): void;
|
|
88
|
+
setDetailsStyle(): void;
|
|
89
|
+
setDateStyle(): void;
|
|
90
|
+
wrapperStyle: () => {
|
|
91
|
+
width: string | undefined;
|
|
92
|
+
height: string | undefined;
|
|
93
|
+
border: string | undefined;
|
|
94
|
+
borderRadius: string | undefined;
|
|
95
|
+
background: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
getTailView(totalSeconds: number): string;
|
|
98
|
+
getSubtitle(call: any): string;
|
|
99
|
+
backButtonStyle: () => {
|
|
100
|
+
height: string;
|
|
101
|
+
width: string;
|
|
102
|
+
border: string;
|
|
103
|
+
borderRadius: string;
|
|
104
|
+
background: string;
|
|
105
|
+
buttonIconTint: string | undefined;
|
|
106
|
+
};
|
|
107
|
+
getListItemStyle(option: CometChatDetailsOption): {
|
|
108
|
+
height: string;
|
|
109
|
+
width: string;
|
|
110
|
+
background: string | undefined;
|
|
111
|
+
borderRadius: string;
|
|
112
|
+
titleFont: string;
|
|
113
|
+
border: string;
|
|
114
|
+
separatorColor: string | undefined;
|
|
115
|
+
hoverBackground: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogDetailsComponent, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogDetailsComponent, "cometchat-call-log-details", never, { "call": "call"; "group": "group"; "user": "user"; "title": "title"; "onBackClick": "onBackClick"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "backIconUrl": "backIconUrl"; "greaterThanIconURL": "greaterThanIconURL"; "callButtonsConfiguration": "callButtonsConfiguration"; "callLogParticipantsConfiguration": "callLogParticipantsConfiguration"; "callLogHistoryConfiguration": "callLogHistoryConfiguration"; "callLogRecordingsConfiguration": "callLogRecordingsConfiguration"; "onError": "onError"; "datePattern": "datePattern"; "datePattern2": "datePattern2"; "data": "data"; "avatarStyle": "avatarStyle"; "callDetailsStyle": "callDetailsStyle"; "listItemStyle": "listItemStyle"; "dateStyle": "dateStyle"; "callButtonsStyle": "callButtonsStyle"; }, {}, never, never>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-call-log-details/cometchat-call-log-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
|
+
import * as i5 from "../CometChatCallLogParticipants/cometchat-call-log-participants.module";
|
|
7
|
+
import * as i6 from "../CometChatCallLogRecordings/cometchat-call-log-recordings.module";
|
|
8
|
+
import * as i7 from "../CometChatCallLogHistory/cometchat-call-log-history.module";
|
|
9
|
+
import * as i8 from "../CometChatCallLogs/cometchat-call-logs.module";
|
|
10
|
+
export declare class CometChatCallLogDetails {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogDetails, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogDetails, [typeof i1.CometChatCallLogDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallButtons, typeof i4.CometChatList, typeof i5.CometChatCallLogParticipants, typeof i6.CometChatCallLogRecordings, typeof i7.CometChatCallLogHistory, typeof i8.CometChatCallLogs], [typeof i1.CometChatCallLogDetailsComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogDetails>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { ListStyle } from "@cometchat/uikit-shared";
|
|
3
|
+
import { AvatarStyle, DateStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
4
|
+
import { Subscription } from "rxjs";
|
|
5
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
6
|
+
import { DatePatterns, States } from "@cometchat/uikit-resources";
|
|
7
|
+
import { CallLogHistoryStyle } from "@cometchat/uikit-shared";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CometChatCallLogHistoryComponent implements OnInit {
|
|
10
|
+
private ref;
|
|
11
|
+
private themeService;
|
|
12
|
+
user: CometChat.User;
|
|
13
|
+
group: CometChat.Group;
|
|
14
|
+
title: string;
|
|
15
|
+
emptyStateView: TemplateRef<any>;
|
|
16
|
+
errorStateView: TemplateRef<any>;
|
|
17
|
+
loadingStateView: TemplateRef<any>;
|
|
18
|
+
subtitleView: TemplateRef<any>;
|
|
19
|
+
listItemView: TemplateRef<any>;
|
|
20
|
+
menu: TemplateRef<any>;
|
|
21
|
+
emptyStateText: string;
|
|
22
|
+
errorStateText: string;
|
|
23
|
+
loadingIconURL: string;
|
|
24
|
+
backIconUrl: string;
|
|
25
|
+
onItemClick: (call: any) => void;
|
|
26
|
+
onBackClick: () => void;
|
|
27
|
+
callLogRequestBuilder: any;
|
|
28
|
+
DateSeparatorPattern: DatePatterns;
|
|
29
|
+
hideSeparator: boolean;
|
|
30
|
+
dateSeparatorStyle: DateStyle;
|
|
31
|
+
hideError: boolean;
|
|
32
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
33
|
+
showSectionHeader: boolean;
|
|
34
|
+
sectionHeaderField: any;
|
|
35
|
+
datePattern: DatePatterns;
|
|
36
|
+
avatarStyle: AvatarStyle;
|
|
37
|
+
dateStyle: DateStyle;
|
|
38
|
+
CallLogHistoryStyle: CallLogHistoryStyle;
|
|
39
|
+
listItemStyle: ListItemStyle;
|
|
40
|
+
callsRequest: any;
|
|
41
|
+
state: States;
|
|
42
|
+
ccOutgoingCall: Subscription;
|
|
43
|
+
ccCallAccepted: Subscription;
|
|
44
|
+
ccCallRejected: Subscription;
|
|
45
|
+
ccCallEnded: Subscription;
|
|
46
|
+
listStyle: ListStyle;
|
|
47
|
+
limit: number;
|
|
48
|
+
callHistory: any[];
|
|
49
|
+
callsListenerId: string;
|
|
50
|
+
loggedInUser: CometChat.User | null;
|
|
51
|
+
authToken: string;
|
|
52
|
+
showOutgoingCallscreen: boolean;
|
|
53
|
+
onScrolledToBottom: any;
|
|
54
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
handleItemClick(call: any): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
fetchNextCallHistoryList: () => void;
|
|
59
|
+
getSubtitle(call: any): string;
|
|
60
|
+
getRequestBuilder(): any;
|
|
61
|
+
callLogHistoryStyle: () => {
|
|
62
|
+
height: string | undefined;
|
|
63
|
+
width: string | undefined;
|
|
64
|
+
background: string | undefined;
|
|
65
|
+
border: string | undefined;
|
|
66
|
+
borderRadius: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
setThemeStyle(): void;
|
|
69
|
+
setAvatarStyle(): void;
|
|
70
|
+
setDateStyle(): void;
|
|
71
|
+
getListItemStyle(): {
|
|
72
|
+
activeBackground?: string | undefined;
|
|
73
|
+
hoverBackground?: string | undefined;
|
|
74
|
+
separatorColor?: string | undefined;
|
|
75
|
+
titleFont?: string | undefined;
|
|
76
|
+
titleColor?: string | undefined;
|
|
77
|
+
padding?: string | undefined;
|
|
78
|
+
height?: string | undefined;
|
|
79
|
+
width?: string | undefined;
|
|
80
|
+
border?: string | undefined;
|
|
81
|
+
borderRadius?: string | undefined;
|
|
82
|
+
background?: string | undefined;
|
|
83
|
+
};
|
|
84
|
+
setCallLogHistoryStyle(): void;
|
|
85
|
+
subtitleStyle: () => {
|
|
86
|
+
font: string | undefined;
|
|
87
|
+
color: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
tailViewStyle: () => {
|
|
90
|
+
font: string | undefined;
|
|
91
|
+
color: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
backButtonStyle: () => {
|
|
94
|
+
height: string;
|
|
95
|
+
width: string;
|
|
96
|
+
border: string;
|
|
97
|
+
borderRadius: string;
|
|
98
|
+
background: string;
|
|
99
|
+
buttonIconTint: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
getSectionHeader: (call: any, index: any) => any;
|
|
102
|
+
getTailView(totalSeconds: any): string;
|
|
103
|
+
handleBackClick: () => void;
|
|
104
|
+
titleStyle: () => {
|
|
105
|
+
font: string | undefined;
|
|
106
|
+
color: string | undefined;
|
|
107
|
+
background: string;
|
|
108
|
+
};
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogHistoryComponent, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogHistoryComponent, "cometchat-call-log-history", never, { "user": "user"; "group": "group"; "title": "title"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "menu": "menu"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "loadingIconURL": "loadingIconURL"; "backIconUrl": "backIconUrl"; "onItemClick": "onItemClick"; "onBackClick": "onBackClick"; "callLogRequestBuilder": "callLogRequestBuilder"; "DateSeparatorPattern": "DateSeparatorPattern"; "hideSeparator": "hideSeparator"; "dateSeparatorStyle": "dateSeparatorStyle"; "hideError": "hideError"; "onError": "onError"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "datePattern": "datePattern"; "avatarStyle": "avatarStyle"; "dateStyle": "dateStyle"; "CallLogHistoryStyle": "CallLogHistoryStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
111
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-call-log-history/cometchat-call-log-history.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
export declare class CometChatCallLogHistory {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogHistory, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogHistory, [typeof i1.CometChatCallLogHistoryComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatCallLogHistoryComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogHistory>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from "@angular/core";
|
|
2
|
+
import { ListStyle } from "@cometchat/uikit-shared";
|
|
3
|
+
import { AvatarStyle, DateStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
4
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
5
|
+
import { DatePatterns, States } from "@cometchat/uikit-resources";
|
|
6
|
+
import { CallLogParticipantsStyle } from "@cometchat/uikit-shared";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CometChatCallLogParticipantsComponent implements OnInit {
|
|
9
|
+
private ref;
|
|
10
|
+
private themeService;
|
|
11
|
+
title: string;
|
|
12
|
+
call: any;
|
|
13
|
+
backIconUrl: string;
|
|
14
|
+
onBackClick: () => void;
|
|
15
|
+
datePattern: DatePatterns;
|
|
16
|
+
subtitleView: any;
|
|
17
|
+
listItemView: any;
|
|
18
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
19
|
+
hideSeparator: boolean;
|
|
20
|
+
avatarStyle: AvatarStyle;
|
|
21
|
+
dateStyle: DateStyle;
|
|
22
|
+
CallLogParticipantsStyle: CallLogParticipantsStyle;
|
|
23
|
+
listItemStyle: ListItemStyle;
|
|
24
|
+
participantsList: any;
|
|
25
|
+
loggedInUser: CometChat.User | null;
|
|
26
|
+
state: States;
|
|
27
|
+
listStyle: ListStyle;
|
|
28
|
+
limit: number;
|
|
29
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
getTailView(totalSeconds: any): string;
|
|
32
|
+
callStyle: () => {
|
|
33
|
+
height: string | undefined;
|
|
34
|
+
width: string | undefined;
|
|
35
|
+
background: string | undefined;
|
|
36
|
+
border: string | undefined;
|
|
37
|
+
borderRadius: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
setThemeStyle(): void;
|
|
40
|
+
setAvatarStyle(): void;
|
|
41
|
+
setDateStyle(): void;
|
|
42
|
+
getListItemStyle(): {
|
|
43
|
+
activeBackground?: string | undefined;
|
|
44
|
+
hoverBackground?: string | undefined;
|
|
45
|
+
separatorColor?: string | undefined;
|
|
46
|
+
titleFont?: string | undefined;
|
|
47
|
+
titleColor?: string | undefined;
|
|
48
|
+
padding?: string | undefined;
|
|
49
|
+
height?: string | undefined;
|
|
50
|
+
width?: string | undefined;
|
|
51
|
+
border?: string | undefined;
|
|
52
|
+
borderRadius?: string | undefined;
|
|
53
|
+
background?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
setCallsStyle(): void;
|
|
56
|
+
subtitleStyle: () => {
|
|
57
|
+
font: string | undefined;
|
|
58
|
+
color: string | undefined;
|
|
59
|
+
};
|
|
60
|
+
titleStyle: () => {
|
|
61
|
+
font: string | undefined;
|
|
62
|
+
color: string | undefined;
|
|
63
|
+
background: string;
|
|
64
|
+
};
|
|
65
|
+
handleBackClick: () => void;
|
|
66
|
+
backButtonStyle: () => {
|
|
67
|
+
height: string;
|
|
68
|
+
width: string;
|
|
69
|
+
border: string;
|
|
70
|
+
borderRadius: string;
|
|
71
|
+
background: string;
|
|
72
|
+
buttonIconTint: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogParticipantsComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogParticipantsComponent, "cometchat-call-log-participants", never, { "title": "title"; "call": "call"; "backIconUrl": "backIconUrl"; "onBackClick": "onBackClick"; "datePattern": "datePattern"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "onError": "onError"; "hideSeparator": "hideSeparator"; "avatarStyle": "avatarStyle"; "dateStyle": "dateStyle"; "CallLogParticipantsStyle": "CallLogParticipantsStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-call-log-participants/cometchat-call-log-participants.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
export declare class CometChatCallLogParticipants {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogParticipants, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogParticipants, [typeof i1.CometChatCallLogParticipantsComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatCallLogParticipantsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogParticipants>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from "@angular/core";
|
|
2
|
+
import { ListStyle } from "@cometchat/uikit-shared";
|
|
3
|
+
import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
4
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
5
|
+
import { CometChatOption, DatePatterns, States } from "@cometchat/uikit-resources";
|
|
6
|
+
import { CallLogRecordingsStyle } from "@cometchat/uikit-shared";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CometChatCallLogRecordingsComponent implements OnInit {
|
|
9
|
+
private ref;
|
|
10
|
+
private themeService;
|
|
11
|
+
title: string;
|
|
12
|
+
call: any;
|
|
13
|
+
onBackClick: () => void;
|
|
14
|
+
backIconURL: string;
|
|
15
|
+
datePattern: DatePatterns;
|
|
16
|
+
subtitleView: any;
|
|
17
|
+
listItemView: any;
|
|
18
|
+
downloadIconURL: string;
|
|
19
|
+
onDownloadClick: (item: any) => void;
|
|
20
|
+
hideDownloadButton: boolean;
|
|
21
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
22
|
+
avatarStyle: AvatarStyle;
|
|
23
|
+
dateStyle: DateStyle;
|
|
24
|
+
CallLogRecordingsStyle: CallLogRecordingsStyle;
|
|
25
|
+
listItemStyle: ListItemStyle;
|
|
26
|
+
recordingsList: any;
|
|
27
|
+
loggedInUser: CometChat.User | null;
|
|
28
|
+
state: States;
|
|
29
|
+
listStyle: ListStyle;
|
|
30
|
+
limit: number;
|
|
31
|
+
options: ((member: CometChat.Call) => CometChatOption[]) | null;
|
|
32
|
+
iconStyle: IconStyle;
|
|
33
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
handleDownloadClick(item: any): void;
|
|
36
|
+
download: (url: any) => Promise<void>;
|
|
37
|
+
getSubtitle(totalSeconds: number): string;
|
|
38
|
+
callStyle: () => {
|
|
39
|
+
height: string | undefined;
|
|
40
|
+
width: string | undefined;
|
|
41
|
+
background: string | undefined;
|
|
42
|
+
border: string | undefined;
|
|
43
|
+
borderRadius: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
setThemeStyle(): void;
|
|
46
|
+
setAvatarStyle(): void;
|
|
47
|
+
setDateStyle(): void;
|
|
48
|
+
getListItemStyle(): {
|
|
49
|
+
activeBackground?: string | undefined;
|
|
50
|
+
hoverBackground?: string | undefined;
|
|
51
|
+
separatorColor?: string | undefined;
|
|
52
|
+
titleFont?: string | undefined;
|
|
53
|
+
titleColor?: string | undefined;
|
|
54
|
+
padding?: string | undefined;
|
|
55
|
+
height?: string | undefined;
|
|
56
|
+
width?: string | undefined;
|
|
57
|
+
border?: string | undefined;
|
|
58
|
+
borderRadius?: string | undefined;
|
|
59
|
+
background?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
setCallRecordingsStyle(): void;
|
|
62
|
+
subtitleStyle: () => {
|
|
63
|
+
font: string | undefined;
|
|
64
|
+
color: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
backButtonStyle: () => {
|
|
67
|
+
height: string;
|
|
68
|
+
width: string;
|
|
69
|
+
border: string;
|
|
70
|
+
borderRadius: string;
|
|
71
|
+
background: string;
|
|
72
|
+
buttonIconTint: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
downLoadIconStyle: () => {
|
|
75
|
+
height: string;
|
|
76
|
+
width: string;
|
|
77
|
+
border: string;
|
|
78
|
+
borderRadius: string;
|
|
79
|
+
background: string;
|
|
80
|
+
buttonIconTint: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
handleBackClick: () => void;
|
|
83
|
+
titleStyle: () => {
|
|
84
|
+
font: string | undefined;
|
|
85
|
+
color: string | undefined;
|
|
86
|
+
background: string;
|
|
87
|
+
};
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogRecordingsComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallLogRecordingsComponent, "cometchat-call-log-recordings", never, { "title": "title"; "call": "call"; "onBackClick": "onBackClick"; "backIconURL": "backIconURL"; "datePattern": "datePattern"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "downloadIconURL": "downloadIconURL"; "onDownloadClick": "onDownloadClick"; "hideDownloadButton": "hideDownloadButton"; "onError": "onError"; "avatarStyle": "avatarStyle"; "dateStyle": "dateStyle"; "CallLogRecordingsStyle": "CallLogRecordingsStyle"; "listItemStyle": "listItemStyle"; "options": "options"; }, {}, never, never>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-call-log-recordings/cometchat-call-log-recordings.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
export declare class CometChatCallLogRecordings {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallLogRecordings, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallLogRecordings, [typeof i1.CometChatCallLogRecordingsComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatCallLogRecordingsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallLogRecordings>;
|
|
10
|
+
}
|