@cometchat/chat-uikit-angular 4.0.0-beta.1.1 → 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/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts +5 -2
- 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/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts +0 -1
- package/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.d.ts +4 -0
- package/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts +6 -4
- package/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.d.ts +12 -2
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts +1 -1
- package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +18 -10
- package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +1 -1
- package/CometChatGroups/cometchat-groups/cometchat-groups.component.d.ts +1 -1
- package/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.d.ts +1 -1
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +5 -8
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +1 -1
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +4 -1
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +1 -1
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +1 -1
- package/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.d.ts +1 -1
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +1 -1
- package/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.d.ts +1 -1
- package/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +1 -1
- package/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -1
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +5 -1
- package/Shared/Utils/ComeChatException.d.ts +2 -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/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +13 -6
- 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/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.mjs +1 -24
- package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.mjs +25 -7
- package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.mjs +6 -16
- package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +9 -3
- package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +77 -9
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +17 -13
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +3 -1
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +111 -55
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +8 -3
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +10 -25
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +3 -1
- package/esm2020/CometChatList/cometchat-list.component.mjs +2 -2
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +42 -15
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +7 -4
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +68 -55
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +5 -4
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +6 -5
- package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.mjs +1 -1
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +9 -23
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +3 -1
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.mjs +1 -1
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.mjs +1 -1
- package/esm2020/Extensions/SmartReplies/SmartRepliesExtensionDecorator.mjs +1 -1
- package/esm2020/Extensions/Stickers/StickersExtensionDecorator.mjs +3 -2
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +41 -25
- package/esm2020/Shared/Utils/ComeChatException.mjs +10 -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 +4 -2
- package/fesm2015/cometchat-chat-uikit-angular.mjs +1609 -285
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +1600 -285
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/public-api.d.ts +3 -1
package/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { CometChat } from '@cometchat-pro/chat';
|
|
3
3
|
import { CometChatThemeService } from '../../../CometChatTheme.service';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
|
-
import { CallButtonsStyle, CallscreenStyle, OutgoingCallStyle } from '@cometchat/uikit-shared';
|
|
5
|
+
import { CallButtonsStyle, CallscreenStyle, OutgoingCallStyle, OutgoingCallConfiguration, CallScreenConfiguration } from '@cometchat/uikit-shared';
|
|
6
|
+
import '@cometchat/uikit-shared';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
*
|
|
@@ -28,6 +29,8 @@ export declare class CometChatCallButtonsComponent implements OnInit {
|
|
|
28
29
|
onVideoCallClick: ((user: CometChat.User, group: CometChat.Group) => void) | null;
|
|
29
30
|
onError: (error: CometChat.CometChatException) => void;
|
|
30
31
|
callButtonsStyle: CallButtonsStyle;
|
|
32
|
+
outgoingCallConfiguration: OutgoingCallConfiguration;
|
|
33
|
+
ongoingCallConfiguration: CallScreenConfiguration;
|
|
31
34
|
call: CometChat.Call | null;
|
|
32
35
|
ccOutgoingCall: Subscription;
|
|
33
36
|
ccCallRejected: Subscription;
|
|
@@ -71,5 +74,5 @@ export declare class CometChatCallButtonsComponent implements OnInit {
|
|
|
71
74
|
borderRadius: string | undefined;
|
|
72
75
|
};
|
|
73
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCallButtonsComponent, never>;
|
|
74
|
-
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"; }, {}, never, never>;
|
|
77
|
+
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>;
|
|
75
78
|
}
|
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
|
+
}
|
package/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ export declare class CometChatIncomingCallComponent implements OnInit, OnChanges
|
|
|
54
54
|
ngOnDestroy(): void;
|
|
55
55
|
setOngoingCallStyle: () => void;
|
|
56
56
|
getCallTypeIcon(): "assets/Audio-Call.svg" | "assets/Video-call.svg";
|
|
57
|
-
startDefaultCall: () => void;
|
|
58
57
|
acceptIncomingCall(): void;
|
|
59
58
|
checkForActiveCallAndEndCall: () => Promise<unknown>;
|
|
60
59
|
rejectIncomingCall(reason?: string): void;
|
package/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { CometChat } from '@cometchat-pro/chat';
|
|
|
3
3
|
import "@cometchat/uikit-elements";
|
|
4
4
|
import '@cometchat/uikit-shared';
|
|
5
5
|
import { CallscreenStyle } from '@cometchat/uikit-shared';
|
|
6
|
+
import { CometChatThemeService } from '../../../CometChatTheme.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
*
|
|
@@ -14,6 +15,7 @@ import * as i0 from "@angular/core";
|
|
|
14
15
|
*
|
|
15
16
|
*/
|
|
16
17
|
export declare class CometChatOngoingCallComponent implements OnInit {
|
|
18
|
+
private themeService;
|
|
17
19
|
ongoingCallStyle: CallscreenStyle;
|
|
18
20
|
resizeIconHoverText: string;
|
|
19
21
|
sessionID: string;
|
|
@@ -21,6 +23,8 @@ export declare class CometChatOngoingCallComponent implements OnInit {
|
|
|
21
23
|
maximizeIconURL: string;
|
|
22
24
|
callSettingsBuilder: CometChat.CallSettingsBuilder;
|
|
23
25
|
ngOnInit(): void;
|
|
26
|
+
constructor(themeService: CometChatThemeService);
|
|
27
|
+
setongoingCallStyle(): void;
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatOngoingCallComponent, never>;
|
|
25
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatOngoingCallComponent, "cometchat-ongoing-call", never, { "ongoingCallStyle": "ongoingCallStyle"; "resizeIconHoverText": "resizeIconHoverText"; "sessionID": "sessionID"; "minimizeIconURL": "minimizeIconURL"; "maximizeIconURL": "maximizeIconURL"; "callSettingsBuilder": "callSettingsBuilder"; }, {}, never, never>;
|
|
26
30
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
2
|
import { CometChat } from "@cometchat-pro/chat";
|
|
3
|
-
import { AddMembersStyle, TitleAlignment, SelectionMode, UsersStyle } from '@cometchat/uikit-shared';
|
|
3
|
+
import { AddMembersStyle, TitleAlignment, SelectionMode, UsersStyle, BaseStyle } from '@cometchat/uikit-shared';
|
|
4
4
|
import '@cometchat/uikit-elements';
|
|
5
5
|
import { CometChatOption } from '@cometchat/uikit-resources';
|
|
6
|
-
import { ListItemStyle } from '@cometchat/uikit-elements';
|
|
6
|
+
import { AvatarStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
7
7
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
@@ -35,7 +35,7 @@ export declare class CometChatAddMembersComponent implements OnInit {
|
|
|
35
35
|
searchIconURL: string;
|
|
36
36
|
hideSearch: boolean;
|
|
37
37
|
title: string;
|
|
38
|
-
onError: ((error:
|
|
38
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
39
39
|
onBack: () => void;
|
|
40
40
|
onClose: () => void;
|
|
41
41
|
onSelect: (user: CometChat.User) => void;
|
|
@@ -55,6 +55,8 @@ export declare class CometChatAddMembersComponent implements OnInit {
|
|
|
55
55
|
titleAlignmentEnum: typeof TitleAlignment;
|
|
56
56
|
selectionmodeEnum: typeof SelectionMode;
|
|
57
57
|
addMembersStyle: AddMembersStyle;
|
|
58
|
+
StatusIndicatorStyle: BaseStyle;
|
|
59
|
+
avatarStyle: AvatarStyle;
|
|
58
60
|
loggedInUser: CometChat.User | null;
|
|
59
61
|
actionMessagesList: CometChat.Action[];
|
|
60
62
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
@@ -105,5 +107,5 @@ export declare class CometChatAddMembersComponent implements OnInit {
|
|
|
105
107
|
padding: string | undefined;
|
|
106
108
|
};
|
|
107
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatAddMembersComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatAddMembersComponent, "cometchat-add-members", never, { "usersRequestBuilder": "usersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onBack": "onBack"; "onClose": "onClose"; "onSelect": "onSelect"; "buttonText": "buttonText"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "listItemStyle": "listItemStyle"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "onAddMembersButtonClick": "onAddMembersButtonClick"; "titleAlignment": "titleAlignment"; "addMembersStyle": "addMembersStyle"; }, {}, never, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatAddMembersComponent, "cometchat-add-members", never, { "usersRequestBuilder": "usersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onBack": "onBack"; "onClose": "onClose"; "onSelect": "onSelect"; "buttonText": "buttonText"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "listItemStyle": "listItemStyle"; "showSectionHeader": "showSectionHeader"; "sectionHeaderField": "sectionHeaderField"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "onAddMembersButtonClick": "onAddMembersButtonClick"; "titleAlignment": "titleAlignment"; "addMembersStyle": "addMembersStyle"; "StatusIndicatorStyle": "StatusIndicatorStyle"; "avatarStyle": "avatarStyle"; }, {}, never, never>;
|
|
109
111
|
}
|
package/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare class CometChatBannedMembersComponent implements OnInit {
|
|
|
35
35
|
searchIconURL: string;
|
|
36
36
|
hideSearch: boolean;
|
|
37
37
|
title: string;
|
|
38
|
-
onError: ((error:
|
|
38
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
39
39
|
onSelect: (member: CometChat.GroupMember) => void;
|
|
40
40
|
onBack: () => void;
|
|
41
41
|
onClose: () => void;
|
|
@@ -48,6 +48,7 @@ export declare class CometChatBannedMembersComponent implements OnInit {
|
|
|
48
48
|
errorStateText: string;
|
|
49
49
|
titleAlignment: TitleAlignment;
|
|
50
50
|
unbanIconURL: string;
|
|
51
|
+
statusIndicatorStyle: any;
|
|
51
52
|
menuListStyle: {
|
|
52
53
|
width: string;
|
|
53
54
|
height: string;
|
|
@@ -90,11 +91,19 @@ export declare class CometChatBannedMembersComponent implements OnInit {
|
|
|
90
91
|
ngOnInit(): void;
|
|
91
92
|
backClicked(): void;
|
|
92
93
|
closeClicked(): void;
|
|
94
|
+
/**
|
|
95
|
+
* @param {CometChat.GroupMember} member
|
|
96
|
+
*/
|
|
97
|
+
getStatusIndicatorColor: (member: CometChat.GroupMember) => string | null | undefined;
|
|
93
98
|
unBanMember: (member: CometChat.GroupMember) => void;
|
|
94
99
|
/**
|
|
95
100
|
* @param {CometChat.User} member
|
|
96
101
|
*/
|
|
97
102
|
updateMember: (member: CometChat.GroupMember) => void;
|
|
103
|
+
/**
|
|
104
|
+
* @param {CometChat.User} member
|
|
105
|
+
*/
|
|
106
|
+
updateMemberStatus: (member: CometChat.User) => void;
|
|
98
107
|
attachListeners(): void;
|
|
99
108
|
removeListener(): void;
|
|
100
109
|
fetchNextBannedMembers: () => void;
|
|
@@ -107,6 +116,7 @@ export declare class CometChatBannedMembersComponent implements OnInit {
|
|
|
107
116
|
onSearch: (key: string) => void;
|
|
108
117
|
setThemeStyle(): void;
|
|
109
118
|
setBanMembersStyle(): void;
|
|
119
|
+
setStatusStyle(): void;
|
|
110
120
|
setListItemStyle(): void;
|
|
111
121
|
setAvatarStyle(): void;
|
|
112
122
|
membersStyles: () => {
|
|
@@ -136,5 +146,5 @@ export declare class CometChatBannedMembersComponent implements OnInit {
|
|
|
136
146
|
borderRadius: string | undefined;
|
|
137
147
|
};
|
|
138
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatBannedMembersComponent, never>;
|
|
139
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatBannedMembersComponent, "cometchat-banned-members", never, { "bannedMembersRequestBuilder": "bannedMembersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onSelect": "onSelect"; "onBack": "onBack"; "onClose": "onClose"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "unbanIconURL": "unbanIconURL"; "avatarStyle": "avatarStyle"; "bannedMembersStyle": "bannedMembersStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatBannedMembersComponent, "cometchat-banned-members", never, { "bannedMembersRequestBuilder": "bannedMembersRequestBuilder"; "searchRequestBuilder": "searchRequestBuilder"; "subtitleView": "subtitleView"; "listItemView": "listItemView"; "disableUsersPresence": "disableUsersPresence"; "menu": "menu"; "options": "options"; "backButtonIconURL": "backButtonIconURL"; "closeButtonIconURL": "closeButtonIconURL"; "showBackButton": "showBackButton"; "hideSeparator": "hideSeparator"; "selectionMode": "selectionMode"; "searchPlaceholder": "searchPlaceholder"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "title": "title"; "onError": "onError"; "onSelect": "onSelect"; "onBack": "onBack"; "onClose": "onClose"; "group": "group"; "emptyStateView": "emptyStateView"; "errorStateView": "errorStateView"; "loadingIconURL": "loadingIconURL"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "unbanIconURL": "unbanIconURL"; "statusIndicatorStyle": "statusIndicatorStyle"; "avatarStyle": "avatarStyle"; "bannedMembersStyle": "bannedMembersStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
140
150
|
}
|
|
@@ -30,7 +30,7 @@ export declare class CometChatConversationsWithMessagesComponent implements OnIn
|
|
|
30
30
|
conversationsWithMessagesStyle: WithMessagesStyle;
|
|
31
31
|
messagesConfiguration: MessagesConfiguration;
|
|
32
32
|
conversationConfiguration: ConversationsConfiguration;
|
|
33
|
-
onError: ((error:
|
|
33
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
34
34
|
theme: CometChatTheme;
|
|
35
35
|
/**
|
|
36
36
|
* Properties for internal use
|
|
@@ -30,26 +30,31 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
30
30
|
disableUsersPresence: boolean;
|
|
31
31
|
privateGroupIcon: string;
|
|
32
32
|
protectedGroupIcon: string;
|
|
33
|
-
onError: ((error:
|
|
33
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
34
34
|
onClose: () => void;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
leaveGroupConfirmButtonText: string;
|
|
36
|
+
leaveGroupCancelButtonText: string;
|
|
37
|
+
leaveGroupDialogMessage: string;
|
|
38
|
+
leaveGroupDialogStyle: ConfirmDialogStyle;
|
|
39
|
+
deleteGroupConfirmButtonText: string;
|
|
40
|
+
deleteGroupDialogMessage: string;
|
|
41
|
+
deleteGroupCancelButtonText: string;
|
|
42
|
+
deleteGroupDialogStyle: ConfirmDialogStyle;
|
|
43
|
+
transferOwnershipConfirmButtonText: string;
|
|
44
|
+
transferOwnershipDialogMessage: string;
|
|
45
|
+
transferOwnershipCancelButtonText: string;
|
|
46
|
+
transferOwnershipDialogStyle: ConfirmDialogStyle;
|
|
38
47
|
addMembersConfiguration: AddMembersConfiguration;
|
|
39
48
|
bannedMembersConfiguration: BannedMembersConfiguration;
|
|
40
49
|
groupMembersConfiguration: GroupMembersConfiguration;
|
|
41
50
|
transferOwnershipConfiguration: TransferOwnershipConfiguration;
|
|
42
|
-
leaveDialogStyle: ConfirmDialogStyle;
|
|
43
51
|
backiconurl: string;
|
|
44
52
|
statusIndicatorStyle: any;
|
|
45
53
|
backdropStyle: BaseStyle;
|
|
46
54
|
avatarStyle: AvatarStyle;
|
|
47
55
|
detailsStyle: DetailsStyle;
|
|
48
56
|
listItemStyle: ListItemStyle;
|
|
49
|
-
|
|
50
|
-
leaveGroupMessage: string;
|
|
51
|
-
transferText: string;
|
|
52
|
-
transferConfirm: string;
|
|
57
|
+
showTransferDialog: boolean;
|
|
53
58
|
defaultTemplate: CometChatDetailsTemplate[];
|
|
54
59
|
loggedInUser: CometChat.User | null;
|
|
55
60
|
openViewMembersPage: boolean;
|
|
@@ -67,6 +72,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
67
72
|
closeButtonStyle: any;
|
|
68
73
|
buttonStyle: any;
|
|
69
74
|
dividerStyle: any;
|
|
75
|
+
deleteGroupModal: boolean;
|
|
70
76
|
getTitleStyle(): {
|
|
71
77
|
textFont: string;
|
|
72
78
|
textColor: string | undefined;
|
|
@@ -101,6 +107,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
101
107
|
textColor: string | undefined;
|
|
102
108
|
};
|
|
103
109
|
onOptionClick(option: CometChatDetailsOption): void;
|
|
110
|
+
onTransferClick(): void;
|
|
104
111
|
onLeaveClick(): void;
|
|
105
112
|
createActionMessage(actionOn: CometChat.GroupMember, action: string): CometChat.Action;
|
|
106
113
|
createUserLeftAction(actionOn: CometChat.User, action: string): CometChat.Action;
|
|
@@ -112,6 +119,7 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
112
119
|
addMembers: () => void;
|
|
113
120
|
bannedMembers: () => void;
|
|
114
121
|
leaveGroup(): void;
|
|
122
|
+
showDeleteDialog(): void;
|
|
115
123
|
deleteGroup(): void;
|
|
116
124
|
openTransferOwnership: () => void;
|
|
117
125
|
onCloseDetails(): void;
|
|
@@ -145,5 +153,5 @@ export declare class CometChatDetailsComponent implements OnInit, OnChanges {
|
|
|
145
153
|
padding: string | undefined;
|
|
146
154
|
};
|
|
147
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatDetailsComponent, never>;
|
|
148
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatDetailsComponent, "cometchat-details", never, { "group": "group"; "user": "user"; "title": "title"; "closeButtonIconURL": "closeButtonIconURL"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "data": "data"; "disableUsersPresence": "disableUsersPresence"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "onError": "onError"; "onClose": "onClose"; "
|
|
156
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatDetailsComponent, "cometchat-details", never, { "group": "group"; "user": "user"; "title": "title"; "closeButtonIconURL": "closeButtonIconURL"; "hideProfile": "hideProfile"; "subtitleView": "subtitleView"; "customProfileView": "customProfileView"; "data": "data"; "disableUsersPresence": "disableUsersPresence"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "onError": "onError"; "onClose": "onClose"; "leaveGroupConfirmButtonText": "leaveGroupConfirmButtonText"; "leaveGroupCancelButtonText": "leaveGroupCancelButtonText"; "leaveGroupDialogMessage": "leaveGroupDialogMessage"; "leaveGroupDialogStyle": "leaveGroupDialogStyle"; "deleteGroupConfirmButtonText": "deleteGroupConfirmButtonText"; "deleteGroupDialogMessage": "deleteGroupDialogMessage"; "deleteGroupCancelButtonText": "deleteGroupCancelButtonText"; "deleteGroupDialogStyle": "deleteGroupDialogStyle"; "transferOwnershipConfirmButtonText": "transferOwnershipConfirmButtonText"; "transferOwnershipDialogMessage": "transferOwnershipDialogMessage"; "transferOwnershipCancelButtonText": "transferOwnershipCancelButtonText"; "transferOwnershipDialogStyle": "transferOwnershipDialogStyle"; "addMembersConfiguration": "addMembersConfiguration"; "bannedMembersConfiguration": "bannedMembersConfiguration"; "groupMembersConfiguration": "groupMembersConfiguration"; "transferOwnershipConfiguration": "transferOwnershipConfiguration"; "statusIndicatorStyle": "statusIndicatorStyle"; "backdropStyle": "backdropStyle"; "avatarStyle": "avatarStyle"; "detailsStyle": "detailsStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
|
|
149
157
|
}
|
package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare class CometChatGroupMembersComponent implements OnInit {
|
|
|
34
34
|
searchIconURL: string;
|
|
35
35
|
hideSearch: boolean;
|
|
36
36
|
title: string;
|
|
37
|
-
onError: ((error:
|
|
37
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
38
38
|
backdropStyle: BaseStyle;
|
|
39
39
|
onBack: () => void;
|
|
40
40
|
onClose: () => void;
|
|
@@ -32,7 +32,7 @@ export declare class CometChatGroupsComponent implements OnInit, OnChanges {
|
|
|
32
32
|
searchIconURL: string;
|
|
33
33
|
hideSearch: boolean;
|
|
34
34
|
title: string;
|
|
35
|
-
onError: (error:
|
|
35
|
+
onError: (error: CometChat.CometChatException) => void;
|
|
36
36
|
onSelect: (group: CometChat.Group) => void;
|
|
37
37
|
emptyStateView: TemplateRef<any>;
|
|
38
38
|
errorStateView: TemplateRef<any>;
|
|
@@ -33,7 +33,7 @@ export declare class CometChatGroupsWithMessagesComponent implements OnInit, OnC
|
|
|
33
33
|
createGroupConfiguration: CreateGroupConfiguration;
|
|
34
34
|
joinGroupConfiguration: JoinGroupConfiguration;
|
|
35
35
|
groupsConfiguration: GroupsConfiguration;
|
|
36
|
-
onError: ((error:
|
|
36
|
+
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
37
37
|
theme: CometChatTheme;
|
|
38
38
|
backdropStyle: any;
|
|
39
39
|
createGroupStyle: CreateGroupStyle;
|