@cometchat/chat-uikit-react-native 4.3.5 → 4.3.7

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 (1270) 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/fileHashes/fileHashes.lock +0 -0
  6. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  7. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  8. package/android/.idea/gradle.xml +13 -0
  9. package/android/.idea/misc.xml +9 -0
  10. package/android/.idea/vcs.xml +6 -0
  11. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +43 -0
  12. package/lib/CometChatAddMembers/AddMembersConfiguration.js +41 -0
  13. package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -0
  14. package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +10 -0
  15. package/lib/CometChatAddMembers/CometChatAddMembers.js +60 -0
  16. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -0
  17. package/lib/CometChatAddMembers/index.d.ts +3 -0
  18. package/lib/CometChatAddMembers/index.js +4 -0
  19. package/lib/CometChatAddMembers/index.js.map +1 -0
  20. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +46 -0
  21. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +43 -0
  22. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -0
  23. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +18 -0
  24. package/lib/CometChatBannedMembers/CometChatBannedMembers.js +72 -0
  25. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -0
  26. package/lib/CometChatBannedMembers/index.d.ts +3 -0
  27. package/lib/CometChatBannedMembers/index.js +4 -0
  28. package/lib/CometChatBannedMembers/index.js.map +1 -0
  29. package/lib/CometChatBannedMembers/resources/index.d.ts +3 -0
  30. package/lib/CometChatBannedMembers/resources/index.js +3 -0
  31. package/lib/CometChatBannedMembers/resources/index.js.map +1 -0
  32. package/lib/CometChatContacts/CometChatContacts.d.ts +75 -0
  33. package/lib/CometChatContacts/CometChatContacts.js +84 -0
  34. package/lib/CometChatContacts/CometChatContacts.js.map +1 -0
  35. package/lib/CometChatContacts/ContactsConfiguration.d.ts +73 -0
  36. package/lib/CometChatContacts/ContactsConfiguration.js +2 -0
  37. package/lib/CometChatContacts/ContactsConfiguration.js.map +1 -0
  38. package/lib/CometChatContacts/ContactsStyle.d.ts +59 -0
  39. package/lib/CometChatContacts/ContactsStyle.js +2 -0
  40. package/lib/CometChatContacts/ContactsStyle.js.map +1 -0
  41. package/lib/CometChatContacts/Header.d.ts +31 -0
  42. package/lib/CometChatContacts/Header.js +72 -0
  43. package/lib/CometChatContacts/Header.js.map +1 -0
  44. package/lib/CometChatContacts/index.d.ts +4 -0
  45. package/lib/CometChatContacts/index.js +3 -0
  46. package/lib/CometChatContacts/index.js.map +1 -0
  47. package/lib/CometChatContacts/styles.d.ts +101 -0
  48. package/lib/CometChatContacts/styles.js +104 -0
  49. package/lib/CometChatContacts/styles.js.map +1 -0
  50. package/lib/CometChatConversations/CometChatConversations.d.ts +199 -0
  51. package/lib/CometChatConversations/CometChatConversations.js +643 -0
  52. package/lib/CometChatConversations/CometChatConversations.js.map +1 -0
  53. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +96 -0
  54. package/lib/CometChatConversations/ConversationsConfiguration.js +87 -0
  55. package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -0
  56. package/lib/CometChatConversations/ConversationsStyle.d.ts +38 -0
  57. package/lib/CometChatConversations/ConversationsStyle.js +46 -0
  58. package/lib/CometChatConversations/ConversationsStyle.js.map +1 -0
  59. package/lib/CometChatConversations/index.d.ts +4 -0
  60. package/lib/CometChatConversations/index.js +5 -0
  61. package/lib/CometChatConversations/index.js.map +1 -0
  62. package/lib/CometChatConversations/resources/index.d.ts +14 -0
  63. package/lib/CometChatConversations/resources/index.js +15 -0
  64. package/lib/CometChatConversations/resources/index.js.map +1 -0
  65. package/lib/CometChatConversations/style.d.ts +61 -0
  66. package/lib/CometChatConversations/style.js +63 -0
  67. package/lib/CometChatConversations/style.js.map +1 -0
  68. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +14 -0
  69. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +168 -0
  70. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -0
  71. package/lib/CometChatConversationsWithMessages/index.d.ts +2 -0
  72. package/lib/CometChatConversationsWithMessages/index.js +3 -0
  73. package/lib/CometChatConversationsWithMessages/index.js.map +1 -0
  74. package/lib/CometChatConversationsWithMessages/resources/index.d.ts +2 -0
  75. package/lib/CometChatConversationsWithMessages/resources/index.js +3 -0
  76. package/lib/CometChatConversationsWithMessages/resources/index.js.map +1 -0
  77. package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -0
  78. package/lib/CometChatConversationsWithMessages/styles.js +14 -0
  79. package/lib/CometChatConversationsWithMessages/styles.js.map +1 -0
  80. package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +98 -0
  81. package/lib/CometChatCreateGroup/CometChatCreateGroup.js +196 -0
  82. package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -0
  83. package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +14 -0
  84. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +15 -0
  85. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -0
  86. package/lib/CometChatCreateGroup/Header.d.ts +3 -0
  87. package/lib/CometChatCreateGroup/Header.js +41 -0
  88. package/lib/CometChatCreateGroup/Header.js.map +1 -0
  89. package/lib/CometChatCreateGroup/index.d.ts +3 -0
  90. package/lib/CometChatCreateGroup/index.js +4 -0
  91. package/lib/CometChatCreateGroup/index.js.map +1 -0
  92. package/lib/CometChatCreateGroup/resources/index.d.ts +5 -0
  93. package/lib/CometChatCreateGroup/resources/index.js +9 -0
  94. package/lib/CometChatCreateGroup/resources/index.js.map +1 -0
  95. package/lib/CometChatCreateGroup/style.d.ts +46 -0
  96. package/lib/CometChatCreateGroup/style.js +43 -0
  97. package/lib/CometChatCreateGroup/style.js.map +1 -0
  98. package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
  99. package/lib/CometChatDetails/CometChatDetails.js +405 -0
  100. package/lib/CometChatDetails/CometChatDetails.js.map +1 -0
  101. package/lib/CometChatDetails/DetailsConfiguration.d.ts +36 -0
  102. package/lib/CometChatDetails/DetailsConfiguration.js +26 -0
  103. package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -0
  104. package/lib/CometChatDetails/Header.d.ts +3 -0
  105. package/lib/CometChatDetails/Header.js +26 -0
  106. package/lib/CometChatDetails/Header.js.map +1 -0
  107. package/lib/CometChatDetails/index.d.ts +3 -0
  108. package/lib/CometChatDetails/index.js +4 -0
  109. package/lib/CometChatDetails/index.js.map +1 -0
  110. package/lib/CometChatDetails/listners.d.ts +20 -0
  111. package/lib/CometChatDetails/listners.js +57 -0
  112. package/lib/CometChatDetails/listners.js.map +1 -0
  113. package/lib/CometChatDetails/resources/index.d.ts +7 -0
  114. package/lib/CometChatDetails/resources/index.js +13 -0
  115. package/lib/CometChatDetails/resources/index.js.map +1 -0
  116. package/lib/CometChatDetails/styles.d.ts +28 -0
  117. package/lib/CometChatDetails/styles.js +23 -0
  118. package/lib/CometChatDetails/styles.js.map +1 -0
  119. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
  120. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +360 -0
  121. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -0
  122. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +63 -0
  123. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +59 -0
  124. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -0
  125. package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +42 -0
  126. package/lib/CometChatGroupMembers/GroupMemberStyle.js +48 -0
  127. package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -0
  128. package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +28 -0
  129. package/lib/CometChatGroupMembers/GroupScopeStyle.js +35 -0
  130. package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -0
  131. package/lib/CometChatGroupMembers/index.d.ts +4 -0
  132. package/lib/CometChatGroupMembers/index.js +5 -0
  133. package/lib/CometChatGroupMembers/index.js.map +1 -0
  134. package/lib/CometChatGroupMembers/resources/index.d.ts +5 -0
  135. package/lib/CometChatGroupMembers/resources/index.js +6 -0
  136. package/lib/CometChatGroupMembers/resources/index.js.map +1 -0
  137. package/lib/CometChatGroupMembers/style.d.ts +31 -0
  138. package/lib/CometChatGroupMembers/style.js +30 -0
  139. package/lib/CometChatGroupMembers/style.js.map +1 -0
  140. package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
  141. package/lib/CometChatGroups/CometChatGroups.js +322 -0
  142. package/lib/CometChatGroups/CometChatGroups.js.map +1 -0
  143. package/lib/CometChatGroups/GroupsConfiguration.d.ts +74 -0
  144. package/lib/CometChatGroups/GroupsConfiguration.js +72 -0
  145. package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -0
  146. package/lib/CometChatGroups/GroupsStyle.d.ts +51 -0
  147. package/lib/CometChatGroups/GroupsStyle.js +61 -0
  148. package/lib/CometChatGroups/GroupsStyle.js.map +1 -0
  149. package/lib/CometChatGroups/index.d.ts +4 -0
  150. package/lib/CometChatGroups/index.js +5 -0
  151. package/lib/CometChatGroups/index.js.map +1 -0
  152. package/lib/CometChatGroups/resources/index.d.ts +10 -0
  153. package/lib/CometChatGroups/resources/index.js +11 -0
  154. package/lib/CometChatGroups/resources/index.js.map +1 -0
  155. package/lib/CometChatGroups/style.d.ts +16 -0
  156. package/lib/CometChatGroups/style.js +19 -0
  157. package/lib/CometChatGroups/style.js.map +1 -0
  158. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +13 -0
  159. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +172 -0
  160. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -0
  161. package/lib/CometChatGroupsWithMessages/index.d.ts +2 -0
  162. package/lib/CometChatGroupsWithMessages/index.js +3 -0
  163. package/lib/CometChatGroupsWithMessages/index.js.map +1 -0
  164. package/lib/CometChatGroupsWithMessages/resources/index.d.ts +2 -0
  165. package/lib/CometChatGroupsWithMessages/resources/index.js +3 -0
  166. package/lib/CometChatGroupsWithMessages/resources/index.js.map +1 -0
  167. package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -0
  168. package/lib/CometChatGroupsWithMessages/styles.js +14 -0
  169. package/lib/CometChatGroupsWithMessages/styles.js.map +1 -0
  170. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +111 -0
  171. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +96 -0
  172. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -0
  173. package/lib/CometChatJoinProtectedGroup/Header.d.ts +3 -0
  174. package/lib/CometChatJoinProtectedGroup/Header.js +33 -0
  175. package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -0
  176. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +15 -0
  177. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +16 -0
  178. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -0
  179. package/lib/CometChatJoinProtectedGroup/index.d.ts +3 -0
  180. package/lib/CometChatJoinProtectedGroup/index.js +4 -0
  181. package/lib/CometChatJoinProtectedGroup/index.js.map +1 -0
  182. package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +4 -0
  183. package/lib/CometChatJoinProtectedGroup/resources/index.js +7 -0
  184. package/lib/CometChatJoinProtectedGroup/resources/index.js.map +1 -0
  185. package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -0
  186. package/lib/CometChatJoinProtectedGroup/style.js +10 -0
  187. package/lib/CometChatJoinProtectedGroup/style.js.map +1 -0
  188. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +269 -0
  189. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +571 -0
  190. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -0
  191. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +47 -0
  192. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +34 -0
  193. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -0
  194. package/lib/CometChatMessageComposer/index.d.ts +3 -0
  195. package/lib/CometChatMessageComposer/index.js +4 -0
  196. package/lib/CometChatMessageComposer/index.js.map +1 -0
  197. package/lib/CometChatMessageComposer/resources/index.d.ts +10 -0
  198. package/lib/CometChatMessageComposer/resources/index.js +19 -0
  199. package/lib/CometChatMessageComposer/resources/index.js.map +1 -0
  200. package/lib/CometChatMessageComposer/styles.d.ts +28 -0
  201. package/lib/CometChatMessageComposer/styles.js +30 -0
  202. package/lib/CometChatMessageComposer/styles.js.map +1 -0
  203. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +150 -0
  204. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +220 -0
  205. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -0
  206. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +37 -0
  207. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +27 -0
  208. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -0
  209. package/lib/CometChatMessageHeader/index.d.ts +3 -0
  210. package/lib/CometChatMessageHeader/index.js +4 -0
  211. package/lib/CometChatMessageHeader/index.js.map +1 -0
  212. package/lib/CometChatMessageHeader/listners.d.ts +27 -0
  213. package/lib/CometChatMessageHeader/listners.js +50 -0
  214. package/lib/CometChatMessageHeader/listners.js.map +1 -0
  215. package/lib/CometChatMessageHeader/resources/index.d.ts +5 -0
  216. package/lib/CometChatMessageHeader/resources/index.js +9 -0
  217. package/lib/CometChatMessageHeader/resources/index.js.map +1 -0
  218. package/lib/CometChatMessageHeader/styles.d.ts +16 -0
  219. package/lib/CometChatMessageHeader/styles.js +16 -0
  220. package/lib/CometChatMessageHeader/styles.js.map +1 -0
  221. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +36 -0
  222. package/lib/CometChatMessageInformation/CometChatMessageInformation.js +173 -0
  223. package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -0
  224. package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +3 -0
  225. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +2 -0
  226. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +1 -0
  227. package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +11 -0
  228. package/lib/CometChatMessageInformation/MessageInformationStyle.js +2 -0
  229. package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +1 -0
  230. package/lib/CometChatMessageInformation/index.d.ts +4 -0
  231. package/lib/CometChatMessageInformation/index.js +3 -0
  232. package/lib/CometChatMessageInformation/index.js.map +1 -0
  233. package/lib/CometChatMessageInformation/resources/index.d.ts +2 -0
  234. package/lib/CometChatMessageInformation/resources/index.js +3 -0
  235. package/lib/CometChatMessageInformation/resources/index.js.map +1 -0
  236. package/lib/CometChatMessageInformation/styles.d.ts +23 -0
  237. package/lib/CometChatMessageInformation/styles.js +26 -0
  238. package/lib/CometChatMessageInformation/styles.js.map +1 -0
  239. package/lib/CometChatMessageList/CometChatMessageList.d.ts +75 -0
  240. package/lib/CometChatMessageList/CometChatMessageList.js +1047 -0
  241. package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -0
  242. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +101 -0
  243. package/lib/CometChatMessageList/MessageListConfiguration.js +37 -0
  244. package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -0
  245. package/lib/CometChatMessageList/MessageListStyle.d.ts +32 -0
  246. package/lib/CometChatMessageList/MessageListStyle.js +39 -0
  247. package/lib/CometChatMessageList/MessageListStyle.js.map +1 -0
  248. package/lib/CometChatMessageList/index.d.ts +4 -0
  249. package/lib/CometChatMessageList/index.js +5 -0
  250. package/lib/CometChatMessageList/index.js.map +1 -0
  251. package/lib/CometChatMessageList/resources/index.d.ts +6 -0
  252. package/lib/CometChatMessageList/resources/index.js +7 -0
  253. package/lib/CometChatMessageList/resources/index.js.map +1 -0
  254. package/lib/CometChatMessageList/style.d.ts +52 -0
  255. package/lib/CometChatMessageList/style.js +54 -0
  256. package/lib/CometChatMessageList/style.js.map +1 -0
  257. package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
  258. package/lib/CometChatMessages/CometChatMessages.js +200 -0
  259. package/lib/CometChatMessages/CometChatMessages.js.map +1 -0
  260. package/lib/CometChatMessages/MessageStyle.d.ts +15 -0
  261. package/lib/CometChatMessages/MessageStyle.js +19 -0
  262. package/lib/CometChatMessages/MessageStyle.js.map +1 -0
  263. package/lib/CometChatMessages/MessagesConfiguration.d.ts +69 -0
  264. package/lib/CometChatMessages/MessagesConfiguration.js +25 -0
  265. package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -0
  266. package/lib/CometChatMessages/index.d.ts +4 -0
  267. package/lib/CometChatMessages/index.js +5 -0
  268. package/lib/CometChatMessages/index.js.map +1 -0
  269. package/lib/CometChatMessages/resources/index.d.ts +2 -0
  270. package/lib/CometChatMessages/resources/index.js +3 -0
  271. package/lib/CometChatMessages/resources/index.js.map +1 -0
  272. package/lib/CometChatMessages/style.d.ts +21 -0
  273. package/lib/CometChatMessages/style.js +23 -0
  274. package/lib/CometChatMessages/style.js.map +1 -0
  275. package/lib/CometChatTabs/CometChatTabs.d.ts +11 -0
  276. package/lib/CometChatTabs/CometChatTabs.js +113 -0
  277. package/lib/CometChatTabs/CometChatTabs.js.map +1 -0
  278. package/lib/CometChatTabs/CometChatTabsStyle.d.ts +16 -0
  279. package/lib/CometChatTabs/CometChatTabsStyle.js +23 -0
  280. package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -0
  281. package/lib/CometChatTabs/TabItemStyle.d.ts +22 -0
  282. package/lib/CometChatTabs/TabItemStyle.js +29 -0
  283. package/lib/CometChatTabs/TabItemStyle.js.map +1 -0
  284. package/lib/CometChatTabs/TabItems.d.ts +11 -0
  285. package/lib/CometChatTabs/TabItems.js +2 -0
  286. package/lib/CometChatTabs/TabItems.js.map +1 -0
  287. package/lib/CometChatTabs/index.d.ts +4 -0
  288. package/lib/CometChatTabs/index.js +4 -0
  289. package/lib/CometChatTabs/index.js.map +1 -0
  290. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +90 -0
  291. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +139 -0
  292. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -0
  293. package/lib/CometChatThreadedMessages/Header.d.ts +12 -0
  294. package/lib/CometChatThreadedMessages/Header.js +23 -0
  295. package/lib/CometChatThreadedMessages/Header.js.map +1 -0
  296. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +18 -0
  297. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +16 -0
  298. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -0
  299. package/lib/CometChatThreadedMessages/index.d.ts +3 -0
  300. package/lib/CometChatThreadedMessages/index.js +4 -0
  301. package/lib/CometChatThreadedMessages/index.js.map +1 -0
  302. package/lib/CometChatThreadedMessages/resources/index.d.ts +8 -0
  303. package/lib/CometChatThreadedMessages/resources/index.js +15 -0
  304. package/lib/CometChatThreadedMessages/resources/index.js.map +1 -0
  305. package/lib/CometChatThreadedMessages/style.d.ts +28 -0
  306. package/lib/CometChatThreadedMessages/style.js +26 -0
  307. package/lib/CometChatThreadedMessages/style.js.map +1 -0
  308. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +41 -0
  309. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +58 -0
  310. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -0
  311. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +41 -0
  312. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +37 -0
  313. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -0
  314. package/lib/CometChatTransferOwnership/index.d.ts +3 -0
  315. package/lib/CometChatTransferOwnership/index.js +4 -0
  316. package/lib/CometChatTransferOwnership/index.js.map +1 -0
  317. package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
  318. package/lib/CometChatUsers/CometChatUsers.js +64 -0
  319. package/lib/CometChatUsers/CometChatUsers.js.map +1 -0
  320. package/lib/CometChatUsers/UsersConfiguration.d.ts +43 -0
  321. package/lib/CometChatUsers/UsersConfiguration.js +41 -0
  322. package/lib/CometChatUsers/UsersConfiguration.js.map +1 -0
  323. package/lib/CometChatUsers/index.d.ts +3 -0
  324. package/lib/CometChatUsers/index.js +4 -0
  325. package/lib/CometChatUsers/index.js.map +1 -0
  326. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +11 -0
  327. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +89 -0
  328. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -0
  329. package/lib/CometChatUsersWithMessages/index.d.ts +2 -0
  330. package/lib/CometChatUsersWithMessages/index.js +3 -0
  331. package/lib/CometChatUsersWithMessages/index.js.map +1 -0
  332. package/lib/CometChatUsersWithMessages/styles.d.ts +12 -0
  333. package/lib/CometChatUsersWithMessages/styles.js +14 -0
  334. package/lib/CometChatUsersWithMessages/styles.js.map +1 -0
  335. package/lib/calls/CallEvents.d.ts +9 -0
  336. package/lib/calls/CallEvents.js +10 -0
  337. package/lib/calls/CallEvents.js.map +1 -0
  338. package/lib/calls/CallUtils.d.ts +5 -0
  339. package/lib/calls/CallUtils.js +60 -0
  340. package/lib/calls/CallUtils.js.map +1 -0
  341. package/lib/calls/CallingConfiguration.d.ts +3 -0
  342. package/lib/calls/CallingConfiguration.js +5 -0
  343. package/lib/calls/CallingConfiguration.js.map +1 -0
  344. package/lib/calls/CallingDetailsUtils.d.ts +7 -0
  345. package/lib/calls/CallingDetailsUtils.js +31 -0
  346. package/lib/calls/CallingDetailsUtils.js.map +1 -0
  347. package/lib/calls/CallingExtension.d.ts +11 -0
  348. package/lib/calls/CallingExtension.js +36 -0
  349. package/lib/calls/CallingExtension.js.map +1 -0
  350. package/lib/calls/CallingExtentionDecorator.d.ts +33 -0
  351. package/lib/calls/CallingExtentionDecorator.js +157 -0
  352. package/lib/calls/CallingExtentionDecorator.js.map +1 -0
  353. package/lib/calls/CallingPackage.d.ts +4 -0
  354. package/lib/calls/CallingPackage.js +7 -0
  355. package/lib/calls/CallingPackage.js.map +1 -0
  356. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +13 -0
  357. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +11 -0
  358. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -0
  359. package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +18 -0
  360. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +25 -0
  361. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -0
  362. package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +11 -0
  363. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +21 -0
  364. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -0
  365. package/lib/calls/CometChatCallBubble/index.d.ts +4 -0
  366. package/lib/calls/CometChatCallBubble/index.js +5 -0
  367. package/lib/calls/CometChatCallBubble/index.js.map +1 -0
  368. package/lib/calls/CometChatCallBubble/resources/index.d.ts +4 -0
  369. package/lib/calls/CometChatCallBubble/resources/index.js +5 -0
  370. package/lib/calls/CometChatCallBubble/resources/index.js.map +1 -0
  371. package/lib/calls/CometChatCallBubble/styles.d.ts +20 -0
  372. package/lib/calls/CometChatCallBubble/styles.js +22 -0
  373. package/lib/calls/CometChatCallBubble/styles.js.map +1 -0
  374. package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +12 -0
  375. package/lib/calls/CometChatCallButtons/CallButtonStyle.js +19 -0
  376. package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -0
  377. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +34 -0
  378. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +19 -0
  379. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -0
  380. package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +61 -0
  381. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +198 -0
  382. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -0
  383. package/lib/calls/CometChatCallButtons/index.d.ts +4 -0
  384. package/lib/calls/CometChatCallButtons/index.js +4 -0
  385. package/lib/calls/CometChatCallButtons/index.js.map +1 -0
  386. package/lib/calls/CometChatCallButtons/resources/index.d.ts +3 -0
  387. package/lib/calls/CometChatCallButtons/resources/index.js +4 -0
  388. package/lib/calls/CometChatCallButtons/resources/index.js.map +1 -0
  389. package/lib/calls/CometChatCallButtons/style.d.ts +12 -0
  390. package/lib/calls/CometChatCallButtons/style.js +14 -0
  391. package/lib/calls/CometChatCallButtons/style.js.map +1 -0
  392. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +54 -0
  393. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +31 -0
  394. package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +1 -0
  395. package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +20 -0
  396. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +27 -0
  397. package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +1 -0
  398. package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +1 -0
  399. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +137 -0
  400. package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +1 -0
  401. package/lib/calls/CometChatCallDetails/index.d.ts +3 -0
  402. package/lib/calls/CometChatCallDetails/index.js +4 -0
  403. package/lib/calls/CometChatCallDetails/index.js.map +1 -0
  404. package/lib/calls/CometChatCallDetails/resources/index.d.ts +2 -0
  405. package/lib/calls/CometChatCallDetails/resources/index.js +3 -0
  406. package/lib/calls/CometChatCallDetails/resources/index.js.map +1 -0
  407. package/lib/calls/CometChatCallDetails/style.d.ts +12 -0
  408. package/lib/calls/CometChatCallDetails/style.js +14 -0
  409. package/lib/calls/CometChatCallDetails/style.js.map +1 -0
  410. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +86 -0
  411. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +39 -0
  412. package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +1 -0
  413. package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +13 -0
  414. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +20 -0
  415. package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +1 -0
  416. package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +1 -0
  417. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +250 -0
  418. package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +1 -0
  419. package/lib/calls/CometChatCallHistory/index.d.ts +3 -0
  420. package/lib/calls/CometChatCallHistory/index.js +4 -0
  421. package/lib/calls/CometChatCallHistory/index.js.map +1 -0
  422. package/lib/calls/CometChatCallHistory/resources/index.d.ts +8 -0
  423. package/lib/calls/CometChatCallHistory/resources/index.js +9 -0
  424. package/lib/calls/CometChatCallHistory/resources/index.js.map +1 -0
  425. package/lib/calls/CometChatCallHistory/style.d.ts +21 -0
  426. package/lib/calls/CometChatCallHistory/style.js +23 -0
  427. package/lib/calls/CometChatCallHistory/style.js.map +1 -0
  428. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +1 -0
  429. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +30 -0
  430. package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +1 -0
  431. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +6 -0
  432. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +2 -0
  433. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +1 -0
  434. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +2 -0
  435. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +2 -0
  436. package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +1 -0
  437. package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +3 -0
  438. package/lib/calls/CometChatCallHistoryWithDetails/index.js +2 -0
  439. package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +1 -0
  440. package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +8 -0
  441. package/lib/calls/CometChatCallHistoryWithDetails/style.js +10 -0
  442. package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +1 -0
  443. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
  444. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +160 -0
  445. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -0
  446. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +32 -0
  447. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +39 -0
  448. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -0
  449. package/lib/calls/CometChatIncomingCall/index.d.ts +3 -0
  450. package/lib/calls/CometChatIncomingCall/index.js +4 -0
  451. package/lib/calls/CometChatIncomingCall/index.js.map +1 -0
  452. package/lib/calls/CometChatIncomingCall/resources/index.d.ts +5 -0
  453. package/lib/calls/CometChatIncomingCall/resources/index.js +6 -0
  454. package/lib/calls/CometChatIncomingCall/resources/index.js.map +1 -0
  455. package/lib/calls/CometChatIncomingCall/styles.d.ts +9 -0
  456. package/lib/calls/CometChatIncomingCall/styles.js +11 -0
  457. package/lib/calls/CometChatIncomingCall/styles.js.map +1 -0
  458. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +12 -0
  459. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +41 -0
  460. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -0
  461. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +13 -0
  462. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +13 -0
  463. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -0
  464. package/lib/calls/CometChatOngoingCall/index.d.ts +3 -0
  465. package/lib/calls/CometChatOngoingCall/index.js +3 -0
  466. package/lib/calls/CometChatOngoingCall/index.js.map +1 -0
  467. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +46 -0
  468. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +149 -0
  469. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -0
  470. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +18 -0
  471. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +15 -0
  472. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -0
  473. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +14 -0
  474. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +21 -0
  475. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -0
  476. package/lib/calls/CometChatOutgoingCall/index.d.ts +3 -0
  477. package/lib/calls/CometChatOutgoingCall/index.js +4 -0
  478. package/lib/calls/CometChatOutgoingCall/index.js.map +1 -0
  479. package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +2 -0
  480. package/lib/calls/CometChatOutgoingCall/resources/index.js +3 -0
  481. package/lib/calls/CometChatOutgoingCall/resources/index.js.map +1 -0
  482. package/lib/calls/index.d.ts +12 -0
  483. package/lib/calls/index.js +13 -0
  484. package/lib/calls/index.js.map +1 -0
  485. package/lib/calls/resources/index.d.ts +3 -0
  486. package/lib/calls/resources/index.js +4 -0
  487. package/lib/calls/resources/index.js.map +1 -0
  488. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +55 -0
  489. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +30 -0
  490. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -0
  491. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +44 -0
  492. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +61 -0
  493. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -0
  494. package/lib/extensions/CollaborativeBubble/resources/index.d.ts +3 -0
  495. package/lib/extensions/CollaborativeBubble/resources/index.js +3 -0
  496. package/lib/extensions/CollaborativeBubble/resources/index.js.map +1 -0
  497. package/lib/extensions/CollaborativeBubble/styles.d.ts +33 -0
  498. package/lib/extensions/CollaborativeBubble/styles.js +72 -0
  499. package/lib/extensions/CollaborativeBubble/styles.js.map +1 -0
  500. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +14 -0
  501. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +7 -0
  502. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -0
  503. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +12 -0
  504. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +25 -0
  505. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -0
  506. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +22 -0
  507. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +129 -0
  508. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -0
  509. package/lib/extensions/CollaborativeDocument/index.d.ts +5 -0
  510. package/lib/extensions/CollaborativeDocument/index.js +6 -0
  511. package/lib/extensions/CollaborativeDocument/index.js.map +1 -0
  512. package/lib/extensions/CollaborativeDocument/resources/index.d.ts +2 -0
  513. package/lib/extensions/CollaborativeDocument/resources/index.js +5 -0
  514. package/lib/extensions/CollaborativeDocument/resources/index.js.map +1 -0
  515. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +14 -0
  516. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +7 -0
  517. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -0
  518. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +12 -0
  519. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +27 -0
  520. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -0
  521. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +23 -0
  522. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +135 -0
  523. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -0
  524. package/lib/extensions/CollaborativeWhiteboard/index.d.ts +5 -0
  525. package/lib/extensions/CollaborativeWhiteboard/index.js +6 -0
  526. package/lib/extensions/CollaborativeWhiteboard/index.js.map +1 -0
  527. package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +2 -0
  528. package/lib/extensions/CollaborativeWhiteboard/resources/index.js +5 -0
  529. package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +1 -0
  530. package/lib/extensions/ExtensionConstants.d.ts +50 -0
  531. package/lib/extensions/ExtensionConstants.js +51 -0
  532. package/lib/extensions/ExtensionConstants.js.map +1 -0
  533. package/lib/extensions/ExtensionModerator.d.ts +16 -0
  534. package/lib/extensions/ExtensionModerator.js +51 -0
  535. package/lib/extensions/ExtensionModerator.js.map +1 -0
  536. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +13 -0
  537. package/lib/extensions/ImageModeration/ImageModerationDecorator.js +45 -0
  538. package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -0
  539. package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +14 -0
  540. package/lib/extensions/ImageModeration/ImageModerationExtension.js +28 -0
  541. package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -0
  542. package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +17 -0
  543. package/lib/extensions/ImageModeration/ImageModerationFilter.js +93 -0
  544. package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -0
  545. package/lib/extensions/ImageModeration/index.d.ts +4 -0
  546. package/lib/extensions/ImageModeration/index.js +5 -0
  547. package/lib/extensions/ImageModeration/index.js.map +1 -0
  548. package/lib/extensions/ImageModeration/resources/index.d.ts +3 -0
  549. package/lib/extensions/ImageModeration/resources/index.js +3 -0
  550. package/lib/extensions/ImageModeration/resources/index.js.map +1 -0
  551. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +18 -0
  552. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +17 -0
  553. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -0
  554. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
  555. package/lib/extensions/LinkPreview/LinkPreviewBubble.js +34 -0
  556. package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -0
  557. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +14 -0
  558. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +13 -0
  559. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -0
  560. package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +8 -0
  561. package/lib/extensions/LinkPreview/LinkPreviewExtention.js +21 -0
  562. package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -0
  563. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +13 -0
  564. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +37 -0
  565. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -0
  566. package/lib/extensions/LinkPreview/index.d.ts +6 -0
  567. package/lib/extensions/LinkPreview/index.js +6 -0
  568. package/lib/extensions/LinkPreview/index.js.map +1 -0
  569. package/lib/extensions/LinkPreview/resources/index.d.ts +2 -0
  570. package/lib/extensions/LinkPreview/resources/index.js +3 -0
  571. package/lib/extensions/LinkPreview/resources/index.js.map +1 -0
  572. package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +22 -0
  573. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +69 -0
  574. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -0
  575. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +21 -0
  576. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +152 -0
  577. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -0
  578. package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +14 -0
  579. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +28 -0
  580. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -0
  581. package/lib/extensions/MessageTranslation/index.d.ts +4 -0
  582. package/lib/extensions/MessageTranslation/index.js +5 -0
  583. package/lib/extensions/MessageTranslation/index.js.map +1 -0
  584. package/lib/extensions/MessageTranslation/resources/index.d.ts +3 -0
  585. package/lib/extensions/MessageTranslation/resources/index.js +5 -0
  586. package/lib/extensions/MessageTranslation/resources/index.js.map +1 -0
  587. package/lib/extensions/Polls/Header.d.ts +14 -0
  588. package/lib/extensions/Polls/Header.js +41 -0
  589. package/lib/extensions/Polls/Header.js.map +1 -0
  590. package/lib/extensions/Polls/Polls.d.ts +132 -0
  591. package/lib/extensions/Polls/Polls.js +218 -0
  592. package/lib/extensions/Polls/Polls.js.map +1 -0
  593. package/lib/extensions/Polls/PollsBubble.d.ts +83 -0
  594. package/lib/extensions/Polls/PollsBubble.js +202 -0
  595. package/lib/extensions/Polls/PollsBubble.js.map +1 -0
  596. package/lib/extensions/Polls/PollsConfigurations.d.ts +15 -0
  597. package/lib/extensions/Polls/PollsConfigurations.js +2 -0
  598. package/lib/extensions/Polls/PollsConfigurations.js.map +1 -0
  599. package/lib/extensions/Polls/PollsDecorator.d.ts +21 -0
  600. package/lib/extensions/Polls/PollsDecorator.js +103 -0
  601. package/lib/extensions/Polls/PollsDecorator.js.map +1 -0
  602. package/lib/extensions/Polls/PollsExtension.d.ts +12 -0
  603. package/lib/extensions/Polls/PollsExtension.js +27 -0
  604. package/lib/extensions/Polls/PollsExtension.js.map +1 -0
  605. package/lib/extensions/Polls/index.d.ts +4 -0
  606. package/lib/extensions/Polls/index.js +4 -0
  607. package/lib/extensions/Polls/index.js.map +1 -0
  608. package/lib/extensions/Polls/resources/index.d.ts +7 -0
  609. package/lib/extensions/Polls/resources/index.js +13 -0
  610. package/lib/extensions/Polls/resources/index.js.map +1 -0
  611. package/lib/extensions/Polls/style.d.ts +45 -0
  612. package/lib/extensions/Polls/style.js +39 -0
  613. package/lib/extensions/Polls/style.js.map +1 -0
  614. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +22 -0
  615. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +203 -0
  616. package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +1 -0
  617. package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +2 -0
  618. package/lib/extensions/Reactions/CometChatMessageReactions/index.js +3 -0
  619. package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +1 -0
  620. package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +40 -0
  621. package/lib/extensions/Reactions/CometChatMessageReactions/style.js +42 -0
  622. package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +1 -0
  623. package/lib/extensions/Reactions/ReactionsDecorator.d.ts +23 -0
  624. package/lib/extensions/Reactions/ReactionsDecorator.js +113 -0
  625. package/lib/extensions/Reactions/ReactionsDecorator.js.map +1 -0
  626. package/lib/extensions/Reactions/ReactionsExtension.d.ts +14 -0
  627. package/lib/extensions/Reactions/ReactionsExtension.js +28 -0
  628. package/lib/extensions/Reactions/ReactionsExtension.js.map +1 -0
  629. package/lib/extensions/Reactions/index.d.ts +3 -0
  630. package/lib/extensions/Reactions/index.js +4 -0
  631. package/lib/extensions/Reactions/index.js.map +1 -0
  632. package/lib/extensions/Reactions/resources/index.d.ts +3 -0
  633. package/lib/extensions/Reactions/resources/index.js +3 -0
  634. package/lib/extensions/Reactions/resources/index.js.map +1 -0
  635. package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +14 -0
  636. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +95 -0
  637. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -0
  638. package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +14 -0
  639. package/lib/extensions/SmartReplies/SmartRepliesExtension.js +28 -0
  640. package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -0
  641. package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +27 -0
  642. package/lib/extensions/SmartReplies/SmartRepliesView.js +152 -0
  643. package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -0
  644. package/lib/extensions/SmartReplies/index.d.ts +3 -0
  645. package/lib/extensions/SmartReplies/index.js +4 -0
  646. package/lib/extensions/SmartReplies/index.js.map +1 -0
  647. package/lib/extensions/SmartReplies/resources/index.d.ts +3 -0
  648. package/lib/extensions/SmartReplies/resources/index.js +5 -0
  649. package/lib/extensions/SmartReplies/resources/index.js.map +1 -0
  650. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +33 -0
  651. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +90 -0
  652. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -0
  653. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +17 -0
  654. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +17 -0
  655. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -0
  656. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +20 -0
  657. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +27 -0
  658. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -0
  659. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +1 -0
  660. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +61 -0
  661. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -0
  662. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +4 -0
  663. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +5 -0
  664. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +1 -0
  665. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -0
  666. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +55 -0
  667. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -0
  668. package/lib/extensions/Stickers/StickerConfiguration.d.ts +8 -0
  669. package/lib/extensions/Stickers/StickerConfiguration.js +12 -0
  670. package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -0
  671. package/lib/extensions/Stickers/StickerStyle.d.ts +6 -0
  672. package/lib/extensions/Stickers/StickerStyle.js +10 -0
  673. package/lib/extensions/Stickers/StickerStyle.js.map +1 -0
  674. package/lib/extensions/Stickers/StickersBubble.d.ts +17 -0
  675. package/lib/extensions/Stickers/StickersBubble.js +21 -0
  676. package/lib/extensions/Stickers/StickersBubble.js.map +1 -0
  677. package/lib/extensions/Stickers/StickersExtension.d.ts +8 -0
  678. package/lib/extensions/Stickers/StickersExtension.js +28 -0
  679. package/lib/extensions/Stickers/StickersExtension.js.map +1 -0
  680. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +22 -0
  681. package/lib/extensions/Stickers/StickersExtensionDecorator.js +108 -0
  682. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -0
  683. package/lib/extensions/Stickers/index.d.ts +5 -0
  684. package/lib/extensions/Stickers/index.js +5 -0
  685. package/lib/extensions/Stickers/index.js.map +1 -0
  686. package/lib/extensions/Stickers/resources/index.d.ts +2 -0
  687. package/lib/extensions/Stickers/resources/index.js +3 -0
  688. package/lib/extensions/Stickers/resources/index.js.map +1 -0
  689. package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +14 -0
  690. package/lib/extensions/TextModeration/TextModerationConfiguration.js +7 -0
  691. package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -0
  692. package/lib/extensions/TextModeration/TextModerationExtension.d.ts +13 -0
  693. package/lib/extensions/TextModeration/TextModerationExtension.js +37 -0
  694. package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -0
  695. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +14 -0
  696. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +55 -0
  697. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -0
  698. package/lib/extensions/TextModeration/index.d.ts +4 -0
  699. package/lib/extensions/TextModeration/index.js +4 -0
  700. package/lib/extensions/TextModeration/index.js.map +1 -0
  701. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
  702. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +64 -0
  703. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -0
  704. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +15 -0
  705. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +28 -0
  706. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -0
  707. package/lib/extensions/ThumbnailGeneration/index.d.ts +2 -0
  708. package/lib/extensions/ThumbnailGeneration/index.js +3 -0
  709. package/lib/extensions/ThumbnailGeneration/index.js.map +1 -0
  710. package/lib/extensions/index.d.ts +13 -0
  711. package/lib/extensions/index.js +14 -0
  712. package/lib/extensions/index.js.map +1 -0
  713. package/lib/index.d.ts +26 -0
  714. package/lib/index.js +53 -0
  715. package/lib/index.js.map +1 -0
  716. package/lib/shared/CometChatContext.d.ts +4 -0
  717. package/lib/shared/CometChatContext.js +30 -0
  718. package/lib/shared/CometChatContext.js.map +1 -0
  719. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +26 -0
  720. package/lib/shared/CometChatUiKit/CometChatUIKit.js +195 -0
  721. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -0
  722. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +20 -0
  723. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +66 -0
  724. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -0
  725. package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +13 -0
  726. package/lib/shared/CometChatUiKit/UIKitSettings.js +15 -0
  727. package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -0
  728. package/lib/shared/CometChatUiKit/index.d.ts +4 -0
  729. package/lib/shared/CometChatUiKit/index.js +5 -0
  730. package/lib/shared/CometChatUiKit/index.js.map +1 -0
  731. package/lib/shared/assets/images/index.d.ts +9 -0
  732. package/lib/shared/assets/images/index.js +17 -0
  733. package/lib/shared/assets/images/index.js.map +1 -0
  734. package/lib/shared/base/BaseStyle.d.ts +26 -0
  735. package/lib/shared/base/BaseStyle.js +26 -0
  736. package/lib/shared/base/BaseStyle.js.map +1 -0
  737. package/lib/shared/base/BorderStyle.d.ts +19 -0
  738. package/lib/shared/base/BorderStyle.js +19 -0
  739. package/lib/shared/base/BorderStyle.js.map +1 -0
  740. package/lib/shared/base/FontStyle.d.ts +18 -0
  741. package/lib/shared/base/FontStyle.js +18 -0
  742. package/lib/shared/base/FontStyle.js.map +1 -0
  743. package/lib/shared/base/ShadowStyle.d.ts +33 -0
  744. package/lib/shared/base/ShadowStyle.js +27 -0
  745. package/lib/shared/base/ShadowStyle.js.map +1 -0
  746. package/lib/shared/base/Types.d.ts +14 -0
  747. package/lib/shared/base/Types.js +2 -0
  748. package/lib/shared/base/Types.js.map +1 -0
  749. package/lib/shared/base/index.d.ts +6 -0
  750. package/lib/shared/base/index.js +6 -0
  751. package/lib/shared/base/index.js.map +1 -0
  752. package/lib/shared/constants/UIKitConstants.d.ts +285 -0
  753. package/lib/shared/constants/UIKitConstants.js +304 -0
  754. package/lib/shared/constants/UIKitConstants.js.map +1 -0
  755. package/lib/shared/events/CometChatMessageEvents/index.d.ts +43 -0
  756. package/lib/shared/events/CometChatMessageEvents/index.js +93 -0
  757. package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -0
  758. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +30 -0
  759. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +310 -0
  760. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -0
  761. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +184 -0
  762. package/lib/shared/events/CometChatUIEventHandler/Listener.js +270 -0
  763. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -0
  764. package/lib/shared/events/CometChatUIEvents.d.ts +17 -0
  765. package/lib/shared/events/CometChatUIEvents.js +19 -0
  766. package/lib/shared/events/CometChatUIEvents.js.map +1 -0
  767. package/lib/shared/events/conversations.d.ts +3 -0
  768. package/lib/shared/events/conversations.js +5 -0
  769. package/lib/shared/events/conversations.js.map +1 -0
  770. package/lib/shared/events/groups.d.ts +10 -0
  771. package/lib/shared/events/groups.js +12 -0
  772. package/lib/shared/events/groups.js.map +1 -0
  773. package/lib/shared/events/index.d.ts +6 -0
  774. package/lib/shared/events/index.js +7 -0
  775. package/lib/shared/events/index.js.map +1 -0
  776. package/lib/shared/events/messages.d.ts +11 -0
  777. package/lib/shared/events/messages.js +13 -0
  778. package/lib/shared/events/messages.js.map +1 -0
  779. package/lib/shared/framework/ChatConfigurator.d.ts +8 -0
  780. package/lib/shared/framework/ChatConfigurator.js +23 -0
  781. package/lib/shared/framework/ChatConfigurator.js.map +1 -0
  782. package/lib/shared/framework/DataSource.d.ts +49 -0
  783. package/lib/shared/framework/DataSource.js +2 -0
  784. package/lib/shared/framework/DataSource.js.map +1 -0
  785. package/lib/shared/framework/DataSourceDecorator.d.ts +49 -0
  786. package/lib/shared/framework/DataSourceDecorator.js +121 -0
  787. package/lib/shared/framework/DataSourceDecorator.js.map +1 -0
  788. package/lib/shared/framework/ExtensionsDataSource.d.ts +6 -0
  789. package/lib/shared/framework/ExtensionsDataSource.js +14 -0
  790. package/lib/shared/framework/ExtensionsDataSource.js.map +1 -0
  791. package/lib/shared/framework/MessageDataSource.d.ts +72 -0
  792. package/lib/shared/framework/MessageDataSource.js +548 -0
  793. package/lib/shared/framework/MessageDataSource.js.map +1 -0
  794. package/lib/shared/framework/index.d.ts +6 -0
  795. package/lib/shared/framework/index.js +6 -0
  796. package/lib/shared/framework/index.js.map +1 -0
  797. package/lib/shared/framework/resources/index.d.ts +22 -0
  798. package/lib/shared/framework/resources/index.js +45 -0
  799. package/lib/shared/framework/resources/index.js.map +1 -0
  800. package/lib/shared/helper/SwipeRow.d.ts +162 -0
  801. package/lib/shared/helper/SwipeRow.js +808 -0
  802. package/lib/shared/helper/SwipeRow.js.map +1 -0
  803. package/lib/shared/helper/Toast.d.ts +4 -0
  804. package/lib/shared/helper/Toast.js +23 -0
  805. package/lib/shared/helper/Toast.js.map +1 -0
  806. package/lib/shared/helper/functions.d.ts +3 -0
  807. package/lib/shared/helper/functions.js +32 -0
  808. package/lib/shared/helper/functions.js.map +1 -0
  809. package/lib/shared/helper/helperFunctions.d.ts +2 -0
  810. package/lib/shared/helper/helperFunctions.js +17 -0
  811. package/lib/shared/helper/helperFunctions.js.map +1 -0
  812. package/lib/shared/helper/types/index.d.ts +19 -0
  813. package/lib/shared/helper/types/index.js +2 -0
  814. package/lib/shared/helper/types/index.js.map +1 -0
  815. package/lib/shared/helper/useKeyboard.d.ts +1 -0
  816. package/lib/shared/helper/useKeyboard.js +25 -0
  817. package/lib/shared/helper/useKeyboard.js.map +1 -0
  818. package/lib/shared/index.d.ts +14 -0
  819. package/lib/shared/index.js +28 -0
  820. package/lib/shared/index.js.map +1 -0
  821. package/lib/shared/modals/CometChatDetailsOption.d.ts +18 -0
  822. package/lib/shared/modals/CometChatDetailsOption.js +2 -0
  823. package/lib/shared/modals/CometChatDetailsOption.js.map +1 -0
  824. package/lib/shared/modals/CometChatDetailsTemplate.d.ts +15 -0
  825. package/lib/shared/modals/CometChatDetailsTemplate.js +2 -0
  826. package/lib/shared/modals/CometChatDetailsTemplate.js.map +1 -0
  827. package/lib/shared/modals/CometChatMessageOption.d.ts +13 -0
  828. package/lib/shared/modals/CometChatMessageOption.js +2 -0
  829. package/lib/shared/modals/CometChatMessageOption.js.map +1 -0
  830. package/lib/shared/modals/CometChatMessageTemplate.d.ts +24 -0
  831. package/lib/shared/modals/CometChatMessageTemplate.js +20 -0
  832. package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -0
  833. package/lib/shared/modals/CometChatOptions.d.ts +14 -0
  834. package/lib/shared/modals/CometChatOptions.js +2 -0
  835. package/lib/shared/modals/CometChatOptions.js.map +1 -0
  836. package/lib/shared/modals/index.d.ts +6 -0
  837. package/lib/shared/modals/index.js +3 -0
  838. package/lib/shared/modals/index.js.map +1 -0
  839. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +3681 -0
  840. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +164 -0
  841. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -0
  842. package/lib/shared/resources/CometChatLocalize/index.d.ts +2 -0
  843. package/lib/shared/resources/CometChatLocalize/index.js +3 -0
  844. package/lib/shared/resources/CometChatLocalize/index.js.map +1 -0
  845. package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +270 -0
  846. package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +270 -0
  847. package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +270 -0
  848. package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +270 -0
  849. package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +270 -0
  850. package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +270 -0
  851. package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +270 -0
  852. package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +270 -0
  853. package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +270 -0
  854. package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +270 -0
  855. package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +270 -0
  856. package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +270 -0
  857. package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +270 -0
  858. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +13 -0
  859. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +82 -0
  860. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -0
  861. package/lib/shared/resources/CometChatSoundManager/index.d.ts +2 -0
  862. package/lib/shared/resources/CometChatSoundManager/index.js +3 -0
  863. package/lib/shared/resources/CometChatSoundManager/index.js.map +1 -0
  864. package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +1 -0
  865. package/lib/shared/resources/CometChatSoundManager/resources/index.js +6 -0
  866. package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +1 -0
  867. package/lib/shared/resources/CometChatSoundManager/sound.d.ts +56 -0
  868. package/lib/shared/resources/CometChatSoundManager/sound.js +303 -0
  869. package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -0
  870. package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +22 -0
  871. package/lib/shared/resources/CometChatTheme/CometChatTheme.js +23 -0
  872. package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -0
  873. package/lib/shared/resources/CometChatTheme/Palette.d.ts +118 -0
  874. package/lib/shared/resources/CometChatTheme/Palette.js +389 -0
  875. package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -0
  876. package/lib/shared/resources/CometChatTheme/Typography.d.ts +80 -0
  877. package/lib/shared/resources/CometChatTheme/Typography.js +212 -0
  878. package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -0
  879. package/lib/shared/resources/CometChatTheme/index.d.ts +2 -0
  880. package/lib/shared/resources/CometChatTheme/index.js +3 -0
  881. package/lib/shared/resources/CometChatTheme/index.js.map +1 -0
  882. package/lib/shared/resources/index.d.ts +4 -0
  883. package/lib/shared/resources/index.js +5 -0
  884. package/lib/shared/resources/index.js.map +1 -0
  885. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +15 -0
  886. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +87 -0
  887. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -0
  888. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +20 -0
  889. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +27 -0
  890. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -0
  891. package/lib/shared/utils/CometChatLiveReactions/index.d.ts +1 -0
  892. package/lib/shared/utils/CometChatLiveReactions/index.js +2 -0
  893. package/lib/shared/utils/CometChatLiveReactions/index.js.map +1 -0
  894. package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +2 -0
  895. package/lib/shared/utils/CometChatLiveReactions/resources/index.js +3 -0
  896. package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +1 -0
  897. package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -0
  898. package/lib/shared/utils/CometChatLiveReactions/style.js +7 -0
  899. package/lib/shared/utils/CometChatLiveReactions/style.js.map +1 -0
  900. package/lib/shared/utils/CometChatMessageHelper/index.d.ts +12 -0
  901. package/lib/shared/utils/CometChatMessageHelper/index.js +42 -0
  902. package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -0
  903. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +49 -0
  904. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +107 -0
  905. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -0
  906. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +24 -0
  907. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +23 -0
  908. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -0
  909. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +31 -0
  910. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +29 -0
  911. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +1 -0
  912. package/lib/shared/utils/CometChatMessagePreview/index.d.ts +4 -0
  913. package/lib/shared/utils/CometChatMessagePreview/index.js +5 -0
  914. package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -0
  915. package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +2 -0
  916. package/lib/shared/utils/CometChatMessagePreview/resources/index.js +3 -0
  917. package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +1 -0
  918. package/lib/shared/utils/CometChatMessagePreview/style.d.ts +9 -0
  919. package/lib/shared/utils/CometChatMessagePreview/style.js +71 -0
  920. package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -0
  921. package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +13 -0
  922. package/lib/shared/utils/DetailsUtils/DetailsUtils.js +295 -0
  923. package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -0
  924. package/lib/shared/utils/DetailsUtils/resources/index.d.ts +9 -0
  925. package/lib/shared/utils/DetailsUtils/resources/index.js +17 -0
  926. package/lib/shared/utils/DetailsUtils/resources/index.js.map +1 -0
  927. package/lib/shared/utils/MessageUtils.d.ts +15 -0
  928. package/lib/shared/utils/MessageUtils.js +31 -0
  929. package/lib/shared/utils/MessageUtils.js.map +1 -0
  930. package/lib/shared/utils/conversationUtils.d.ts +7 -0
  931. package/lib/shared/utils/conversationUtils.js +73 -0
  932. package/lib/shared/utils/conversationUtils.js.map +1 -0
  933. package/lib/shared/utils/index.d.ts +6 -0
  934. package/lib/shared/utils/index.js +7 -0
  935. package/lib/shared/utils/index.js.map +1 -0
  936. package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +49 -0
  937. package/lib/shared/views/CometChatActionSheet/ActionItem.js +38 -0
  938. package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -0
  939. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +43 -0
  940. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +49 -0
  941. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -0
  942. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +23 -0
  943. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +170 -0
  944. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -0
  945. package/lib/shared/views/CometChatActionSheet/hooks.d.ts +1 -0
  946. package/lib/shared/views/CometChatActionSheet/hooks.js +7 -0
  947. package/lib/shared/views/CometChatActionSheet/hooks.js.map +1 -0
  948. package/lib/shared/views/CometChatActionSheet/index.d.ts +3 -0
  949. package/lib/shared/views/CometChatActionSheet/index.js +4 -0
  950. package/lib/shared/views/CometChatActionSheet/index.js.map +1 -0
  951. package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +4 -0
  952. package/lib/shared/views/CometChatActionSheet/resources/index.js +7 -0
  953. package/lib/shared/views/CometChatActionSheet/resources/index.js.map +1 -0
  954. package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -0
  955. package/lib/shared/views/CometChatActionSheet/style.js +46 -0
  956. package/lib/shared/views/CometChatActionSheet/style.js.map +1 -0
  957. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +16 -0
  958. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +23 -0
  959. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -0
  960. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +35 -0
  961. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +92 -0
  962. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -0
  963. package/lib/shared/views/CometChatAudioBubble/index.d.ts +3 -0
  964. package/lib/shared/views/CometChatAudioBubble/index.js +4 -0
  965. package/lib/shared/views/CometChatAudioBubble/index.js.map +1 -0
  966. package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +3 -0
  967. package/lib/shared/views/CometChatAudioBubble/resources/index.js +4 -0
  968. package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +1 -0
  969. package/lib/shared/views/CometChatAudioBubble/style.d.ts +26 -0
  970. package/lib/shared/views/CometChatAudioBubble/style.js +28 -0
  971. package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -0
  972. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +19 -0
  973. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +19 -0
  974. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -0
  975. package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +28 -0
  976. package/lib/shared/views/CometChatAvatar/AvatarStyle.js +38 -0
  977. package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -0
  978. package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +25 -0
  979. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +88 -0
  980. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -0
  981. package/lib/shared/views/CometChatAvatar/index.d.ts +4 -0
  982. package/lib/shared/views/CometChatAvatar/index.js +5 -0
  983. package/lib/shared/views/CometChatAvatar/index.js.map +1 -0
  984. package/lib/shared/views/CometChatAvatar/resources/index.d.ts +3 -0
  985. package/lib/shared/views/CometChatAvatar/resources/index.js +5 -0
  986. package/lib/shared/views/CometChatAvatar/resources/index.js.map +1 -0
  987. package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -0
  988. package/lib/shared/views/CometChatAvatar/styles.js +24 -0
  989. package/lib/shared/views/CometChatAvatar/styles.js.map +1 -0
  990. package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +34 -0
  991. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +37 -0
  992. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -0
  993. package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +11 -0
  994. package/lib/shared/views/CometChatBadge/BadgeStyle.js +25 -0
  995. package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -0
  996. package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +23 -0
  997. package/lib/shared/views/CometChatBadge/CometChatBadge.js +48 -0
  998. package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -0
  999. package/lib/shared/views/CometChatBadge/index.d.ts +4 -0
  1000. package/lib/shared/views/CometChatBadge/index.js +5 -0
  1001. package/lib/shared/views/CometChatBadge/index.js.map +1 -0
  1002. package/lib/shared/views/CometChatBadge/styles.d.ts +14 -0
  1003. package/lib/shared/views/CometChatBadge/styles.js +17 -0
  1004. package/lib/shared/views/CometChatBadge/styles.js.map +1 -0
  1005. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +18 -0
  1006. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +99 -0
  1007. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -0
  1008. package/lib/shared/views/CometChatBottomSheet/index.d.ts +2 -0
  1009. package/lib/shared/views/CometChatBottomSheet/index.js +3 -0
  1010. package/lib/shared/views/CometChatBottomSheet/index.js.map +1 -0
  1011. package/lib/shared/views/CometChatBottomSheet/style.d.ts +50 -0
  1012. package/lib/shared/views/CometChatBottomSheet/style.js +52 -0
  1013. package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -0
  1014. package/lib/shared/views/CometChatButton/CometChatButton.d.ts +10 -0
  1015. package/lib/shared/views/CometChatButton/CometChatButton.js +30 -0
  1016. package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -0
  1017. package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +18 -0
  1018. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +25 -0
  1019. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -0
  1020. package/lib/shared/views/CometChatButton/index.d.ts +3 -0
  1021. package/lib/shared/views/CometChatButton/index.js +4 -0
  1022. package/lib/shared/views/CometChatButton/index.js.map +1 -0
  1023. package/lib/shared/views/CometChatButton/style.d.ts +6 -0
  1024. package/lib/shared/views/CometChatButton/style.js +8 -0
  1025. package/lib/shared/views/CometChatButton/style.js.map +1 -0
  1026. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
  1027. package/lib/shared/views/CometChatCard/CometChatCard.js +35 -0
  1028. package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -0
  1029. package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +10 -0
  1030. package/lib/shared/views/CometChatCard/CometChatCardStyle.js +17 -0
  1031. package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -0
  1032. package/lib/shared/views/CometChatCard/index.d.ts +3 -0
  1033. package/lib/shared/views/CometChatCard/index.js +4 -0
  1034. package/lib/shared/views/CometChatCard/index.js.map +1 -0
  1035. package/lib/shared/views/CometChatCard/style.d.ts +11 -0
  1036. package/lib/shared/views/CometChatCard/style.js +13 -0
  1037. package/lib/shared/views/CometChatCard/style.js.map +1 -0
  1038. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +25 -0
  1039. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +90 -0
  1040. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -0
  1041. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +24 -0
  1042. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +19 -0
  1043. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -0
  1044. package/lib/shared/views/CometChatConfirmDialog/index.d.ts +3 -0
  1045. package/lib/shared/views/CometChatConfirmDialog/index.js +3 -0
  1046. package/lib/shared/views/CometChatConfirmDialog/index.js.map +1 -0
  1047. package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -0
  1048. package/lib/shared/views/CometChatConfirmDialog/style.js +63 -0
  1049. package/lib/shared/views/CometChatConfirmDialog/style.js.map +1 -0
  1050. package/lib/shared/views/CometChatDate/CometChatDate.d.ts +41 -0
  1051. package/lib/shared/views/CometChatDate/CometChatDate.js +140 -0
  1052. package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -0
  1053. package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +21 -0
  1054. package/lib/shared/views/CometChatDate/DateConfiguration.js +19 -0
  1055. package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -0
  1056. package/lib/shared/views/CometChatDate/DateStyle.d.ts +11 -0
  1057. package/lib/shared/views/CometChatDate/DateStyle.js +16 -0
  1058. package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -0
  1059. package/lib/shared/views/CometChatDate/index.d.ts +4 -0
  1060. package/lib/shared/views/CometChatDate/index.js +5 -0
  1061. package/lib/shared/views/CometChatDate/index.js.map +1 -0
  1062. package/lib/shared/views/CometChatDate/style.d.ts +5 -0
  1063. package/lib/shared/views/CometChatDate/style.js +8 -0
  1064. package/lib/shared/views/CometChatDate/style.js.map +1 -0
  1065. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +38 -0
  1066. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +153 -0
  1067. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -0
  1068. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +16 -0
  1069. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +17 -0
  1070. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -0
  1071. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +21 -0
  1072. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +22 -0
  1073. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -0
  1074. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +19 -0
  1075. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +20 -0
  1076. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -0
  1077. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +27 -0
  1078. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +33 -0
  1079. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -0
  1080. package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
  1081. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +8218 -0
  1082. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -0
  1083. package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +4 -0
  1084. package/lib/shared/views/CometChatEmojiKeyboard/index.js +5 -0
  1085. package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +1 -0
  1086. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +9 -0
  1087. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +10 -0
  1088. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +1 -0
  1089. package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +44 -0
  1090. package/lib/shared/views/CometChatEmojiKeyboard/style.js +57 -0
  1091. package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -0
  1092. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +35 -0
  1093. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +66 -0
  1094. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -0
  1095. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +31 -0
  1096. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +23 -0
  1097. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -0
  1098. package/lib/shared/views/CometChatFileBubble/index.d.ts +3 -0
  1099. package/lib/shared/views/CometChatFileBubble/index.js +4 -0
  1100. package/lib/shared/views/CometChatFileBubble/index.js.map +1 -0
  1101. package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +3 -0
  1102. package/lib/shared/views/CometChatFileBubble/resources/index.js +4 -0
  1103. package/lib/shared/views/CometChatFileBubble/resources/index.js.map +1 -0
  1104. package/lib/shared/views/CometChatFileBubble/style.d.ts +42 -0
  1105. package/lib/shared/views/CometChatFileBubble/style.js +45 -0
  1106. package/lib/shared/views/CometChatFileBubble/style.js.map +1 -0
  1107. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +29 -0
  1108. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +52 -0
  1109. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -0
  1110. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +10 -0
  1111. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +13 -0
  1112. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -0
  1113. package/lib/shared/views/CometChatImageBubble/index.d.ts +3 -0
  1114. package/lib/shared/views/CometChatImageBubble/index.js +4 -0
  1115. package/lib/shared/views/CometChatImageBubble/index.js.map +1 -0
  1116. package/lib/shared/views/CometChatList/CometChatList.d.ts +86 -0
  1117. package/lib/shared/views/CometChatList/CometChatList.js +443 -0
  1118. package/lib/shared/views/CometChatList/CometChatList.js.map +1 -0
  1119. package/lib/shared/views/CometChatList/Header.d.ts +2 -0
  1120. package/lib/shared/views/CometChatList/Header.js +71 -0
  1121. package/lib/shared/views/CometChatList/Header.js.map +1 -0
  1122. package/lib/shared/views/CometChatList/index.d.ts +2 -0
  1123. package/lib/shared/views/CometChatList/index.js +3 -0
  1124. package/lib/shared/views/CometChatList/index.js.map +1 -0
  1125. package/lib/shared/views/CometChatList/resources/index.d.ts +7 -0
  1126. package/lib/shared/views/CometChatList/resources/index.js +13 -0
  1127. package/lib/shared/views/CometChatList/resources/index.js.map +1 -0
  1128. package/lib/shared/views/CometChatList/styles.d.ts +99 -0
  1129. package/lib/shared/views/CometChatList/styles.js +102 -0
  1130. package/lib/shared/views/CometChatList/styles.js.map +1 -0
  1131. package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +37 -0
  1132. package/lib/shared/views/CometChatListItem/CometChatListItem.js +173 -0
  1133. package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -0
  1134. package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +6 -0
  1135. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +9 -0
  1136. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -0
  1137. package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +27 -0
  1138. package/lib/shared/views/CometChatListItem/ListItemStyle.js +34 -0
  1139. package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -0
  1140. package/lib/shared/views/CometChatListItem/index.d.ts +4 -0
  1141. package/lib/shared/views/CometChatListItem/index.js +5 -0
  1142. package/lib/shared/views/CometChatListItem/index.js.map +1 -0
  1143. package/lib/shared/views/CometChatListItem/style.d.ts +61 -0
  1144. package/lib/shared/views/CometChatListItem/style.js +61 -0
  1145. package/lib/shared/views/CometChatListItem/style.js.map +1 -0
  1146. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +25 -0
  1147. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +151 -0
  1148. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -0
  1149. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +26 -0
  1150. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +33 -0
  1151. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -0
  1152. package/lib/shared/views/CometChatMediaRecorder/index.d.ts +3 -0
  1153. package/lib/shared/views/CometChatMediaRecorder/index.js +4 -0
  1154. package/lib/shared/views/CometChatMediaRecorder/index.js.map +1 -0
  1155. package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -0
  1156. package/lib/shared/views/CometChatMediaRecorder/style.js +28 -0
  1157. package/lib/shared/views/CometChatMediaRecorder/style.js.map +1 -0
  1158. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +21 -0
  1159. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +41 -0
  1160. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -0
  1161. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +6 -0
  1162. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +13 -0
  1163. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +1 -0
  1164. package/lib/shared/views/CometChatMessageBubble/index.d.ts +2 -0
  1165. package/lib/shared/views/CometChatMessageBubble/index.js +3 -0
  1166. package/lib/shared/views/CometChatMessageBubble/index.js.map +1 -0
  1167. package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
  1168. package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
  1169. package/lib/shared/views/CometChatMessageBubble/style.js.map +1 -0
  1170. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +98 -0
  1171. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +50 -0
  1172. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -0
  1173. package/lib/shared/views/CometChatMessageInput/index.d.ts +2 -0
  1174. package/lib/shared/views/CometChatMessageInput/index.js +3 -0
  1175. package/lib/shared/views/CometChatMessageInput/index.js.map +1 -0
  1176. package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -0
  1177. package/lib/shared/views/CometChatMessageInput/styles.js +9 -0
  1178. package/lib/shared/views/CometChatMessageInput/styles.js.map +1 -0
  1179. package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +30 -0
  1180. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +48 -0
  1181. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -0
  1182. package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +30 -0
  1183. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +39 -0
  1184. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -0
  1185. package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +3 -0
  1186. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +4 -0
  1187. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +1 -0
  1188. package/lib/shared/views/CometChatReceipt/index.d.ts +3 -0
  1189. package/lib/shared/views/CometChatReceipt/index.js +4 -0
  1190. package/lib/shared/views/CometChatReceipt/index.js.map +1 -0
  1191. package/lib/shared/views/CometChatReceipt/resources/index.d.ts +7 -0
  1192. package/lib/shared/views/CometChatReceipt/resources/index.js +18 -0
  1193. package/lib/shared/views/CometChatReceipt/resources/index.js.map +1 -0
  1194. package/lib/shared/views/CometChatReceipt/style.d.ts +8 -0
  1195. package/lib/shared/views/CometChatReceipt/style.js +10 -0
  1196. package/lib/shared/views/CometChatReceipt/style.js.map +1 -0
  1197. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +25 -0
  1198. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +40 -0
  1199. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -0
  1200. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +17 -0
  1201. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +16 -0
  1202. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -0
  1203. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +20 -0
  1204. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +22 -0
  1205. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +1 -0
  1206. package/lib/shared/views/CometChatStatusIndicator/index.d.ts +4 -0
  1207. package/lib/shared/views/CometChatStatusIndicator/index.js +5 -0
  1208. package/lib/shared/views/CometChatStatusIndicator/index.js.map +1 -0
  1209. package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -0
  1210. package/lib/shared/views/CometChatStatusIndicator/styles.js +15 -0
  1211. package/lib/shared/views/CometChatStatusIndicator/styles.js.map +1 -0
  1212. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +27 -0
  1213. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +84 -0
  1214. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -0
  1215. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +26 -0
  1216. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +21 -0
  1217. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -0
  1218. package/lib/shared/views/CometChatTextBubble/index.d.ts +3 -0
  1219. package/lib/shared/views/CometChatTextBubble/index.js +4 -0
  1220. package/lib/shared/views/CometChatTextBubble/index.js.map +1 -0
  1221. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +31 -0
  1222. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +54 -0
  1223. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -0
  1224. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +16 -0
  1225. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +17 -0
  1226. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -0
  1227. package/lib/shared/views/CometChatVideoBubble/index.d.ts +3 -0
  1228. package/lib/shared/views/CometChatVideoBubble/index.js +4 -0
  1229. package/lib/shared/views/CometChatVideoBubble/index.js.map +1 -0
  1230. package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +2 -0
  1231. package/lib/shared/views/CometChatVideoBubble/resources/index.js +3 -0
  1232. package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -0
  1233. package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -0
  1234. package/lib/shared/views/CometChatVideoBubble/style.js +9 -0
  1235. package/lib/shared/views/CometChatVideoBubble/style.js.map +1 -0
  1236. package/lib/shared/views/SwipeRow/SwipeRow.d.ts +8 -0
  1237. package/lib/shared/views/SwipeRow/SwipeRow.js +79 -0
  1238. package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -0
  1239. package/lib/shared/views/SwipeRow/index.d.ts +2 -0
  1240. package/lib/shared/views/SwipeRow/index.js +3 -0
  1241. package/lib/shared/views/SwipeRow/index.js.map +1 -0
  1242. package/lib/shared/views/SwipeRow/style.d.ts +28 -0
  1243. package/lib/shared/views/SwipeRow/style.js +28 -0
  1244. package/lib/shared/views/SwipeRow/style.js.map +1 -0
  1245. package/lib/shared/views/index.d.ts +18 -0
  1246. package/lib/shared/views/index.js +21 -0
  1247. package/lib/shared/views/index.js.map +1 -0
  1248. package/package.json +1 -1
  1249. package/src/CometChatGroups/CometChatGroups.tsx +23 -19
  1250. package/src/CometChatGroups/resources/check.png +0 -0
  1251. package/src/CometChatGroups/resources/index.ts +3 -1
  1252. package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +24 -9
  1253. package/src/CometChatMessageList/CometChatMessageList.tsx +1 -36
  1254. package/src/CometChatMessages/CometChatMessages.tsx +22 -3
  1255. package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +52 -27
  1256. package/src/CometChatThreadedMessages/ThreadedMessagesConfiguration.ts +15 -0
  1257. package/src/calls/CallUtils.ts +4 -2
  1258. package/src/calls/CometChatOutgoingCall/CometChatOutgoingCall.tsx +7 -3
  1259. package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -1
  1260. package/src/extensions/Polls/Polls.tsx +108 -112
  1261. package/src/extensions/Polls/PollsBubble.tsx +69 -51
  1262. package/src/shared/utils/NetworkUtils.tsx +7 -4
  1263. package/src/shared/views/CometChatCardBubble/CometChatCardBubble.tsx +1 -1
  1264. package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +1 -1
  1265. package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +1 -1
  1266. package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +2 -2
  1267. package/src/shared/views/CometChatVideoBubble/resources/default_image.png +0 -0
  1268. package/src/shared/views/CometChatVideoBubble/resources/index.ts +3 -1
  1269. package/ios/VideoCaching/RCTVideoCache.h +0 -38
  1270. package/ios/VideoCaching/RCTVideoCache.m +0 -174
@@ -0,0 +1,643 @@
1
+ import React, { useContext } from "react";
2
+ import { View, Text } from "react-native";
3
+ //@ts-ignore
4
+ import { CometChat } from "@cometchat/chat-sdk-react-native";
5
+ import { ChatConfigurator, CometChatConfirmDialog, CometChatContext, localize } from "../shared";
6
+ import { Style } from "./style";
7
+ import { passwordGroupIcon, privateGroupIcon, rightTickIcon, deleteIcon } from "./resources";
8
+ import { ConversationsStyle } from "./ConversationsStyle";
9
+ import { GroupTypeConstants, MessageStatusConstants, PASSWORD_GROUP_COLOR, PRIVATE_GROUP_COLOR } from "../shared/constants/UIKitConstants";
10
+ import { AvatarStyle, BadgeStyle, CometChatBadge, CometChatDate, CometChatListItem, CometChatReceipt, DateStyle, StatusIndicatorStyle } from "../shared";
11
+ import { ListItemStyle } from "../shared";
12
+ import { CometChatSoundManager } from "../shared";
13
+ import { CometChatConversationUtils } from "../shared";
14
+ import { CometChatList } from "../shared";
15
+ import { CometChatUIEventHandler } from "../shared/events/CometChatUIEventHandler/CometChatUIEventHandler";
16
+ const conversationListenerId = "chatlist_" + new Date().getTime();
17
+ const userListenerId = "chatlist_user_" + new Date().getTime();
18
+ const groupListenerId = "chatlist_group_" + new Date().getTime();
19
+ const messageListenerId = "chatlist_message_" + new Date().getTime();
20
+ const callListenerId = "call_" + new Date().getTime();
21
+ /**
22
+ *
23
+ * @version 1.0.0
24
+ * @author CometChatTeam
25
+ * @description CometChatConversations is a container component that wraps and
26
+ * formats CometChatListBase and CometChatConversationList component, with no behavior of its own.
27
+ *
28
+ */
29
+ export const CometChatConversations = (props) => {
30
+ /**
31
+ * Props destructuring
32
+ */
33
+ const { disableUsersPresence = false, disableReadReceipt = false, disableReceipt = false, disableTyping = false, disableSoundForMessages = false, customSoundForMessages, datePattern, ListItemView, AppBarOption, options, hideSeparator = true, hideSubmitIcon = true, backButtonIcon, showBackButton = false, selectionMode = "multiple", onSelection, title = localize("CHATS"), emptyStateText, EmptyStateView, errorStateText, ErrorStateView, LoadingStateView, conversationsRequestBuilder, SubtitleView, hideError = false, onItemPress, onItemLongPress, onError, onBack, conversationsStyle, } = props;
34
+ //context
35
+ const { theme } = useContext(CometChatContext);
36
+ const conversationListRef = React.useRef(null);
37
+ const loggedInUser = React.useRef(null);
38
+ const [confirmDelete, setConfirmDelete] = React.useState(undefined);
39
+ const [selecting, setSelecting] = React.useState(false);
40
+ const [selectedConversation, setSelectedConversations] = React.useState([]);
41
+ const _style = new ConversationsStyle({
42
+ backgroundColor: theme?.palette?.getBackgroundColor(),
43
+ backIconTint: theme?.palette?.getPrimary(),
44
+ emptyTextColor: theme?.palette?.getAccent400(),
45
+ emptyTextFont: theme?.typography?.caption2,
46
+ errorTextColor: theme?.palette?.getError(),
47
+ errorTextFont: theme?.typography?.subtitle1,
48
+ lastMessageTextColor: theme?.palette.getAccent600(),
49
+ lastMessageTextFont: theme?.typography.subtitle1,
50
+ loadingIconTint: theme?.palette.getAccent700(),
51
+ separatorColor: theme?.palette.getAccent100(),
52
+ titleColor: theme?.palette.getAccent(),
53
+ titleFont: theme?.typography.heading,
54
+ typingIndictorTextColor: theme?.palette.getAccent600(),
55
+ typingIndictorTextFont: theme?.typography.subtitle1,
56
+ threadIndicatorTextColor: theme?.palette.getAccent800(),
57
+ threadIndicatorTextFont: theme?.typography.text1,
58
+ ...conversationsStyle
59
+ });
60
+ const _statusIndicatorStyle = new StatusIndicatorStyle(props?.statusIndicatorStyle || {});
61
+ const _avatarStyle = new AvatarStyle({
62
+ backgroundColor: theme?.palette?.getAccent600(),
63
+ nameTextColor: theme?.palette?.getAccent(),
64
+ nameTextFont: theme?.typography.body,
65
+ ...props?.avatarStyle
66
+ });
67
+ const _listItemStyle = new ListItemStyle({
68
+ backgroundColor: theme?.palette?.getBackgroundColor(),
69
+ titleColor: theme?.palette.getAccent(),
70
+ titleFont: theme?.typography.name,
71
+ ...props?.listItemStyle
72
+ });
73
+ const _badgeStyle = new BadgeStyle({
74
+ backgroundColor: theme?.palette?.getPrimary(),
75
+ textColor: theme?.palette?.getSecondary(),
76
+ textFont: theme?.typography?.caption2,
77
+ ...props?.badgeStyle
78
+ });
79
+ // const _receiptStyle = new ReceiptStyle(props?.receiptStyle || {});
80
+ const _dateStyle = new DateStyle({
81
+ textColor: theme?.palette?.getAccent600(),
82
+ textFont: theme?.typography?.caption1,
83
+ ...props?.dateStyle
84
+ });
85
+ const _confirmDialogStyle = (props?.confirmDialogStyle || {});
86
+ const ErrorView = () => {
87
+ return (<View style={Style.listContainer}>
88
+ <Text style={{ ..._style?.errorTextFont, color: _style?.errorTextColor }}>
89
+ {errorStateText || localize("SOMETHING_WRONG")}
90
+ </Text>
91
+ </View>);
92
+ };
93
+ const EmptyView = () => {
94
+ if (EmptyStateView)
95
+ return EmptyStateView();
96
+ else
97
+ return (<View style={Style.listContainer}>
98
+ <Text style={{ ..._style.emptyTextFont, color: _style.emptyTextColor }}>
99
+ {emptyStateText || localize("NO_CHATS_FOUND")}
100
+ </Text>
101
+ </View>);
102
+ };
103
+ const userEventHandler = (...args) => {
104
+ const { uid, blockedByMe, status } = args[0];
105
+ if (!blockedByMe) {
106
+ let item = conversationListRef.current.getListItem(`${uid}_user_${loggedInUser.current.uid}`);
107
+ if (item) {
108
+ let updatedConversation = {
109
+ ...item,
110
+ conversationWith: {
111
+ ...item.conversationWith,
112
+ status
113
+ }
114
+ };
115
+ console.log(JSON.stringify(updatedConversation));
116
+ conversationListRef.current.updateList(updatedConversation);
117
+ }
118
+ }
119
+ };
120
+ /**
121
+ * Listener callback for typing event
122
+ * @param {...any} args
123
+ */
124
+ const typingEventHandler = (...args) => {
125
+ // console.log("typing event", args[1], args[0].receiverId);
126
+ let conversation = conversationListRef.current.getListItem(`${args[0]['receiverType']}_${args[0]['receiverId']}`);
127
+ // console.log("typing event", conversation);
128
+ let isTyping = args[1];
129
+ let newConversation = conversation;
130
+ if (isTyping) {
131
+ newConversation['lastMessage']["typing"] = args[0].receiverType === 'group' ?
132
+ `${args[0].sender.name} : ${localize("IS_TYPING")}` :
133
+ localize("IS_TYPING");
134
+ }
135
+ else {
136
+ delete newConversation['lastMessage']['typing'];
137
+ }
138
+ conversationListRef.current.updateList(conversation);
139
+ };
140
+ /**
141
+ * Find conversation from state and udpate its last message object.
142
+ * Also remove from the current location and put it to 1st location.
143
+ *
144
+ * @param newMessage message object
145
+ */
146
+ const updateLastMessage = (newMessage) => {
147
+ CometChat.CometChatHelper.getConversationFromMessage(newMessage)
148
+ .then(conversation => {
149
+ const oldConversation = conversationListRef.current.getListItem(conversation['conversationId']);
150
+ if (oldConversation == undefined) {
151
+ CometChat.CometChatHelper.getConversationFromMessage(newMessage)
152
+ .then(newConversation => {
153
+ newConversation.setUnreadMessageCount(1);
154
+ conversationListRef.current.updateAndMoveToFirst(newConversation);
155
+ })
156
+ .catch(err => onError && onError(err));
157
+ return;
158
+ }
159
+ oldConversation['lastMessage'] = newMessage;
160
+ if (newMessage['sender']['uid'] != loggedInUser.current?.['uid'])
161
+ oldConversation.setUnreadMessageCount(oldConversation.getUnreadMessageCount() + 1);
162
+ conversationListRef.current.updateAndMoveToFirst(oldConversation);
163
+ })
164
+ .catch(err => {
165
+ console.log("Error", err);
166
+ });
167
+ };
168
+ /**
169
+ * play notification sound for incoming messages
170
+ */
171
+ const playNotificationSound = () => {
172
+ // code for playing sound need to be added here.
173
+ if (disableSoundForMessages)
174
+ return;
175
+ CometChatSoundManager.play(customSoundForMessages || CometChatSoundManager.SoundOutput.incomingMessageFromOther);
176
+ };
177
+ const shouldMarkAsDelivered = (message) => {
178
+ return !disableReceipt && !message.hasOwnProperty("deliveredAt");
179
+ };
180
+ /**
181
+ * marking the incoming messages as delivered
182
+ */
183
+ const markMessageAsDelivered = (message) => {
184
+ if (message.hasOwnProperty('deletedAt'))
185
+ return;
186
+ if (shouldMarkAsDelivered(message)) {
187
+ CometChat.markAsDelivered(message);
188
+ playNotificationSound();
189
+ }
190
+ };
191
+ /**
192
+ *
193
+ * When a text message / media message / custom message is received
194
+ */
195
+ const messageEventHandler = (...args) => {
196
+ const message = args[0];
197
+ !disableReadReceipt && markMessageAsDelivered(message);
198
+ updateLastMessage(message);
199
+ };
200
+ /**
201
+ * callback handler for group Add / Kicked / Banned / Scope Change
202
+ * @param {obj} message
203
+ */
204
+ const groupHandler = (message) => {
205
+ let conversation = conversationListRef.current.getListItem(message['conversationId']);
206
+ if (conversation) {
207
+ conversation.setLastMessage(message);
208
+ conversationListRef.current.updateList(conversation);
209
+ }
210
+ else {
211
+ CometChat.CometChatHelper.getConversationFromMessage(message)
212
+ .then(newConversation => {
213
+ conversationListRef.current.addItemToList(newConversation, 0);
214
+ });
215
+ }
216
+ };
217
+ const conversationClicked = (conversation) => {
218
+ if (onItemPress) {
219
+ onItemPress(conversation);
220
+ return;
221
+ }
222
+ if (!selecting) {
223
+ //fire event
224
+ return;
225
+ }
226
+ if (selectionMode == "none")
227
+ return;
228
+ let index = selectedConversation.findIndex(tmpConver => tmpConver.conversationWith.conversationId == conversation.conversationWith.conversationId);
229
+ if (index < 0) {
230
+ if (selectionMode == "single")
231
+ setSelectedConversations([conversation]);
232
+ if (selectionMode == "multiple")
233
+ setSelectedConversations([...selectedConversation, conversation]);
234
+ }
235
+ else {
236
+ selectedConversation.splice(index, 1);
237
+ setSelectedConversations([...selectedConversation]);
238
+ }
239
+ };
240
+ const conversationLongPressed = (conversation) => {
241
+ if (onItemLongPress) {
242
+ onItemLongPress(conversation);
243
+ return;
244
+ }
245
+ if (selectionMode == "none")
246
+ return;
247
+ setSelecting(true);
248
+ setSelectedConversations([...selectedConversation, conversation]);
249
+ };
250
+ const removeItemFromSelectionList = (id) => {
251
+ //remove from selected list if list is in selecting mode.
252
+ if (selecting) {
253
+ let index = selectedConversation.find(member => member['uid'] == id);
254
+ if (index > -1) {
255
+ let tmpSelectedConversations = [...selectedConversation];
256
+ tmpSelectedConversations.splice(index, 1);
257
+ setSelectedConversations(tmpSelectedConversations);
258
+ }
259
+ }
260
+ };
261
+ const removeConversation = (id) => {
262
+ let conversation = conversationListRef.current.getListItem(id);
263
+ const { conversationWith, conversationType } = conversation;
264
+ let conversationWithId = conversationType == "group" ? conversationWith.guid : conversationWith.uid;
265
+ CometChat.deleteConversation(conversationWithId, conversationType)
266
+ .then(success => {
267
+ conversationListRef.current.removeItemFromList(id);
268
+ removeItemFromSelectionList(id);
269
+ })
270
+ .catch(err => console.log(err));
271
+ };
272
+ const getMessagePreview = (conversations, uid) => {
273
+ let lastMessage = conversations['lastMessage'];
274
+ if (!lastMessage)
275
+ return null;
276
+ let messageText = ChatConfigurator.getDataSource().getLastConversationMessage(conversations);
277
+ let groupText = "";
278
+ if (lastMessage['receiverType'] == 'group') {
279
+ if (lastMessage['receiverId'] == uid) {
280
+ groupText = "you: ";
281
+ }
282
+ else {
283
+ groupText = lastMessage['sender']['name'] + ": ";
284
+ }
285
+ }
286
+ return (<Text numberOfLines={1} ellipsizeMode={"tail"} style={[Style.subtitleTextStyle, { color: theme.palette.getAccent600() }]}>
287
+ {groupText + messageText}
288
+ </Text>);
289
+ };
290
+ const LastMessageView = (params) => {
291
+ const lastMessage = params['conversations']['lastMessage'];
292
+ if (!lastMessage)
293
+ return null;
294
+ let readReceipt;
295
+ if (!disableTyping && params.typingText) {
296
+ return <View style={Style.row}>
297
+ <Text>{params.typingText}</Text>
298
+ </View>;
299
+ }
300
+ if (lastMessage && !disableReadReceipt && lastMessage['sender']['uid'] == loggedInUser.current?.uid) {
301
+ let status = "ERROR";
302
+ if (lastMessage?.hasOwnProperty('readAt'))
303
+ status = "READ";
304
+ else if (lastMessage?.hasOwnProperty("deliveredAt"))
305
+ status = "DELIVERED";
306
+ else if (lastMessage?.hasOwnProperty("sentAt"))
307
+ status = "SENT";
308
+ readReceipt = disableReceipt ? null : <CometChatReceipt receipt={status} deliveredIcon={props.deliveredIcon} errorIcon={props.errorIcon} readIcon={props.readIcon} sentIcon={props.sentIcon} waitIcon={props.waitingIcon}/>;
309
+ }
310
+ return (<View style={Style.row}>
311
+ {readReceipt}
312
+ {getMessagePreview(params['conversations'], loggedInUser.current?.uid)}
313
+ </View>);
314
+ };
315
+ const TailView = (params) => {
316
+ return <View style={{ alignItems: "flex-end" }}>
317
+ <CometChatDate timeStamp={(params.timestamp) * 1000} style={_dateStyle} customDateString={params.customPattern && params.customPattern()} pattern={"dayDateTimeFormat"}/>
318
+ <CometChatBadge count={params.unreadCount} style={_badgeStyle}/>
319
+ </View>;
320
+ };
321
+ const ConfirmDeletionDialog = () => {
322
+ if (confirmDelete == undefined)
323
+ return null;
324
+ return <CometChatConfirmDialog title={localize("CONFIRM")} cancelButtonText={localize("CANCEL")} confirmButtonText={localize("DELETE")} messageText={localize("DELETE_CONFIRM_MESSAGE")} isOpen={true} onCancel={() => setConfirmDelete(undefined)} onConfirm={() => {
325
+ {
326
+ removeConversation(confirmDelete);
327
+ setConfirmDelete(undefined);
328
+ }
329
+ }} style={_confirmDialogStyle}/>;
330
+ };
331
+ const getDefaultOptions = (conversation) => {
332
+ let _defaultOptions = CometChatConversationUtils.getDefaultOptions();
333
+ _defaultOptions[0].backgroundColor = theme?.palette.getError();
334
+ _defaultOptions[0].icon = deleteIcon;
335
+ _defaultOptions[0].title = localize("DELETE");
336
+ _defaultOptions[0].titleStyle = { fontSize: 14, color: theme?.palette.getSecondary() };
337
+ _defaultOptions[0].iconTint = theme?.palette.getSecondary();
338
+ _defaultOptions[0].onPress = (id) => {
339
+ setConfirmDelete(id);
340
+ };
341
+ return _defaultOptions;
342
+ };
343
+ React.useEffect(() => {
344
+ CometChat.getLoggedinUser()
345
+ .then(u => { loggedInUser.current = u; })
346
+ .catch(err => console.log(err));
347
+ CometChat.addUserListener(userListenerId, new CometChat.UserListener({
348
+ onUserOnline: (onlineUser) => {
349
+ console.log(onlineUser);
350
+ userEventHandler(onlineUser);
351
+ },
352
+ onUserOffline: (offlineUser) => {
353
+ console.log(offlineUser);
354
+ userEventHandler(offlineUser);
355
+ },
356
+ }));
357
+ CometChat.addCallListener(callListenerId, new CometChat.CallListener({
358
+ onIncomingCallReceived: (call) => {
359
+ CometChat.CometChatHelper.getConversationFromMessage(call)
360
+ .then((conversation) => {
361
+ conversationListRef.current.updateList(conversation);
362
+ })
363
+ .catch((e) => {
364
+ onError && onError(e);
365
+ });
366
+ },
367
+ onOutgoingCallAccepted: (call) => {
368
+ CometChat.CometChatHelper.getConversationFromMessage(call)
369
+ .then((conversation) => {
370
+ conversationListRef.current.updateList(conversation);
371
+ })
372
+ .catch((e) => {
373
+ onError && onError(e);
374
+ });
375
+ },
376
+ onOutgoingCallRejected: (call) => {
377
+ CometChat.CometChatHelper.getConversationFromMessage(call)
378
+ .then((conversation) => {
379
+ conversationListRef.current.updateList(conversation);
380
+ })
381
+ .catch((e) => {
382
+ onError && onError(e);
383
+ });
384
+ },
385
+ onIncomingCallCancelled: (call) => {
386
+ CometChat.CometChatHelper.getConversationFromMessage(call)
387
+ .then((conversation) => {
388
+ conversationListRef.current.updateList(conversation);
389
+ })
390
+ .catch((e) => {
391
+ onError && onError(e);
392
+ });
393
+ }
394
+ }));
395
+ CometChat.addGroupListener(groupListenerId, new CometChat.GroupListener({
396
+ onGroupMemberScopeChanged: (message) => {
397
+ groupHandler(message);
398
+ },
399
+ onGroupMemberKicked: (message) => {
400
+ groupHandler(message);
401
+ },
402
+ onGroupMemberLeft: (message) => {
403
+ groupHandler(message);
404
+ },
405
+ onGroupMemberUnbanned: (message) => {
406
+ groupHandler(message);
407
+ },
408
+ onGroupMemberBanned: (message) => {
409
+ groupHandler(message);
410
+ },
411
+ onMemberAddedToGroup: (message) => {
412
+ groupHandler(message);
413
+ },
414
+ onGroupMemberJoined: (message) => {
415
+ groupHandler(message);
416
+ }
417
+ }));
418
+ CometChat.addMessageListener(conversationListenerId, new CometChat.MessageListener({
419
+ onTextMessageReceived: (textMessage) => {
420
+ messageEventHandler(textMessage);
421
+ CometChatSoundManager.play("incomingMessage");
422
+ },
423
+ onMediaMessageReceived: (mediaMessage) => {
424
+ messageEventHandler(mediaMessage);
425
+ CometChatSoundManager.play("incomingMessage");
426
+ },
427
+ onCustomMessageReceived: (customMessage) => {
428
+ messageEventHandler(customMessage);
429
+ CometChatSoundManager.play("incomingMessage");
430
+ },
431
+ onMessageDeleted: (deletedMessage) => {
432
+ messageEventHandler(deletedMessage);
433
+ },
434
+ onMessageEdited: (editedMessage) => {
435
+ messageEventHandler(editedMessage);
436
+ },
437
+ onMessagesRead: (messageReceipt) => {
438
+ messageEventHandler(messageReceipt);
439
+ },
440
+ onMessagesDelivered: (messageReveipt) => {
441
+ messageEventHandler(messageReveipt);
442
+ },
443
+ onTypingStarted: (typingIndicator) => {
444
+ typingEventHandler(typingIndicator, true);
445
+ },
446
+ onTypingEnded: (typingIndicator) => {
447
+ typingEventHandler(typingIndicator, false);
448
+ },
449
+ }));
450
+ CometChatUIEventHandler.addConversationListener(conversationListenerId, {
451
+ ccConversationDeleted: ({ conversation }) => {
452
+ CometChat.deleteConversation(conversation.getConversationId(), conversation.getConversationType())
453
+ .then(res => {
454
+ conversationListRef.current.removeItemFromList(conversation);
455
+ removeItemFromSelectionList(conversation.getConversationId());
456
+ })
457
+ .catch(err => {
458
+ console.log("Error", err);
459
+ });
460
+ }
461
+ });
462
+ CometChatUIEventHandler.addMessageListener(messageListenerId, {
463
+ ccMessageSent: ({ message, status }) => {
464
+ if (status == MessageStatusConstants.success) {
465
+ updateLastMessage(message);
466
+ }
467
+ },
468
+ ccMessageRead: ({ message }) => {
469
+ CometChat.CometChatHelper.getConversationFromMessage(message)
470
+ .then(conversation => {
471
+ let conver = conversationListRef.current.getListItem(conversation.getConversationId());
472
+ if (!conver)
473
+ return;
474
+ let lastMessageId = conver['lastMessage']['id'];
475
+ if (lastMessageId == message['id']) {
476
+ conversationListRef.current.updateList(conversation);
477
+ }
478
+ });
479
+ },
480
+ ccMessageDeleted: ({ message }) => {
481
+ CometChat.CometChatHelper.getConversationFromMessage(message)
482
+ .then(conversation => {
483
+ let conver = conversationListRef.current.getListItem(conversation.getConversationId());
484
+ if (!conver)
485
+ return;
486
+ let lastMessageId = conver['lastMessage']['id'];
487
+ if (lastMessageId == message['id']) {
488
+ conversationListRef.current.updateList(conversation);
489
+ }
490
+ });
491
+ },
492
+ ccMessageEdited: ({ message }) => {
493
+ CometChat.CometChatHelper.getConversationFromMessage(message)
494
+ .then(conversation => {
495
+ let conver = conversationListRef.current.getListItem(conversation.getConversationId());
496
+ if (!conver)
497
+ return;
498
+ let lastMessageId = conver['lastMessage']['id'];
499
+ if (lastMessageId == message['id']) {
500
+ conversationListRef.current.updateList(conversation);
501
+ }
502
+ });
503
+ }
504
+ });
505
+ CometChatUIEventHandler.addGroupListener(groupListenerId, {
506
+ ccGroupDeleted: ({ group }) => {
507
+ conversationListRef.current?.removeItemFromList(group['conversationId']);
508
+ removeItemFromSelectionList(group['conversationId']);
509
+ },
510
+ ccGroupLeft: ({ leftGroup }) => {
511
+ conversationListRef.current?.removeItemFromList(leftGroup['conversationId']);
512
+ removeItemFromSelectionList(leftGroup['conversationId']);
513
+ },
514
+ ccGroupMemberKicked: ({ message, kickedFrom }) => {
515
+ CometChat.CometChatHelper.getConversationFromMessage(message)
516
+ .then(conversation => {
517
+ conversationListRef.current?.updateList(conversation);
518
+ })
519
+ .catch(e => {
520
+ onError && onError(e);
521
+ });
522
+ },
523
+ ccGroupMemberBanned: ({ message }) => {
524
+ groupHandler(message);
525
+ },
526
+ ccGroupMemberUnBanned: ({ message }) => {
527
+ groupHandler(message);
528
+ },
529
+ ccOwnershipChanged: ({ message }) => {
530
+ CometChat.CometChatHelper.getConversationFromMessage(message)
531
+ .then(conversation => {
532
+ conversationListRef.current?.updateList(conversation);
533
+ })
534
+ .catch(e => {
535
+ onError && onError(e);
536
+ });
537
+ },
538
+ ccGroupMemberAdded: ({ message }) => {
539
+ CometChat.CometChatHelper.getConversationFromMessage(message)
540
+ .then(conversation => {
541
+ conversationListRef.current?.updateList(conversation);
542
+ })
543
+ .catch(e => onError && onError(e));
544
+ }
545
+ });
546
+ CometChatUIEventHandler.addUserListener(userListenerId, {
547
+ ccUserBlocked: ({ user }) => {
548
+ let conversation = conversationListRef.current?.getListItem(user['conversationId']);
549
+ conversationListRef.current?.updateList(conversation);
550
+ }
551
+ });
552
+ CometChatUIEventHandler.addCallListener(callListenerId, {
553
+ ccOutgoingCall: ({ call }) => {
554
+ CometChat.CometChatHelper.getConversationFromMessage(call)
555
+ .then((conversation) => {
556
+ conversationListRef.current.updateList(conversation);
557
+ })
558
+ .catch((e) => {
559
+ onError && onError(e);
560
+ });
561
+ },
562
+ ccCallAccepted: ({ call }) => {
563
+ CometChat.CometChatHelper.getConversationFromMessage(call)
564
+ .then((conversation) => {
565
+ conversationListRef.current.updateList(conversation);
566
+ })
567
+ .catch((e) => {
568
+ onError && onError(e);
569
+ });
570
+ },
571
+ ccCallRejected: ({ call }) => {
572
+ CometChat.CometChatHelper.getConversationFromMessage(call)
573
+ .then((conversation) => {
574
+ conversationListRef.current.updateList(conversation);
575
+ })
576
+ .catch((e) => {
577
+ onError && onError(e);
578
+ });
579
+ },
580
+ ccCallEnded: ({ call }) => {
581
+ CometChat.CometChatHelper.getConversationFromMessage(call)
582
+ .then((conversation) => {
583
+ conversationListRef.current.updateList(conversation);
584
+ })
585
+ .catch((e) => {
586
+ onError && onError(e);
587
+ });
588
+ }
589
+ });
590
+ return () => {
591
+ CometChat.removeMessageListener(conversationListenerId);
592
+ CometChat.removeUserListener(userListenerId);
593
+ CometChat.removeCallListener(callListenerId);
594
+ CometChat.removeGroupListener(groupListenerId);
595
+ CometChatUIEventHandler.removeMessageListener(messageListenerId);
596
+ CometChatUIEventHandler.removeConversationListener(conversationListenerId);
597
+ CometChatUIEventHandler.removeGroupListener(groupListenerId);
598
+ CometChatUIEventHandler.removeUserListener(userListenerId);
599
+ };
600
+ }, []);
601
+ const ConversationItemView = ({ item: conversation }) => {
602
+ if (!conversation)
603
+ return null;
604
+ //custom view check
605
+ if (ListItemView)
606
+ return ListItemView(conversation);
607
+ const { conversationWith, conversationType } = conversation;
608
+ const lastMessage = CometChatConversationUtils.getLastMessage(conversation);
609
+ const { name, type, conversationId } = conversationWith || {};
610
+ let image, backgroundColor, avatarIcon = conversationWith[conversationType == "group" ? 'icon' : "avatar"];
611
+ if (type == GroupTypeConstants.password) {
612
+ image = props?.protectedGroupIcon || passwordGroupIcon;
613
+ backgroundColor = PASSWORD_GROUP_COLOR;
614
+ }
615
+ if (type == GroupTypeConstants.private) {
616
+ image = props?.privateGroupIcon || privateGroupIcon;
617
+ backgroundColor = PRIVATE_GROUP_COLOR;
618
+ }
619
+ if (conversationWith.status == "online") {
620
+ backgroundColor = theme.palette.getSuccess();
621
+ }
622
+ if (selecting) {
623
+ let index = selectedConversation.findIndex((value) => value.conversationWith.conversationId == conversationId);
624
+ if (index >= 0) {
625
+ image = rightTickIcon;
626
+ backgroundColor = theme?.palette.getPrimary();
627
+ }
628
+ }
629
+ return <CometChatListItem id={conversation.conversationId} avatarName={name} avatarURL={avatarIcon} hideSeparator={hideSeparator} SubtitleView={(SubtitleView && SubtitleView.bind(this, conversation)) || (() => <LastMessageView conversations={conversation} typingText={conversation?.['lastMessage']?.['typing']}/>)} title={name} statusIndicatorIcon={image} statusIndicatorColor={disableUsersPresence ? "transparent" : backgroundColor} listItemStyle={_listItemStyle} TailView={() => <TailView customPattern={() => datePattern && props.datePattern(conversation)} timestamp={lastMessage && lastMessage['updatedAt'] || conversationWith['createdAt'] || conversationWith['lastActiveAt']} unreadCount={conversation.unreadMessageCount}/>} avatarStyle={_avatarStyle} statusIndicatorStyle={_statusIndicatorStyle} onPress={conversationClicked.bind(this, conversation)} onLongPress={conversationLongPressed.bind(this, conversation)} options={() => options ? options(conversation) : getDefaultOptions(conversation)}/>;
630
+ };
631
+ /**
632
+ * Component template
633
+ */
634
+ return (<View style={Style.container}>
635
+ <ConfirmDeletionDialog />
636
+ <CometChatList AppBarOptions={AppBarOption} onError={onError} ref={conversationListRef} requestBuilder={conversationsRequestBuilder || new CometChat.ConversationsRequestBuilder().setLimit(30)} title={title} hideSearch={true} hideSubmitIcon={hideSubmitIcon} listItemKey={"conversationId"} LoadingStateView={LoadingStateView} ListItemView={ConversationItemView} EmptyStateView={EmptyStateView ? EmptyStateView : () => <EmptyView />} ErrorStateView={ErrorStateView ? ErrorStateView : () => <ErrorView />} onBack={onBack} backButtonIcon={backButtonIcon} showBackButton={showBackButton} onSelection={(items) => {
637
+ onSelection && onSelection(items);
638
+ setSelecting(false);
639
+ setSelectedConversations([]);
640
+ }} SubtitleView={props.SubtitleView} disableUsersPresence={disableUsersPresence} options={options} hideSeparator={hideSeparator} listStyle={{ ..._style, background: _style.backgroundColor }} selectionMode={selecting ? selectionMode : "none"} hideError={hideError}/>
641
+ </View>);
642
+ };
643
+ //# sourceMappingURL=CometChatConversations.js.map