@cometchat/chat-uikit-angular 4.0.0-beta.1.2 → 4.0.0-beta.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.d.ts +139 -0
- package/Calls/CometChatCallDetails/cometchat-call-details.module.d.ts +10 -0
- package/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.d.ts +125 -0
- package/Calls/CometChatCallHistory/cometchat-call-history.module.d.ts +10 -0
- package/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details/cometchat-call-history-with-details.component.d.ts +59 -0
- package/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module.d.ts +12 -0
- package/Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component.d.ts +53 -0
- package/Shared/Views/CometChatTabs/cometchat-tabs.module.d.ts +12 -0
- package/esm2020/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.mjs +452 -0
- package/esm2020/Calls/CometChatCallDetails/cometchat-call-details.module.mjs +31 -0
- package/esm2020/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.mjs +397 -0
- package/esm2020/Calls/CometChatCallHistory/cometchat-call-history.module.mjs +28 -0
- package/esm2020/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details/cometchat-call-history-with-details.component.mjs +143 -0
- package/esm2020/Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module.mjs +39 -0
- package/esm2020/Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component.mjs +88 -0
- package/esm2020/Shared/Views/CometChatTabs/cometchat-tabs.module.mjs +39 -0
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/cometchat-chat-uikit-angular.mjs +1161 -3
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +1155 -3
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
package/Calls/CometChatCallDetails/cometchat-call-details/cometchat-call-details.component.d.ts
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import '@cometchat/uikit-elements';
|
|
4
|
+
import { AvatarStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
5
|
+
import { DetailsStyle, CallButtonsConfiguration } from "@cometchat/uikit-shared";
|
|
6
|
+
import { CometChatDetailsOption, CometChatDetailsTemplate } from '@cometchat/uikit-resources';
|
|
7
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
8
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* CometChatCallDetailsComponent renders details of user or group.
|
|
13
|
+
*
|
|
14
|
+
* @version 1.0.0
|
|
15
|
+
* @author CometChatTeam
|
|
16
|
+
* @copyright © 2022 CometChat Inc.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare class CometChatCallDetailsComponent implements OnInit, OnChanges {
|
|
20
|
+
private ref;
|
|
21
|
+
private themeService;
|
|
22
|
+
group: CometChat.Group;
|
|
23
|
+
user: CometChat.User;
|
|
24
|
+
title: string;
|
|
25
|
+
closeButtonIconURL: string;
|
|
26
|
+
hideProfile: boolean;
|
|
27
|
+
subtitleView: TemplateRef<any>;
|
|
28
|
+
customProfileView: TemplateRef<any>;
|
|
29
|
+
disableUsersPresence: boolean;
|
|
30
|
+
privateGroupIcon: string;
|
|
31
|
+
protectedGroupIcon: string;
|
|
32
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
33
|
+
data: CometChatDetailsTemplate[];
|
|
34
|
+
onClose: () => void;
|
|
35
|
+
statusIndicatorStyle: any;
|
|
36
|
+
avatarStyle: AvatarStyle;
|
|
37
|
+
callDetailsStyle: DetailsStyle;
|
|
38
|
+
callButtonsConfiguration: CallButtonsConfiguration;
|
|
39
|
+
listItemStyle: ListItemStyle;
|
|
40
|
+
messagesList: CometChat.Call[];
|
|
41
|
+
loggedInUser: CometChat.User | null;
|
|
42
|
+
ccGroupMemberAdded: Subscription;
|
|
43
|
+
ccGroupMemberJoined: Subscription;
|
|
44
|
+
ccGroupMemberKicked: Subscription;
|
|
45
|
+
ccGroupMemberBanned: Subscription;
|
|
46
|
+
ccOwnershipChanged: Subscription;
|
|
47
|
+
statusColor: any;
|
|
48
|
+
closeButtonStyle: any;
|
|
49
|
+
buttonStyle: any;
|
|
50
|
+
dividerStyle: any;
|
|
51
|
+
getTitleStyle(): {
|
|
52
|
+
textFont: string;
|
|
53
|
+
textColor: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
subtitleText: string;
|
|
56
|
+
userListenerId: string;
|
|
57
|
+
requestBuilder: any;
|
|
58
|
+
limit: number;
|
|
59
|
+
types: string[];
|
|
60
|
+
categories: string[];
|
|
61
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
62
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
+
removeListener(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
ngOnInit(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Compares two dates and sets Date on a a new day
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @param {number} firstDate
|
|
71
|
+
* @param {number} secondDate
|
|
72
|
+
*/
|
|
73
|
+
isDateDifferent(firstDate: number | undefined, secondDate: number | undefined): boolean;
|
|
74
|
+
subscribeToEvents(): void;
|
|
75
|
+
unsubscribeToEvents(): void;
|
|
76
|
+
checkStatusType: () => any;
|
|
77
|
+
updateSubtitle(): void;
|
|
78
|
+
getButtonStyle(option: CometChatDetailsOption): {
|
|
79
|
+
height: string;
|
|
80
|
+
width: string;
|
|
81
|
+
border: string;
|
|
82
|
+
borderRadius: string;
|
|
83
|
+
buttonTextFont: string | undefined;
|
|
84
|
+
buttonTextColor: string | undefined;
|
|
85
|
+
background: string;
|
|
86
|
+
};
|
|
87
|
+
checkGroupType(): string;
|
|
88
|
+
updateUserStatus(user: CometChat.User): void;
|
|
89
|
+
attachListeners(): void;
|
|
90
|
+
getSectionHeaderStyle(): {
|
|
91
|
+
textFont: string;
|
|
92
|
+
textColor: string;
|
|
93
|
+
};
|
|
94
|
+
getCallStatusStyleStyle(): {
|
|
95
|
+
textFont: string;
|
|
96
|
+
textColor: string;
|
|
97
|
+
};
|
|
98
|
+
getDateStyle(): {
|
|
99
|
+
textFont: string;
|
|
100
|
+
textColor: string;
|
|
101
|
+
};
|
|
102
|
+
onCloseClick: () => void;
|
|
103
|
+
onCloseDetails(): void;
|
|
104
|
+
subtitleStyle: () => {
|
|
105
|
+
textFont: string | undefined;
|
|
106
|
+
textColor: string | undefined;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @param {CometChat.Group} group
|
|
110
|
+
*/
|
|
111
|
+
getGroupIcon: (group: CometChat.Group) => string | null | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* @param {CometChat.Group} group
|
|
114
|
+
*/
|
|
115
|
+
getStatusIndicatorColor(group: CometChat.Group): any;
|
|
116
|
+
getTemplateOptions: (template: CometChatDetailsTemplate) => CometChatDetailsOption[];
|
|
117
|
+
getCustomOptionView(option: CometChatDetailsOption): any;
|
|
118
|
+
showDataSectionStyle(template: CometChatDetailsTemplate): {
|
|
119
|
+
textFont: string | undefined;
|
|
120
|
+
textColor: string | undefined;
|
|
121
|
+
};
|
|
122
|
+
setThemeStyle(): void;
|
|
123
|
+
setListItemStyle(): void;
|
|
124
|
+
setAvatarStyle(): void;
|
|
125
|
+
setStatusStyle(): void;
|
|
126
|
+
setDetailsStyle(): void;
|
|
127
|
+
wrapperStyle: () => {
|
|
128
|
+
width: string | undefined;
|
|
129
|
+
height: string | undefined;
|
|
130
|
+
border: string | undefined;
|
|
131
|
+
borderRadius: string | undefined;
|
|
132
|
+
background: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
marginStyle: () => {
|
|
135
|
+
padding: string | undefined;
|
|
136
|
+
};
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallDetailsComponent, never>;
|
|
138
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallDetailsComponent, "cometchat-call-details", never, { "group": "group"; "user": "user"; "title": "title"; "closeButtonIconURL": "closeButtonIconURL"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "disableUsersPresence": "disableUsersPresence"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "onError": "onError"; "data": "data"; "onClose": "onClose"; "statusIndicatorStyle": "statusIndicatorStyle"; "avatarStyle": "avatarStyle"; "callDetailsStyle": "callDetailsStyle"; "callButtonsConfiguration": "callButtonsConfiguration"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
139
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-call-details/cometchat-call-details.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../CometChatCallButtons/cometchat-call-buttons.module";
|
|
5
|
+
import * as i4 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
export declare class CometChatCallDetails {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallDetails, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallDetails, [typeof i1.CometChatCallDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallButtons, typeof i4.CometChatList], [typeof i1.CometChatCallDetailsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallDetails>;
|
|
10
|
+
}
|
package/Calls/CometChatCallHistory/cometchat-call-history/cometchat-call-history.component.d.ts
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { CometChat } from '@cometchat-pro/chat';
|
|
3
|
+
import { States, TitleAlignment, SelectionMode, ListStyle } from "@cometchat/uikit-shared";
|
|
4
|
+
import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { CometChatThemeService } from '../../../CometChatTheme.service';
|
|
7
|
+
import { CometChatOption, DatePatterns } from '@cometchat/uikit-resources';
|
|
8
|
+
import { CallHistoryStyle } from '@cometchat/uikit-shared';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* CometChatCallHistory is a wrapper component which renders callhistory of the loggedinuser using CometChatListItem && CometChatList.
|
|
13
|
+
*
|
|
14
|
+
* @version 1.0.0
|
|
15
|
+
* @author CometChatTeam
|
|
16
|
+
* @copyright © 2022 CometChat Inc.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare class CometChatCallHistoryComponent implements OnInit {
|
|
20
|
+
private ref;
|
|
21
|
+
private themeService;
|
|
22
|
+
messageRequestBuilder: CometChat.MessagesRequestBuilder;
|
|
23
|
+
subtitleView: TemplateRef<any>;
|
|
24
|
+
listItemView: TemplateRef<any>;
|
|
25
|
+
menu: TemplateRef<any>;
|
|
26
|
+
options: ((member: CometChat.Call) => CometChatOption[]) | null;
|
|
27
|
+
activeCall: CometChat.Call | null;
|
|
28
|
+
hideSeparator: boolean;
|
|
29
|
+
selectionMode: SelectionMode;
|
|
30
|
+
hideError: boolean;
|
|
31
|
+
title: string;
|
|
32
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
33
|
+
onSelect: (call: CometChat.Call) => void;
|
|
34
|
+
emptyStateView: TemplateRef<any>;
|
|
35
|
+
errorStateView: TemplateRef<any>;
|
|
36
|
+
loadingIconURL: string;
|
|
37
|
+
datePattern: DatePatterns;
|
|
38
|
+
loadingStateView: TemplateRef<any>;
|
|
39
|
+
emptyStateText: string;
|
|
40
|
+
errorStateText: string;
|
|
41
|
+
titleAlignment: TitleAlignment;
|
|
42
|
+
avatarStyle: AvatarStyle;
|
|
43
|
+
dateStyle: DateStyle;
|
|
44
|
+
callHistoryStyle: CallHistoryStyle;
|
|
45
|
+
listItemStyle: ListItemStyle;
|
|
46
|
+
onItemClick: (call: CometChat.Call) => void;
|
|
47
|
+
callsRequest: CometChat.MessagesRequest | null;
|
|
48
|
+
selectionmodeEnum: typeof SelectionMode;
|
|
49
|
+
state: States;
|
|
50
|
+
ccOutgoingCall: Subscription;
|
|
51
|
+
ccCallAccepted: Subscription;
|
|
52
|
+
ccCallRejected: Subscription;
|
|
53
|
+
ccCallEnded: Subscription;
|
|
54
|
+
listStyle: ListStyle;
|
|
55
|
+
limit: number;
|
|
56
|
+
callsList: CometChat.Call[];
|
|
57
|
+
callsListenerId: string;
|
|
58
|
+
loggedInUser: CometChat.User | null;
|
|
59
|
+
onScrolledToBottom: any;
|
|
60
|
+
iconStyle: IconStyle;
|
|
61
|
+
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
callMenuOption(event: any, call: CometChat.Call): void;
|
|
64
|
+
subscribeToEvents(): void;
|
|
65
|
+
unsubscribeToEvents(): void;
|
|
66
|
+
ngOnDestroy(): void;
|
|
67
|
+
/**
|
|
68
|
+
* @param {CometChat.Call} call
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* @param {CometChat.Call} call
|
|
72
|
+
*/
|
|
73
|
+
attachListeners(): void;
|
|
74
|
+
removeListener(): void;
|
|
75
|
+
fetchNextcallList: () => void;
|
|
76
|
+
getSubtitle(call: CometChat.Call): string;
|
|
77
|
+
/**
|
|
78
|
+
* @param {CometChat.Call} call
|
|
79
|
+
*/
|
|
80
|
+
onClick: (call: CometChat.Call) => void;
|
|
81
|
+
/**
|
|
82
|
+
* @param {CometChat.Call} call
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @param {CometChat.Call} call
|
|
86
|
+
*/
|
|
87
|
+
getActiveCall: (call: CometChat.Call) => boolean;
|
|
88
|
+
getCallTypeIcon(call: CometChat.Call): "assets/Audio-Call.svg" | "VideoCallIcon";
|
|
89
|
+
getCallerName(call: CometChat.Call): string;
|
|
90
|
+
getRequestBuilder(): CometChat.MessagesRequest;
|
|
91
|
+
/**
|
|
92
|
+
* addcall
|
|
93
|
+
* @param call
|
|
94
|
+
*/
|
|
95
|
+
addCall(call: CometChat.Call): void;
|
|
96
|
+
callStyle: () => {
|
|
97
|
+
height: string | undefined;
|
|
98
|
+
width: string | undefined;
|
|
99
|
+
background: string | undefined;
|
|
100
|
+
border: string | undefined;
|
|
101
|
+
borderRadius: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
setThemeStyle(): void;
|
|
104
|
+
setAvatarStyle(): void;
|
|
105
|
+
setDateStyle(): void;
|
|
106
|
+
getListItemStyle(call: CometChat.Call): {
|
|
107
|
+
activeBackground?: string | undefined;
|
|
108
|
+
hoverBackground?: string | undefined;
|
|
109
|
+
separatorColor?: string | undefined;
|
|
110
|
+
titleFont?: string | undefined;
|
|
111
|
+
titleColor?: string | undefined;
|
|
112
|
+
height?: string | undefined;
|
|
113
|
+
width?: string | undefined;
|
|
114
|
+
border?: string | undefined;
|
|
115
|
+
borderRadius?: string | undefined;
|
|
116
|
+
background?: string | undefined;
|
|
117
|
+
};
|
|
118
|
+
setCallsStyle(): void;
|
|
119
|
+
subtitleStyle: () => {
|
|
120
|
+
font: string | undefined;
|
|
121
|
+
color: string | undefined;
|
|
122
|
+
};
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryComponent, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallHistoryComponent, "cometchat-call-history", never, { "messageRequestBuilder": "messageRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "menu": "menu"; "options": "options"; "activeCall": "activeCall"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "hideError": "hideError"; "title": "title"; "onError": "onError"; "onSelect": "onSelect"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "datePattern": "datePattern"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "avatarStyle": "avatarStyle"; "dateStyle": "dateStyle"; "callHistoryStyle": "callHistoryStyle"; "listItemStyle": "listItemStyle"; "onItemClick": "onItemClick"; }, {}, never, never>;
|
|
125
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@cometchat/uikit-elements";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./cometchat-call-history/cometchat-call-history.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../../CometChatList/cometchat-list.module";
|
|
6
|
+
export declare class CometChatCallHistory {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistory, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallHistory, [typeof i1.CometChatCallHistoryComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatCallHistoryComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallHistory>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
+
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
+
import { CallDetailsConfiguration, CallHistoryConfiguration, WithDetailsStyle } from '@cometchat/uikit-shared';
|
|
4
|
+
import '@cometchat/uikit-elements';
|
|
5
|
+
import { CometChatThemeService } from "../../../CometChatTheme.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* CometChatCallHistoryWithDetailsComponent is a wrapper component for CometChatCallDetailsComponent and CometChatCallHistorycomponent to show history and details of calls in one screen
|
|
10
|
+
*
|
|
11
|
+
* @version 1.0.0
|
|
12
|
+
* @author CometChatTeam
|
|
13
|
+
* @copyright © 2022 CometChat Inc.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare class CometChatCallHistoryWithDetailsComponent implements OnInit, OnChanges {
|
|
17
|
+
private elementRef;
|
|
18
|
+
private ref;
|
|
19
|
+
private themeService;
|
|
20
|
+
user: CometChat.User | null;
|
|
21
|
+
group: CometChat.Group | null;
|
|
22
|
+
call: CometChat.Call | null;
|
|
23
|
+
isMobileView: boolean;
|
|
24
|
+
messageText: string;
|
|
25
|
+
callHistoryWithDetailsStyle: WithDetailsStyle;
|
|
26
|
+
callDetailsConfiguration: CallDetailsConfiguration;
|
|
27
|
+
callHistoryConfiguration: CallHistoryConfiguration;
|
|
28
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
29
|
+
/**
|
|
30
|
+
* Properties for internal use
|
|
31
|
+
*/
|
|
32
|
+
loggedInUser: CometChat.User | null;
|
|
33
|
+
activeCall: CometChat.Call | null;
|
|
34
|
+
labelStyle: any;
|
|
35
|
+
constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
+
closeDetailsPage: () => void;
|
|
38
|
+
onBack: () => void;
|
|
39
|
+
setWithDetailsStyle(): void;
|
|
40
|
+
onItemClick: ((call: CometChat.Call) => void);
|
|
41
|
+
setActiveChat(): void;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
emptyMessageStyle: () => {
|
|
44
|
+
background: string | undefined;
|
|
45
|
+
height: string | undefined;
|
|
46
|
+
width: string;
|
|
47
|
+
border: string | undefined;
|
|
48
|
+
borderRadius: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
chatsWrapperStyles: () => {
|
|
51
|
+
height: string | undefined;
|
|
52
|
+
width: string | undefined;
|
|
53
|
+
border: string | undefined;
|
|
54
|
+
borderRadius: string | undefined;
|
|
55
|
+
background: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryWithDetailsComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCallHistoryWithDetailsComponent, "cometchat-call-history-with-details", never, { "call": "call"; "isMobileView": "isMobileView"; "messageText": "messageText"; "callHistoryWithDetailsStyle": "callHistoryWithDetailsStyle"; "callDetailsConfiguration": "callDetailsConfiguration"; "callHistoryConfiguration": "callHistoryConfiguration"; "onError": "onError"; }, {}, never, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-call-history-with-details/cometchat-call-history-with-details.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../CometChatCallHistory/cometchat-call-history.module";
|
|
5
|
+
import * as i4 from "../CometChatCallDetails/cometchat-call-details.module";
|
|
6
|
+
import * as i5 from "@angular/platform-browser";
|
|
7
|
+
import * as i6 from "@angular/platform-browser/animations";
|
|
8
|
+
export declare class CometChatCallHistoryWithDetails {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallHistoryWithDetails, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCallHistoryWithDetails, [typeof i1.CometChatCallHistoryWithDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatCallHistory, typeof i4.CometChatCallDetails, typeof i5.BrowserModule, typeof i6.BrowserAnimationsModule], [typeof i1.CometChatCallHistoryWithDetailsComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCallHistoryWithDetails>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { CometChatTabItem, TabAlignment } from '@cometchat/uikit-resources';
|
|
3
|
+
import { BaseStyle } from '@cometchat/uikit-shared';
|
|
4
|
+
import '@cometchat/uikit-elements';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CometChatTabsComponent implements OnInit {
|
|
7
|
+
private ref;
|
|
8
|
+
tabAlignment: TabAlignment;
|
|
9
|
+
tabsStyle: BaseStyle;
|
|
10
|
+
tabs: CometChatTabItem[];
|
|
11
|
+
activeTab: CometChatTabItem;
|
|
12
|
+
childView: TemplateRef<any> | null;
|
|
13
|
+
constructor(ref: ChangeDetectorRef);
|
|
14
|
+
openViewOnCLick: (tabItem: CometChatTabItem) => void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
getButtonStyle(tab: CometChatTabItem): {
|
|
17
|
+
background: string | undefined;
|
|
18
|
+
buttonTextFont: string | undefined;
|
|
19
|
+
buttonTextColor: string | undefined;
|
|
20
|
+
buttonIconTint: string | undefined;
|
|
21
|
+
height: string | undefined;
|
|
22
|
+
width: string | undefined;
|
|
23
|
+
border: string | undefined;
|
|
24
|
+
borderRadius: string | undefined;
|
|
25
|
+
gap: string;
|
|
26
|
+
padding: string;
|
|
27
|
+
};
|
|
28
|
+
getTabsStyle(): {
|
|
29
|
+
top: string;
|
|
30
|
+
left: string;
|
|
31
|
+
bottom?: undefined;
|
|
32
|
+
right?: undefined;
|
|
33
|
+
background: string | undefined;
|
|
34
|
+
} | {
|
|
35
|
+
bottom: string;
|
|
36
|
+
left: string;
|
|
37
|
+
top?: undefined;
|
|
38
|
+
right?: undefined;
|
|
39
|
+
background: string | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
top: string;
|
|
42
|
+
right: string;
|
|
43
|
+
left?: undefined;
|
|
44
|
+
bottom?: undefined;
|
|
45
|
+
background: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
getTabsPlacement(): {
|
|
48
|
+
display: string;
|
|
49
|
+
flexDirection: string;
|
|
50
|
+
};
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatTabsComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatTabsComponent, "cometchat-tabs", never, { "tabAlignment": "tabAlignment"; "tabsStyle": "tabsStyle"; "tabs": "tabs"; }, {}, never, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-tabs/cometchat-tabs.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../../CometChatConversationsWithMessages/cometchat-conversations-with-messages.module";
|
|
5
|
+
import * as i4 from "../../../CometChatUsersWithMessages/cometchat-users-with-messages.module";
|
|
6
|
+
import * as i5 from "../../../CometChatGroupsWithMessages/cometchat-groups-with-messages.module";
|
|
7
|
+
import * as i6 from "../../../Calls/CometChatCallHistoryWithDetails/cometchat-call-history-with-details.module";
|
|
8
|
+
export declare class CometChatTabs {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatTabs, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatTabs, [typeof i1.CometChatTabsComponent], [typeof i2.CommonModule, typeof i3.CometChatConversationsWithMessages, typeof i4.CometChatUsersWithMessages, typeof i5.CometChatGroupsWithMessages, typeof i6.CometChatCallHistoryWithDetails], [typeof i1.CometChatTabsComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatTabs>;
|
|
12
|
+
}
|