@cometchat/chat-uikit-react-native 4.3.25 → 4.3.26

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 (2367) hide show
  1. package/android/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/android/.gradle/7.4/fileChanges/last-build.bin +0 -0
  3. package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  4. package/android/.gradle/7.4/gc.properties +0 -0
  5. package/android/.gradle/vcs-1/gc.properties +0 -0
  6. package/lib/AI/AIAssistBot/AIAssistBotDecorator.d.ts +23 -0
  7. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js +132 -0
  8. package/lib/AI/AIAssistBot/AIAssistBotDecorator.js.map +1 -0
  9. package/lib/AI/AIAssistBot/AIAssistBotExtension.d.ts +8 -0
  10. package/lib/AI/AIAssistBot/AIAssistBotExtension.js +17 -0
  11. package/lib/AI/AIAssistBot/AIAssistBotExtension.js.map +1 -0
  12. package/lib/AI/AIAssistBot/AIAssistBotStyle.d.ts +27 -0
  13. package/lib/AI/AIAssistBot/AIAssistBotStyle.js +38 -0
  14. package/lib/AI/AIAssistBot/AIAssistBotStyle.js.map +1 -0
  15. package/lib/AI/AIAssistBot/AIAssistBotView.d.ts +13 -0
  16. package/lib/AI/AIAssistBot/AIAssistBotView.js +189 -0
  17. package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -0
  18. package/lib/AI/AIAssistBot/configuration.d.ts +18 -0
  19. package/lib/AI/AIAssistBot/configuration.js +19 -0
  20. package/lib/AI/AIAssistBot/configuration.js.map +1 -0
  21. package/lib/AI/AIAssistBot/resources/CloseIcon.png +0 -0
  22. package/lib/AI/AIAssistBot/resources/index.d.ts +2 -0
  23. package/lib/AI/AIAssistBot/resources/index.js +4 -0
  24. package/lib/AI/AIAssistBot/resources/index.js.map +1 -0
  25. package/lib/AI/AIBaseConfiguration.d.ts +12 -0
  26. package/lib/AI/AIBaseConfiguration.js +14 -0
  27. package/lib/AI/AIBaseConfiguration.js.map +1 -0
  28. package/lib/AI/AIBaseStyle.d.ts +24 -0
  29. package/lib/AI/AIBaseStyle.js +31 -0
  30. package/lib/AI/AIBaseStyle.js.map +1 -0
  31. package/lib/AI/AIConversationStarter/AIConversationStarter.d.ts +8 -0
  32. package/lib/AI/AIConversationStarter/AIConversationStarter.js +17 -0
  33. package/lib/AI/AIConversationStarter/AIConversationStarter.js.map +1 -0
  34. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +31 -0
  35. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js +188 -0
  36. package/lib/AI/AIConversationStarter/AIConversationStarterDecorator.js.map +1 -0
  37. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.d.ts +10 -0
  38. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js +14 -0
  39. package/lib/AI/AIConversationStarter/AIConversationStarterStyle.js.map +1 -0
  40. package/lib/AI/AIConversationStarter/configuration.d.ts +7 -0
  41. package/lib/AI/AIConversationStarter/configuration.js +10 -0
  42. package/lib/AI/AIConversationStarter/configuration.js.map +1 -0
  43. package/lib/AI/AIConversationStarter/style.d.ts +30 -0
  44. package/lib/AI/AIConversationStarter/style.js +62 -0
  45. package/lib/AI/AIConversationStarter/style.js.map +1 -0
  46. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +25 -0
  47. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js +150 -0
  48. package/lib/AI/AIConversationSummary/AIConversationSummaryDecorator.js.map +1 -0
  49. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +8 -0
  50. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js +17 -0
  51. package/lib/AI/AIConversationSummary/AIConversationSummaryExtension.js.map +1 -0
  52. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.d.ts +15 -0
  53. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js +18 -0
  54. package/lib/AI/AIConversationSummary/AIConversationSummaryStyle.js.map +1 -0
  55. package/lib/AI/AIConversationSummary/AIConversationSummaryView.d.ts +12 -0
  56. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js +126 -0
  57. package/lib/AI/AIConversationSummary/AIConversationSummaryView.js.map +1 -0
  58. package/lib/AI/AIConversationSummary/configuration.d.ts +9 -0
  59. package/lib/AI/AIConversationSummary/configuration.js +13 -0
  60. package/lib/AI/AIConversationSummary/configuration.js.map +1 -0
  61. package/lib/AI/AIConversationSummary/resources/close.png +0 -0
  62. package/lib/AI/AIConversationSummary/resources/index.d.ts +2 -0
  63. package/lib/AI/AIConversationSummary/resources/index.js +4 -0
  64. package/lib/AI/AIConversationSummary/resources/index.js.map +1 -0
  65. package/lib/AI/AIExtensionDataSource.d.ts +6 -0
  66. package/lib/AI/AIExtensionDataSource.js +12 -0
  67. package/lib/AI/AIExtensionDataSource.js.map +1 -0
  68. package/lib/AI/AIOptionsStyle.d.ts +10 -0
  69. package/lib/AI/AIOptionsStyle.js +14 -0
  70. package/lib/AI/AIOptionsStyle.js.map +1 -0
  71. package/lib/AI/AISmartReplies/AISmartReplies.d.ts +8 -0
  72. package/lib/AI/AISmartReplies/AISmartReplies.js +17 -0
  73. package/lib/AI/AISmartReplies/AISmartReplies.js.map +1 -0
  74. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +38 -0
  75. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js +240 -0
  76. package/lib/AI/AISmartReplies/AISmartRepliesDecorator.js.map +1 -0
  77. package/lib/AI/AISmartReplies/AISmartRepliesStyle.d.ts +12 -0
  78. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js +15 -0
  79. package/lib/AI/AISmartReplies/AISmartRepliesStyle.js.map +1 -0
  80. package/lib/AI/AISmartReplies/configuration.d.ts +9 -0
  81. package/lib/AI/AISmartReplies/configuration.js +11 -0
  82. package/lib/AI/AISmartReplies/configuration.js.map +1 -0
  83. package/lib/AI/CardView.d.ts +16 -0
  84. package/lib/AI/CardView.js +37 -0
  85. package/lib/AI/CardView.js.map +1 -0
  86. package/lib/AI/CardViewStyle.d.ts +29 -0
  87. package/lib/AI/CardViewStyle.js +36 -0
  88. package/lib/AI/CardViewStyle.js.map +1 -0
  89. package/lib/AI/resources/ai-empty.png +0 -0
  90. package/lib/AI/resources/ai-error.png +0 -0
  91. package/lib/AI/resources/index.d.ts +4 -0
  92. package/lib/AI/resources/index.js +8 -0
  93. package/lib/AI/resources/index.js.map +1 -0
  94. package/lib/AI/resources/spineer.png +0 -0
  95. package/lib/AI/style.d.ts +130 -0
  96. package/lib/AI/style.js +139 -0
  97. package/lib/AI/style.js.map +1 -0
  98. package/lib/AI/utils.d.ts +38 -0
  99. package/lib/AI/utils.js +28 -0
  100. package/lib/AI/utils.js.map +1 -0
  101. package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +43 -0
  102. package/lib/CometChatAddMembers/AddMembersConfiguration.js +42 -0
  103. package/lib/CometChatAddMembers/AddMembersConfiguration.js.map +1 -0
  104. package/lib/CometChatAddMembers/CometChatAddMembers.d.ts +10 -0
  105. package/lib/CometChatAddMembers/CometChatAddMembers.js +74 -0
  106. package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -0
  107. package/lib/CometChatAddMembers/index.d.ts +4 -0
  108. package/lib/CometChatAddMembers/index.js +4 -0
  109. package/lib/CometChatAddMembers/index.js.map +1 -0
  110. package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +46 -0
  111. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js +44 -0
  112. package/lib/CometChatBannedMembers/BannedMembersConfiguration.js.map +1 -0
  113. package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +21 -0
  114. package/lib/CometChatBannedMembers/CometChatBannedMembers.js +85 -0
  115. package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -0
  116. package/lib/CometChatBannedMembers/index.d.ts +4 -0
  117. package/lib/CometChatBannedMembers/index.js +4 -0
  118. package/lib/CometChatBannedMembers/index.js.map +1 -0
  119. package/lib/CometChatBannedMembers/resources/clear.png +0 -0
  120. package/lib/CometChatBannedMembers/resources/index.d.ts +3 -0
  121. package/lib/CometChatBannedMembers/resources/index.js +4 -0
  122. package/lib/CometChatBannedMembers/resources/index.js.map +1 -0
  123. package/lib/CometChatContacts/CometChatContacts.d.ts +75 -0
  124. package/lib/CometChatContacts/CometChatContacts.js +87 -0
  125. package/lib/CometChatContacts/CometChatContacts.js.map +1 -0
  126. package/lib/CometChatContacts/ContactsConfiguration.d.ts +73 -0
  127. package/lib/CometChatContacts/ContactsConfiguration.js +2 -0
  128. package/lib/CometChatContacts/ContactsConfiguration.js.map +1 -0
  129. package/lib/CometChatContacts/ContactsStyle.d.ts +59 -0
  130. package/lib/CometChatContacts/ContactsStyle.js +2 -0
  131. package/lib/CometChatContacts/ContactsStyle.js.map +1 -0
  132. package/lib/CometChatContacts/Header.d.ts +31 -0
  133. package/lib/CometChatContacts/Header.js +72 -0
  134. package/lib/CometChatContacts/Header.js.map +1 -0
  135. package/lib/CometChatContacts/index.d.ts +5 -0
  136. package/lib/CometChatContacts/index.js +3 -0
  137. package/lib/CometChatContacts/index.js.map +1 -0
  138. package/lib/CometChatContacts/styles.d.ts +101 -0
  139. package/lib/CometChatContacts/styles.js +104 -0
  140. package/lib/CometChatContacts/styles.js.map +1 -0
  141. package/lib/CometChatConversations/CometChatConversations.d.ts +208 -0
  142. package/lib/CometChatConversations/CometChatConversations.js +947 -0
  143. package/lib/CometChatConversations/CometChatConversations.js.map +1 -0
  144. package/lib/CometChatConversations/ConversationsConfiguration.d.ts +126 -0
  145. package/lib/CometChatConversations/ConversationsConfiguration.js +115 -0
  146. package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -0
  147. package/lib/CometChatConversations/ConversationsStyle.d.ts +38 -0
  148. package/lib/CometChatConversations/ConversationsStyle.js +46 -0
  149. package/lib/CometChatConversations/ConversationsStyle.js.map +1 -0
  150. package/lib/CometChatConversations/index.d.ts +5 -0
  151. package/lib/CometChatConversations/index.js +5 -0
  152. package/lib/CometChatConversations/index.js.map +1 -0
  153. package/lib/CometChatConversations/resources/back.png +0 -0
  154. package/lib/CometChatConversations/resources/blue-double-tick-icon.png +0 -0
  155. package/lib/CometChatConversations/resources/close.png +0 -0
  156. package/lib/CometChatConversations/resources/delete.png +0 -0
  157. package/lib/CometChatConversations/resources/error.png +0 -0
  158. package/lib/CometChatConversations/resources/grey-double-tick-icon.png +0 -0
  159. package/lib/CometChatConversations/resources/grey-tick-icon.png +0 -0
  160. package/lib/CometChatConversations/resources/index.d.ts +14 -0
  161. package/lib/CometChatConversations/resources/index.js +30 -0
  162. package/lib/CometChatConversations/resources/index.js.map +1 -0
  163. package/lib/CometChatConversations/resources/new.png +0 -0
  164. package/lib/CometChatConversations/resources/password.png +0 -0
  165. package/lib/CometChatConversations/resources/private.png +0 -0
  166. package/lib/CometChatConversations/resources/rightTick.png +0 -0
  167. package/lib/CometChatConversations/resources/sending.png +0 -0
  168. package/lib/CometChatConversations/resources/spineer.png +0 -0
  169. package/lib/CometChatConversations/style.d.ts +65 -0
  170. package/lib/CometChatConversations/style.js +67 -0
  171. package/lib/CometChatConversations/style.js.map +1 -0
  172. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.d.ts +14 -0
  173. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js +168 -0
  174. package/lib/CometChatConversationsWithMessages/CometChatConversationsWithMessages.js.map +1 -0
  175. package/lib/CometChatConversationsWithMessages/index.d.ts +3 -0
  176. package/lib/CometChatConversationsWithMessages/index.js +3 -0
  177. package/lib/CometChatConversationsWithMessages/index.js.map +1 -0
  178. package/lib/CometChatConversationsWithMessages/resources/index.d.ts +2 -0
  179. package/lib/CometChatConversationsWithMessages/resources/index.js +4 -0
  180. package/lib/CometChatConversationsWithMessages/resources/index.js.map +1 -0
  181. package/lib/CometChatConversationsWithMessages/resources/start.png +0 -0
  182. package/lib/CometChatConversationsWithMessages/styles.d.ts +12 -0
  183. package/lib/CometChatConversationsWithMessages/styles.js +14 -0
  184. package/lib/CometChatConversationsWithMessages/styles.js.map +1 -0
  185. package/lib/CometChatCreateGroup/CometChatCreateGroup.d.ts +91 -0
  186. package/lib/CometChatCreateGroup/CometChatCreateGroup.js +191 -0
  187. package/lib/CometChatCreateGroup/CometChatCreateGroup.js.map +1 -0
  188. package/lib/CometChatCreateGroup/CreateGroupConfiguration.d.ts +14 -0
  189. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js +16 -0
  190. package/lib/CometChatCreateGroup/CreateGroupConfiguration.js.map +1 -0
  191. package/lib/CometChatCreateGroup/Header.d.ts +3 -0
  192. package/lib/CometChatCreateGroup/Header.js +41 -0
  193. package/lib/CometChatCreateGroup/Header.js.map +1 -0
  194. package/lib/CometChatCreateGroup/index.d.ts +4 -0
  195. package/lib/CometChatCreateGroup/index.js +4 -0
  196. package/lib/CometChatCreateGroup/index.js.map +1 -0
  197. package/lib/CometChatCreateGroup/resources/close.png +0 -0
  198. package/lib/CometChatCreateGroup/resources/index.d.ts +5 -0
  199. package/lib/CometChatCreateGroup/resources/index.js +12 -0
  200. package/lib/CometChatCreateGroup/resources/index.js.map +1 -0
  201. package/lib/CometChatCreateGroup/resources/rightTick.png +0 -0
  202. package/lib/CometChatCreateGroup/resources/warning.png +0 -0
  203. package/lib/CometChatCreateGroup/style.d.ts +46 -0
  204. package/lib/CometChatCreateGroup/style.js +43 -0
  205. package/lib/CometChatCreateGroup/style.js.map +1 -0
  206. package/lib/CometChatDetails/CometChatDetails.d.ts +281 -0
  207. package/lib/CometChatDetails/CometChatDetails.js +436 -0
  208. package/lib/CometChatDetails/CometChatDetails.js.map +1 -0
  209. package/lib/CometChatDetails/DetailsConfiguration.d.ts +36 -0
  210. package/lib/CometChatDetails/DetailsConfiguration.js +27 -0
  211. package/lib/CometChatDetails/DetailsConfiguration.js.map +1 -0
  212. package/lib/CometChatDetails/Header.d.ts +3 -0
  213. package/lib/CometChatDetails/Header.js +26 -0
  214. package/lib/CometChatDetails/Header.js.map +1 -0
  215. package/lib/CometChatDetails/index.d.ts +4 -0
  216. package/lib/CometChatDetails/index.js +4 -0
  217. package/lib/CometChatDetails/index.js.map +1 -0
  218. package/lib/CometChatDetails/listners.d.ts +10 -0
  219. package/lib/CometChatDetails/listners.js +79 -0
  220. package/lib/CometChatDetails/listners.js.map +1 -0
  221. package/lib/CometChatDetails/resources/Back.png +0 -0
  222. package/lib/CometChatDetails/resources/close.png +0 -0
  223. package/lib/CometChatDetails/resources/index.d.ts +7 -0
  224. package/lib/CometChatDetails/resources/index.js +18 -0
  225. package/lib/CometChatDetails/resources/index.js.map +1 -0
  226. package/lib/CometChatDetails/resources/password.png +0 -0
  227. package/lib/CometChatDetails/resources/private.png +0 -0
  228. package/lib/CometChatDetails/resources/right-arrow.png +0 -0
  229. package/lib/CometChatDetails/styles.d.ts +28 -0
  230. package/lib/CometChatDetails/styles.js +23 -0
  231. package/lib/CometChatDetails/styles.js.map +1 -0
  232. package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +96 -0
  233. package/lib/CometChatGroupMembers/CometChatGroupMembers.js +414 -0
  234. package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -0
  235. package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +87 -0
  236. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +71 -0
  237. package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -0
  238. package/lib/CometChatGroupMembers/GroupMemberStyle.d.ts +42 -0
  239. package/lib/CometChatGroupMembers/GroupMemberStyle.js +48 -0
  240. package/lib/CometChatGroupMembers/GroupMemberStyle.js.map +1 -0
  241. package/lib/CometChatGroupMembers/GroupScopeStyle.d.ts +28 -0
  242. package/lib/CometChatGroupMembers/GroupScopeStyle.js +35 -0
  243. package/lib/CometChatGroupMembers/GroupScopeStyle.js.map +1 -0
  244. package/lib/CometChatGroupMembers/index.d.ts +8 -0
  245. package/lib/CometChatGroupMembers/index.js +5 -0
  246. package/lib/CometChatGroupMembers/index.js.map +1 -0
  247. package/lib/CometChatGroupMembers/resources/banIcon.png +0 -0
  248. package/lib/CometChatGroupMembers/resources/check.png +0 -0
  249. package/lib/CometChatGroupMembers/resources/downArrowIcon.png +0 -0
  250. package/lib/CometChatGroupMembers/resources/index.d.ts +6 -0
  251. package/lib/CometChatGroupMembers/resources/index.js +12 -0
  252. package/lib/CometChatGroupMembers/resources/index.js.map +1 -0
  253. package/lib/CometChatGroupMembers/resources/kickIcon.png +0 -0
  254. package/lib/CometChatGroupMembers/resources/rightTick.png +0 -0
  255. package/lib/CometChatGroupMembers/style.d.ts +31 -0
  256. package/lib/CometChatGroupMembers/style.js +30 -0
  257. package/lib/CometChatGroupMembers/style.js.map +1 -0
  258. package/lib/CometChatGroups/CometChatGroups.d.ts +141 -0
  259. package/lib/CometChatGroups/CometChatGroups.js +318 -0
  260. package/lib/CometChatGroups/CometChatGroups.js.map +1 -0
  261. package/lib/CometChatGroups/GroupsConfiguration.d.ts +74 -0
  262. package/lib/CometChatGroups/GroupsConfiguration.js +41 -0
  263. package/lib/CometChatGroups/GroupsConfiguration.js.map +1 -0
  264. package/lib/CometChatGroups/GroupsStyle.d.ts +51 -0
  265. package/lib/CometChatGroups/GroupsStyle.js +61 -0
  266. package/lib/CometChatGroups/GroupsStyle.js.map +1 -0
  267. package/lib/CometChatGroups/index.d.ts +5 -0
  268. package/lib/CometChatGroups/index.js +5 -0
  269. package/lib/CometChatGroups/index.js.map +1 -0
  270. package/lib/CometChatGroups/resources/back.png +0 -0
  271. package/lib/CometChatGroups/resources/check.png +0 -0
  272. package/lib/CometChatGroups/resources/close.png +0 -0
  273. package/lib/CometChatGroups/resources/create.png +0 -0
  274. package/lib/CometChatGroups/resources/index.d.ts +10 -0
  275. package/lib/CometChatGroups/resources/index.js +20 -0
  276. package/lib/CometChatGroups/resources/index.js.map +1 -0
  277. package/lib/CometChatGroups/resources/more.png +0 -0
  278. package/lib/CometChatGroups/resources/password.png +0 -0
  279. package/lib/CometChatGroups/resources/private.png +0 -0
  280. package/lib/CometChatGroups/resources/rightTick.png +0 -0
  281. package/lib/CometChatGroups/resources/spineer.png +0 -0
  282. package/lib/CometChatGroups/style.d.ts +16 -0
  283. package/lib/CometChatGroups/style.js +19 -0
  284. package/lib/CometChatGroups/style.js.map +1 -0
  285. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.d.ts +13 -0
  286. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +173 -0
  287. package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -0
  288. package/lib/CometChatGroupsWithMessages/index.d.ts +3 -0
  289. package/lib/CometChatGroupsWithMessages/index.js +3 -0
  290. package/lib/CometChatGroupsWithMessages/index.js.map +1 -0
  291. package/lib/CometChatGroupsWithMessages/resources/index.d.ts +2 -0
  292. package/lib/CometChatGroupsWithMessages/resources/index.js +4 -0
  293. package/lib/CometChatGroupsWithMessages/resources/index.js.map +1 -0
  294. package/lib/CometChatGroupsWithMessages/resources/write.png +0 -0
  295. package/lib/CometChatGroupsWithMessages/styles.d.ts +12 -0
  296. package/lib/CometChatGroupsWithMessages/styles.js +14 -0
  297. package/lib/CometChatGroupsWithMessages/styles.js.map +1 -0
  298. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.d.ts +105 -0
  299. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js +94 -0
  300. package/lib/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.js.map +1 -0
  301. package/lib/CometChatJoinProtectedGroup/Header.d.ts +3 -0
  302. package/lib/CometChatJoinProtectedGroup/Header.js +33 -0
  303. package/lib/CometChatJoinProtectedGroup/Header.js.map +1 -0
  304. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.d.ts +15 -0
  305. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js +17 -0
  306. package/lib/CometChatJoinProtectedGroup/JoinProtectedGroupConfiguration.js.map +1 -0
  307. package/lib/CometChatJoinProtectedGroup/index.d.ts +4 -0
  308. package/lib/CometChatJoinProtectedGroup/index.js +4 -0
  309. package/lib/CometChatJoinProtectedGroup/index.js.map +1 -0
  310. package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
  311. package/lib/CometChatJoinProtectedGroup/resources/index.d.ts +4 -0
  312. package/lib/CometChatJoinProtectedGroup/resources/index.js +9 -0
  313. package/lib/CometChatJoinProtectedGroup/resources/index.js.map +1 -0
  314. package/lib/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
  315. package/lib/CometChatJoinProtectedGroup/style.d.ts +11 -0
  316. package/lib/CometChatJoinProtectedGroup/style.js +10 -0
  317. package/lib/CometChatJoinProtectedGroup/style.js.map +1 -0
  318. package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +295 -0
  319. package/lib/CometChatMessageComposer/CometChatMessageComposer.js +1126 -0
  320. package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -0
  321. package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +61 -0
  322. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js +47 -0
  323. package/lib/CometChatMessageComposer/MessageComposerConfiguration.js.map +1 -0
  324. package/lib/CometChatMessageComposer/index.d.ts +4 -0
  325. package/lib/CometChatMessageComposer/index.js +4 -0
  326. package/lib/CometChatMessageComposer/index.js.map +1 -0
  327. package/lib/CometChatMessageComposer/resources/Info.png +0 -0
  328. package/lib/CometChatMessageComposer/resources/ai.png +0 -0
  329. package/lib/CometChatMessageComposer/resources/circle_add.png +0 -0
  330. package/lib/CometChatMessageComposer/resources/close.png +0 -0
  331. package/lib/CometChatMessageComposer/resources/emoji.png +0 -0
  332. package/lib/CometChatMessageComposer/resources/heart.png +0 -0
  333. package/lib/CometChatMessageComposer/resources/image.png +0 -0
  334. package/lib/CometChatMessageComposer/resources/index.d.ts +12 -0
  335. package/lib/CometChatMessageComposer/resources/index.js +33 -0
  336. package/lib/CometChatMessageComposer/resources/index.js.map +1 -0
  337. package/lib/CometChatMessageComposer/resources/microphone.png +0 -0
  338. package/lib/CometChatMessageComposer/resources/send_message.png +0 -0
  339. package/lib/CometChatMessageComposer/resources/stickers.png +0 -0
  340. package/lib/CometChatMessageComposer/styles.d.ts +26 -0
  341. package/lib/CometChatMessageComposer/styles.js +28 -0
  342. package/lib/CometChatMessageComposer/styles.js.map +1 -0
  343. package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +143 -0
  344. package/lib/CometChatMessageHeader/CometChatMessageHeader.js +279 -0
  345. package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -0
  346. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +37 -0
  347. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js +28 -0
  348. package/lib/CometChatMessageHeader/MessageHeaderConfiguration.js.map +1 -0
  349. package/lib/CometChatMessageHeader/index.d.ts +4 -0
  350. package/lib/CometChatMessageHeader/index.js +4 -0
  351. package/lib/CometChatMessageHeader/index.js.map +1 -0
  352. package/lib/CometChatMessageHeader/listners.d.ts +12 -0
  353. package/lib/CometChatMessageHeader/listners.js +49 -0
  354. package/lib/CometChatMessageHeader/listners.js.map +1 -0
  355. package/lib/CometChatMessageHeader/resources/Back.png +0 -0
  356. package/lib/CometChatMessageHeader/resources/index.d.ts +5 -0
  357. package/lib/CometChatMessageHeader/resources/index.js +12 -0
  358. package/lib/CometChatMessageHeader/resources/index.js.map +1 -0
  359. package/lib/CometChatMessageHeader/resources/password.png +0 -0
  360. package/lib/CometChatMessageHeader/resources/private.png +0 -0
  361. package/lib/CometChatMessageHeader/styles.d.ts +16 -0
  362. package/lib/CometChatMessageHeader/styles.js +16 -0
  363. package/lib/CometChatMessageHeader/styles.js.map +1 -0
  364. package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +39 -0
  365. package/lib/CometChatMessageInformation/CometChatMessageInformation.js +230 -0
  366. package/lib/CometChatMessageInformation/CometChatMessageInformation.js.map +1 -0
  367. package/lib/CometChatMessageInformation/MessageInformationConfiguration.d.ts +8 -0
  368. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js +12 -0
  369. package/lib/CometChatMessageInformation/MessageInformationConfiguration.js.map +1 -0
  370. package/lib/CometChatMessageInformation/MessageInformationStyle.d.ts +11 -0
  371. package/lib/CometChatMessageInformation/MessageInformationStyle.js +2 -0
  372. package/lib/CometChatMessageInformation/MessageInformationStyle.js.map +1 -0
  373. package/lib/CometChatMessageInformation/index.d.ts +5 -0
  374. package/lib/CometChatMessageInformation/index.js +4 -0
  375. package/lib/CometChatMessageInformation/index.js.map +1 -0
  376. package/lib/CometChatMessageInformation/resources/Spineer.png +0 -0
  377. package/lib/CometChatMessageInformation/resources/index.d.ts +2 -0
  378. package/lib/CometChatMessageInformation/resources/index.js +4 -0
  379. package/lib/CometChatMessageInformation/resources/index.js.map +1 -0
  380. package/lib/CometChatMessageInformation/styles.d.ts +23 -0
  381. package/lib/CometChatMessageInformation/styles.js +26 -0
  382. package/lib/CometChatMessageInformation/styles.js.map +1 -0
  383. package/lib/CometChatMessageList/CometChatMessageList.d.ts +128 -0
  384. package/lib/CometChatMessageList/CometChatMessageList.js +1620 -0
  385. package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -0
  386. package/lib/CometChatMessageList/MessageListConfiguration.d.ts +221 -0
  387. package/lib/CometChatMessageList/MessageListConfiguration.js +96 -0
  388. package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -0
  389. package/lib/CometChatMessageList/MessageListStyle.d.ts +32 -0
  390. package/lib/CometChatMessageList/MessageListStyle.js +39 -0
  391. package/lib/CometChatMessageList/MessageListStyle.js.map +1 -0
  392. package/lib/CometChatMessageList/index.d.ts +5 -0
  393. package/lib/CometChatMessageList/index.js +5 -0
  394. package/lib/CometChatMessageList/index.js.map +1 -0
  395. package/lib/CometChatMessageList/resources/back.png +0 -0
  396. package/lib/CometChatMessageList/resources/close.png +0 -0
  397. package/lib/CometChatMessageList/resources/downArrowIcon.png +0 -0
  398. package/lib/CometChatMessageList/resources/index.d.ts +8 -0
  399. package/lib/CometChatMessageList/resources/index.js +16 -0
  400. package/lib/CometChatMessageList/resources/index.js.map +1 -0
  401. package/lib/CometChatMessageList/resources/leftarrowcurve.png +0 -0
  402. package/lib/CometChatMessageList/resources/rightArrowIcon.png +0 -0
  403. package/lib/CometChatMessageList/resources/rightarrowcurve.png +0 -0
  404. package/lib/CometChatMessageList/resources/spineer.png +0 -0
  405. package/lib/CometChatMessageList/style.d.ts +52 -0
  406. package/lib/CometChatMessageList/style.js +54 -0
  407. package/lib/CometChatMessageList/style.js.map +1 -0
  408. package/lib/CometChatMessages/CometChatMessages.d.ts +42 -0
  409. package/lib/CometChatMessages/CometChatMessages.js +232 -0
  410. package/lib/CometChatMessages/CometChatMessages.js.map +1 -0
  411. package/lib/CometChatMessages/MessageStyle.d.ts +15 -0
  412. package/lib/CometChatMessages/MessageStyle.js +19 -0
  413. package/lib/CometChatMessages/MessageStyle.js.map +1 -0
  414. package/lib/CometChatMessages/MessagesConfiguration.d.ts +69 -0
  415. package/lib/CometChatMessages/MessagesConfiguration.js +26 -0
  416. package/lib/CometChatMessages/MessagesConfiguration.js.map +1 -0
  417. package/lib/CometChatMessages/index.d.ts +5 -0
  418. package/lib/CometChatMessages/index.js +5 -0
  419. package/lib/CometChatMessages/index.js.map +1 -0
  420. package/lib/CometChatMessages/resources/index.d.ts +2 -0
  421. package/lib/CometChatMessages/resources/index.js +4 -0
  422. package/lib/CometChatMessages/resources/index.js.map +1 -0
  423. package/lib/CometChatMessages/resources/info.png +0 -0
  424. package/lib/CometChatMessages/style.d.ts +20 -0
  425. package/lib/CometChatMessages/style.js +22 -0
  426. package/lib/CometChatMessages/style.js.map +1 -0
  427. package/lib/CometChatTabs/CometChatTabs.d.ts +11 -0
  428. package/lib/CometChatTabs/CometChatTabs.js +114 -0
  429. package/lib/CometChatTabs/CometChatTabs.js.map +1 -0
  430. package/lib/CometChatTabs/CometChatTabsStyle.d.ts +18 -0
  431. package/lib/CometChatTabs/CometChatTabsStyle.js +23 -0
  432. package/lib/CometChatTabs/CometChatTabsStyle.js.map +1 -0
  433. package/lib/CometChatTabs/TabItemStyle.d.ts +22 -0
  434. package/lib/CometChatTabs/TabItemStyle.js +29 -0
  435. package/lib/CometChatTabs/TabItemStyle.js.map +1 -0
  436. package/lib/CometChatTabs/TabItems.d.ts +11 -0
  437. package/lib/CometChatTabs/TabItems.js +2 -0
  438. package/lib/CometChatTabs/TabItems.js.map +1 -0
  439. package/lib/CometChatTabs/index.d.ts +5 -0
  440. package/lib/CometChatTabs/index.js +4 -0
  441. package/lib/CometChatTabs/index.js.map +1 -0
  442. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +106 -0
  443. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js +171 -0
  444. package/lib/CometChatThreadedMessages/CometChatThreadedMessages.js.map +1 -0
  445. package/lib/CometChatThreadedMessages/Header.d.ts +12 -0
  446. package/lib/CometChatThreadedMessages/Header.js +23 -0
  447. package/lib/CometChatThreadedMessages/Header.js.map +1 -0
  448. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +41 -0
  449. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js +32 -0
  450. package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.js.map +1 -0
  451. package/lib/CometChatThreadedMessages/index.d.ts +4 -0
  452. package/lib/CometChatThreadedMessages/index.js +4 -0
  453. package/lib/CometChatThreadedMessages/index.js.map +1 -0
  454. package/lib/CometChatThreadedMessages/resources/Back.png +0 -0
  455. package/lib/CometChatThreadedMessages/resources/close.png +0 -0
  456. package/lib/CometChatThreadedMessages/resources/index.d.ts +8 -0
  457. package/lib/CometChatThreadedMessages/resources/index.js +21 -0
  458. package/lib/CometChatThreadedMessages/resources/index.js.map +1 -0
  459. package/lib/CometChatThreadedMessages/resources/more.png +0 -0
  460. package/lib/CometChatThreadedMessages/resources/password.png +0 -0
  461. package/lib/CometChatThreadedMessages/resources/private.png +0 -0
  462. package/lib/CometChatThreadedMessages/resources/right-arrow.png +0 -0
  463. package/lib/CometChatThreadedMessages/style.d.ts +25 -0
  464. package/lib/CometChatThreadedMessages/style.js +28 -0
  465. package/lib/CometChatThreadedMessages/style.js.map +1 -0
  466. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.d.ts +35 -0
  467. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +55 -0
  468. package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -0
  469. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +41 -0
  470. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js +38 -0
  471. package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.js.map +1 -0
  472. package/lib/CometChatTransferOwnership/index.d.ts +4 -0
  473. package/lib/CometChatTransferOwnership/index.js +4 -0
  474. package/lib/CometChatTransferOwnership/index.js.map +1 -0
  475. package/lib/CometChatUsers/CometChatUsers.d.ts +69 -0
  476. package/lib/CometChatUsers/CometChatUsers.js +110 -0
  477. package/lib/CometChatUsers/CometChatUsers.js.map +1 -0
  478. package/lib/CometChatUsers/UsersConfiguration.d.ts +44 -0
  479. package/lib/CometChatUsers/UsersConfiguration.js +42 -0
  480. package/lib/CometChatUsers/UsersConfiguration.js.map +1 -0
  481. package/lib/CometChatUsers/UsersStyle.d.ts +46 -0
  482. package/lib/CometChatUsers/UsersStyle.js +54 -0
  483. package/lib/CometChatUsers/UsersStyle.js.map +1 -0
  484. package/lib/CometChatUsers/index.d.ts +5 -0
  485. package/lib/CometChatUsers/index.js +5 -0
  486. package/lib/CometChatUsers/index.js.map +1 -0
  487. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.d.ts +11 -0
  488. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +90 -0
  489. package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -0
  490. package/lib/CometChatUsersWithMessages/index.d.ts +3 -0
  491. package/lib/CometChatUsersWithMessages/index.js +3 -0
  492. package/lib/CometChatUsersWithMessages/index.js.map +1 -0
  493. package/lib/CometChatUsersWithMessages/styles.d.ts +12 -0
  494. package/lib/CometChatUsersWithMessages/styles.js +14 -0
  495. package/lib/CometChatUsersWithMessages/styles.js.map +1 -0
  496. package/lib/calls/CallEvents.d.ts +10 -0
  497. package/lib/calls/CallEvents.js +11 -0
  498. package/lib/calls/CallEvents.js.map +1 -0
  499. package/lib/calls/CallUtils.d.ts +8 -0
  500. package/lib/calls/CallUtils.js +116 -0
  501. package/lib/calls/CallUtils.js.map +1 -0
  502. package/lib/calls/CallingConfiguration.d.ts +3 -0
  503. package/lib/calls/CallingConfiguration.js +5 -0
  504. package/lib/calls/CallingConfiguration.js.map +1 -0
  505. package/lib/calls/CallingDetailsUtils.d.ts +7 -0
  506. package/lib/calls/CallingDetailsUtils.js +99 -0
  507. package/lib/calls/CallingDetailsUtils.js.map +1 -0
  508. package/lib/calls/CallingExtension.d.ts +11 -0
  509. package/lib/calls/CallingExtension.js +36 -0
  510. package/lib/calls/CallingExtension.js.map +1 -0
  511. package/lib/calls/CallingExtentionDecorator.d.ts +33 -0
  512. package/lib/calls/CallingExtentionDecorator.js +170 -0
  513. package/lib/calls/CallingExtentionDecorator.js.map +1 -0
  514. package/lib/calls/CallingPackage.d.ts +4 -0
  515. package/lib/calls/CallingPackage.js +18 -0
  516. package/lib/calls/CallingPackage.js.map +1 -0
  517. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.d.ts +13 -0
  518. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js +11 -0
  519. package/lib/calls/CometChatCallBubble/CallBubbleConfiguration.js.map +1 -0
  520. package/lib/calls/CometChatCallBubble/CallBubbleStyle.d.ts +18 -0
  521. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js +25 -0
  522. package/lib/calls/CometChatCallBubble/CallBubbleStyle.js.map +1 -0
  523. package/lib/calls/CometChatCallBubble/CometChatCallBubble.d.ts +11 -0
  524. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js +21 -0
  525. package/lib/calls/CometChatCallBubble/CometChatCallBubble.js.map +1 -0
  526. package/lib/calls/CometChatCallBubble/index.d.ts +5 -0
  527. package/lib/calls/CometChatCallBubble/index.js +5 -0
  528. package/lib/calls/CometChatCallBubble/index.js.map +1 -0
  529. package/lib/calls/CometChatCallBubble/resources/avatar.png +0 -0
  530. package/lib/calls/CometChatCallBubble/resources/incomingaudiocall.png +0 -0
  531. package/lib/calls/CometChatCallBubble/resources/incomingvideocall.png +0 -0
  532. package/lib/calls/CometChatCallBubble/resources/index.d.ts +4 -0
  533. package/lib/calls/CometChatCallBubble/resources/index.js +8 -0
  534. package/lib/calls/CometChatCallBubble/resources/index.js.map +1 -0
  535. package/lib/calls/CometChatCallBubble/styles.d.ts +21 -0
  536. package/lib/calls/CometChatCallBubble/styles.js +23 -0
  537. package/lib/calls/CometChatCallBubble/styles.js.map +1 -0
  538. package/lib/calls/CometChatCallButtons/CallButtonStyle.d.ts +12 -0
  539. package/lib/calls/CometChatCallButtons/CallButtonStyle.js +19 -0
  540. package/lib/calls/CometChatCallButtons/CallButtonStyle.js.map +1 -0
  541. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.d.ts +34 -0
  542. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js +19 -0
  543. package/lib/calls/CometChatCallButtons/CometChatCallButtonConfiguration.js.map +1 -0
  544. package/lib/calls/CometChatCallButtons/CometChatCallButtons.d.ts +61 -0
  545. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +211 -0
  546. package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -0
  547. package/lib/calls/CometChatCallButtons/index.d.ts +5 -0
  548. package/lib/calls/CometChatCallButtons/index.js +4 -0
  549. package/lib/calls/CometChatCallButtons/index.js.map +1 -0
  550. package/lib/calls/CometChatCallButtons/resources/Call.png +0 -0
  551. package/lib/calls/CometChatCallButtons/resources/Video.png +0 -0
  552. package/lib/calls/CometChatCallButtons/resources/index.d.ts +3 -0
  553. package/lib/calls/CometChatCallButtons/resources/index.js +6 -0
  554. package/lib/calls/CometChatCallButtons/resources/index.js.map +1 -0
  555. package/lib/calls/CometChatCallButtons/style.d.ts +12 -0
  556. package/lib/calls/CometChatCallButtons/style.js +14 -0
  557. package/lib/calls/CometChatCallButtons/style.js.map +1 -0
  558. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.d.ts +120 -0
  559. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js +59 -0
  560. package/lib/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.js.map +1 -0
  561. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.d.ts +12 -0
  562. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js +19 -0
  563. package/lib/calls/CometChatCallLogDetails/CallLogDetailsStyle.js.map +1 -0
  564. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.d.ts +72 -0
  565. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js +181 -0
  566. package/lib/calls/CometChatCallLogDetails/CometChatCallLogDetails.js.map +1 -0
  567. package/lib/calls/CometChatCallLogDetails/index.d.ts +5 -0
  568. package/lib/calls/CometChatCallLogDetails/index.js +5 -0
  569. package/lib/calls/CometChatCallLogDetails/index.js.map +1 -0
  570. package/lib/calls/CometChatCallLogDetails/resources/CloseIcon.png +0 -0
  571. package/lib/calls/CometChatCallLogDetails/resources/index.d.ts +2 -0
  572. package/lib/calls/CometChatCallLogDetails/resources/index.js +4 -0
  573. package/lib/calls/CometChatCallLogDetails/resources/index.js.map +1 -0
  574. package/lib/calls/CometChatCallLogDetails/style.d.ts +13 -0
  575. package/lib/calls/CometChatCallLogDetails/style.js +15 -0
  576. package/lib/calls/CometChatCallLogDetails/style.js.map +1 -0
  577. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.d.ts +73 -0
  578. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js +34 -0
  579. package/lib/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.js.map +1 -0
  580. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.d.ts +40 -0
  581. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js +25 -0
  582. package/lib/calls/CometChatCallLogHistory/CallLogHistoryStyle.js.map +1 -0
  583. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.d.ts +48 -0
  584. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js +184 -0
  585. package/lib/calls/CometChatCallLogHistory/CometChatCallLogHistory.js.map +1 -0
  586. package/lib/calls/CometChatCallLogHistory/index.d.ts +5 -0
  587. package/lib/calls/CometChatCallLogHistory/index.js +5 -0
  588. package/lib/calls/CometChatCallLogHistory/index.js.map +1 -0
  589. package/lib/calls/CometChatCallLogHistory/resources/Back.png +0 -0
  590. package/lib/calls/CometChatCallLogHistory/resources/Call.png +0 -0
  591. package/lib/calls/CometChatCallLogHistory/resources/Info.png +0 -0
  592. package/lib/calls/CometChatCallLogHistory/resources/Selection.png +0 -0
  593. package/lib/calls/CometChatCallLogHistory/resources/Spineer.png +0 -0
  594. package/lib/calls/CometChatCallLogHistory/resources/Video.png +0 -0
  595. package/lib/calls/CometChatCallLogHistory/resources/check.png +0 -0
  596. package/lib/calls/CometChatCallLogHistory/resources/incomingcall.png +0 -0
  597. package/lib/calls/CometChatCallLogHistory/resources/incomingvideo.png +0 -0
  598. package/lib/calls/CometChatCallLogHistory/resources/index.d.ts +14 -0
  599. package/lib/calls/CometChatCallLogHistory/resources/index.js +28 -0
  600. package/lib/calls/CometChatCallLogHistory/resources/index.js.map +1 -0
  601. package/lib/calls/CometChatCallLogHistory/resources/missedcall.png +0 -0
  602. package/lib/calls/CometChatCallLogHistory/resources/missedvideo.png +0 -0
  603. package/lib/calls/CometChatCallLogHistory/resources/outgoingcall.png +0 -0
  604. package/lib/calls/CometChatCallLogHistory/resources/outgoingvideo.png +0 -0
  605. package/lib/calls/CometChatCallLogHistory/style.d.ts +22 -0
  606. package/lib/calls/CometChatCallLogHistory/style.js +24 -0
  607. package/lib/calls/CometChatCallLogHistory/style.js.map +1 -0
  608. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.d.ts +66 -0
  609. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js +33 -0
  610. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.js.map +1 -0
  611. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.d.ts +24 -0
  612. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js +31 -0
  613. package/lib/calls/CometChatCallLogParticipants/CallLogParticipantsStyle.js.map +1 -0
  614. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.d.ts +39 -0
  615. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js +97 -0
  616. package/lib/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.js.map +1 -0
  617. package/lib/calls/CometChatCallLogParticipants/index.d.ts +5 -0
  618. package/lib/calls/CometChatCallLogParticipants/index.js +5 -0
  619. package/lib/calls/CometChatCallLogParticipants/index.js.map +1 -0
  620. package/lib/calls/CometChatCallLogParticipants/resources/Back.png +0 -0
  621. package/lib/calls/CometChatCallLogParticipants/resources/index.d.ts +2 -0
  622. package/lib/calls/CometChatCallLogParticipants/resources/index.js +4 -0
  623. package/lib/calls/CometChatCallLogParticipants/resources/index.js.map +1 -0
  624. package/lib/calls/CometChatCallLogParticipants/style.d.ts +22 -0
  625. package/lib/calls/CometChatCallLogParticipants/style.js +24 -0
  626. package/lib/calls/CometChatCallLogParticipants/style.js.map +1 -0
  627. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.d.ts +72 -0
  628. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js +34 -0
  629. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.js.map +1 -0
  630. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.d.ts +26 -0
  631. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js +33 -0
  632. package/lib/calls/CometChatCallLogRecordings/CallLogRecordingsStyle.js.map +1 -0
  633. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.d.ts +41 -0
  634. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js +134 -0
  635. package/lib/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.js.map +1 -0
  636. package/lib/calls/CometChatCallLogRecordings/index.d.ts +5 -0
  637. package/lib/calls/CometChatCallLogRecordings/index.js +5 -0
  638. package/lib/calls/CometChatCallLogRecordings/index.js.map +1 -0
  639. package/lib/calls/CometChatCallLogRecordings/resources/Back.png +0 -0
  640. package/lib/calls/CometChatCallLogRecordings/resources/download.png +0 -0
  641. package/lib/calls/CometChatCallLogRecordings/resources/index.d.ts +3 -0
  642. package/lib/calls/CometChatCallLogRecordings/resources/index.js +6 -0
  643. package/lib/calls/CometChatCallLogRecordings/resources/index.js.map +1 -0
  644. package/lib/calls/CometChatCallLogRecordings/style.d.ts +22 -0
  645. package/lib/calls/CometChatCallLogRecordings/style.js +24 -0
  646. package/lib/calls/CometChatCallLogRecordings/style.js.map +1 -0
  647. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.d.ts +100 -0
  648. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js +45 -0
  649. package/lib/calls/CometChatCallLogs/CallLogsConfiguration.js.map +1 -0
  650. package/lib/calls/CometChatCallLogs/CallLogsStyle.d.ts +42 -0
  651. package/lib/calls/CometChatCallLogs/CallLogsStyle.js +49 -0
  652. package/lib/calls/CometChatCallLogs/CallLogsStyle.js.map +1 -0
  653. package/lib/calls/CometChatCallLogs/CometChatCallLogs.d.ts +59 -0
  654. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +289 -0
  655. package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -0
  656. package/lib/calls/CometChatCallLogs/index.d.ts +5 -0
  657. package/lib/calls/CometChatCallLogs/index.js +5 -0
  658. package/lib/calls/CometChatCallLogs/index.js.map +1 -0
  659. package/lib/calls/CometChatCallLogs/resources/Back.png +0 -0
  660. package/lib/calls/CometChatCallLogs/resources/Info.png +0 -0
  661. package/lib/calls/CometChatCallLogs/resources/Selection.png +0 -0
  662. package/lib/calls/CometChatCallLogs/resources/Spinner.png +0 -0
  663. package/lib/calls/CometChatCallLogs/resources/check.png +0 -0
  664. package/lib/calls/CometChatCallLogs/resources/incomingcall.png +0 -0
  665. package/lib/calls/CometChatCallLogs/resources/incomingvideo.png +0 -0
  666. package/lib/calls/CometChatCallLogs/resources/index.d.ts +12 -0
  667. package/lib/calls/CometChatCallLogs/resources/index.js +24 -0
  668. package/lib/calls/CometChatCallLogs/resources/index.js.map +1 -0
  669. package/lib/calls/CometChatCallLogs/resources/missedcall.png +0 -0
  670. package/lib/calls/CometChatCallLogs/resources/missedvideo.png +0 -0
  671. package/lib/calls/CometChatCallLogs/resources/outgoingcall.png +0 -0
  672. package/lib/calls/CometChatCallLogs/resources/outgoingvideo.png +0 -0
  673. package/lib/calls/CometChatCallLogs/style.d.ts +22 -0
  674. package/lib/calls/CometChatCallLogs/style.js +24 -0
  675. package/lib/calls/CometChatCallLogs/style.js.map +1 -0
  676. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.d.ts +8 -0
  677. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js +2 -0
  678. package/lib/calls/CometChatCallLogsWithDetails/CallLogsWithDetailsConfiguration.js.map +1 -0
  679. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.d.ts +12 -0
  680. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js +23 -0
  681. package/lib/calls/CometChatCallLogsWithDetails/CometChatCallLogsWithDetails.js.map +1 -0
  682. package/lib/calls/CometChatCallLogsWithDetails/index.d.ts +4 -0
  683. package/lib/calls/CometChatCallLogsWithDetails/index.js +3 -0
  684. package/lib/calls/CometChatCallLogsWithDetails/index.js.map +1 -0
  685. package/lib/calls/CometChatCallLogsWithDetails/style.d.ts +8 -0
  686. package/lib/calls/CometChatCallLogsWithDetails/style.js +10 -0
  687. package/lib/calls/CometChatCallLogsWithDetails/style.js.map +1 -0
  688. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +21 -0
  689. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +174 -0
  690. package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -0
  691. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.d.ts +32 -0
  692. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js +39 -0
  693. package/lib/calls/CometChatIncomingCall/IncomingCallStyle.js.map +1 -0
  694. package/lib/calls/CometChatIncomingCall/index.d.ts +4 -0
  695. package/lib/calls/CometChatIncomingCall/index.js +4 -0
  696. package/lib/calls/CometChatIncomingCall/index.js.map +1 -0
  697. package/lib/calls/CometChatIncomingCall/resources/Call.png +0 -0
  698. package/lib/calls/CometChatIncomingCall/resources/close.png +0 -0
  699. package/lib/calls/CometChatIncomingCall/resources/incomingaudiocall.png +0 -0
  700. package/lib/calls/CometChatIncomingCall/resources/incomingvideocall.png +0 -0
  701. package/lib/calls/CometChatIncomingCall/resources/index.d.ts +5 -0
  702. package/lib/calls/CometChatIncomingCall/resources/index.js +10 -0
  703. package/lib/calls/CometChatIncomingCall/resources/index.js.map +1 -0
  704. package/lib/calls/CometChatIncomingCall/styles.d.ts +8 -0
  705. package/lib/calls/CometChatIncomingCall/styles.js +10 -0
  706. package/lib/calls/CometChatIncomingCall/styles.js.map +1 -0
  707. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.d.ts +12 -0
  708. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js +42 -0
  709. package/lib/calls/CometChatOngoingCall/CometChatOngoingCall.js.map +1 -0
  710. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.d.ts +13 -0
  711. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js +13 -0
  712. package/lib/calls/CometChatOngoingCall/OngoingCallStyle.js.map +1 -0
  713. package/lib/calls/CometChatOngoingCall/index.d.ts +4 -0
  714. package/lib/calls/CometChatOngoingCall/index.js +3 -0
  715. package/lib/calls/CometChatOngoingCall/index.js.map +1 -0
  716. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +46 -0
  717. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +164 -0
  718. package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -0
  719. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.d.ts +18 -0
  720. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js +15 -0
  721. package/lib/calls/CometChatOutgoingCall/OutgoingCallConfiguration.js.map +1 -0
  722. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.d.ts +14 -0
  723. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js +21 -0
  724. package/lib/calls/CometChatOutgoingCall/OutgoingCallStyle.js.map +1 -0
  725. package/lib/calls/CometChatOutgoingCall/index.d.ts +4 -0
  726. package/lib/calls/CometChatOutgoingCall/index.js +4 -0
  727. package/lib/calls/CometChatOutgoingCall/index.js.map +1 -0
  728. package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
  729. package/lib/calls/CometChatOutgoingCall/resources/index.d.ts +2 -0
  730. package/lib/calls/CometChatOutgoingCall/resources/index.js +4 -0
  731. package/lib/calls/CometChatOutgoingCall/resources/index.js.map +1 -0
  732. package/lib/calls/index.d.ts +19 -0
  733. package/lib/calls/index.js +19 -0
  734. package/lib/calls/index.js.map +1 -0
  735. package/lib/calls/resources/Call.png +0 -0
  736. package/lib/calls/resources/Video.png +0 -0
  737. package/lib/calls/resources/index.d.ts +4 -0
  738. package/lib/calls/resources/index.js +8 -0
  739. package/lib/calls/resources/index.js.map +1 -0
  740. package/lib/calls/resources/nextarrow.png +0 -0
  741. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.d.ts +55 -0
  742. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js +30 -0
  743. package/lib/extensions/CollaborativeBubble/CollaborativeBubbleStyle.js.map +1 -0
  744. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.d.ts +32 -0
  745. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js +53 -0
  746. package/lib/extensions/CollaborativeBubble/CometChatCollaborativeBubble.js.map +1 -0
  747. package/lib/extensions/CollaborativeBubble/resources/index.d.ts +3 -0
  748. package/lib/extensions/CollaborativeBubble/resources/index.js +4 -0
  749. package/lib/extensions/CollaborativeBubble/resources/index.js.map +1 -0
  750. package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
  751. package/lib/extensions/CollaborativeBubble/styles.d.ts +35 -0
  752. package/lib/extensions/CollaborativeBubble/styles.js +74 -0
  753. package/lib/extensions/CollaborativeBubble/styles.js.map +1 -0
  754. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +14 -0
  755. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js +7 -0
  756. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.js.map +1 -0
  757. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +12 -0
  758. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js +25 -0
  759. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtension.js.map +1 -0
  760. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +22 -0
  761. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +133 -0
  762. package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -0
  763. package/lib/extensions/CollaborativeDocument/index.d.ts +6 -0
  764. package/lib/extensions/CollaborativeDocument/index.js +6 -0
  765. package/lib/extensions/CollaborativeDocument/index.js.map +1 -0
  766. package/lib/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
  767. package/lib/extensions/CollaborativeDocument/resources/collaborative_document_2x.png +0 -0
  768. package/lib/extensions/CollaborativeDocument/resources/index.d.ts +2 -0
  769. package/lib/extensions/CollaborativeDocument/resources/index.js +7 -0
  770. package/lib/extensions/CollaborativeDocument/resources/index.js.map +1 -0
  771. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +14 -0
  772. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js +7 -0
  773. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.js.map +1 -0
  774. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +12 -0
  775. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js +27 -0
  776. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.js.map +1 -0
  777. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +23 -0
  778. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +139 -0
  779. package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -0
  780. package/lib/extensions/CollaborativeWhiteboard/index.d.ts +6 -0
  781. package/lib/extensions/CollaborativeWhiteboard/index.js +6 -0
  782. package/lib/extensions/CollaborativeWhiteboard/index.js.map +1 -0
  783. package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
  784. package/lib/extensions/CollaborativeWhiteboard/resources/index.d.ts +2 -0
  785. package/lib/extensions/CollaborativeWhiteboard/resources/index.js +7 -0
  786. package/lib/extensions/CollaborativeWhiteboard/resources/index.js.map +1 -0
  787. package/lib/extensions/CollaborativeWhiteboard/resources/whiteboard.png +0 -0
  788. package/lib/extensions/ExtensionConstants.d.ts +50 -0
  789. package/lib/extensions/ExtensionConstants.js +51 -0
  790. package/lib/extensions/ExtensionConstants.js.map +1 -0
  791. package/lib/extensions/ExtensionModerator.d.ts +16 -0
  792. package/lib/extensions/ExtensionModerator.js +51 -0
  793. package/lib/extensions/ExtensionModerator.js.map +1 -0
  794. package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +13 -0
  795. package/lib/extensions/ImageModeration/ImageModerationDecorator.js +45 -0
  796. package/lib/extensions/ImageModeration/ImageModerationDecorator.js.map +1 -0
  797. package/lib/extensions/ImageModeration/ImageModerationExtension.d.ts +14 -0
  798. package/lib/extensions/ImageModeration/ImageModerationExtension.js +28 -0
  799. package/lib/extensions/ImageModeration/ImageModerationExtension.js.map +1 -0
  800. package/lib/extensions/ImageModeration/ImageModerationFilter.d.ts +17 -0
  801. package/lib/extensions/ImageModeration/ImageModerationFilter.js +92 -0
  802. package/lib/extensions/ImageModeration/ImageModerationFilter.js.map +1 -0
  803. package/lib/extensions/ImageModeration/index.d.ts +5 -0
  804. package/lib/extensions/ImageModeration/index.js +5 -0
  805. package/lib/extensions/ImageModeration/index.js.map +1 -0
  806. package/lib/extensions/ImageModeration/resources/index.d.ts +3 -0
  807. package/lib/extensions/ImageModeration/resources/index.js +4 -0
  808. package/lib/extensions/ImageModeration/resources/index.js.map +1 -0
  809. package/lib/extensions/ImageModeration/resources/unsafe.png +0 -0
  810. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.d.ts +18 -0
  811. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js +17 -0
  812. package/lib/extensions/LinkPreview/LInkPreviewBubbleStyle.js.map +1 -0
  813. package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +12 -0
  814. package/lib/extensions/LinkPreview/LinkPreviewBubble.js +75 -0
  815. package/lib/extensions/LinkPreview/LinkPreviewBubble.js.map +1 -0
  816. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.d.ts +14 -0
  817. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js +13 -0
  818. package/lib/extensions/LinkPreview/LinkPreviewConfiguration.js.map +1 -0
  819. package/lib/extensions/LinkPreview/LinkPreviewExtention.d.ts +8 -0
  820. package/lib/extensions/LinkPreview/LinkPreviewExtention.js +21 -0
  821. package/lib/extensions/LinkPreview/LinkPreviewExtention.js.map +1 -0
  822. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +13 -0
  823. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js +37 -0
  824. package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -0
  825. package/lib/extensions/LinkPreview/index.d.ts +7 -0
  826. package/lib/extensions/LinkPreview/index.js +6 -0
  827. package/lib/extensions/LinkPreview/index.js.map +1 -0
  828. package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
  829. package/lib/extensions/LinkPreview/resources/index.d.ts +2 -0
  830. package/lib/extensions/LinkPreview/resources/index.js +4 -0
  831. package/lib/extensions/LinkPreview/resources/index.js.map +1 -0
  832. package/lib/extensions/MessageTranslation/MessageTranslationBubble.d.ts +24 -0
  833. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js +90 -0
  834. package/lib/extensions/MessageTranslation/MessageTranslationBubble.js.map +1 -0
  835. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +22 -0
  836. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js +213 -0
  837. package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -0
  838. package/lib/extensions/MessageTranslation/MessageTranslationExtension.d.ts +14 -0
  839. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js +28 -0
  840. package/lib/extensions/MessageTranslation/MessageTranslationExtension.js.map +1 -0
  841. package/lib/extensions/MessageTranslation/index.d.ts +5 -0
  842. package/lib/extensions/MessageTranslation/index.js +5 -0
  843. package/lib/extensions/MessageTranslation/index.js.map +1 -0
  844. package/lib/extensions/MessageTranslation/resources/index.d.ts +3 -0
  845. package/lib/extensions/MessageTranslation/resources/index.js +6 -0
  846. package/lib/extensions/MessageTranslation/resources/index.js.map +1 -0
  847. package/lib/extensions/MessageTranslation/resources/translate.png +0 -0
  848. package/lib/extensions/Polls/Header.d.ts +14 -0
  849. package/lib/extensions/Polls/Header.js +41 -0
  850. package/lib/extensions/Polls/Header.js.map +1 -0
  851. package/lib/extensions/Polls/Polls.d.ts +123 -0
  852. package/lib/extensions/Polls/Polls.js +243 -0
  853. package/lib/extensions/Polls/Polls.js.map +1 -0
  854. package/lib/extensions/Polls/PollsBubble.d.ts +76 -0
  855. package/lib/extensions/Polls/PollsBubble.js +226 -0
  856. package/lib/extensions/Polls/PollsBubble.js.map +1 -0
  857. package/lib/extensions/Polls/PollsConfigurations.d.ts +15 -0
  858. package/lib/extensions/Polls/PollsConfigurations.js +2 -0
  859. package/lib/extensions/Polls/PollsConfigurations.js.map +1 -0
  860. package/lib/extensions/Polls/PollsDecorator.d.ts +20 -0
  861. package/lib/extensions/Polls/PollsDecorator.js +100 -0
  862. package/lib/extensions/Polls/PollsDecorator.js.map +1 -0
  863. package/lib/extensions/Polls/PollsExtension.d.ts +12 -0
  864. package/lib/extensions/Polls/PollsExtension.js +27 -0
  865. package/lib/extensions/Polls/PollsExtension.js.map +1 -0
  866. package/lib/extensions/Polls/index.d.ts +5 -0
  867. package/lib/extensions/Polls/index.js +4 -0
  868. package/lib/extensions/Polls/index.js.map +1 -0
  869. package/lib/extensions/Polls/resources/close.png +0 -0
  870. package/lib/extensions/Polls/resources/document.png +0 -0
  871. package/lib/extensions/Polls/resources/index.d.ts +7 -0
  872. package/lib/extensions/Polls/resources/index.js +18 -0
  873. package/lib/extensions/Polls/resources/index.js.map +1 -0
  874. package/lib/extensions/Polls/resources/kickIcon.png +0 -0
  875. package/lib/extensions/Polls/resources/rightTick.png +0 -0
  876. package/lib/extensions/Polls/resources/warning.png +0 -0
  877. package/lib/extensions/Polls/style.d.ts +45 -0
  878. package/lib/extensions/Polls/style.js +39 -0
  879. package/lib/extensions/Polls/style.js.map +1 -0
  880. package/lib/extensions/SmartReplies/SmartRepliesDecorator.d.ts +13 -0
  881. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +105 -0
  882. package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -0
  883. package/lib/extensions/SmartReplies/SmartRepliesExtension.d.ts +14 -0
  884. package/lib/extensions/SmartReplies/SmartRepliesExtension.js +28 -0
  885. package/lib/extensions/SmartReplies/SmartRepliesExtension.js.map +1 -0
  886. package/lib/extensions/SmartReplies/SmartRepliesView.d.ts +19 -0
  887. package/lib/extensions/SmartReplies/SmartRepliesView.js +146 -0
  888. package/lib/extensions/SmartReplies/SmartRepliesView.js.map +1 -0
  889. package/lib/extensions/SmartReplies/index.d.ts +4 -0
  890. package/lib/extensions/SmartReplies/index.js +4 -0
  891. package/lib/extensions/SmartReplies/index.js.map +1 -0
  892. package/lib/extensions/SmartReplies/resources/close.png +0 -0
  893. package/lib/extensions/SmartReplies/resources/index.d.ts +3 -0
  894. package/lib/extensions/SmartReplies/resources/index.js +6 -0
  895. package/lib/extensions/SmartReplies/resources/index.js.map +1 -0
  896. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.d.ts +22 -0
  897. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js +81 -0
  898. package/lib/extensions/Stickers/CometChatStickerKeyboard/CometChatStickerKeyboard.js.map +1 -0
  899. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.d.ts +14 -0
  900. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js +17 -0
  901. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.js.map +1 -0
  902. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.d.ts +20 -0
  903. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js +27 -0
  904. package/lib/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardStyle.js.map +1 -0
  905. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.d.ts +2 -0
  906. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js +62 -0
  907. package/lib/extensions/Stickers/CometChatStickerKeyboard/hooks.js.map +1 -0
  908. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.d.ts +4 -0
  909. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js +5 -0
  910. package/lib/extensions/Stickers/CometChatStickerKeyboard/index.js.map +1 -0
  911. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.d.ts +55 -0
  912. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js +55 -0
  913. package/lib/extensions/Stickers/CometChatStickerKeyboard/style.js.map +1 -0
  914. package/lib/extensions/Stickers/StickerConfiguration.d.ts +8 -0
  915. package/lib/extensions/Stickers/StickerConfiguration.js +12 -0
  916. package/lib/extensions/Stickers/StickerConfiguration.js.map +1 -0
  917. package/lib/extensions/Stickers/StickerStyle.d.ts +6 -0
  918. package/lib/extensions/Stickers/StickerStyle.js +10 -0
  919. package/lib/extensions/Stickers/StickerStyle.js.map +1 -0
  920. package/lib/extensions/Stickers/StickersBubble.d.ts +17 -0
  921. package/lib/extensions/Stickers/StickersBubble.js +21 -0
  922. package/lib/extensions/Stickers/StickersBubble.js.map +1 -0
  923. package/lib/extensions/Stickers/StickersExtension.d.ts +8 -0
  924. package/lib/extensions/Stickers/StickersExtension.js +28 -0
  925. package/lib/extensions/Stickers/StickersExtension.js.map +1 -0
  926. package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +22 -0
  927. package/lib/extensions/Stickers/StickersExtensionDecorator.js +126 -0
  928. package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -0
  929. package/lib/extensions/Stickers/index.d.ts +6 -0
  930. package/lib/extensions/Stickers/index.js +5 -0
  931. package/lib/extensions/Stickers/index.js.map +1 -0
  932. package/lib/extensions/Stickers/resources/Stickers.png +0 -0
  933. package/lib/extensions/Stickers/resources/index.d.ts +2 -0
  934. package/lib/extensions/Stickers/resources/index.js +4 -0
  935. package/lib/extensions/Stickers/resources/index.js.map +1 -0
  936. package/lib/extensions/TextModeration/TextModerationConfiguration.d.ts +14 -0
  937. package/lib/extensions/TextModeration/TextModerationConfiguration.js +7 -0
  938. package/lib/extensions/TextModeration/TextModerationConfiguration.js.map +1 -0
  939. package/lib/extensions/TextModeration/TextModerationExtension.d.ts +13 -0
  940. package/lib/extensions/TextModeration/TextModerationExtension.js +38 -0
  941. package/lib/extensions/TextModeration/TextModerationExtension.js.map +1 -0
  942. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +13 -0
  943. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js +55 -0
  944. package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -0
  945. package/lib/extensions/TextModeration/index.d.ts +5 -0
  946. package/lib/extensions/TextModeration/index.js +4 -0
  947. package/lib/extensions/TextModeration/index.js.map +1 -0
  948. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +16 -0
  949. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +66 -0
  950. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -0
  951. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +15 -0
  952. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js +28 -0
  953. package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationExtension.js.map +1 -0
  954. package/lib/extensions/ThumbnailGeneration/index.d.ts +3 -0
  955. package/lib/extensions/ThumbnailGeneration/index.js +3 -0
  956. package/lib/extensions/ThumbnailGeneration/index.js.map +1 -0
  957. package/lib/extensions/ThumbnailGeneration/resources/default_image.png +0 -0
  958. package/lib/extensions/ThumbnailGeneration/resources/empty.png +0 -0
  959. package/lib/extensions/ThumbnailGeneration/resources/index.d.ts +2 -0
  960. package/lib/extensions/ThumbnailGeneration/resources/index.js +4 -0
  961. package/lib/extensions/ThumbnailGeneration/resources/index.js.map +1 -0
  962. package/lib/extensions/index.d.ts +13 -0
  963. package/lib/extensions/index.js +13 -0
  964. package/lib/extensions/index.js.map +1 -0
  965. package/lib/index.d.ts +47 -0
  966. package/lib/index.js +86 -0
  967. package/lib/index.js.map +1 -0
  968. package/lib/shared/CometChatContext.d.ts +4 -0
  969. package/lib/shared/CometChatContext.js +33 -0
  970. package/lib/shared/CometChatContext.js.map +1 -0
  971. package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +65 -0
  972. package/lib/shared/CometChatUiKit/CometChatUIKit.js +451 -0
  973. package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -0
  974. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.d.ts +20 -0
  975. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js +66 -0
  976. package/lib/shared/CometChatUiKit/CometChatUIKitHelper.js.map +1 -0
  977. package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +18 -0
  978. package/lib/shared/CometChatUiKit/UIKitSettings.js +18 -0
  979. package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -0
  980. package/lib/shared/CometChatUiKit/index.d.ts +4 -0
  981. package/lib/shared/CometChatUiKit/index.js +5 -0
  982. package/lib/shared/CometChatUiKit/index.js.map +1 -0
  983. package/lib/shared/assets/images/Back.png +0 -0
  984. package/lib/shared/assets/images/BackArrow.png +0 -0
  985. package/lib/shared/assets/images/blue-double-tick-icon.png +0 -0
  986. package/lib/shared/assets/images/calendar.png +0 -0
  987. package/lib/shared/assets/images/checkmark.png +0 -0
  988. package/lib/shared/assets/images/clock-alert.png +0 -0
  989. package/lib/shared/assets/images/clock.png +0 -0
  990. package/lib/shared/assets/images/earth.png +0 -0
  991. package/lib/shared/assets/images/empty-slot.png +0 -0
  992. package/lib/shared/assets/images/error.png +0 -0
  993. package/lib/shared/assets/images/forwardArrow.png +0 -0
  994. package/lib/shared/assets/images/grey-double-tick-icon.png +0 -0
  995. package/lib/shared/assets/images/grey-tick-icon.png +0 -0
  996. package/lib/shared/assets/images/index.d.ts +16 -0
  997. package/lib/shared/assets/images/index.js +45 -0
  998. package/lib/shared/assets/images/index.js.map +1 -0
  999. package/lib/shared/assets/images/search.png +0 -0
  1000. package/lib/shared/assets/images/sending.png +0 -0
  1001. package/lib/shared/base/BaseStyle.d.ts +26 -0
  1002. package/lib/shared/base/BaseStyle.js +26 -0
  1003. package/lib/shared/base/BaseStyle.js.map +1 -0
  1004. package/lib/shared/base/BorderStyle.d.ts +19 -0
  1005. package/lib/shared/base/BorderStyle.js +19 -0
  1006. package/lib/shared/base/BorderStyle.js.map +1 -0
  1007. package/lib/shared/base/FontStyle.d.ts +18 -0
  1008. package/lib/shared/base/FontStyle.js +18 -0
  1009. package/lib/shared/base/FontStyle.js.map +1 -0
  1010. package/lib/shared/base/ShadowStyle.d.ts +33 -0
  1011. package/lib/shared/base/ShadowStyle.js +27 -0
  1012. package/lib/shared/base/ShadowStyle.js.map +1 -0
  1013. package/lib/shared/base/Types.d.ts +23 -0
  1014. package/lib/shared/base/Types.js +2 -0
  1015. package/lib/shared/base/Types.js.map +1 -0
  1016. package/lib/shared/base/index.d.ts +7 -0
  1017. package/lib/shared/base/index.js +6 -0
  1018. package/lib/shared/base/index.js.map +1 -0
  1019. package/lib/shared/base/vars.d.ts +8 -0
  1020. package/lib/shared/base/vars.js +7 -0
  1021. package/lib/shared/base/vars.js.map +1 -0
  1022. package/lib/shared/constants/UIKitConstants.d.ts +338 -0
  1023. package/lib/shared/constants/UIKitConstants.js +366 -0
  1024. package/lib/shared/constants/UIKitConstants.js.map +1 -0
  1025. package/lib/shared/events/CometChatMessageEvents/index.d.ts +44 -0
  1026. package/lib/shared/events/CometChatMessageEvents/index.js +93 -0
  1027. package/lib/shared/events/CometChatMessageEvents/index.js.map +1 -0
  1028. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.d.ts +30 -0
  1029. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +379 -0
  1030. package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -0
  1031. package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +214 -0
  1032. package/lib/shared/events/CometChatUIEventHandler/Listener.js +338 -0
  1033. package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -0
  1034. package/lib/shared/events/CometChatUIEvents.d.ts +19 -0
  1035. package/lib/shared/events/CometChatUIEvents.js +22 -0
  1036. package/lib/shared/events/CometChatUIEvents.js.map +1 -0
  1037. package/lib/shared/events/ListenerInitializer.d.ts +6 -0
  1038. package/lib/shared/events/ListenerInitializer.js +80 -0
  1039. package/lib/shared/events/ListenerInitializer.js.map +1 -0
  1040. package/lib/shared/events/conversations.d.ts +3 -0
  1041. package/lib/shared/events/conversations.js +5 -0
  1042. package/lib/shared/events/conversations.js.map +1 -0
  1043. package/lib/shared/events/groups.d.ts +10 -0
  1044. package/lib/shared/events/groups.js +12 -0
  1045. package/lib/shared/events/groups.js.map +1 -0
  1046. package/lib/shared/events/index.d.ts +6 -0
  1047. package/lib/shared/events/index.js +7 -0
  1048. package/lib/shared/events/index.js.map +1 -0
  1049. package/lib/shared/events/messages.d.ts +30 -0
  1050. package/lib/shared/events/messages.js +32 -0
  1051. package/lib/shared/events/messages.js.map +1 -0
  1052. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +159 -0
  1053. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +361 -0
  1054. package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -0
  1055. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.d.ts +12 -0
  1056. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js +14 -0
  1057. package/lib/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.js.map +1 -0
  1058. package/lib/shared/formatters/CometChatMentionsFormatter/index.d.ts +3 -0
  1059. package/lib/shared/formatters/CometChatMentionsFormatter/index.js +4 -0
  1060. package/lib/shared/formatters/CometChatMentionsFormatter/index.js.map +1 -0
  1061. package/lib/shared/formatters/CometChatTextFormatter.d.ts +171 -0
  1062. package/lib/shared/formatters/CometChatTextFormatter.js +218 -0
  1063. package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -0
  1064. package/lib/shared/formatters/CometChatUrlsFormatter/index.d.ts +37 -0
  1065. package/lib/shared/formatters/CometChatUrlsFormatter/index.js +125 -0
  1066. package/lib/shared/formatters/CometChatUrlsFormatter/index.js.map +1 -0
  1067. package/lib/shared/formatters/index.d.ts +5 -0
  1068. package/lib/shared/formatters/index.js +6 -0
  1069. package/lib/shared/formatters/index.js.map +1 -0
  1070. package/lib/shared/framework/ChatConfigurator.d.ts +8 -0
  1071. package/lib/shared/framework/ChatConfigurator.js +23 -0
  1072. package/lib/shared/framework/ChatConfigurator.js.map +1 -0
  1073. package/lib/shared/framework/DataSource.d.ts +72 -0
  1074. package/lib/shared/framework/DataSource.js +2 -0
  1075. package/lib/shared/framework/DataSource.js.map +1 -0
  1076. package/lib/shared/framework/DataSourceDecorator.d.ts +70 -0
  1077. package/lib/shared/framework/DataSourceDecorator.js +172 -0
  1078. package/lib/shared/framework/DataSourceDecorator.js.map +1 -0
  1079. package/lib/shared/framework/ExtensionsDataSource.d.ts +6 -0
  1080. package/lib/shared/framework/ExtensionsDataSource.js +15 -0
  1081. package/lib/shared/framework/ExtensionsDataSource.js.map +1 -0
  1082. package/lib/shared/framework/MessageDataSource.d.ts +95 -0
  1083. package/lib/shared/framework/MessageDataSource.js +808 -0
  1084. package/lib/shared/framework/MessageDataSource.js.map +1 -0
  1085. package/lib/shared/framework/index.d.ts +7 -0
  1086. package/lib/shared/framework/index.js +6 -0
  1087. package/lib/shared/framework/index.js.map +1 -0
  1088. package/lib/shared/framework/resources/audio-file.png +0 -0
  1089. package/lib/shared/framework/resources/circle_add.png +0 -0
  1090. package/lib/shared/framework/resources/copy.png +0 -0
  1091. package/lib/shared/framework/resources/delete.png +0 -0
  1092. package/lib/shared/framework/resources/edit.png +0 -0
  1093. package/lib/shared/framework/resources/emoji.png +0 -0
  1094. package/lib/shared/framework/resources/file_upload.png +0 -0
  1095. package/lib/shared/framework/resources/forward.png +0 -0
  1096. package/lib/shared/framework/resources/heart.png +0 -0
  1097. package/lib/shared/framework/resources/image.png +0 -0
  1098. package/lib/shared/framework/resources/index.d.ts +22 -0
  1099. package/lib/shared/framework/resources/index.js +65 -0
  1100. package/lib/shared/framework/resources/index.js.map +1 -0
  1101. package/lib/shared/framework/resources/info.png +0 -0
  1102. package/lib/shared/framework/resources/location.png +0 -0
  1103. package/lib/shared/framework/resources/messageInPrivate.png +0 -0
  1104. package/lib/shared/framework/resources/microphone.png +0 -0
  1105. package/lib/shared/framework/resources/pause.png +0 -0
  1106. package/lib/shared/framework/resources/play.png +0 -0
  1107. package/lib/shared/framework/resources/reply.png +0 -0
  1108. package/lib/shared/framework/resources/send_message.png +0 -0
  1109. package/lib/shared/framework/resources/share.png +0 -0
  1110. package/lib/shared/framework/resources/stop_player.png +0 -0
  1111. package/lib/shared/framework/resources/thread.png +0 -0
  1112. package/lib/shared/framework/resources/video_upload.png +0 -0
  1113. package/lib/shared/helper/SwipeRow.d.ts +162 -0
  1114. package/lib/shared/helper/SwipeRow.js +808 -0
  1115. package/lib/shared/helper/SwipeRow.js.map +1 -0
  1116. package/lib/shared/helper/Toast.d.ts +4 -0
  1117. package/lib/shared/helper/Toast.js +23 -0
  1118. package/lib/shared/helper/Toast.js.map +1 -0
  1119. package/lib/shared/helper/functions.d.ts +3 -0
  1120. package/lib/shared/helper/functions.js +32 -0
  1121. package/lib/shared/helper/functions.js.map +1 -0
  1122. package/lib/shared/helper/helperFunctions.d.ts +3 -0
  1123. package/lib/shared/helper/helperFunctions.js +17 -0
  1124. package/lib/shared/helper/helperFunctions.js.map +1 -0
  1125. package/lib/shared/helper/types/index.d.ts +19 -0
  1126. package/lib/shared/helper/types/index.js +2 -0
  1127. package/lib/shared/helper/types/index.js.map +1 -0
  1128. package/lib/shared/helper/useKeyboard.d.ts +2 -0
  1129. package/lib/shared/helper/useKeyboard.js +40 -0
  1130. package/lib/shared/helper/useKeyboard.js.map +1 -0
  1131. package/lib/shared/index.d.ts +16 -0
  1132. package/lib/shared/index.js +29 -0
  1133. package/lib/shared/index.js.map +1 -0
  1134. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.d.ts +23 -0
  1135. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js +111 -0
  1136. package/lib/shared/libs/CometChatCalendar/Calendars/BaseCalendar.js.map +1 -0
  1137. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.d.ts +9 -0
  1138. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js +45 -0
  1139. package/lib/shared/libs/CometChatCalendar/Calendars/DateSelectionCalendar.js.map +1 -0
  1140. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.d.ts +9 -0
  1141. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js +59 -0
  1142. package/lib/shared/libs/CometChatCalendar/Calendars/MultiDateSelectionCalendar.js.map +1 -0
  1143. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.d.ts +10 -0
  1144. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js +14 -0
  1145. package/lib/shared/libs/CometChatCalendar/Calendars/Providers.js.map +1 -0
  1146. package/lib/shared/libs/CometChatCalendar/Calendars/index.d.ts +3 -0
  1147. package/lib/shared/libs/CometChatCalendar/Calendars/index.js +4 -0
  1148. package/lib/shared/libs/CometChatCalendar/Calendars/index.js.map +1 -0
  1149. package/lib/shared/libs/CometChatCalendar/Components/Arrow.d.ts +8 -0
  1150. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js +21 -0
  1151. package/lib/shared/libs/CometChatCalendar/Components/Arrow.js.map +1 -0
  1152. package/lib/shared/libs/CometChatCalendar/Components/Day.d.ts +15 -0
  1153. package/lib/shared/libs/CometChatCalendar/Components/Day.js +47 -0
  1154. package/lib/shared/libs/CometChatCalendar/Components/Day.js.map +1 -0
  1155. package/lib/shared/libs/CometChatCalendar/Components/Days.d.ts +16 -0
  1156. package/lib/shared/libs/CometChatCalendar/Components/Days.js +41 -0
  1157. package/lib/shared/libs/CometChatCalendar/Components/Days.js.map +1 -0
  1158. package/lib/shared/libs/CometChatCalendar/Components/Month.d.ts +11 -0
  1159. package/lib/shared/libs/CometChatCalendar/Components/Month.js +24 -0
  1160. package/lib/shared/libs/CometChatCalendar/Components/Month.js.map +1 -0
  1161. package/lib/shared/libs/CometChatCalendar/Components/Months.d.ts +15 -0
  1162. package/lib/shared/libs/CometChatCalendar/Components/Months.js +30 -0
  1163. package/lib/shared/libs/CometChatCalendar/Components/Months.js.map +1 -0
  1164. package/lib/shared/libs/CometChatCalendar/Components/Title.d.ts +12 -0
  1165. package/lib/shared/libs/CometChatCalendar/Components/Title.js +22 -0
  1166. package/lib/shared/libs/CometChatCalendar/Components/Title.js.map +1 -0
  1167. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.d.ts +6 -0
  1168. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js +13 -0
  1169. package/lib/shared/libs/CometChatCalendar/Components/Weekdays.js.map +1 -0
  1170. package/lib/shared/libs/CometChatCalendar/Components/index.d.ts +7 -0
  1171. package/lib/shared/libs/CometChatCalendar/Components/index.js +8 -0
  1172. package/lib/shared/libs/CometChatCalendar/Components/index.js.map +1 -0
  1173. package/lib/shared/libs/CometChatCalendar/Constants/View.d.ts +4 -0
  1174. package/lib/shared/libs/CometChatCalendar/Constants/View.js +6 -0
  1175. package/lib/shared/libs/CometChatCalendar/Constants/View.js.map +1 -0
  1176. package/lib/shared/libs/CometChatCalendar/Constants/index.d.ts +1 -0
  1177. package/lib/shared/libs/CometChatCalendar/Constants/index.js +2 -0
  1178. package/lib/shared/libs/CometChatCalendar/Constants/index.js.map +1 -0
  1179. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.d.ts +3 -0
  1180. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js +5 -0
  1181. package/lib/shared/libs/CometChatCalendar/Contexts/LocaleContext.js.map +1 -0
  1182. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.d.ts +4 -0
  1183. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js +5 -0
  1184. package/lib/shared/libs/CometChatCalendar/Contexts/ThemeContext.js.map +1 -0
  1185. package/lib/shared/libs/CometChatCalendar/Contexts/index.d.ts +2 -0
  1186. package/lib/shared/libs/CometChatCalendar/Contexts/index.js +3 -0
  1187. package/lib/shared/libs/CometChatCalendar/Contexts/index.js.map +1 -0
  1188. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.d.ts +1 -0
  1189. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js +2 -0
  1190. package/lib/shared/libs/CometChatCalendar/Entities/ArrowDirections.js.map +1 -0
  1191. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.d.ts +19 -0
  1192. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js +2 -0
  1193. package/lib/shared/libs/CometChatCalendar/Entities/Calendar.js.map +1 -0
  1194. package/lib/shared/libs/CometChatCalendar/Entities/Components.d.ts +12 -0
  1195. package/lib/shared/libs/CometChatCalendar/Entities/Components.js +2 -0
  1196. package/lib/shared/libs/CometChatCalendar/Entities/Components.js.map +1 -0
  1197. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.d.ts +4 -0
  1198. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js +2 -0
  1199. package/lib/shared/libs/CometChatCalendar/Entities/DateProperties.js.map +1 -0
  1200. package/lib/shared/libs/CometChatCalendar/Entities/Locale.d.ts +8 -0
  1201. package/lib/shared/libs/CometChatCalendar/Entities/Locale.js +2 -0
  1202. package/lib/shared/libs/CometChatCalendar/Entities/Locale.js.map +1 -0
  1203. package/lib/shared/libs/CometChatCalendar/Entities/Theme.d.ts +37 -0
  1204. package/lib/shared/libs/CometChatCalendar/Entities/Theme.js +2 -0
  1205. package/lib/shared/libs/CometChatCalendar/Entities/Theme.js.map +1 -0
  1206. package/lib/shared/libs/CometChatCalendar/Entities/index.d.ts +6 -0
  1207. package/lib/shared/libs/CometChatCalendar/Entities/index.js +7 -0
  1208. package/lib/shared/libs/CometChatCalendar/Entities/index.js.map +1 -0
  1209. package/lib/shared/libs/CometChatCalendar/Hooks/index.d.ts +1 -0
  1210. package/lib/shared/libs/CometChatCalendar/Hooks/index.js +2 -0
  1211. package/lib/shared/libs/CometChatCalendar/Hooks/index.js.map +1 -0
  1212. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.d.ts +37 -0
  1213. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js +57 -0
  1214. package/lib/shared/libs/CometChatCalendar/Hooks/useSurroundingTimeUnits.js.map +1 -0
  1215. package/lib/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
  1216. package/lib/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
  1217. package/lib/shared/libs/CometChatCalendar/Icons/index.d.ts +8 -0
  1218. package/lib/shared/libs/CometChatCalendar/Icons/index.js +8 -0
  1219. package/lib/shared/libs/CometChatCalendar/Icons/index.js.map +1 -0
  1220. package/lib/shared/libs/CometChatCalendar/Locales/index.d.ts +2 -0
  1221. package/lib/shared/libs/CometChatCalendar/Locales/index.js +5 -0
  1222. package/lib/shared/libs/CometChatCalendar/Locales/index.js.map +1 -0
  1223. package/lib/shared/libs/CometChatCalendar/Themes/Colors.d.ts +13 -0
  1224. package/lib/shared/libs/CometChatCalendar/Themes/Colors.js +21 -0
  1225. package/lib/shared/libs/CometChatCalendar/Themes/Colors.js.map +1 -0
  1226. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.d.ts +3 -0
  1227. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js +75 -0
  1228. package/lib/shared/libs/CometChatCalendar/Themes/DarkTheme.js.map +1 -0
  1229. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.d.ts +3 -0
  1230. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js +157 -0
  1231. package/lib/shared/libs/CometChatCalendar/Themes/DefaultTheme.js.map +1 -0
  1232. package/lib/shared/libs/CometChatCalendar/Themes/index.d.ts +3 -0
  1233. package/lib/shared/libs/CometChatCalendar/Themes/index.js +4 -0
  1234. package/lib/shared/libs/CometChatCalendar/Themes/index.js.map +1 -0
  1235. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.d.ts +2 -0
  1236. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js +11 -0
  1237. package/lib/shared/libs/CometChatCalendar/Utils/addOpacity.js.map +1 -0
  1238. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.d.ts +2 -0
  1239. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js +11 -0
  1240. package/lib/shared/libs/CometChatCalendar/Utils/checkChangedProps.js.map +1 -0
  1241. package/lib/shared/libs/CometChatCalendar/Utils/clamp.d.ts +2 -0
  1242. package/lib/shared/libs/CometChatCalendar/Utils/clamp.js +5 -0
  1243. package/lib/shared/libs/CometChatCalendar/Utils/clamp.js.map +1 -0
  1244. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.d.ts +3 -0
  1245. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js +16 -0
  1246. package/lib/shared/libs/CometChatCalendar/Utils/dateRange.js.map +1 -0
  1247. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.d.ts +6 -0
  1248. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js +19 -0
  1249. package/lib/shared/libs/CometChatCalendar/Utils/getExtraDays.js.map +1 -0
  1250. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.d.ts +11 -0
  1251. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js +18 -0
  1252. package/lib/shared/libs/CometChatCalendar/Utils/getSurroundingTimeUnits.js.map +1 -0
  1253. package/lib/shared/libs/CometChatCalendar/Utils/index.d.ts +6 -0
  1254. package/lib/shared/libs/CometChatCalendar/Utils/index.js +7 -0
  1255. package/lib/shared/libs/CometChatCalendar/Utils/index.js.map +1 -0
  1256. package/lib/shared/libs/CometChatCalendar/index.d.ts +5 -0
  1257. package/lib/shared/libs/CometChatCalendar/index.js +6 -0
  1258. package/lib/shared/libs/CometChatCalendar/index.js.map +1 -0
  1259. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.d.ts +227 -0
  1260. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js +750 -0
  1261. package/lib/shared/libs/ImageZoom/ReactNativeZoomableView.js.map +1 -0
  1262. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.d.ts +88 -0
  1263. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js +161 -0
  1264. package/lib/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.js.map +1 -0
  1265. package/lib/shared/libs/ImageZoom/helper.d.ts +8 -0
  1266. package/lib/shared/libs/ImageZoom/helper.js +90 -0
  1267. package/lib/shared/libs/ImageZoom/helper.js.map +1 -0
  1268. package/lib/shared/libs/ImageZoom/index.d.ts +4 -0
  1269. package/lib/shared/libs/ImageZoom/index.js +4 -0
  1270. package/lib/shared/libs/ImageZoom/index.js.map +1 -0
  1271. package/lib/shared/libs/ImageZoom/types/index.d.ts +91 -0
  1272. package/lib/shared/libs/ImageZoom/types/index.js +8 -0
  1273. package/lib/shared/libs/ImageZoom/types/index.js.map +1 -0
  1274. package/lib/shared/libs/VideoPlayer/DRMType.d.ts +7 -0
  1275. package/lib/shared/libs/VideoPlayer/DRMType.js +7 -0
  1276. package/lib/shared/libs/VideoPlayer/DRMType.js.map +1 -0
  1277. package/lib/shared/libs/VideoPlayer/FilterType.d.ts +19 -0
  1278. package/lib/shared/libs/VideoPlayer/FilterType.js +19 -0
  1279. package/lib/shared/libs/VideoPlayer/FilterType.js.map +1 -0
  1280. package/lib/shared/libs/VideoPlayer/TextTrackType.d.ts +6 -0
  1281. package/lib/shared/libs/VideoPlayer/TextTrackType.js +6 -0
  1282. package/lib/shared/libs/VideoPlayer/TextTrackType.js.map +1 -0
  1283. package/lib/shared/libs/VideoPlayer/Video.d.ts +49 -0
  1284. package/lib/shared/libs/VideoPlayer/Video.js +436 -0
  1285. package/lib/shared/libs/VideoPlayer/Video.js.map +1 -0
  1286. package/lib/shared/libs/VideoPlayer/VideoResizeMode.d.ts +6 -0
  1287. package/lib/shared/libs/VideoPlayer/VideoResizeMode.js +6 -0
  1288. package/lib/shared/libs/VideoPlayer/VideoResizeMode.js.map +1 -0
  1289. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.d.ts +10 -0
  1290. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js +16 -0
  1291. package/lib/shared/libs/VideoPlayerControls/OSSupport/PlatformSupport.js.map +1 -0
  1292. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.d.ts +6 -0
  1293. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js +11 -0
  1294. package/lib/shared/libs/VideoPlayerControls/OSSupport/TVOSSupport.js.map +1 -0
  1295. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.d.ts +1 -0
  1296. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js +2 -0
  1297. package/lib/shared/libs/VideoPlayerControls/OSSupport/index.js.map +1 -0
  1298. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.d.ts +3 -0
  1299. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js +314 -0
  1300. package/lib/shared/libs/VideoPlayerControls/VideoPlayer.js.map +1 -0
  1301. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.d.ts +11 -0
  1302. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js +9 -0
  1303. package/lib/shared/libs/VideoPlayerControls/components/Back/Back.js.map +1 -0
  1304. package/lib/shared/libs/VideoPlayerControls/components/Back/index.d.ts +1 -0
  1305. package/lib/shared/libs/VideoPlayerControls/components/Back/index.js +2 -0
  1306. package/lib/shared/libs/VideoPlayerControls/components/Back/index.js.map +1 -0
  1307. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.d.ts +28 -0
  1308. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js +54 -0
  1309. package/lib/shared/libs/VideoPlayerControls/components/BottomControls.js.map +1 -0
  1310. package/lib/shared/libs/VideoPlayerControls/components/Control.d.ts +12 -0
  1311. package/lib/shared/libs/VideoPlayerControls/components/Control.js +15 -0
  1312. package/lib/shared/libs/VideoPlayerControls/components/Control.js.map +1 -0
  1313. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.d.ts +6 -0
  1314. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js +13 -0
  1315. package/lib/shared/libs/VideoPlayerControls/components/Error/Error.js.map +1 -0
  1316. package/lib/shared/libs/VideoPlayerControls/components/Error/index.d.ts +1 -0
  1317. package/lib/shared/libs/VideoPlayerControls/components/Error/index.js +2 -0
  1318. package/lib/shared/libs/VideoPlayerControls/components/Error/index.js.map +1 -0
  1319. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.d.ts +19 -0
  1320. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js +21 -0
  1321. package/lib/shared/libs/VideoPlayerControls/components/Error/styles.js.map +1 -0
  1322. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.d.ts +9 -0
  1323. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js +17 -0
  1324. package/lib/shared/libs/VideoPlayerControls/components/Fullscreen.js.map +1 -0
  1325. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.d.ts +6 -0
  1326. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js +9 -0
  1327. package/lib/shared/libs/VideoPlayerControls/components/Loader/Loader.js.map +1 -0
  1328. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.d.ts +1 -0
  1329. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js +2 -0
  1330. package/lib/shared/libs/VideoPlayerControls/components/Loader/index.js.map +1 -0
  1331. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.d.ts +14 -0
  1332. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js +16 -0
  1333. package/lib/shared/libs/VideoPlayerControls/components/Loader/styles.js.map +1 -0
  1334. package/lib/shared/libs/VideoPlayerControls/components/NullControl.d.ts +2 -0
  1335. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js +7 -0
  1336. package/lib/shared/libs/VideoPlayerControls/components/NullControl.js.map +1 -0
  1337. package/lib/shared/libs/VideoPlayerControls/components/Overlay.d.ts +5 -0
  1338. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js +17 -0
  1339. package/lib/shared/libs/VideoPlayerControls/components/Overlay.js.map +1 -0
  1340. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.d.ts +21 -0
  1341. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js +43 -0
  1342. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/PlayPause.js.map +1 -0
  1343. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.d.ts +1 -0
  1344. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js +2 -0
  1345. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/index.js.map +1 -0
  1346. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.d.ts +19 -0
  1347. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js +21 -0
  1348. package/lib/shared/libs/VideoPlayerControls/components/PlayPause/styles.js.map +1 -0
  1349. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.d.ts +11 -0
  1350. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js +20 -0
  1351. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/Seekbar.js.map +1 -0
  1352. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.d.ts +1 -0
  1353. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js +2 -0
  1354. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/index.js.map +1 -0
  1355. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.d.ts +35 -0
  1356. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js +37 -0
  1357. package/lib/shared/libs/VideoPlayerControls/components/Seekbar/styles.js.map +1 -0
  1358. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.d.ts +9 -0
  1359. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js +10 -0
  1360. package/lib/shared/libs/VideoPlayerControls/components/Timer/Timer.js.map +1 -0
  1361. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.d.ts +1 -0
  1362. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js +2 -0
  1363. package/lib/shared/libs/VideoPlayerControls/components/Timer/index.js.map +1 -0
  1364. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.d.ts +10 -0
  1365. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js +12 -0
  1366. package/lib/shared/libs/VideoPlayerControls/components/Timer/styles.js.map +1 -0
  1367. package/lib/shared/libs/VideoPlayerControls/components/Title.d.ts +6 -0
  1368. package/lib/shared/libs/VideoPlayerControls/components/Title.js +26 -0
  1369. package/lib/shared/libs/VideoPlayerControls/components/Title.js.map +1 -0
  1370. package/lib/shared/libs/VideoPlayerControls/components/TopControls.d.ts +21 -0
  1371. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js +39 -0
  1372. package/lib/shared/libs/VideoPlayerControls/components/TopControls.js.map +1 -0
  1373. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.d.ts +12 -0
  1374. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js +13 -0
  1375. package/lib/shared/libs/VideoPlayerControls/components/Volume/Volume.js.map +1 -0
  1376. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.d.ts +1 -0
  1377. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js +2 -0
  1378. package/lib/shared/libs/VideoPlayerControls/components/Volume/index.js.map +1 -0
  1379. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.d.ts +29 -0
  1380. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js +31 -0
  1381. package/lib/shared/libs/VideoPlayerControls/components/Volume/styles.js.map +1 -0
  1382. package/lib/shared/libs/VideoPlayerControls/components/index.d.ts +14 -0
  1383. package/lib/shared/libs/VideoPlayerControls/components/index.js +15 -0
  1384. package/lib/shared/libs/VideoPlayerControls/components/index.js.map +1 -0
  1385. package/lib/shared/libs/VideoPlayerControls/components/styles.d.ts +28 -0
  1386. package/lib/shared/libs/VideoPlayerControls/components/styles.js +30 -0
  1387. package/lib/shared/libs/VideoPlayerControls/components/styles.js.map +1 -0
  1388. package/lib/shared/libs/VideoPlayerControls/hooks/index.d.ts +3 -0
  1389. package/lib/shared/libs/VideoPlayerControls/hooks/index.js +4 -0
  1390. package/lib/shared/libs/VideoPlayerControls/hooks/index.js.map +1 -0
  1391. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.d.ts +2 -0
  1392. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js +61 -0
  1393. package/lib/shared/libs/VideoPlayerControls/hooks/useAnimations.js.map +1 -0
  1394. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.d.ts +17 -0
  1395. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js +43 -0
  1396. package/lib/shared/libs/VideoPlayerControls/hooks/useControlTimeout.js.map +1 -0
  1397. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.d.ts +24 -0
  1398. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js +55 -0
  1399. package/lib/shared/libs/VideoPlayerControls/hooks/usePanResponders.js.map +1 -0
  1400. package/lib/shared/libs/VideoPlayerControls/index.d.ts +3 -0
  1401. package/lib/shared/libs/VideoPlayerControls/index.js +4 -0
  1402. package/lib/shared/libs/VideoPlayerControls/index.js.map +1 -0
  1403. package/lib/shared/libs/VideoPlayerControls/styles.d.ts +17 -0
  1404. package/lib/shared/libs/VideoPlayerControls/styles.js +19 -0
  1405. package/lib/shared/libs/VideoPlayerControls/styles.js.map +1 -0
  1406. package/lib/shared/libs/VideoPlayerControls/types.d.ts +248 -0
  1407. package/lib/shared/libs/VideoPlayerControls/types.js +2 -0
  1408. package/lib/shared/libs/VideoPlayerControls/types.js.map +1 -0
  1409. package/lib/shared/libs/VideoPlayerControls/utils.d.ts +10 -0
  1410. package/lib/shared/libs/VideoPlayerControls/utils.js +46 -0
  1411. package/lib/shared/libs/VideoPlayerControls/utils.js.map +1 -0
  1412. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.d.ts +2 -0
  1413. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js +59 -0
  1414. package/lib/shared/libs/datePickerModal/DateTimePickerModal.android.js.map +1 -0
  1415. package/lib/shared/libs/datePickerModal/DateTimePickerModal.d.ts +1 -0
  1416. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.d.ts +174 -0
  1417. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js +239 -0
  1418. package/lib/shared/libs/datePickerModal/DateTimePickerModal.ios.js.map +1 -0
  1419. package/lib/shared/libs/datePickerModal/DateTimePickerModal.js +9 -0
  1420. package/lib/shared/libs/datePickerModal/DateTimePickerModal.js.map +1 -0
  1421. package/lib/shared/libs/datePickerModal/Modal.d.ts +34 -0
  1422. package/lib/shared/libs/datePickerModal/Modal.js +134 -0
  1423. package/lib/shared/libs/datePickerModal/Modal.js.map +1 -0
  1424. package/lib/shared/libs/datePickerModal/index.d.ts +3 -0
  1425. package/lib/shared/libs/datePickerModal/index.js +4 -0
  1426. package/lib/shared/libs/datePickerModal/index.js.map +1 -0
  1427. package/lib/shared/libs/datePickerModal/utils.d.ts +1 -0
  1428. package/lib/shared/libs/datePickerModal/utils.js +22 -0
  1429. package/lib/shared/libs/datePickerModal/utils.js.map +1 -0
  1430. package/lib/shared/libs/luxon/src/datetime.d.ts +1181 -0
  1431. package/lib/shared/libs/luxon/src/datetime.js +2095 -0
  1432. package/lib/shared/libs/luxon/src/datetime.js.map +1 -0
  1433. package/lib/shared/libs/luxon/src/duration.d.ts +632 -0
  1434. package/lib/shared/libs/luxon/src/duration.js +905 -0
  1435. package/lib/shared/libs/luxon/src/duration.js.map +1 -0
  1436. package/lib/shared/libs/luxon/src/errors.d.ts +46 -0
  1437. package/lib/shared/libs/luxon/src/errors.js +57 -0
  1438. package/lib/shared/libs/luxon/src/errors.js.map +1 -0
  1439. package/lib/shared/libs/luxon/src/impl/conversions.d.ts +24 -0
  1440. package/lib/shared/libs/luxon/src/impl/conversions.js +163 -0
  1441. package/lib/shared/libs/luxon/src/impl/conversions.js.map +1 -0
  1442. package/lib/shared/libs/luxon/src/impl/diff.d.ts +2 -0
  1443. package/lib/shared/libs/luxon/src/impl/diff.js +80 -0
  1444. package/lib/shared/libs/luxon/src/impl/diff.js.map +1 -0
  1445. package/lib/shared/libs/luxon/src/impl/digits.d.ts +4 -0
  1446. package/lib/shared/libs/luxon/src/impl/digits.js +73 -0
  1447. package/lib/shared/libs/luxon/src/impl/digits.js.map +1 -0
  1448. package/lib/shared/libs/luxon/src/impl/english.d.ts +22 -0
  1449. package/lib/shared/libs/luxon/src/impl/english.js +204 -0
  1450. package/lib/shared/libs/luxon/src/impl/english.js.map +1 -0
  1451. package/lib/shared/libs/luxon/src/impl/formats.d.ts +154 -0
  1452. package/lib/shared/libs/luxon/src/impl/formats.js +152 -0
  1453. package/lib/shared/libs/luxon/src/impl/formats.js.map +1 -0
  1454. package/lib/shared/libs/luxon/src/impl/formatter.d.ts +24 -0
  1455. package/lib/shared/libs/luxon/src/impl/formatter.js +367 -0
  1456. package/lib/shared/libs/luxon/src/impl/formatter.js.map +1 -0
  1457. package/lib/shared/libs/luxon/src/impl/invalid.d.ts +6 -0
  1458. package/lib/shared/libs/luxon/src/impl/invalid.js +15 -0
  1459. package/lib/shared/libs/luxon/src/impl/invalid.js.map +1 -0
  1460. package/lib/shared/libs/luxon/src/impl/locale.d.ts +81 -0
  1461. package/lib/shared/libs/luxon/src/impl/locale.js +460 -0
  1462. package/lib/shared/libs/luxon/src/impl/locale.js.map +1 -0
  1463. package/lib/shared/libs/luxon/src/impl/regexParser.d.ts +6 -0
  1464. package/lib/shared/libs/luxon/src/impl/regexParser.js +212 -0
  1465. package/lib/shared/libs/luxon/src/impl/regexParser.js.map +1 -0
  1466. package/lib/shared/libs/luxon/src/impl/tokenParser.d.ts +27 -0
  1467. package/lib/shared/libs/luxon/src/impl/tokenParser.js +413 -0
  1468. package/lib/shared/libs/luxon/src/impl/tokenParser.js.map +1 -0
  1469. package/lib/shared/libs/luxon/src/impl/util.d.ts +38 -0
  1470. package/lib/shared/libs/luxon/src/impl/util.js +257 -0
  1471. package/lib/shared/libs/luxon/src/impl/util.js.map +1 -0
  1472. package/lib/shared/libs/luxon/src/impl/zoneUtil.d.ts +1 -0
  1473. package/lib/shared/libs/luxon/src/impl/zoneUtil.js +38 -0
  1474. package/lib/shared/libs/luxon/src/impl/zoneUtil.js.map +1 -0
  1475. package/lib/shared/libs/luxon/src/info.d.ts +178 -0
  1476. package/lib/shared/libs/luxon/src/info.js +182 -0
  1477. package/lib/shared/libs/luxon/src/info.js.map +1 -0
  1478. package/lib/shared/libs/luxon/src/interval.d.ts +328 -0
  1479. package/lib/shared/libs/luxon/src/interval.js +606 -0
  1480. package/lib/shared/libs/luxon/src/interval.js.map +1 -0
  1481. package/lib/shared/libs/luxon/src/luxon.d.ts +12 -0
  1482. package/lib/shared/libs/luxon/src/luxon.js +13 -0
  1483. package/lib/shared/libs/luxon/src/luxon.js.map +1 -0
  1484. package/lib/shared/libs/luxon/src/settings.d.ts +115 -0
  1485. package/lib/shared/libs/luxon/src/settings.js +149 -0
  1486. package/lib/shared/libs/luxon/src/settings.js.map +1 -0
  1487. package/lib/shared/libs/luxon/src/zone.d.ts +66 -0
  1488. package/lib/shared/libs/luxon/src/zone.js +83 -0
  1489. package/lib/shared/libs/luxon/src/zone.js.map +1 -0
  1490. package/lib/shared/libs/luxon/src/zones/IANAZone.d.ts +53 -0
  1491. package/lib/shared/libs/luxon/src/zones/IANAZone.js +167 -0
  1492. package/lib/shared/libs/luxon/src/zones/IANAZone.js.map +1 -0
  1493. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.d.ts +38 -0
  1494. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js +90 -0
  1495. package/lib/shared/libs/luxon/src/zones/fixedOffsetZone.js.map +1 -0
  1496. package/lib/shared/libs/luxon/src/zones/invalidZone.d.ts +20 -0
  1497. package/lib/shared/libs/luxon/src/zones/invalidZone.js +45 -0
  1498. package/lib/shared/libs/luxon/src/zones/invalidZone.js.map +1 -0
  1499. package/lib/shared/libs/luxon/src/zones/systemZone.d.ts +23 -0
  1500. package/lib/shared/libs/luxon/src/zones/systemZone.js +52 -0
  1501. package/lib/shared/libs/luxon/src/zones/systemZone.js.map +1 -0
  1502. package/lib/shared/modals/CometChatCallLogDetailsOptions.d.ts +15 -0
  1503. package/lib/shared/modals/CometChatCallLogDetailsOptions.js +2 -0
  1504. package/lib/shared/modals/CometChatCallLogDetailsOptions.js.map +1 -0
  1505. package/lib/shared/modals/CometChatCallLogDetailsTemplate.d.ts +15 -0
  1506. package/lib/shared/modals/CometChatCallLogDetailsTemplate.js +2 -0
  1507. package/lib/shared/modals/CometChatCallLogDetailsTemplate.js.map +1 -0
  1508. package/lib/shared/modals/CometChatDetailsOption.d.ts +18 -0
  1509. package/lib/shared/modals/CometChatDetailsOption.js +2 -0
  1510. package/lib/shared/modals/CometChatDetailsOption.js.map +1 -0
  1511. package/lib/shared/modals/CometChatDetailsTemplate.d.ts +15 -0
  1512. package/lib/shared/modals/CometChatDetailsTemplate.js +2 -0
  1513. package/lib/shared/modals/CometChatDetailsTemplate.js.map +1 -0
  1514. package/lib/shared/modals/CometChatMessageOption.d.ts +13 -0
  1515. package/lib/shared/modals/CometChatMessageOption.js +2 -0
  1516. package/lib/shared/modals/CometChatMessageOption.js.map +1 -0
  1517. package/lib/shared/modals/CometChatMessageTemplate.d.ts +132 -0
  1518. package/lib/shared/modals/CometChatMessageTemplate.js +79 -0
  1519. package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -0
  1520. package/lib/shared/modals/CometChatOptions.d.ts +14 -0
  1521. package/lib/shared/modals/CometChatOptions.js +2 -0
  1522. package/lib/shared/modals/CometChatOptions.js.map +1 -0
  1523. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.d.ts +73 -0
  1524. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js +104 -0
  1525. package/lib/shared/modals/InteractiveData/InteractiveActions/APIAction.js.map +1 -0
  1526. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.d.ts +12 -0
  1527. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js +18 -0
  1528. package/lib/shared/modals/InteractiveData/InteractiveActions/CustomAction.js.map +1 -0
  1529. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.d.ts +21 -0
  1530. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js +30 -0
  1531. package/lib/shared/modals/InteractiveData/InteractiveActions/URLNavigationAction.js.map +1 -0
  1532. package/lib/shared/modals/InteractiveData/InteractiveActions/index.d.ts +3 -0
  1533. package/lib/shared/modals/InteractiveData/InteractiveActions/index.js +4 -0
  1534. package/lib/shared/modals/InteractiveData/InteractiveActions/index.js.map +1 -0
  1535. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.d.ts +41 -0
  1536. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js +61 -0
  1537. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveCardData.js.map +1 -0
  1538. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.d.ts +55 -0
  1539. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js +80 -0
  1540. package/lib/shared/modals/InteractiveData/InteractiveData/InteractiveFormData.js.map +1 -0
  1541. package/lib/shared/modals/InteractiveData/InteractiveData/index.d.ts +2 -0
  1542. package/lib/shared/modals/InteractiveData/InteractiveData/index.js +3 -0
  1543. package/lib/shared/modals/InteractiveData/InteractiveData/index.js.map +1 -0
  1544. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.d.ts +40 -0
  1545. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js +89 -0
  1546. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInputElement.js.map +1 -0
  1547. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.d.ts +18 -0
  1548. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js +43 -0
  1549. package/lib/shared/modals/InteractiveData/InteractiveElements/BaseInteractiveElement.js.map +1 -0
  1550. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.d.ts +38 -0
  1551. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js +55 -0
  1552. package/lib/shared/modals/InteractiveData/InteractiveElements/ButtonElement.js.map +1 -0
  1553. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.d.ts +40 -0
  1554. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js +69 -0
  1555. package/lib/shared/modals/InteractiveData/InteractiveElements/CheckboxElement.js.map +1 -0
  1556. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.d.ts +52 -0
  1557. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js +88 -0
  1558. package/lib/shared/modals/InteractiveData/InteractiveElements/DateTimeElement.js.map +1 -0
  1559. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.d.ts +46 -0
  1560. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js +75 -0
  1561. package/lib/shared/modals/InteractiveData/InteractiveElements/DropdownElement.js.map +1 -0
  1562. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.d.ts +20 -0
  1563. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js +29 -0
  1564. package/lib/shared/modals/InteractiveData/InteractiveElements/LabelElement.js.map +1 -0
  1565. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.d.ts +26 -0
  1566. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js +36 -0
  1567. package/lib/shared/modals/InteractiveData/InteractiveElements/OptionElement.js.map +1 -0
  1568. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.d.ts +40 -0
  1569. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js +69 -0
  1570. package/lib/shared/modals/InteractiveData/InteractiveElements/RadioButtonElement.js.map +1 -0
  1571. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.d.ts +40 -0
  1572. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js +69 -0
  1573. package/lib/shared/modals/InteractiveData/InteractiveElements/SingleSelectElement.js.map +1 -0
  1574. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.d.ts +59 -0
  1575. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js +91 -0
  1576. package/lib/shared/modals/InteractiveData/InteractiveElements/TextInputElement.js.map +1 -0
  1577. package/lib/shared/modals/InteractiveData/InteractiveElements/index.d.ts +11 -0
  1578. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +12 -0
  1579. package/lib/shared/modals/InteractiveData/InteractiveElements/index.js.map +1 -0
  1580. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.d.ts +22 -0
  1581. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js +36 -0
  1582. package/lib/shared/modals/InteractiveData/InteractiveEntities/ActionEntity.js.map +1 -0
  1583. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.d.ts +25 -0
  1584. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +60 -0
  1585. package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -0
  1586. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.d.ts +2 -0
  1587. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js +3 -0
  1588. package/lib/shared/modals/InteractiveData/InteractiveEntities/index.js.map +1 -0
  1589. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.d.ts +70 -0
  1590. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js +119 -0
  1591. package/lib/shared/modals/InteractiveData/InteractiveMessage/CardMessage.js.map +1 -0
  1592. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.d.ts +20 -0
  1593. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js +30 -0
  1594. package/lib/shared/modals/InteractiveData/InteractiveMessage/CustomInteractiveMessage.js.map +1 -0
  1595. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.d.ts +68 -0
  1596. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js +126 -0
  1597. package/lib/shared/modals/InteractiveData/InteractiveMessage/FormMessage.js.map +1 -0
  1598. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.d.ts +62 -0
  1599. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js +105 -0
  1600. package/lib/shared/modals/InteractiveData/InteractiveMessage/SchedulerMessage.js.map +1 -0
  1601. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.d.ts +4 -0
  1602. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js +5 -0
  1603. package/lib/shared/modals/InteractiveData/InteractiveMessage/index.js.map +1 -0
  1604. package/lib/shared/modals/InteractiveData/index.d.ts +4 -0
  1605. package/lib/shared/modals/InteractiveData/index.js +6 -0
  1606. package/lib/shared/modals/InteractiveData/index.js.map +1 -0
  1607. package/lib/shared/modals/index.d.ts +10 -0
  1608. package/lib/shared/modals/index.js +4 -0
  1609. package/lib/shared/modals/index.js.map +1 -0
  1610. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +75 -0
  1611. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js +165 -0
  1612. package/lib/shared/resources/CometChatLocalize/CometChatLocalize.js.map +1 -0
  1613. package/lib/shared/resources/CometChatLocalize/index.d.ts +2 -0
  1614. package/lib/shared/resources/CometChatLocalize/index.js +3 -0
  1615. package/lib/shared/resources/CometChatLocalize/index.js.map +1 -0
  1616. package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +317 -0
  1617. package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +318 -0
  1618. package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +317 -0
  1619. package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +318 -0
  1620. package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +318 -0
  1621. package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +317 -0
  1622. package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +318 -0
  1623. package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +318 -0
  1624. package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +318 -0
  1625. package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +318 -0
  1626. package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +318 -0
  1627. package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +318 -0
  1628. package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +318 -0
  1629. package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +318 -0
  1630. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.d.ts +13 -0
  1631. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js +82 -0
  1632. package/lib/shared/resources/CometChatSoundManager/CometChatSoundManager.js.map +1 -0
  1633. package/lib/shared/resources/CometChatSoundManager/index.d.ts +2 -0
  1634. package/lib/shared/resources/CometChatSoundManager/index.js +4 -0
  1635. package/lib/shared/resources/CometChatSoundManager/index.js.map +1 -0
  1636. package/lib/shared/resources/CometChatSoundManager/resources/incomingcall.wav +0 -0
  1637. package/lib/shared/resources/CometChatSoundManager/resources/incomingmessage.wav +0 -0
  1638. package/lib/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav +0 -0
  1639. package/lib/shared/resources/CometChatSoundManager/resources/index.d.ts +1 -0
  1640. package/lib/shared/resources/CometChatSoundManager/resources/index.js +6 -0
  1641. package/lib/shared/resources/CometChatSoundManager/resources/index.js.map +1 -0
  1642. package/lib/shared/resources/CometChatSoundManager/resources/outgoingcall.wav +0 -0
  1643. package/lib/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav +0 -0
  1644. package/lib/shared/resources/CometChatSoundManager/sound.d.ts +56 -0
  1645. package/lib/shared/resources/CometChatSoundManager/sound.js +303 -0
  1646. package/lib/shared/resources/CometChatSoundManager/sound.js.map +1 -0
  1647. package/lib/shared/resources/CometChatTheme/CometChatTheme.d.ts +22 -0
  1648. package/lib/shared/resources/CometChatTheme/CometChatTheme.js +23 -0
  1649. package/lib/shared/resources/CometChatTheme/CometChatTheme.js.map +1 -0
  1650. package/lib/shared/resources/CometChatTheme/Palette.d.ts +146 -0
  1651. package/lib/shared/resources/CometChatTheme/Palette.js +459 -0
  1652. package/lib/shared/resources/CometChatTheme/Palette.js.map +1 -0
  1653. package/lib/shared/resources/CometChatTheme/Typography.d.ts +78 -0
  1654. package/lib/shared/resources/CometChatTheme/Typography.js +312 -0
  1655. package/lib/shared/resources/CometChatTheme/Typography.js.map +1 -0
  1656. package/lib/shared/resources/CometChatTheme/index.d.ts +2 -0
  1657. package/lib/shared/resources/CometChatTheme/index.js +3 -0
  1658. package/lib/shared/resources/CometChatTheme/index.js.map +1 -0
  1659. package/lib/shared/resources/index.d.ts +4 -0
  1660. package/lib/shared/resources/index.js +5 -0
  1661. package/lib/shared/resources/index.js.map +1 -0
  1662. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.d.ts +15 -0
  1663. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js +90 -0
  1664. package/lib/shared/utils/CometChatLiveReactions/CometChatLiveReaction.js.map +1 -0
  1665. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.d.ts +20 -0
  1666. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js +27 -0
  1667. package/lib/shared/utils/CometChatLiveReactions/LiveReactionstyles.js.map +1 -0
  1668. package/lib/shared/utils/CometChatLiveReactions/index.d.ts +1 -0
  1669. package/lib/shared/utils/CometChatLiveReactions/index.js +2 -0
  1670. package/lib/shared/utils/CometChatLiveReactions/index.js.map +1 -0
  1671. package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
  1672. package/lib/shared/utils/CometChatLiveReactions/resources/index.d.ts +2 -0
  1673. package/lib/shared/utils/CometChatLiveReactions/resources/index.js +4 -0
  1674. package/lib/shared/utils/CometChatLiveReactions/resources/index.js.map +1 -0
  1675. package/lib/shared/utils/CometChatLiveReactions/style.d.ts +5 -0
  1676. package/lib/shared/utils/CometChatLiveReactions/style.js +7 -0
  1677. package/lib/shared/utils/CometChatLiveReactions/style.js.map +1 -0
  1678. package/lib/shared/utils/CometChatMessageHelper/index.d.ts +13 -0
  1679. package/lib/shared/utils/CometChatMessageHelper/index.js +45 -0
  1680. package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -0
  1681. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.d.ts +18 -0
  1682. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js +94 -0
  1683. package/lib/shared/utils/CometChatMessagePreview/CometChatMessagePreview.js.map +1 -0
  1684. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.d.ts +24 -0
  1685. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js +23 -0
  1686. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewConfiguration.js.map +1 -0
  1687. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.d.ts +31 -0
  1688. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js +29 -0
  1689. package/lib/shared/utils/CometChatMessagePreview/MessagePreviewStyle.js.map +1 -0
  1690. package/lib/shared/utils/CometChatMessagePreview/index.d.ts +4 -0
  1691. package/lib/shared/utils/CometChatMessagePreview/index.js +8 -0
  1692. package/lib/shared/utils/CometChatMessagePreview/index.js.map +1 -0
  1693. package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
  1694. package/lib/shared/utils/CometChatMessagePreview/resources/index.d.ts +2 -0
  1695. package/lib/shared/utils/CometChatMessagePreview/resources/index.js +4 -0
  1696. package/lib/shared/utils/CometChatMessagePreview/resources/index.js.map +1 -0
  1697. package/lib/shared/utils/CometChatMessagePreview/style.d.ts +2 -0
  1698. package/lib/shared/utils/CometChatMessagePreview/style.js +71 -0
  1699. package/lib/shared/utils/CometChatMessagePreview/style.js.map +1 -0
  1700. package/lib/shared/utils/CommonUtils.d.ts +25 -0
  1701. package/lib/shared/utils/CommonUtils.js +177 -0
  1702. package/lib/shared/utils/CommonUtils.js.map +1 -0
  1703. package/lib/shared/utils/DetailsUtils/DetailsUtils.d.ts +8 -0
  1704. package/lib/shared/utils/DetailsUtils/DetailsUtils.js +347 -0
  1705. package/lib/shared/utils/DetailsUtils/DetailsUtils.js.map +1 -0
  1706. package/lib/shared/utils/DetailsUtils/resources/Back.png +0 -0
  1707. package/lib/shared/utils/DetailsUtils/resources/banIcon.png +0 -0
  1708. package/lib/shared/utils/DetailsUtils/resources/close.png +0 -0
  1709. package/lib/shared/utils/DetailsUtils/resources/index.d.ts +9 -0
  1710. package/lib/shared/utils/DetailsUtils/resources/index.js +24 -0
  1711. package/lib/shared/utils/DetailsUtils/resources/index.js.map +1 -0
  1712. package/lib/shared/utils/DetailsUtils/resources/kickIcon.png +0 -0
  1713. package/lib/shared/utils/DetailsUtils/resources/password.png +0 -0
  1714. package/lib/shared/utils/DetailsUtils/resources/private.png +0 -0
  1715. package/lib/shared/utils/DetailsUtils/resources/right-arrow.png +0 -0
  1716. package/lib/shared/utils/InteractiveMessageUtils.d.ts +8 -0
  1717. package/lib/shared/utils/InteractiveMessageUtils.js +48 -0
  1718. package/lib/shared/utils/InteractiveMessageUtils.js.map +1 -0
  1719. package/lib/shared/utils/MessageUtils.d.ts +16 -0
  1720. package/lib/shared/utils/MessageUtils.js +115 -0
  1721. package/lib/shared/utils/MessageUtils.js.map +1 -0
  1722. package/lib/shared/utils/NetworkUtils.d.ts +9 -0
  1723. package/lib/shared/utils/NetworkUtils.js +28 -0
  1724. package/lib/shared/utils/NetworkUtils.js.map +1 -0
  1725. package/lib/shared/utils/PermissionUtil.d.ts +18 -0
  1726. package/lib/shared/utils/PermissionUtil.js +122 -0
  1727. package/lib/shared/utils/PermissionUtil.js.map +1 -0
  1728. package/lib/shared/utils/SchedulerUtils.d.ts +11 -0
  1729. package/lib/shared/utils/SchedulerUtils.js +143 -0
  1730. package/lib/shared/utils/SchedulerUtils.js.map +1 -0
  1731. package/lib/shared/utils/TypeUtils.d.ts +3 -0
  1732. package/lib/shared/utils/TypeUtils.js +2 -0
  1733. package/lib/shared/utils/TypeUtils.js.map +1 -0
  1734. package/lib/shared/utils/conversationUtils.d.ts +7 -0
  1735. package/lib/shared/utils/conversationUtils.js +88 -0
  1736. package/lib/shared/utils/conversationUtils.js.map +1 -0
  1737. package/lib/shared/utils/icsToJson.d.ts +2 -0
  1738. package/lib/shared/utils/icsToJson.js +108 -0
  1739. package/lib/shared/utils/icsToJson.js.map +1 -0
  1740. package/lib/shared/utils/index.d.ts +7 -0
  1741. package/lib/shared/utils/index.js +7 -0
  1742. package/lib/shared/utils/index.js.map +1 -0
  1743. package/lib/shared/views/CometChatAICard/CometChatAICard.d.ts +18 -0
  1744. package/lib/shared/views/CometChatAICard/CometChatAICard.js +40 -0
  1745. package/lib/shared/views/CometChatAICard/CometChatAICard.js.map +1 -0
  1746. package/lib/shared/views/CometChatAICard/resources/errormessage.png +0 -0
  1747. package/lib/shared/views/CometChatAICard/resources/index.d.ts +3 -0
  1748. package/lib/shared/views/CometChatAICard/resources/index.js +6 -0
  1749. package/lib/shared/views/CometChatAICard/resources/index.js.map +1 -0
  1750. package/lib/shared/views/CometChatAICard/resources/nomessage.png +0 -0
  1751. package/lib/shared/views/CometChatActionSheet/ActionItem.d.ts +49 -0
  1752. package/lib/shared/views/CometChatActionSheet/ActionItem.js +38 -0
  1753. package/lib/shared/views/CometChatActionSheet/ActionItem.js.map +1 -0
  1754. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.d.ts +47 -0
  1755. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js +45 -0
  1756. package/lib/shared/views/CometChatActionSheet/ActionSheetStyle.js.map +1 -0
  1757. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.d.ts +14 -0
  1758. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js +167 -0
  1759. package/lib/shared/views/CometChatActionSheet/CometChatActionSheet.js.map +1 -0
  1760. package/lib/shared/views/CometChatActionSheet/hooks.d.ts +1 -0
  1761. package/lib/shared/views/CometChatActionSheet/hooks.js +7 -0
  1762. package/lib/shared/views/CometChatActionSheet/hooks.js.map +1 -0
  1763. package/lib/shared/views/CometChatActionSheet/index.d.ts +5 -0
  1764. package/lib/shared/views/CometChatActionSheet/index.js +4 -0
  1765. package/lib/shared/views/CometChatActionSheet/index.js.map +1 -0
  1766. package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
  1767. package/lib/shared/views/CometChatActionSheet/resources/index.d.ts +4 -0
  1768. package/lib/shared/views/CometChatActionSheet/resources/index.js +9 -0
  1769. package/lib/shared/views/CometChatActionSheet/resources/index.js.map +1 -0
  1770. package/lib/shared/views/CometChatActionSheet/resources/list.png +0 -0
  1771. package/lib/shared/views/CometChatActionSheet/style.d.ts +44 -0
  1772. package/lib/shared/views/CometChatActionSheet/style.js +46 -0
  1773. package/lib/shared/views/CometChatActionSheet/style.js.map +1 -0
  1774. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.d.ts +16 -0
  1775. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js +23 -0
  1776. package/lib/shared/views/CometChatAudioBubble/AudioBubbleStyle.js.map +1 -0
  1777. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.d.ts +35 -0
  1778. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js +124 -0
  1779. package/lib/shared/views/CometChatAudioBubble/CometChatAudioBubble.js.map +1 -0
  1780. package/lib/shared/views/CometChatAudioBubble/index.d.ts +4 -0
  1781. package/lib/shared/views/CometChatAudioBubble/index.js +4 -0
  1782. package/lib/shared/views/CometChatAudioBubble/index.js.map +1 -0
  1783. package/lib/shared/views/CometChatAudioBubble/resources/index.d.ts +3 -0
  1784. package/lib/shared/views/CometChatAudioBubble/resources/index.js +6 -0
  1785. package/lib/shared/views/CometChatAudioBubble/resources/index.js.map +1 -0
  1786. package/lib/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
  1787. package/lib/shared/views/CometChatAudioBubble/resources/play.png +0 -0
  1788. package/lib/shared/views/CometChatAudioBubble/style.d.ts +28 -0
  1789. package/lib/shared/views/CometChatAudioBubble/style.js +30 -0
  1790. package/lib/shared/views/CometChatAudioBubble/style.js.map +1 -0
  1791. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.d.ts +19 -0
  1792. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js +19 -0
  1793. package/lib/shared/views/CometChatAvatar/AvatarConfiguration.js.map +1 -0
  1794. package/lib/shared/views/CometChatAvatar/AvatarStyle.d.ts +28 -0
  1795. package/lib/shared/views/CometChatAvatar/AvatarStyle.js +38 -0
  1796. package/lib/shared/views/CometChatAvatar/AvatarStyle.js.map +1 -0
  1797. package/lib/shared/views/CometChatAvatar/CometChatAvatar.d.ts +18 -0
  1798. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js +79 -0
  1799. package/lib/shared/views/CometChatAvatar/CometChatAvatar.js.map +1 -0
  1800. package/lib/shared/views/CometChatAvatar/index.d.ts +5 -0
  1801. package/lib/shared/views/CometChatAvatar/index.js +5 -0
  1802. package/lib/shared/views/CometChatAvatar/index.js.map +1 -0
  1803. package/lib/shared/views/CometChatAvatar/resources/default.jpg +0 -0
  1804. package/lib/shared/views/CometChatAvatar/resources/index.d.ts +3 -0
  1805. package/lib/shared/views/CometChatAvatar/resources/index.js +5 -0
  1806. package/lib/shared/views/CometChatAvatar/resources/index.js.map +1 -0
  1807. package/lib/shared/views/CometChatAvatar/styles.d.ts +21 -0
  1808. package/lib/shared/views/CometChatAvatar/styles.js +24 -0
  1809. package/lib/shared/views/CometChatAvatar/styles.js.map +1 -0
  1810. package/lib/shared/views/CometChatBadge/BadgeConfiguration.d.ts +34 -0
  1811. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js +37 -0
  1812. package/lib/shared/views/CometChatBadge/BadgeConfiguration.js.map +1 -0
  1813. package/lib/shared/views/CometChatBadge/BadgeStyle.d.ts +11 -0
  1814. package/lib/shared/views/CometChatBadge/BadgeStyle.js +25 -0
  1815. package/lib/shared/views/CometChatBadge/BadgeStyle.js.map +1 -0
  1816. package/lib/shared/views/CometChatBadge/CometChatBadge.d.ts +17 -0
  1817. package/lib/shared/views/CometChatBadge/CometChatBadge.js +39 -0
  1818. package/lib/shared/views/CometChatBadge/CometChatBadge.js.map +1 -0
  1819. package/lib/shared/views/CometChatBadge/index.d.ts +5 -0
  1820. package/lib/shared/views/CometChatBadge/index.js +5 -0
  1821. package/lib/shared/views/CometChatBadge/index.js.map +1 -0
  1822. package/lib/shared/views/CometChatBadge/styles.d.ts +14 -0
  1823. package/lib/shared/views/CometChatBadge/styles.js +17 -0
  1824. package/lib/shared/views/CometChatBadge/styles.js.map +1 -0
  1825. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.d.ts +22 -0
  1826. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js +97 -0
  1827. package/lib/shared/views/CometChatBottomSheet/CometChatBottomSheet.js.map +1 -0
  1828. package/lib/shared/views/CometChatBottomSheet/index.d.ts +3 -0
  1829. package/lib/shared/views/CometChatBottomSheet/index.js +3 -0
  1830. package/lib/shared/views/CometChatBottomSheet/index.js.map +1 -0
  1831. package/lib/shared/views/CometChatBottomSheet/style.d.ts +48 -0
  1832. package/lib/shared/views/CometChatBottomSheet/style.js +50 -0
  1833. package/lib/shared/views/CometChatBottomSheet/style.js.map +1 -0
  1834. package/lib/shared/views/CometChatButton/CometChatButton.d.ts +11 -0
  1835. package/lib/shared/views/CometChatButton/CometChatButton.js +38 -0
  1836. package/lib/shared/views/CometChatButton/CometChatButton.js.map +1 -0
  1837. package/lib/shared/views/CometChatButton/CometChatButtonStyle.d.ts +18 -0
  1838. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js +25 -0
  1839. package/lib/shared/views/CometChatButton/CometChatButtonStyle.js.map +1 -0
  1840. package/lib/shared/views/CometChatButton/index.d.ts +4 -0
  1841. package/lib/shared/views/CometChatButton/index.js +4 -0
  1842. package/lib/shared/views/CometChatButton/index.js.map +1 -0
  1843. package/lib/shared/views/CometChatButton/style.d.ts +6 -0
  1844. package/lib/shared/views/CometChatButton/style.js +8 -0
  1845. package/lib/shared/views/CometChatButton/style.js.map +1 -0
  1846. package/lib/shared/views/CometChatCard/CometChatCard.d.ts +15 -0
  1847. package/lib/shared/views/CometChatCard/CometChatCard.js +35 -0
  1848. package/lib/shared/views/CometChatCard/CometChatCard.js.map +1 -0
  1849. package/lib/shared/views/CometChatCard/CometChatCardStyle.d.ts +10 -0
  1850. package/lib/shared/views/CometChatCard/CometChatCardStyle.js +17 -0
  1851. package/lib/shared/views/CometChatCard/CometChatCardStyle.js.map +1 -0
  1852. package/lib/shared/views/CometChatCard/index.d.ts +4 -0
  1853. package/lib/shared/views/CometChatCard/index.js +4 -0
  1854. package/lib/shared/views/CometChatCard/index.js.map +1 -0
  1855. package/lib/shared/views/CometChatCard/style.d.ts +11 -0
  1856. package/lib/shared/views/CometChatCard/style.js +13 -0
  1857. package/lib/shared/views/CometChatCard/style.js.map +1 -0
  1858. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.d.ts +20 -0
  1859. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js +24 -0
  1860. package/lib/shared/views/CometChatCardBubble/CardBubbleStyle.js.map +1 -0
  1861. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.d.ts +9 -0
  1862. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js +121 -0
  1863. package/lib/shared/views/CometChatCardBubble/CometChatCardBubble.js.map +1 -0
  1864. package/lib/shared/views/CometChatCardBubble/index.d.ts +2 -0
  1865. package/lib/shared/views/CometChatCardBubble/index.js +2 -0
  1866. package/lib/shared/views/CometChatCardBubble/index.js.map +1 -0
  1867. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.d.ts +22 -0
  1868. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js +22 -0
  1869. package/lib/shared/views/CometChatCheckBox/CheckBoxStyle.js.map +1 -0
  1870. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.d.ts +12 -0
  1871. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js +47 -0
  1872. package/lib/shared/views/CometChatCheckBox/CometChatCheckBox.js.map +1 -0
  1873. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +13 -0
  1874. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js +80 -0
  1875. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialog.js.map +1 -0
  1876. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.d.ts +24 -0
  1877. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js +20 -0
  1878. package/lib/shared/views/CometChatConfirmDialog/CometChatConfirmDialogStyle.js.map +1 -0
  1879. package/lib/shared/views/CometChatConfirmDialog/index.d.ts +4 -0
  1880. package/lib/shared/views/CometChatConfirmDialog/index.js +3 -0
  1881. package/lib/shared/views/CometChatConfirmDialog/index.js.map +1 -0
  1882. package/lib/shared/views/CometChatConfirmDialog/style.d.ts +61 -0
  1883. package/lib/shared/views/CometChatConfirmDialog/style.js +63 -0
  1884. package/lib/shared/views/CometChatConfirmDialog/style.js.map +1 -0
  1885. package/lib/shared/views/CometChatDate/CometChatDate.d.ts +37 -0
  1886. package/lib/shared/views/CometChatDate/CometChatDate.js +134 -0
  1887. package/lib/shared/views/CometChatDate/CometChatDate.js.map +1 -0
  1888. package/lib/shared/views/CometChatDate/DateConfiguration.d.ts +23 -0
  1889. package/lib/shared/views/CometChatDate/DateConfiguration.js +21 -0
  1890. package/lib/shared/views/CometChatDate/DateConfiguration.js.map +1 -0
  1891. package/lib/shared/views/CometChatDate/DateStyle.d.ts +11 -0
  1892. package/lib/shared/views/CometChatDate/DateStyle.js +16 -0
  1893. package/lib/shared/views/CometChatDate/DateStyle.js.map +1 -0
  1894. package/lib/shared/views/CometChatDate/index.d.ts +5 -0
  1895. package/lib/shared/views/CometChatDate/index.js +5 -0
  1896. package/lib/shared/views/CometChatDate/index.js.map +1 -0
  1897. package/lib/shared/views/CometChatDate/style.d.ts +5 -0
  1898. package/lib/shared/views/CometChatDate/style.js +8 -0
  1899. package/lib/shared/views/CometChatDate/style.js.map +1 -0
  1900. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +10 -0
  1901. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js +129 -0
  1902. package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -0
  1903. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.d.ts +17 -0
  1904. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js +13 -0
  1905. package/lib/shared/views/CometChatDateTimePicker/DateTimePickerStyle.js.map +1 -0
  1906. package/lib/shared/views/CometChatDateTimePicker/index.d.ts +3 -0
  1907. package/lib/shared/views/CometChatDateTimePicker/index.js +2 -0
  1908. package/lib/shared/views/CometChatDateTimePicker/index.js.map +1 -0
  1909. package/lib/shared/views/CometChatDropDown/CometChatDropDown.d.ts +14 -0
  1910. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js +86 -0
  1911. package/lib/shared/views/CometChatDropDown/CometChatDropDown.js.map +1 -0
  1912. package/lib/shared/views/CometChatDropDown/DropDownStyle.d.ts +20 -0
  1913. package/lib/shared/views/CometChatDropDown/DropDownStyle.js +20 -0
  1914. package/lib/shared/views/CometChatDropDown/DropDownStyle.js.map +1 -0
  1915. package/lib/shared/views/CometChatDropDown/resources/downArrowIcon.png +0 -0
  1916. package/lib/shared/views/CometChatDropDown/resources/index.d.ts +2 -0
  1917. package/lib/shared/views/CometChatDropDown/resources/index.js +3 -0
  1918. package/lib/shared/views/CometChatDropDown/resources/index.js.map +1 -0
  1919. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +22 -0
  1920. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js +144 -0
  1921. package/lib/shared/views/CometChatEmojiKeyboard/CometChatEmojiKeyboard.js.map +1 -0
  1922. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.d.ts +13 -0
  1923. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js +17 -0
  1924. package/lib/shared/views/CometChatEmojiKeyboard/Emoji.js.map +1 -0
  1925. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.d.ts +16 -0
  1926. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js +22 -0
  1927. package/lib/shared/views/CometChatEmojiKeyboard/EmojiCategory.js.map +1 -0
  1928. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.d.ts +19 -0
  1929. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js +21 -0
  1930. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardConfiguration.js.map +1 -0
  1931. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.d.ts +17 -0
  1932. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js +33 -0
  1933. package/lib/shared/views/CometChatEmojiKeyboard/EmojiKeyboardStyle.js.map +1 -0
  1934. package/lib/shared/views/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
  1935. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js +8226 -0
  1936. package/lib/shared/views/CometChatEmojiKeyboard/emojis.js.map +1 -0
  1937. package/lib/shared/views/CometChatEmojiKeyboard/index.d.ts +4 -0
  1938. package/lib/shared/views/CometChatEmojiKeyboard/index.js +5 -0
  1939. package/lib/shared/views/CometChatEmojiKeyboard/index.js.map +1 -0
  1940. package/lib/shared/views/CometChatEmojiKeyboard/resources/activity.png +0 -0
  1941. package/lib/shared/views/CometChatEmojiKeyboard/resources/animals.png +0 -0
  1942. package/lib/shared/views/CometChatEmojiKeyboard/resources/flags.png +0 -0
  1943. package/lib/shared/views/CometChatEmojiKeyboard/resources/food.png +0 -0
  1944. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.d.ts +9 -0
  1945. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js +18 -0
  1946. package/lib/shared/views/CometChatEmojiKeyboard/resources/index.js.map +1 -0
  1947. package/lib/shared/views/CometChatEmojiKeyboard/resources/objects.png +0 -0
  1948. package/lib/shared/views/CometChatEmojiKeyboard/resources/smileys.png +0 -0
  1949. package/lib/shared/views/CometChatEmojiKeyboard/resources/symbols.png +0 -0
  1950. package/lib/shared/views/CometChatEmojiKeyboard/resources/travel.png +0 -0
  1951. package/lib/shared/views/CometChatEmojiKeyboard/style.d.ts +44 -0
  1952. package/lib/shared/views/CometChatEmojiKeyboard/style.js +57 -0
  1953. package/lib/shared/views/CometChatEmojiKeyboard/style.js.map +1 -0
  1954. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.d.ts +35 -0
  1955. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js +130 -0
  1956. package/lib/shared/views/CometChatFileBubble/CometChatFileBubble.js.map +1 -0
  1957. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.d.ts +31 -0
  1958. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js +23 -0
  1959. package/lib/shared/views/CometChatFileBubble/FileBubbleStyle.js.map +1 -0
  1960. package/lib/shared/views/CometChatFileBubble/index.d.ts +4 -0
  1961. package/lib/shared/views/CometChatFileBubble/index.js +4 -0
  1962. package/lib/shared/views/CometChatFileBubble/index.js.map +1 -0
  1963. package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
  1964. package/lib/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
  1965. package/lib/shared/views/CometChatFileBubble/resources/index.d.ts +3 -0
  1966. package/lib/shared/views/CometChatFileBubble/resources/index.js +6 -0
  1967. package/lib/shared/views/CometChatFileBubble/resources/index.js.map +1 -0
  1968. package/lib/shared/views/CometChatFileBubble/style.d.ts +46 -0
  1969. package/lib/shared/views/CometChatFileBubble/style.js +49 -0
  1970. package/lib/shared/views/CometChatFileBubble/style.js.map +1 -0
  1971. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.d.ts +9 -0
  1972. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +369 -0
  1973. package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -0
  1974. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.d.ts +47 -0
  1975. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js +45 -0
  1976. package/lib/shared/views/CometChatFormBubble/FormBubbleStyle.js.map +1 -0
  1977. package/lib/shared/views/CometChatFormBubble/index.d.ts +2 -0
  1978. package/lib/shared/views/CometChatFormBubble/index.js +2 -0
  1979. package/lib/shared/views/CometChatFormBubble/index.js.map +1 -0
  1980. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.d.ts +34 -0
  1981. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js +167 -0
  1982. package/lib/shared/views/CometChatImageBubble/CometChatImageBubble.js.map +1 -0
  1983. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.d.ts +19 -0
  1984. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js +15 -0
  1985. package/lib/shared/views/CometChatImageBubble/ImageBubbleStyle.js.map +1 -0
  1986. package/lib/shared/views/CometChatImageBubble/assets/default_image.png +0 -0
  1987. package/lib/shared/views/CometChatImageBubble/assets/index.d.ts +4 -0
  1988. package/lib/shared/views/CometChatImageBubble/assets/index.js +9 -0
  1989. package/lib/shared/views/CometChatImageBubble/assets/index.js.map +1 -0
  1990. package/lib/shared/views/CometChatImageBubble/assets/spineer.png +0 -0
  1991. package/lib/shared/views/CometChatImageBubble/index.d.ts +4 -0
  1992. package/lib/shared/views/CometChatImageBubble/index.js +4 -0
  1993. package/lib/shared/views/CometChatImageBubble/index.js.map +1 -0
  1994. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.d.ts +2 -0
  1995. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js +74 -0
  1996. package/lib/shared/views/CometChatImageViewerModal/ImageViewerModal.js.map +1 -0
  1997. package/lib/shared/views/CometChatImageViewerModal/index.d.ts +1 -0
  1998. package/lib/shared/views/CometChatImageViewerModal/index.js +2 -0
  1999. package/lib/shared/views/CometChatImageViewerModal/index.js.map +1 -0
  2000. package/lib/shared/views/CometChatImageViewerModal/resources/Back.png +0 -0
  2001. package/lib/shared/views/CometChatImageViewerModal/resources/index.d.ts +3 -0
  2002. package/lib/shared/views/CometChatImageViewerModal/resources/index.js +6 -0
  2003. package/lib/shared/views/CometChatImageViewerModal/resources/index.js.map +1 -0
  2004. package/lib/shared/views/CometChatLabel/CometChatLabel.d.ts +8 -0
  2005. package/lib/shared/views/CometChatLabel/CometChatLabel.js +15 -0
  2006. package/lib/shared/views/CometChatLabel/CometChatLabel.js.map +1 -0
  2007. package/lib/shared/views/CometChatLabel/LabelStyle.d.ts +10 -0
  2008. package/lib/shared/views/CometChatLabel/LabelStyle.js +10 -0
  2009. package/lib/shared/views/CometChatLabel/LabelStyle.js.map +1 -0
  2010. package/lib/shared/views/CometChatList/CometChatList.d.ts +91 -0
  2011. package/lib/shared/views/CometChatList/CometChatList.js +505 -0
  2012. package/lib/shared/views/CometChatList/CometChatList.js.map +1 -0
  2013. package/lib/shared/views/CometChatList/Header.d.ts +2 -0
  2014. package/lib/shared/views/CometChatList/Header.js +71 -0
  2015. package/lib/shared/views/CometChatList/Header.js.map +1 -0
  2016. package/lib/shared/views/CometChatList/index.d.ts +3 -0
  2017. package/lib/shared/views/CometChatList/index.js +3 -0
  2018. package/lib/shared/views/CometChatList/index.js.map +1 -0
  2019. package/lib/shared/views/CometChatList/resources/Back.png +0 -0
  2020. package/lib/shared/views/CometChatList/resources/Search.png +0 -0
  2021. package/lib/shared/views/CometChatList/resources/Spinner.png +0 -0
  2022. package/lib/shared/views/CometChatList/resources/check.png +0 -0
  2023. package/lib/shared/views/CometChatList/resources/checkmark.png +0 -0
  2024. package/lib/shared/views/CometChatList/resources/index.d.ts +7 -0
  2025. package/lib/shared/views/CometChatList/resources/index.js +18 -0
  2026. package/lib/shared/views/CometChatList/resources/index.js.map +1 -0
  2027. package/lib/shared/views/CometChatList/styles.d.ts +99 -0
  2028. package/lib/shared/views/CometChatList/styles.js +102 -0
  2029. package/lib/shared/views/CometChatList/styles.js.map +1 -0
  2030. package/lib/shared/views/CometChatListItem/CometChatListItem.d.ts +35 -0
  2031. package/lib/shared/views/CometChatListItem/CometChatListItem.js +189 -0
  2032. package/lib/shared/views/CometChatListItem/CometChatListItem.js.map +1 -0
  2033. package/lib/shared/views/CometChatListItem/ListItemConfiguration.d.ts +6 -0
  2034. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js +10 -0
  2035. package/lib/shared/views/CometChatListItem/ListItemConfiguration.js.map +1 -0
  2036. package/lib/shared/views/CometChatListItem/ListItemStyle.d.ts +27 -0
  2037. package/lib/shared/views/CometChatListItem/ListItemStyle.js +34 -0
  2038. package/lib/shared/views/CometChatListItem/ListItemStyle.js.map +1 -0
  2039. package/lib/shared/views/CometChatListItem/index.d.ts +5 -0
  2040. package/lib/shared/views/CometChatListItem/index.js +5 -0
  2041. package/lib/shared/views/CometChatListItem/index.js.map +1 -0
  2042. package/lib/shared/views/CometChatListItem/style.d.ts +61 -0
  2043. package/lib/shared/views/CometChatListItem/style.js +61 -0
  2044. package/lib/shared/views/CometChatListItem/style.js.map +1 -0
  2045. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +20 -0
  2046. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +209 -0
  2047. package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -0
  2048. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.d.ts +26 -0
  2049. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js +33 -0
  2050. package/lib/shared/views/CometChatMediaRecorder/MediaRecorderStyle.js.map +1 -0
  2051. package/lib/shared/views/CometChatMediaRecorder/index.d.ts +4 -0
  2052. package/lib/shared/views/CometChatMediaRecorder/index.js +4 -0
  2053. package/lib/shared/views/CometChatMediaRecorder/index.js.map +1 -0
  2054. package/lib/shared/views/CometChatMediaRecorder/style.d.ts +27 -0
  2055. package/lib/shared/views/CometChatMediaRecorder/style.js +28 -0
  2056. package/lib/shared/views/CometChatMediaRecorder/style.js.map +1 -0
  2057. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +61 -0
  2058. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js +45 -0
  2059. package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -0
  2060. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.d.ts +8 -0
  2061. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js +15 -0
  2062. package/lib/shared/views/CometChatMessageBubble/MessageBubbleStyle.js.map +1 -0
  2063. package/lib/shared/views/CometChatMessageBubble/index.d.ts +3 -0
  2064. package/lib/shared/views/CometChatMessageBubble/index.js +3 -0
  2065. package/lib/shared/views/CometChatMessageBubble/index.js.map +1 -0
  2066. package/lib/shared/views/CometChatMessageBubble/style.d.ts +0 -0
  2067. package/lib/shared/views/CometChatMessageBubble/style.js +1 -0
  2068. package/lib/shared/views/CometChatMessageBubble/style.js.map +1 -0
  2069. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.d.ts +90 -0
  2070. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js +49 -0
  2071. package/lib/shared/views/CometChatMessageInput/CometChatMessageInput.js.map +1 -0
  2072. package/lib/shared/views/CometChatMessageInput/index.d.ts +3 -0
  2073. package/lib/shared/views/CometChatMessageInput/index.js +3 -0
  2074. package/lib/shared/views/CometChatMessageInput/index.js.map +1 -0
  2075. package/lib/shared/views/CometChatMessageInput/styles.d.ts +7 -0
  2076. package/lib/shared/views/CometChatMessageInput/styles.js +9 -0
  2077. package/lib/shared/views/CometChatMessageInput/styles.js.map +1 -0
  2078. package/lib/shared/views/CometChatPanel/CometChatPanel.d.ts +10 -0
  2079. package/lib/shared/views/CometChatPanel/CometChatPanel.js +34 -0
  2080. package/lib/shared/views/CometChatPanel/CometChatPanel.js.map +1 -0
  2081. package/lib/shared/views/CometChatPanel/PanelStyle.d.ts +16 -0
  2082. package/lib/shared/views/CometChatPanel/PanelStyle.js +23 -0
  2083. package/lib/shared/views/CometChatPanel/PanelStyle.js.map +1 -0
  2084. package/lib/shared/views/CometChatPanel/resources/CloseIcon.png +0 -0
  2085. package/lib/shared/views/CometChatPanel/resources/index.d.ts +2 -0
  2086. package/lib/shared/views/CometChatPanel/resources/index.js +4 -0
  2087. package/lib/shared/views/CometChatPanel/resources/index.js.map +1 -0
  2088. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.d.ts +11 -0
  2089. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js +48 -0
  2090. package/lib/shared/views/CometChatQuickReactions/CometChatQuickReactions.js.map +1 -0
  2091. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.d.ts +6 -0
  2092. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js +10 -0
  2093. package/lib/shared/views/CometChatQuickReactions/QuickReactionsConfiguration.js.map +1 -0
  2094. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.d.ts +12 -0
  2095. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js +19 -0
  2096. package/lib/shared/views/CometChatQuickReactions/QuickReactionsStyle.js.map +1 -0
  2097. package/lib/shared/views/CometChatQuickReactions/index.d.ts +5 -0
  2098. package/lib/shared/views/CometChatQuickReactions/index.js +5 -0
  2099. package/lib/shared/views/CometChatQuickReactions/index.js.map +1 -0
  2100. package/lib/shared/views/CometChatQuickReactions/resources/AddReactions.png +0 -0
  2101. package/lib/shared/views/CometChatQuickReactions/resources/index.d.ts +3 -0
  2102. package/lib/shared/views/CometChatQuickReactions/resources/index.js +4 -0
  2103. package/lib/shared/views/CometChatQuickReactions/resources/index.js.map +1 -0
  2104. package/lib/shared/views/CometChatQuickView/CometChatQuickView.d.ts +11 -0
  2105. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js +40 -0
  2106. package/lib/shared/views/CometChatQuickView/CometChatQuickView.js.map +1 -0
  2107. package/lib/shared/views/CometChatQuickView/QuickViewStyle.d.ts +22 -0
  2108. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js +28 -0
  2109. package/lib/shared/views/CometChatQuickView/QuickViewStyle.js.map +1 -0
  2110. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.d.ts +12 -0
  2111. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js +36 -0
  2112. package/lib/shared/views/CometChatRadioButton/CometChatRadioButton.js.map +1 -0
  2113. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.d.ts +19 -0
  2114. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js +19 -0
  2115. package/lib/shared/views/CometChatRadioButton/RadioButtonStyle.js.map +1 -0
  2116. package/lib/shared/views/CometChatReactionList/CometChatReactionList.d.ts +23 -0
  2117. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js +241 -0
  2118. package/lib/shared/views/CometChatReactionList/CometChatReactionList.js.map +1 -0
  2119. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.d.ts +6 -0
  2120. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js +10 -0
  2121. package/lib/shared/views/CometChatReactionList/ReactionListConfiguration.js.map +1 -0
  2122. package/lib/shared/views/CometChatReactionList/ReactionListStyle.d.ts +28 -0
  2123. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js +35 -0
  2124. package/lib/shared/views/CometChatReactionList/ReactionListStyle.js.map +1 -0
  2125. package/lib/shared/views/CometChatReactionList/index.d.ts +5 -0
  2126. package/lib/shared/views/CometChatReactionList/index.js +5 -0
  2127. package/lib/shared/views/CometChatReactionList/index.js.map +1 -0
  2128. package/lib/shared/views/CometChatReactionList/resources/Spineer.png +0 -0
  2129. package/lib/shared/views/CometChatReactionList/resources/index.d.ts +2 -0
  2130. package/lib/shared/views/CometChatReactionList/resources/index.js +4 -0
  2131. package/lib/shared/views/CometChatReactionList/resources/index.js.map +1 -0
  2132. package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +13 -0
  2133. package/lib/shared/views/CometChatReactions/CometChatReactions.js +141 -0
  2134. package/lib/shared/views/CometChatReactions/CometChatReactions.js.map +1 -0
  2135. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.d.ts +6 -0
  2136. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js +10 -0
  2137. package/lib/shared/views/CometChatReactions/ReactionsConfiguration.js.map +1 -0
  2138. package/lib/shared/views/CometChatReactions/ReactionsStyle.d.ts +16 -0
  2139. package/lib/shared/views/CometChatReactions/ReactionsStyle.js +23 -0
  2140. package/lib/shared/views/CometChatReactions/ReactionsStyle.js.map +1 -0
  2141. package/lib/shared/views/CometChatReactions/index.d.ts +5 -0
  2142. package/lib/shared/views/CometChatReactions/index.js +5 -0
  2143. package/lib/shared/views/CometChatReactions/index.js.map +1 -0
  2144. package/lib/shared/views/CometChatReactions/style.d.ts +38 -0
  2145. package/lib/shared/views/CometChatReactions/style.js +42 -0
  2146. package/lib/shared/views/CometChatReactions/style.js.map +1 -0
  2147. package/lib/shared/views/CometChatReceipt/CometChatReceipt.d.ts +30 -0
  2148. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js +54 -0
  2149. package/lib/shared/views/CometChatReceipt/CometChatReceipt.js.map +1 -0
  2150. package/lib/shared/views/CometChatReceipt/MessageConfiguration.d.ts +40 -0
  2151. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js +41 -0
  2152. package/lib/shared/views/CometChatReceipt/MessageConfiguration.js.map +1 -0
  2153. package/lib/shared/views/CometChatReceipt/ReceiptStyle.d.ts +21 -0
  2154. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js +22 -0
  2155. package/lib/shared/views/CometChatReceipt/ReceiptStyle.js.map +1 -0
  2156. package/lib/shared/views/CometChatReceipt/index.d.ts +5 -0
  2157. package/lib/shared/views/CometChatReceipt/index.js +5 -0
  2158. package/lib/shared/views/CometChatReceipt/index.js.map +1 -0
  2159. package/lib/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png +0 -0
  2160. package/lib/shared/views/CometChatReceipt/resources/error.png +0 -0
  2161. package/lib/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png +0 -0
  2162. package/lib/shared/views/CometChatReceipt/resources/grey-tick-icon.png +0 -0
  2163. package/lib/shared/views/CometChatReceipt/resources/index.d.ts +7 -0
  2164. package/lib/shared/views/CometChatReceipt/resources/index.js +18 -0
  2165. package/lib/shared/views/CometChatReceipt/resources/index.js.map +1 -0
  2166. package/lib/shared/views/CometChatReceipt/resources/sending.png +0 -0
  2167. package/lib/shared/views/CometChatReceipt/style.d.ts +8 -0
  2168. package/lib/shared/views/CometChatReceipt/style.js +10 -0
  2169. package/lib/shared/views/CometChatReceipt/style.js.map +1 -0
  2170. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +9 -0
  2171. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +1138 -0
  2172. package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -0
  2173. package/lib/shared/views/CometChatSchedulerBubble/index.d.ts +3 -0
  2174. package/lib/shared/views/CometChatSchedulerBubble/index.js +2 -0
  2175. package/lib/shared/views/CometChatSchedulerBubble/index.js.map +1 -0
  2176. package/lib/shared/views/CometChatSchedulerBubble/styles.d.ts +114 -0
  2177. package/lib/shared/views/CometChatSchedulerBubble/styles.js +67 -0
  2178. package/lib/shared/views/CometChatSchedulerBubble/styles.js.map +1 -0
  2179. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.d.ts +12 -0
  2180. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js +35 -0
  2181. package/lib/shared/views/CometChatSingleSelect/CometChatSingleSelect.js.map +1 -0
  2182. package/lib/shared/views/CometChatSingleSelect/SingleStyle.d.ts +18 -0
  2183. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js +18 -0
  2184. package/lib/shared/views/CometChatSingleSelect/SingleStyle.js.map +1 -0
  2185. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.d.ts +18 -0
  2186. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js +36 -0
  2187. package/lib/shared/views/CometChatStatusIndicator/CometChatStatusIndicator.js.map +1 -0
  2188. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.d.ts +17 -0
  2189. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js +16 -0
  2190. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorConfiguration.js.map +1 -0
  2191. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.d.ts +20 -0
  2192. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js +22 -0
  2193. package/lib/shared/views/CometChatStatusIndicator/StatusIndicatorStyle.js.map +1 -0
  2194. package/lib/shared/views/CometChatStatusIndicator/index.d.ts +5 -0
  2195. package/lib/shared/views/CometChatStatusIndicator/index.js +5 -0
  2196. package/lib/shared/views/CometChatStatusIndicator/index.js.map +1 -0
  2197. package/lib/shared/views/CometChatStatusIndicator/styles.d.ts +12 -0
  2198. package/lib/shared/views/CometChatStatusIndicator/styles.js +15 -0
  2199. package/lib/shared/views/CometChatStatusIndicator/styles.js.map +1 -0
  2200. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.d.ts +19 -0
  2201. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js +27 -0
  2202. package/lib/shared/views/CometChatSuggestionList/CometChatSuggestionList.js.map +1 -0
  2203. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.d.ts +43 -0
  2204. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js +46 -0
  2205. package/lib/shared/views/CometChatSuggestionList/SuggestionItem.js.map +1 -0
  2206. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.d.ts +19 -0
  2207. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js +16 -0
  2208. package/lib/shared/views/CometChatSuggestionList/SuggestionListConfiguration.js.map +1 -0
  2209. package/lib/shared/views/CometChatSuggestionList/index.d.ts +5 -0
  2210. package/lib/shared/views/CometChatSuggestionList/index.js +5 -0
  2211. package/lib/shared/views/CometChatSuggestionList/index.js.map +1 -0
  2212. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.d.ts +20 -0
  2213. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js +70 -0
  2214. package/lib/shared/views/CometChatTextBubble/CometChatTextBubble.js.map +1 -0
  2215. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.d.ts +16 -0
  2216. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js +17 -0
  2217. package/lib/shared/views/CometChatTextBubble/TextBubbleStyle.js.map +1 -0
  2218. package/lib/shared/views/CometChatTextBubble/index.d.ts +4 -0
  2219. package/lib/shared/views/CometChatTextBubble/index.js +4 -0
  2220. package/lib/shared/views/CometChatTextBubble/index.js.map +1 -0
  2221. package/lib/shared/views/CometChatTextInput/CometChatTextInput.d.ts +12 -0
  2222. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js +37 -0
  2223. package/lib/shared/views/CometChatTextInput/CometChatTextInput.js.map +1 -0
  2224. package/lib/shared/views/CometChatTextInput/TextInputStyle.d.ts +13 -0
  2225. package/lib/shared/views/CometChatTextInput/TextInputStyle.js +13 -0
  2226. package/lib/shared/views/CometChatTextInput/TextInputStyle.js.map +1 -0
  2227. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.d.ts +12 -0
  2228. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js +69 -0
  2229. package/lib/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.js.map +1 -0
  2230. package/lib/shared/views/CometChatTimeSlotSelector/index.d.ts +3 -0
  2231. package/lib/shared/views/CometChatTimeSlotSelector/index.js +2 -0
  2232. package/lib/shared/views/CometChatTimeSlotSelector/index.js.map +1 -0
  2233. package/lib/shared/views/CometChatTimeSlotSelector/styles.d.ts +35 -0
  2234. package/lib/shared/views/CometChatTimeSlotSelector/styles.js +20 -0
  2235. package/lib/shared/views/CometChatTimeSlotSelector/styles.js.map +1 -0
  2236. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.d.ts +48 -0
  2237. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +103 -0
  2238. package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -0
  2239. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.d.ts +56 -0
  2240. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js +42 -0
  2241. package/lib/shared/views/CometChatVideoBubble/VideoBubbleStyle.js.map +1 -0
  2242. package/lib/shared/views/CometChatVideoBubble/index.d.ts +4 -0
  2243. package/lib/shared/views/CometChatVideoBubble/index.js +4 -0
  2244. package/lib/shared/views/CometChatVideoBubble/index.js.map +1 -0
  2245. package/lib/shared/views/CometChatVideoBubble/resources/default_image.png +0 -0
  2246. package/lib/shared/views/CometChatVideoBubble/resources/index.d.ts +3 -0
  2247. package/lib/shared/views/CometChatVideoBubble/resources/index.js +6 -0
  2248. package/lib/shared/views/CometChatVideoBubble/resources/index.js.map +1 -0
  2249. package/lib/shared/views/CometChatVideoBubble/resources/play.png +0 -0
  2250. package/lib/shared/views/CometChatVideoBubble/style.d.ts +7 -0
  2251. package/lib/shared/views/CometChatVideoBubble/style.js +9 -0
  2252. package/lib/shared/views/CometChatVideoBubble/style.js.map +1 -0
  2253. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.d.ts +19 -0
  2254. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js +64 -0
  2255. package/lib/shared/views/CometChatVideoPlayer/CometChatVideoPlayer.js.map +1 -0
  2256. package/lib/shared/views/CometChatVideoPlayer/index.d.ts +1 -0
  2257. package/lib/shared/views/CometChatVideoPlayer/index.js +2 -0
  2258. package/lib/shared/views/CometChatVideoPlayer/index.js.map +1 -0
  2259. package/lib/shared/views/SwipeRow/SwipeRow.d.ts +8 -0
  2260. package/lib/shared/views/SwipeRow/SwipeRow.js +70 -0
  2261. package/lib/shared/views/SwipeRow/SwipeRow.js.map +1 -0
  2262. package/lib/shared/views/SwipeRow/index.d.ts +2 -0
  2263. package/lib/shared/views/SwipeRow/index.js +3 -0
  2264. package/lib/shared/views/SwipeRow/index.js.map +1 -0
  2265. package/lib/shared/views/SwipeRow/style.d.ts +28 -0
  2266. package/lib/shared/views/SwipeRow/style.js +28 -0
  2267. package/lib/shared/views/SwipeRow/style.js.map +1 -0
  2268. package/lib/shared/views/index.d.ts +28 -0
  2269. package/lib/shared/views/index.js +30 -0
  2270. package/lib/shared/views/index.js.map +1 -0
  2271. package/package.json +8 -10
  2272. package/src/AI/AIAssistBot/AIAssistBotView.tsx +2 -2
  2273. package/src/AI/AIBaseConfiguration.ts +1 -0
  2274. package/src/AI/AIConversationStarter/AIConversationStarterDecorator.tsx +1 -1
  2275. package/src/AI/AIConversationSummary/AIConversationSummaryView.tsx +1 -1
  2276. package/src/AI/AISmartReplies/AISmartRepliesDecorator.tsx +1 -1
  2277. package/src/AI/CardView.tsx +1 -1
  2278. package/src/CometChatAddMembers/AddMembersConfiguration.tsx +1 -0
  2279. package/src/CometChatBannedMembers/BannedMembersConfiguration.tsx +1 -0
  2280. package/src/CometChatBannedMembers/CometChatBannedMembers.tsx +13 -2
  2281. package/src/CometChatContacts/Header.tsx +3 -3
  2282. package/src/CometChatConversations/CometChatConversations.tsx +14 -8
  2283. package/src/CometChatConversations/ConversationsConfiguration.ts +1 -0
  2284. package/src/CometChatDetails/CometChatDetails.tsx +21 -19
  2285. package/src/CometChatDetails/DetailsConfiguration.tsx +1 -0
  2286. package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +2 -2
  2287. package/src/CometChatGroupMembers/GroupMemberConfiguration.ts +1 -0
  2288. package/src/CometChatGroups/CometChatGroups.tsx +1 -1
  2289. package/src/CometChatGroups/GroupsConfiguration.ts +1 -1
  2290. package/src/CometChatGroupsWithMessages/CometChatGroupsWithMessages.tsx +1 -1
  2291. package/src/CometChatJoinProtectedGroup/CometChatJoinProtectedGroup.tsx +4 -2
  2292. package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +11 -11
  2293. package/src/CometChatMessageComposer/MessageComposerConfiguration.tsx +2 -2
  2294. package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +6 -5
  2295. package/src/CometChatMessageHeader/MessageHeaderConfiguration.tsx +1 -0
  2296. package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +1 -1
  2297. package/src/CometChatMessageList/CometChatMessageList.tsx +52 -134
  2298. package/src/CometChatMessageList/MessageListConfiguration.ts +1 -0
  2299. package/src/CometChatMessages/CometChatMessages.tsx +122 -91
  2300. package/src/CometChatMessages/MessagesConfiguration.ts +1 -0
  2301. package/src/CometChatTabs/CometChatTabs.tsx +1 -1
  2302. package/src/CometChatTabs/TabItems.ts +1 -0
  2303. package/src/CometChatThreadedMessages/CometChatThreadedMessages.tsx +1 -1
  2304. package/src/CometChatThreadedMessages/ThreadedMessagesConfiguration.ts +1 -0
  2305. package/src/CometChatTransferOwnership/TransferOwnershipConfiguration.ts +1 -0
  2306. package/src/CometChatUsers/CometChatUsers.tsx +14 -3
  2307. package/src/CometChatUsers/UsersConfiguration.tsx +1 -0
  2308. package/src/calls/CallingDetailsUtils.tsx +8 -8
  2309. package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +1 -1
  2310. package/src/calls/CometChatCallLogDetails/CallLogDetailsConfiguration.ts +1 -0
  2311. package/src/calls/CometChatCallLogDetails/CometChatCallLogDetails.tsx +7 -7
  2312. package/src/calls/CometChatCallLogHistory/CallLogHistoryConfiguration.ts +1 -0
  2313. package/src/calls/CometChatCallLogHistory/CometChatCallLogHistory.tsx +6 -6
  2314. package/src/calls/CometChatCallLogParticipants/CallLogParticipantsConfiguration.ts +1 -0
  2315. package/src/calls/CometChatCallLogParticipants/CometChatCallLogParticipants.tsx +4 -4
  2316. package/src/calls/CometChatCallLogRecordings/CallLogRecordingsConfiguration.ts +1 -0
  2317. package/src/calls/CometChatCallLogRecordings/CometChatCallLogRecordings.tsx +3 -3
  2318. package/src/calls/CometChatCallLogs/CallLogsConfiguration.ts +1 -0
  2319. package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +5 -5
  2320. package/src/calls/CometChatIncomingCall/CometChatIncomingCall.tsx +1 -1
  2321. package/src/extensions/ImageModeration/ImageModerationDecorator.tsx +1 -1
  2322. package/src/extensions/ImageModeration/ImageModerationFilter.tsx +1 -1
  2323. package/src/extensions/LinkPreview/LinkPreviewBubble.tsx +1 -1
  2324. package/src/extensions/LinkPreview/LinkPreviewExtentionDecorator.tsx +1 -1
  2325. package/src/extensions/MessageTranslation/MessageTranslationBubble.tsx +4 -4
  2326. package/src/extensions/MessageTranslation/MessageTranslationDecorator.tsx +1 -1
  2327. package/src/extensions/Stickers/StickersExtensionDecorator.tsx +1 -1
  2328. package/src/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.tsx +1 -1
  2329. package/src/imageresolver.d.ts +4 -0
  2330. package/src/index.ts +1 -0
  2331. package/src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx +1 -1
  2332. package/src/shared/formatters/CometChatTextFormatter.ts +1 -0
  2333. package/src/shared/formatters/CometChatUrlsFormatter/index.tsx +1 -1
  2334. package/src/shared/framework/DataSource.ts +1 -0
  2335. package/src/shared/framework/MessageDataSource.tsx +1 -1
  2336. package/src/shared/helper/types/index.ts +1 -0
  2337. package/src/shared/libs/CometChatCalendar/Entities/Components.ts +1 -0
  2338. package/src/shared/libs/ImageZoom/ReactNativeZoomableView.tsx +1 -1
  2339. package/src/shared/libs/ImageZoom/ReactNativeZoomableViewWithGestures.tsx +1 -1
  2340. package/src/shared/modals/CometChatCallLogDetailsOptions.ts +1 -0
  2341. package/src/shared/modals/CometChatDetailsOption.ts +1 -1
  2342. package/src/shared/modals/CometChatMessageOption.ts +1 -0
  2343. package/src/shared/modals/CometChatMessageTemplate.ts +1 -0
  2344. package/src/shared/utils/MessageUtils.tsx +1 -1
  2345. package/src/shared/views/CometChatAICard/CometChatAICard.tsx +3 -3
  2346. package/src/shared/views/CometChatActionSheet/CometChatActionSheet.tsx +4 -4
  2347. package/src/shared/views/CometChatAudioBubble/CometChatAudioBubble.tsx +1 -1
  2348. package/src/shared/views/CometChatBottomSheet/CometChatBottomSheet.tsx +3 -0
  2349. package/src/shared/views/CometChatCard/CometChatCard.tsx +3 -3
  2350. package/src/shared/views/CometChatCardBubble/CometChatCardBubble.tsx +1 -1
  2351. package/src/shared/views/CometChatCheckBox/CometChatCheckBox.tsx +2 -2
  2352. package/src/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.tsx +14 -14
  2353. package/src/shared/views/CometChatDropDown/CometChatDropDown.tsx +3 -3
  2354. package/src/shared/views/CometChatFormBubble/CometChatFormBubble.tsx +1 -1
  2355. package/src/shared/views/CometChatLabel/CometChatLabel.tsx +1 -1
  2356. package/src/shared/views/CometChatList/CometChatList.tsx +10 -9
  2357. package/src/shared/views/CometChatListItem/CometChatListItem.tsx +1 -1
  2358. package/src/shared/views/CometChatMessageBubble/CometChatMessageBubble.tsx +1 -1
  2359. package/src/shared/views/CometChatPanel/CometChatPanel.tsx +2 -2
  2360. package/src/shared/views/CometChatQuickReactions/CometChatQuickReactions.tsx +1 -1
  2361. package/src/shared/views/CometChatRadioButton/CometChatRadioButton.tsx +2 -2
  2362. package/src/shared/views/CometChatReactionList/CometChatReactionList.tsx +24 -24
  2363. package/src/shared/views/CometChatReactions/CometChatReactions.tsx +1 -1
  2364. package/src/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.tsx +17 -17
  2365. package/src/shared/views/CometChatSingleSelect/CometChatSingleSelect.tsx +2 -2
  2366. package/src/shared/views/CometChatTextInput/CometChatTextInput.tsx +1 -1
  2367. package/src/shared/views/CometChatTimeSlotSelector/CometChatTimeSlotSelector.tsx +3 -3
@@ -0,0 +1,1620 @@
1
+ import React, { forwardRef, useEffect, useRef, useState, useImperativeHandle, useContext, useCallback, memo, useLayoutEffect } from "react";
2
+ import { View, Text, Image, TouchableOpacity, ActivityIndicator, NativeModules, ScrollView, Dimensions, Platform, Keyboard } from "react-native";
3
+ //@ts-ignore
4
+ import { CometChat } from "@cometchat/chat-sdk-react-native";
5
+ import { LeftArrowCurve } from "./resources";
6
+ import { CometChatContext, CometChatMentionsFormatter, CometChatUiKitConstants, SuggestionItem } from "../shared";
7
+ import { MessageBubbleStyle } from "../shared/views/CometChatMessageBubble/MessageBubbleStyle";
8
+ import { AvatarStyle } from "../shared";
9
+ import { CometChatAvatar, CometChatDate, CometChatReceipt, DateStyle } from "../shared";
10
+ import { MessageListStyle } from "./MessageListStyle";
11
+ import { CometChatMessageBubble } from "../shared/views/CometChatMessageBubble";
12
+ import { CallTypeConstants, MessageCategoryConstants, MessageOptionConstants, MessageStatusConstants, MessageTypeConstants, ReceiverTypeConstants, ViewAlignment } from "../shared/constants/UIKitConstants";
13
+ import { localize } from "../shared";
14
+ import { downArrowIcon } from "./resources";
15
+ import { Style } from "./style";
16
+ import { CometChatSoundManager } from "../shared";
17
+ import { MessageEvents } from "../shared/events/messages";
18
+ import { ChatConfigurator } from "../shared/framework/ChatConfigurator";
19
+ import { CometChatActionSheet, ActionSheetStyles, CometChatBottomSheet } from "../shared";
20
+ import { getUnixTimestamp, messageStatus } from "../shared/utils/CometChatMessageHelper";
21
+ import { CometChatUIEventHandler } from "../shared/events/CometChatUIEventHandler/CometChatUIEventHandler";
22
+ import { CometChatMessageInformation } from "../CometChatMessageInformation/CometChatMessageInformation";
23
+ import { InteractiveMessageUtils } from "../shared/utils/InteractiveMessageUtils";
24
+ import { CometChatEmojiKeyboard } from "../shared/views/CometChatEmojiKeyboard";
25
+ import { CometChatReactionList } from "../shared/views/CometChatReactionList";
26
+ import { CometChatQuickReactions } from "../shared/views/CometChatQuickReactions";
27
+ import { CometChatReactions } from "../shared/views/CometChatReactions";
28
+ import { CommonUtils } from "../shared/utils/CommonUtils";
29
+ //@ts-ignore
30
+ import Clipboard from "@react-native-clipboard/clipboard";
31
+ import { commonVars } from "../shared/base/vars";
32
+ let templatesMap = new Map();
33
+ let _defaultRequestBuilder;
34
+ export const CometChatMessageList = memo(forwardRef((props, ref) => {
35
+ const { parentMessageId, user, group, EmptyStateView, emptyStateText = localize("NO_MESSAGES_FOUND"), ErrorStateView, errorStateText = localize("SOMETHING_WRONG"), hideError, LoadingStateView, disableReceipt = false, hideReceipt = false, disableSoundForMessages, customSoundForMessages, readIcon, deliveredIcon, sentIcon, waitIcon, errorIcon, alignment = "standard", showAvatar = true, datePattern, timeStampAlignment = "bottom", dateSeparatorPattern, templates = [], messageRequestBuilder, newMessageIndicatorText, scrollToBottomOnNewMessages, onThreadRepliesPress, HeaderView, FooterView, wrapperMessageBubbleStyle, avatarStyle, dateSeperatorStyle, actionSheetStyle, messageListStyle, onError, onBack,
36
+ // forwardMessageConfiguration
37
+ messageInformationConfiguration, hideActionSheetHeader = true, reactionsConfiguration, disableReactions, reactionListConfiguration, quickReactionConfiguration, emojiKeyboardStyle, disableMentions, textFormatters } = props;
38
+ const callListenerId = "call_" + new Date().getTime();
39
+ const groupListenerId = "group_" + new Date().getTime();
40
+ const uiEventListener = "uiEvent_" + new Date().getTime();
41
+ const callEventListener = 'callEvent_' + new Date().getTime();
42
+ const uiEventListenerShow = "uiEvent_show_" + new Date().getTime();
43
+ const uiEventListenerHide = "uiEvent_hide_" + new Date().getTime();
44
+ const connectionListenerId = 'connectionListener_' + new Date().getTime();
45
+ const messageEventListener = "messageEvent_" + new Date().getTime();
46
+ const groupEventListener = "groupEvent_" + new Date().getTime();
47
+ useLayoutEffect(() => {
48
+ if (user) {
49
+ _defaultRequestBuilder = new CometChat.MessagesRequestBuilder()
50
+ .setLimit(30)
51
+ .setTags([])
52
+ .setUID(user.getUid());
53
+ }
54
+ else if (group) {
55
+ _defaultRequestBuilder = new CometChat.MessagesRequestBuilder()
56
+ .setLimit(30)
57
+ .setTags([])
58
+ .setGUID(group.getGuid());
59
+ }
60
+ _defaultRequestBuilder.setTypes(ChatConfigurator.dataSource.getAllMessageTypes());
61
+ _defaultRequestBuilder.setCategories(ChatConfigurator.dataSource.getAllMessageCategories());
62
+ //updating users request builder
63
+ let _updatedCustomRequestBuilder = _defaultRequestBuilder;
64
+ if (messageRequestBuilder) {
65
+ _updatedCustomRequestBuilder = messageRequestBuilder;
66
+ if (user)
67
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setUID(user.getUid());
68
+ if (group)
69
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setGUID(group.getGuid());
70
+ }
71
+ else {
72
+ _updatedCustomRequestBuilder.hideReplies(true);
73
+ if (user)
74
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setUID(user.getUid());
75
+ if (group)
76
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setGUID(group.getGuid());
77
+ if (parentMessageId)
78
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setParentMessageId(parseInt(parentMessageId));
79
+ let types = [], categories = [];
80
+ if (templates.length) {
81
+ types = templates.map(template => template.type);
82
+ categories = templates.map(template => template.category);
83
+ }
84
+ else {
85
+ types = ChatConfigurator.dataSource.getAllMessageTypes();
86
+ categories = ChatConfigurator.dataSource.getAllMessageCategories();
87
+ }
88
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setTypes(types);
89
+ _updatedCustomRequestBuilder = _updatedCustomRequestBuilder.setCategories(categories);
90
+ }
91
+ msgRequestBuilder.current = _updatedCustomRequestBuilder;
92
+ }, []);
93
+ const { theme } = useContext(CometChatContext);
94
+ let Keyboard_Height = 0;
95
+ let scrollPos = 0;
96
+ // creating style based on styles from users
97
+ const _messageListStyle = useRef(new MessageListStyle({
98
+ backgroundColor: theme?.palette.getBackgroundColor(),
99
+ emptyStateTextColor: theme?.palette.getError(),
100
+ emptyStateTextFont: theme?.typography.subtitle1,
101
+ errorStateTextColor: theme?.palette.getAccent(),
102
+ errorStateTextFont: theme?.typography.title1,
103
+ loadingIconTint: theme?.palette.getPrimary(),
104
+ nameTextColor: theme?.palette.getAccent(),
105
+ nameTextFont: theme?.typography.name,
106
+ threadReplyIconTint: theme?.palette.getAccent700(),
107
+ threadReplySeparatorColor: theme?.palette.getAccent100(),
108
+ threadReplyTextColor: theme?.palette.getPrimary(),
109
+ threadReplyTextFont: theme?.typography.body,
110
+ timestampTextColor: theme?.palette.getAccent500(),
111
+ timestampTextFont: theme?.typography.caption1,
112
+ ...messageListStyle
113
+ })).current;
114
+ const _avatarStyle = useRef(new AvatarStyle({
115
+ nameTextColor: _messageListStyle.nameTextColor,
116
+ nameTextFont: _messageListStyle.nameTextFont,
117
+ ...avatarStyle
118
+ })).current;
119
+ const _dateSeperatorStyle = useRef(new DateStyle({
120
+ textColor: _messageListStyle.timestampTextColor,
121
+ textFont: theme?.typography.title2,
122
+ ...dateSeperatorStyle
123
+ })).current;
124
+ const messageBubbleDateStyle = useRef(new DateStyle({
125
+ textColor: _messageListStyle.timestampTextColor,
126
+ textFont: _messageListStyle.timestampTextFont
127
+ })).current;
128
+ const _actionStyle = useRef(new ActionSheetStyles({
129
+ backgroundColor: theme?.palette?.getBackgroundColor(),
130
+ ...actionSheetStyle
131
+ })).current;
132
+ const _messageBubbleStyle = useRef(new MessageBubbleStyle({
133
+ ...wrapperMessageBubbleStyle
134
+ })).current;
135
+ // refs
136
+ const currentScrollPosition = useRef({ y: null, scrollViewHeight: 0, layoutHeight: 0, contentHeight: 0 });
137
+ const previousScrollPosition = useRef({ y: 0, scrollViewHeight: 0 });
138
+ const messagesLength = useRef(0);
139
+ const prevMessagesLength = useRef(0);
140
+ const messageListRef = useRef(null);
141
+ const loggedInUser = useRef(null);
142
+ const messageRequest = useRef(null);
143
+ const messagesContentListRef = useRef([]);
144
+ const msgRequestBuilder = useRef(undefined);
145
+ const lastMessageDate = useRef(new Date().getTime());
146
+ // states
147
+ const [messagesList, setMessagesList] = useState([]);
148
+ const [listState, setListState] = useState("loading");
149
+ const [loadingMessages, setLoadingMessages] = useState(false);
150
+ const [unreadCount, setUnreadCount] = useState(0);
151
+ const [showMessageOptions, setShowMessageOptions] = useState([]);
152
+ const [ExtensionsComponent, setExtensionsComponent] = useState(null);
153
+ const [CustomListHeader, setCustomListHeader] = useState(null);
154
+ const [messageInfo, setMessageInfo] = useState(false);
155
+ const [ongoingCallView, setOngoingCallView] = useState(null);
156
+ const [selectedMessage, setSelectedMessage] = useState(null);
157
+ const [showEmojiKeyboard, setShowEmojiKeyboard] = useState(false);
158
+ const [showReactionList, setShowReactionList] = useState(false);
159
+ const [selectedEmoji, setSelectedEmoji] = useState(undefined);
160
+ const [hasDismissed, setHasDismissed] = useState(false);
161
+ // const [forwarding, setForwarding] = useState(false);
162
+ const infoObject = useRef(undefined);
163
+ const inProgressMessages = useRef([]);
164
+ // const messageToForward = useRef<CometChat.BaseMessage>();
165
+ const bottomSheetRef = useRef(null);
166
+ const conversationId = useRef(null);
167
+ let lastID = useRef(0);
168
+ let isKeyBoardVisible = useRef(false);
169
+ const scrollHandler = (event) => {
170
+ /********************************************************************************
171
+ * layoutMeasurement.height: The height of the visible area within the ScrollView.
172
+ * contentOffset.y: The current vertical scroll position (distance from the top of the content).
173
+ The y value in contentOffset indicates how far the top edge of the visible area is from the top of the scrollable content.
174
+ The x value (if applicable) indicates how far the left edge of the visible area is from the left of the scrollable content.
175
+ For example:
176
+ If contentOffset.y is 0, the top of the visible area is aligned with the top of the content.
177
+ If contentOffset.y is 50, the top of the visible area is 50 units (pixels) below the top of the content.
178
+ * contentSize.height: The total height of the scrollable content.
179
+ *********************************************************************************/
180
+ const { layoutMeasurement, contentOffset, contentSize } = event.nativeEvent;
181
+ const screenHeight = Dimensions.get('window').height;
182
+ // Calculate the scroll position
183
+ const scrollPosition = layoutMeasurement.height + contentOffset.y;
184
+ const scrollEndPosition = contentSize.height - screenHeight;
185
+ currentScrollPosition.current.y = contentOffset.y;
186
+ currentScrollPosition.current.contentHeight = contentSize.height;
187
+ if (currentScrollPosition.current.layoutHeight != layoutMeasurement.height) {
188
+ currentScrollPosition.current.layoutHeight = layoutMeasurement.height;
189
+ }
190
+ if (currentScrollPosition.current.scrollViewHeight !== contentSize.height) {
191
+ currentScrollPosition.current.scrollViewHeight = contentSize.height;
192
+ }
193
+ // Check if the scroll position is at the end
194
+ if (scrollPosition >= scrollEndPosition && unreadCount > 0) {
195
+ markUnreadMessageAsRead();
196
+ }
197
+ };
198
+ const markUnreadMessageAsRead = () => {
199
+ for (let index = 0; index < unreadCount; index++) {
200
+ const message = messagesContentListRef.current[messagesContentListRef.current.length - (index + 1)];
201
+ if (index == 0)
202
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageRead, { message });
203
+ CometChat.markAsRead(message);
204
+ setUnreadCount(0);
205
+ }
206
+ };
207
+ const newMsgIndicatorPressed = () => {
208
+ messageListRef.current?.scrollToEnd({ animated: true });
209
+ markUnreadMessageAsRead();
210
+ };
211
+ const getPreviousMessages = async () => {
212
+ if (messagesList.length == 0)
213
+ setListState("loading");
214
+ else
215
+ setLoadingMessages(true);
216
+ // TODO: this condition is applied because somewhere from whiteboard extention group scope is set to undefined.
217
+ if (group != undefined && group.getGuid() == undefined) {
218
+ let fetchedGroup = await CometChat.getGroup(group.getGuid()).catch((e) => {
219
+ console.log("Error: fetching group", e);
220
+ onError && onError(e);
221
+ });
222
+ group.setScope(fetchedGroup['scope']);
223
+ }
224
+ messageRequest.current?.fetchPrevious()
225
+ .then((msgs) => {
226
+ let reversed = msgs.reverse();
227
+ if (messagesList.length === 0 && msgs?.length > 0) {
228
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccActiveChatChanged, { message: reversed[0], user: user, group: group, theme: theme, parentMessageId: parentMessageId });
229
+ if (conversationId.current == null)
230
+ conversationId.current = reversed[0].getConversationId();
231
+ }
232
+ else if (messagesList.length === 0 && !props?.parentMessageId) {
233
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccActiveChatChanged, { message: reversed[0], user: user, group: group, theme: theme, parentMessageId: parentMessageId });
234
+ }
235
+ for (let index = 0; index < reversed.length; index++) {
236
+ const message = reversed[index];
237
+ if (message && !disableReceipt && !message.hasOwnProperty("readAt") && loggedInUser.current?.getUid() != message?.getSender()?.getUid()) {
238
+ CometChat.markAsRead(message);
239
+ if (index == 0)
240
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageRead, { message });
241
+ }
242
+ else
243
+ break;
244
+ }
245
+ reversed = reversed.map((item, index) => {
246
+ if (item.getCategory() === MessageCategoryConstants.interactive) {
247
+ return InteractiveMessageUtils.convertInteractiveMessage(item);
248
+ }
249
+ else {
250
+ return item;
251
+ }
252
+ });
253
+ if (reversed.length > 0) {
254
+ let reversedData = [...reversed.reverse()];
255
+ messagesContentListRef.current = [...reversedData, ...messagesContentListRef.current];
256
+ setMessagesList([...reversedData, ...messagesList]);
257
+ }
258
+ if (messagesList.length == 0)
259
+ setListState("");
260
+ else
261
+ setLoadingMessages(false);
262
+ })
263
+ .catch((e) => {
264
+ if (messagesList.length == 0)
265
+ setListState("error");
266
+ else
267
+ setLoadingMessages(false);
268
+ onError && onError(e);
269
+ });
270
+ };
271
+ const getUpdatedPreviousMessages = () => {
272
+ let messagesRequest = new CometChat.MessagesRequestBuilder().setLimit(50);
273
+ if (user)
274
+ messagesRequest = messagesRequest.setUID(user.getUid());
275
+ if (group)
276
+ messagesRequest = messagesRequest.setGUID(group.getGuid());
277
+ messagesRequest.setTypes([MessageCategoryConstants.message]);
278
+ messagesRequest.setCategories([MessageCategoryConstants.action]);
279
+ messagesRequest.setMessageId(lastID.current);
280
+ messagesRequest.build()
281
+ .fetchNext()
282
+ .then((updatedMessages) => {
283
+ let tmpList = [...messagesContentListRef.current];
284
+ for (let i = 0; i < updatedMessages.length; i++) {
285
+ let condition = (msg) => msg.getId() == updatedMessages[i]?.actionOn.getId();
286
+ let msgIndex = messagesContentListRef.current.findIndex(condition);
287
+ if (msgIndex > -1) {
288
+ tmpList[msgIndex] = updatedMessages[i]?.actionOn;
289
+ }
290
+ }
291
+ // console.log("UPDATES LIST LENGTH", tmpList.length)
292
+ // setMessagesList(tmpList);
293
+ getNewMessages(tmpList);
294
+ })
295
+ .catch((e) => console.log("error while fetching updated msgs", e));
296
+ };
297
+ const getNewMessages = (updatedList) => {
298
+ let newRequestBuilder = msgRequestBuilder.current;
299
+ newRequestBuilder?.setMessageId(lastID.current);
300
+ newRequestBuilder?.build()
301
+ .fetchNext()
302
+ .then((newMessages) => {
303
+ let cleanUpdatedList = [...updatedList];
304
+ let finalOutput = CommonUtils.mergeArrays(cleanUpdatedList, newMessages, "id");
305
+ let tmpList = [...finalOutput];
306
+ tmpList = tmpList.map((item, index) => {
307
+ if (item.getCategory() === MessageCategoryConstants.interactive) {
308
+ return InteractiveMessageUtils.convertInteractiveMessage(item);
309
+ }
310
+ else {
311
+ return item;
312
+ }
313
+ });
314
+ if (inProgressMessages.current.length) {
315
+ const filteredInProgressMessages = inProgressMessages.current.filter(secondItem => tmpList.some(firstItem => firstItem.muid === secondItem.muid));
316
+ const combinedArray = CommonUtils.mergeArrays(tmpList, filteredInProgressMessages, "muid");
317
+ tmpList = combinedArray;
318
+ }
319
+ messagesContentListRef.current = tmpList;
320
+ setMessagesList(tmpList);
321
+ for (let i = newMessages.length - 1; i >= 0; i--) {
322
+ if (newMessages[i].getSender().getUid() !== loggedInUser.current.getUid()) {
323
+ bottomHandler(newMessages[i], true);
324
+ break;
325
+ }
326
+ }
327
+ if (newMessages.length === 30) {
328
+ getNewMessages(tmpList);
329
+ }
330
+ newRequestBuilder?.setMessageId(undefined);
331
+ })
332
+ .catch((e) => console.log("error while fetching updated msgs", e));
333
+ };
334
+ const loadTemplates = useCallback(() => {
335
+ let _formatters = textFormatters || [];
336
+ let templates = ChatConfigurator.dataSource.getAllMessageTemplates(theme, {
337
+ textFormatters: _formatters,
338
+ disableMentions: disableMentions
339
+ });
340
+ templates.forEach(template => {
341
+ if (templatesMap.get(`${template.category}_${template.type}`))
342
+ return;
343
+ templatesMap.set(`${template.category}_${template.type}`, template);
344
+ });
345
+ }, []);
346
+ const getPlainString = (underlyingText, messageObject) => {
347
+ let _plainString = underlyingText;
348
+ let regexes = [];
349
+ let users = {};
350
+ let edits = [];
351
+ let allFormatters = [...(textFormatters || [])];
352
+ let mentionsTextFormatter = ChatConfigurator.getDataSource().getMentionsFormatter(loggedInUser.current);
353
+ allFormatters.push(mentionsTextFormatter);
354
+ allFormatters.forEach((formatter, key) => {
355
+ regexes.push(formatter.getRegexPattern());
356
+ let suggestionUsers = formatter.getSuggestionItems();
357
+ if (formatter instanceof CometChatMentionsFormatter) {
358
+ let mentionUsers = (messageObject?.getMentionedUsers && messageObject?.getMentionedUsers()).map((item) => new SuggestionItem({
359
+ id: item.getUid(),
360
+ name: item.getName(),
361
+ promptText: "@" + item.getName(),
362
+ trackingCharacter: "@",
363
+ underlyingText: `<@uid:${item.getUid()}>`,
364
+ hideLeadingIcon: false
365
+ })) || [];
366
+ suggestionUsers = [...suggestionUsers, ...mentionUsers];
367
+ }
368
+ suggestionUsers?.length > 0 && suggestionUsers.forEach((item) => users[item.underlyingText] = item);
369
+ });
370
+ regexes.forEach(regex => {
371
+ let match;
372
+ while ((match = regex.exec(_plainString)) !== null) {
373
+ const user = users[match[0]];
374
+ if (user) {
375
+ edits.push({
376
+ startIndex: match.index,
377
+ endIndex: regex.lastIndex,
378
+ replacement: user.promptText,
379
+ user
380
+ });
381
+ }
382
+ }
383
+ });
384
+ // Sort edits by startIndex to apply them in order
385
+ edits.sort((a, b) => a.startIndex - b.startIndex);
386
+ // Get an array of the entries in the map using the spread operator
387
+ const entries = [...edits].reverse();
388
+ // Iterate over the array in reverse order
389
+ entries.forEach(({ endIndex, replacement, startIndex, user }) => {
390
+ let pre = _plainString.substring(0, startIndex);
391
+ let post = _plainString.substring(endIndex);
392
+ _plainString = pre + replacement + post;
393
+ });
394
+ return _plainString;
395
+ };
396
+ const playNotificationSound = useCallback((message) => {
397
+ if (disableSoundForMessages)
398
+ return;
399
+ if (message?.category === MessageCategoryConstants.message) {
400
+ if (customSoundForMessages) {
401
+ CometChatSoundManager.play(loggedInUser.current?.getUid() == message['sender']['uid'] ? "outgoingMessage" : "incomingMessage", customSoundForMessages);
402
+ }
403
+ else {
404
+ CometChatSoundManager.play(
405
+ // "incomingMessage"
406
+ loggedInUser.current?.getUid() == message['sender']['uid'] ? "outgoingMessage" : "incomingMessage");
407
+ }
408
+ }
409
+ }, []);
410
+ const scrollToBottom = useCallback((scrollToFirstUnread = false) => {
411
+ if (messageListRef.current && messagesContentListRef.current.length > 0) {
412
+ let firstUnreadPosition = previousScrollPosition.current.scrollViewHeight;
413
+ if (scrollToFirstUnread) {
414
+ setTimeout(() => {
415
+ messageListRef.current?.scrollTo({ x: 0, y: firstUnreadPosition, animated: false });
416
+ }, 0);
417
+ }
418
+ else {
419
+ setTimeout(() => {
420
+ messageListRef.current?.scrollToEnd({ animated: true });
421
+ }, 0);
422
+ }
423
+ }
424
+ }, []);
425
+ const markMessageAsRead = (message) => {
426
+ if (!disableReceipt && !message?.readAt) {
427
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageRead, { message });
428
+ CometChat.markAsRead(message)
429
+ .catch((error) => {
430
+ console.log("Error", error);
431
+ onError && onError(error);
432
+ // errorHandler(error);
433
+ });
434
+ }
435
+ };
436
+ function checkMessageInSameConversation(message) {
437
+ return (message?.getReceiverType() == ReceiverTypeConstants.user &&
438
+ user &&
439
+ user?.getUid() == message.getReceiver()?.['uid']) ||
440
+ (message?.getReceiverType() == ReceiverTypeConstants.group &&
441
+ message.getReceiverId() &&
442
+ group &&
443
+ group?.getGuid() == message.getReceiverId() || false);
444
+ }
445
+ function messageToSameConversation(message) {
446
+ return (message?.getReceiverType() == ReceiverTypeConstants.user &&
447
+ user &&
448
+ user?.getUid() == message.getReceiverId()) ||
449
+ (message?.getReceiverType() == ReceiverTypeConstants.group &&
450
+ message.getReceiverId() &&
451
+ group &&
452
+ group?.getGuid() == message.getReceiverId() || false);
453
+ }
454
+ function checkSameConversation(message) {
455
+ return message.getConversationId() == conversationId.current ||
456
+ (message.getSender()?.getUid() === user?.getUid() && message.getReceiverType() == CometChatUiKitConstants.ReceiverTypeConstants.user);
457
+ }
458
+ function isNearBottom() {
459
+ const { layoutHeight, scrollViewHeight, y } = currentScrollPosition.current;
460
+ let scrollPos = scrollViewHeight - (layoutHeight + y);
461
+ let scrollPosFromBottomInPercentage = (scrollPos / layoutHeight) * 100;
462
+ if (scrollPosFromBottomInPercentage <= 30) { // 30% from bottom
463
+ return true;
464
+ }
465
+ return false;
466
+ }
467
+ const newMessage = (newMessage, isReceived = true) => {
468
+ let baseMessage = newMessage;
469
+ if (baseMessage.getCategory() === MessageCategoryConstants.interactive) {
470
+ newMessage = InteractiveMessageUtils.convertInteractiveMessage(baseMessage);
471
+ }
472
+ if (checkSameConversation(baseMessage) || checkMessageInSameConversation(baseMessage) || messageToSameConversation(baseMessage)) {
473
+ if (!disableReceipt) {
474
+ CometChat.markAsDelivered(newMessage);
475
+ }
476
+ //need to add
477
+ if (newMessage.getParentMessageId()) {
478
+ if (parentMessageId && newMessage.getParentMessageId() == parseInt(parentMessageId)) {
479
+ // add to list
480
+ messagesContentListRef.current = [...messagesContentListRef.current, newMessage];
481
+ setMessagesList(prev => [...prev, newMessage]);
482
+ }
483
+ else {
484
+ //increase count
485
+ let index = messagesList.findIndex(msg => msg.id === newMessage.parentMessageId);
486
+ let oldMsg = CommonUtils.clone(messagesList[index]);
487
+ oldMsg.setReplyCount(oldMsg.getReplyCount() ? oldMsg.getReplyCount() + 1 : 1);
488
+ // if ((newMessage?.sender?.uid !== loggedInUser.current?.['uid'])) {
489
+ // oldMsg.setUnreadReplyCount(oldMsg.getUnreadReplyCount() ? oldMsg.getUnreadReplyCount() + 1 : 1);
490
+ // }
491
+ let tmpList = [...messagesList];
492
+ tmpList[index] = oldMsg;
493
+ messagesContentListRef.current = tmpList;
494
+ setMessagesList(tmpList);
495
+ return;
496
+ }
497
+ }
498
+ else if (parentMessageId == undefined) {
499
+ messagesContentListRef.current = [...messagesContentListRef.current, newMessage];
500
+ setMessagesList(prev => [...prev, newMessage]);
501
+ }
502
+ bottomHandler(newMessage, isReceived);
503
+ }
504
+ playNotificationSound(newMessage);
505
+ };
506
+ const isAtBottom = () => {
507
+ if ([null, undefined].includes(currentScrollPosition.current.y)
508
+ || !currentScrollPosition.current.layoutHeight
509
+ || !currentScrollPosition.current.contentHeight) {
510
+ return true;
511
+ }
512
+ else if (currentScrollPosition.current.layoutHeight + currentScrollPosition.current.y >= currentScrollPosition.current.contentHeight) {
513
+ return true;
514
+ }
515
+ return false;
516
+ };
517
+ const bottomHandler = (newMessage, isReceived) => {
518
+ if ((newMessage.getSender()?.getUid() || newMessage?.['sender']?.['uid']) == loggedInUser.current?.['uid']) {
519
+ scrollToBottom();
520
+ return;
521
+ }
522
+ if (!isReceived) {
523
+ return;
524
+ }
525
+ if ((!parentMessageId && newMessage.getParentMessageId())
526
+ || (parentMessageId && !newMessage.getParentMessageId())
527
+ || (parentMessageId && newMessage.getParentMessageId() && parentMessageId != newMessage.getParentMessageId())) {
528
+ return;
529
+ }
530
+ if (isAtBottom() || isNearBottom()) {
531
+ scrollToBottom();
532
+ markMessageAsRead(newMessage);
533
+ }
534
+ else {
535
+ if (scrollToBottomOnNewMessages) {
536
+ scrollToBottom();
537
+ markMessageAsRead(newMessage);
538
+ }
539
+ else {
540
+ setUnreadCount(unreadCount + 1);
541
+ }
542
+ }
543
+ };
544
+ const markParentMessageAsRead = (message) => {
545
+ let condition;
546
+ condition = (msg) => msg.getId() == message?.['parentMessageId'];
547
+ let msgIndex = messagesList.findIndex(condition);
548
+ if (msgIndex > -1) {
549
+ let tmpList = [...messagesList];
550
+ if (message.getCategory() === MessageCategoryConstants.interactive) {
551
+ message = InteractiveMessageUtils.convertInteractiveMessage(message);
552
+ }
553
+ tmpList[msgIndex]?.setUnreadReplyCount(0);
554
+ messagesContentListRef.current = tmpList;
555
+ setMessagesList(tmpList);
556
+ }
557
+ };
558
+ const messageEdited = (editedMessage, withMuid = false) => {
559
+ let condition;
560
+ if (withMuid) {
561
+ condition = (msg) => msg['muid'] == editedMessage['muid'];
562
+ //inProgressMessages.current = inProgressMessages.current.filter((item: anyObject) => item.muid !== editedMessage['muid'])
563
+ }
564
+ else
565
+ condition = (msg) => msg.getId() == editedMessage.getId();
566
+ let msgIndex = messagesContentListRef.current.findIndex(condition);
567
+ if (msgIndex > -1) {
568
+ let tmpList = [...messagesContentListRef.current];
569
+ if (editedMessage.getCategory() === MessageCategoryConstants.interactive) {
570
+ editedMessage = InteractiveMessageUtils.convertInteractiveMessage(editedMessage);
571
+ }
572
+ tmpList[msgIndex] = CommonUtils.clone(editedMessage);
573
+ messagesContentListRef.current = tmpList;
574
+ setMessagesList(tmpList);
575
+ }
576
+ };
577
+ const removeMessage = (message) => {
578
+ let msgIndex = messagesList.findIndex(msg => msg.getId() == message.getId());
579
+ if (msgIndex == -1)
580
+ return;
581
+ let tmpList = [...messagesList];
582
+ tmpList.splice(msgIndex, 1);
583
+ messagesContentListRef.current = tmpList;
584
+ setMessagesList(tmpList);
585
+ };
586
+ const deleteMessage = (message) => {
587
+ CometChat.deleteMessage(message.getId().toString())
588
+ .then((res) => {
589
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageDeleted, { message: res });
590
+ setShowMessageOptions([]);
591
+ })
592
+ .catch((rej) => {
593
+ console.log(rej);
594
+ onError && onError(rej);
595
+ });
596
+ };
597
+ const createActionMessage = () => { };
598
+ const updateMessageReceipt = (receipt) => {
599
+ if (receipt?.getReceiverType() === ReceiverTypeConstants.group && ![receipt.RECEIPT_TYPE.DELIVERED_TO_ALL_RECEIPT, receipt.RECEIPT_TYPE.READ_BY_ALL_RECEIPT].includes(receipt?.getReceiptType())) {
600
+ return;
601
+ }
602
+ let index = messagesContentListRef.current.findIndex((msg, index) => msg['id'] == receipt['messageId'] || msg['messageId'] == receipt['messageId']);
603
+ if (index == -1)
604
+ return;
605
+ let tmpList = [...messagesContentListRef.current];
606
+ for (let i = index; i >= 0; i--) {
607
+ if (tmpList[i]?.getReadAt && tmpList[i]?.getReadAt())
608
+ break;
609
+ let tmpMsg = tmpList[i];
610
+ if (!Number.isNaN(Number(tmpMsg.getId()))) {
611
+ if (tmpMsg.getCategory() === MessageCategoryConstants.interactive) {
612
+ tmpMsg = InteractiveMessageUtils.convertInteractiveMessage(tmpMsg);
613
+ }
614
+ if (receipt.getDeliveredAt) {
615
+ tmpMsg.setDeliveredAt(receipt.getDeliveredAt());
616
+ }
617
+ if (receipt.getReadAt) {
618
+ tmpMsg.setReadAt(receipt.getReadAt());
619
+ }
620
+ }
621
+ tmpList[i] = CommonUtils.clone(tmpMsg);
622
+ }
623
+ messagesContentListRef.current = tmpList;
624
+ setMessagesList(tmpList);
625
+ };
626
+ const handlePanel = (item) => {
627
+ if (item.alignment === ViewAlignment.messageListBottom && (user || group) && CommonUtils.checkIdBelongsToThisComponent(item.id, user, group, parentMessageId || '')) {
628
+ if (item.child)
629
+ setCustomListHeader(() => item.child);
630
+ else
631
+ setCustomListHeader(null);
632
+ }
633
+ };
634
+ useEffect(() => {
635
+ const showSubscription = Keyboard.addListener('keyboardDidShow', (e) => onKeyboardVisibiltyChange(true, e?.endCoordinates?.height));
636
+ const hideSubscription = Keyboard.addListener('keyboardDidHide', () => onKeyboardVisibiltyChange(false));
637
+ CometChatUIEventHandler.addUIListener(uiEventListenerShow, {
638
+ showPanel: (item) => handlePanel(item),
639
+ });
640
+ CometChatUIEventHandler.addUIListener(uiEventListenerHide, {
641
+ hidePanel: (item) => handlePanel(item)
642
+ });
643
+ CometChatUIEventHandler.addUIListener(uiEventListener, {
644
+ ccToggleBottomSheet: (item) => {
645
+ bottomSheetRef.current?.togglePanel();
646
+ },
647
+ });
648
+ CometChat.getLoggedinUser()
649
+ .then((u) => {
650
+ loggedInUser.current = u;
651
+ messageRequest.current = msgRequestBuilder.current?.build() || null;
652
+ getPreviousMessages();
653
+ loadTemplates();
654
+ })
655
+ .catch((e) => {
656
+ console.log("Error while getting loggedInUser");
657
+ onError && onError(e);
658
+ loggedInUser.current = null;
659
+ });
660
+ return () => {
661
+ showSubscription.remove();
662
+ hideSubscription.remove();
663
+ CometChatUIEventHandler.removeUIListener(uiEventListenerShow);
664
+ CometChatUIEventHandler.removeUIListener(uiEventListenerHide);
665
+ CometChatUIEventHandler.removeUIListener(uiEventListener);
666
+ onBack && onBack();
667
+ };
668
+ }, []);
669
+ useEffect(() => {
670
+ //add listeners
671
+ let reactionListeners = disableReactions ? {} : {
672
+ onMessageReactionAdded: (reaction) => {
673
+ updateMessageReaction(reaction, true);
674
+ },
675
+ onMessageReactionRemoved: (reaction) => {
676
+ updateMessageReaction(reaction, false);
677
+ }
678
+ };
679
+ CometChat.addGroupListener(groupListenerId, new CometChat.GroupListener({
680
+ onGroupMemberScopeChanged: (message) => {
681
+ newMessage(message);
682
+ },
683
+ onGroupMemberLeft: (message) => {
684
+ newMessage(message);
685
+ },
686
+ onGroupMemberKicked: (message) => {
687
+ newMessage(message);
688
+ },
689
+ onGroupMemberBanned: (message) => {
690
+ newMessage(message);
691
+ },
692
+ onGroupMemberUnbanned: (message) => {
693
+ newMessage(message);
694
+ },
695
+ onMemberAddedToGroup: (message) => {
696
+ newMessage(message);
697
+ },
698
+ onGroupMemberJoined: (message) => {
699
+ newMessage(message);
700
+ },
701
+ }));
702
+ CometChatUIEventHandler.addMessageListener(messageEventListener, {
703
+ ccMessageSent: ({ message, status }) => {
704
+ if (status == MessageStatusConstants.inprogress) {
705
+ inProgressMessages.current = [...inProgressMessages.current, message];
706
+ newMessage(message, false);
707
+ }
708
+ if (status == MessageStatusConstants.success) {
709
+ messageEdited(message, true);
710
+ }
711
+ if (status == MessageStatusConstants.error) {
712
+ messageEdited(message, true);
713
+ }
714
+ },
715
+ ccMessageEdited: ({ message, status }) => {
716
+ if (status == messageStatus.success)
717
+ messageEdited(message, false);
718
+ },
719
+ ccMessageDeleted: ({ message }) => {
720
+ messageEdited(message, false);
721
+ },
722
+ ccMessageRead: ({ message }) => {
723
+ if (!parentMessageId && message.parentMessageId) {
724
+ // markParentMessageAsRead(message); //NOTE: uncomment this when want unread count in thread view
725
+ }
726
+ },
727
+ onTextMessageReceived: (textMessage) => {
728
+ newMessage(textMessage);
729
+ },
730
+ onMediaMessageReceived: (mediaMessage) => {
731
+ newMessage(mediaMessage);
732
+ },
733
+ onCustomMessageReceived: (customMessage) => {
734
+ newMessage(customMessage);
735
+ },
736
+ onMessagesDelivered: (messageReceipt) => {
737
+ updateMessageReceipt(messageReceipt);
738
+ },
739
+ onMessagesRead: (messageReceipt) => {
740
+ updateMessageReceipt(messageReceipt);
741
+ },
742
+ onMessageDeleted: (deletedMessage) => {
743
+ messageEdited(deletedMessage);
744
+ },
745
+ onMessageEdited: (editedMessage) => {
746
+ messageEdited(editedMessage);
747
+ },
748
+ onFormMessageReceived: (formMessage) => {
749
+ newMessage(formMessage);
750
+ },
751
+ onCardMessageReceived: (cardMessage) => {
752
+ newMessage(cardMessage);
753
+ },
754
+ onSchedulerMessageReceived: (schedulerMessage) => {
755
+ newMessage(schedulerMessage);
756
+ },
757
+ onCustomInteractiveMessageReceived: (customInteractiveMessage) => {
758
+ newMessage(customInteractiveMessage);
759
+ },
760
+ onInteractionGoalCompleted: (interactionReceipt) => {
761
+ if (loggedInUser?.current?.['uid'] === interactionReceipt?.getSender()?.getUid()) {
762
+ // && String(message?.getId()) == String(interactionReceipt.getMessageId())
763
+ let msgIndex = messagesList.findIndex(item => {
764
+ console.log("getId", item.getId(), interactionReceipt.getMessageId());
765
+ return item.getId() == interactionReceipt.getMessageId();
766
+ });
767
+ console.log("msgIndex", msgIndex);
768
+ if (msgIndex === -1)
769
+ return;
770
+ const interaction = interactionReceipt.getInteractions() || [];
771
+ let editedMessage = messagesList[msgIndex];
772
+ editedMessage = InteractiveMessageUtils.convertInteractiveMessage(editedMessage);
773
+ editedMessage.setInteractions(interaction);
774
+ messageEdited(editedMessage);
775
+ }
776
+ },
777
+ ...reactionListeners,
778
+ onMessagesDeliveredToAll: (messageReceipt) => {
779
+ updateMessageReceipt(messageReceipt);
780
+ },
781
+ onMessagesReadByAll: (messageReceipt) => {
782
+ updateMessageReceipt(messageReceipt);
783
+ },
784
+ });
785
+ CometChatUIEventHandler.addGroupListener(groupEventListener, {
786
+ ccGroupMemberUnBanned: ({ message }) => {
787
+ newMessage(message, false);
788
+ },
789
+ ccGroupMemberBanned: ({ message }) => {
790
+ newMessage(message, false);
791
+ },
792
+ ccGroupMemberAdded: ({ message, usersAdded, userAddedIn }) => {
793
+ usersAdded.forEach((user) => {
794
+ message['message'] = `${loggedInUser.current?.getName()} added ${user.name}`;
795
+ message['muid'] = String(getUnixTimestamp());
796
+ message['sentAt'] = getUnixTimestamp();
797
+ message['actionOn'] = user;
798
+ newMessage(message, false);
799
+ });
800
+ },
801
+ ccGroupMemberKicked: ({ message }) => {
802
+ newMessage(message, false);
803
+ },
804
+ ccGroupMemberScopeChanged: ({ action, updatedUser, scopeChangedTo, scopeChangedFrom, group }) => {
805
+ newMessage(action, false);
806
+ },
807
+ ccOwnershipChanged: ({ group, message }) => {
808
+ // newMessage(message, false); removed after discussion.
809
+ }
810
+ });
811
+ CometChat.addCallListener(callListenerId, new CometChat.CallListener({
812
+ onIncomingCallReceived: (call) => {
813
+ newMessage(call);
814
+ },
815
+ onOutgoingCallAccepted: (call) => {
816
+ newMessage(call);
817
+ },
818
+ onOutgoingCallRejected: (call) => {
819
+ newMessage(call);
820
+ },
821
+ onIncomingCallCancelled: (call) => {
822
+ newMessage(call);
823
+ }
824
+ }));
825
+ CometChatUIEventHandler.addCallListener(callEventListener, {
826
+ ccCallInitiated: ({ call }) => {
827
+ if (call['type'] == CallTypeConstants.audio || call['type'] == CallTypeConstants.video) {
828
+ newMessage(call);
829
+ }
830
+ },
831
+ ccOutgoingCall: ({ call }) => {
832
+ if (call['type'] == CallTypeConstants.audio || call['type'] == CallTypeConstants.video) {
833
+ newMessage(call);
834
+ }
835
+ },
836
+ ccCallAccepted: ({ call }) => {
837
+ if (call['type'] == CallTypeConstants.audio || call['type'] == CallTypeConstants.video) {
838
+ newMessage(call);
839
+ }
840
+ },
841
+ ccCallRejected: ({ call }) => {
842
+ if (call['type'] == CallTypeConstants.audio || call['type'] == CallTypeConstants.video) {
843
+ newMessage(call);
844
+ }
845
+ },
846
+ ccCallEnded: ({ call }) => {
847
+ if (call['type'] == CallTypeConstants.audio || call['type'] == CallTypeConstants.video) {
848
+ newMessage(call);
849
+ }
850
+ },
851
+ ccShowOngoingCall: (CometChatOngoingComponent) => {
852
+ //show ongoing call
853
+ setOngoingCallView(CometChatOngoingComponent?.child);
854
+ },
855
+ });
856
+ CometChat.addConnectionListener(connectionListenerId, new CometChat.ConnectionListener({
857
+ onConnected: () => {
858
+ if (lastID.current) {
859
+ getUpdatedPreviousMessages();
860
+ }
861
+ },
862
+ inConnecting: () => {
863
+ },
864
+ onDisconnected: () => {
865
+ if (!messagesList[messagesList.length - 1].id) {
866
+ for (let i = (messagesList.length - 1); i >= 0; i--) {
867
+ if (messagesList[i].id) {
868
+ lastID.current = messagesList[i].id;
869
+ break;
870
+ }
871
+ }
872
+ }
873
+ else {
874
+ lastID.current = messagesList[messagesList.length - 1].id;
875
+ }
876
+ }
877
+ }));
878
+ return () => {
879
+ // clean up code like removing listeners
880
+ CometChatUIEventHandler.removeMessageListener(messageEventListener);
881
+ CometChatUIEventHandler.removeGroupListener(groupEventListener);
882
+ CometChatUIEventHandler.removeCallListener(callEventListener);
883
+ CometChat.removeGroupListener(groupListenerId);
884
+ CometChat.removeCallListener(callListenerId);
885
+ CometChat.removeConnectionListener(connectionListenerId);
886
+ };
887
+ }, [messagesList, unreadCount, user, group]);
888
+ useEffect(() => {
889
+ prevMessagesLength.current = messagesLength.current || messagesContentListRef.current.length;
890
+ messagesLength.current = messagesContentListRef.current.length;
891
+ }, [messagesContentListRef.current]);
892
+ useEffect(() => {
893
+ if (selectedEmoji) {
894
+ setShowReactionList(true);
895
+ }
896
+ }, [selectedEmoji]);
897
+ //@ts-ignore
898
+ useImperativeHandle(ref, () => {
899
+ return {
900
+ addMessage: newMessage,
901
+ updateMessage: messageEdited,
902
+ removeMessage,
903
+ deleteMessage,
904
+ scrollToBottom,
905
+ /// todo: not handeled yet
906
+ createActionMessage,
907
+ updateMessageReceipt,
908
+ isNearBottom,
909
+ };
910
+ });
911
+ const onKeyboardVisibiltyChange = (isVisible, keyboardHeight) => {
912
+ if (messageListRef.current) {
913
+ if (isVisible && currentScrollPosition.current.y && keyboardHeight) {
914
+ Keyboard_Height = keyboardHeight;
915
+ scrollPos = (currentScrollPosition.current.y + Keyboard_Height) - (commonVars.safeAreaInsets.top / 2);
916
+ // We use a double requestAnimationFrame here to handle keyboard layout changes:
917
+ // 1. ScrollView’s height and offsets are final.
918
+ // 2. scrollTo is called with the correct y-offset, preventing jerky jumps or overshoot.
919
+ // double requestAnimationFrame is a lightweight way to wait for the keyboard-induced
920
+ // layout pass to finish before performing a scroll, avoiding flicker.
921
+ requestAnimationFrame(() => requestAnimationFrame(() => {
922
+ messageListRef.current?.scrollTo({ y: scrollPos, animated: false });
923
+ }));
924
+ isKeyBoardVisible.current = true;
925
+ }
926
+ else {
927
+ isKeyBoardVisible.current = false;
928
+ /**
929
+ * Do not have to scroll back if the list is at the bottom because we are already adjusting
930
+ for the change in contentSize when we are at bottom which means if the list is at the bottom
931
+ and we open the keyboard, the following line
932
+ (`messageListRef.current.scrollTo({ y: scrollPos, animated: false })`) in the above "if"
933
+ condition already puts the list at the bottom again.
934
+ Hence, running the below for isAtBottom() will scroll to a wrong position.
935
+ */
936
+ if (!isAtBottom()) {
937
+ messageListRef.current.scrollTo({ y: scrollPos - Keyboard_Height + (commonVars.safeAreaInsets.top / 2), animated: false });
938
+ }
939
+ }
940
+ }
941
+ };
942
+ const getMessageById = (messageId) => {
943
+ const message = messagesList.find((message) => message.getId() === messageId);
944
+ return message;
945
+ };
946
+ function isReactionOfThisList(receipt) {
947
+ const receiverId = receipt?.getReceiverId();
948
+ const receiverType = receipt?.getReceiverType();
949
+ const reactedById = receipt?.getReaction()?.getReactedBy()?.getUid();
950
+ const parentMessageId = receipt?.getParentMessageId();
951
+ const listParentMessageId = parentMessageId && String(parentMessageId);
952
+ if (listParentMessageId) {
953
+ if (parentMessageId === listParentMessageId) {
954
+ return true;
955
+ }
956
+ else {
957
+ return false;
958
+ }
959
+ }
960
+ else {
961
+ if (receipt.getParentMessageId()) {
962
+ return false;
963
+ }
964
+ if (user) {
965
+ if (receiverType === ReceiverTypeConstants.user && (receiverId === user.getUid() || reactedById === user.getUid())) {
966
+ return true;
967
+ }
968
+ }
969
+ else if (group) {
970
+ if (receiverType === ReceiverTypeConstants.group && (receiverId === group.getGuid())) {
971
+ return true;
972
+ }
973
+ }
974
+ }
975
+ return false;
976
+ }
977
+ const updateMessageReaction = (message, isAdded) => {
978
+ let _isReactionOfThisList = isReactionOfThisList(message);
979
+ if (!_isReactionOfThisList)
980
+ return;
981
+ const messageId = message?.getReaction()?.getMessageId();
982
+ const messageObject = getMessageById(messageId);
983
+ if (!messageObject)
984
+ return;
985
+ let action;
986
+ if (isAdded) {
987
+ action = CometChat.REACTION_ACTION.REACTION_ADDED;
988
+ }
989
+ else {
990
+ action = CometChat.REACTION_ACTION.REACTION_REMOVED;
991
+ }
992
+ const modifiedMessage = CometChat.CometChatHelper.updateMessageWithReactionInfo(messageObject, message.getReaction(), action);
993
+ if (modifiedMessage instanceof CometChat.CometChatException) {
994
+ onError && onError(modifiedMessage);
995
+ return;
996
+ }
997
+ messageEdited(modifiedMessage, false);
998
+ };
999
+ // functions returning view
1000
+ const getLeadingView = useCallback((item) => {
1001
+ if (showAvatar && (alignment === "leftAligned" || (item.getSender()?.getUid() || item?.['sender']?.['uid']) !== loggedInUser.current?.getUid() && item['category'] != MessageCategoryConstants.action)) {
1002
+ return <CometChatAvatar image={(item?.getSender()?.getAvatar && item?.getSender()?.getAvatar()) ? { uri: item.getSender().getAvatar() } : undefined} name={(item?.getSender()?.getName && item?.getSender()?.getName()) ? item?.getSender()?.getName() : ""} style={_avatarStyle}/>;
1003
+ }
1004
+ return null;
1005
+ }, []);
1006
+ const getHeaderView = useCallback((item) => {
1007
+ let senderName = "";
1008
+ if (alignment === "leftAligned" || ((item.getSender()?.getUid() || item?.['sender']?.['uid']) != loggedInUser.current?.getUid()))
1009
+ senderName = (item.getSender()?.getName() || "").trim();
1010
+ if (item.getCategory() == MessageCategoryConstants.action || item.getCategory() == MessageCategoryConstants.call)
1011
+ return null;
1012
+ return (<View style={{ flexDirection: "row" }}>
1013
+ {Boolean(senderName) && <Text style={[Style.nameStyle, {
1014
+ color: _messageListStyle.nameTextColor,
1015
+ ..._messageListStyle.nameTextFont,
1016
+ }]} numberOfLines={1} ellipsizeMode={"tail"}>{senderName}</Text>}
1017
+ {timeStampAlignment == "bottom" || item['category'] == "action" ?
1018
+ null :
1019
+ <CometChatDate timeStamp={((item.getDeletedAt() || item.getReadAt() || item.getDeliveredAt() || item.getSentAt()) * 1000) || getSentAtTimestamp(item)} style={messageBubbleDateStyle} pattern={"timeFormat"} customDateString={datePattern && datePattern(item)} dateAlignment="center"/>}
1020
+ </View>);
1021
+ }, []);
1022
+ const getStatusInfoView = useCallback((item, bubbleAlignment, currentIndex) => {
1023
+ // return null if time alignment is top
1024
+ if (timeStampAlignment == "top" || item['category'] == "action" || item['deletedAt'])
1025
+ return null;
1026
+ let isSender = (item.getSender()?.getUid() || item?.['sender']?.['uid']) == loggedInUser.current?.getUid();
1027
+ let messageState, nextItemIsRead, nextItemIsDelivered;
1028
+ if (currentIndex !== undefined) {
1029
+ nextItemIsRead = messagesContentListRef.current[currentIndex + 1] && messagesContentListRef.current[currentIndex + 1].getReadAt();
1030
+ nextItemIsDelivered = messagesContentListRef.current[currentIndex + 1] && messagesContentListRef.current[currentIndex + 1].getDeliveredAt();
1031
+ }
1032
+ if (item.getReadAt() || nextItemIsRead)
1033
+ messageState = "READ";
1034
+ else if (item.getDeliveredAt() || nextItemIsDelivered)
1035
+ messageState = "DELIVERED";
1036
+ else if (item.getSentAt())
1037
+ messageState = "SENT";
1038
+ else if (item?.getData()?.metaData?.error)
1039
+ messageState = "ERROR";
1040
+ else if (isSender)
1041
+ messageState = "WAIT";
1042
+ else
1043
+ messageState = "ERROR";
1044
+ let isAudioVideo = (item?.getType() === "image" || item?.getType() === "video");
1045
+ return <View style={[
1046
+ isAudioVideo ? {
1047
+ flexDirection: "row", justifyContent: bubbleAlignment === "right" ? "flex-end" : "flex-start", alignSelf: "flex-end", paddingVertical: 2, paddingHorizontal: 5,
1048
+ position: "absolute", borderRadius: 10, backgroundColor: theme.palette.getAccent500("dark"), zIndex: 1, bottom: 5, right: 5,
1049
+ }
1050
+ :
1051
+ { flexDirection: "row", justifyContent: bubbleAlignment === "right" ? "flex-end" : "flex-start", alignSelf: "flex-end", padding: 5 }
1052
+ ]}>
1053
+ <CometChatDate timeStamp={((item.getDeletedAt() || item.getReadAt() || item.getDeliveredAt() || item.getSentAt()) * 1000) || getSentAtTimestamp(item)} style={{ ...messageBubbleDateStyle, textFont: isAudioVideo ? theme.typography.caption3 : messageBubbleDateStyle.textFont }} pattern={"timeFormat"} customDateString={datePattern && datePattern(item)} dateAlignment="center"/>
1054
+ {(!(disableReceipt || hideReceipt) && alignment !== "leftAligned") && isSender ?
1055
+ <View style={{ marginLeft: 2, alignItems: "center", justifyContent: "center" }}>
1056
+ <CometChatReceipt receipt={messageState} deliveredIcon={deliveredIcon} readIcon={readIcon} sentIcon={sentIcon} waitIcon={waitIcon} errorIcon={errorIcon} style={{
1057
+ tintColor: (messageState === "READ" && item?.getType() === "text") ? theme.palette.getBackgroundColor() :
1058
+ messageState === "WAIT" ? theme?.palette?.getAccent400() : undefined,
1059
+ ...(isAudioVideo ? { height: 8, width: 10 } : {})
1060
+ }}/>
1061
+ </View>
1062
+ :
1063
+ null}
1064
+ </View>;
1065
+ }, []);
1066
+ const getFooterView = useCallback((messageObject, alignment) => {
1067
+ let hasReaction = messageObject?.getReactions && messageObject?.getReactions() && messageObject?.getReactions().length > 0;
1068
+ return (<View style={{
1069
+ minHeight: hasReaction ? 27 : 0,
1070
+ }}>
1071
+ <CometChatReactions messageObject={messageObject} onReactionPress={(reaction, messageObject) => reactToMessage(reaction.getReaction(), messageObject)} onReactionLongPress={(reaction, messageObject) => onReactionLongPress(reaction.getReaction(), messageObject)} alignment={alignment} {...reactionsConfiguration}/>
1072
+ </View>);
1073
+ }, []);
1074
+ const onReactionLongPress = (emoji, messageObj) => {
1075
+ setSelectedMessage(messageObj);
1076
+ setSelectedEmoji(emoji);
1077
+ };
1078
+ const getAlignment = useCallback((item) => {
1079
+ if (item && item.getCategory() == MessageCategoryConstants.action)
1080
+ return "center";
1081
+ if (alignment == "standard" && (item.getSender()?.getUid() || item?.['sender']?.['uid']) == loggedInUser.current?.getUid())
1082
+ return "right";
1083
+ return "left";
1084
+ }, []);
1085
+ const openMessageInfo = (message) => {
1086
+ infoObject.current = message;
1087
+ setMessageInfo(true);
1088
+ setShowMessageOptions([]);
1089
+ };
1090
+ const openThreadView = (...params) => {
1091
+ if (onThreadRepliesPress) {
1092
+ onThreadRepliesPress(params[0], MessageView.bind(this, { message: params[0], isThreaded: true, showOptions: false }));
1093
+ }
1094
+ setShowMessageOptions([]);
1095
+ return onThreadRepliesPress;
1096
+ };
1097
+ const editMessage = (item) => {
1098
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, { message: item, status: messageStatus.inprogress });
1099
+ setShowMessageOptions([]);
1100
+ };
1101
+ const copyMessage = (item) => {
1102
+ let copyMessage = getPlainString(item['text'], item);
1103
+ Clipboard.setString(copyMessage);
1104
+ setShowMessageOptions([]);
1105
+ };
1106
+ const getThreadView = useCallback((item, alignment) => {
1107
+ let isThreaded = item.getReplyCount() > 0;
1108
+ let style = [{
1109
+ color: theme?.palette.getAccent900(),
1110
+ }, theme?.typography?.subtitle1];
1111
+ // let unreadReplyCount = item?.getUnreadReplyCount && item?.getUnreadReplyCount();
1112
+ return !isThreaded ? null :
1113
+ <TouchableOpacity onPress={() => openThreadView(item, null)} style={{
1114
+ flexDirection: "row",
1115
+ marginRight: 4,
1116
+ paddingHorizontal: 4,
1117
+ marginTop: 2,
1118
+ alignSelf: alignment === "right" ? "flex-end" : "flex-start",
1119
+ }}>
1120
+ {alignment === "left" && <Image style={{ resizeMode: "contain", tintColor: theme?.palette.getAccent600(), width: 30, height: 18 }} source={LeftArrowCurve}/>}
1121
+ <Text style={style}>{`${item.getReplyCount()} ${item.getReplyCount() > 1 ? localize("REPLIES") : localize("REPLY")}`}</Text>
1122
+
1123
+ {/** NOTE: uncomment below code when want unread count in thread view **/}
1124
+ {/* {alignment === "left" && !!unreadReplyCount &&
1125
+ <View style={{
1126
+ borderRadius: 10, marginLeft: 3,
1127
+ paddingHorizontal: 7,
1128
+ alignment: "center", justifyContent: "center",
1129
+ backgroundColor: theme?.palette?.getPrimary()
1130
+ }}>
1131
+ <Text style={[theme?.typography?.subtitle4,
1132
+ {
1133
+ color: theme?.palette?.getBackgroundColor(),
1134
+ textAlign: "center"
1135
+ }]}
1136
+ >{unreadReplyCount}</Text>
1137
+ </View>
1138
+ } */}
1139
+ {/* {alignment === "right" && !!unreadReplyCount &&
1140
+ <View style={{
1141
+ borderRadius: 10, marginRight: 3, paddingVertical: 2, paddingHorizontal: 6,
1142
+ backgroundColor: theme?.palette?.getPrimary()
1143
+ }}>
1144
+ <Text style={[theme?.typography?.subtitle4,
1145
+ { color: theme?.palette?.getBackgroundColor() }]}
1146
+ >{unreadReplyCount}</Text>
1147
+ </View>
1148
+ } */}
1149
+ {/** NOTE: uncomment above code when want unread count in thread view **/}
1150
+
1151
+ {alignment === "right" && <Image style={[{ resizeMode: "contain", tintColor: theme?.palette.getAccent600(), width: 30, height: 18 },
1152
+ {
1153
+ transform: [{ scaleX: -1 }]
1154
+ }
1155
+ ]} source={LeftArrowCurve}/>}
1156
+ </TouchableOpacity>;
1157
+ }, []);
1158
+ const privateMessage = (item) => {
1159
+ setShowMessageOptions([]);
1160
+ CometChat.getUser(item.getSender().getUid())
1161
+ .then((user) => {
1162
+ console.log({ user });
1163
+ CometChatUIEventHandler.emitUIEvent('openChat', { user, group });
1164
+ })
1165
+ .catch((e) => {
1166
+ onError && onError(e);
1167
+ });
1168
+ };
1169
+ const shareMedia = async (messageObject) => {
1170
+ let _plainString = getPlainString(messageObject?.getData()['text'] || "", messageObject);
1171
+ let textMessage = _plainString;
1172
+ let fileUrl = messageObject.getData()['url'];
1173
+ const getFileName = () => {
1174
+ if (!fileUrl)
1175
+ return "";
1176
+ return (fileUrl.substring(fileUrl.lastIndexOf("/") + 1, fileUrl.length)).replace(" ", "_");
1177
+ };
1178
+ let shareObj = {
1179
+ "message": textMessage,
1180
+ "type": messageObject["type"],
1181
+ "mediaName": getFileName(), // get File name
1182
+ "fileUrl": fileUrl || "", // get File url
1183
+ "mimeType": messageObject["type"] === "text" ? "" : messageObject?.getAttachment()?.getMimeType(), // get Mime Type
1184
+ };
1185
+ NativeModules.FileManager.shareMessage(shareObj, (callback) => {
1186
+ console.log("shareMessage Callback", callback);
1187
+ });
1188
+ };
1189
+ const getStyle = useCallback((item) => {
1190
+ let _style = new MessageBubbleStyle({
1191
+ ..._messageBubbleStyle,
1192
+ backgroundColor: theme?.palette.getAccent50()
1193
+ });
1194
+ if (item.getCategory() == MessageCategoryConstants.interactive) {
1195
+ if (item.getType() === MessageTypeConstants.form || item.getType() === MessageTypeConstants.card) {
1196
+ _style.width = "100%";
1197
+ }
1198
+ }
1199
+ else {
1200
+ _style.alignSelf = getAlignment(item) === "left" ? "flex-start" : "flex-end";
1201
+ }
1202
+ if ((item.getSender()?.getUid() || item?.['sender']?.['uid']) == loggedInUser.current?.['uid'])
1203
+ _style.backgroundColor = (alignment !== "leftAligned" && (item.getType() === MessageTypeConstants.text || item.getType() === MessageTypeConstants.meeting)) ? theme?.palette.getPrimary() : theme?.palette.getAccent50();
1204
+ if (item?.getDeletedBy()) {
1205
+ _style.backgroundColor = 'transparent';
1206
+ }
1207
+ return _style;
1208
+ }, []);
1209
+ const openOptionsForMessage = useCallback((item, template) => {
1210
+ let options = template?.options ? loggedInUser.current ? template.options(loggedInUser.current, item, group) : [] : [];
1211
+ let optionsWithPressHandling = options.map(option => {
1212
+ if (!option.onPress) {
1213
+ switch (option.id) {
1214
+ case MessageOptionConstants.messageInformation:
1215
+ option.onPress = openMessageInfo.bind(this, item);
1216
+ break;
1217
+ case MessageOptionConstants.replyInThread:
1218
+ option.onPress = openThreadView.bind(this, item);
1219
+ break;
1220
+ case MessageOptionConstants.deleteMessage:
1221
+ option.onPress = deleteMessage.bind(this, item);
1222
+ break;
1223
+ case MessageOptionConstants.editMessage:
1224
+ option.onPress = editMessage.bind(this, item);
1225
+ break;
1226
+ case MessageOptionConstants.copyMessage:
1227
+ option.onPress = copyMessage.bind(this, item);
1228
+ break;
1229
+ case MessageOptionConstants.sendMessagePrivately:
1230
+ option.onPress = privateMessage.bind(this, item);
1231
+ break;
1232
+ // case MessageOptionConstants.forwardMessage:
1233
+ // option.onPress = showForwardMessage.bind(this, item);
1234
+ // break
1235
+ case MessageOptionConstants.shareMessage:
1236
+ option.onPress = shareMedia.bind(this, item);
1237
+ break;
1238
+ }
1239
+ }
1240
+ else {
1241
+ // If overriding `onPress`, make sure to pass `item` explicitly
1242
+ const customOnPress = option.onPress;
1243
+ option.onPress = () => {
1244
+ customOnPress(item);
1245
+ setShowMessageOptions([]);
1246
+ };
1247
+ }
1248
+ if (option.id === MessageOptionConstants.reactToMessage) {
1249
+ option.onPress = () => {
1250
+ if (option.CustomView) {
1251
+ let view = option.CustomView(item);
1252
+ setExtensionsComponent(() => view);
1253
+ }
1254
+ };
1255
+ }
1256
+ return option;
1257
+ });
1258
+ setShowMessageOptions(optionsWithPressHandling);
1259
+ }, []);
1260
+ const MessageView = useCallback((params) => {
1261
+ const { message, showOptions = true, isThreaded = false, currentIndex } = params;
1262
+ let hasTemplate = templatesMap.get(`${message.getCategory()}_${message.getType()}`);
1263
+ if (templates?.length > 0) {
1264
+ let customTemplate = templates.find(template => template.type == message.getType() && template.category == message.getCategory());
1265
+ if (customTemplate)
1266
+ hasTemplate = customTemplate;
1267
+ }
1268
+ if (hasTemplate) {
1269
+ if (hasTemplate.BubbleView)
1270
+ return hasTemplate.BubbleView(message);
1271
+ let bubbleAlignment = getAlignment(message);
1272
+ const onLongPress = () => {
1273
+ if (message.getDeletedBy() != null)
1274
+ return;
1275
+ setSelectedMessage(message);
1276
+ hasTemplate && openOptionsForMessage(message, hasTemplate);
1277
+ };
1278
+ return <TouchableOpacity activeOpacity={1} onLongPress={() => showOptions ? onLongPress() : undefined}>
1279
+ <CometChatMessageBubble id={`${message.getId()}`} LeadingView={() => !isThreaded ? getLeadingView(message) : null} HeaderView={hasTemplate.HeaderView ? hasTemplate.HeaderView?.bind(this, message, bubbleAlignment) : () => !isThreaded ? getHeaderView(message) : null} FooterView={hasTemplate.FooterView ? hasTemplate.FooterView?.bind(this, message, bubbleAlignment) : () => (disableReactions || isThreaded) ? null : getFooterView(message, bubbleAlignment)} alignment={isThreaded ? "left" : bubbleAlignment} ContentView={hasTemplate.ContentView?.bind(this, message, bubbleAlignment)} ThreadView={() => !isThreaded ? !message.getDeletedBy() ? getThreadView(message, bubbleAlignment) : null : null} BottomView={hasTemplate.BottomView && hasTemplate.BottomView?.bind(this, message, bubbleAlignment)} StatusInfoView={hasTemplate.StatusInfoView ? hasTemplate.StatusInfoView?.bind(this, message, bubbleAlignment) : () => getStatusInfoView(message, bubbleAlignment, currentIndex)} style={getStyle(message)}/>
1280
+ </TouchableOpacity>;
1281
+ }
1282
+ else {
1283
+ return null;
1284
+ }
1285
+ }, []);
1286
+ const getSentAtTimestamp = useCallback((item) => {
1287
+ return item.getSentAt() ? (item.getSentAt() * 1000) : Date.now();
1288
+ }, []);
1289
+ const reactToMessage = (emoji, messageObj) => {
1290
+ const msgObj = CommonUtils.clone(messageObj) || CommonUtils.clone(selectedMessage);
1291
+ const messageId = msgObj?.getId();
1292
+ const reactions = msgObj?.getReactions() || [];
1293
+ const emojiObject = reactions?.find((reaction) => {
1294
+ return reaction?.reaction == emoji;
1295
+ });
1296
+ if (emojiObject && emojiObject?.getReactedByMe()) {
1297
+ const updatedReactions = [];
1298
+ reactions.forEach((reaction) => {
1299
+ if (reaction?.getReaction() == emoji) {
1300
+ if (reaction?.getCount() === 1) {
1301
+ return;
1302
+ }
1303
+ else {
1304
+ reaction.setCount(reaction?.getCount() - 1);
1305
+ reaction.setReactedByMe(false);
1306
+ updatedReactions.push(reaction);
1307
+ }
1308
+ }
1309
+ else {
1310
+ updatedReactions.push(reaction);
1311
+ }
1312
+ });
1313
+ const newMessageObj = CommonUtils.clone(msgObj);
1314
+ newMessageObj.setReactions(updatedReactions);
1315
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, { message: newMessageObj, status: messageStatus.success });
1316
+ CometChat.removeReaction(messageId, emoji).then((message) => {
1317
+ }).catch((error) => {
1318
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, { message: msgObj, status: messageStatus.success });
1319
+ console.log(error);
1320
+ });
1321
+ }
1322
+ else {
1323
+ const updatedReactions = [];
1324
+ const reactionAvailable = reactions.find((reaction) => {
1325
+ return reaction?.getReaction() == emoji;
1326
+ });
1327
+ reactions.forEach((reaction) => {
1328
+ if (reaction?.getReaction() == emoji) {
1329
+ reaction.setCount(reaction?.getCount() + 1);
1330
+ reaction.setReactedByMe(true);
1331
+ updatedReactions.push(reaction);
1332
+ }
1333
+ else {
1334
+ updatedReactions.push(reaction);
1335
+ }
1336
+ });
1337
+ if (!reactionAvailable) {
1338
+ const react = new CometChat.ReactionCount(emoji, 1, true);
1339
+ updatedReactions.push(react);
1340
+ }
1341
+ const newMessageObj = CommonUtils.clone(msgObj);
1342
+ newMessageObj.setReactions(updatedReactions);
1343
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, { message: newMessageObj, status: messageStatus.success });
1344
+ CometChat.addReaction(messageId, emoji)
1345
+ .then((response) => {
1346
+ })
1347
+ .catch((error) => {
1348
+ console.log(error);
1349
+ CometChatUIEventHandler.emitMessageEvent(MessageEvents.ccMessageEdited, { message: msgObj, status: messageStatus.success });
1350
+ });
1351
+ }
1352
+ setShowMessageOptions([]);
1353
+ };
1354
+ const RenderMessageItem = useCallback(memo(function RenderMessageItem({ item, index }) {
1355
+ let seperatorView = null;
1356
+ const previousMessageDate = messagesContentListRef.current[index - 1] ? new Date(getSentAtTimestamp(messagesContentListRef.current[index - 1])) : null;
1357
+ const currentMessageDate = new Date(getSentAtTimestamp(item));
1358
+ const currentDate = isNaN(currentMessageDate.getDate()) ? undefined : `${currentMessageDate.getDate()}-${currentMessageDate.getMonth()}-${currentMessageDate.getFullYear()}`;
1359
+ const previousDate = `${previousMessageDate?.getDate()}-${previousMessageDate?.getMonth()}-${previousMessageDate?.getFullYear()}`;
1360
+ if (currentDate != undefined && previousDate !== currentDate) {
1361
+ seperatorView = (<View style={{ marginBottom: 10 }}>
1362
+ <CometChatDate timeStamp={getSentAtTimestamp(item)} pattern={"dayDateFormat"} style={_dateSeperatorStyle} customDateString={dateSeparatorPattern ? dateSeparatorPattern(item['sentAt']) : undefined} dateAlignment="center"/>
1363
+ </View>);
1364
+ }
1365
+ lastMessageDate.current = getSentAtTimestamp(item);
1366
+ return <React.Fragment key={index}>
1367
+ {seperatorView}
1368
+ <MessageView message={item} currentIndex={index}/>
1369
+ </React.Fragment>;
1370
+ }), []);
1371
+ const keyExtractor = useCallback((item) => `${item.id}_${item.muid}`, []);
1372
+ const itemSeperator = useCallback(() => <View style={{ height: 8 }}/>, []);
1373
+ const getEmptyTextView = useCallback(() => {
1374
+ if (EmptyStateView)
1375
+ return (<>
1376
+ <ScrollView contentContainerStyle={Style.msgContainerStyle}>
1377
+ <EmptyStateView />
1378
+ </ScrollView>
1379
+ </>);
1380
+ return (<>
1381
+ <ScrollView contentContainerStyle={Style.msgContainerStyle}>
1382
+ <View>
1383
+ <Text style={[
1384
+ Style.msgTxtStyle, {
1385
+ ...(messageListStyle?.emptyStateTextFont),
1386
+ color: messageListStyle?.emptyStateTextColor
1387
+ }
1388
+ ]}>
1389
+ {emptyStateText}
1390
+ </Text>
1391
+ </View>
1392
+ </ScrollView>
1393
+ {CustomListHeader && <CustomListHeader />}
1394
+ </>);
1395
+ }, []);
1396
+ const getErrorStateView = useCallback(() => {
1397
+ if (hideError)
1398
+ return null;
1399
+ if (ErrorStateView)
1400
+ return ErrorStateView(new CometChat.CometChatException({ message: "Something went wrong" }));
1401
+ return (<View style={Style.msgContainerStyle}>
1402
+ <Text style={[Style.msgTxtStyle, {
1403
+ ...messageListStyle?.errorStateTextFont,
1404
+ color: messageListStyle?.errorStateTextColor
1405
+ }]}>
1406
+ {errorStateText}
1407
+ </Text>
1408
+ </View>);
1409
+ }, []);
1410
+ const getLoadingStateView = useCallback(() => {
1411
+ if (LoadingStateView)
1412
+ return <LoadingStateView />;
1413
+ return (<View style={Style.msgContainerStyle}>
1414
+ <ActivityIndicator size="large" color={_messageListStyle?.loadingIconTint}/>
1415
+ </View>);
1416
+ }, []);
1417
+ const handleScroll = (event) => {
1418
+ if (event.nativeEvent.contentOffset.y == 0) {
1419
+ getPreviousMessages();
1420
+ }
1421
+ scrollHandler(event);
1422
+ };
1423
+ const onContentSizeChange = useCallback((contentWidth, contentHeight) => {
1424
+ if (currentScrollPosition.current.y == 0 && currentScrollPosition.current.scrollViewHeight) {
1425
+ let diff = contentHeight - currentScrollPosition.current.scrollViewHeight;
1426
+ if (messagesLength.current > prevMessagesLength.current && diff > 0 && !(unreadCount > 0)) {
1427
+ messageListRef.current?.scrollTo({ y: diff, animated: false });
1428
+ }
1429
+ }
1430
+ if (currentScrollPosition.current.scrollViewHeight) {
1431
+ if (!previousScrollPosition.current.scrollViewHeight) {
1432
+ previousScrollPosition.current.scrollViewHeight = contentHeight;
1433
+ }
1434
+ if (currentScrollPosition.current.scrollViewHeight !== contentHeight) {
1435
+ previousScrollPosition.current.scrollViewHeight = currentScrollPosition.current.scrollViewHeight;
1436
+ currentScrollPosition.current.scrollViewHeight = contentHeight;
1437
+ }
1438
+ }
1439
+ /**
1440
+ * If Keyboard is open, recalculate the scroll position when content size changes
1441
+ */
1442
+ if (isKeyBoardVisible.current == true) {
1443
+ /**
1444
+ * WITHOUT the isAtBottom() check, the following will happen:
1445
+ * 1. nearToBottom() is true (which is up to 2 messages from bottom)
1446
+ * 2. A new message is received (or any event that changes the content size)
1447
+ but the UI issue is mainly with a new message
1448
+ * 3. Since the content size has increased, we are not nearToBotom() anymore
1449
+ and so the unread banner will be displayed to click and scroll to bottom
1450
+ * 4. If there's not isAtBottomCheck() below, `onKeyboardVisibilityChange()` runs
1451
+ to adjust for the change in content size and this triggers a scroll
1452
+ messageListRef.current.scrollTo({ y: scrollPos, animated: false })
1453
+ * 5. And the nearToBottom() is true again since we have accounted for the change
1454
+ in contentSize and the banner disappears and the list scrolls to the bottom
1455
+ *
1456
+ * The above breaks the UI!
1457
+ */
1458
+ /**
1459
+ * Why not do this for isAtBottom() || !isNearBottom()?
1460
+ * - (isAtBottom() || !isNearBottom()) means notAtBottom() and notNearBottom()
1461
+ This means there's content under the keyboard but that's not the end.
1462
+ Everytime a new message is received contentSize will change and that will
1463
+ trigger a position recalculation and a scroll and the list will keep scrolling
1464
+ till we reach bottom (that is if we keep receiving messages).
1465
+ *
1466
+ */
1467
+ if (isAtBottom()) {
1468
+ /**
1469
+ * Why is this required?
1470
+ * 1. Let's say the scroll is nearToBottom() and the keyboard is open
1471
+ * 2. User receives a new message and the content size changes.
1472
+ * 3. The Message List scrolls to the bottom since the scroll was nearToBottom()
1473
+ * 4. User closes the keyboard and the list scrolls back to the previous message
1474
+ * that was nearToBottom()
1475
+ * 5. The position to scroll back to needs to be recalculated since the contentSize
1476
+ has changed. Calling `onKeyboardVisibiltyChange()` does this.
1477
+ *
1478
+ */
1479
+ onKeyboardVisibiltyChange(true, Keyboard_Height);
1480
+ }
1481
+ }
1482
+ }, []);
1483
+ const modalCheck = () => {
1484
+ if (Platform.OS === 'ios') {
1485
+ return !!(showEmojiKeyboard && hasDismissed);
1486
+ }
1487
+ if (Platform.OS === 'android') {
1488
+ return showEmojiKeyboard;
1489
+ }
1490
+ return false;
1491
+ };
1492
+ const { height, width, backgroundColor, border, borderRadius, } = _messageListStyle;
1493
+ return (<View style={{
1494
+ height, width, backgroundColor, borderRadius, ...border,
1495
+ paddingStart: 8, paddingEnd: 8,
1496
+ }}>
1497
+ {listState == "loading" && messagesList.length == 0 ?
1498
+ getLoadingStateView() :
1499
+ listState == "error" ?
1500
+ getErrorStateView() :
1501
+ listState == "" ?
1502
+ messagesList.length == 0 ?
1503
+ getEmptyTextView() :
1504
+ <View style={{ height: "100%", width: "100%" }}>
1505
+ {HeaderView && <View style={[Style.stickyHeaderFooterStyle, { top: 0 }]}>
1506
+ <HeaderView group={group && group['guid']} user={user && user['uid']} id={{
1507
+ guid: group && group['guid'],
1508
+ uid: user && user['uid'],
1509
+ parentMessageId: parentMessageId
1510
+ }}/>
1511
+ </View>}
1512
+ {loadingMessages &&
1513
+ <View style={{ position: "absolute", alignSelf: "center" }}>
1514
+ <ActivityIndicator size="small" color={_messageListStyle.loadingIconTint}/>
1515
+ </View>}
1516
+
1517
+ <ScrollView ref={messageListRef} onScroll={handleScroll} scrollEventThrottle={16} // control how often the scroll event will be fired
1518
+ onLayout={() => {
1519
+ !currentScrollPosition.current.scrollViewHeight && messageListRef.current?.scrollToEnd({ animated: false });
1520
+ }} onContentSizeChange={onContentSizeChange}>
1521
+
1522
+ {messagesList?.length ? (messagesList
1523
+ // .slice(0)
1524
+ // .reverse()
1525
+ .map((item, index) => (<View key={keyExtractor(item)}>
1526
+ <RenderMessageItem item={item} index={index}/>
1527
+ {itemSeperator()}
1528
+ </View>))) : (getEmptyTextView())}
1529
+ </ScrollView>
1530
+ {CustomListHeader && <CustomListHeader />}
1531
+ {ongoingCallView}
1532
+ {FooterView && <View style={[Style.stickyHeaderFooterStyle, { bottom: 0 }]}>
1533
+ <FooterView group={group && group['guid']} user={user && user['uid']} id={{
1534
+ guid: group && group['guid'],
1535
+ uid: user && user['uid'],
1536
+ parentMessageId: parentMessageId
1537
+ }}/>
1538
+ </View>}
1539
+ </View> : null}
1540
+ {unreadCount > 0 ?
1541
+ <TouchableOpacity onPress={newMsgIndicatorPressed.bind(this)} style={Style.newMessageIndicatorStyle}>
1542
+ <Text style={[Style.newMessageIndicatorText]}>
1543
+ {newMessageIndicatorText ?
1544
+ newMessageIndicatorText :
1545
+ `${unreadCount} ${localize("NEW_MESSAGE")}`}
1546
+ </Text>
1547
+ <Image source={downArrowIcon} style={Style.newMessageIndicatorImage}/>
1548
+ </TouchableOpacity>
1549
+ :
1550
+ null}
1551
+
1552
+ <CometChatBottomSheet ref={bottomSheetRef} onClose={() => {
1553
+ if (ExtensionsComponent)
1554
+ setExtensionsComponent(null);
1555
+ setShowMessageOptions([]);
1556
+ infoObject.current = null;
1557
+ setMessageInfo(false);
1558
+ }} isOpen={showMessageOptions.length > 0 || Boolean(ExtensionsComponent) || messageInfo} sliderMaxHeight={Dimensions.get('window').height * 0.5} sliderMinHeight={Dimensions.get('window').height * 0.5} onDismiss={() => {
1559
+ setShowMessageOptions([]);
1560
+ if (Platform.OS === 'ios') {
1561
+ setHasDismissed(true);
1562
+ }
1563
+ }}>
1564
+ {ExtensionsComponent ? ExtensionsComponent :
1565
+ messageInfo && infoObject.current ?
1566
+ <CometChatMessageInformation message={infoObject.current} template={templatesMap.get(`${infoObject.current?.getCategory()}_${infoObject.current?.getType()}`)} sentIcon={sentIcon} deliveredIcon={deliveredIcon} readIcon={readIcon} {...messageInformationConfiguration} onBack={() => {
1567
+ infoObject.current = null;
1568
+ setMessageInfo(false);
1569
+ messageInformationConfiguration?.onBack && messageInformationConfiguration.onBack();
1570
+ }}/> :
1571
+ <View>
1572
+ {!disableReactions && <CometChatQuickReactions
1573
+ // quickReactions={quickReactions}
1574
+ onReactionPress={reactToMessage} onAddReactionPress={() => {
1575
+ setShowMessageOptions([]);
1576
+ setShowEmojiKeyboard(true);
1577
+ }} {...quickReactionConfiguration}/>}
1578
+ <View style={{
1579
+ maxHeight: (Dimensions.get('window').height * 0.5) - (disableReactions ? 0 : 100),
1580
+ minHeight: (Dimensions.get('window').height * 0.5) - (disableReactions ? 0 : 100),
1581
+ overflow: "scroll"
1582
+ }}>
1583
+ <CometChatActionSheet hideHeader={hideActionSheetHeader} actions={showMessageOptions} style={_actionStyle}/>
1584
+ </View>
1585
+ </View>}
1586
+ </CometChatBottomSheet>
1587
+ <CometChatBottomSheet isOpen={modalCheck()} onClose={() => {
1588
+ setShowEmojiKeyboard(false);
1589
+ if (Platform.OS === 'ios') {
1590
+ setHasDismissed(false);
1591
+ }
1592
+ }}>
1593
+ <CometChatEmojiKeyboard onClick={(item) => {
1594
+ setShowEmojiKeyboard(false);
1595
+ reactToMessage(item, selectedMessage);
1596
+ }} style={{
1597
+ height: (Dimensions.get('window').height * 0.5) - 54,
1598
+ ...emojiKeyboardStyle
1599
+ }} theme={theme}/>
1600
+ </CometChatBottomSheet>
1601
+
1602
+ <CometChatBottomSheet isOpen={showReactionList} onClose={() => {
1603
+ setShowReactionList(false);
1604
+ setSelectedEmoji(undefined);
1605
+ }} sliderMaxHeight={Dimensions.get('window').height * 0.5} sliderMinHeight={Dimensions.get('window').height * 0.5}>
1606
+ <CometChatReactionList messageObject={selectedMessage} selectedReaction={selectedEmoji} {...reactionListConfiguration} onPress={(messageReaction, messageObject) => {
1607
+ if (reactionListConfiguration?.onPress) {
1608
+ reactionListConfiguration.onPress(messageReaction, messageObject);
1609
+ return;
1610
+ }
1611
+ reactToMessage(messageReaction?.getReaction(), messageObject);
1612
+ if (messageObject?.getReactions()?.length === 1 && messageObject?.getReactions()?.[0]?.['count'] == 1) {
1613
+ setShowReactionList(false);
1614
+ setSelectedEmoji(undefined);
1615
+ }
1616
+ }}/>
1617
+ </CometChatBottomSheet>
1618
+ </View>);
1619
+ }));
1620
+ //# sourceMappingURL=CometChatMessageList.js.map