Skip to content

Commit 9e8f40e

Browse files
committed
updated uikit version to 4.3.1
1 parent 1ee37dc commit 9e8f40e

File tree

438 files changed

+84034
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

438 files changed

+84034
-201
lines changed

AI/AIAssistBot/AIAssistBot.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2+
export declare class AIAssistBotExtension extends AIExtensionDataSource {
3+
constructor();
4+
addExtension(): void;
5+
getExtensionId(): string;
6+
enable(): Promise<void>;
7+
}
+11
Original file line numberDiff line numberDiff line change
@@ -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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2+
export declare class AIConversationStarterExtension extends AIExtensionDataSource {
3+
constructor();
4+
addExtension(): void;
5+
getExtensionId(): string;
6+
enable(): Promise<void>;
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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 AIConversationStarterDecorator extends DataSourceDecorator {
6+
constructor(dataSource: DataSource);
7+
getId(): string;
8+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
9+
}
Original file line numberDiff line numberDiff line change
@@ -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+
}
Original file line numberDiff line numberDiff line change
@@ -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+
}

AI/AISmartReplies/AISmartReplies.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2+
export declare class AISmartRepliesExtension extends AIExtensionDataSource {
3+
constructor();
4+
addExtension(): void;
5+
getExtensionId(): string;
6+
enable(): Promise<void>;
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
2+
import { DataSource } from "../../Shared/Framework/DataSource";
3+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
4+
import { AIOptionsStyle } from "@cometchat/uikit-shared";
5+
export declare class AISmartRepliesExtensionDecorator extends DataSourceDecorator {
6+
constructor(dataSource: DataSource);
7+
getId(): string;
8+
getAIOptions(theme: CometChatTheme, id?: any, aiOptionsStyles?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
9+
}

Calls/CallingExtension.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { ExtensionsDataSource } from '@cometchat/uikit-shared';
2+
export declare class CallingExtension extends ExtensionsDataSource {
3+
getExtensionId(): string;
4+
addExtension(): void;
5+
enable(): void;
6+
}

Calls/CallingExtensionDecorator.d.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { CometChatMessageTemplate } from "@cometchat/uikit-resources";
2+
import { DataSource } from "../Shared/Framework/DataSource";
3+
import { DataSourceDecorator } from "../Shared/Framework/DataSourceDecorator";
4+
export declare class CallingExtensionDecorator extends DataSourceDecorator {
5+
constructor(dataSource: DataSource);
6+
onLogout(): void;
7+
getAllMessageTypes(): string[];
8+
getId(): string;
9+
getAllMessageCategories(): string[];
10+
checkIfTemplateTypeExist(template: CometChatMessageTemplate[], type: string): boolean;
11+
checkIfTemplateCategoryExist(template: CometChatMessageTemplate[], category: string): boolean;
12+
getAllMessageTemplates(): CometChatMessageTemplate[];
13+
getDirectCallTemplate(): CometChatMessageTemplate;
14+
getDefaultCallTemplate(): CometChatMessageTemplate[];
15+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import "@cometchat/uikit-elements";
2+
import * as i0 from "@angular/core";
3+
import * as i1 from "./cometchat-call-buttons/cometchat-call-buttons.component";
4+
import * as i2 from "@angular/common";
5+
import * as i3 from "../CometChatOutgoingCall/cometchat-outgoing-call.module";
6+
import * as i4 from "../CometChatOngoingCall/cometchat-ongoing-call.module";
7+
export declare class CometChatCallButtons {
8+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallButtons, never>;
9+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallButtons, [typeof i1.CometChatCallButtonsComponent], [typeof i2.CommonModule, typeof i3.CometChatOutgoingCall, typeof i4.CometChatOngoingCall], [typeof i1.CometChatCallButtonsComponent]>;
10+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallButtons>;
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
import { ChangeDetectorRef, OnInit } from '@angular/core';
2+
import { CometChatThemeService } from '../../../CometChatTheme.service';
3+
import { Subscription } from 'rxjs';
4+
import { CallButtonsStyle, OutgoingCallStyle, OutgoingCallConfiguration, CallScreenConfiguration, CometChatUIKitCalls } from '@cometchat/uikit-shared';
5+
import { CallscreenStyle } from '@cometchat/uikit-elements';
6+
import '@cometchat/uikit-shared';
7+
import * as i0 from "@angular/core";
8+
/**
9+
*
10+
* CometChatCallButtonsComponent is a component which shows buttons for audio and video call for 1v1 and group call.
11+
*
12+
* @version 1.0.0
13+
* @author CometChatTeam
14+
* @copyright © 2022 CometChat Inc.
15+
*
16+
*/
17+
export declare class CometChatCallButtonsComponent implements OnInit {
18+
private ref;
19+
private themeService;
20+
user: CometChat.User;
21+
group: CometChat.Group;
22+
voiceCallIconURL: string;
23+
voiceCallIconText: string;
24+
voiceCallIconHoverText: string;
25+
videoCallIconURL: string;
26+
videoCallIconText: string;
27+
videoCallIconHoverText: string;
28+
onVoiceCallClick: ((user: CometChat.User, group: CometChat.Group) => void) | null;
29+
onVideoCallClick: ((user: CometChat.User, group: CometChat.Group) => void) | null;
30+
onError: (error: CometChat.CometChatException) => void;
31+
callButtonsStyle: CallButtonsStyle;
32+
outgoingCallConfiguration: OutgoingCallConfiguration;
33+
ongoingCallConfiguration: CallScreenConfiguration;
34+
call: CometChat.Call | null;
35+
ccOutgoingCall: Subscription;
36+
ccCallRejected: Subscription;
37+
ccCallEnded: Subscription;
38+
disableButtons: boolean;
39+
showOngoingCall: boolean;
40+
sessionId: string;
41+
callbuttonsListenerId: string;
42+
loggedInUser: CometChat.User | null;
43+
buttonStyle: any;
44+
voiceCallButtonStyle: any;
45+
videoCallButtonStyle: any;
46+
showOutgoingCallscreen: boolean;
47+
outgoingCallStyle: OutgoingCallStyle;
48+
ongoingCallStyle: CallscreenStyle;
49+
activeCall: CometChat.Call | null;
50+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
51+
ngOnInit(): void;
52+
ngOnDestroy(): void;
53+
getCallBuilder(): typeof CometChatUIKitCalls.CallSettings | undefined;
54+
closeCallScreen(): void;
55+
openOngoingCallScreen(call: CometChat.Call): void;
56+
initiateCall(type: string): void;
57+
initiateAudioCall(): void;
58+
initiateVideoCall(): void;
59+
sendCustomMessage(): void;
60+
cancelOutgoingCall: () => void;
61+
getVoiceCallButtonStyle(disableButtons: boolean): any;
62+
getVideoCallButtonStyle(disableButtons: boolean): any;
63+
attachListeners(): void;
64+
removeListener(): void;
65+
subscribeToEvents(): void;
66+
unsubscribeToEvents(): void;
67+
setThemeStyle(): void;
68+
setOngoingCallStyle: () => void;
69+
setcallButtonsStyle(): void;
70+
wrapperStyle: () => {
71+
height: string | undefined;
72+
width: string | undefined;
73+
background: string | undefined;
74+
border: string | undefined;
75+
borderRadius: string | undefined;
76+
};
77+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallButtonsComponent, never>;
78+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallButtonsComponent, "cometchat-call-buttons", never, { "user": "user"; "group": "group"; "voiceCallIconURL": "voiceCallIconURL"; "voiceCallIconText": "voiceCallIconText"; "voiceCallIconHoverText": "voiceCallIconHoverText"; "videoCallIconURL": "videoCallIconURL"; "videoCallIconText": "videoCallIconText"; "videoCallIconHoverText": "videoCallIconHoverText"; "onVoiceCallClick": "onVoiceCallClick"; "onVideoCallClick": "onVideoCallClick"; "onError": "onError"; "callButtonsStyle": "callButtonsStyle"; "outgoingCallConfiguration": "outgoingCallConfiguration"; "ongoingCallConfiguration": "ongoingCallConfiguration"; }, {}, never, never>;
79+
}
Original file line numberDiff line numberDiff line change
@@ -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+
}
Original file line numberDiff line numberDiff line change
@@ -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+
}
Original file line numberDiff line numberDiff line change
@@ -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 commit comments

Comments
 (0)