@cometchat/chat-uikit-angular 4.0.0-beta.1

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.
Files changed (249) hide show
  1. package/Calls/CallingExtension.d.ts +5 -0
  2. package/Calls/CallingExtensionDecorator.d.ts +17 -0
  3. package/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.d.ts +75 -0
  4. package/Calls/CometChatCallButtons/cometchat-call-buttons.module.d.ts +11 -0
  5. package/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.d.ts +80 -0
  6. package/Calls/CometChatIncomingCall/cometchat-incoming-call.module.d.ts +11 -0
  7. package/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.d.ts +26 -0
  8. package/Calls/CometChatOngoingCall/cometchat-ongoing-call.module.d.ts +9 -0
  9. package/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.d.ts +58 -0
  10. package/Calls/CometChatOutgoingCall/cometchat-outgoing-call.module.d.ts +10 -0
  11. package/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.d.ts +109 -0
  12. package/CometChatAddMembers/cometchat-add-members.module.d.ts +12 -0
  13. package/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.d.ts +140 -0
  14. package/CometChatBannedMembers/cometchat-banned-members.module.d.ts +13 -0
  15. package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +335 -0
  16. package/CometChatConversations/cometchat-conversations.module.d.ts +10 -0
  17. package/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.d.ts +86 -0
  18. package/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.d.ts +12 -0
  19. package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +149 -0
  20. package/CometChatDetails/cometchat-details.module.d.ts +12 -0
  21. package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +145 -0
  22. package/CometChatGroupMembers/cometchat-group-members.module.d.ts +13 -0
  23. package/CometChatGroups/cometchat-groups/cometchat-groups.component.d.ts +136 -0
  24. package/CometChatGroups/cometchat-groups.module.d.ts +10 -0
  25. package/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.d.ts +100 -0
  26. package/CometChatGroupsWithMessages/cometchat-groups-with-messages.module.d.ts +13 -0
  27. package/CometChatList/cometchat-list.component.d.ts +87 -0
  28. package/CometChatList/cometchat-list.module.d.ts +10 -0
  29. package/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.d.ts +62 -0
  30. package/CometChatMessageBubble/cometchat-message-bubble.module.d.ts +8 -0
  31. package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +165 -0
  32. package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +9 -0
  33. package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +85 -0
  34. package/CometChatMessageHeader/cometchat-message-header.module.d.ts +9 -0
  35. package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +510 -0
  36. package/CometChatMessageList/cometchat-message-list.module.d.ts +11 -0
  37. package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +136 -0
  38. package/CometChatMessages/cometchat-messages.module.d.ts +15 -0
  39. package/CometChatTheme.service.d.ts +7 -0
  40. package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +73 -0
  41. package/CometChatThreadedMessages/cometchat-threaded-messages.module.d.ts +12 -0
  42. package/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.d.ts +88 -0
  43. package/CometChatTransferOwnership/cometchat-transfer-ownership.module.d.ts +10 -0
  44. package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +105 -0
  45. package/CometChatUsers/cometchat-users.module.d.ts +11 -0
  46. package/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.d.ts +71 -0
  47. package/CometChatUsersWithMessages/cometchat-users-with-messages.module.d.ts +12 -0
  48. package/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +9 -0
  49. package/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +17 -0
  50. package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +9 -0
  51. package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +17 -0
  52. package/Extensions/ImageModeration/ImageModerationExtension.d.ts +5 -0
  53. package/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +6 -0
  54. package/Extensions/LinkPreviewExtension/LinkPreviewExtension.d.ts +5 -0
  55. package/Extensions/LinkPreviewExtension/LinkPreviewExtensionDecorator.d.ts +6 -0
  56. package/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +9 -0
  57. package/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +12 -0
  58. package/Extensions/PollsExtension/PollsExtension.d.ts +5 -0
  59. package/Extensions/PollsExtension/PollsExtensionDecorator.d.ts +15 -0
  60. package/Extensions/Reactions/ReactionExtension.d.ts +5 -0
  61. package/Extensions/Reactions/ReactionExtensionDecorator.d.ts +10 -0
  62. package/Extensions/SmartReplies/SmartRepliesExtension.d.ts +9 -0
  63. package/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +16 -0
  64. package/Extensions/Stickers/StickersExtension.d.ts +9 -0
  65. package/Extensions/Stickers/StickersExtensionDecorator.d.ts +27 -0
  66. package/Extensions/TextModerator/TextModeratorExtension.d.ts +5 -0
  67. package/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +9 -0
  68. package/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +5 -0
  69. package/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +6 -0
  70. package/README.md +60 -0
  71. package/Shared/CometChatUIkit/CometChatUIKit.d.ts +18 -0
  72. package/Shared/Framework/ChatConfigurator.d.ts +8 -0
  73. package/Shared/Framework/DataSource.d.ts +29 -0
  74. package/Shared/Framework/DataSourceDecorator.d.ts +32 -0
  75. package/Shared/Framework/ExtensionDataSource.d.ts +3 -0
  76. package/Shared/Utils/MessageUtils.d.ts +43 -0
  77. package/assets/.gitkeep +0 -0
  78. package/assets/Audio-Call.svg +11 -0
  79. package/assets/Audio-Call2x.svg +11 -0
  80. package/assets/Copy.svg +17 -0
  81. package/assets/Grid-layout.svg +1 -0
  82. package/assets/Heart.svg +11 -0
  83. package/assets/Imagemoderation.svg +14 -0
  84. package/assets/Info.svg +13 -0
  85. package/assets/Locked.svg +10 -0
  86. package/assets/More@2x.svg +9 -0
  87. package/assets/Plus.svg +13 -0
  88. package/assets/Private.svg +10 -0
  89. package/assets/Reactionsicon.svg +9 -0
  90. package/assets/Send.svg +12 -0
  91. package/assets/Spinner.svg +15 -0
  92. package/assets/Stickers.svg +16 -0
  93. package/assets/Stipop.svg +9 -0
  94. package/assets/Video-call.svg +12 -0
  95. package/assets/Video-call2x.svg +12 -0
  96. package/assets/activity.svg +22 -0
  97. package/assets/addreaction.svg +9 -0
  98. package/assets/animals.svg +15 -0
  99. package/assets/attachment-file.svg +14 -0
  100. package/assets/audio-file.svg +12 -0
  101. package/assets/back.png +0 -0
  102. package/assets/backbutton.svg +12 -0
  103. package/assets/call.svg +1 -0
  104. package/assets/chats.svg +1 -0
  105. package/assets/checkmark.svg +11 -0
  106. package/assets/close.svg +12 -0
  107. package/assets/close2x.svg +12 -0
  108. package/assets/collaborativedocument.svg +13 -0
  109. package/assets/collaborativewhiteboard.svg +12 -0
  110. package/assets/create-button.svg +12 -0
  111. package/assets/declaration.d.ts +3 -0
  112. package/assets/delete.svg +7 -0
  113. package/assets/deleteicon.svg +15 -0
  114. package/assets/down-arrow.svg +1 -0
  115. package/assets/download.svg +13 -0
  116. package/assets/editicon.svg +14 -0
  117. package/assets/emoji.svg +2693 -0
  118. package/assets/file-upload.svg +2693 -0
  119. package/assets/flags.svg +12 -0
  120. package/assets/food.svg +26 -0
  121. package/assets/group.svg +40 -0
  122. package/assets/heart-reaction.png +0 -0
  123. package/assets/heart.png +0 -0
  124. package/assets/image.svg +2693 -0
  125. package/assets/incomingcall.wav +0 -0
  126. package/assets/increase-size.svg +6 -0
  127. package/assets/location.svg +2693 -0
  128. package/assets/message-delivered.png +0 -0
  129. package/assets/message-delivered.svg +4 -0
  130. package/assets/message-read.png +0 -0
  131. package/assets/message-read.svg +4 -0
  132. package/assets/message-sent.png +0 -0
  133. package/assets/message-sent.svg +3 -0
  134. package/assets/moreicon.svg +9 -0
  135. package/assets/objects.svg +13 -0
  136. package/assets/open-thread.svg +11 -0
  137. package/assets/password-protected-group.svg +3 -0
  138. package/assets/photolibrary.svg +11 -0
  139. package/assets/placeholder.png +0 -0
  140. package/assets/plus-rotated.svg +13 -0
  141. package/assets/polls.svg +14 -0
  142. package/assets/privacy.svg +4 -0
  143. package/assets/private-group.svg +9 -0
  144. package/assets/public.svg +3 -0
  145. package/assets/reduce-size.svg +6 -0
  146. package/assets/right-arrow.svg +6 -0
  147. package/assets/search.png +0 -0
  148. package/assets/search.svg +4 -0
  149. package/assets/side-arrow.svg +1 -0
  150. package/assets/smileys.svg +16 -0
  151. package/assets/start-chat.svg +1 -0
  152. package/assets/symbols.svg +16 -0
  153. package/assets/thread-arrow.svg +1 -0
  154. package/assets/thread-icon.svg +38 -0
  155. package/assets/threadicon.svg +14 -0
  156. package/assets/translation.svg +16 -0
  157. package/assets/travel.svg +18 -0
  158. package/assets/unsafe-content.svg +23 -0
  159. package/assets/user.svg +31 -0
  160. package/assets/video-upload.svg +2693 -0
  161. package/assets/video.svg +12 -0
  162. package/assets/wait.png +0 -0
  163. package/assets/wait.svg +4 -0
  164. package/assets/warning-small.png +0 -0
  165. package/assets/warning-small.svg +5 -0
  166. package/cometchat-chat-uikit-angular.d.ts +5 -0
  167. package/esm2020/Calls/CallingExtension.mjs +11 -0
  168. package/esm2020/Calls/CallingExtensionDecorator.mjs +114 -0
  169. package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +358 -0
  170. package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons.module.mjs +32 -0
  171. package/esm2020/Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component.mjs +423 -0
  172. package/esm2020/Calls/CometChatIncomingCall/cometchat-incoming-call.module.mjs +32 -0
  173. package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component.mjs +54 -0
  174. package/esm2020/Calls/CometChatOngoingCall/cometchat-ongoing-call.module.mjs +27 -0
  175. package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component.mjs +196 -0
  176. package/esm2020/Calls/CometChatOutgoingCall/cometchat-outgoing-call.module.mjs +28 -0
  177. package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +353 -0
  178. package/esm2020/CometChatAddMembers/cometchat-add-members.module.mjs +23 -0
  179. package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +446 -0
  180. package/esm2020/CometChatBannedMembers/cometchat-banned-members.module.mjs +24 -0
  181. package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +1400 -0
  182. package/esm2020/CometChatConversations/cometchat-conversations.module.mjs +28 -0
  183. package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +272 -0
  184. package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages.module.mjs +39 -0
  185. package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +696 -0
  186. package/esm2020/CometChatDetails/cometchat-details.module.mjs +27 -0
  187. package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +676 -0
  188. package/esm2020/CometChatGroupMembers/cometchat-group-members.module.mjs +24 -0
  189. package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +564 -0
  190. package/esm2020/CometChatGroups/cometchat-groups.module.mjs +28 -0
  191. package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +430 -0
  192. package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages.module.mjs +43 -0
  193. package/esm2020/CometChatList/cometchat-list.component.mjs +210 -0
  194. package/esm2020/CometChatList/cometchat-list.module.mjs +28 -0
  195. package/esm2020/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.mjs +157 -0
  196. package/esm2020/CometChatMessageBubble/cometchat-message-bubble.module.mjs +23 -0
  197. package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +930 -0
  198. package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +24 -0
  199. package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +420 -0
  200. package/esm2020/CometChatMessageHeader/cometchat-message-header.module.mjs +26 -0
  201. package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +2598 -0
  202. package/esm2020/CometChatMessageList/cometchat-message-list.module.mjs +34 -0
  203. package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +393 -0
  204. package/esm2020/CometChatMessages/cometchat-messages.module.mjs +48 -0
  205. package/esm2020/CometChatTheme.service.mjs +17 -0
  206. package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +304 -0
  207. package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages.module.mjs +36 -0
  208. package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.mjs +337 -0
  209. package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership.module.mjs +21 -0
  210. package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +447 -0
  211. package/esm2020/CometChatUsers/cometchat-users.module.mjs +32 -0
  212. package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +185 -0
  213. package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages.module.mjs +39 -0
  214. package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.mjs +11 -0
  215. package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.mjs +89 -0
  216. package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.mjs +11 -0
  217. package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.mjs +89 -0
  218. package/esm2020/Extensions/ImageModeration/ImageModerationExtension.mjs +10 -0
  219. package/esm2020/Extensions/ImageModeration/ImageModerationExtensionDecorator.mjs +10 -0
  220. package/esm2020/Extensions/LinkPreviewExtension/LinkPreviewExtension.mjs +10 -0
  221. package/esm2020/Extensions/LinkPreviewExtension/LinkPreviewExtensionDecorator.mjs +10 -0
  222. package/esm2020/Extensions/MessageTranslation/MessageTranslationExtension.mjs +11 -0
  223. package/esm2020/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.mjs +33 -0
  224. package/esm2020/Extensions/PollsExtension/PollsExtension.mjs +10 -0
  225. package/esm2020/Extensions/PollsExtension/PollsExtensionDecorator.mjs +75 -0
  226. package/esm2020/Extensions/Reactions/ReactionExtension.mjs +10 -0
  227. package/esm2020/Extensions/Reactions/ReactionExtensionDecorator.mjs +30 -0
  228. package/esm2020/Extensions/SmartReplies/SmartRepliesExtension.mjs +11 -0
  229. package/esm2020/Extensions/SmartReplies/SmartRepliesExtensionDecorator.mjs +117 -0
  230. package/esm2020/Extensions/Stickers/StickersExtension.mjs +15 -0
  231. package/esm2020/Extensions/Stickers/StickersExtensionDecorator.mjs +118 -0
  232. package/esm2020/Extensions/TextModerator/TextModeratorExtension.mjs +10 -0
  233. package/esm2020/Extensions/TextModerator/TextModeratorExtensionDecorator.mjs +32 -0
  234. package/esm2020/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.mjs +10 -0
  235. package/esm2020/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.mjs +10 -0
  236. package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +180 -0
  237. package/esm2020/Shared/Framework/ChatConfigurator.mjs +20 -0
  238. package/esm2020/Shared/Framework/DataSource.mjs +3 -0
  239. package/esm2020/Shared/Framework/DataSourceDecorator.mjs +80 -0
  240. package/esm2020/Shared/Framework/ExtensionDataSource.mjs +4 -0
  241. package/esm2020/Shared/Utils/MessageUtils.mjs +342 -0
  242. package/esm2020/cometchat-chat-uikit-angular.mjs +5 -0
  243. package/esm2020/public-api.mjs +93 -0
  244. package/fesm2015/cometchat-chat-uikit-angular.mjs +13683 -0
  245. package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -0
  246. package/fesm2020/cometchat-chat-uikit-angular.mjs +13586 -0
  247. package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -0
  248. package/package.json +51 -0
  249. package/public-api.d.ts +79 -0
@@ -0,0 +1,335 @@
1
+ import { ChangeDetectorRef, NgZone, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
2
+ import { CometChat } from "@cometchat-pro/chat";
3
+ import { Subscription } from "rxjs";
4
+ import { SelectionMode, States, TitleAlignment, BaseStyle, ConversationsStyle, ListStyle } from "@cometchat/uikit-shared";
5
+ import { CometChatOption, DatePatterns } from '@cometchat/uikit-resources';
6
+ import '@cometchat/uikit-elements';
7
+ import { AvatarStyle, ListItemStyle, ConfirmDialogStyle, ReceiptStyle, DateStyle, BadgeStyle } from '@cometchat/uikit-elements';
8
+ import { CometChatThemeService } from "../../CometChatTheme.service";
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ *
12
+ * CometChatConversation is a wrapper component consists of CometChatListBaseComponent and ConversationListComponent.
13
+ *
14
+ * @version 1.0.0
15
+ * @author CometChatTeam
16
+ * @copyright © 2022 CometChat Inc.
17
+ *
18
+ */
19
+ export declare class CometChatConversationsComponent implements OnInit, OnChanges {
20
+ private ngZone;
21
+ private ref;
22
+ private themeService;
23
+ /**
24
+ * This properties will come from Parent.
25
+ */
26
+ subtitleView: TemplateRef<any>;
27
+ title: string;
28
+ options: ((member: CometChat.Conversation) => CometChatOption[]) | null;
29
+ searchPlaceHolder: string;
30
+ disableUsersPresence: boolean;
31
+ disableReceipt: boolean;
32
+ disableTyping: boolean;
33
+ deliveredIcon: string;
34
+ readIcon: string;
35
+ errorIcon: string;
36
+ datePattern: DatePatterns;
37
+ onError: (error: CometChat.CometChatException) => void;
38
+ sentIcon: string;
39
+ privateGroupIcon: string;
40
+ protectedGroupIcon: string;
41
+ customSoundForMessages: string;
42
+ activeConversation: CometChat.Conversation | null;
43
+ searchIconURL: string;
44
+ hideSearch: boolean;
45
+ conversationsRequestBuilder: any;
46
+ emptyStateView: TemplateRef<any>;
47
+ onSelect: (conversation: CometChat.Conversation) => void;
48
+ loadingIconURL: string;
49
+ errorStateView: TemplateRef<any>;
50
+ loadingStateView: TemplateRef<any>;
51
+ emptyStateText: string;
52
+ errorStateText: string;
53
+ titleAlignment: TitleAlignment;
54
+ listItemView: TemplateRef<any>;
55
+ menu: TemplateRef<any>;
56
+ hideSeparator: boolean;
57
+ searchPlaceholder: string;
58
+ hideError: boolean;
59
+ selectionMode: SelectionMode;
60
+ disableSoundForMessages: boolean;
61
+ confirmDialogTitle: any;
62
+ confirmButtonText: string;
63
+ cancelButtonText: string;
64
+ confirmDialogMessage: string;
65
+ onItemClick: (conversation: CometChat.Conversation) => void;
66
+ deleteConversationDialogStyle: ConfirmDialogStyle;
67
+ backdropStyle: BaseStyle;
68
+ badgeStyle: BadgeStyle;
69
+ dateStyle: DateStyle;
70
+ conversationsStyle: ConversationsStyle;
71
+ listItemStyle: ListItemStyle;
72
+ statusIndicatorStyle: any;
73
+ typingIndicatorText: string;
74
+ threadIndicatorText: string;
75
+ avatarStyle: AvatarStyle;
76
+ receiptStyle: ReceiptStyle;
77
+ ccGroupMemberAdded: Subscription;
78
+ ccGroupMemberJoined: Subscription;
79
+ ccGroupMemberKicked: Subscription;
80
+ ccGroupMemberBanned: Subscription;
81
+ ccGroupMemberScopeChanged: Subscription;
82
+ ccOwnershipChanged: Subscription;
83
+ ccMessageEdit: Subscription;
84
+ ccMessageSent: Subscription;
85
+ ccMessageEdited: Subscription;
86
+ ccMessageDelete: Subscription;
87
+ ccGroupDeleted: Subscription;
88
+ ccGroupLeft: Subscription;
89
+ ccUserBlocked: Subscription;
90
+ ccMessageRead: Subscription;
91
+ ccOutgoingCall: Subscription;
92
+ ccCallRejected: Subscription;
93
+ ccCallEnded: Subscription;
94
+ ccCallAccepted: Subscription;
95
+ iconStyle: any;
96
+ listStyle: ListStyle;
97
+ menustyle: {
98
+ width: string;
99
+ height: string;
100
+ border: string;
101
+ borderRadius: string;
102
+ background: string;
103
+ textFont: string;
104
+ textColor: string;
105
+ iconTint: string;
106
+ iconBackground: string;
107
+ iconBorder: string;
108
+ iconBorderRadius: string;
109
+ submenuWidth: string;
110
+ submenuHeight: string;
111
+ submenuBorder: string;
112
+ submenuBorderRadius: string;
113
+ submenuBackground: string;
114
+ };
115
+ typingIndicator: CometChat.TypingIndicator | null;
116
+ typingListenerId: string;
117
+ callListenerId: string;
118
+ selectionmodeEnum: typeof SelectionMode;
119
+ isDialogOpen: boolean;
120
+ isEmpty: boolean;
121
+ isLoading: boolean;
122
+ state: States;
123
+ statusColor: any;
124
+ limit: number;
125
+ isError: boolean;
126
+ conversationList: CometChat.Conversation[];
127
+ scrolledToBottom: boolean;
128
+ checkItemChange: boolean;
129
+ conversationOptions: CometChatOption[];
130
+ showConfirmDialog: boolean;
131
+ conversationToBeDeleted: CometChat.Conversation | null;
132
+ conversationListenerId: string;
133
+ userListenerId: string;
134
+ groupListenerId: string;
135
+ groupToUpdate: CometChat.Group | {};
136
+ enablePolls: boolean;
137
+ enableStickers: boolean;
138
+ enableWhiteboard: boolean;
139
+ enableDocument: boolean;
140
+ threadIconURL: string;
141
+ confirmDialogStyle: ConfirmDialogStyle;
142
+ subtitleValue: string;
143
+ modalStyle: BaseStyle;
144
+ /**
145
+ * Properties for internal use
146
+ */
147
+ localize: (str: string) => any;
148
+ /**
149
+ * This properties will come from Parent.
150
+ */
151
+ loggedInUser: CometChat.User | null;
152
+ /**
153
+ * Properties for internal use
154
+ */
155
+ /**
156
+ * passing this callback to menuList component on delete click
157
+ * @param {CometChat.Conversation} conversation
158
+ */
159
+ deleteConversationOnClick: (() => void) | null;
160
+ onConfirmClick: () => void;
161
+ setStatusIndicatorStyle: (conversation: CometChat.Conversation) => any;
162
+ /**
163
+ * @param {CometChat.Conversation} conversation
164
+ */
165
+ checkStatusType(conversation: CometChat.Conversation): any;
166
+ getExtensionData(messageObject: CometChat.BaseMessage): any;
167
+ setSubtitle: (conversationObject: CometChat.Conversation) => string;
168
+ checkGroupType(conversation: CometChat.Conversation): string;
169
+ onCancelClick: () => void;
170
+ getMessageReceipt: (conversation: CometChat.Conversation) => import("@cometchat/uikit-shared/dist/Utils/MessageReceiptUtils").receipts;
171
+ getDate(): DatePatterns.DayDate | DatePatterns.DayDateTime;
172
+ optionsStyle: {
173
+ background: string;
174
+ border: string;
175
+ };
176
+ isActive: boolean;
177
+ contactsNotFound: boolean;
178
+ chatSearch: boolean;
179
+ constructor(ngZone: NgZone, ref: ChangeDetectorRef, themeService: CometChatThemeService);
180
+ ngOnInit(): void;
181
+ updateConversationObject(conversation: CometChat.Conversation): void;
182
+ subscribeToEvents(): void;
183
+ unsubscribeToEvents(): void;
184
+ getConversationFromUser(user: CometChat.User): CometChat.Conversation | null;
185
+ getConversationFromGroup(group: CometChat.Group): CometChat.Conversation | null;
186
+ ngOnChanges(change: SimpleChanges): void;
187
+ ngOnDestroy(): void;
188
+ setConversationOptions(): void;
189
+ onClick(conversation: CometChat.Conversation): void;
190
+ resetUnreadCount(): void;
191
+ setThemeStyle(): void;
192
+ setListItemStyle(): void;
193
+ setAvatarStyle(): void;
194
+ setStatusStyle(): void;
195
+ setConversationsStyle(): void;
196
+ setDateStyle(): void;
197
+ setReceiptStyle(): void;
198
+ setBadgeStyle(): void;
199
+ setConfirmDialogStyle(): void;
200
+ /**
201
+ * @param {Object={}} config
202
+ * @param {Object} defaultConfig?
203
+ * @returns defaultConfig
204
+ */
205
+ /**
206
+ * @param {CometChat.Conversation} conversation
207
+ */
208
+ /**
209
+ * Fetches the coversation based on the conversationRequest config
210
+ */
211
+ fetchNextConversation(): any;
212
+ updateEditedMessage(message: CometChat.TextMessage): void;
213
+ /**
214
+ * attaches Listeners for user activity , group activities and calling
215
+ * @param callback
216
+ */
217
+ /**
218
+ * @param {Function} callback
219
+ */
220
+ attachListeners(callback: any): void;
221
+ /**
222
+ * Removes all listeners
223
+ */
224
+ removeListeners(): void;
225
+ /**
226
+ * Fetches Conversations Details with all the users
227
+ */
228
+ getConversation: () => void;
229
+ isReceiptDisable(conversation: CometChat.Conversation): boolean;
230
+ /**
231
+ * Updates the conversation list's last message , badgeCount , user presence based on activities propagated by listeners
232
+ */
233
+ conversationUpdated: (key: any, item: CometChat.User | CometChat.Group | null | undefined, message: CometChat.BaseMessage, options?: null) => void;
234
+ /**
235
+ * @param {CometChat.BaseMessage} message
236
+ */
237
+ markMessageAsDelivered: (message: CometChat.BaseMessage) => void;
238
+ /**
239
+ * @param {CometChat.BaseMessage} readMessage
240
+ */
241
+ getUinx: () => string;
242
+ markAsRead(readMessage: CometChat.MessageReceipt): void;
243
+ /**
244
+ * Updates Detail when user comes online/offline
245
+ * @param
246
+ */
247
+ /**
248
+ * @param {CometChat.User|CometChat.Group|null} user
249
+ */
250
+ updateUser(user: CometChat.User | CometChat.Group | null): void;
251
+ /**
252
+ *
253
+ * Gets the last message
254
+ * @param conversation
255
+ /**
256
+ * @param {CometChat.BaseMessage} message
257
+ * @param {CometChat.Conversation|{}} conversation
258
+ */
259
+ makeLastMessage(message: CometChat.BaseMessage, conversation?: CometChat.Conversation | {}): CometChat.BaseMessage;
260
+ /**
261
+ *
262
+ * Updates Conversations as Text/Custom Messages are received
263
+ * @param
264
+ *
265
+ */
266
+ /**
267
+ * @param {CometChat.BaseMessage} message
268
+ * @param {boolean} notification
269
+ */
270
+ updateConversation(message: CometChat.BaseMessage, notification?: boolean): void;
271
+ updateDeliveredMessage(messageReceipt: CometChat.MessageReceipt): void;
272
+ /**
273
+ *
274
+ * Gets The Count of Unread Messages
275
+ * @param
276
+ */
277
+ /**
278
+ * @param {any} conversation
279
+ * @param {any} operator
280
+ */
281
+ makeUnreadMessageCount(conversation: CometChat.Conversation, operator?: any): number;
282
+ /**
283
+ * Changes detail of conversations
284
+ * @param
285
+ */
286
+ /**
287
+ * @param {CometChat.BaseMessage} message
288
+ */
289
+ makeConversation(message: CometChat.BaseMessage): Promise<unknown>;
290
+ /**
291
+ * Updates Conversation View when message is edited or deleted
292
+ */
293
+ conversationEditedDeleted(message: CometChat.BaseMessage): void;
294
+ /**
295
+ * If User scrolls to the bottom of the current Conversation list than fetch next items of the Conversation list and append
296
+ * @param Event
297
+ */
298
+ /**
299
+ * Plays Audio When Message is Received
300
+ */
301
+ playAudio(): void;
302
+ /**
303
+ * @param {CometChat.Conversation|{}} conversation
304
+ */
305
+ updateConversationList(conversation: CometChat.Conversation | null): void;
306
+ /**
307
+ * showing dialog for confirm and cancel
308
+ * @param {CometChat.Conversation|{}} conversation
309
+ */
310
+ showConfirmationDialog: (conversation: CometChat.Conversation) => void;
311
+ onOptionClick(event: any, conversation: CometChat.Conversation): void;
312
+ /**
313
+ * show confirm dialog screen
314
+ * @param {CometChat.Conversation|{}} conversaton
315
+ */
316
+ getActiveConversation(conversation: CometChat.Conversation): boolean | null;
317
+ /**
318
+ * handle confirm dialog response
319
+ * @param {string} value
320
+ */
321
+ deleteSelectedConversation(): void;
322
+ updateLastMessage(message: CometChat.BaseMessage): void;
323
+ removeConversation(conversation: CometChat.Conversation): void;
324
+ styles: any;
325
+ subtitleStyle: (conversation: any) => {
326
+ font: string | undefined;
327
+ color: string | undefined;
328
+ };
329
+ itemThreadIndicatorStyle: () => {
330
+ textFont: string;
331
+ textColor: string | undefined;
332
+ };
333
+ static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversationsComponent, never>;
334
+ static ɵcmp: i0.ɵɵComponentDeclaration<CometChatConversationsComponent, "cometchat-conversations", never, { "subtitleView": "subtitleView"; "title": "title"; "options": "options"; "searchPlaceHolder": "searchPlaceHolder"; "disableUsersPresence": "disableUsersPresence"; "disableReceipt": "disableReceipt"; "disableTyping": "disableTyping"; "deliveredIcon": "deliveredIcon"; "readIcon": "readIcon"; "errorIcon": "errorIcon"; "datePattern": "datePattern"; "onError": "onError"; "sentIcon": "sentIcon"; "privateGroupIcon": "privateGroupIcon"; "protectedGroupIcon": "protectedGroupIcon"; "customSoundForMessages": "customSoundForMessages"; "activeConversation": "activeConversation"; "searchIconURL": "searchIconURL"; "hideSearch": "hideSearch"; "conversationsRequestBuilder": "conversationsRequestBuilder"; "emptyStateView": "emptyStateView"; "onSelect": "onSelect"; "loadingIconURL": "loadingIconURL"; "errorStateView": "errorStateView"; "loadingStateView": "loadingStateView"; "emptyStateText": "emptyStateText"; "errorStateText": "errorStateText"; "titleAlignment": "titleAlignment"; "listItemView": "listItemView"; "menu": "menu"; "hideSeparator": "hideSeparator"; "searchPlaceholder": "searchPlaceholder"; "hideError": "hideError"; "selectionMode": "selectionMode"; "disableSoundForMessages": "disableSoundForMessages"; "confirmDialogTitle": "confirmDialogTitle"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "confirmDialogMessage": "confirmDialogMessage"; "onItemClick": "onItemClick"; "deleteConversationDialogStyle": "deleteConversationDialogStyle"; "backdropStyle": "backdropStyle"; "badgeStyle": "badgeStyle"; "dateStyle": "dateStyle"; "conversationsStyle": "conversationsStyle"; "listItemStyle": "listItemStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "typingIndicatorText": "typingIndicatorText"; "threadIndicatorText": "threadIndicatorText"; "avatarStyle": "avatarStyle"; "receiptStyle": "receiptStyle"; "loggedInUser": "loggedInUser"; }, {}, never, never>;
335
+ }
@@ -0,0 +1,10 @@
1
+ import '@cometchat/uikit-elements';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./cometchat-conversations/cometchat-conversations.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "../CometChatList/cometchat-list.module";
6
+ export declare class CometChatConversations {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversations, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatConversations, [typeof i1.CometChatConversationsComponent], [typeof i2.CommonModule, typeof i3.CometChatList], [typeof i1.CometChatConversationsComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CometChatConversations>;
10
+ }
@@ -0,0 +1,86 @@
1
+ import { OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from "@angular/core";
2
+ import { CometChat } from "@cometchat-pro/chat";
3
+ import { CometChatMessagesComponent } from "../../CometChatMessages/cometchat-messages/cometchat-messages.component";
4
+ import { CometChatConversationsComponent } from "../../CometChatConversations/cometchat-conversations/cometchat-conversations.component";
5
+ import { WithMessagesStyle, MessagesConfiguration, ConversationsConfiguration } from '@cometchat/uikit-shared';
6
+ import { CometChatTheme } from '@cometchat/uikit-resources';
7
+ import '@cometchat/uikit-elements';
8
+ import { Subscription } from "rxjs";
9
+ import { CometChatThemeService } from "../../CometChatTheme.service";
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ *
13
+ * CometChatConversationsWithMessagesComponent is a wrapper component for CometChatMessagesComponent and CometChatConversations component to show chats and messages in one screen
14
+ *
15
+ * @version 1.0.0
16
+ * @author CometChatTeam
17
+ * @copyright © 2022 CometChat Inc.
18
+ *
19
+ */
20
+ export declare class CometChatConversationsWithMessagesComponent implements OnInit, OnChanges {
21
+ private elementRef;
22
+ private ref;
23
+ private themeService;
24
+ conversationRef: CometChatConversationsComponent;
25
+ messageListRef: CometChatMessagesComponent;
26
+ user: CometChat.User | null;
27
+ group: CometChat.Group | null;
28
+ isMobileView: boolean;
29
+ messageText: string;
30
+ conversationsWithMessagesStyle: WithMessagesStyle;
31
+ messagesConfiguration: MessagesConfiguration;
32
+ conversationConfiguration: ConversationsConfiguration;
33
+ onError: ((error: any) => void) | null;
34
+ theme: CometChatTheme;
35
+ /**
36
+ * Properties for internal use
37
+ */
38
+ loggedInUser: CometChat.User | null;
39
+ activeConversation: CometChat.Conversation | null;
40
+ labelStyle: any;
41
+ hideSearch: boolean;
42
+ /**
43
+ * Events
44
+ */
45
+ ccGroupMemberAdded: Subscription;
46
+ ccGroupLeft: Subscription;
47
+ ccGroupMemberJoined: Subscription;
48
+ ccGroupMemberKicked: Subscription;
49
+ ccGroupMemberBanned: Subscription;
50
+ ccOwnershipChanged: Subscription;
51
+ ccGroupDeleted: Subscription;
52
+ ccConversationDeleted: Subscription;
53
+ constructor(elementRef: ElementRef, ref: ChangeDetectorRef, themeService: CometChatThemeService);
54
+ ngOnChanges(changes: SimpleChanges): void;
55
+ onBack: () => void;
56
+ setWithMessagesStyle(): void;
57
+ onItemClick: ((conversation: CometChat.Conversation) => void);
58
+ ngAfterViewInit(): void;
59
+ updateBackdropHeight(): void;
60
+ setActiveChat(): void;
61
+ ngOnInit(): void;
62
+ ngOnDestroy(): void;
63
+ subscribeToEvents(): void;
64
+ unsubscribeToEvents(): void;
65
+ /**
66
+ * remove active chat screen after deleting the conversation.
67
+ * @param {CometChat.Conversation} conversation
68
+ */
69
+ removeActiveChatList(conversation: CometChat.Conversation): void;
70
+ emptyMessageStyle: () => {
71
+ background: string | undefined;
72
+ height: string | undefined;
73
+ width: string;
74
+ border: string | undefined;
75
+ borderRadius: string | undefined;
76
+ };
77
+ chatsWrapperStyles: () => {
78
+ height: string | undefined;
79
+ width: string | undefined;
80
+ border: string | undefined;
81
+ borderRadius: string | undefined;
82
+ background: string | undefined;
83
+ };
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversationsWithMessagesComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<CometChatConversationsWithMessagesComponent, "cometchat-conversations-with-messages", never, { "user": "user"; "group": "group"; "isMobileView": "isMobileView"; "messageText": "messageText"; "conversationsWithMessagesStyle": "conversationsWithMessagesStyle"; "messagesConfiguration": "messagesConfiguration"; "conversationConfiguration": "conversationConfiguration"; "onError": "onError"; }, {}, never, never>;
86
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cometchat-conversations-with-messages/cometchat-conversations-with-messages.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../CometChatConversations/cometchat-conversations.module";
5
+ import * as i4 from "../CometChatMessages/cometchat-messages.module";
6
+ import * as i5 from "@angular/platform-browser";
7
+ import * as i6 from "@angular/platform-browser/animations";
8
+ export declare class CometChatConversationsWithMessages {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CometChatConversationsWithMessages, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatConversationsWithMessages, [typeof i1.CometChatConversationsWithMessagesComponent], [typeof i2.CommonModule, typeof i3.CometChatConversations, typeof i4.CometChatMessages, typeof i5.BrowserModule, typeof i6.BrowserAnimationsModule], [typeof i1.CometChatConversationsWithMessagesComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CometChatConversationsWithMessages>;
12
+ }
@@ -0,0 +1,149 @@
1
+ import { OnInit, ChangeDetectorRef, TemplateRef, OnChanges, SimpleChanges } from "@angular/core";
2
+ import { Subscription } from "rxjs";
3
+ import '@cometchat/uikit-elements';
4
+ import { AvatarStyle, ConfirmDialogStyle, ListItemStyle } from '@cometchat/uikit-elements';
5
+ import { AddMembersConfiguration, BannedMembersConfiguration, DetailsStyle, GroupMembersConfiguration, SelectionMode, TransferOwnershipConfiguration, BaseStyle } 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
+ * CometChatDetailsComponent 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 CometChatDetailsComponent 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
+ data: CometChatDetailsTemplate[];
30
+ disableUsersPresence: boolean;
31
+ privateGroupIcon: string;
32
+ protectedGroupIcon: string;
33
+ onError: ((error: any) => void) | null;
34
+ onClose: () => void;
35
+ leaveButtonText: string;
36
+ cancelButtonText: string;
37
+ confirmDialogMessage: string;
38
+ addMembersConfiguration: AddMembersConfiguration;
39
+ bannedMembersConfiguration: BannedMembersConfiguration;
40
+ groupMembersConfiguration: GroupMembersConfiguration;
41
+ transferOwnershipConfiguration: TransferOwnershipConfiguration;
42
+ leaveDialogStyle: ConfirmDialogStyle;
43
+ backiconurl: string;
44
+ statusIndicatorStyle: any;
45
+ backdropStyle: BaseStyle;
46
+ avatarStyle: AvatarStyle;
47
+ detailsStyle: DetailsStyle;
48
+ listItemStyle: ListItemStyle;
49
+ leaveGroupText: string;
50
+ leaveGroupMessage: string;
51
+ transferText: string;
52
+ transferConfirm: string;
53
+ defaultTemplate: CometChatDetailsTemplate[];
54
+ loggedInUser: CometChat.User | null;
55
+ openViewMembersPage: boolean;
56
+ openBannedMembersPage: boolean;
57
+ openAddMembersPage: boolean;
58
+ confirmLeaveGroupModal: boolean;
59
+ openTransferOwnershipModal: boolean;
60
+ selectionmodeEnum: SelectionMode;
61
+ ccGroupMemberAdded: Subscription;
62
+ ccGroupMemberJoined: Subscription;
63
+ ccGroupMemberKicked: Subscription;
64
+ ccGroupMemberBanned: Subscription;
65
+ ccOwnershipChanged: Subscription;
66
+ statusColor: any;
67
+ closeButtonStyle: any;
68
+ buttonStyle: any;
69
+ dividerStyle: any;
70
+ getTitleStyle(): {
71
+ textFont: string;
72
+ textColor: string | undefined;
73
+ };
74
+ getCustomOptionView(option: CometChatDetailsOption): any;
75
+ subtitleText: string;
76
+ userListenerId: string;
77
+ constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService);
78
+ ngOnChanges(changes: SimpleChanges): void;
79
+ getTemplate(): void;
80
+ removeListener(): void;
81
+ ngOnDestroy(): void;
82
+ ngOnInit(): void;
83
+ subscribeToEvents(): void;
84
+ unsubscribeToEvents(): void;
85
+ checkStatusType: () => any;
86
+ updateSubtitle(): void;
87
+ getButtonStyle(option: CometChatDetailsOption): {
88
+ height: string;
89
+ width: string;
90
+ border: string;
91
+ borderRadius: string;
92
+ buttonTextFont: string | undefined;
93
+ buttonTextColor: string | undefined;
94
+ background: string;
95
+ };
96
+ checkGroupType(): string;
97
+ updateUserStatus(user: CometChat.User): void;
98
+ attachListeners(): void;
99
+ getSectionHeaderStyle(template: CometChatDetailsTemplate): {
100
+ textFont: string | undefined;
101
+ textColor: string | undefined;
102
+ };
103
+ onOptionClick(option: CometChatDetailsOption): void;
104
+ onLeaveClick(): void;
105
+ createActionMessage(actionOn: CometChat.GroupMember, action: string): CometChat.Action;
106
+ createUserLeftAction(actionOn: CometChat.User, action: string): CometChat.Action;
107
+ onCloseClick: () => void;
108
+ onCancelClick(): void;
109
+ blockUser(): void;
110
+ unBlockUser(): void;
111
+ viewMembers: () => void;
112
+ addMembers: () => void;
113
+ bannedMembers: () => void;
114
+ leaveGroup(): void;
115
+ deleteGroup(): void;
116
+ openTransferOwnership: () => void;
117
+ onCloseDetails(): void;
118
+ subtitleStyle: () => {
119
+ textFont: string | undefined;
120
+ textColor: string | undefined;
121
+ };
122
+ /**
123
+ * @param {CometChat.Group} group
124
+ */
125
+ getGroupIcon: (group: CometChat.Group) => string | null | undefined;
126
+ /**
127
+ * @param {CometChat.Group} group
128
+ */
129
+ getStatusIndicatorColor(group: CometChat.Group): any;
130
+ getTemplateOptions: (template: CometChatDetailsTemplate) => CometChatDetailsOption[];
131
+ setThemeStyle(): void;
132
+ setConfirmDialogStyle(): void;
133
+ setListItemStyle(): void;
134
+ setAvatarStyle(): void;
135
+ setStatusStyle(): void;
136
+ setDetailsStyle(): void;
137
+ wrapperStyle: () => {
138
+ width: string | undefined;
139
+ height: string | undefined;
140
+ border: string | undefined;
141
+ borderRadius: string | undefined;
142
+ background: string | undefined;
143
+ };
144
+ marginStyle: () => {
145
+ padding: string | undefined;
146
+ };
147
+ 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"; "leaveButtonText": "leaveButtonText"; "cancelButtonText": "cancelButtonText"; "confirmDialogMessage": "confirmDialogMessage"; "addMembersConfiguration": "addMembersConfiguration"; "bannedMembersConfiguration": "bannedMembersConfiguration"; "groupMembersConfiguration": "groupMembersConfiguration"; "transferOwnershipConfiguration": "transferOwnershipConfiguration"; "leaveDialogStyle": "leaveDialogStyle"; "statusIndicatorStyle": "statusIndicatorStyle"; "backdropStyle": "backdropStyle"; "avatarStyle": "avatarStyle"; "detailsStyle": "detailsStyle"; "listItemStyle": "listItemStyle"; }, {}, never, never>;
149
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./cometchat-details/cometchat-details.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../CometChatAddMembers/cometchat-add-members.module";
5
+ import * as i4 from "../CometChatBannedMembers/cometchat-banned-members.module";
6
+ import * as i5 from "../CometChatGroupMembers/cometchat-group-members.module";
7
+ import * as i6 from "../CometChatTransferOwnership/cometchat-transfer-ownership.module";
8
+ export declare class CometChatDetails {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CometChatDetails, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatDetails, [typeof i1.CometChatDetailsComponent], [typeof i2.CommonModule, typeof i3.CometChatAddMembers, typeof i4.CometChatBannedMembers, typeof i5.CometChatGroupMembers, typeof i6.CometChatTransferOwnership], [typeof i1.CometChatDetailsComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CometChatDetails>;
12
+ }