@cometchat/chat-uikit-react-native 4.3.11 → 4.3.12

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 (556) hide show
  1. package/lib/AI/AIAssistBot/AIAssistBotView.js +4 -4
  2. package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -1
  3. package/lib/CometChatAddMembers/CometChatAddMembers.js +22 -13
  4. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -1
  5. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +3 -0
  6. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -1
  7. package/lib/CometChatConversations/CometChatConversations.js +151 -25
  8. package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
  9. package/lib/CometChatConversations/ConversationsConfiguration.js +15 -5
  10. package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -1
  11. package/lib/CometChatDetails/CometChatDetails.js +13 -9
  12. package/lib/CometChatDetails/CometChatDetails.js.map +1 -1
  13. package/lib/CometChatDetails/listners.js +41 -19
  14. package/lib/CometChatDetails/listners.js.map +1 -1
  15. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +24 -7
  16. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
  17. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +14 -2
  18. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -1
  19. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +2 -2
  20. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -1
  21. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +14 -6
  22. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
  23. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +4 -9
  24. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
  25. package/lib/CometChatMessageList/CometChatMessageList.js +92 -58
  26. package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
  27. package/lib/CometChatMessageList/MessageListConfiguration.js +7 -1
  28. package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -1
  29. package/lib/CometChatMessages/CometChatMessages.js +1 -1
  30. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +1 -1
  31. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -1
  32. package/lib/CometChatUsers/CometChatUsers.js +2 -2
  33. package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
  34. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +2 -2
  35. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -1
  36. package/lib/calls/CallEvents.d.ts +1 -1
  37. package/lib/calls/CallEvents.js +1 -1
  38. package/lib/calls/CallEvents.js.map +1 -1
  39. package/lib/calls/CallingExtentionDecorator.d.ts +3 -2
  40. package/lib/calls/CallingExtentionDecorator.js +1 -1
  41. package/lib/calls/CallingExtentionDecorator.js.map +1 -1
  42. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +5 -2
  43. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
  44. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +1 -1
  45. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -1
  46. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +1 -1
  47. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
  48. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +2 -2
  49. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
  50. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +1 -1
  51. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +3 -0
  52. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
  53. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +1 -1
  54. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +3 -0
  55. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
  56. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -1
  57. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
  58. package/lib/extensions/Polls/PollsDecorator.d.ts +1 -2
  59. package/lib/extensions/Polls/PollsDecorator.js +7 -10
  60. package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
  61. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +2 -2
  62. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
  63. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +1 -1
  64. package/lib/extensions/Stickers/StickersExtensionDecorator.js +7 -1
  65. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
  66. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +1 -1
  67. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -1
  68. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +1 -1
  69. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
  70. package/lib/index.d.ts +2 -2
  71. package/lib/index.js +4 -2
  72. package/lib/index.js.map +1 -1
  73. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +4 -2
  74. package/lib/shared/CometChatUiKit/CometChatUIKit.js +27 -10
  75. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
  76. package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +4 -3
  77. package/lib/shared/CometChatUiKit/UIKitSettings.js +3 -2
  78. package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -1
  79. package/lib/shared/base/Types.d.ts +8 -0
  80. package/lib/shared/base/index.d.ts +2 -2
  81. package/lib/shared/base/index.js.map +1 -1
  82. package/lib/shared/constants/UIKitConstants.d.ts +2 -10
  83. package/lib/shared/constants/UIKitConstants.js +2 -2
  84. package/lib/shared/constants/UIKitConstants.js.map +1 -1
  85. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +3 -0
  86. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
  87. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +3 -3
  88. package/lib/shared/events/CometChatUIEventHandler/Listener.js +4 -4
  89. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
  90. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +3 -1
  91. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -1
  92. package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -1
  93. package/lib/shared/framework/DataSourceDecorator.d.ts +2 -3
  94. package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
  95. package/lib/shared/framework/MessageDataSource.js +38 -16
  96. package/lib/shared/framework/MessageDataSource.js.map +1 -1
  97. package/lib/shared/index.d.ts +4 -4
  98. package/lib/shared/index.js +3 -3
  99. package/lib/shared/index.js.map +1 -1
  100. package/lib/shared/libs/VideoPlayer/Video.js +4 -5
  101. package/lib/shared/libs/VideoPlayer/Video.js.map +1 -1
  102. package/lib/shared/modals/CometChatMessageTemplate.js +8 -1
  103. package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
  104. package/lib/shared/modals/InteractiveData/InteractiveElements/index.d.ts +1 -0
  105. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +1 -0
  106. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js.map +1 -1
  107. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +1 -2
  108. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -1
  109. package/lib/shared/modals/InteractiveData/index.d.ts +1 -1
  110. package/lib/shared/modals/InteractiveData/index.js +1 -1
  111. package/lib/shared/modals/InteractiveData/index.js.map +1 -1
  112. package/lib/shared/modals/index.d.ts +2 -2
  113. package/lib/shared/modals/index.js +2 -2
  114. package/lib/shared/modals/index.js.map +1 -1
  115. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +28 -0
  116. package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +3 -1
  117. package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +3 -1
  118. package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +3 -1
  119. package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +3 -1
  120. package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +3 -1
  121. package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +3 -1
  122. package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +3 -1
  123. package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +3 -1
  124. package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +3 -1
  125. package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +3 -1
  126. package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +3 -1
  127. package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +3 -1
  128. package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +3 -1
  129. package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +3 -1
  130. package/lib/shared/utils/CometChatMessageHelper/index.d.ts +1 -0
  131. package/lib/shared/utils/CometChatMessageHelper/index.js +3 -0
  132. package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -1
  133. package/lib/shared/utils/MessageUtils.d.ts +1 -1
  134. package/lib/shared/utils/MessageUtils.js +6 -1
  135. package/lib/shared/utils/MessageUtils.js.map +1 -1
  136. package/lib/shared/utils/PermissionUtil.js +1 -1
  137. package/lib/shared/utils/PermissionUtil.js.map +1 -1
  138. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +1 -1
  139. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -1
  140. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +2 -3
  141. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -1
  142. package/lib/shared/views/CometChatList/CometChatList.js +37 -18
  143. package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
  144. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +19 -4
  145. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
  146. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
  147. package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +1 -1
  148. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +1 -1
  149. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +3 -5
  150. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -1
  151. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +1 -1
  152. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
  153. package/lib/shared/views/index.d.ts +2 -1
  154. package/lib/shared/views/index.js +2 -1
  155. package/lib/shared/views/index.js.map +1 -1
  156. package/package.json +1 -1
  157. package/src/AI/AIAssistBot/AIAssistBotView.tsx +4 -4
  158. package/src/CometChatAddMembers/CometChatAddMembers.tsx +30 -20
  159. package/src/CometChatConversations/CometChatConversations.tsx +4 -9
  160. package/src/CometChatDetails/listners.ts +56 -35
  161. package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +5 -5
  162. package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +4 -3
  163. package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +41 -50
  164. package/src/CometChatMessageList/CometChatMessageList.tsx +51 -37
  165. package/src/CometChatUsers/CometChatUsers.tsx +2 -2
  166. package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +2 -1
  167. package/src/extensions/SmartReplies/SmartRepliesDecorator.tsx +2 -1
  168. package/src/extensions/Stickers/StickersExtensionDecorator.tsx +2 -1
  169. package/src/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.tsx +6 -6
  170. package/src/extensions/ThumbnailGeneration/resources/index.ts +2 -2
  171. package/src/shared/CometChatUiKit/CometChatUIKit.ts +8 -8
  172. package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +3 -2
  173. package/src/shared/resources/CometChatLocalize/resources/de/translation.json +3 -1
  174. package/src/shared/resources/CometChatLocalize/resources/en/translation.json +3 -1
  175. package/src/shared/resources/CometChatLocalize/resources/es/translation.json +3 -1
  176. package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +3 -1
  177. package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +3 -1
  178. package/src/shared/resources/CometChatLocalize/resources/hu/translation.json +3 -1
  179. package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +3 -1
  180. package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +3 -1
  181. package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +3 -2
  182. package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +3 -1
  183. package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +3 -1
  184. package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +3 -1
  185. package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +3 -1
  186. package/src/shared/utils/CometChatMessageHelper/index.ts +4 -0
  187. package/src/shared/utils/PermissionUtil.ts +1 -1
  188. package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +10 -3
  189. package/src/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.tsx +20 -4
  190. package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +8 -1
  191. package/src/shared/views/CometChatVideoBubble/VideoBubbleStyle.ts +1 -1
  192. package/lib/AI/AIAssistBot/resources/CloseIcon.png +0 -0
  193. package/lib/AI/AIConversationSummary/resources/close.png +0 -0
  194. package/lib/AI/resources/ai-empty.png +0 -0
  195. package/lib/AI/resources/ai-error.png +0 -0
  196. package/lib/AI/resources/spineer.png +0 -0
  197. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +0 -43
  198. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +0 -46
  199. package/lib/CometChatBannedMembers/resources/clear.png +0 -0
  200. package/lib/CometChatContacts/Header.d.ts +0 -31
  201. package/lib/CometChatConversations/CometChatConversations.d.ts +0 -199
  202. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +0 -96
  203. package/lib/CometChatConversations/resources/back.png +0 -0
  204. package/lib/CometChatConversations/resources/blue-double-tick-icon.png +0 -0
  205. package/lib/CometChatConversations/resources/close.png +0 -0
  206. package/lib/CometChatConversations/resources/delete.png +0 -0
  207. package/lib/CometChatConversations/resources/error.png +0 -0
  208. package/lib/CometChatConversations/resources/grey-double-tick-icon.png +0 -0
  209. package/lib/CometChatConversations/resources/grey-tick-icon.png +0 -0
  210. package/lib/CometChatConversations/resources/new.png +0 -0
  211. package/lib/CometChatConversations/resources/password.png +0 -0
  212. package/lib/CometChatConversations/resources/private.png +0 -0
  213. package/lib/CometChatConversations/resources/rightTick.png +0 -0
  214. package/lib/CometChatConversations/resources/sending.png +0 -0
  215. package/lib/CometChatConversations/resources/spineer.png +0 -0
  216. package/lib/CometChatConversationsWithMessages/resources/start.png +0 -0
  217. package/lib/CometChatCreateGroup/resources/close.png +0 -0
  218. package/lib/CometChatCreateGroup/resources/rightTick.png +0 -0
  219. package/lib/CometChatCreateGroup/resources/warning.png +0 -0
  220. package/lib/CometChatDetails/CometChatDetails.d.ts +0 -281
  221. package/lib/CometChatDetails/DetailsConfiguration.d.ts +0 -36
  222. package/lib/CometChatDetails/resources/Back.png +0 -0
  223. package/lib/CometChatDetails/resources/close.png +0 -0
  224. package/lib/CometChatDetails/resources/password.png +0 -0
  225. package/lib/CometChatDetails/resources/private.png +0 -0
  226. package/lib/CometChatDetails/resources/right-arrow.png +0 -0
  227. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -96
  228. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +0 -63
  229. package/lib/CometChatGroupMembers/resources/banIcon.png +0 -0
  230. package/lib/CometChatGroupMembers/resources/check.png +0 -0
  231. package/lib/CometChatGroupMembers/resources/downArrowIcon.png +0 -0
  232. package/lib/CometChatGroupMembers/resources/kickIcon.png +0 -0
  233. package/lib/CometChatGroupMembers/resources/rightTick.png +0 -0
  234. package/lib/CometChatGroups/CometChatGroups.d.ts +0 -141
  235. package/lib/CometChatGroups/GroupsConfiguration.d.ts +0 -74
  236. package/lib/CometChatGroups/resources/back.png +0 -0
  237. package/lib/CometChatGroups/resources/check.png +0 -0
  238. package/lib/CometChatGroups/resources/close.png +0 -0
  239. package/lib/CometChatGroups/resources/create.png +0 -0
  240. package/lib/CometChatGroups/resources/more.png +0 -0
  241. package/lib/CometChatGroups/resources/password.png +0 -0
  242. package/lib/CometChatGroups/resources/private.png +0 -0
  243. package/lib/CometChatGroups/resources/rightTick.png +0 -0
  244. package/lib/CometChatGroups/resources/search.png +0 -0
  245. package/lib/CometChatGroups/resources/spineer.png +0 -0
  246. package/lib/CometChatGroupsWithMessages/resources/write.png +0 -0
  247. package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
  248. package/lib/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
  249. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -269
  250. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +0 -47
  251. package/lib/CometChatMessageComposer/resources/Info.png +0 -0
  252. package/lib/CometChatMessageComposer/resources/ai.png +0 -0
  253. package/lib/CometChatMessageComposer/resources/circle_add.png +0 -0
  254. package/lib/CometChatMessageComposer/resources/close.png +0 -0
  255. package/lib/CometChatMessageComposer/resources/emoji.png +0 -0
  256. package/lib/CometChatMessageComposer/resources/heart.png +0 -0
  257. package/lib/CometChatMessageComposer/resources/image.png +0 -0
  258. package/lib/CometChatMessageComposer/resources/microphone.png +0 -0
  259. package/lib/CometChatMessageComposer/resources/send_message.png +0 -0
  260. package/lib/CometChatMessageComposer/resources/stickers.png +0 -0
  261. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -150
  262. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +0 -37
  263. package/lib/CometChatMessageHeader/resources/Back.png +0 -0
  264. package/lib/CometChatMessageHeader/resources/password.png +0 -0
  265. package/lib/CometChatMessageHeader/resources/private.png +0 -0
  266. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -36
  267. package/lib/CometChatMessageInformation/resources/Spineer.png +0 -0
  268. package/lib/CometChatMessageList/CometChatMessageList.d.ts +0 -75
  269. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +0 -101
  270. package/lib/CometChatMessageList/resources/back.png +0 -0
  271. package/lib/CometChatMessageList/resources/close.png +0 -0
  272. package/lib/CometChatMessageList/resources/downArrowIcon.png +0 -0
  273. package/lib/CometChatMessageList/resources/leftarrowcurve.png +0 -0
  274. package/lib/CometChatMessageList/resources/rightArrowIcon.png +0 -0
  275. package/lib/CometChatMessageList/resources/rightarrowcurve.png +0 -0
  276. package/lib/CometChatMessageList/resources/spineer.png +0 -0
  277. package/lib/CometChatMessages/CometChatMessages.d.ts +0 -42
  278. package/lib/CometChatMessages/MessagesConfiguration.d.ts +0 -69
  279. package/lib/CometChatMessages/resources/info.png +0 -0
  280. package/lib/CometChatTabs/TabItems.d.ts +0 -11
  281. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +0 -90
  282. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +0 -18
  283. package/lib/CometChatThreadedMessages/resources/Back.png +0 -0
  284. package/lib/CometChatThreadedMessages/resources/close.png +0 -0
  285. package/lib/CometChatThreadedMessages/resources/more.png +0 -0
  286. package/lib/CometChatThreadedMessages/resources/password.png +0 -0
  287. package/lib/CometChatThreadedMessages/resources/private.png +0 -0
  288. package/lib/CometChatThreadedMessages/resources/right-arrow.png +0 -0
  289. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +0 -41
  290. package/lib/CometChatUsers/CometChatUsers.d.ts +0 -69
  291. package/lib/CometChatUsers/UsersConfiguration.d.ts +0 -43
  292. package/lib/calls/CometChatCallBubble/resources/avatar.png +0 -0
  293. package/lib/calls/CometChatCallBubble/resources/incomingaudiocall.png +0 -0
  294. package/lib/calls/CometChatCallBubble/resources/incomingvideocall.png +0 -0
  295. package/lib/calls/CometChatCallButtons/resources/Call.png +0 -0
  296. package/lib/calls/CometChatCallButtons/resources/Video.png +0 -0
  297. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +0 -54
  298. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +0 -31
  299. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +0 -1
  300. package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +0 -20
  301. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +0 -27
  302. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +0 -1
  303. package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +0 -1
  304. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +0 -137
  305. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +0 -1
  306. package/lib/calls/CometChatCallDetails/index.d.ts +0 -3
  307. package/lib/calls/CometChatCallDetails/index.js +0 -4
  308. package/lib/calls/CometChatCallDetails/index.js.map +0 -1
  309. package/lib/calls/CometChatCallDetails/resources/index.d.ts +0 -2
  310. package/lib/calls/CometChatCallDetails/resources/index.js +0 -3
  311. package/lib/calls/CometChatCallDetails/resources/index.js.map +0 -1
  312. package/lib/calls/CometChatCallDetails/style.d.ts +0 -12
  313. package/lib/calls/CometChatCallDetails/style.js +0 -14
  314. package/lib/calls/CometChatCallDetails/style.js.map +0 -1
  315. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +0 -86
  316. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +0 -39
  317. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +0 -1
  318. package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +0 -13
  319. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +0 -20
  320. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +0 -1
  321. package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +0 -1
  322. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +0 -250
  323. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +0 -1
  324. package/lib/calls/CometChatCallHistory/index.d.ts +0 -3
  325. package/lib/calls/CometChatCallHistory/index.js +0 -4
  326. package/lib/calls/CometChatCallHistory/index.js.map +0 -1
  327. package/lib/calls/CometChatCallHistory/resources/index.d.ts +0 -8
  328. package/lib/calls/CometChatCallHistory/resources/index.js +0 -9
  329. package/lib/calls/CometChatCallHistory/resources/index.js.map +0 -1
  330. package/lib/calls/CometChatCallHistory/style.d.ts +0 -21
  331. package/lib/calls/CometChatCallHistory/style.js +0 -23
  332. package/lib/calls/CometChatCallHistory/style.js.map +0 -1
  333. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +0 -1
  334. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +0 -30
  335. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +0 -1
  336. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +0 -6
  337. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +0 -2
  338. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +0 -1
  339. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +0 -2
  340. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +0 -2
  341. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +0 -1
  342. package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +0 -3
  343. package/lib/calls/CometChatCallHistoryWithDetails/index.js +0 -2
  344. package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +0 -1
  345. package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +0 -8
  346. package/lib/calls/CometChatCallHistoryWithDetails/style.js +0 -10
  347. package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +0 -1
  348. package/lib/calls/CometChatCallLogDetails/resources/CloseIcon.png +0 -0
  349. package/lib/calls/CometChatCallLogHistory/resources/Back.png +0 -0
  350. package/lib/calls/CometChatCallLogHistory/resources/Call.png +0 -0
  351. package/lib/calls/CometChatCallLogHistory/resources/Info.png +0 -0
  352. package/lib/calls/CometChatCallLogHistory/resources/Selection.png +0 -0
  353. package/lib/calls/CometChatCallLogHistory/resources/Spineer.png +0 -0
  354. package/lib/calls/CometChatCallLogHistory/resources/Video.png +0 -0
  355. package/lib/calls/CometChatCallLogHistory/resources/check.png +0 -0
  356. package/lib/calls/CometChatCallLogHistory/resources/incomingcall.png +0 -0
  357. package/lib/calls/CometChatCallLogHistory/resources/incomingvideo.png +0 -0
  358. package/lib/calls/CometChatCallLogHistory/resources/missedcall.png +0 -0
  359. package/lib/calls/CometChatCallLogHistory/resources/missedvideo.png +0 -0
  360. package/lib/calls/CometChatCallLogHistory/resources/outgoingcall.png +0 -0
  361. package/lib/calls/CometChatCallLogHistory/resources/outgoingvideo.png +0 -0
  362. package/lib/calls/CometChatCallLogParticipants/resources/Back.png +0 -0
  363. package/lib/calls/CometChatCallLogRecordings/resources/Back.png +0 -0
  364. package/lib/calls/CometChatCallLogRecordings/resources/download.png +0 -0
  365. package/lib/calls/CometChatCallLogs/resources/Back.png +0 -0
  366. package/lib/calls/CometChatCallLogs/resources/Info.png +0 -0
  367. package/lib/calls/CometChatCallLogs/resources/Selection.png +0 -0
  368. package/lib/calls/CometChatCallLogs/resources/Spinner.png +0 -0
  369. package/lib/calls/CometChatCallLogs/resources/check.png +0 -0
  370. package/lib/calls/CometChatCallLogs/resources/incomingcall.png +0 -0
  371. package/lib/calls/CometChatCallLogs/resources/incomingvideo.png +0 -0
  372. package/lib/calls/CometChatCallLogs/resources/missedcall.png +0 -0
  373. package/lib/calls/CometChatCallLogs/resources/missedvideo.png +0 -0
  374. package/lib/calls/CometChatCallLogs/resources/outgoingcall.png +0 -0
  375. package/lib/calls/CometChatCallLogs/resources/outgoingvideo.png +0 -0
  376. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -21
  377. package/lib/calls/CometChatIncomingCall/resources/Call.png +0 -0
  378. package/lib/calls/CometChatIncomingCall/resources/close.png +0 -0
  379. package/lib/calls/CometChatIncomingCall/resources/incomingaudiocall.png +0 -0
  380. package/lib/calls/CometChatIncomingCall/resources/incomingvideocall.png +0 -0
  381. package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
  382. package/lib/calls/resources/Call.png +0 -0
  383. package/lib/calls/resources/Video.png +0 -0
  384. package/lib/calls/resources/nextarrow.png +0 -0
  385. package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
  386. package/lib/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
  387. package/lib/extensions/CollaborativeDocument/resources/collaborative_document_2x.png +0 -0
  388. package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
  389. package/lib/extensions/CollaborativeWhiteboard/resources/whiteboard.png +0 -0
  390. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +0 -13
  391. package/lib/extensions/ImageModeration/resources/unsafe.png +0 -0
  392. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +0 -12
  393. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +0 -13
  394. package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
  395. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +0 -21
  396. package/lib/extensions/MessageTranslation/resources/translate.png +0 -0
  397. package/lib/extensions/Polls/resources/close.png +0 -0
  398. package/lib/extensions/Polls/resources/document.png +0 -0
  399. package/lib/extensions/Polls/resources/kickIcon.png +0 -0
  400. package/lib/extensions/Polls/resources/rightTick.png +0 -0
  401. package/lib/extensions/Polls/resources/warning.png +0 -0
  402. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +0 -22
  403. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +0 -203
  404. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +0 -1
  405. package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +0 -2
  406. package/lib/extensions/Reactions/CometChatMessageReactions/index.js +0 -3
  407. package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +0 -1
  408. package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +0 -40
  409. package/lib/extensions/Reactions/CometChatMessageReactions/style.js +0 -42
  410. package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +0 -1
  411. package/lib/extensions/Reactions/ReactionsDecorator.d.ts +0 -23
  412. package/lib/extensions/Reactions/ReactionsDecorator.js +0 -113
  413. package/lib/extensions/Reactions/ReactionsDecorator.js.map +0 -1
  414. package/lib/extensions/Reactions/ReactionsExtension.d.ts +0 -14
  415. package/lib/extensions/Reactions/ReactionsExtension.js +0 -28
  416. package/lib/extensions/Reactions/ReactionsExtension.js.map +0 -1
  417. package/lib/extensions/Reactions/index.d.ts +0 -3
  418. package/lib/extensions/Reactions/index.js +0 -4
  419. package/lib/extensions/Reactions/index.js.map +0 -1
  420. package/lib/extensions/Reactions/resources/index.d.ts +0 -3
  421. package/lib/extensions/Reactions/resources/index.js +0 -3
  422. package/lib/extensions/Reactions/resources/index.js.map +0 -1
  423. package/lib/extensions/SmartReplies/resources/close.png +0 -0
  424. package/lib/extensions/Stickers/resources/Stickers.png +0 -0
  425. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +0 -16
  426. package/lib/extensions/ThumbnailGeneration/resources/empty.png +0 -0
  427. package/lib/shared/assets/images/Back.png +0 -0
  428. package/lib/shared/assets/images/BackArrow.png +0 -0
  429. package/lib/shared/assets/images/blue-double-tick-icon.png +0 -0
  430. package/lib/shared/assets/images/calendar.png +0 -0
  431. package/lib/shared/assets/images/checkmark.png +0 -0
  432. package/lib/shared/assets/images/clock-alert.png +0 -0
  433. package/lib/shared/assets/images/clock.png +0 -0
  434. package/lib/shared/assets/images/earth.png +0 -0
  435. package/lib/shared/assets/images/empty-slot.png +0 -0
  436. package/lib/shared/assets/images/error.png +0 -0
  437. package/lib/shared/assets/images/forwardArrow.png +0 -0
  438. package/lib/shared/assets/images/grey-double-tick-icon.png +0 -0
  439. package/lib/shared/assets/images/grey-tick-icon.png +0 -0
  440. package/lib/shared/assets/images/sending.png +0 -0
  441. package/lib/shared/framework/DataSource.d.ts +0 -49
  442. package/lib/shared/framework/MessageDataSource.d.ts +0 -72
  443. package/lib/shared/framework/resources/audio-file.png +0 -0
  444. package/lib/shared/framework/resources/circle_add.png +0 -0
  445. package/lib/shared/framework/resources/copy.png +0 -0
  446. package/lib/shared/framework/resources/delete.png +0 -0
  447. package/lib/shared/framework/resources/edit.png +0 -0
  448. package/lib/shared/framework/resources/emoji.png +0 -0
  449. package/lib/shared/framework/resources/file_upload.png +0 -0
  450. package/lib/shared/framework/resources/forward.png +0 -0
  451. package/lib/shared/framework/resources/heart.png +0 -0
  452. package/lib/shared/framework/resources/image.png +0 -0
  453. package/lib/shared/framework/resources/info.png +0 -0
  454. package/lib/shared/framework/resources/location.png +0 -0
  455. package/lib/shared/framework/resources/messageInPrivate.png +0 -0
  456. package/lib/shared/framework/resources/microphone.png +0 -0
  457. package/lib/shared/framework/resources/pause.png +0 -0
  458. package/lib/shared/framework/resources/play.png +0 -0
  459. package/lib/shared/framework/resources/reply.png +0 -0
  460. package/lib/shared/framework/resources/send_message.png +0 -0
  461. package/lib/shared/framework/resources/share.png +0 -0
  462. package/lib/shared/framework/resources/stop_player.png +0 -0
  463. package/lib/shared/framework/resources/thread.png +0 -0
  464. package/lib/shared/framework/resources/video_upload.png +0 -0
  465. package/lib/shared/helper/types/index.d.ts +0 -19
  466. package/lib/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
  467. package/lib/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
  468. package/lib/shared/libs/VideoPlayerControls/assets/img/back.png +0 -0
  469. package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette.png +0 -0
  470. package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@2x.png +0 -0
  471. package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@3x.png +0 -0
  472. package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon.png +0 -0
  473. package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@2x.png +0 -0
  474. package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@3x.png +0 -0
  475. package/lib/shared/libs/VideoPlayerControls/assets/img/expand.png +0 -0
  476. package/lib/shared/libs/VideoPlayerControls/assets/img/expand@2x.png +0 -0
  477. package/lib/shared/libs/VideoPlayerControls/assets/img/expand@3x.png +0 -0
  478. package/lib/shared/libs/VideoPlayerControls/assets/img/forward.png +0 -0
  479. package/lib/shared/libs/VideoPlayerControls/assets/img/forward@2x.png +0 -0
  480. package/lib/shared/libs/VideoPlayerControls/assets/img/forward@3x.png +0 -0
  481. package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon.png +0 -0
  482. package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@2x.png +0 -0
  483. package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@3x.png +0 -0
  484. package/lib/shared/libs/VideoPlayerControls/assets/img/pause.png +0 -0
  485. package/lib/shared/libs/VideoPlayerControls/assets/img/pause@2x.png +0 -0
  486. package/lib/shared/libs/VideoPlayerControls/assets/img/pause@3x.png +0 -0
  487. package/lib/shared/libs/VideoPlayerControls/assets/img/play.png +0 -0
  488. package/lib/shared/libs/VideoPlayerControls/assets/img/play@2x.png +0 -0
  489. package/lib/shared/libs/VideoPlayerControls/assets/img/play@3x.png +0 -0
  490. package/lib/shared/libs/VideoPlayerControls/assets/img/rewind.png +0 -0
  491. package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@2x.png +0 -0
  492. package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@3x.png +0 -0
  493. package/lib/shared/libs/VideoPlayerControls/assets/img/shrink.png +0 -0
  494. package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@2x.png +0 -0
  495. package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@3x.png +0 -0
  496. package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette.png +0 -0
  497. package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@2x.png +0 -0
  498. package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@3x.png +0 -0
  499. package/lib/shared/libs/VideoPlayerControls/assets/img/volume.png +0 -0
  500. package/lib/shared/libs/VideoPlayerControls/assets/img/volume@2x.png +0 -0
  501. package/lib/shared/libs/VideoPlayerControls/assets/img/volume@3x.png +0 -0
  502. package/lib/shared/modals/CometChatDetailsOption.d.ts +0 -18
  503. package/lib/shared/modals/CometChatMessageOption.d.ts +0 -13
  504. package/lib/shared/modals/CometChatMessageTemplate.d.ts +0 -24
  505. package/lib/shared/resources/CometChatSoundManager/resources/incomingcall.wav +0 -0
  506. package/lib/shared/resources/CometChatSoundManager/resources/incomingmessage.wav +0 -0
  507. package/lib/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav +0 -0
  508. package/lib/shared/resources/CometChatSoundManager/resources/outgoingcall.wav +0 -0
  509. package/lib/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav +0 -0
  510. package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
  511. package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
  512. package/lib/shared/utils/DetailsUtils/resources/Back.png +0 -0
  513. package/lib/shared/utils/DetailsUtils/resources/banIcon.png +0 -0
  514. package/lib/shared/utils/DetailsUtils/resources/close.png +0 -0
  515. package/lib/shared/utils/DetailsUtils/resources/kickIcon.png +0 -0
  516. package/lib/shared/utils/DetailsUtils/resources/password.png +0 -0
  517. package/lib/shared/utils/DetailsUtils/resources/private.png +0 -0
  518. package/lib/shared/utils/DetailsUtils/resources/right-arrow.png +0 -0
  519. package/lib/shared/views/CometChatAICard/resources/errormessage.png +0 -0
  520. package/lib/shared/views/CometChatAICard/resources/nomessage.png +0 -0
  521. package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
  522. package/lib/shared/views/CometChatActionSheet/resources/list.png +0 -0
  523. package/lib/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
  524. package/lib/shared/views/CometChatAudioBubble/resources/play.png +0 -0
  525. package/lib/shared/views/CometChatAvatar/resources/default.jpg +0 -0
  526. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +0 -15
  527. package/lib/shared/views/CometChatDropDown/resources/downArrowIcon.png +0 -0
  528. package/lib/shared/views/CometChatEmojiKeyboard/resources/activity.png +0 -0
  529. package/lib/shared/views/CometChatEmojiKeyboard/resources/animals.png +0 -0
  530. package/lib/shared/views/CometChatEmojiKeyboard/resources/flags.png +0 -0
  531. package/lib/shared/views/CometChatEmojiKeyboard/resources/food.png +0 -0
  532. package/lib/shared/views/CometChatEmojiKeyboard/resources/objects.png +0 -0
  533. package/lib/shared/views/CometChatEmojiKeyboard/resources/smileys.png +0 -0
  534. package/lib/shared/views/CometChatEmojiKeyboard/resources/symbols.png +0 -0
  535. package/lib/shared/views/CometChatEmojiKeyboard/resources/travel.png +0 -0
  536. package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
  537. package/lib/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
  538. package/lib/shared/views/CometChatImageBubble/assets/spineer.png +0 -0
  539. package/lib/shared/views/CometChatImageViewerModal/resources/Back.png +0 -0
  540. package/lib/shared/views/CometChatList/CometChatList.d.ts +0 -86
  541. package/lib/shared/views/CometChatList/resources/Back.png +0 -0
  542. package/lib/shared/views/CometChatList/resources/Search.png +0 -0
  543. package/lib/shared/views/CometChatList/resources/Spinner.png +0 -0
  544. package/lib/shared/views/CometChatList/resources/check.png +0 -0
  545. package/lib/shared/views/CometChatList/resources/checkmark.png +0 -0
  546. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -21
  547. package/lib/shared/views/CometChatPanel/resources/CloseIcon.png +0 -0
  548. package/lib/shared/views/CometChatQuickReactions/resources/AddReactions.png +0 -0
  549. package/lib/shared/views/CometChatReactionList/resources/Spineer.png +0 -0
  550. package/lib/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png +0 -0
  551. package/lib/shared/views/CometChatReceipt/resources/error.png +0 -0
  552. package/lib/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png +0 -0
  553. package/lib/shared/views/CometChatReceipt/resources/grey-tick-icon.png +0 -0
  554. package/lib/shared/views/CometChatReceipt/resources/sending.png +0 -0
  555. package/lib/shared/views/CometChatVideoBubble/resources/play.png +0 -0
  556. /package/{lib/shared/views/CometChatVideoBubble → src/extensions/ThumbnailGeneration}/resources/default_image.png +0 -0
@@ -1,281 +0,0 @@
1
- import React from 'react';
2
- import { ImageType } from '../shared';
3
- import { CometChat } from '@cometchat/chat-sdk-react-native';
4
- import { CometChatDetailsTemplate } from '../shared';
5
- import { BorderStyleInterface, FontStyleInterface } from '../shared/base';
6
- import { AvatarStyleInterface } from '../shared';
7
- import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
8
- import { ListItemStyleInterface } from '../shared';
9
- import { AddMembersConfigurationInterface } from '../CometChatAddMembers/AddMembersConfiguration';
10
- import { BannedMembersConfigurationInterface } from '../CometChatBannedMembers/BannedMembersConfiguration';
11
- import { GroupMemberConfigurationInterface } from '../CometChatGroupMembers/GroupMemberConfiguration';
12
- import { CometChatTransferOwnershipInterface } from '../CometChatTransferOwnership/CometChatTransferOwnership';
13
- export interface ModalDetailsInterface {
14
- title: string;
15
- confirmButtonText: string;
16
- cancelButtonText: string;
17
- messageText: string;
18
- onConfirm: Function;
19
- onCancel: Function;
20
- style: ModalDetailsStyleInterface;
21
- }
22
- export interface ModalDetailsStyleInterface {
23
- confirmButtonTextFont?: FontStyleInterface;
24
- confirmButtonTextColor?: string;
25
- cancelButtonTextFont?: FontStyleInterface;
26
- cancelButtonTextColor?: string;
27
- messageTextFont?: FontStyleInterface;
28
- messageTextColor?: string;
29
- cancelBackground?: string;
30
- confirmBackground?: string;
31
- }
32
- export interface DetailsStyleInterface {
33
- width: string;
34
- height: string;
35
- backgroundColor: string;
36
- border: BorderStyleInterface;
37
- borderRadius: number;
38
- titleFont: FontStyleInterface;
39
- titleColor: string;
40
- backIconTint: string;
41
- closeIconTint: string;
42
- onlineStatusColor: string;
43
- privateGroupIconBackground: string;
44
- protectedGroupIconBackground: string;
45
- }
46
- export interface CometChatDetailsInterface {
47
- /**
48
- *
49
- *
50
- * @type {CometChat.User}
51
- * @description CometChat SDK’s user object
52
- */
53
- user?: CometChat.User;
54
- /**
55
- *
56
- *
57
- * @type {CometChat.Group}
58
- * @description CometChat SDK’s group object
59
- */
60
- group?: CometChat.Group;
61
- /**
62
- *
63
- *
64
- * @type {string}
65
- * @description Title of the component
66
- */
67
- title?: string;
68
- /**
69
- *
70
- *
71
- * @type {boolean}
72
- * @description Toggle close button
73
- */
74
- showCloseButton?: boolean;
75
- /**
76
- *
77
- *
78
- * @type {ImageType}
79
- * @description Icon for close icon
80
- */
81
- closeButtonIcon?: ImageType;
82
- /**
83
- *
84
- *
85
- * @type {boolean}
86
- * @description hide user/group profile view
87
- */
88
- hideProfile?: boolean;
89
- /**
90
- *
91
- *
92
- * @description ({
93
- user,
94
- group,
95
- }: {
96
- user?: CometChat.User;
97
- group?: CometChat.Group;
98
- }) → @return {JSX.Element}
99
- */
100
- SubtitleView?: ({ user, group, }: {
101
- user?: CometChat.User;
102
- group?: CometChat.Group;
103
- }) => JSX.Element;
104
- /**
105
- *
106
- *
107
- * @description ({
108
- user,
109
- group,
110
- }: {
111
- user?: CometChat.User;
112
- group?: CometChat.Group;
113
- }) → @return {JSX.Element}
114
- */
115
- CustomProfileView?: ({ user, group, }: {
116
- user?: CometChat.User;
117
- group?: CometChat.Group;
118
- }) => JSX.Element;
119
- /**
120
- *
121
- *
122
- * @type {CometChatDetailsTemplate[]}
123
- * @description ({
124
- user,
125
- group,
126
- }: {
127
- user?: CometChat.User;
128
- group?: CometChat.Group;
129
- }) → @return {CometChatDetailsTemplate[]}
130
- */
131
- data?: ({ user, group, }: {
132
- user?: CometChat.User;
133
- group?: CometChat.Group;
134
- }) => CometChatDetailsTemplate[];
135
- /**
136
- *
137
- *
138
- * @type {boolean}
139
- * @description Toggle to disable user presence. When set to true, status indicator component will not render in the UI
140
- */
141
- disableUsersPresence?: boolean;
142
- /**
143
- *
144
- *
145
- * @type {ImageType}
146
- * @description icon for protected group
147
- */
148
- protectedGroupIcon?: ImageType;
149
- /**
150
- *
151
- *
152
- * @type {ImageType}
153
- * @description icon for private group
154
- */
155
- privateGroupIcon?: ImageType;
156
- /**
157
- *
158
- *
159
- * @type {string}
160
- * @description Text to be displayed on the leave button in the confirm dialog (leave group)
161
- */
162
- leaveGroupButtonText?: string;
163
- /**
164
- *
165
- *
166
- * @type {string}
167
- * @description Text to be displayed on the cancel button in the confirm dialog (leave group)
168
- */
169
- leaveGroupCancelButtonText?: string;
170
- /**
171
- *
172
- *
173
- * @type {string}
174
- * @description Text to be displayed in the confirm dialog (leave group)
175
- */
176
- leaveGroupConfirmDialogMessage?: string;
177
- /**
178
- *
179
- *
180
- * @type {ModalDetailsStyleInterface}
181
- * @description Styling properties of leave group confirm dialog
182
- */
183
- leaveGroupDialogStyle?: ModalDetailsStyleInterface;
184
- /**
185
- *
186
- *
187
- * @type {string}
188
- * @description Text to be displayed on the leave button in the confirm dialog (delete group)
189
- */
190
- deleteGroupButtonText?: string;
191
- /**
192
- *
193
- *
194
- * @type {string}
195
- * @description Text to be displayed on the cancel button in the confirm dialog (delete group)
196
- */
197
- deleteGroupCancelButtonText?: string;
198
- /**
199
- *
200
- *
201
- * @type {string}
202
- * @description Text to be displayed in the confirm dialog (delete group)
203
- */
204
- deleteGroupConfirmDialogMessage?: string;
205
- /**
206
- *
207
- *
208
- * @type {ModalDetailsStyleInterface}
209
- * @description Styling properties of delete group confirm dialog
210
- */
211
- deleteGroupDialogStyle?: ModalDetailsStyleInterface;
212
- /**
213
- *
214
- *
215
- * @type {*}
216
- * @description Configurable properties of the group members component
217
- */
218
- groupMembersConfiguration?: GroupMemberConfigurationInterface;
219
- /**
220
- *
221
- *
222
- * @type {*}
223
- * @description Configurable properties of the add members component
224
- */
225
- addMembersConfiguration?: AddMembersConfigurationInterface;
226
- /**
227
- *
228
- *
229
- * @type {*}
230
- * @description Configurable properties of the banned members component
231
- */
232
- bannedMembersConfiguration?: BannedMembersConfigurationInterface;
233
- /**
234
- *
235
- *
236
- * @type {*}
237
- * @description Configurable properties of the transfer owernership component
238
- */
239
- transferOwnershipConfiguration?: CometChatTransferOwnershipInterface;
240
- /**
241
- *
242
- *
243
- * @description Callback invoked upon encountering an error in the component
244
- */
245
- onError?: (error: any) => void;
246
- /**
247
- *
248
- *
249
- * @description Callback invoked upon clicking close icon / back button
250
- */
251
- onBack?: () => void;
252
- /**
253
- *
254
- *
255
- * @type {AvatarStyleInterface}
256
- * @description Styling properties of the avatar component
257
- */
258
- avatarStyle?: AvatarStyleInterface;
259
- /**
260
- *
261
- *
262
- * @type {StatusIndicatorStyleInterface}
263
- * @description Styling properties of the status indicator component
264
- */
265
- statusIndicatorStyle?: StatusIndicatorStyleInterface;
266
- /**
267
- *
268
- *
269
- * @type {ListItemStyleInterface}
270
- * @description Styling properties of the list item component
271
- */
272
- listItemStyle?: ListItemStyleInterface;
273
- /**
274
- *
275
- *
276
- * @type {DetailsStyleInterface}
277
- * @description Styling properties of the details component
278
- */
279
- detailsStyle?: DetailsStyleInterface;
280
- }
281
- export declare const CometChatDetails: (props: CometChatDetailsInterface) => React.JSX.Element;
@@ -1,36 +0,0 @@
1
- /// <reference types="react" />
2
- import { AvatarStyleInterface, CometChatDetailsTemplate, ImageType, ListItemStyleInterface } from '../shared';
3
- import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
4
- import { CometChatDetailsInterface, DetailsStyleInterface, ModalDetailsStyleInterface } from './CometChatDetails';
5
- import { CometChat } from '@cometchat/chat-sdk-react-native';
6
- export interface DetailsConfigurationInterface extends Omit<CometChatDetailsInterface, 'user' | 'group' | 'title' | 'leaveGroupButtonText' | 'leaveGroupCancelButtonText' | 'leaveGroupConfirmDialogMessage' | 'deleteGroupButtonText' | 'deleteGroupCancelButtonText' | 'deleteGroupConfirmDialogMessage'> {
7
- }
8
- export declare class DetailsConfiguration {
9
- avatarStyle?: AvatarStyleInterface;
10
- closeButtonIcon?: ImageType;
11
- CustomProfileView?: ({ user, group, }: {
12
- user?: CometChat.User;
13
- group?: CometChat.Group;
14
- }) => JSX.Element;
15
- data?: ({ user, group, }: {
16
- user?: CometChat.User;
17
- group?: CometChat.Group;
18
- }) => CometChatDetailsTemplate[];
19
- deleteGroupDialogStyle?: ModalDetailsStyleInterface;
20
- detailsStyle?: DetailsStyleInterface;
21
- disableUsersPresence?: boolean;
22
- hideProfile?: boolean;
23
- leaveGroupDialogStyle?: ModalDetailsStyleInterface;
24
- listItemStyle?: ListItemStyleInterface;
25
- onBack?: () => void;
26
- onError?: (error: CometChat.CometChatException) => void;
27
- privateGroupIcon?: ImageType;
28
- protectedGroupIcon?: ImageType;
29
- showCloseButton?: boolean;
30
- statusIndicatorStyle?: StatusIndicatorStyleInterface;
31
- SubtitleView?: ({ user, group, }: {
32
- user?: CometChat.User;
33
- group?: CometChat.Group;
34
- }) => JSX.Element;
35
- constructor(props: DetailsConfigurationInterface);
36
- }
@@ -1,96 +0,0 @@
1
- import React from "react";
2
- import { CometChatOptions } from "../shared/modals/CometChatOptions";
3
- import { AvatarStyleInterface, ListItemStyleInterface } from "../shared";
4
- import { GroupMembersStyleInterface } from "./GroupMemberStyle";
5
- import { CometChat } from "@cometchat/chat-sdk-react-native";
6
- import { CometChatListProps } from "../shared";
7
- import { GroupScopeStyleInterface } from "./GroupScopeStyle";
8
- import { StatusIndicatorStyleInterface } from "../shared/views/CometChatStatusIndicator/StatusIndicatorStyle";
9
- export interface CometChatGroupsMembersInterface extends Omit<CometChatListProps, "requestBuilder" | "listItemKey" | "statusIndicatorStyle" | "avatarStyle" | "listItemStyle" | "ListItemView" | "searchRequestBuilder" | "onSelection"> {
10
- /**
11
- * Custom view for subtitle
12
- * @param item object of CometChat.GroupMember
13
- * @returns JSX.Element
14
- */
15
- SubtitleView?: (item: CometChat.GroupMember) => JSX.Element;
16
- /**
17
- * Custom tail view
18
- * @param item object of CometChat.GroupMember
19
- * @returns JSX.Element
20
- */
21
- TailView?: (item: CometChat.GroupMember) => JSX.Element;
22
- /**
23
- * Custom view for empty state
24
- * @returns JSX.Element
25
- */
26
- EmptyStateView?: () => JSX.Element;
27
- /**
28
- * Custom view for error state
29
- * @returns JSX.Element
30
- */
31
- ErrorStateView?: () => JSX.Element;
32
- /**
33
- * Custom view for loading state
34
- * @returns JSX.Element
35
- */
36
- LoadingStateView?: () => JSX.Element;
37
- /**
38
- * callback for press on ListItem
39
- * @param groupMember object of CometChat.GroupMember
40
- * @returns void
41
- */
42
- onItemPress?: (groupMember: CometChat.GroupMember) => void;
43
- /**
44
- * callback for long press on ListItem
45
- * @param groupMember object of CometChat.GroupMember
46
- * @returns void
47
- */
48
- onItemLongPress?: (groupMember: CometChat.GroupMember) => void;
49
- /**
50
- * callback for on selection of groupmembers.
51
- * @param list array of selected GroupMembers
52
- * @returns void
53
- */
54
- onSelection?: (list: CometChat.GroupMember[]) => void;
55
- /**
56
- * pass search request builder object
57
- */
58
- searchRequestBuilder?: CometChat.GroupMembersRequestBuilder;
59
- /**
60
- * pass group member request builder object
61
- */
62
- groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
63
- /**
64
- * pass CometChat SDK's group object
65
- */
66
- group: CometChat.Group;
67
- /**
68
- * style for group member
69
- */
70
- groupMemberStyle?: GroupMembersStyleInterface;
71
- /**
72
- * style for list item
73
- */
74
- listItemStyle?: ListItemStyleInterface;
75
- /**
76
- * style for avatar
77
- */
78
- avatarStyle?: AvatarStyleInterface;
79
- /**
80
- * style for status indicator
81
- */
82
- statusIndicatorStyle?: StatusIndicatorStyleInterface;
83
- /**
84
- * style for group scope change dialog
85
- */
86
- groupScopeStyle?: GroupScopeStyleInterface;
87
- /**
88
- * custom ListItem view
89
- */
90
- ListItemView?: (item: CometChat.GroupMember) => JSX.Element;
91
- /**
92
- * callback for GroupMembers options
93
- */
94
- options?: (item: CometChat.GroupMember) => CometChatOptions[];
95
- }
96
- export declare const CometChatGroupsMembers: (props: CometChatGroupsMembersInterface) => React.JSX.Element;
@@ -1,63 +0,0 @@
1
- /// <reference types="react" />
2
- import { ImageType } from "../shared";
3
- import { CometChatOptions } from "../shared/modals/CometChatOptions";
4
- import { CometChat } from "@cometchat/chat-sdk-react-native";
5
- export interface GroupMemberConfigurationInterface {
6
- SubtitleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
7
- disableUserPresence?: boolean;
8
- ListItemView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9
- AppBarOptions?: () => JSX.Element;
10
- options?: (groupMember: CometChat.GroupMember) => CometChatOptions[];
11
- hideSeperator?: boolean;
12
- searchPlaceHolder?: string;
13
- backButtonIcon?: ImageType;
14
- showBackButton?: boolean;
15
- selectionMode?: "none" | "single" | "multiple";
16
- onSelection?: (groupMembers: Array<CometChat.GroupMember>) => void;
17
- searchBoxIcon?: ImageType;
18
- hideSearch?: boolean;
19
- title?: string;
20
- EmptyStateView?: () => JSX.Element;
21
- ErrorStateView?: () => JSX.Element;
22
- LoadingStateView?: () => JSX.Element;
23
- emptyStateText?: string;
24
- errorStateText?: string;
25
- groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
26
- searchRequestBuilder?: CometChat.GroupMembersRequestBuilder;
27
- onItemPressed?: (groupMember: CometChat.GroupMember) => void;
28
- onItemLongPressed?: (groupMember: CometChat.GroupMember) => void;
29
- onError?: (e: CometChat.CometChatException) => void;
30
- onBack?: () => void;
31
- hideError?: boolean;
32
- TailView?: (groupMember: CometChat.GroupMember) => JSX.Element;
33
- }
34
- export declare class GroupMemberConfiguration implements GroupMemberConfigurationInterface {
35
- SubtitleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
36
- disableUserPresence?: boolean;
37
- ListItemView?: (groupMember: CometChat.GroupMember) => JSX.Element;
38
- AppBarOptions?: () => JSX.Element;
39
- options?: (groupMember: CometChat.GroupMember) => CometChatOptions[];
40
- hideSeperator?: boolean;
41
- searchPlaceHolder?: string;
42
- backButtonIcon?: ImageType;
43
- showBackButton?: boolean;
44
- selectionMode?: "none" | "single" | "multiple";
45
- onSelection?: (groupMembers: Array<CometChat.GroupMember>) => void;
46
- searchBoxIcon?: ImageType;
47
- hideSearch?: boolean;
48
- title?: string;
49
- EmptyStateView?: () => JSX.Element;
50
- ErrorStateView?: () => JSX.Element;
51
- LoadingStateView?: () => JSX.Element;
52
- emptyStateText?: string;
53
- errorStateText?: string;
54
- groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
55
- searchRequestBuilder?: CometChat.GroupMembersRequestBuilder;
56
- onItemPressed?: (groupMember: CometChat.GroupMember) => void;
57
- onItemLongPressed?: (groupMember: CometChat.GroupMember) => void;
58
- onError?: (e: CometChat.CometChatException) => void;
59
- onBack?: () => void;
60
- hideError?: boolean;
61
- TailView?: (groupMember: CometChat.GroupMember) => JSX.Element;
62
- constructor(params: GroupMemberConfigurationInterface);
63
- }
@@ -1,141 +0,0 @@
1
- import React from "react";
2
- import { CometChat } from "@cometchat/chat-sdk-react-native";
3
- import { GroupsStyleInterface } from "./GroupsStyle";
4
- import { ListItemStyleInterface } from "../shared";
5
- import { ImageType } from "../shared";
6
- import { SelectionMode } from "../shared/base/Types";
7
- import { CometChatOptions } from "../shared/modals/CometChatOptions";
8
- import { AvatarStyleInterface } from "../shared/views/CometChatAvatar/AvatarStyle";
9
- import { StatusIndicatorStyleInterface } from "../shared/views/CometChatStatusIndicator/StatusIndicatorStyle";
10
- export interface CometChatGroupsInterface {
11
- /**
12
- * Custom subtitle view
13
- */
14
- SubtitleView?: (item: CometChat.Group) => JSX.Element;
15
- /**
16
- * Custom list item view
17
- */
18
- ListItemView?: (item: CometChat.Group) => JSX.Element;
19
- /**
20
- * pass compoent for menu, will be shown at top right side
21
- */
22
- AppBarOption?: () => JSX.Element;
23
- /**
24
- * Pass array of CometChatOptions type
25
- * Tobe shown on swipe of list item
26
- */
27
- options?: (item: CometChat.Group) => CometChatOptions[];
28
- /**
29
- * toggle the seperator
30
- */
31
- hideSeperator?: boolean;
32
- /**
33
- * hide selection icon
34
- */
35
- hideSubmitIcon?: boolean;
36
- /**
37
- * styles for groups
38
- */
39
- groupsStyle?: GroupsStyleInterface;
40
- /**
41
- * styles for list item
42
- */
43
- listItemStyle?: ListItemStyleInterface;
44
- /**
45
- * styles for avatar
46
- */
47
- avatarStyle?: AvatarStyleInterface;
48
- /**
49
- * styles for status indicator
50
- */
51
- statusIndicatorStyle?: StatusIndicatorStyleInterface;
52
- /**
53
- * search placeholder text
54
- */
55
- searchPlaceHolderText?: string;
56
- /**
57
- * back button icon
58
- */
59
- backButtonIcon?: ImageType;
60
- /**
61
- * toggle back button
62
- */
63
- showBackButton?: boolean;
64
- /**
65
- * select items pass "none" | "single" | "multitple"
66
- */
67
- selectionMode?: SelectionMode;
68
- /**
69
- * call back on seleciton is done
70
- */
71
- onSelection?: (items: Array<CometChat.Group>) => void;
72
- /**
73
- * icon for search box
74
- */
75
- searchBoxIcon?: ImageType;
76
- /**
77
- * toggle seearch box
78
- */
79
- hideSearch?: boolean;
80
- /**
81
- * title to be shown default "Groups"
82
- */
83
- title?: string;
84
- /**
85
- * Custom Functional component for empty state
86
- */
87
- EmptyStateView?: () => JSX.Element;
88
- /**
89
- * text to be shown in case no groups found.
90
- */
91
- emptyStateText?: string;
92
- /**
93
- * Custom functional component for error state.
94
- */
95
- ErrorStateView?: () => JSX.Element;
96
- /**
97
- * text to be shown in case error occured while fetching gounps for first time
98
- */
99
- errorStateText?: string;
100
- /**
101
- * Custom image for loading state.
102
- */
103
- LoadingStateView?: () => JSX.Element;
104
- /**
105
- * Request builder to fetch groups.
106
- */
107
- groupRequestBuilder?: CometChat.GroupsRequestBuilder;
108
- /**
109
- * request builder for search
110
- */
111
- searchRequestBuilder?: CometChat.GroupsRequestBuilder;
112
- /**
113
- * pass icon for private group
114
- */
115
- privateGroupIcon?: ImageType;
116
- /**
117
- * pass icon for password group
118
- */
119
- passwordGroupIcon?: ImageType;
120
- /**
121
- * toogle error visibility
122
- */
123
- hideError?: boolean;
124
- /**
125
- * function tobe called on group pressed.
126
- */
127
- onItemPress?: (item: CometChat.Group) => void;
128
- /**
129
- * function tobe called on group long pressed.
130
- */
131
- onItemLongPress?: (item: CometChat.Group) => void;
132
- /**
133
- * function will be called when error occured.
134
- */
135
- onError?: (e: CometChat.CometChatException) => void;
136
- /**
137
- * function will be called when back button pressed.
138
- */
139
- onBack?: () => void;
140
- }
141
- export declare const CometChatGroups: React.ForwardRefExoticComponent<CometChatGroupsInterface & React.RefAttributes<unknown>>;