|
| 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 commit comments