@cometchat/chat-uikit-angular 4.0.1-beta1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI/AIConversationStarter/AIConversationStarter.d.ts +7 -0
- package/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +6 -0
- package/AI/AIEnabler.d.ts +8 -0
- package/AI/AIEnablerDecorator.d.ts +7 -0
- package/AI/AISmartReplies/AISmartReplies.d.ts +7 -0
- package/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +6 -0
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +18 -7
- package/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts +0 -4
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +16 -2
- package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +2 -1
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +7 -6
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +6 -4
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +42 -8
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +8 -9
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +11 -3
- package/Shared/Framework/DataSource.d.ts +2 -0
- package/Shared/Framework/DataSourceDecorator.d.ts +3 -1
- package/Shared/Utils/MessageUtils.d.ts +3 -1
- package/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.d.ts +71 -0
- package/Shared/Views/CometChatCardView/cometchat-card-view.module.d.ts +8 -0
- package/assets/Reply@2x.svg +0 -0
- package/assets/ai-bot.svg +24 -0
- package/assets/ai-empty.svg +22 -0
- package/assets/ai-error.svg +21 -0
- package/assets/message-privately.svg +0 -0
- package/assets/mic.svg +0 -0
- package/assets/new-chat.svg +0 -0
- package/assets/pause-icon.svg +0 -0
- package/assets/play-icon.svg +0 -0
- package/assets/record-icon.svg +0 -0
- package/assets/start-conversation.svg +0 -0
- package/assets/stop.svg +0 -0
- package/esm2020/AI/AIConversationStarter/AIConversationStarter.mjs +18 -0
- package/esm2020/AI/AIConversationStarter/AIConversationStarterDecorator.mjs +10 -0
- package/esm2020/AI/AIEnabler.mjs +70 -0
- package/esm2020/AI/AIEnablerDecorator.mjs +10 -0
- package/esm2020/AI/AISmartReplies/AISmartReplies.mjs +18 -0
- package/esm2020/AI/AISmartReplies/AISmartRepliesDecorator.mjs +10 -0
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +71 -45
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +4 -10
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +147 -26
- package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +6 -2
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +15 -17
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +18 -20
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +374 -52
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +3 -3
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +24 -30
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +169 -33
- package/esm2020/Shared/Framework/DataSource.mjs +1 -1
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +7 -1
- package/esm2020/Shared/Utils/MessageUtils.mjs +36 -7
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.mjs +117 -0
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view.module.mjs +23 -0
- package/esm2020/public-api.mjs +8 -1
- package/fesm2015/cometchat-chat-uikit-angular.mjs +1093 -212
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +1081 -205
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +6 -5
- package/public-api.d.ts +6 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
2
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
3
|
+
export declare class AIConversationStarterDecorator extends DataSourceDecorator {
|
|
4
|
+
constructor(dataSource: DataSource);
|
|
5
|
+
getId(): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AIExtensionDataSource } from "@cometchat/uikit-shared";
|
|
2
|
+
export declare class AIEnabler extends AIExtensionDataSource {
|
|
3
|
+
defaultAIFeatures: AIExtensionDataSource[] | undefined;
|
|
4
|
+
constructor(defaultFeatures?: AIExtensionDataSource[]);
|
|
5
|
+
addExtension(): void;
|
|
6
|
+
getExtensionId(): string;
|
|
7
|
+
enable(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataSource } from "../Shared/Framework/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../Shared/Framework/DataSourceDecorator";
|
|
3
|
+
export declare class AIEnablerDecorator extends DataSourceDecorator {
|
|
4
|
+
newDataSource: DataSource;
|
|
5
|
+
constructor(dataSource: DataSource, features?: any);
|
|
6
|
+
getId(): string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
3
|
+
export declare class AISmartRepliesExtensionDecorator extends DataSourceDecorator {
|
|
4
|
+
constructor(dataSource: DataSource);
|
|
5
|
+
getId(): string;
|
|
6
|
+
}
|
package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Subscription } from "rxjs";
|
|
1
|
+
import '@cometchat/uikit-elements';
|
|
2
|
+
import { AvatarStyle, BackdropStyle, BadgeStyle, ConfirmDialogStyle, DateStyle, ListItemStyle, ReceiptStyle } from '@cometchat/uikit-elements';
|
|
4
3
|
import { BaseStyle, ConversationsStyle, ListStyle } from "@cometchat/uikit-shared";
|
|
5
4
|
import { CometChatOption, DatePatterns, SelectionMode, States, TitleAlignment } from '@cometchat/uikit-resources';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
5
|
+
import { ChangeDetectorRef, NgZone, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
6
|
+
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
8
7
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
8
|
+
import { Subscription } from "rxjs";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
@@ -88,6 +88,18 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
88
88
|
ccGroupLeft: Subscription;
|
|
89
89
|
ccUserBlocked: Subscription;
|
|
90
90
|
ccMessageRead: Subscription;
|
|
91
|
+
onTextMessageReceived: Subscription;
|
|
92
|
+
onMediaMessageReceived: Subscription;
|
|
93
|
+
onCustomMessageReceived: Subscription;
|
|
94
|
+
onFormMessageReceived: Subscription;
|
|
95
|
+
onCardMessageReceived: Subscription;
|
|
96
|
+
onCustomInteractiveMessageReceived: Subscription;
|
|
97
|
+
onMessagesRead: Subscription;
|
|
98
|
+
onMessageDeleted: Subscription;
|
|
99
|
+
onMessageEdited: Subscription;
|
|
100
|
+
onMessagesDelivered: Subscription;
|
|
101
|
+
onTypingStarted: Subscription;
|
|
102
|
+
onTypingEnded: Subscription;
|
|
91
103
|
ccOutgoingCall: Subscription;
|
|
92
104
|
ccCallRejected: Subscription;
|
|
93
105
|
ccCallEnded: Subscription;
|
|
@@ -130,7 +142,6 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
130
142
|
conversationOptions: CometChatOption[];
|
|
131
143
|
showConfirmDialog: boolean;
|
|
132
144
|
conversationToBeDeleted: CometChat.Conversation | null;
|
|
133
|
-
conversationListenerId: string;
|
|
134
145
|
userListenerId: string;
|
|
135
146
|
groupListenerId: string;
|
|
136
147
|
groupToUpdate: CometChat.Group | {};
|
|
@@ -236,7 +247,7 @@ export declare class CometChatConversationsComponent implements OnInit, OnChange
|
|
|
236
247
|
/**
|
|
237
248
|
* Updates the conversation list's last message , badgeCount , user presence based on activities propagated by listeners
|
|
238
249
|
*/
|
|
239
|
-
conversationUpdated: (key: any, item: import("@cometchat/chat-sdk-javascript").
|
|
250
|
+
conversationUpdated: (key: any, item: import("@cometchat/chat-sdk-javascript").Group | import("@cometchat/chat-sdk-javascript").User | null | undefined, message: CometChat.BaseMessage, options?: null) => void;
|
|
240
251
|
/**
|
|
241
252
|
* @param {CometChat.BaseMessage} message
|
|
242
253
|
*/
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
|
|
2
|
-
import { CometChatMessagesComponent } from "../../CometChatMessages/cometchat-messages/cometchat-messages.component";
|
|
3
|
-
import { CometChatConversationsComponent } from "../../CometChatConversations/cometchat-conversations/cometchat-conversations.component";
|
|
4
2
|
import { WithMessagesStyle, MessagesConfiguration, ConversationsConfiguration, ContactsConfiguration } from '@cometchat/uikit-shared';
|
|
5
3
|
import { CometChatTheme } from '@cometchat/uikit-resources';
|
|
6
4
|
import '@cometchat/uikit-elements';
|
|
@@ -20,8 +18,6 @@ export declare class CometChatConversationsWithMessagesComponent implements OnIn
|
|
|
20
18
|
private elementRef;
|
|
21
19
|
private ref;
|
|
22
20
|
private themeService;
|
|
23
|
-
conversationRef: CometChatConversationsComponent;
|
|
24
|
-
messageListRef: CometChatMessagesComponent;
|
|
25
21
|
user: CometChat.User | null;
|
|
26
22
|
group: CometChat.Group | null;
|
|
27
23
|
isMobileView: boolean;
|
|
@@ -6,6 +6,7 @@ import { MessageComposerStyle, StickersConfiguration, StickersStyle, CreatePollS
|
|
|
6
6
|
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
7
7
|
import '@cometchat/uikit-shared';
|
|
8
8
|
import '@cometchat/uikit-elements';
|
|
9
|
+
import { Buttons } from '../../Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
*
|
|
@@ -25,6 +26,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
25
26
|
actionSheetRef: ElementRef;
|
|
26
27
|
stickerButtonRef: ElementRef;
|
|
27
28
|
mediaRecordedRef: ElementRef;
|
|
29
|
+
aiButtonRef: ElementRef;
|
|
28
30
|
user: CometChat.User;
|
|
29
31
|
group: CometChat.Group;
|
|
30
32
|
disableSoundForMessages: boolean;
|
|
@@ -47,6 +49,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
47
49
|
onSendButtonClick: ((message: CometChat.BaseMessage) => void) | undefined;
|
|
48
50
|
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
49
51
|
backdropStyle: BackdropStyle;
|
|
52
|
+
actionSheetStyle: ActionSheetStyle;
|
|
50
53
|
hideVoiceRecording: boolean;
|
|
51
54
|
mediaRecorderStyle: MediaRecorderStyle;
|
|
52
55
|
voiceRecordingIconURL: string;
|
|
@@ -59,9 +62,12 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
59
62
|
showCreatePolls: boolean;
|
|
60
63
|
showStickerKeyboard: boolean;
|
|
61
64
|
showActionSheetItem: boolean;
|
|
65
|
+
showAiFeatures: boolean;
|
|
62
66
|
showPreview: boolean;
|
|
67
|
+
aiFeaturesCloseCallback: (() => void) | null;
|
|
63
68
|
editPreviewObject: CometChat.TextMessage;
|
|
64
69
|
ccMessageEdit: Subscription;
|
|
70
|
+
ccComposeMessage: Subscription;
|
|
65
71
|
acceptHandlers: any;
|
|
66
72
|
enableStickerKeyboard: boolean;
|
|
67
73
|
toggleMediaRecorded: boolean;
|
|
@@ -70,6 +76,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
70
76
|
configuration?: StickersConfiguration;
|
|
71
77
|
};
|
|
72
78
|
closeButtonIconURL: string;
|
|
79
|
+
buttons: Buttons[];
|
|
73
80
|
sendButtonStyle: any;
|
|
74
81
|
liveReactionStyle: any;
|
|
75
82
|
localize: typeof localize;
|
|
@@ -84,12 +91,12 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
84
91
|
storeTypingInterval: any;
|
|
85
92
|
emojiPopover: PopoverStyle;
|
|
86
93
|
stickerPopover: PopoverStyle;
|
|
94
|
+
aiPopover: PopoverStyle;
|
|
87
95
|
mediaRecordedPopover: PopoverStyle;
|
|
88
96
|
popoverStyle: PopoverStyle;
|
|
89
97
|
sendButtonIconURL: string;
|
|
90
98
|
emojiButtonIconURL: string;
|
|
91
99
|
stickerButtonIconURL: string;
|
|
92
|
-
actionsheetStyle: ActionSheetStyle;
|
|
93
100
|
actions: CometChatMessageComposerAction[];
|
|
94
101
|
messageText: string;
|
|
95
102
|
attachmentButtonStyle: any;
|
|
@@ -98,6 +105,8 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
98
105
|
messageToBeEdited: CometChat.TextMessage;
|
|
99
106
|
showSendButton: boolean;
|
|
100
107
|
showEmojiKeyboard: boolean;
|
|
108
|
+
isAiEnabled: boolean;
|
|
109
|
+
smartReplies: string[];
|
|
101
110
|
loggedInUser: CometChat.User | null;
|
|
102
111
|
sendMessageOnEnter: (event: any) => void;
|
|
103
112
|
messageInputChanged: (event: any) => void;
|
|
@@ -114,6 +123,7 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
114
123
|
subscribeToEvents(): void;
|
|
115
124
|
openEditPreview(): void;
|
|
116
125
|
unsubscribeToEvents(): void;
|
|
126
|
+
closeModals(): void;
|
|
117
127
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
118
128
|
ngOnChanges(changes: SimpleChanges): void;
|
|
119
129
|
customSendMethod(message: String): void;
|
|
@@ -162,12 +172,16 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
162
172
|
openvideoPicker: () => void;
|
|
163
173
|
openAudioPicker: () => void;
|
|
164
174
|
openActionSheet: (event: any) => void;
|
|
175
|
+
handleAiFeaturesClose: (callback: () => void) => void;
|
|
176
|
+
openAiFeatures: (event: any) => void;
|
|
165
177
|
openEmojiKeyboard: (event: any) => void;
|
|
166
178
|
openMediaRecorded: (event: any) => void;
|
|
167
179
|
openStickerKeyboard: (event: any) => void;
|
|
168
180
|
closePopovers(): void;
|
|
169
181
|
getComposerId(): ComposerId;
|
|
170
182
|
ngOnInit(): void;
|
|
183
|
+
getSmartReplies: () => Promise<unknown>;
|
|
184
|
+
enableAiFeatures(): void;
|
|
171
185
|
composerWrapperStyle(): {
|
|
172
186
|
background: string | undefined;
|
|
173
187
|
};
|
|
@@ -175,5 +189,5 @@ export declare class CometChatMessageComposerComponent implements OnInit, OnChan
|
|
|
175
189
|
setComposerStyle(): void;
|
|
176
190
|
closePreview(): void;
|
|
177
191
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageComposerComponent, never>;
|
|
178
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; }, {}, never, never>;
|
|
192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatMessageComposerComponent, "cometchat-message-composer", never, { "user": "user"; "group": "group"; "disableSoundForMessages": "disableSoundForMessages"; "customSoundForMessage": "customSoundForMessage"; "disableTypingEvents": "disableTypingEvents"; "text": "text"; "placeholderText": "placeholderText"; "headerView": "headerView"; "onTextChange": "onTextChange"; "attachmentIconURL": "attachmentIconURL"; "attachmentOptions": "attachmentOptions"; "secondaryButtonView": "secondaryButtonView"; "auxilaryButtonView": "auxilaryButtonView"; "auxiliaryButtonsAlignment": "auxiliaryButtonsAlignment"; "sendButtonView": "sendButtonView"; "parentMessageId": "parentMessageId"; "hideLiveReaction": "hideLiveReaction"; "LiveReactionIconURL": "LiveReactionIconURL"; "messageComposerStyle": "messageComposerStyle"; "onSendButtonClick": "onSendButtonClick"; "onError": "onError"; "backdropStyle": "backdropStyle"; "actionSheetStyle": "actionSheetStyle"; "hideVoiceRecording": "hideVoiceRecording"; "mediaRecorderStyle": "mediaRecorderStyle"; "voiceRecordingIconURL": "voiceRecordingIconURL"; "voiceRecordingCloseIconURL": "voiceRecordingCloseIconURL"; "voiceRecordingStartIconURL": "voiceRecordingStartIconURL"; "voiceRecordingStopIconURL": "voiceRecordingStopIconURL"; "voiceRecordingSubmitIconURL": "voiceRecordingSubmitIconURL"; }, {}, never, never>;
|
|
179
193
|
}
|
|
@@ -2,8 +2,9 @@ import '@cometchat/uikit-elements';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./cometchat-message-composer/cometchat-message-composer.component";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../Shared/Views/CometChatCardView/cometchat-card-view.module";
|
|
5
6
|
export declare class CometChatMessageComposer {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatMessageComposer, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatMessageComposer, [typeof i1.CometChatMessageComposerComponent], [typeof i2.CommonModule], [typeof i1.CometChatMessageComposerComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatMessageComposer, [typeof i1.CometChatMessageComposerComponent], [typeof i2.CommonModule, typeof i3.CometChatCardView], [typeof i1.CometChatMessageComposerComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatMessageComposer>;
|
|
9
10
|
}
|
package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ListItemStyle, AvatarStyle, BaseStyle } from '@cometchat/uikit-elements';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
1
|
+
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
2
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
5
3
|
import { CometChatTheme } from '@cometchat/uikit-resources';
|
|
6
|
-
import {
|
|
4
|
+
import { CometChat } from '@cometchat/chat-sdk-javascript';
|
|
7
5
|
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
6
|
+
import { MessageHeaderStyle } from '@cometchat/uikit-shared';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
@@ -35,7 +35,6 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
35
35
|
listItemView: TemplateRef<any>;
|
|
36
36
|
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
37
37
|
onBack: () => void;
|
|
38
|
-
msgListenerId: string;
|
|
39
38
|
groupsListenerId: string;
|
|
40
39
|
userListenerId: string;
|
|
41
40
|
subtitleText: string;
|
|
@@ -48,6 +47,8 @@ export declare class CometChatMessageHeaderComponent implements OnInit, OnChange
|
|
|
48
47
|
ccGroupMemberKicked: Subscription;
|
|
49
48
|
ccGroupMemberBanned: Subscription;
|
|
50
49
|
ccOwnershipChanged: Subscription;
|
|
50
|
+
onTypingStarted: Subscription;
|
|
51
|
+
onTypingEnded: Subscription;
|
|
51
52
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
52
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
54
|
ngOnInit(): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
2
|
import { CometChatMessageTemplate, Receipts, States } from '@cometchat/uikit-resources';
|
|
4
|
-
import { ListStyle, MessageInformationStyle } from '@cometchat/uikit-shared';
|
|
5
3
|
import { DateStyle, LabelStyle, ListItemStyle, ReceiptStyle } from '@cometchat/uikit-elements';
|
|
4
|
+
import { ListStyle, MessageInformationStyle } from '@cometchat/uikit-shared';
|
|
5
|
+
import { CometChatThemeService } from '../../CometChatTheme.service';
|
|
6
|
+
import { Subscription } from "rxjs";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
*
|
|
@@ -36,11 +37,12 @@ export declare class CometChatMessageInformationComponent implements OnInit, OnC
|
|
|
36
37
|
loadingIconURL: string;
|
|
37
38
|
loadingStateView: TemplateRef<any>;
|
|
38
39
|
errorStateView: TemplateRef<any>;
|
|
40
|
+
onMessagesDelivered: Subscription;
|
|
41
|
+
onMessagesRead: Subscription;
|
|
39
42
|
receipts: CometChat.MessageReceipt[];
|
|
40
43
|
receiptStyle: ReceiptStyle;
|
|
41
44
|
isUserType: boolean;
|
|
42
45
|
deliveredReceipt: Receipts;
|
|
43
|
-
msgListenerId: string;
|
|
44
46
|
readReceipt: Receipts;
|
|
45
47
|
listStyle: ListStyle;
|
|
46
48
|
messageText: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { AvatarStyle, BackdropStyle, BaseStyle, CallscreenStyle, ConfirmDialogStyle, DateStyle, DocumentBubbleStyle, FullScreenViewerStyle, MenuListStyle, ReceiptStyle } from '@cometchat/uikit-elements';
|
|
3
|
+
import { CardBubbleStyle, FormBubbleStyle, ImageModerationStyle, MessageInformationConfiguration, MessageListStyle, MessageTranslationStyle, PollsBubbleStyle, SmartRepliesConfiguration, SmartRepliesStyle } from "@cometchat/uikit-shared";
|
|
4
|
+
import { CometChatMessageOption, CometChatMessageTemplate, CometChatTheme, CometChatUIKitConstants, DatePatterns, DocumentIconAlignment, MessageBubbleAlignment, MessageListAlignment, States, TimestampAlignment, localize } from "@cometchat/uikit-resources";
|
|
5
|
+
import { LinkPreviewStyle } from "@cometchat/uikit-shared";
|
|
2
6
|
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
3
|
-
import { Subscription } from "rxjs";
|
|
4
|
-
import { DateStyle, AvatarStyle, MenuListStyle, ReceiptStyle, BaseStyle, DocumentBubbleStyle, ConfirmDialogStyle, FullScreenViewerStyle, CallscreenStyle, BackdropStyle } from '@cometchat/uikit-elements';
|
|
5
7
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
6
|
-
import {
|
|
7
|
-
import { MessageListStyle, MessageTranslationStyle, PollsBubbleStyle, ImageModerationStyle, SmartRepliesStyle, SmartRepliesConfiguration, MessageInformationConfiguration } from "@cometchat/uikit-shared";
|
|
8
|
-
import { LinkPreviewStyle } from "@cometchat/uikit-shared";
|
|
8
|
+
import { Subscription } from "rxjs";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
@@ -29,6 +29,8 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
29
29
|
audioBubble: TemplateRef<any>;
|
|
30
30
|
videoBubble: TemplateRef<any>;
|
|
31
31
|
imageBubble: TemplateRef<any>;
|
|
32
|
+
formBubble: TemplateRef<any>;
|
|
33
|
+
cardBubble: TemplateRef<any>;
|
|
32
34
|
stickerBubble: TemplateRef<any>;
|
|
33
35
|
documentBubble: TemplateRef<any>;
|
|
34
36
|
whiteboardBubble: TemplateRef<any>;
|
|
@@ -80,12 +82,20 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
80
82
|
imageModerationStyle: ImageModerationStyle;
|
|
81
83
|
timestampEnum: typeof TimestampAlignment;
|
|
82
84
|
chatChanged: boolean;
|
|
85
|
+
starterErrorStateText: string;
|
|
86
|
+
starterEmptyStateText: string;
|
|
87
|
+
starterLoadingStateText: string;
|
|
83
88
|
requestBuilder: any;
|
|
84
89
|
closeImageModeration: any;
|
|
85
90
|
timeStampColor: string;
|
|
86
91
|
timeStampFont: string;
|
|
87
92
|
smartReplyStyle: SmartRepliesStyle;
|
|
93
|
+
conversationStarterStyle: SmartRepliesStyle;
|
|
88
94
|
showSmartReply: boolean;
|
|
95
|
+
enableConversationStarter: boolean;
|
|
96
|
+
showConversationStarter: boolean;
|
|
97
|
+
conversationStarterState: States;
|
|
98
|
+
conversationStarterReplies: string[];
|
|
89
99
|
ccHidePanel: Subscription;
|
|
90
100
|
ccShowPanel: Subscription;
|
|
91
101
|
smartReplyMessage: CometChat.BaseMessage | null;
|
|
@@ -130,7 +140,6 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
130
140
|
typesMap: any;
|
|
131
141
|
messageTypesMap: any;
|
|
132
142
|
theme: CometChatTheme;
|
|
133
|
-
msgListenerId: string;
|
|
134
143
|
groupListenerId: string;
|
|
135
144
|
callListenerId: string;
|
|
136
145
|
loggedInUser: CometChat.User;
|
|
@@ -140,6 +149,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
140
149
|
custom: string;
|
|
141
150
|
action: string;
|
|
142
151
|
call: string;
|
|
152
|
+
interactive: string;
|
|
143
153
|
}>;
|
|
144
154
|
numberOfTopScroll: number;
|
|
145
155
|
keepRecentMessages: boolean;
|
|
@@ -173,6 +183,18 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
173
183
|
ccCallEnded: Subscription;
|
|
174
184
|
ccCallAccepted: Subscription;
|
|
175
185
|
ccGroupMemberScopeChanged: Subscription;
|
|
186
|
+
onTextMessageReceived: Subscription;
|
|
187
|
+
onCustomMessageReceived: Subscription;
|
|
188
|
+
onFormMessageReceived: Subscription;
|
|
189
|
+
onCardMessageReceived: Subscription;
|
|
190
|
+
onCustomInteractiveMessageReceived: Subscription;
|
|
191
|
+
onMediaMessageReceived: Subscription;
|
|
192
|
+
onMessagesDelivered: Subscription;
|
|
193
|
+
onMessagesRead: Subscription;
|
|
194
|
+
onMessageDeleted: Subscription;
|
|
195
|
+
onMessageEdited: Subscription;
|
|
196
|
+
onTransientMessageReceived: Subscription;
|
|
197
|
+
onInteractionGoalCompleted: Subscription;
|
|
176
198
|
threadedAlignment: MessageBubbleAlignment;
|
|
177
199
|
messageInfoAlignment: MessageBubbleAlignment;
|
|
178
200
|
openEmojiKeyboard: boolean;
|
|
@@ -263,7 +285,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
263
285
|
openMessageInfo(messageObject: CometChat.BaseMessage): void;
|
|
264
286
|
closeMessageInfoPage: () => void;
|
|
265
287
|
sendMessagePrivately(messageObject: CometChat.BaseMessage): void;
|
|
266
|
-
getMessageById(id: number): false | import("@cometchat/chat-sdk-javascript").BaseMessage;
|
|
288
|
+
getMessageById(id: number | string): false | import("@cometchat/chat-sdk-javascript").BaseMessage;
|
|
267
289
|
isTranslated(message: CometChat.TextMessage): any;
|
|
268
290
|
updateTranslatedMessage: (translation: any) => void;
|
|
269
291
|
translateMessage: (id: number) => void;
|
|
@@ -286,6 +308,8 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
286
308
|
getHeaderView(message: CometChat.BaseMessage): TemplateRef<any> | null;
|
|
287
309
|
getFooterView(message: CometChat.BaseMessage): TemplateRef<any> | null;
|
|
288
310
|
setBubbleAlignment: (message: CometChat.BaseMessage) => MessageBubbleAlignment;
|
|
311
|
+
getFormMessageBubbleStyle(): FormBubbleStyle;
|
|
312
|
+
getCardMessageBubbleStyle(): CardBubbleStyle;
|
|
289
313
|
getCallBubbleStyle(message: CometChat.BaseMessage): {
|
|
290
314
|
titleFont: string;
|
|
291
315
|
titleColor: string | undefined;
|
|
@@ -416,6 +440,7 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
416
440
|
* @param {CometChat.BaseMessage} message
|
|
417
441
|
*/
|
|
418
442
|
messageEdited: (message: CometChat.BaseMessage) => void;
|
|
443
|
+
updateInteractiveMessage: (receipt: CometChat.InteractionReceipt) => void;
|
|
419
444
|
/**
|
|
420
445
|
* Emits an Action Indicating that a message was deleted by the user/person you are chatting with
|
|
421
446
|
* @param {CometChat.BaseMessage} message
|
|
@@ -494,6 +519,8 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
494
519
|
subscribeToEvents(): void;
|
|
495
520
|
closeSmartReply: () => void;
|
|
496
521
|
sendReply: (event: any) => void;
|
|
522
|
+
sendConversationStarter: (event: any) => void;
|
|
523
|
+
fetchConversationStarter(): void;
|
|
497
524
|
getReplies(): string[] | null;
|
|
498
525
|
unsubscribeToEvents(): void;
|
|
499
526
|
/**
|
|
@@ -510,6 +537,10 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
510
537
|
textFont: string | undefined;
|
|
511
538
|
textColor: string | undefined;
|
|
512
539
|
};
|
|
540
|
+
conversationStarterStateStyle: () => {
|
|
541
|
+
textFont: string;
|
|
542
|
+
textColor: string | undefined;
|
|
543
|
+
};
|
|
513
544
|
emptyStyle: () => {
|
|
514
545
|
textFont: string | undefined;
|
|
515
546
|
textColor: string | undefined;
|
|
@@ -517,6 +548,9 @@ export declare class CometChatMessageListComponent implements OnInit, OnDestroy,
|
|
|
517
548
|
loadingStyle: () => {
|
|
518
549
|
iconTint: string | undefined;
|
|
519
550
|
};
|
|
551
|
+
conversationStarterLoader: () => {
|
|
552
|
+
iconTint: string | undefined;
|
|
553
|
+
};
|
|
520
554
|
wrapperStyle: () => {
|
|
521
555
|
height: string | undefined;
|
|
522
556
|
width: string | undefined;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { AvatarStyle, ListItemStyle, BaseStyle } from '@cometchat/uikit-elements';
|
|
5
|
-
import { Subscription } from "rxjs";
|
|
1
|
+
import { AvatarStyle, BaseStyle, ListItemStyle } from '@cometchat/uikit-elements';
|
|
2
|
+
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
3
|
+
import { MessageComposerConfiguration, MessageComposerStyle, MessageListConfiguration, ThreadedMessagesStyle } from "@cometchat/uikit-shared";
|
|
6
4
|
import { CometChatThemeService } from "../../CometChatTheme.service";
|
|
7
|
-
import {
|
|
5
|
+
import { Subscription } from "rxjs";
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
9
7
|
/**
|
|
10
8
|
*
|
|
@@ -18,8 +16,6 @@ import * as i0 from "@angular/core";
|
|
|
18
16
|
export declare class CometChatThreadedMessagesComponent implements OnInit, OnChanges {
|
|
19
17
|
private ref;
|
|
20
18
|
private themeService;
|
|
21
|
-
messageComposerRef: CometChatMessageComposerComponent;
|
|
22
|
-
messageListRef: CometChatMessageListComponent;
|
|
23
19
|
onClose: (() => void) | null;
|
|
24
20
|
onError: ((error: CometChat.CometChatException) => void) | null;
|
|
25
21
|
parentMessage: any;
|
|
@@ -46,7 +42,10 @@ export declare class CometChatThreadedMessagesComponent implements OnInit, OnCha
|
|
|
46
42
|
ccMessageEdited: Subscription;
|
|
47
43
|
ccMessageDeleted: Subscription;
|
|
48
44
|
ccMessageRead: Subscription;
|
|
49
|
-
|
|
45
|
+
onMessagesDelivered: Subscription;
|
|
46
|
+
onMessagesRead: Subscription;
|
|
47
|
+
onMessageDeleted: Subscription;
|
|
48
|
+
onMessageEdited: Subscription;
|
|
50
49
|
constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
|
|
51
50
|
ngOnInit(): void;
|
|
52
51
|
ngOnChanges(change: SimpleChanges): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CometChatLocalize } from "@cometchat/uikit-resources";
|
|
2
|
-
import { UIKitSettings } from '@cometchat/uikit-shared';
|
|
3
|
-
import { ExtensionsDataSource } from "../Framework/ExtensionDataSource";
|
|
1
|
+
import { CardMessage, CometChatLocalize, CustomInteractiveMessage, FormMessage } from "@cometchat/uikit-resources";
|
|
4
2
|
import { CometChatSoundManager } from '@cometchat/uikit-shared';
|
|
3
|
+
import { ExtensionsDataSource } from "../Framework/ExtensionDataSource";
|
|
4
|
+
import { UIKitSettings } from '@cometchat/uikit-shared';
|
|
5
5
|
export declare class CometChatUIKit {
|
|
6
6
|
static uiKitSettings: UIKitSettings;
|
|
7
7
|
static SoundManager: typeof CometChatSoundManager;
|
|
@@ -20,6 +20,14 @@ export declare class CometChatUIKit {
|
|
|
20
20
|
static updateUser(user: CometChat.User): Promise<Object | undefined>;
|
|
21
21
|
static logout(): Promise<Object | undefined>;
|
|
22
22
|
static checkAuthSettings(): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Sends a form message and emits events based on the message status.
|
|
25
|
+
* @param message - The form message to be sent.
|
|
26
|
+
* @param disableLocalEvents - A boolean indicating whether to disable local events or not. Default value is false.
|
|
27
|
+
*/
|
|
28
|
+
static sendFormMessage(message: FormMessage, disableLocalEvents?: boolean): void;
|
|
29
|
+
static sendCardMessage(message: CardMessage, disableLocalEvents?: boolean): void;
|
|
30
|
+
static sendCustomInteractiveMessage(message: CustomInteractiveMessage, disableLocalEvents?: boolean): void;
|
|
23
31
|
static sendCustomMessage(message: CometChat.CustomMessage): Promise<CometChat.BaseMessage>;
|
|
24
32
|
static sendTextMessage(message: CometChat.TextMessage): Promise<CometChat.BaseMessage>;
|
|
25
33
|
static sendMediaMessage(message: CometChat.MediaMessage): Promise<CometChat.BaseMessage>;
|
|
@@ -11,6 +11,8 @@ export declare abstract class DataSource {
|
|
|
11
11
|
abstract getVideoMessageTemplate(): CometChatMessageTemplate;
|
|
12
12
|
abstract getAudioMessageTemplate(): CometChatMessageTemplate;
|
|
13
13
|
abstract getFileMessageTemplate(): CometChatMessageTemplate;
|
|
14
|
+
abstract getFormMessageTemplate(): CometChatMessageTemplate;
|
|
15
|
+
abstract getCardMessageTemplate(): CometChatMessageTemplate;
|
|
14
16
|
abstract getGroupActionTemplate(): CometChatMessageTemplate;
|
|
15
17
|
abstract getAllMessageTemplates(theme?: CometChatTheme): Array<CometChatMessageTemplate>;
|
|
16
18
|
abstract getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CometChatMessageOption, CometChatMessageTemplate, CometChatTheme } from "@cometchat/uikit-resources";
|
|
2
|
-
import { DataSource } from "./DataSource";
|
|
3
2
|
import { ComposerId } from "../Utils/MessageUtils";
|
|
3
|
+
import { DataSource } from "./DataSource";
|
|
4
4
|
export declare abstract class DataSourceDecorator implements DataSource {
|
|
5
5
|
dataSource: DataSource;
|
|
6
6
|
constructor(dataSource: DataSource);
|
|
@@ -14,6 +14,8 @@ export declare abstract class DataSourceDecorator implements DataSource {
|
|
|
14
14
|
getVideoMessageTemplate(): CometChatMessageTemplate;
|
|
15
15
|
getAudioMessageTemplate(): CometChatMessageTemplate;
|
|
16
16
|
getFileMessageTemplate(): CometChatMessageTemplate;
|
|
17
|
+
getFormMessageTemplate(): CometChatMessageTemplate;
|
|
18
|
+
getCardMessageTemplate(): CometChatMessageTemplate;
|
|
17
19
|
getGroupActionTemplate(): CometChatMessageTemplate;
|
|
18
20
|
getAllMessageTemplates(): CometChatMessageTemplate[];
|
|
19
21
|
getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CometChatMessageComposerAction, CometChatMessageOption, CometChatMessageTemplate, CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
|
|
2
2
|
import { DataSource } from "../Framework/DataSource";
|
|
3
3
|
export declare class MessageUtils implements DataSource {
|
|
4
4
|
getEditOption(theme: CometChatTheme): CometChatMessageOption;
|
|
@@ -20,6 +20,8 @@ export declare class MessageUtils implements DataSource {
|
|
|
20
20
|
getImageMessageTemplate(): CometChatMessageTemplate;
|
|
21
21
|
getGroupActionTemplate(): CometChatMessageTemplate;
|
|
22
22
|
getFileMessageTemplate(): CometChatMessageTemplate;
|
|
23
|
+
getFormMessageTemplate(): CometChatMessageTemplate;
|
|
24
|
+
getCardMessageTemplate(): CometChatMessageTemplate;
|
|
23
25
|
getAllMessageTemplates(): Array<CometChatMessageTemplate>;
|
|
24
26
|
getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
|
|
25
27
|
getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): Array<CometChatMessageOption>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import '@cometchat/uikit-elements';
|
|
3
|
+
import { CometChatTheme, States, localize } from '@cometchat/uikit-resources';
|
|
4
|
+
import { CometChatThemeService } from '../../../../CometChatTheme.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CometChatCardViewComponent implements OnInit {
|
|
7
|
+
private themeService;
|
|
8
|
+
private ref;
|
|
9
|
+
buttons: Buttons[];
|
|
10
|
+
closeCallback: ((callback: () => void) => void) | null;
|
|
11
|
+
replies: string[];
|
|
12
|
+
currentSection: Buttons | undefined;
|
|
13
|
+
activeButtonText: string;
|
|
14
|
+
state: States;
|
|
15
|
+
states: typeof States;
|
|
16
|
+
errorStateText: string;
|
|
17
|
+
emptyStateText: string;
|
|
18
|
+
loadingStateText: string;
|
|
19
|
+
theme: CometChatTheme;
|
|
20
|
+
localize: typeof localize;
|
|
21
|
+
constructor(themeService: CometChatThemeService, ref: ChangeDetectorRef);
|
|
22
|
+
fetchButtonContent(button: Buttons): void;
|
|
23
|
+
handleGoBack: () => void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
stateLoader: () => {
|
|
26
|
+
iconTint: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
repliesStateStyle: () => {
|
|
29
|
+
textFont: string;
|
|
30
|
+
textColor: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
buttonStyles(): {
|
|
33
|
+
height: string;
|
|
34
|
+
width: string;
|
|
35
|
+
padding: string;
|
|
36
|
+
background: string | undefined;
|
|
37
|
+
border: string;
|
|
38
|
+
borderRadius: string;
|
|
39
|
+
buttonTextColor: string | undefined;
|
|
40
|
+
buttonTextFont: string;
|
|
41
|
+
margin: string;
|
|
42
|
+
};
|
|
43
|
+
repliesViewStyle(): {
|
|
44
|
+
width: string;
|
|
45
|
+
padding: string;
|
|
46
|
+
background: string | undefined;
|
|
47
|
+
border: string;
|
|
48
|
+
borderRadius: string;
|
|
49
|
+
buttonTextColor: string | undefined;
|
|
50
|
+
buttonTextFont: string;
|
|
51
|
+
margin: string;
|
|
52
|
+
};
|
|
53
|
+
backButtonStyle(): {
|
|
54
|
+
height: string;
|
|
55
|
+
width: string;
|
|
56
|
+
background: string;
|
|
57
|
+
border: string;
|
|
58
|
+
buttonIconTint: string | undefined;
|
|
59
|
+
position: string;
|
|
60
|
+
top: string;
|
|
61
|
+
left: string;
|
|
62
|
+
zIndex: number;
|
|
63
|
+
};
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCardViewComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCardViewComponent, "cometchat-card-view", never, { "buttons": "buttons"; "closeCallback": "closeCallback"; }, {}, never, never>;
|
|
66
|
+
}
|
|
67
|
+
export interface Buttons {
|
|
68
|
+
title: string;
|
|
69
|
+
id: string;
|
|
70
|
+
onClick: () => Promise<unknown>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./cometchat-card-view/cometchat-card-view.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class CometChatCardView {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCardView, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCardView, [typeof i1.CometChatCardViewComponent], [typeof i2.CommonModule], [typeof i1.CometChatCardViewComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCardView>;
|
|
8
|
+
}
|
package/assets/Reply@2x.svg
CHANGED
|
File without changes
|