@cometchat/chat-uikit-react-native 4.3.13 → 4.3.15

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 (1119) hide show
  1. package/android/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
  3. package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
  4. package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/android/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  6. package/android/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  7. package/android/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  8. package/android/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  9. package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  10. package/android/.gradle/7.4/fileHashes/resourceHashesCache.bin +0 -0
  11. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  12. package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
  13. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  14. package/android/.gradle/checksums/checksums.lock +0 -0
  15. package/android/.gradle/config.properties +2 -0
  16. package/android/.gradle/configuration-cache/gc.properties +0 -0
  17. package/android/.gradle/file-system.probe +0 -0
  18. package/android/.idea/gradle.xml +2 -2
  19. package/android/.idea/migrations.xml +10 -0
  20. package/android/.idea/misc.xml +2 -1
  21. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +49 -35
  22. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js.map +1 -1
  23. package/lib/AI/AIAssistBot/AIAssistBotExtension.js +0 -1
  24. package/lib/AI/AIAssistBot/AIAssistBotExtension.js.map +1 -1
  25. package/lib/AI/AIAssistBot/AIAssistBotStyle.js +7 -12
  26. package/lib/AI/AIAssistBot/AIAssistBotStyle.js.map +1 -1
  27. package/lib/AI/AIAssistBot/AIAssistBotView.d.ts +3 -2
  28. package/lib/AI/AIAssistBot/AIAssistBotView.js +54 -65
  29. package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -1
  30. package/lib/AI/AIAssistBot/configuration.js +2 -12
  31. package/lib/AI/AIAssistBot/configuration.js.map +1 -1
  32. package/lib/AI/AIBaseConfiguration.d.ts +11 -0
  33. package/lib/AI/AIBaseConfiguration.js +3 -7
  34. package/lib/AI/AIBaseConfiguration.js.map +1 -1
  35. package/lib/AI/AIBaseStyle.js +0 -9
  36. package/lib/AI/AIBaseStyle.js.map +1 -1
  37. package/lib/AI/AIConversationStarter/AIConversationStarter.js +0 -1
  38. package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +1 -1
  39. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +30 -0
  40. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +48 -53
  41. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +1 -1
  42. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +1 -0
  43. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +0 -5
  44. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +1 -1
  45. package/lib/AI/AIConversationStarter/configuration.js +0 -2
  46. package/lib/AI/AIConversationStarter/configuration.js.map +1 -1
  47. package/lib/AI/AIConversationStarter/style.d.ts +20 -9
  48. package/lib/AI/AIConversationStarter/style.js +23 -42
  49. package/lib/AI/AIConversationStarter/style.js.map +1 -1
  50. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js +63 -53
  51. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js.map +1 -1
  52. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js +0 -1
  53. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js.map +1 -1
  54. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js +5 -10
  55. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js.map +1 -1
  56. package/lib/AI/AIConversationSummary/AIConversationSummaryView.d.ts +2 -1
  57. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +39 -33
  58. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js.map +1 -1
  59. package/lib/AI/AIConversationSummary/configuration.js +2 -4
  60. package/lib/AI/AIConversationSummary/configuration.js.map +1 -1
  61. package/lib/AI/AIExtensionDataSource.js +1 -0
  62. package/lib/AI/AIExtensionDataSource.js.map +1 -1
  63. package/lib/AI/AIOptionsStyle.js +0 -6
  64. package/lib/AI/AIOptionsStyle.js.map +1 -1
  65. package/lib/AI/AISmartReplies/AISmartReplies.js +0 -1
  66. package/lib/AI/AISmartReplies/AISmartReplies.js.map +1 -1
  67. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +37 -0
  68. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +89 -101
  69. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +1 -1
  70. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +1 -8
  71. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +1 -1
  72. package/lib/AI/AISmartReplies/configuration.d.ts +2 -0
  73. package/lib/AI/AISmartReplies/configuration.js +0 -2
  74. package/lib/AI/AISmartReplies/configuration.js.map +1 -1
  75. package/lib/AI/CardView.d.ts +2 -1
  76. package/lib/AI/CardView.js +7 -18
  77. package/lib/AI/CardView.js.map +1 -1
  78. package/lib/AI/CardViewStyle.js +6 -22
  79. package/lib/AI/CardViewStyle.js.map +1 -1
  80. package/lib/AI/style.d.ts +94 -15
  81. package/lib/AI/style.js +35 -83
  82. package/lib/AI/style.js.map +1 -1
  83. package/lib/AI/utils.js +1 -15
  84. package/lib/AI/utils.js.map +1 -1
  85. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +42 -0
  86. package/lib/CometChatAddMembers/AddMembersConfiguration.js +0 -32
  87. package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -1
  88. package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +2 -1
  89. package/lib/CometChatAddMembers/CometChatAddMembers.js +19 -6
  90. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -1
  91. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +45 -0
  92. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +0 -34
  93. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -1
  94. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +2 -1
  95. package/lib/CometChatBannedMembers/CometChatBannedMembers.js +28 -15
  96. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -1
  97. package/lib/CometChatContacts/CometChatContacts.d.ts +2 -1
  98. package/lib/CometChatContacts/CometChatContacts.js +29 -29
  99. package/lib/CometChatContacts/CometChatContacts.js.map +1 -1
  100. package/lib/CometChatContacts/Header.d.ts +31 -0
  101. package/lib/CometChatContacts/Header.js +50 -60
  102. package/lib/CometChatContacts/Header.js.map +1 -1
  103. package/lib/CometChatContacts/styles.d.ts +100 -1
  104. package/lib/CometChatConversations/CometChatConversations.d.ts +208 -0
  105. package/lib/CometChatConversations/CometChatConversations.js +126 -151
  106. package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
  107. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +113 -0
  108. package/lib/CometChatConversations/ConversationsConfiguration.js +0 -48
  109. package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -1
  110. package/lib/CometChatConversations/ConversationsStyle.js +0 -16
  111. package/lib/CometChatConversations/ConversationsStyle.js.map +1 -1
  112. package/lib/CometChatConversations/style.d.ts +65 -1
  113. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +2 -1
  114. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +31 -49
  115. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -1
  116. package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -1
  117. package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +2 -1
  118. package/lib/CometChatCreateGroup/CometChatCreateGroup.js +74 -92
  119. package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -1
  120. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +0 -6
  121. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -1
  122. package/lib/CometChatCreateGroup/Header.d.ts +2 -1
  123. package/lib/CometChatCreateGroup/Header.js +15 -19
  124. package/lib/CometChatCreateGroup/Header.js.map +1 -1
  125. package/lib/CometChatCreateGroup/style.d.ts +46 -1
  126. package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
  127. package/lib/CometChatDetails/CometChatDetails.js +77 -99
  128. package/lib/CometChatDetails/CometChatDetails.js.map +1 -1
  129. package/lib/CometChatDetails/DetailsConfiguration.d.ts +35 -0
  130. package/lib/CometChatDetails/DetailsConfiguration.js +0 -17
  131. package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -1
  132. package/lib/CometChatDetails/Header.d.ts +2 -1
  133. package/lib/CometChatDetails/Header.js +8 -10
  134. package/lib/CometChatDetails/Header.js.map +1 -1
  135. package/lib/CometChatDetails/listners.js +1 -1
  136. package/lib/CometChatDetails/listners.js.map +1 -1
  137. package/lib/CometChatDetails/styles.d.ts +28 -1
  138. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
  139. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +76 -120
  140. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
  141. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +86 -0
  142. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +3 -41
  143. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -1
  144. package/lib/CometChatGroupMembers/GroupMemberStyle.js +0 -19
  145. package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -1
  146. package/lib/CometChatGroupMembers/GroupScopeStyle.js +0 -11
  147. package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -1
  148. package/lib/CometChatGroupMembers/style.d.ts +31 -1
  149. package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
  150. package/lib/CometChatGroups/CometChatGroups.js +53 -73
  151. package/lib/CometChatGroups/CometChatGroups.js.map +1 -1
  152. package/lib/CometChatGroups/GroupsConfiguration.d.ts +73 -0
  153. package/lib/CometChatGroups/GroupsConfiguration.js +32 -55
  154. package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -1
  155. package/lib/CometChatGroups/GroupsStyle.js +0 -21
  156. package/lib/CometChatGroups/GroupsStyle.js.map +1 -1
  157. package/lib/CometChatGroups/style.d.ts +16 -1
  158. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +2 -1
  159. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +18 -33
  160. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -1
  161. package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -1
  162. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +2 -1
  163. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +33 -40
  164. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -1
  165. package/lib/CometChatJoinProtectedGroup/Header.d.ts +2 -1
  166. package/lib/CometChatJoinProtectedGroup/Header.js +7 -11
  167. package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -1
  168. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +0 -7
  169. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -1
  170. package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -1
  171. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +294 -0
  172. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +207 -241
  173. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
  174. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +61 -0
  175. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +0 -37
  176. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -1
  177. package/lib/CometChatMessageComposer/styles.d.ts +26 -1
  178. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +150 -0
  179. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +53 -77
  180. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
  181. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +36 -0
  182. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +0 -17
  183. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -1
  184. package/lib/CometChatMessageHeader/styles.d.ts +16 -1
  185. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +36 -0
  186. package/lib/CometChatMessageInformation/CometChatMessageInformation.js +66 -84
  187. package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -1
  188. package/lib/CometChatMessageInformation/styles.d.ts +23 -1
  189. package/lib/CometChatMessageList/CometChatMessageList.d.ts +116 -0
  190. package/lib/CometChatMessageList/CometChatMessageList.js +250 -379
  191. package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
  192. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +177 -0
  193. package/lib/CometChatMessageList/MessageListConfiguration.js +0 -63
  194. package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -1
  195. package/lib/CometChatMessageList/MessageListStyle.js +0 -13
  196. package/lib/CometChatMessageList/MessageListStyle.js.map +1 -1
  197. package/lib/CometChatMessageList/style.d.ts +52 -1
  198. package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
  199. package/lib/CometChatMessages/CometChatMessages.js +51 -65
  200. package/lib/CometChatMessages/CometChatMessages.js.map +1 -1
  201. package/lib/CometChatMessages/MessageStyle.js +0 -7
  202. package/lib/CometChatMessages/MessageStyle.js.map +1 -1
  203. package/lib/CometChatMessages/MessagesConfiguration.d.ts +68 -0
  204. package/lib/CometChatMessages/MessagesConfiguration.js +0 -16
  205. package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -1
  206. package/lib/CometChatMessages/style.d.ts +21 -1
  207. package/lib/CometChatTabs/CometChatTabs.d.ts +2 -1
  208. package/lib/CometChatTabs/CometChatTabs.js +13 -48
  209. package/lib/CometChatTabs/CometChatTabs.js.map +1 -1
  210. package/lib/CometChatTabs/CometChatTabsStyle.d.ts +2 -0
  211. package/lib/CometChatTabs/CometChatTabsStyle.js +0 -5
  212. package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -1
  213. package/lib/CometChatTabs/TabItemStyle.js +0 -8
  214. package/lib/CometChatTabs/TabItemStyle.js.map +1 -1
  215. package/lib/CometChatTabs/TabItems.d.ts +10 -0
  216. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +113 -0
  217. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +36 -49
  218. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -1
  219. package/lib/CometChatThreadedMessages/Header.d.ts +4 -3
  220. package/lib/CometChatThreadedMessages/Header.js +4 -6
  221. package/lib/CometChatThreadedMessages/Header.js.map +1 -1
  222. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +40 -0
  223. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +0 -22
  224. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -1
  225. package/lib/CometChatThreadedMessages/style.d.ts +25 -1
  226. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +2 -1
  227. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +19 -12
  228. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -1
  229. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +40 -0
  230. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +0 -28
  231. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -1
  232. package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
  233. package/lib/CometChatUsers/CometChatUsers.js +22 -16
  234. package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
  235. package/lib/CometChatUsers/UsersConfiguration.d.ts +42 -0
  236. package/lib/CometChatUsers/UsersConfiguration.js +0 -32
  237. package/lib/CometChatUsers/UsersConfiguration.js.map +1 -1
  238. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +2 -1
  239. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +9 -20
  240. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -1
  241. package/lib/CometChatUsersWithMessages/styles.d.ts +12 -1
  242. package/lib/calls/CallUtils.js +2 -2
  243. package/lib/calls/CallUtils.js.map +1 -1
  244. package/lib/calls/CallingDetailsUtils.js +40 -47
  245. package/lib/calls/CallingDetailsUtils.js.map +1 -1
  246. package/lib/calls/CallingExtension.js +0 -1
  247. package/lib/calls/CallingExtension.js.map +1 -1
  248. package/lib/calls/CallingExtentionDecorator.d.ts +5 -4
  249. package/lib/calls/CallingExtentionDecorator.js +100 -97
  250. package/lib/calls/CallingExtentionDecorator.js.map +1 -1
  251. package/lib/calls/CallingPackage.js +2 -1
  252. package/lib/calls/CallingPackage.js.map +1 -1
  253. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +0 -3
  254. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -1
  255. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +0 -6
  256. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -1
  257. package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +2 -1
  258. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +13 -12
  259. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -1
  260. package/lib/calls/CometChatCallBubble/styles.d.ts +21 -1
  261. package/lib/calls/CometChatCallButtons/CallButtonStyle.js +0 -3
  262. package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -1
  263. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +0 -7
  264. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -1
  265. package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +2 -1
  266. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +41 -43
  267. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
  268. package/lib/calls/CometChatCallButtons/style.d.ts +12 -1
  269. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.d.ts +119 -0
  270. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +0 -48
  271. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js.map +1 -1
  272. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js +0 -3
  273. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js.map +1 -1
  274. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.d.ts +72 -0
  275. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +45 -71
  276. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +1 -1
  277. package/lib/calls/CometChatCallLogDetails/style.d.ts +13 -1
  278. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.d.ts +72 -0
  279. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +0 -23
  280. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js.map +1 -1
  281. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js +0 -17
  282. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js.map +1 -1
  283. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.d.ts +45 -0
  284. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +56 -90
  285. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +1 -1
  286. package/lib/calls/CometChatCallLogHistory/style.d.ts +22 -1
  287. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.d.ts +65 -0
  288. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +0 -22
  289. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js.map +1 -1
  290. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js +0 -9
  291. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js.map +1 -1
  292. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.d.ts +39 -0
  293. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +27 -49
  294. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +1 -1
  295. package/lib/calls/CometChatCallLogParticipants/style.d.ts +22 -1
  296. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.d.ts +71 -0
  297. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +0 -23
  298. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js.map +1 -1
  299. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js +0 -10
  300. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js.map +1 -1
  301. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.d.ts +41 -0
  302. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +46 -64
  303. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +1 -1
  304. package/lib/calls/CometChatCallLogRecordings/style.d.ts +22 -1
  305. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.d.ts +99 -0
  306. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +0 -34
  307. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js.map +1 -1
  308. package/lib/calls/CometChatCallLogs/CallLogsStyle.js +0 -18
  309. package/lib/calls/CometChatCallLogs/CallLogsStyle.js.map +1 -1
  310. package/lib/calls/CometChatCallLogs/CometChatCallLogs.d.ts +56 -0
  311. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +73 -104
  312. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -1
  313. package/lib/calls/CometChatCallLogs/style.d.ts +22 -1
  314. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.d.ts +2 -1
  315. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js +8 -10
  316. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js.map +1 -1
  317. package/lib/calls/CometChatCallLogsWithDetails/style.d.ts +8 -1
  318. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
  319. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +20 -47
  320. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
  321. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +0 -13
  322. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -1
  323. package/lib/calls/CometChatIncomingCall/styles.d.ts +9 -1
  324. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +2 -1
  325. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +6 -8
  326. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -1
  327. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +0 -4
  328. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -1
  329. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +2 -1
  330. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +17 -33
  331. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
  332. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +0 -5
  333. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -1
  334. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +0 -4
  335. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -1
  336. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +0 -9
  337. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -1
  338. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +4 -3
  339. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +10 -15
  340. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -1
  341. package/lib/extensions/CollaborativeBubble/styles.d.ts +35 -1
  342. package/lib/extensions/CollaborativeBubble/styles.js +15 -39
  343. package/lib/extensions/CollaborativeBubble/styles.js.map +1 -1
  344. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +1 -1
  345. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +0 -1
  346. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -1
  347. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +0 -1
  348. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -1
  349. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +2 -1
  350. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +9 -9
  351. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
  352. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +1 -1
  353. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +0 -1
  354. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -1
  355. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +0 -1
  356. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -1
  357. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +3 -2
  358. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +10 -11
  359. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
  360. package/lib/extensions/ExtensionModerator.d.ts +1 -1
  361. package/lib/extensions/ExtensionModerator.js +1 -1
  362. package/lib/extensions/ExtensionModerator.js.map +1 -1
  363. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +12 -0
  364. package/lib/extensions/ImageModeration/ImageModerationDecorator.js +1 -2
  365. package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -1
  366. package/lib/extensions/ImageModeration/ImageModerationExtension.js +0 -1
  367. package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -1
  368. package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +2 -1
  369. package/lib/extensions/ImageModeration/ImageModerationFilter.js +16 -19
  370. package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -1
  371. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +0 -6
  372. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -1
  373. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
  374. package/lib/extensions/LinkPreview/LinkPreviewBubble.js +25 -36
  375. package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -1
  376. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +0 -4
  377. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -1
  378. package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +1 -1
  379. package/lib/extensions/LinkPreview/LinkPreviewExtention.js +0 -1
  380. package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -1
  381. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +12 -0
  382. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +2 -3
  383. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -1
  384. package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +2 -1
  385. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +24 -43
  386. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -1
  387. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +20 -0
  388. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +82 -112
  389. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
  390. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +0 -1
  391. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -1
  392. package/lib/extensions/Polls/Header.d.ts +10 -9
  393. package/lib/extensions/Polls/Header.js +15 -19
  394. package/lib/extensions/Polls/Header.js.map +1 -1
  395. package/lib/extensions/Polls/Polls.d.ts +2 -1
  396. package/lib/extensions/Polls/Polls.js +90 -109
  397. package/lib/extensions/Polls/Polls.js.map +1 -1
  398. package/lib/extensions/Polls/PollsBubble.d.ts +2 -1
  399. package/lib/extensions/Polls/PollsBubble.js +70 -90
  400. package/lib/extensions/Polls/PollsBubble.js.map +1 -1
  401. package/lib/extensions/Polls/PollsDecorator.d.ts +2 -1
  402. package/lib/extensions/Polls/PollsDecorator.js +8 -8
  403. package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
  404. package/lib/extensions/Polls/PollsExtension.js +0 -1
  405. package/lib/extensions/Polls/PollsExtension.js.map +1 -1
  406. package/lib/extensions/Polls/style.d.ts +45 -1
  407. package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +1 -1
  408. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +43 -42
  409. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
  410. package/lib/extensions/SmartReplies/SmartRepliesExtension.js +0 -1
  411. package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -1
  412. package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +4 -3
  413. package/lib/extensions/SmartReplies/SmartRepliesView.js +38 -45
  414. package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -1
  415. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +2 -1
  416. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +16 -30
  417. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -1
  418. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +2 -2
  419. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +2 -4
  420. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -1
  421. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +3 -10
  422. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -1
  423. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +7 -6
  424. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -1
  425. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -1
  426. package/lib/extensions/Stickers/StickerConfiguration.js +1 -6
  427. package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -1
  428. package/lib/extensions/Stickers/StickersBubble.d.ts +2 -1
  429. package/lib/extensions/Stickers/StickersBubble.js +5 -10
  430. package/lib/extensions/Stickers/StickersBubble.js.map +1 -1
  431. package/lib/extensions/Stickers/StickersExtension.js +1 -5
  432. package/lib/extensions/Stickers/StickersExtension.js.map +1 -1
  433. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +4 -3
  434. package/lib/extensions/Stickers/StickersExtensionDecorator.js +15 -19
  435. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
  436. package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +1 -1
  437. package/lib/extensions/TextModeration/TextModerationConfiguration.js +0 -1
  438. package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -1
  439. package/lib/extensions/TextModeration/TextModerationExtension.js +1 -1
  440. package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -1
  441. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +1 -1
  442. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +0 -1
  443. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -1
  444. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
  445. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +12 -23
  446. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
  447. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +0 -1
  448. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -1
  449. package/lib/extensions/ThumbnailGeneration/resources/index.d.ts +2 -2
  450. package/lib/extensions/ThumbnailGeneration/resources/index.js +2 -2
  451. package/lib/extensions/ThumbnailGeneration/resources/index.js.map +1 -1
  452. package/lib/shared/CometChatContext.d.ts +4 -2
  453. package/lib/shared/CometChatContext.js +1 -3
  454. package/lib/shared/CometChatContext.js.map +1 -1
  455. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +1 -1
  456. package/lib/shared/CometChatUiKit/CometChatUIKit.js +87 -74
  457. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
  458. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -1
  459. package/lib/shared/assets/images/index.d.ts +1 -0
  460. package/lib/shared/assets/images/index.js +2 -0
  461. package/lib/shared/assets/images/index.js.map +1 -1
  462. package/lib/shared/base/BaseStyle.js +0 -5
  463. package/lib/shared/base/BaseStyle.js.map +1 -1
  464. package/lib/shared/base/BorderStyle.js +0 -3
  465. package/lib/shared/base/BorderStyle.js.map +1 -1
  466. package/lib/shared/base/FontStyle.d.ts +2 -2
  467. package/lib/shared/base/FontStyle.js +0 -3
  468. package/lib/shared/base/FontStyle.js.map +1 -1
  469. package/lib/shared/base/ShadowStyle.js +0 -5
  470. package/lib/shared/base/ShadowStyle.js.map +1 -1
  471. package/lib/shared/constants/UIKitConstants.d.ts +9 -0
  472. package/lib/shared/constants/UIKitConstants.js +12 -1
  473. package/lib/shared/constants/UIKitConstants.js.map +1 -1
  474. package/lib/shared/events/CometChatMessageEvents/index.js +90 -90
  475. package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -1
  476. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +176 -150
  477. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
  478. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +8 -8
  479. package/lib/shared/events/CometChatUIEventHandler/Listener.js +46 -94
  480. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
  481. package/lib/shared/events/ListenerInitializer.js +2 -1
  482. package/lib/shared/events/ListenerInitializer.js.map +1 -1
  483. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +162 -0
  484. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +116 -89
  485. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -1
  486. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js +0 -2
  487. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js.map +1 -1
  488. package/lib/shared/formatters/CometChatTextFormatter.d.ts +170 -0
  489. package/lib/shared/formatters/CometChatTextFormatter.js +39 -61
  490. package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -1
  491. package/lib/shared/formatters/CometChatUrlsFormatter/index.d.ts +39 -0
  492. package/lib/shared/formatters/CometChatUrlsFormatter/index.js +81 -88
  493. package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +1 -1
  494. package/lib/shared/framework/ChatConfigurator.js +3 -3
  495. package/lib/shared/framework/ChatConfigurator.js.map +1 -1
  496. package/lib/shared/framework/DataSource.d.ts +71 -0
  497. package/lib/shared/framework/DataSourceDecorator.d.ts +14 -14
  498. package/lib/shared/framework/DataSourceDecorator.js +0 -1
  499. package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
  500. package/lib/shared/framework/ExtensionsDataSource.js +1 -0
  501. package/lib/shared/framework/ExtensionsDataSource.js.map +1 -1
  502. package/lib/shared/framework/MessageDataSource.d.ts +95 -0
  503. package/lib/shared/framework/MessageDataSource.js +162 -166
  504. package/lib/shared/framework/MessageDataSource.js.map +1 -1
  505. package/lib/shared/helper/SwipeRow.d.ts +68 -65
  506. package/lib/shared/helper/SwipeRow.js +33 -74
  507. package/lib/shared/helper/SwipeRow.js.map +1 -1
  508. package/lib/shared/helper/Toast.d.ts +2 -1
  509. package/lib/shared/helper/Toast.js +2 -3
  510. package/lib/shared/helper/Toast.js.map +1 -1
  511. package/lib/shared/helper/functions.d.ts +1 -1
  512. package/lib/shared/helper/functions.js +1 -1
  513. package/lib/shared/helper/functions.js.map +1 -1
  514. package/lib/shared/helper/types/index.d.ts +18 -0
  515. package/lib/shared/helper/useKeyboard.d.ts +1 -1
  516. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +14 -13
  517. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js.map +1 -1
  518. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js +18 -7
  519. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js.map +1 -1
  520. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js +18 -7
  521. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +1 -1
  522. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +9 -1
  523. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js +16 -6
  524. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js.map +1 -1
  525. package/lib/shared/libs/CometChatCalendar/Components/Arrow.d.ts +2 -1
  526. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js +6 -7
  527. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js.map +1 -1
  528. package/lib/shared/libs/CometChatCalendar/Components/Day.d.ts +2 -1
  529. package/lib/shared/libs/CometChatCalendar/Components/Day.js +18 -20
  530. package/lib/shared/libs/CometChatCalendar/Components/Day.js.map +1 -1
  531. package/lib/shared/libs/CometChatCalendar/Components/Days.js +7 -8
  532. package/lib/shared/libs/CometChatCalendar/Components/Days.js.map +1 -1
  533. package/lib/shared/libs/CometChatCalendar/Components/Month.d.ts +2 -1
  534. package/lib/shared/libs/CometChatCalendar/Components/Month.js +8 -10
  535. package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +1 -1
  536. package/lib/shared/libs/CometChatCalendar/Components/Month.test.d.ts +33 -1
  537. package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +2 -1
  538. package/lib/shared/libs/CometChatCalendar/Components/Months.js +5 -6
  539. package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +1 -1
  540. package/lib/shared/libs/CometChatCalendar/Components/Months.test.d.ts +33 -33
  541. package/lib/shared/libs/CometChatCalendar/Components/Title.js +4 -5
  542. package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +1 -1
  543. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +2 -1
  544. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js +1 -5
  545. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js.map +1 -1
  546. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.d.ts +2 -1
  547. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.d.ts +3 -1
  548. package/lib/shared/libs/CometChatCalendar/Entities/Components.d.ts +11 -0
  549. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.d.ts +36 -1
  550. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +3 -0
  551. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js.map +1 -1
  552. package/lib/shared/libs/CometChatCalendar/Locales/index.js +1 -0
  553. package/lib/shared/libs/CometChatCalendar/Locales/index.js.map +1 -1
  554. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js +13 -27
  555. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js.map +1 -1
  556. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js +1 -4
  557. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js.map +1 -1
  558. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.d.ts +2 -1
  559. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js.map +1 -1
  560. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js.map +1 -1
  561. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +1 -0
  562. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js.map +1 -1
  563. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.d.ts +8 -8
  564. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js +340 -335
  565. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -1
  566. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +4 -4
  567. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js +11 -12
  568. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +1 -1
  569. package/lib/shared/libs/ImageZoom/helper.d.ts +3 -3
  570. package/lib/shared/libs/ImageZoom/helper.js +2 -1
  571. package/lib/shared/libs/ImageZoom/helper.js.map +1 -1
  572. package/lib/shared/libs/ImageZoom/types/index.d.ts +8 -8
  573. package/lib/shared/libs/VideoPlayer/Video.d.ts +3 -2
  574. package/lib/shared/libs/VideoPlayer/Video.js +172 -256
  575. package/lib/shared/libs/VideoPlayer/Video.js.map +1 -1
  576. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.d.ts +2 -2
  577. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js +4 -7
  578. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js.map +1 -1
  579. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.d.ts +1 -1
  580. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js +1 -0
  581. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js.map +1 -1
  582. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.d.ts +2 -1
  583. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +31 -20
  584. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +1 -1
  585. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +2 -1
  586. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js +2 -3
  587. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js.map +1 -1
  588. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.d.ts +2 -2
  589. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js +30 -25
  590. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js.map +1 -1
  591. package/lib/shared/libs/VideoPlayerControls/components/Control.d.ts +2 -2
  592. package/lib/shared/libs/VideoPlayerControls/components/Control.js +15 -5
  593. package/lib/shared/libs/VideoPlayerControls/components/Control.js.map +1 -1
  594. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.d.ts +2 -1
  595. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js +3 -4
  596. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js.map +1 -1
  597. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.d.ts +19 -1
  598. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.d.ts +2 -1
  599. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js +2 -3
  600. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js.map +1 -1
  601. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.d.ts +2 -1
  602. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js +2 -3
  603. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js.map +1 -1
  604. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.d.ts +14 -1
  605. package/lib/shared/libs/VideoPlayerControls/components/NullControl.d.ts +2 -1
  606. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js +1 -1
  607. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js.map +1 -1
  608. package/lib/shared/libs/VideoPlayerControls/components/Overlay.d.ts +2 -1
  609. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js +1 -1
  610. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js.map +1 -1
  611. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.d.ts +4 -3
  612. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js +27 -19
  613. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js.map +1 -1
  614. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.d.ts +19 -1
  615. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.d.ts +2 -2
  616. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js +11 -14
  617. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js.map +1 -1
  618. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.d.ts +35 -1
  619. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.d.ts +2 -2
  620. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js +2 -3
  621. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js.map +1 -1
  622. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.d.ts +10 -1
  623. package/lib/shared/libs/VideoPlayerControls/components/Title.d.ts +2 -1
  624. package/lib/shared/libs/VideoPlayerControls/components/Title.js +2 -5
  625. package/lib/shared/libs/VideoPlayerControls/components/Title.js.map +1 -1
  626. package/lib/shared/libs/VideoPlayerControls/components/TopControls.d.ts +21 -1
  627. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js +7 -10
  628. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js.map +1 -1
  629. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.d.ts +2 -1
  630. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js +5 -7
  631. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js.map +1 -1
  632. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.d.ts +29 -1
  633. package/lib/shared/libs/VideoPlayerControls/components/styles.d.ts +28 -1
  634. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.d.ts +1 -1
  635. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.d.ts +2 -2
  636. package/lib/shared/libs/VideoPlayerControls/styles.d.ts +15 -1
  637. package/lib/shared/libs/VideoPlayerControls/utils.js +3 -7
  638. package/lib/shared/libs/VideoPlayerControls/utils.js.map +1 -1
  639. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.d.ts +2 -1
  640. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +14 -2
  641. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js.map +1 -1
  642. package/lib/shared/libs/datePickerModal/DateTimePickerModal.d.ts +1 -1
  643. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.d.ts +127 -34
  644. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js +121 -116
  645. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js.map +1 -1
  646. package/lib/shared/libs/datePickerModal/Modal.d.ts +19 -14
  647. package/lib/shared/libs/datePickerModal/Modal.js +74 -64
  648. package/lib/shared/libs/datePickerModal/Modal.js.map +1 -1
  649. package/lib/shared/libs/luxon/src/datetime.d.ts +48 -48
  650. package/lib/shared/libs/luxon/src/datetime.js +13 -30
  651. package/lib/shared/libs/luxon/src/datetime.js.map +1 -1
  652. package/lib/shared/libs/luxon/src/duration.d.ts +19 -19
  653. package/lib/shared/libs/luxon/src/duration.js +16 -35
  654. package/lib/shared/libs/luxon/src/duration.js.map +1 -1
  655. package/lib/shared/libs/luxon/src/impl/conversions.js +4 -4
  656. package/lib/shared/libs/luxon/src/impl/conversions.js.map +1 -1
  657. package/lib/shared/libs/luxon/src/impl/english.d.ts +3 -3
  658. package/lib/shared/libs/luxon/src/impl/formatter.js +3 -3
  659. package/lib/shared/libs/luxon/src/impl/formatter.js.map +1 -1
  660. package/lib/shared/libs/luxon/src/impl/locale.d.ts +1 -1
  661. package/lib/shared/libs/luxon/src/impl/locale.js +19 -11
  662. package/lib/shared/libs/luxon/src/impl/locale.js.map +1 -1
  663. package/lib/shared/libs/luxon/src/impl/regexParser.js +1 -1
  664. package/lib/shared/libs/luxon/src/impl/regexParser.js.map +1 -1
  665. package/lib/shared/libs/luxon/src/impl/util.d.ts +10 -10
  666. package/lib/shared/libs/luxon/src/impl/util.js +1 -1
  667. package/lib/shared/libs/luxon/src/impl/util.js.map +1 -1
  668. package/lib/shared/libs/luxon/src/info.d.ts +27 -27
  669. package/lib/shared/libs/luxon/src/interval.d.ts +6 -6
  670. package/lib/shared/libs/luxon/src/interval.js +1 -1
  671. package/lib/shared/libs/luxon/src/interval.js.map +1 -1
  672. package/lib/shared/libs/luxon/src/settings.d.ts +2 -2
  673. package/lib/shared/libs/luxon/src/zones/IANAZone.d.ts +1 -1
  674. package/lib/shared/libs/luxon/src/zones/invalidZone.d.ts +1 -1
  675. package/lib/shared/libs/luxon/src/zones/systemZone.d.ts +1 -1
  676. package/lib/shared/modals/CometChatCallLogDetailsOptions.d.ts +14 -0
  677. package/lib/shared/modals/CometChatDetailsOption.d.ts +17 -0
  678. package/lib/shared/modals/CometChatMessageOption.d.ts +12 -0
  679. package/lib/shared/modals/CometChatMessageTemplate.d.ts +131 -0
  680. package/lib/shared/modals/CometChatMessageTemplate.js +1 -56
  681. package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
  682. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js +4 -20
  683. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js.map +1 -1
  684. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js +0 -4
  685. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js.map +1 -1
  686. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js +2 -4
  687. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js.map +1 -1
  688. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js +1 -17
  689. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js.map +1 -1
  690. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js +4 -8
  691. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js.map +1 -1
  692. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js +0 -4
  693. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js.map +1 -1
  694. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js +4 -8
  695. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js.map +1 -1
  696. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js +1 -7
  697. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js.map +1 -1
  698. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js +0 -13
  699. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js.map +1 -1
  700. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js +1 -13
  701. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js.map +1 -1
  702. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js +0 -2
  703. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js.map +1 -1
  704. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js +0 -4
  705. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js.map +1 -1
  706. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js +1 -7
  707. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js.map +1 -1
  708. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js +1 -7
  709. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js.map +1 -1
  710. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js +10 -14
  711. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js.map +1 -1
  712. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js +0 -4
  713. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js.map +1 -1
  714. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +0 -8
  715. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -1
  716. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js +6 -16
  717. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js.map +1 -1
  718. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js +3 -1
  719. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js.map +1 -1
  720. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js +6 -20
  721. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +1 -1
  722. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +8 -8
  723. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +2 -13
  724. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js.map +1 -1
  725. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +32 -124
  726. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +124 -123
  727. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -1
  728. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +2 -2
  729. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +79 -66
  730. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -1
  731. package/lib/shared/resources/CometChatSoundManager/sound.d.ts +1 -1
  732. package/lib/shared/resources/CometChatSoundManager/sound.js +18 -7
  733. package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -1
  734. package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +2 -2
  735. package/lib/shared/resources/CometChatTheme/CometChatTheme.js +0 -2
  736. package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -1
  737. package/lib/shared/resources/CometChatTheme/Palette.d.ts +24 -24
  738. package/lib/shared/resources/CometChatTheme/Palette.js +66 -90
  739. package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -1
  740. package/lib/shared/resources/CometChatTheme/Typography.d.ts +27 -27
  741. package/lib/shared/resources/CometChatTheme/Typography.js +0 -23
  742. package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -1
  743. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +2 -1
  744. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +12 -20
  745. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -1
  746. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +0 -1
  747. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -1
  748. package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -1
  749. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +9 -8
  750. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +11 -16
  751. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -1
  752. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +3 -3
  753. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +1 -1
  754. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -1
  755. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +10 -10
  756. package/lib/shared/utils/CometChatMessagePreview/style.d.ts +10 -1
  757. package/lib/shared/utils/CometChatMessagePreview/style.js +13 -20
  758. package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -1
  759. package/lib/shared/utils/CommonUtils.js +3 -6
  760. package/lib/shared/utils/CommonUtils.js.map +1 -1
  761. package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +2 -1
  762. package/lib/shared/utils/DetailsUtils/DetailsUtils.js +11 -7
  763. package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -1
  764. package/lib/shared/utils/InteractiveMessageUtils.js +28 -28
  765. package/lib/shared/utils/InteractiveMessageUtils.js.map +1 -1
  766. package/lib/shared/utils/MessageUtils.d.ts +2 -1
  767. package/lib/shared/utils/MessageUtils.js +4 -2
  768. package/lib/shared/utils/MessageUtils.js.map +1 -1
  769. package/lib/shared/utils/NetworkUtils.js +24 -16
  770. package/lib/shared/utils/NetworkUtils.js.map +1 -1
  771. package/lib/shared/utils/PermissionUtil.js +91 -74
  772. package/lib/shared/utils/PermissionUtil.js.map +1 -1
  773. package/lib/shared/utils/SchedulerUtils.d.ts +1 -7
  774. package/lib/shared/utils/SchedulerUtils.js.map +1 -1
  775. package/lib/shared/utils/TypeUtils.d.ts +3 -0
  776. package/lib/shared/utils/TypeUtils.js +2 -0
  777. package/lib/shared/utils/TypeUtils.js.map +1 -0
  778. package/lib/shared/utils/conversationUtils.js +51 -49
  779. package/lib/shared/utils/conversationUtils.js.map +1 -1
  780. package/lib/shared/utils/icsToJson.js +3 -2
  781. package/lib/shared/utils/icsToJson.js.map +1 -1
  782. package/lib/shared/utils/index.d.ts +1 -0
  783. package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +3 -1
  784. package/lib/shared/views/CometChatAICard/CometChatAICard.js +13 -29
  785. package/lib/shared/views/CometChatAICard/CometChatAICard.js.map +1 -1
  786. package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +9 -9
  787. package/lib/shared/views/CometChatActionSheet/ActionItem.js +0 -21
  788. package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -1
  789. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +3 -1
  790. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +2 -11
  791. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -1
  792. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +5 -4
  793. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +80 -102
  794. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -1
  795. package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -1
  796. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +0 -5
  797. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -1
  798. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +2 -1
  799. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +12 -27
  800. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -1
  801. package/lib/shared/views/CometChatAudioBubble/style.d.ts +28 -1
  802. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +0 -2
  803. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -1
  804. package/lib/shared/views/CometChatAvatar/AvatarStyle.js +0 -4
  805. package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -1
  806. package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +2 -1
  807. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +24 -34
  808. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -1
  809. package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -1
  810. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +0 -7
  811. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -1
  812. package/lib/shared/views/CometChatBadge/BadgeStyle.js +0 -2
  813. package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -1
  814. package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +2 -1
  815. package/lib/shared/views/CometChatBadge/CometChatBadge.js +12 -19
  816. package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -1
  817. package/lib/shared/views/CometChatBadge/styles.d.ts +13 -1
  818. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +2 -1
  819. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +25 -43
  820. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -1
  821. package/lib/shared/views/CometChatBottomSheet/style.d.ts +48 -1
  822. package/lib/shared/views/CometChatButton/CometChatButton.d.ts +2 -1
  823. package/lib/shared/views/CometChatButton/CometChatButton.js +10 -27
  824. package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -1
  825. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +0 -6
  826. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -1
  827. package/lib/shared/views/CometChatButton/style.d.ts +6 -1
  828. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
  829. package/lib/shared/views/CometChatCard/CometChatCard.js +8 -21
  830. package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -1
  831. package/lib/shared/views/CometChatCard/CometChatCardStyle.js +0 -2
  832. package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -1
  833. package/lib/shared/views/CometChatCard/style.d.ts +11 -1
  834. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js +0 -6
  835. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js.map +1 -1
  836. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.d.ts +2 -1
  837. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +20 -29
  838. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +1 -1
  839. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js +0 -8
  840. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js.map +1 -1
  841. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.d.ts +2 -1
  842. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js +14 -29
  843. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js.map +1 -1
  844. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +2 -1
  845. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +50 -65
  846. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -1
  847. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +0 -10
  848. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -1
  849. package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -1
  850. package/lib/shared/views/CometChatDate/CometChatDate.d.ts +3 -2
  851. package/lib/shared/views/CometChatDate/CometChatDate.js +4 -10
  852. package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -1
  853. package/lib/shared/views/CometChatDate/DateConfiguration.js +0 -3
  854. package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -1
  855. package/lib/shared/views/CometChatDate/DateStyle.js +0 -2
  856. package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -1
  857. package/lib/shared/views/CometChatDate/style.d.ts +5 -1
  858. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +4 -2
  859. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +32 -36
  860. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -1
  861. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +11 -1
  862. package/lib/shared/views/CometChatDropDown/CometChatDropDown.d.ts +2 -1
  863. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +12 -28
  864. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js.map +1 -1
  865. package/lib/shared/views/CometChatDropDown/DropDownStyle.js +0 -7
  866. package/lib/shared/views/CometChatDropDown/DropDownStyle.js.map +1 -1
  867. package/lib/shared/views/CometChatDropDown/resources/index.d.ts +0 -1
  868. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +5 -3
  869. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +65 -72
  870. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -1
  871. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +1 -1
  872. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +2 -2
  873. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -1
  874. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +4 -4
  875. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -1
  876. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +5 -4
  877. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +0 -3
  878. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -1
  879. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +1 -11
  880. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +1 -6
  881. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -1
  882. package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +44 -1
  883. package/lib/shared/views/CometChatEmojiKeyboard/style.js +2 -2
  884. package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -1
  885. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +2 -1
  886. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +20 -26
  887. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -1
  888. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +1 -6
  889. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -1
  890. package/lib/shared/views/CometChatFileBubble/style.d.ts +44 -1
  891. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +2 -1
  892. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +134 -140
  893. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -1
  894. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js +0 -16
  895. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js.map +1 -1
  896. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +2 -1
  897. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +27 -28
  898. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -1
  899. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +1 -1
  900. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +0 -1
  901. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -1
  902. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +2 -1
  903. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +9 -16
  904. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js.map +1 -1
  905. package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +2 -1
  906. package/lib/shared/views/CometChatLabel/CometChatLabel.js +3 -6
  907. package/lib/shared/views/CometChatLabel/CometChatLabel.js.map +1 -1
  908. package/lib/shared/views/CometChatLabel/LabelStyle.js +0 -2
  909. package/lib/shared/views/CometChatLabel/LabelStyle.js.map +1 -1
  910. package/lib/shared/views/CometChatList/CometChatList.d.ts +90 -0
  911. package/lib/shared/views/CometChatList/CometChatList.js +76 -89
  912. package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
  913. package/lib/shared/views/CometChatList/Header.d.ts +2 -1
  914. package/lib/shared/views/CometChatList/Header.js +50 -60
  915. package/lib/shared/views/CometChatList/Header.js.map +1 -1
  916. package/lib/shared/views/CometChatList/styles.d.ts +98 -1
  917. package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +3 -3
  918. package/lib/shared/views/CometChatListItem/CometChatListItem.js +59 -86
  919. package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -1
  920. package/lib/shared/views/CometChatListItem/ListItemStyle.js +0 -2
  921. package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -1
  922. package/lib/shared/views/CometChatListItem/style.d.ts +61 -1
  923. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +2 -1
  924. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +54 -52
  925. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
  926. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +0 -10
  927. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -1
  928. package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -1
  929. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +61 -0
  930. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +17 -24
  931. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
  932. package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
  933. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +1 -1
  934. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +29 -34
  935. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -1
  936. package/lib/shared/views/CometChatMessageInput/index.d.ts +2 -1
  937. package/lib/shared/views/CometChatMessageInput/index.js.map +1 -1
  938. package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -1
  939. package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +2 -1
  940. package/lib/shared/views/CometChatPanel/CometChatPanel.js +7 -21
  941. package/lib/shared/views/CometChatPanel/CometChatPanel.js.map +1 -1
  942. package/lib/shared/views/CometChatPanel/PanelStyle.js +0 -5
  943. package/lib/shared/views/CometChatPanel/PanelStyle.js.map +1 -1
  944. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +2 -1
  945. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js +21 -26
  946. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js.map +1 -1
  947. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js +0 -3
  948. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js.map +1 -1
  949. package/lib/shared/views/CometChatQuickReactions/index.d.ts +2 -1
  950. package/lib/shared/views/CometChatQuickReactions/index.js.map +1 -1
  951. package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +2 -1
  952. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js +12 -24
  953. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js.map +1 -1
  954. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js +0 -8
  955. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js.map +1 -1
  956. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.d.ts +2 -1
  957. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js +12 -23
  958. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js.map +1 -1
  959. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js +0 -6
  960. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js.map +1 -1
  961. package/lib/shared/views/CometChatReactionList/CometChatReactionList.d.ts +20 -0
  962. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +84 -91
  963. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +1 -1
  964. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js +0 -11
  965. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js.map +1 -1
  966. package/lib/shared/views/CometChatReactionList/index.d.ts +2 -1
  967. package/lib/shared/views/CometChatReactionList/index.js.map +1 -1
  968. package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +3 -2
  969. package/lib/shared/views/CometChatReactions/CometChatReactions.js +44 -59
  970. package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +1 -1
  971. package/lib/shared/views/CometChatReactions/ReactionsStyle.js +0 -5
  972. package/lib/shared/views/CometChatReactions/ReactionsStyle.js.map +1 -1
  973. package/lib/shared/views/CometChatReactions/style.d.ts +38 -1
  974. package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +3 -2
  975. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +2 -7
  976. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -1
  977. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +0 -6
  978. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -1
  979. package/lib/shared/views/CometChatReceipt/style.d.ts +7 -1
  980. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +2 -1
  981. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +473 -551
  982. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -1
  983. package/lib/shared/views/CometChatSchedulerBubble/styles.d.ts +91 -1
  984. package/lib/shared/views/CometChatSchedulerBubble/styles.js +1 -1
  985. package/lib/shared/views/CometChatSchedulerBubble/styles.js.map +1 -1
  986. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.d.ts +2 -1
  987. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js +11 -21
  988. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js.map +1 -1
  989. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js +0 -6
  990. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js.map +1 -1
  991. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +2 -1
  992. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +10 -15
  993. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -1
  994. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +0 -2
  995. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -1
  996. package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -1
  997. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +2 -1
  998. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js +14 -17
  999. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +1 -1
  1000. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js +5 -40
  1001. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js.map +1 -1
  1002. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js +0 -10
  1003. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js.map +1 -1
  1004. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +2 -1
  1005. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +6 -13
  1006. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -1
  1007. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +1 -3
  1008. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -1
  1009. package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +2 -1
  1010. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js +13 -16
  1011. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js.map +1 -1
  1012. package/lib/shared/views/CometChatTextInput/TextInputStyle.js +0 -3
  1013. package/lib/shared/views/CometChatTextInput/TextInputStyle.js.map +1 -1
  1014. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.d.ts +2 -1
  1015. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js +39 -48
  1016. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js.map +1 -1
  1017. package/lib/shared/views/CometChatTimeSlotSelector/styles.d.ts +25 -1
  1018. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +2 -1
  1019. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +15 -17
  1020. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
  1021. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +1 -23
  1022. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -1
  1023. package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -1
  1024. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +2 -18
  1025. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +7 -10
  1026. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +1 -1
  1027. package/lib/shared/views/SwipeRow/SwipeRow.js +24 -32
  1028. package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -1
  1029. package/lib/shared/views/SwipeRow/style.d.ts +28 -1
  1030. package/package.json +1 -1
  1031. package/src/AI/AIConversationSummary/resources/close.png +0 -0
  1032. package/src/CometChatConversations/CometChatConversations.tsx +85 -72
  1033. package/src/CometChatConversations/resources/close.png +0 -0
  1034. package/src/CometChatConversations/resources/rightTick.png +0 -0
  1035. package/src/CometChatCreateGroup/resources/close.png +0 -0
  1036. package/src/CometChatCreateGroup/resources/rightTick.png +0 -0
  1037. package/src/CometChatDetails/CometChatDetails.tsx +13 -19
  1038. package/src/CometChatDetails/resources/close.png +0 -0
  1039. package/src/CometChatGroupMembers/resources/rightTick.png +0 -0
  1040. package/src/CometChatGroups/resources/close.png +0 -0
  1041. package/src/CometChatGroups/resources/rightTick.png +0 -0
  1042. package/src/CometChatJoinProtectedGroup/resources/close.png +0 -0
  1043. package/src/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
  1044. package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +34 -47
  1045. package/src/CometChatMessageComposer/resources/Info.png +0 -0
  1046. package/src/CometChatMessageComposer/resources/circle_add.png +0 -0
  1047. package/src/CometChatMessageComposer/resources/close.png +0 -0
  1048. package/src/CometChatMessageComposer/resources/image.png +0 -0
  1049. package/src/CometChatMessageComposer/resources/send_message.png +0 -0
  1050. package/src/CometChatMessageComposer/resources/stickers.png +0 -0
  1051. package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +5 -4
  1052. package/src/CometChatMessageList/CometChatMessageList.tsx +51 -65
  1053. package/src/CometChatMessageList/resources/close.png +0 -0
  1054. package/src/CometChatMessageList/resources/leftarrowcurve.png +0 -0
  1055. package/src/CometChatMessages/CometChatMessages.tsx +1 -2
  1056. package/src/CometChatMessages/resources/info.png +0 -0
  1057. package/src/CometChatMessages/style.ts +0 -1
  1058. package/src/CometChatThreadedMessages/resources/close.png +0 -0
  1059. package/src/calls/CometChatCallButtons/resources/Call.png +0 -0
  1060. package/src/calls/CometChatCallButtons/resources/Video.png +0 -0
  1061. package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +6 -4
  1062. package/src/calls/CometChatCallLogHistory/resources/Info.png +0 -0
  1063. package/src/calls/CometChatCallLogRecordings/resources/download.png +0 -0
  1064. package/src/calls/CometChatCallLogs/CallLogsConfiguration.ts +4 -4
  1065. package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +9 -7
  1066. package/src/calls/CometChatCallLogs/resources/Info.png +0 -0
  1067. package/src/calls/CometChatOutgoingCall/resources/Close.png +0 -0
  1068. package/src/calls/resources/Call.png +0 -0
  1069. package/src/calls/resources/Video.png +0 -0
  1070. package/src/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
  1071. package/src/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
  1072. package/src/extensions/ImageModeration/ImageModerationFilter.tsx +0 -1
  1073. package/src/extensions/LinkPreview/LinkPreviewBubble.tsx +20 -4
  1074. package/src/extensions/MessageTranslation/resources/translate.png +0 -0
  1075. package/src/extensions/Polls/resources/close.png +0 -0
  1076. package/src/extensions/Polls/resources/document.png +0 -0
  1077. package/src/extensions/Polls/resources/kickIcon.png +0 -0
  1078. package/src/extensions/Polls/resources/rightTick.png +0 -0
  1079. package/src/extensions/SmartReplies/resources/close.png +0 -0
  1080. package/src/extensions/Stickers/resources/Stickers.png +0 -0
  1081. package/src/shared/assets/images/checkmark.png +0 -0
  1082. package/src/shared/assets/images/grey-double-tick-icon.png +0 -0
  1083. package/src/shared/assets/images/grey-tick-icon.png +0 -0
  1084. package/src/shared/framework/resources/audio-file.png +0 -0
  1085. package/src/shared/framework/resources/circle_add.png +0 -0
  1086. package/src/shared/framework/resources/copy.png +0 -0
  1087. package/src/shared/framework/resources/delete.png +0 -0
  1088. package/src/shared/framework/resources/edit.png +0 -0
  1089. package/src/shared/framework/resources/file_upload.png +0 -0
  1090. package/src/shared/framework/resources/image.png +0 -0
  1091. package/src/shared/framework/resources/info.png +0 -0
  1092. package/src/shared/framework/resources/messageInPrivate.png +0 -0
  1093. package/src/shared/framework/resources/pause.png +0 -0
  1094. package/src/shared/framework/resources/play.png +0 -0
  1095. package/src/shared/framework/resources/send_message.png +0 -0
  1096. package/src/shared/framework/resources/share.png +0 -0
  1097. package/src/shared/framework/resources/thread.png +0 -0
  1098. package/src/shared/framework/resources/video_upload.png +0 -0
  1099. package/src/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
  1100. package/src/shared/utils/CommonUtils.ts +43 -9
  1101. package/src/shared/utils/DetailsUtils/DetailsUtils.tsx +116 -71
  1102. package/src/shared/utils/DetailsUtils/resources/close.png +0 -0
  1103. package/src/shared/views/CometChatActionSheet/resources/grid.png +0 -0
  1104. package/src/shared/views/CometChatActionSheet/resources/list.png +0 -0
  1105. package/src/shared/views/CometChatAudioBubble/CometChatAudioBubble.tsx +23 -3
  1106. package/src/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
  1107. package/src/shared/views/CometChatAudioBubble/resources/play.png +0 -0
  1108. package/src/shared/views/CometChatFileBubble/CometChatFileBubble.tsx +26 -3
  1109. package/src/shared/views/CometChatFileBubble/resources/download.png +0 -0
  1110. package/src/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
  1111. package/src/shared/views/CometChatFileBubble/style.ts +2 -0
  1112. package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +21 -3
  1113. package/src/shared/views/CometChatList/CometChatList.tsx +15 -10
  1114. package/src/shared/views/CometChatList/resources/checkmark.png +0 -0
  1115. package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
  1116. package/src/shared/views/CometChatReactionList/CometChatReactionList.tsx +6 -6
  1117. package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +7 -4
  1118. package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +23 -3
  1119. package/src/shared/views/CometChatVideoBubble/resources/play.png +0 -0
@@ -1,10 +1,10 @@
1
1
  import { CometChat } from '@cometchat/chat-sdk-react-native'
2
2
  import React, { useContext, useEffect, useRef, useState } from 'react'
3
- import { FlatList, Image, StyleProp, Text, TouchableOpacity, View, ViewStyle } from 'react-native'
3
+ import { ActivityIndicator, FlatList, Image, StyleProp, Text, TouchableOpacity, View, ViewStyle } from 'react-native'
4
4
  import { DatePattern, ImageType } from '../../shared/base/Types'
5
5
  import { CometChatContext, CometChatDate, CometChatListItem, CometChatOptions, ListItemStyleInterface, localize } from '../../shared'
6
6
  import { CallLogHistoryStyle, CallLogHistoryStyleInterface } from './CallLogHistoryStyle'
7
- import { LoadingIcon, BackIcon } from "./resources";
7
+ import { BackIcon } from "./resources";
8
8
  import { Style } from './style'
9
9
  import { CallingPackage } from '../CallingPackage'
10
10
  import { CallUtils } from '../CallUtils'
@@ -30,6 +30,9 @@ export interface CometChatCallLogHistoryInterface {
30
30
  emptyStateText?: string,
31
31
  ErrorStateView?: () => JSX.Element,
32
32
  errorStateText?: string,
33
+ /**
34
+ * @deprecated
35
+ */
33
36
  loadingIcon?: ImageType,
34
37
  LoadingStateView?: () => JSX.Element,
35
38
  hideError?: boolean,
@@ -63,7 +66,6 @@ export const CometChatCallLogHistory = (props: CometChatCallLogHistoryInterface)
63
66
  emptyStateText,
64
67
  ErrorStateView,
65
68
  errorStateText,
66
- loadingIcon,
67
69
  LoadingStateView,
68
70
  hideError,
69
71
  onItemPress,
@@ -302,7 +304,7 @@ export const CometChatCallLogHistory = (props: CometChatCallLogHistoryInterface)
302
304
  if (LoadingStateView)
303
305
  return <LoadingStateView />
304
306
  return <View style={[Style.container]}>
305
- <Image source={loadingIcon || LoadingIcon} style={[Style.imageStyle, { tintColor: loadingTint }]} />
307
+ <ActivityIndicator size={"large"} color={loadingTint} />
306
308
  </View>
307
309
  }
308
310
 
@@ -12,8 +12,8 @@ export interface CallLogsConfigurationInterface {
12
12
  AppBarOptions?: () => JSX.Element,
13
13
  options?: (param: { message: CometChat.BaseMessage }) => CometChatOptions[],
14
14
  callRequestBuilder?: any,
15
- datePattern: DatePattern,
16
- dateSeparatorPattern: DatePattern,
15
+ datePattern?: DatePattern,
16
+ dateSeparatorPattern?: DatePattern,
17
17
  hideSeperator?: boolean,
18
18
  BackButton?: JSX.Element,
19
19
  showBackButton?: boolean,
@@ -48,8 +48,8 @@ export class CallLogsConfiguration implements CallLogsConfigurationInterface {
48
48
  AppBarOptions?: () => JSX.Element
49
49
  options?: (param: { message: CometChat.BaseMessage }) => CometChatOptions[]
50
50
  callRequestBuilder?: any
51
- datePattern: DatePattern
52
- dateSeparatorPattern: DatePattern
51
+ datePattern?: DatePattern
52
+ dateSeparatorPattern?: DatePattern
53
53
  hideSeperator?: boolean
54
54
  BackButton?: JSX.Element
55
55
  showBackButton?: boolean
@@ -1,11 +1,11 @@
1
1
  import { CometChat } from '@cometchat/chat-sdk-react-native'
2
2
  import React, { useContext, useEffect, useRef, useState } from 'react'
3
- import { FlatList, Image, Text, TouchableOpacity, View } from 'react-native'
3
+ import { ActivityIndicator, FlatList, Image, Text, TouchableOpacity, View } from 'react-native'
4
4
  import { StyleProp, ViewStyle } from "react-native/types";
5
5
  import { AvatarStyleInterface, CometChatContext, CometChatDate, CometChatListItem, CometChatOptions, DatePattern, ImageType, ListItemStyleInterface, localize } from '../../shared'
6
6
  import { CallLogsStyle, CallLogsStyleInterface } from './CallLogsStyle'
7
7
  import { CometChatUIEventHandler } from '../../shared/events/CometChatUIEventHandler/CometChatUIEventHandler'
8
- import { LoadingIcon, DetailIcon, BackIcon, IncomingCallIcon, IncomingVideoIcon, MissedCallIcon, MissedVideoIcon, OutgoingCallIcon, OutgoingVideoIcon } from "./resources";
8
+ import { DetailIcon, BackIcon, IncomingCallIcon, IncomingVideoIcon, MissedCallIcon, MissedVideoIcon, OutgoingCallIcon, OutgoingVideoIcon } from "./resources";
9
9
  import { CallTypeConstants } from '../../shared/constants/UIKitConstants'
10
10
  import { Style } from './style'
11
11
  import { CallingPackage } from '../CallingPackage'
@@ -24,8 +24,8 @@ export interface CometChatCallLogsConfigurationInterface {
24
24
  AppBarOptions?: () => JSX.Element,
25
25
  options?: (param: { message: any }) => CometChatOptions[],
26
26
  callRequestBuilder?: any,
27
- datePattern: DatePattern,
28
- dateSeparatorPattern: DatePattern,
27
+ datePattern?: DatePattern,
28
+ dateSeparatorPattern?: DatePattern,
29
29
  hideSeperator?: boolean,
30
30
  BackButton?: JSX.Element,
31
31
  showBackButton?: boolean,
@@ -33,6 +33,9 @@ export interface CometChatCallLogsConfigurationInterface {
33
33
  emptyStateText?: string,
34
34
  ErrorStateView?: () => JSX.Element,
35
35
  errorStateText?: string,
36
+ /**
37
+ * @deprecated
38
+ */
36
39
  loadingIcon?: ImageType,
37
40
  LoadingStateView?: () => JSX.Element,
38
41
  hideError?: boolean,
@@ -75,7 +78,6 @@ export const CometChatCallLogs = (props: CometChatCallLogsConfigurationInterface
75
78
  emptyStateText,
76
79
  ErrorStateView,
77
80
  errorStateText,
78
- loadingIcon,
79
81
  LoadingStateView,
80
82
  hideError,
81
83
  onItemPress,
@@ -108,7 +110,7 @@ export const CometChatCallLogs = (props: CometChatCallLogsConfigurationInterface
108
110
  emptyTextFont: theme?.typography?.subtitle1,
109
111
  errorTextColor: theme?.palette?.getError(),
110
112
  errorTextFont: theme?.typography?.subtitle1,
111
- loadingTint: theme?.palette.getAccent700(),
113
+ loadingTint: theme?.palette.getPrimary(),
112
114
  infoIconTint: theme.palette.getPrimary(),
113
115
  subtitleTextColor: theme.palette.getAccent(),
114
116
  subtitleTextFont: theme.typography.text2,
@@ -429,7 +431,7 @@ export const CometChatCallLogs = (props: CometChatCallLogsConfigurationInterface
429
431
  if (LoadingStateView)
430
432
  return <LoadingStateView />
431
433
  return <View style={[Style.container]}>
432
- <Image source={loadingIcon || LoadingIcon} style={[Style.imageStyle, { tintColor: loadingTint }]} />
434
+ <ActivityIndicator size={"large"} color={loadingTint} />
433
435
  </View>
434
436
  }
435
437
 
Binary file
Binary file
@@ -114,7 +114,6 @@ export const ImageModerationFilter = (
114
114
 
115
115
  const styles = StyleSheet.create({
116
116
  container: {
117
- flex: 1,
118
117
  height: 200,
119
118
  width: 200,
120
119
  },
@@ -30,6 +30,10 @@ export const LinkPreviewBubble = (props: LinkPreviewBubbleInterface) => {
30
30
 
31
31
  const [imageSource, setImageSource] = useState({ uri: image.startsWith("https:") ? image : `https:${image.split("http:")[1]}` });
32
32
 
33
+ const callCount = useRef(0);
34
+ const timerId = useRef(null);
35
+ const threshold = 10;
36
+ const timeframe = 1000;
33
37
 
34
38
  const pressTime = useRef(0);
35
39
 
@@ -47,11 +51,23 @@ export const LinkPreviewBubble = (props: LinkPreviewBubbleInterface) => {
47
51
  };
48
52
 
49
53
  const onTouchMove = () => {
50
- if (Platform.OS === "ios") {
51
- pressTime.current = null;
54
+ if (Platform.OS === 'ios') {
55
+ callCount.current += 1;
56
+
57
+ if (callCount.current >= threshold) {
58
+ callCount.current = 0; // Reset the count after reaching the threshold
59
+ pressTime.current = null;
60
+ }
61
+
62
+ if (timerId.current) {
63
+ clearTimeout(timerId.current);
64
+ }
65
+
66
+ timerId.current = setTimeout(() => {
67
+ callCount.current = 0;
68
+ }, timeframe);
52
69
  }
53
- }
54
-
70
+ };
55
71
 
56
72
  return (
57
73
  <View>
@@ -45,25 +45,59 @@ export class CommonUtils {
45
45
  return res as T;
46
46
  }
47
47
 
48
+ static mergeObjects(obj1: object, obj2: object) {
49
+ // Create a new instance of the same class as obj1
50
+ let merged = Object.create(Object.getPrototypeOf(obj1));
48
51
 
49
- static getComponentIdFromMessage(message : CometChat.BaseMessage):Object{
52
+ // Copy properties from obj1 to the new instance
53
+ Object.assign(merged, obj1);
54
+
55
+ // Copy properties from obj2 to the new instance
56
+ Object.assign(merged, obj2);
57
+
58
+ return merged;
59
+ }
60
+
61
+ /**
62
+ * Merge two arrays of objects based on a key
63
+ */
64
+ static mergeArrays(arr1: Array<object>, arr2: Array<object>, key: string) {
65
+ let map = new Map();
66
+
67
+ arr1.forEach(obj => {
68
+ map.set(obj[key], obj);
69
+ });
70
+
71
+ arr2.forEach(obj => {
72
+ if (map.has(obj[key])) {
73
+ let mergedObj = this.mergeObjects(map.get(obj[key]), obj);
74
+ map.set(obj[key], mergedObj);
75
+ } else {
76
+ map.set(obj[key], obj);
77
+ }
78
+ });
79
+
80
+ return Array.from(map.values());
81
+ }
82
+
83
+ static getComponentIdFromMessage(message: CometChat.BaseMessage): Object {
50
84
  let id = {};
51
85
  if (message.receiver instanceof CometChat.User) {
52
- id['uid'] = (message.sender as CometChat.User).uid;
86
+ id['uid'] = (message.sender as CometChat.User).uid;
53
87
  } else if (message.receiver instanceof CometChat.Group) {
54
- id['guid'] = (message.receiver as CometChat.Group).guid;
88
+ id['guid'] = (message.receiver as CometChat.Group).guid;
55
89
  }
56
90
  if (message.parentMessageId && message.parentMessageId !== 0) {
57
- id['parentMessageId'] = message.parentMessageId;
91
+ id['parentMessageId'] = message.parentMessageId;
58
92
  }
59
93
  return id;
60
94
  }
61
95
 
62
- static checkIdBelongsToThisComponent(id, user :CometChat.User, group: CometChat.Group, parentMessageId :string| number): boolean{
63
- if(id){
64
- if(id['parentMessageId'] && ( id['parentMessageId'] != parentMessageId ))return false
65
- if((id['uid'] || user) && id['uid'] != user?.uid) return false;
66
- if( (id['guid'] || group) && id['guid'] != group?.guid) return false;
96
+ static checkIdBelongsToThisComponent(id, user: CometChat.User, group: CometChat.Group, parentMessageId: string | number): boolean {
97
+ if (id) {
98
+ if (id['parentMessageId'] && (id['parentMessageId'] != parentMessageId)) return false
99
+ if ((id['uid'] || user) && id['uid'] != user?.uid) return false;
100
+ if ((id['guid'] || group) && id['guid'] != group?.guid) return false;
67
101
  }
68
102
  return true;
69
103
  }
@@ -4,6 +4,7 @@ import {
4
4
  UserStatusConstants,
5
5
  GroupMemberOptionBan,
6
6
  GroupMemberOptionKick,
7
+ GroupOptionConstants,
7
8
  } from '../../constants/UIKitConstants';
8
9
 
9
10
  import { CometChatDetailsOption, CometChatOptions, CometChatDetailsTemplate } from '../../modals';
@@ -11,110 +12,123 @@ import { localize } from '../../resources/CometChatLocalize';
11
12
  import { CometChat } from '@cometchat/chat-sdk-react-native';
12
13
  import { ICONS } from "./resources";
13
14
  import { CometChatTheme } from '../../resources/CometChatTheme';
14
- export const getDefaultDetailsTemplate = ({ loggedInUser, user, group, theme }) => {
15
- if (user) return [getSecondaryDetailsTemplate({ loggedInUser, user, group, theme })];
16
- return [
17
- getPrimaryDetailsTemplate({ loggedInUser, user, group, theme }),
18
- getSecondaryDetailsTemplate({ loggedInUser, user, group, theme }),
19
- ];
20
- };
21
15
 
22
- const validateDetailOptions = ({ loggedInUser, group, optionId }) => {
23
- if (optionId === GroupMemberOptionConstants.view) return true;
24
- let isValid = validateGroupMemberOptions(
25
- loggedInUser.uid === group.owner
26
- ? GroupMemberScope.owner
27
- : group.scope,
28
- group.scope,
29
- optionId
30
- );
31
- return isValid;
16
+ export const getDefaultDetailsTemplate = (loggedInUser: CometChat.User, user: CometChat.User | null = null, group: CometChat.Group | null = null, theme: CometChatTheme = new CometChatTheme({})) : Array<CometChatDetailsTemplate> => {
17
+ if (user){
18
+ return [getSecondaryDetailsTemplate(loggedInUser, user, group, theme) ?? {} as CometChatDetailsTemplate];
19
+ } else if (group){
20
+ return [
21
+ getPrimaryDetailsTemplate(loggedInUser, user, group, theme) ?? {} as CometChatDetailsTemplate,
22
+ getSecondaryDetailsTemplate(loggedInUser, user, group, theme) ?? {} as CometChatDetailsTemplate,
23
+ ];
24
+ } else {
25
+ return [];
26
+ }
32
27
  };
33
28
 
34
- const getBlockUnblockUserOption = ({ user, theme }) => {
35
- if (user.blockedByMe)
36
- return getCometChatDetailsOption({
29
+ const getBlockUnblockUserOption = (user: CometChat.User, theme: CometChatTheme = new CometChatTheme({})) => {
30
+ if (user.getBlockedByMe()){
31
+ return {
37
32
  id: UserStatusConstants.blocked,
38
33
  title: localize('UNBLOCK_USER'),
39
34
  Tail: () => null,
40
35
  titleStyle: { color: theme?.palette?.getError() ?? 'red' },
41
- });
42
- return getCometChatDetailsOption({
43
- id: UserStatusConstants.unblocked,
44
- title: localize('BLOCK_USER'),
45
- Tail: () => null,
46
- titleStyle: { color: theme?.palette?.getError() ?? 'red' },
47
- });
36
+ } as unknown as CometChatDetailsOption;
37
+ } else {
38
+ return {
39
+ id: UserStatusConstants.unblocked,
40
+ title: localize('BLOCK_USER'),
41
+ Tail: () => null,
42
+ titleStyle: { color: theme?.palette?.getError() ?? 'red' },
43
+ } as unknown as CometChatDetailsOption;
44
+ }
48
45
  };
49
46
 
50
- const getPrimaryDetailsTemplate = ({ loggedInUser, user, group, theme }) => {
51
- if (user) return null;
52
- return getCometChatDetailsTemplate({
53
- id: 'primary',
54
- options: [
55
- getViewMembersOption(),
56
- getAddMembersOption(),
57
- getBannedMemberOption(),
58
- ].filter((item) =>
59
- validateDetailOptions({ loggedInUser, group, optionId: item.id })
60
- ),
61
- });
47
+ const getPrimaryDetailsTemplate = (loggedInUser: CometChat.User, user: CometChat.User | null = null, group: CometChat.Group | null = null, theme: CometChatTheme = new CometChatTheme({})): CometChatDetailsTemplate | null => {
48
+ if (user) {
49
+ return null;
50
+ } else if(group){
51
+ return {
52
+ id: 'primary',
53
+ options: [
54
+ getViewMembersOption(),
55
+ getAddMembersOption(),
56
+ getBannedMemberOption(),
57
+ ].filter((template: CometChatDetailsOption) => {
58
+ let scope = group?.getScope() ? group?.getScope() : GroupMemberScope.participant;
59
+ let key = group.getOwner() == loggedInUser?.getUid() ? GroupMemberScope.owner : scope;
60
+ return template && _allowedGroupDetailsOptions[key][template?.id as string]
61
+ }),
62
+ } as CometChatDetailsTemplate;
63
+ } else {
64
+ return null;
65
+ }
62
66
  };
63
- const getSecondaryDetailsTemplate = ({ loggedInUser, user, group, theme }) => {
64
- if (user)
65
- return getCometChatDetailsTemplate({
67
+
68
+ const getSecondaryDetailsTemplate = (loggedInUser: CometChat.User, user: CometChat.User | null = null, group: CometChat.Group | null = null, theme: CometChatTheme = new CometChatTheme({})): CometChatDetailsTemplate | null => {
69
+ if (user){
70
+ return {
66
71
  id: 'userDetails',
67
- options: [getBlockUnblockUserOption({ user, theme })],
68
- });
69
- return getCometChatDetailsTemplate({
70
- id: 'secondary',
71
- options: [
72
- getLeaveGroupOption({ theme }),
73
- getDeleteGroupOption({ theme }),
74
- ].filter((item) =>
75
- validateDetailOptions({ loggedInUser, group, optionId: item.id })
76
- ),
77
- title: 'MORE',
78
- });
72
+ options: [getBlockUnblockUserOption(user, theme)],
73
+ } as CometChatDetailsTemplate;
74
+ } else if(group){
75
+ return {
76
+ id: 'secondary',
77
+ options: [
78
+ getLeaveGroupOption(theme),
79
+ getDeleteGroupOption(theme),
80
+ ].filter((template: CometChatDetailsOption) => {
81
+ let scope = group?.getScope() ? group?.getScope() : GroupMemberScope.participant;
82
+ let key = group.getOwner() == loggedInUser?.getUid() ? GroupMemberScope.owner : scope;
83
+ return _allowedGroupDetailsOptions[key][template.id as string];
84
+ }),
85
+ title: 'MORE',
86
+ } as CometChatDetailsTemplate;
87
+ } else {
88
+ return null;
89
+ }
90
+
79
91
  };
80
92
 
81
93
  const getViewMembersOption = () => {
82
- return getCometChatDetailsOption({
83
- id: GroupMemberOptionConstants.view,
94
+ return {
95
+ id: GroupOptionConstants.viewMembers,
84
96
  title: localize('VIEW_MEMBERS'),
85
- });
97
+ } as CometChatDetailsOption;
86
98
  };
87
99
 
88
100
  const getAddMembersOption = () => {
89
- return getCometChatDetailsOption({
90
- id: GroupMemberOptionConstants.addMembers,
101
+ return {
102
+ id: GroupOptionConstants.addMembers,
91
103
  title: localize('ADD_MEMBERS'),
92
- });
104
+ } as CometChatDetailsOption;
93
105
  };
94
106
 
95
107
  const getBannedMemberOption = () => {
96
- return getCometChatDetailsOption({
97
- id: GroupMemberOptionConstants.ban,
108
+ return {
109
+ id: GroupOptionConstants.bannedMembers,
98
110
  title: localize('BANNED_MEMBERS'),
99
- });
111
+ } as CometChatDetailsOption;
100
112
  };
101
113
 
102
- const getLeaveGroupOption = ({ theme }) => {
103
- return getCometChatDetailsOption({
104
- id: GroupMemberOptionConstants.leave,
114
+ const getLeaveGroupOption = (theme: CometChatTheme = new CometChatTheme({})) => {
115
+ return {
116
+ id: GroupOptionConstants.leave,
105
117
  title: localize('LEAVE_GROUP'),
106
118
  Tail: () => null,
107
119
  titleStyle: { color: theme?.palette?.getError() ?? 'red' },
108
- });
120
+ } as unknown as CometChatDetailsOption;
109
121
  };
110
- const getDeleteGroupOption = ({ theme }) => {
111
- return getCometChatDetailsOption({
112
- id: GroupMemberOptionConstants.deleteGroup,
122
+
123
+ const getDeleteGroupOption = (theme: CometChatTheme = new CometChatTheme({})) => {
124
+ return {
125
+ id: GroupOptionConstants.delete,
113
126
  title: localize('DELETE_AND_EXIT'),
114
127
  Tail: () => null,
115
128
  titleStyle: { color: theme?.palette?.getError() ?? 'red' },
116
- });
129
+ } as unknown as CometChatDetailsOption;
117
130
  };
131
+
118
132
  export const getCometChatDetailsTemplate = (
119
133
  props: CometChatDetailsTemplate
120
134
  ) => {
@@ -351,3 +365,34 @@ _allowedGroupMemberOptions[GroupMemberScope.owner + GroupMemberScope.admin] = {
351
365
  leave: true,
352
366
  transferOwnership: true,
353
367
  };
368
+
369
+ const _allowedGroupDetailsOptions: { [key: string]: { [key: string]: boolean } } = {
370
+ [GroupMemberScope.participant]: {
371
+ [GroupOptionConstants.leave]: true,
372
+ [GroupOptionConstants.bannedMembers]: false,
373
+ [GroupOptionConstants.viewMembers]: true,
374
+ [GroupOptionConstants.addMembers]: false,
375
+ [GroupOptionConstants.delete]: false,
376
+ },
377
+ [GroupMemberScope.moderator]: {
378
+ [GroupOptionConstants.leave]: true,
379
+ [GroupOptionConstants.bannedMembers]: true,
380
+ [GroupOptionConstants.viewMembers]: true,
381
+ [GroupOptionConstants.addMembers]: false,
382
+ [GroupOptionConstants.delete]: false,
383
+ },
384
+ [GroupMemberScope.admin]: {
385
+ [GroupOptionConstants.leave]: true,
386
+ [GroupOptionConstants.bannedMembers]: true,
387
+ [GroupOptionConstants.viewMembers]: true,
388
+ [GroupOptionConstants.addMembers]: true,
389
+ [GroupOptionConstants.delete]: false,
390
+ },
391
+ [GroupMemberScope.owner]: {
392
+ [GroupOptionConstants.leave]: true,
393
+ [GroupOptionConstants.bannedMembers]: true,
394
+ [GroupOptionConstants.viewMembers]: true,
395
+ [GroupOptionConstants.addMembers]: true,
396
+ [GroupOptionConstants.delete]: true,
397
+ },
398
+ };
@@ -53,6 +53,11 @@ export const CometChatAudioBubble = ({
53
53
 
54
54
  const { theme } = useContext<CometChatContextType>(CometChatContext);
55
55
 
56
+ const callCount = useRef(0);
57
+ const timerId = useRef(null);
58
+ const threshold = 10;
59
+ const timeframe = 1000;
60
+
56
61
  const _style = new AudioBubbleStyle({
57
62
  backgroundColor: theme?.palette.getBackgroundColor(),
58
63
  iconTint: theme?.palette.getPrimary(),
@@ -145,11 +150,26 @@ export const CometChatAudioBubble = ({
145
150
  }
146
151
  };
147
152
 
153
+
148
154
  const onTouchMove = () => {
149
- if (Platform.OS === "ios") {
150
- pressTime.current = null
155
+ if (Platform.OS === 'ios') {
156
+ callCount.current += 1;
157
+
158
+ if (callCount.current >= threshold) {
159
+ callCount.current = 0; // Reset the count after reaching the threshold
160
+ pressTime.current = null;
161
+ }
162
+
163
+ if (timerId.current) {
164
+ clearTimeout(timerId.current);
165
+ }
166
+
167
+ timerId.current = setTimeout(() => {
168
+ callCount.current = 0;
169
+ }, timeframe);
151
170
  }
152
- }
171
+ };
172
+
153
173
 
154
174
  return (
155
175
  <View style={[Style.container, { backgroundColor, ...border, borderRadius, height, width }]}>