@cometchat/chat-uikit-react 4.3.29 → 4.3.30

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 (244) hide show
  1. package/package.json +3 -3
  2. package/dist/assets/Audio-Call.svg +0 -11
  3. package/dist/assets/Audio-Call2x.svg +0 -11
  4. package/dist/assets/Copy.svg +0 -17
  5. package/dist/assets/IncomingAudio.svg +0 -5
  6. package/dist/assets/IncomingVideo.svg +0 -6
  7. package/dist/assets/Info.svg +0 -13
  8. package/dist/assets/InfoSimpleIcon.svg +0 -4
  9. package/dist/assets/LoadingIcon.svg +0 -15
  10. package/dist/assets/Locked.svg +0 -10
  11. package/dist/assets/MissedAudio.svg +0 -5
  12. package/dist/assets/MissedVideo.svg +0 -6
  13. package/dist/assets/More.svg +0 -9
  14. package/dist/assets/More@2x.svg +0 -9
  15. package/dist/assets/OutgoingAudio.svg +0 -5
  16. package/dist/assets/OutgoingVideo.svg +0 -6
  17. package/dist/assets/Plus-1.svg +0 -12
  18. package/dist/assets/Private.svg +0 -10
  19. package/dist/assets/StartConversation.svg +0 -13
  20. package/dist/assets/Stickers.svg +0 -16
  21. package/dist/assets/Video-call.svg +0 -12
  22. package/dist/assets/Video-call2x.svg +0 -12
  23. package/dist/assets/VideoCall2xIcon.svg +0 -12
  24. package/dist/assets/addreaction.svg +0 -9
  25. package/dist/assets/ai-bot.svg +0 -3
  26. package/dist/assets/ai-empty.svg +0 -22
  27. package/dist/assets/ai-error.svg +0 -3
  28. package/dist/assets/attachment-file.svg +0 -14
  29. package/dist/assets/audio-file.svg +0 -12
  30. package/dist/assets/backbutton.svg +0 -12
  31. package/dist/assets/close.svg +0 -12
  32. package/dist/assets/close2x.svg +0 -12
  33. package/dist/assets/collaborativedocument.svg +0 -13
  34. package/dist/assets/collaborativewhiteboard.svg +0 -12
  35. package/dist/assets/create-button.svg +0 -12
  36. package/dist/assets/delete.svg +0 -15
  37. package/dist/assets/deleteicon.svg +0 -15
  38. package/dist/assets/down-arrow.svg +0 -1
  39. package/dist/assets/download.svg +0 -13
  40. package/dist/assets/editicon.svg +0 -14
  41. package/dist/assets/heart-reaction.png +0 -0
  42. package/dist/assets/heart.svg +0 -11
  43. package/dist/assets/increase-size.svg +0 -6
  44. package/dist/assets/loading.svg +0 -16
  45. package/dist/assets/mention-icon.svg +0 -11
  46. package/dist/assets/message-delivered.svg +0 -5
  47. package/dist/assets/message-read.svg +0 -5
  48. package/dist/assets/message-sent.svg +0 -9
  49. package/dist/assets/mic.svg +0 -11
  50. package/dist/assets/more-icon.svg +0 -9
  51. package/dist/assets/photolibrary.svg +0 -11
  52. package/dist/assets/placeholder.png +0 -0
  53. package/dist/assets/plus-rotated.svg +0 -13
  54. package/dist/assets/plus.svg +0 -13
  55. package/dist/assets/polls.svg +0 -14
  56. package/dist/assets/reduce-size.svg +0 -6
  57. package/dist/assets/search.svg +0 -4
  58. package/dist/assets/send-message-in-private.svg +0 -6
  59. package/dist/assets/send.svg +0 -12
  60. package/dist/assets/side-arrow.svg +0 -1
  61. package/dist/assets/smileys.svg +0 -16
  62. package/dist/assets/spinner.svg +0 -15
  63. package/dist/assets/stipop.svg +0 -9
  64. package/dist/assets/stop.svg +0 -1
  65. package/dist/assets/thread-arrow.svg +0 -1
  66. package/dist/assets/threadIndicatorIcon.svg +0 -11
  67. package/dist/assets/threadicon.svg +0 -14
  68. package/dist/assets/translation.svg +0 -16
  69. package/dist/assets/video.svg +0 -12
  70. package/dist/assets/wait.svg +0 -4
  71. package/dist/assets/warning-small.svg +0 -5
  72. package/dist/index.d.ts +0 -3366
  73. package/dist/index.js +0 -17
  74. package/dist/index.js.map +0 -1
  75. package/dist/types/AI/AIAssistBot/AIAssistBotChatView.d.ts +0 -10
  76. package/dist/types/AI/AIAssistBot/AIAssistBotDecorator.d.ts +0 -22
  77. package/dist/types/AI/AIAssistBot/AIAssistBotExtension.d.ts +0 -8
  78. package/dist/types/AI/AIAssistBot/AIAssistBotOptionsView.d.ts +0 -11
  79. package/dist/types/AI/AIAssistBot/style.d.ts +0 -37
  80. package/dist/types/AI/AIAssistBot/utils.d.ts +0 -5
  81. package/dist/types/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -20
  82. package/dist/types/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  83. package/dist/types/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -9
  84. package/dist/types/AI/AIConversationStarter/style.d.ts +0 -26
  85. package/dist/types/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  86. package/dist/types/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  87. package/dist/types/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -10
  88. package/dist/types/AI/AIConversationSummary/style.d.ts +0 -28
  89. package/dist/types/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -25
  90. package/dist/types/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  91. package/dist/types/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -12
  92. package/dist/types/AI/AISmartReplies/style.d.ts +0 -28
  93. package/dist/types/Calling/CallingExtension.d.ts +0 -8
  94. package/dist/types/Calling/CallingExtensionDecorator.d.ts +0 -75
  95. package/dist/types/Calling/CometChatCallButtons/hooks.d.ts +0 -3
  96. package/dist/types/Calling/CometChatCallButtons/index.d.ts +0 -19
  97. package/dist/types/Calling/CometChatCallButtons/style.d.ts +0 -28
  98. package/dist/types/Calling/CometChatCallLogDetails/hooks.d.ts +0 -2
  99. package/dist/types/Calling/CometChatCallLogDetails/index.d.ts +0 -17
  100. package/dist/types/Calling/CometChatCallLogDetails/style.d.ts +0 -21
  101. package/dist/types/Calling/CometChatCallLogHistory/hooks.d.ts +0 -2
  102. package/dist/types/Calling/CometChatCallLogHistory/index.d.ts +0 -27
  103. package/dist/types/Calling/CometChatCallLogHistory/style.d.ts +0 -41
  104. package/dist/types/Calling/CometChatCallLogParticipants/index.d.ts +0 -19
  105. package/dist/types/Calling/CometChatCallLogParticipants/style.d.ts +0 -31
  106. package/dist/types/Calling/CometChatCallLogRecordings/index.d.ts +0 -21
  107. package/dist/types/Calling/CometChatCallLogRecordings/style.d.ts +0 -35
  108. package/dist/types/Calling/CometChatCallLogs/hooks.d.ts +0 -2
  109. package/dist/types/Calling/CometChatCallLogs/index.d.ts +0 -37
  110. package/dist/types/Calling/CometChatCallLogs/style.d.ts +0 -37
  111. package/dist/types/Calling/CometChatCallLogsWithDetails/hooks.d.ts +0 -4
  112. package/dist/types/Calling/CometChatCallLogsWithDetails/index.d.ts +0 -10
  113. package/dist/types/Calling/CometChatCallLogsWithDetails/style.d.ts +0 -13
  114. package/dist/types/Calling/CometChatIncomingCall/hooks.d.ts +0 -2
  115. package/dist/types/Calling/CometChatIncomingCall/index.d.ts +0 -19
  116. package/dist/types/Calling/CometChatIncomingCall/style.d.ts +0 -72
  117. package/dist/types/Calling/CometChatOngoingCall/hooks.d.ts +0 -2
  118. package/dist/types/Calling/CometChatOngoingCall/index.d.ts +0 -15
  119. package/dist/types/Calling/CometChatOngoingCall/style.d.ts +0 -2
  120. package/dist/types/Calling/CometChatOutgoingCall/hooks.d.ts +0 -2
  121. package/dist/types/Calling/CometChatOutgoingCall/index.d.ts +0 -16
  122. package/dist/types/Calling/CometChatOutgoingCall/style.d.ts +0 -39
  123. package/dist/types/Calling/Utils/CallDetailsUtils.d.ts +0 -11
  124. package/dist/types/Calling/Utils/CallingDetailsUtils.d.ts +0 -7
  125. package/dist/types/Calling/Utils/utils.d.ts +0 -7
  126. package/dist/types/CometChatAddMembers/hooks.d.ts +0 -11
  127. package/dist/types/CometChatAddMembers/index.d.ts +0 -229
  128. package/dist/types/CometChatAddMembers/style.d.ts +0 -13
  129. package/dist/types/CometChatBannedMembers/controller.d.ts +0 -37
  130. package/dist/types/CometChatBannedMembers/hooks.d.ts +0 -17
  131. package/dist/types/CometChatBannedMembers/index.d.ts +0 -228
  132. package/dist/types/CometChatBannedMembers/style.d.ts +0 -19
  133. package/dist/types/CometChatContacts/index.d.ts +0 -22
  134. package/dist/types/CometChatContacts/style.d.ts +0 -20
  135. package/dist/types/CometChatConversations/controller.d.ts +0 -74
  136. package/dist/types/CometChatConversations/hooks.d.ts +0 -22
  137. package/dist/types/CometChatConversations/index.d.ts +0 -344
  138. package/dist/types/CometChatConversations/style.d.ts +0 -29
  139. package/dist/types/CometChatConversationsWithMessages/hooks.d.ts +0 -2
  140. package/dist/types/CometChatConversationsWithMessages/index.d.ts +0 -15
  141. package/dist/types/CometChatConversationsWithMessages/style.d.ts +0 -87
  142. package/dist/types/CometChatCustomHooks.d.ts +0 -27
  143. package/dist/types/CometChatDetails/hooks.d.ts +0 -17
  144. package/dist/types/CometChatDetails/index.d.ts +0 -186
  145. package/dist/types/CometChatDetails/style.d.ts +0 -40
  146. package/dist/types/CometChatGroupMembers/controller.d.ts +0 -38
  147. package/dist/types/CometChatGroupMembers/hooks.d.ts +0 -22
  148. package/dist/types/CometChatGroupMembers/index.d.ts +0 -281
  149. package/dist/types/CometChatGroupMembers/style.d.ts +0 -24
  150. package/dist/types/CometChatGroups/controller.d.ts +0 -44
  151. package/dist/types/CometChatGroups/hooks.d.ts +0 -15
  152. package/dist/types/CometChatGroups/index.d.ts +0 -215
  153. package/dist/types/CometChatGroups/style.d.ts +0 -11
  154. package/dist/types/CometChatGroupsWithMessages/hooks.d.ts +0 -3
  155. package/dist/types/CometChatGroupsWithMessages/index.d.ts +0 -14
  156. package/dist/types/CometChatGroupsWithMessages/style.d.ts +0 -874
  157. package/dist/types/CometChatMessageComposer/hooks.d.ts +0 -65
  158. package/dist/types/CometChatMessageComposer/index.d.ts +0 -221
  159. package/dist/types/CometChatMessageComposer/style.d.ts +0 -92
  160. package/dist/types/CometChatMessageHeader/hooks.d.ts +0 -3
  161. package/dist/types/CometChatMessageHeader/index.d.ts +0 -29
  162. package/dist/types/CometChatMessageHeader/style.d.ts +0 -56
  163. package/dist/types/CometChatMessageInformation/index.d.ts +0 -29
  164. package/dist/types/CometChatMessageInformation/style.d.ts +0 -48
  165. package/dist/types/CometChatMessageList/CometChatMessageList.d.ts +0 -58
  166. package/dist/types/CometChatMessageList/controller.d.ts +0 -48
  167. package/dist/types/CometChatMessageList/style.d.ts +0 -237
  168. package/dist/types/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
  169. package/dist/types/CometChatMessages/hooks.d.ts +0 -2
  170. package/dist/types/CometChatMessages/index.d.ts +0 -25
  171. package/dist/types/CometChatMessages/style.d.ts +0 -26
  172. package/dist/types/CometChatThemeContext.d.ts +0 -5
  173. package/dist/types/CometChatThreadedMessages/hooks.d.ts +0 -2
  174. package/dist/types/CometChatThreadedMessages/index.d.ts +0 -19
  175. package/dist/types/CometChatThreadedMessages/style.d.ts +0 -21
  176. package/dist/types/CometChatTransferOwnership/hooks.d.ts +0 -7
  177. package/dist/types/CometChatTransferOwnership/index.d.ts +0 -163
  178. package/dist/types/CometChatTransferOwnership/style.d.ts +0 -17
  179. package/dist/types/CometChatUserMemberWrapper/index.d.ts +0 -25
  180. package/dist/types/CometChatUsers/controller.d.ts +0 -34
  181. package/dist/types/CometChatUsers/hooks.d.ts +0 -18
  182. package/dist/types/CometChatUsers/index.d.ts +0 -260
  183. package/dist/types/CometChatUsers/style.d.ts +0 -11
  184. package/dist/types/CometChatUsersWithMessages/hooks.d.ts +0 -2
  185. package/dist/types/CometChatUsersWithMessages/index.d.ts +0 -12
  186. package/dist/types/CometChatUsersWithMessages/style.d.ts +0 -70
  187. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -18
  188. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -8
  189. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -21
  190. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -18
  191. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -8
  192. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -21
  193. package/dist/types/Extensions/ImageModeration/ImageModerationConfiguration.d.ts +0 -15
  194. package/dist/types/Extensions/ImageModeration/ImageModerationExtension.d.ts +0 -8
  195. package/dist/types/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +0 -26
  196. package/dist/types/Extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -8
  197. package/dist/types/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -8
  198. package/dist/types/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -24
  199. package/dist/types/Extensions/MessageTranslation/MessageTranslationConfiguration.d.ts +0 -14
  200. package/dist/types/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -8
  201. package/dist/types/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -19
  202. package/dist/types/Extensions/Polls/PollsConfiguration.d.ts +0 -29
  203. package/dist/types/Extensions/Polls/PollsExtension.d.ts +0 -8
  204. package/dist/types/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -26
  205. package/dist/types/Extensions/SmartReplies/SmartRepliesConfiguration.d.ts +0 -8
  206. package/dist/types/Extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -9
  207. package/dist/types/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +0 -35
  208. package/dist/types/Extensions/Stickers/StickersConfiguration.d.ts +0 -14
  209. package/dist/types/Extensions/Stickers/StickersExtension.d.ts +0 -8
  210. package/dist/types/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -27
  211. package/dist/types/Extensions/TextModerator/TextModeratorExtension.d.ts +0 -6
  212. package/dist/types/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +0 -8
  213. package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -5
  214. package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -8
  215. package/dist/types/Shared/CometChatUIKit/CometChatUIKit.d.ts +0 -42
  216. package/dist/types/Shared/Framework/AIExtensionDataSource.d.ts +0 -6
  217. package/dist/types/Shared/Framework/ChatConfigurator.d.ts +0 -8
  218. package/dist/types/Shared/Framework/DataSource.d.ts +0 -56
  219. package/dist/types/Shared/Framework/DataSourceDecorator.d.ts +0 -59
  220. package/dist/types/Shared/Framework/ExtensionsDataSource.d.ts +0 -6
  221. package/dist/types/Shared/Utils/MessageUtils.d.ts +0 -16
  222. package/dist/types/Shared/Utils/MessagesDataSource.d.ts +0 -92
  223. package/dist/types/Shared/Views/CometChatButton/hooks.d.ts +0 -11
  224. package/dist/types/Shared/Views/CometChatButton/index.d.ts +0 -19
  225. package/dist/types/Shared/Views/CometChatCheckbox/hooks.d.ts +0 -9
  226. package/dist/types/Shared/Views/CometChatCheckbox/index.d.ts +0 -13
  227. package/dist/types/Shared/Views/CometChatContextMenu/index.d.ts +0 -13
  228. package/dist/types/Shared/Views/CometChatContextMenu/style.d.ts +0 -28
  229. package/dist/types/Shared/Views/CometChatList/hooks.d.ts +0 -20
  230. package/dist/types/Shared/Views/CometChatList/index.d.ts +0 -151
  231. package/dist/types/Shared/Views/CometChatList/style.d.ts +0 -18
  232. package/dist/types/Shared/Views/CometChatListItem/hooks.d.ts +0 -9
  233. package/dist/types/Shared/Views/CometChatListItem/index.d.ts +0 -29
  234. package/dist/types/Shared/Views/CometChatMenuList/hooks.d.ts +0 -12
  235. package/dist/types/Shared/Views/CometChatMenuList/index.d.ts +0 -13
  236. package/dist/types/Shared/Views/CometChatMessageBubble/index.d.ts +0 -22
  237. package/dist/types/Shared/Views/CometChatMessageBubble/style.d.ts +0 -22
  238. package/dist/types/Shared/Views/CometChatRadioButton/hooks.d.ts +0 -9
  239. package/dist/types/Shared/Views/CometChatRadioButton/index.d.ts +0 -13
  240. package/dist/types/Shared/Views/CometChatTabs/TabsStyle.d.ts +0 -31
  241. package/dist/types/Shared/Views/CometChatTabs/index.d.ts +0 -11
  242. package/dist/types/Shared/Views/CometChatTabs/style.d.ts +0 -42
  243. package/dist/types/Shared/Views/LitElementsWrapper/LitElementsWrapper.d.ts +0 -49
  244. package/dist/types/index.d.ts +0 -84
@@ -1,10 +0,0 @@
1
- import { AIAssistBotConfiguration } from '@cometchat/uikit-shared';
2
- interface IAIAssistBotProps {
3
- configuration?: AIAssistBotConfiguration;
4
- bot: CometChat.User | undefined;
5
- sender: CometChat.User | undefined;
6
- messageSendCallBack?: (message: string, bot: CometChat.User) => Promise<string>;
7
- closeCallback?: () => void;
8
- }
9
- declare const AIAssistBotChatView: (props: IAIAssistBotProps) => import("react/jsx-runtime").JSX.Element;
10
- export default AIAssistBotChatView;
@@ -1,22 +0,0 @@
1
- import { CometChat } from "@cometchat/chat-sdk-javascript";
2
- import { CometChatActionsView, CometChatMessageComposerAction, CometChatTheme } from "@cometchat/uikit-resources";
3
- import { DataSource } from "../../Shared/Framework/DataSource";
4
- import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
5
- import { AIAssistBotConfiguration, AIOptionsStyle } from "@cometchat/uikit-shared";
6
- export declare class AIAssistBotDecorator extends DataSourceDecorator {
7
- configuration?: AIAssistBotConfiguration;
8
- newDataSource: DataSource;
9
- loggedInUser: CometChat.User | null;
10
- user: CometChat.User;
11
- group: CometChat.Group;
12
- bots: CometChat.User[] | [];
13
- theme: CometChatTheme;
14
- constructor(dataSource: DataSource, configuration?: AIAssistBotConfiguration);
15
- getId(): string;
16
- getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
17
- onMessageSent: (message: string, bot: CometChat.User) => Promise<string>;
18
- closeChat: () => void;
19
- onOptionClick: (bot: CometChat.User) => void;
20
- private getAllBots;
21
- private addMessageListener;
22
- }
@@ -1,8 +0,0 @@
1
- import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2
- import { AIAssistBotConfiguration } from "@cometchat/uikit-shared";
3
- export declare class AIAssistBotExtension extends AIExtensionDataSource {
4
- private configuration?;
5
- constructor(configuration?: AIAssistBotConfiguration);
6
- addExtension(): void;
7
- getExtensionId(): string;
8
- }
@@ -1,11 +0,0 @@
1
- import { AIAssistBotConfiguration } from '@cometchat/uikit-shared';
2
- import { CometChatMessageComposerAction } from '@cometchat/uikit-resources';
3
- interface IAIAssistBotProps {
4
- title?: string;
5
- bots?: CometChatMessageComposerAction[];
6
- closeCallback?: () => void;
7
- backCallback?: () => void;
8
- configuration?: AIAssistBotConfiguration;
9
- }
10
- declare const AIAssistBotOptoinsView: (props: IAIAssistBotProps) => import("react/jsx-runtime").JSX.Element;
11
- export default AIAssistBotOptoinsView;
@@ -1,37 +0,0 @@
1
- /// <reference types="react" />
2
- import { AIAssistBotConfiguration, AIAssistBotStyle } from "@cometchat/uikit-shared";
3
- import { ActionSheetStyle, AvatarStyle, MessageInputStyle, ReceiptStyle } from "@cometchat/uikit-elements";
4
- import { CometChatTheme } from "@cometchat/uikit-resources";
5
- export declare const getContainerStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => import("react").CSSProperties;
6
- export declare const getBotsContainerStyle: () => import("react").CSSProperties;
7
- export declare const getBotTitleStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => import("react").CSSProperties;
8
- export declare const getBackButtonStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => {
9
- height: string;
10
- width: string;
11
- buttonIconTint: string;
12
- border: string;
13
- borderRadius: string;
14
- background: string;
15
- display: string;
16
- justifyContent: string;
17
- };
18
- export declare const getOptionsContainerStyle: () => import("react").CSSProperties;
19
- export declare const getOptionStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => ActionSheetStyle;
20
- export declare const getBotBackgroundStyle: (theme?: CometChatTheme) => import("react").CSSProperties;
21
- export declare const getBotChatContainerStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => import("react").CSSProperties;
22
- export declare const getBotChatHeaderStyle: (theme?: CometChatTheme) => import("react").CSSProperties;
23
- export declare const getAvatarStyle: (style: AvatarStyle) => AvatarStyle;
24
- export declare const getBotHeaderTitleStyle: (style: AIAssistBotStyle | undefined, theme: CometChatTheme) => import("react").CSSProperties;
25
- export declare const getBotHeaderSubtitleStyle: (style: AIAssistBotStyle | undefined, theme: CometChatTheme) => import("react").CSSProperties;
26
- export declare const getCloseButtonStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => import("react").CSSProperties;
27
- export declare const getMessageBubbleStyle: (message: CometChat.TextMessage, theme: CometChatTheme, sender: CometChat.User, configuration: AIAssistBotConfiguration) => {
28
- background: string | undefined;
29
- borderRadius: string;
30
- border: string;
31
- };
32
- export declare const getMessageListFooterStyle: () => import("react").CSSProperties;
33
- export declare const getMessageInputStyle: (style: MessageInputStyle, theme: CometChatTheme) => MessageInputStyle;
34
- export declare const getSendButtonStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => import("react").CSSProperties;
35
- export declare const getMessageBubbleDateStyle: (theme: CometChatTheme) => import("react").CSSProperties;
36
- export declare const getMessageReceiptStyle: (style: AIAssistBotStyle, theme: CometChatTheme) => ReceiptStyle;
37
- export declare const getMessageBubbleContainerStyle: (message: CometChat.TextMessage, sender: CometChat.User) => import("react").CSSProperties;
@@ -1,5 +0,0 @@
1
- import { AIAssistBotConfiguration } from "@cometchat/uikit-shared";
2
- import { CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
3
- export declare const getBubbleAlignment: (message: CometChat.TextMessage, sender: CometChat.User) => MessageBubbleAlignment;
4
- export declare const getContentView: (message: CometChat.TextMessage, theme: CometChatTheme, alignment: MessageBubbleAlignment, configuration: AIAssistBotConfiguration) => JSX.Element;
5
- export declare const getBubbleFooterView: (item: CometChat.TextMessage, configuration: AIAssistBotConfiguration, theme: CometChatTheme) => JSX.Element;
@@ -1,20 +0,0 @@
1
- import { CometChatTheme } from "@cometchat/uikit-resources";
2
- import { DataSource } from "../../Shared/Framework/DataSource";
3
- import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
4
- import { AIConversationStarterConfiguration } from "@cometchat/uikit-shared";
5
- export declare class AIConversationStarterDecorator extends DataSourceDecorator {
6
- configuration?: AIConversationStarterConfiguration;
7
- newDataSource: DataSource;
8
- currentMessage: CometChat.BaseMessage | null;
9
- loggedInUser: CometChat.User | null;
10
- user: CometChat.User;
11
- group: CometChat.Group;
12
- theme: CometChatTheme;
13
- constructor(dataSource: DataSource, configuration?: AIConversationStarterConfiguration);
14
- getId(): string;
15
- editReply(reply: string): void;
16
- closeIfMessageReceived(message: CometChat.BaseMessage): void;
17
- getConversationStarter: (theme?: CometChatTheme) => Promise<string[]>;
18
- private loadConversationStarter;
19
- private addMessageListener;
20
- }
@@ -1,8 +0,0 @@
1
- import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2
- import { AIConversationStarterConfiguration } from "@cometchat/uikit-shared";
3
- export declare class AIConversationStarterExtension extends AIExtensionDataSource {
4
- private configuration?;
5
- constructor(configuration?: AIConversationStarterConfiguration);
6
- addExtension(): void;
7
- getExtensionId(): string;
8
- }
@@ -1,9 +0,0 @@
1
- import { AIConversationStarterConfiguration } from '@cometchat/uikit-shared';
2
- import { CometChatTheme } from '@cometchat/uikit-resources';
3
- interface IAIConversationStarterProps {
4
- getConversationStarterCallback?: (theme?: CometChatTheme) => Promise<string[]>;
5
- editReplyCallback?: (reply: string) => void;
6
- configuration?: AIConversationStarterConfiguration;
7
- }
8
- declare const AIConversationStarterView: (props: IAIConversationStarterProps) => import("react/jsx-runtime").JSX.Element;
9
- export default AIConversationStarterView;
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChatTheme } from "@cometchat/uikit-resources";
3
- import { AIConversationStarterStyle } from "@cometchat/uikit-shared";
4
- export declare const getContainerStyle: (style?: AIConversationStarterStyle) => {
5
- display: string;
6
- overflow: string;
7
- width: string;
8
- height: string;
9
- justifyContent: string;
10
- alignItems: string;
11
- minHeight: string;
12
- };
13
- export declare const contentContainerStyle: React.CSSProperties;
14
- export declare const getConversationStarterStyle: (theme?: CometChatTheme, style?: AIConversationStarterStyle) => {
15
- replyTextFont: string;
16
- replyTextColor: string | undefined;
17
- replyBackground: string;
18
- boxShadow: string;
19
- background: string;
20
- width: string;
21
- height: string;
22
- border: string;
23
- borderRadius: string;
24
- display: string;
25
- justifyContent: string;
26
- };
@@ -1,22 +0,0 @@
1
- import { CometChatTheme, CometChatMessageComposerAction, CometChatActionsView } from "@cometchat/uikit-resources";
2
- import { DataSource } from "../../Shared/Framework/DataSource";
3
- import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
4
- import { AIConversationSummaryConfiguration, AIOptionsStyle } from "@cometchat/uikit-shared";
5
- export declare class AIConversationSummaryDecorator extends DataSourceDecorator {
6
- configuration?: AIConversationSummaryConfiguration;
7
- newDataSource: DataSource;
8
- currentMessage: CometChat.BaseMessage | null;
9
- unreadMessageCount: number;
10
- loggedInUser: CometChat.User | null;
11
- user: CometChat.User;
12
- group: CometChat.Group;
13
- theme: CometChatTheme;
14
- private LISTENER_ID;
15
- constructor(dataSource: DataSource, configuration?: AIConversationSummaryConfiguration);
16
- getId(): string;
17
- closePanel: () => void;
18
- getConversationSummary: (theme?: CometChatTheme) => Promise<string>;
19
- private loadConversationSummary;
20
- getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
21
- private addMessageListener;
22
- }
@@ -1,8 +0,0 @@
1
- import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2
- import { AIConversationSummaryConfiguration } from "@cometchat/uikit-shared";
3
- export declare class AIConversationSummaryExtension extends AIExtensionDataSource {
4
- private configuration?;
5
- constructor(configuration?: AIConversationSummaryConfiguration);
6
- addExtension(): void;
7
- getExtensionId(): string;
8
- }
@@ -1,10 +0,0 @@
1
- import { AIConversationSummaryConfiguration } from '@cometchat/uikit-shared';
2
- import { CometChatTheme } from '@cometchat/uikit-resources';
3
- interface IAIConversationSummaryProps {
4
- getConversationSummaryCallback?: (theme?: CometChatTheme) => Promise<string>;
5
- editReplyCallback?: (reply: string) => void;
6
- closeCallback?: () => void;
7
- configuration?: AIConversationSummaryConfiguration;
8
- }
9
- declare const AIConversationSummaryView: (props: IAIConversationSummaryProps) => import("react/jsx-runtime").JSX.Element;
10
- export default AIConversationSummaryView;
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChatTheme } from "@cometchat/uikit-resources";
3
- import { AIConversationSummaryStyle } from "@cometchat/uikit-shared";
4
- import { PanelStyle } from "@cometchat/uikit-elements";
5
- export declare const getContainerStyle: (style?: AIConversationSummaryStyle) => {
6
- display: string;
7
- overflow: string;
8
- width: string;
9
- height: string;
10
- justifyContent: string;
11
- alignItems: string;
12
- minHeight: string;
13
- };
14
- export declare const contentContainerStyle: React.CSSProperties;
15
- export declare const getConversationSummaryStyle: (theme?: CometChatTheme, style?: AIConversationSummaryStyle) => {
16
- replyTextFont: string;
17
- replyTextColor: string | undefined;
18
- replyBackground: string;
19
- boxShadow: string;
20
- background: string;
21
- width: string;
22
- height: string;
23
- border: string;
24
- borderRadius: string;
25
- display: string;
26
- justifyContent: string;
27
- };
28
- export declare const getPanelStyle: (theme: CometChatTheme, summaryStyle: AIConversationSummaryStyle) => PanelStyle;
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- import { CometChatTheme, CometChatMessageComposerAction, CometChatActionsView } from "@cometchat/uikit-resources";
3
- import { DataSource } from "../../Shared/Framework/DataSource";
4
- import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
5
- import { CometChatButton } from "../../Shared/Views/CometChatButton";
6
- import { AIOptionsStyle, AISmartRepliesConfiguration } from "@cometchat/uikit-shared";
7
- export declare class AISmartRepliesDecorator extends DataSourceDecorator {
8
- configuration?: AISmartRepliesConfiguration;
9
- newDataSource: DataSource;
10
- loggedInUser: CometChat.User | null;
11
- user: CometChat.User;
12
- group: CometChat.Group;
13
- theme: CometChatTheme;
14
- buttonRef: any;
15
- isModalClosed: boolean;
16
- private closeCallback?;
17
- constructor(dataSource: DataSource, configuration?: AISmartRepliesConfiguration);
18
- childRefCallback: (childRef: React.RefObject<typeof CometChatButton>) => void;
19
- getId(): string;
20
- editReply(reply: string): void;
21
- closeIfMessageReceived(message: CometChat.BaseMessage): void;
22
- getSmartReplies: (theme?: CometChatTheme) => Promise<string[]>;
23
- getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
24
- private addMessageListener;
25
- }
@@ -1,8 +0,0 @@
1
- import { AIExtensionDataSource } from "../../Shared/Framework/AIExtensionDataSource";
2
- import { AISmartRepliesConfiguration } from "@cometchat/uikit-shared";
3
- export declare class AISmartRepliesExtension extends AIExtensionDataSource {
4
- private configuration?;
5
- constructor(configuration?: AISmartRepliesConfiguration);
6
- addExtension(): void;
7
- getExtensionId(): string;
8
- }
@@ -1,12 +0,0 @@
1
- import { AISmartRepliesConfiguration } from '@cometchat/uikit-shared';
2
- import { CometChatTheme } from '@cometchat/uikit-resources';
3
- interface IAISmartRepliesProps {
4
- title: string;
5
- getSmartRepliesCallback?: (theme?: CometChatTheme) => Promise<Object>;
6
- editReplyCallback?: (reply: string) => void;
7
- closeCallback?: () => void;
8
- backCallback?: () => void;
9
- configuration?: AISmartRepliesConfiguration;
10
- }
11
- declare const AISmartRepliesView: (props: IAISmartRepliesProps) => import("react/jsx-runtime").JSX.Element;
12
- export default AISmartRepliesView;
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import { AISmartRepliesStyle } from "@cometchat/uikit-shared";
3
- import { CometChatTheme } from "@cometchat/uikit-resources";
4
- export declare const getContainerStyle: (style?: AISmartRepliesStyle, theme?: CometChatTheme) => {
5
- display: string;
6
- width: string;
7
- height: string;
8
- justifyContent: string;
9
- alignItems: string;
10
- minHeight: string;
11
- background: string | undefined;
12
- borderRadius: string;
13
- };
14
- export declare const contentContainerStyle: React.CSSProperties;
15
- export declare const getSmartReplyStyle: (theme?: CometChatTheme, style?: AISmartRepliesStyle) => {
16
- replyTextFont: string;
17
- replyTextColor: string | undefined;
18
- replyBackground: string;
19
- boxShadow: string;
20
- background: string;
21
- border: string;
22
- borderRadius: string;
23
- display: string;
24
- justifyContent: string;
25
- };
26
- export declare function getBackButtonStyle(style?: AISmartRepliesStyle, theme?: CometChatTheme): any;
27
- export declare function getSmartRepliesContainerStyle(): any;
28
- export declare function getSmartRepliesTitleStyle(style?: AISmartRepliesStyle, theme?: CometChatTheme): any;
@@ -1,8 +0,0 @@
1
- import { CallingConfiguration, CallingExtensionDataSource } from '@cometchat/uikit-shared';
2
- export declare class CallingExtension extends CallingExtensionDataSource {
3
- private configuration?;
4
- constructor(configuration?: CallingConfiguration);
5
- enable(): void;
6
- addExtension(): void;
7
- getExtensionId(): string;
8
- }
@@ -1,75 +0,0 @@
1
- import { CometChatMessageTemplate, CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
2
- import { CallingConfiguration } from "@cometchat/uikit-shared";
3
- import { DataSource } from "../Shared/Framework/DataSource";
4
- import { DataSourceDecorator } from "../Shared/Framework/DataSourceDecorator";
5
- export declare class CallingExtensionDecorator extends DataSourceDecorator {
6
- theme: CometChatTheme;
7
- loggedInUser: CometChat.User | null;
8
- configuration?: CallingConfiguration;
9
- constructor(dataSource: DataSource, configuration?: CallingConfiguration);
10
- addLoginListener(): void;
11
- getLoggedInUser(): Promise<void>;
12
- getAllMessageTypes(): string[];
13
- getId(): string;
14
- getAllMessageCategories(): string[];
15
- checkIfTemplateTypeExist(template: CometChatMessageTemplate[], type: string): boolean;
16
- checkIfTemplateCategoryExist(template: CometChatMessageTemplate[], category: string): boolean;
17
- getAllMessageTemplates(_theme?: CometChatTheme | undefined, additionalConfigurations?: any): CometChatMessageTemplate[];
18
- getDirectCallTemplate(_theme: CometChatTheme): CometChatMessageTemplate;
19
- getDefaultCallTemplate(_theme: CometChatTheme): CometChatMessageTemplate[];
20
- getCallBubbleStyle(_alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
21
- titleFont: string;
22
- titleColor: string | undefined;
23
- iconTint: string | undefined;
24
- buttonTextFont: string;
25
- buttonTextColor: string | undefined;
26
- buttonBackground: string | undefined;
27
- width: string;
28
- background: string | undefined;
29
- borderRadius: string;
30
- } | {
31
- titleFont: string;
32
- titleColor: string | undefined;
33
- iconTint: string | undefined;
34
- buttonTextFont: string;
35
- buttonTextColor: string | undefined;
36
- buttonBackground: string | undefined;
37
- width: string;
38
- borderRadius: string;
39
- background?: undefined;
40
- };
41
- getSessionId(_message: CometChat.CustomMessage): any;
42
- getCallBubbleTitle(_message: CometChat.CustomMessage): any;
43
- getDirectCallMessageBubble(_message: CometChat.CustomMessage, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
44
- startDirectCall(sessionId: string, message: CometChat.CustomMessage, theme: CometChatTheme): void;
45
- callStatusStyle(_message: CometChat.Call, theme: CometChatTheme): {
46
- buttonTextFont: string;
47
- buttonTextColor: string | undefined;
48
- borderRadius: string;
49
- border: string;
50
- buttonIconTint: string | undefined;
51
- background: string;
52
- iconBackground: string;
53
- padding: string;
54
- gap: string;
55
- height: string;
56
- justifyContent: string;
57
- } | {
58
- buttonTextFont?: undefined;
59
- buttonTextColor?: undefined;
60
- borderRadius?: undefined;
61
- border?: undefined;
62
- buttonIconTint?: undefined;
63
- background?: undefined;
64
- iconBackground?: undefined;
65
- padding?: undefined;
66
- gap?: undefined;
67
- height?: undefined;
68
- justifyContent?: undefined;
69
- };
70
- getCallActionMessage(_message: CometChat.Call): string;
71
- getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
72
- getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
73
- getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
74
- getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): any[];
75
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare function Hooks(loggedInUser: any, setLoggedInUser: Function, user: any, group: any, subscribeToEvents: Function, onErrorCallback: Function, attachListeners: Function, removeListener: Function, setActiveUser: any, setActiveGroup: any, audioCallButtonRef: any, videoCallButtonRef: any, initiateAudioCall: Function, initiateVideoCall: Function, disableButtons: boolean, onVoiceCallClickRef: React.MutableRefObject<Function | undefined>, onVideoCallClickRef: React.MutableRefObject<Function | undefined>): void;
3
- export { Hooks };
@@ -1,19 +0,0 @@
1
- import { CallButtonsStyle, CallScreenConfiguration, OutgoingCallConfiguration } from "@cometchat/uikit-shared";
2
- interface ICallButtonsBaseProps {
3
- voiceCallIconURL?: string;
4
- voiceCallIconText?: string;
5
- voiceCallIconHoverText?: string;
6
- videoCallIconURL?: string;
7
- videoCallIconText?: string;
8
- videoCallIconHoverText?: string;
9
- callButtonsStyle?: CallButtonsStyle;
10
- onVoiceCallClick?: () => void;
11
- onVideoCallClick?: () => void;
12
- onError?: (error: CometChat.CometChatException) => void;
13
- user?: CometChat.User | null;
14
- group?: CometChat.Group | null;
15
- outgoingCallConfiguration?: OutgoingCallConfiguration;
16
- ongoingCallConfiguration?: CallScreenConfiguration;
17
- }
18
- declare const CometChatCallButtons: (props: ICallButtonsBaseProps) => import("react/jsx-runtime").JSX.Element;
19
- export { CometChatCallButtons };
@@ -1,28 +0,0 @@
1
- import { CallButtonsStyle, OutgoingCallStyle } from "@cometchat/uikit-shared";
2
- import { CallscreenStyle } from "@cometchat/uikit-elements";
3
- import { CometChatTheme } from "@cometchat/uikit-resources";
4
- import { CSSProperties } from "react";
5
- export declare const CallButtonsWrapperStyle: (callButtonStyle: CallButtonsStyle) => {
6
- height: string | undefined;
7
- width: string | undefined;
8
- background: string | undefined;
9
- border: string | undefined;
10
- borderRadius: string | undefined;
11
- display: string;
12
- justifyContent: string;
13
- };
14
- export declare const outgoingCallStyle: OutgoingCallStyle;
15
- export declare const buttonStyle: {
16
- height: string;
17
- width: string;
18
- display: string;
19
- flexDirection: string;
20
- justifyContent: string;
21
- alignItems: string;
22
- };
23
- export declare const defaultCallsButtonStyle: (theme: CometChatTheme) => CallButtonsStyle;
24
- export declare const ongoingCallStyle: (theme: CometChatTheme) => CallscreenStyle;
25
- export declare const getVoiceCallButtonTint: (disableButtons: boolean, callButtonStyle: CallButtonsStyle | undefined, theme: CometChatTheme) => string | undefined;
26
- export declare const getVideoCallButtonTint: (disableButtons: boolean, callButtonStyle: CallButtonsStyle | undefined, theme: CometChatTheme) => string | undefined;
27
- export declare const VideoCallButtonStyle: (callButtonStyle: CallButtonsStyle | undefined) => CSSProperties;
28
- export declare const VoiceCallButtonStyle: (callButtonStyle: CallButtonsStyle | undefined) => CSSProperties;
@@ -1,2 +0,0 @@
1
- declare function Hooks(loggedInUser: any, setLoggedInUser: Function, call: any, setTemplates: Function): void;
2
- export { Hooks };
@@ -1,17 +0,0 @@
1
- import { CallLogDetailsStyle, CallLogHistoryConfiguration, CallLogParticipantsConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
2
- import { CometChatDetailsTemplate, CometChatTheme } from "@cometchat/uikit-resources";
3
- import { AvatarStyle } from "@cometchat/uikit-elements";
4
- interface ICallLogDetailsProps {
5
- title?: string;
6
- backIconUrl?: string;
7
- call: CometChat.Call;
8
- onBackClick?: Function;
9
- avatarStyle?: AvatarStyle;
10
- data?: (callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme) => CometChatDetailsTemplate[];
11
- callLogHistoryConfiguration?: CallLogHistoryConfiguration;
12
- callLogParticipantsConfiguration?: CallLogParticipantsConfiguration;
13
- callLogRecordingsConfiguration?: CallLogRecordingsConfiguration;
14
- callLogDetailsStyle?: CallLogDetailsStyle;
15
- }
16
- declare const CometChatCallLogDetails: (props: ICallLogDetailsProps) => import("react/jsx-runtime").JSX.Element;
17
- export { CometChatCallLogDetails };
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChatTheme } from "@cometchat/uikit-resources";
3
- import { CallLogDetailsStyle } from "@cometchat/uikit-shared";
4
- import { ListItemStyle } from "@cometchat/uikit-elements";
5
- export declare function getProfileContainerStyle(): React.CSSProperties;
6
- export declare function getButtonContainerStyle(): React.CSSProperties;
7
- export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogDetailsStyle): {
8
- height: string;
9
- width: string;
10
- border: string;
11
- borderRadius: string;
12
- background: string;
13
- buttonIconTint: string | undefined;
14
- };
15
- export declare function getContainerStyle(theme: CometChatTheme, style: CallLogDetailsStyle): React.CSSProperties;
16
- export declare function getTitleStyle(theme: CometChatTheme, style: CallLogDetailsStyle): {
17
- font: string;
18
- color: string | undefined;
19
- background: string;
20
- };
21
- export declare function getListItemStyle(theme: CometChatTheme, style: any): ListItemStyle;
@@ -1,2 +0,0 @@
1
- declare function Hooks(loggedInUser: any, setLoggedInUser: Function, requestBuilder: any, setRequestBuilder: Function, getCallList: Function, onErrorCallback: Function): void;
2
- export { Hooks };
@@ -1,27 +0,0 @@
1
- import { CallLogHistoryStyle } from "@cometchat/uikit-shared";
2
- import { DatePatterns } from "@cometchat/uikit-resources";
3
- import { ListItemStyle } from "@cometchat/uikit-elements";
4
- interface ICallLogHistoryProps {
5
- title?: string;
6
- emptyStateText?: string;
7
- errorStateText?: string;
8
- backIconUrl?: string;
9
- loadingIconURL?: string;
10
- emptyStateView?: any;
11
- loadingStateView?: any;
12
- errorStateView?: any;
13
- subtitleView?: any;
14
- tailView?: any;
15
- callLogRequestBuilder?: any;
16
- callUser?: any;
17
- callGroup?: any;
18
- onItemClick?: Function;
19
- onBackClick?: Function;
20
- onError?: Function;
21
- datePattern?: DatePatterns;
22
- dateSeparatorPattern?: DatePatterns;
23
- listItemStyle?: ListItemStyle;
24
- callLogHistoryStyle?: CallLogHistoryStyle;
25
- }
26
- declare const CometChatCallLogHistory: (props: ICallLogHistoryProps) => import("react/jsx-runtime").JSX.Element;
27
- export { CometChatCallLogHistory };
@@ -1,41 +0,0 @@
1
- /// <reference types="react" />
2
- import { AvatarStyle, DateStyle, ListItemStyle } from "@cometchat/uikit-elements";
3
- import { CallLogHistoryStyle, ListStyle } from "@cometchat/uikit-shared";
4
- import { CometChatTheme } from "@cometchat/uikit-resources";
5
- export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogHistoryStyle): DateStyle;
6
- export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
7
- export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
8
- export declare function getCallStatusStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
9
- font: string;
10
- color: string | undefined;
11
- };
12
- export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogHistoryStyle): React.CSSProperties;
13
- export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogHistoryStyle): ListStyle;
14
- export declare function getCallDurationStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
15
- font: string;
16
- color: string | undefined;
17
- };
18
- export declare function getButtonContainerStyle(): React.CSSProperties;
19
- export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
20
- height: string;
21
- width: string;
22
- border: string;
23
- borderRadius: string;
24
- background: string;
25
- buttonIconTint: string | undefined;
26
- };
27
- export declare function getDateSeparator(theme: CometChatTheme, style: CallLogHistoryStyle): {
28
- textFont: string;
29
- textColor: string | undefined;
30
- background: string;
31
- };
32
- export declare function getDividerStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
33
- height: string;
34
- width: string;
35
- background: string | undefined;
36
- };
37
- export declare function getTitleStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
38
- font: string;
39
- color: string | undefined;
40
- background: string;
41
- };
@@ -1,19 +0,0 @@
1
- import { CallLogParticipantsStyle } from "@cometchat/uikit-shared";
2
- import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
3
- import { DatePatterns } from "@cometchat/uikit-resources";
4
- interface ICallLogParticipantsProps {
5
- title?: string;
6
- backIconUrl?: string;
7
- call: any;
8
- datePattern?: DatePatterns;
9
- avatarStyle?: AvatarStyle;
10
- listItemStyle?: ListItemStyle;
11
- callLogParticipantsStyle?: CallLogParticipantsStyle;
12
- listItemView?: any;
13
- subtitleView?: any;
14
- tailView?: any;
15
- onBackClick?: Function;
16
- onItemClick?: Function;
17
- }
18
- declare const CometChatCallLogParticipants: (props: ICallLogParticipantsProps) => import("react/jsx-runtime").JSX.Element;
19
- export { CometChatCallLogParticipants };
@@ -1,31 +0,0 @@
1
- /// <reference types="react" />
2
- import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
3
- import { CallLogParticipantsStyle, ListStyle } from "@cometchat/uikit-shared";
4
- import { CometChatTheme } from "@cometchat/uikit-resources";
5
- export declare function getButtonContainerStyle(): React.CSSProperties;
6
- export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
7
- height: string;
8
- width: string;
9
- border: string;
10
- borderRadius: string;
11
- background: string;
12
- buttonIconTint: string | undefined;
13
- };
14
- export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogParticipantsStyle): ListStyle;
15
- export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
16
- export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
17
- export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): React.CSSProperties;
18
- export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
19
- textColor: string | undefined;
20
- textFont: string;
21
- font: string;
22
- color: string | undefined;
23
- background: string;
24
- padding: string;
25
- };
26
- export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogParticipantsStyle): React.CSSProperties;
27
- export declare function getTitleStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
28
- font: string;
29
- color: string | undefined;
30
- background: string;
31
- };