stream-chat-react-native-core 5.8.0-beta.5 → 5.8.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1776) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +45 -56
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/AttachmentActions.js +25 -43
  4. package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/AudioAttachment.js +114 -191
  6. package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
  7. package/lib/commonjs/components/Attachment/Card.js +53 -80
  8. package/lib/commonjs/components/Attachment/Card.js.map +1 -1
  9. package/lib/commonjs/components/Attachment/FileAttachment.js +30 -57
  10. package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
  11. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +19 -50
  12. package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
  13. package/lib/commonjs/components/Attachment/FileIcon.js +3 -45
  14. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  15. package/lib/commonjs/components/Attachment/Gallery.js +121 -162
  16. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  17. package/lib/commonjs/components/Attachment/GalleryImage.js +5 -23
  18. package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
  19. package/lib/commonjs/components/Attachment/Giphy.js +76 -109
  20. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  21. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +7 -23
  22. package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  23. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +3 -15
  24. package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  25. package/lib/commonjs/components/Attachment/VideoThumbnail.js +10 -20
  26. package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
  27. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js +1 -10
  28. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  29. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +8 -24
  30. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  31. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +22 -35
  32. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  33. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +1 -7
  34. package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  35. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js +4 -7
  36. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  37. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +5 -9
  38. package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  39. package/lib/commonjs/components/Attachment/utils/buildGallery/types.js.map +1 -1
  40. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js +0 -2
  41. package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
  42. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +12 -14
  43. package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  44. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js +0 -2
  45. package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  46. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js +19 -33
  47. package/lib/commonjs/components/Attachment/utils/openUrlSafely.js.map +1 -1
  48. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +74 -123
  49. package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  50. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +4 -18
  51. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  52. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +33 -56
  53. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  54. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +2 -10
  55. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  56. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +71 -117
  57. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  58. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +33 -59
  59. package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  60. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +2 -10
  61. package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  62. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +2 -10
  63. package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  64. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -14
  65. package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  66. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +4 -13
  67. package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  68. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +177 -285
  69. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  70. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +6 -24
  71. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  72. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +12 -30
  73. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  74. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +30 -47
  75. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  76. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +21 -49
  77. package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  78. package/lib/commonjs/components/Avatar/Avatar.js +22 -42
  79. package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
  80. package/lib/commonjs/components/Avatar/GroupAvatar.js +15 -33
  81. package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
  82. package/lib/commonjs/components/Channel/Channel.js +1136 -1586
  83. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  84. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +31 -34
  85. package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  86. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +40 -43
  87. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  88. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +81 -84
  89. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  90. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -11
  91. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  92. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js +9 -13
  93. package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  94. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js +9 -13
  95. package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  96. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js +0 -3
  97. package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  98. package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js +3 -12
  99. package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  100. package/lib/commonjs/components/ChannelList/ChannelList.js +71 -110
  101. package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
  102. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +2 -12
  103. package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  104. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +12 -24
  105. package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  106. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +9 -20
  107. package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  108. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +6 -17
  109. package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  110. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +55 -84
  111. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  112. package/lib/commonjs/components/ChannelList/Skeleton.js +16 -33
  113. package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
  114. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +28 -50
  115. package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  116. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js +2 -14
  117. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  118. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js +2 -14
  119. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  120. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js +4 -12
  121. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  122. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +2 -16
  123. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  124. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js +28 -49
  125. package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  126. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js +2 -17
  127. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  128. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js +28 -50
  129. package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  130. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +2 -12
  131. package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  132. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js +1 -12
  133. package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  134. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +29 -34
  135. package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  136. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +141 -219
  137. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  138. package/lib/commonjs/components/ChannelList/utils.js +13 -26
  139. package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
  140. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +3 -19
  141. package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  142. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +14 -44
  143. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  144. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +4 -15
  145. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  146. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +35 -60
  147. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  148. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +7 -18
  149. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  150. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +10 -24
  151. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  152. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +4 -14
  153. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  154. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +7 -17
  155. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  156. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +4 -27
  157. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  158. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +12 -36
  159. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  160. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +4 -21
  161. package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  162. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +22 -68
  163. package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  164. package/lib/commonjs/components/Chat/Chat.js +26 -69
  165. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  166. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +0 -26
  167. package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  168. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +42 -69
  169. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  170. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +8 -11
  171. package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  172. package/lib/commonjs/components/Chat/hooks/useIsOnline.js +19 -50
  173. package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
  174. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js +3 -11
  175. package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
  176. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +1 -8
  177. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  178. package/lib/commonjs/components/ImageBackground.js +7 -21
  179. package/lib/commonjs/components/ImageBackground.js.map +1 -1
  180. package/lib/commonjs/components/ImageGallery/ImageGallery.js +53 -131
  181. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  182. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +12 -27
  183. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  184. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +21 -52
  185. package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  186. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +79 -125
  187. package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  188. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +26 -56
  189. package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  190. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +12 -32
  191. package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  192. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +14 -27
  193. package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  194. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +16 -38
  195. package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
  196. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +12 -26
  197. package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  198. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js +15 -52
  199. package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  200. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +10 -25
  201. package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
  202. package/lib/commonjs/components/Indicators/LoadingDot.js +10 -21
  203. package/lib/commonjs/components/Indicators/LoadingDot.js.map +1 -1
  204. package/lib/commonjs/components/Indicators/LoadingDots.js +11 -21
  205. package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
  206. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +16 -33
  207. package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  208. package/lib/commonjs/components/Indicators/LoadingIndicator.js +8 -26
  209. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  210. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +9 -67
  211. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  212. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +22 -68
  213. package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  214. package/lib/commonjs/components/Message/Message.js +246 -335
  215. package/lib/commonjs/components/Message/Message.js.map +1 -1
  216. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +20 -40
  217. package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  218. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +113 -164
  219. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  220. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +27 -49
  221. package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  222. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +55 -68
  223. package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  224. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +11 -34
  225. package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  226. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +37 -57
  227. package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  228. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +13 -30
  229. package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  230. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +37 -57
  231. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  232. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +16 -40
  233. package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  234. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +30 -51
  235. package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  236. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +56 -84
  237. package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
  238. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js +23 -37
  239. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  240. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js +0 -1
  241. package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  242. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +22 -66
  243. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  244. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +97 -127
  245. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  246. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +37 -42
  247. package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  248. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js +108 -171
  249. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  250. package/lib/commonjs/components/Message/hooks/useMessageActions.js +141 -225
  251. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  252. package/lib/commonjs/components/Message/utils/messageActions.js +15 -30
  253. package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
  254. package/lib/commonjs/components/MessageInput/AttachButton.js +15 -33
  255. package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
  256. package/lib/commonjs/components/MessageInput/CommandsButton.js +13 -31
  257. package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
  258. package/lib/commonjs/components/MessageInput/CooldownTimer.js +8 -20
  259. package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -1
  260. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +48 -86
  261. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  262. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +25 -57
  263. package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
  264. package/lib/commonjs/components/MessageInput/InputButtons.js +47 -69
  265. package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
  266. package/lib/commonjs/components/MessageInput/MessageInput.js +176 -236
  267. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  268. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +9 -25
  269. package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
  270. package/lib/commonjs/components/MessageInput/SendButton.js +15 -33
  271. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  272. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +9 -20
  273. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  274. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +27 -50
  275. package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  276. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +9 -28
  277. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  278. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +14 -34
  279. package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  280. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +20 -41
  281. package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  282. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +14 -34
  283. package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  284. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js +6 -24
  285. package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
  286. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js +3 -16
  287. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
  288. package/lib/commonjs/components/MessageList/DateHeader.js +8 -18
  289. package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
  290. package/lib/commonjs/components/MessageList/InlineDateSeparator.js +9 -22
  291. package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
  292. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +3 -21
  293. package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  294. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -21
  295. package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  296. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +3 -21
  297. package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  298. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +10 -26
  299. package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  300. package/lib/commonjs/components/MessageList/MessageList.js +239 -355
  301. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  302. package/lib/commonjs/components/MessageList/MessageSystem.js +14 -27
  303. package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
  304. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +9 -26
  305. package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
  306. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +16 -27
  307. package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
  308. package/lib/commonjs/components/MessageList/TypingIndicator.js +8 -19
  309. package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
  310. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +8 -29
  311. package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  312. package/lib/commonjs/components/MessageList/hooks/useMessageList.js +10 -34
  313. package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
  314. package/lib/commonjs/components/MessageList/hooks/useTypingString.js +4 -18
  315. package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
  316. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js +2 -10
  317. package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  318. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js +3 -11
  319. package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
  320. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js +5 -18
  321. package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
  322. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +1 -9
  323. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  324. package/lib/commonjs/components/MessageList/utils/getReadStates.js +1 -22
  325. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
  326. package/lib/commonjs/components/MessageOverlay/MessageActionList.js +16 -39
  327. package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
  328. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +16 -36
  329. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  330. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +75 -127
  331. package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
  332. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +3 -12
  333. package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  334. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +39 -77
  335. package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  336. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +31 -53
  337. package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
  338. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +5 -14
  339. package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  340. package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js +2 -5
  341. package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  342. package/lib/commonjs/components/ProgressControl/ProgressControl.js +9 -26
  343. package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
  344. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +3 -13
  345. package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  346. package/lib/commonjs/components/Reply/Reply.js +37 -79
  347. package/lib/commonjs/components/Reply/Reply.js.map +1 -1
  348. package/lib/commonjs/components/Spinner/Spinner.js +6 -20
  349. package/lib/commonjs/components/Spinner/Spinner.js.map +1 -1
  350. package/lib/commonjs/components/Thread/Thread.js +28 -57
  351. package/lib/commonjs/components/Thread/Thread.js.map +1 -1
  352. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +15 -43
  353. package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  354. package/lib/commonjs/components/docs/data.js +0 -7
  355. package/lib/commonjs/components/docs/data.js.map +1 -1
  356. package/lib/commonjs/components/index.js +0 -284
  357. package/lib/commonjs/components/index.js.map +1 -1
  358. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +2 -18
  359. package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  360. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +20 -50
  361. package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  362. package/lib/commonjs/contexts/channelContext/ChannelContext.js +2 -23
  363. package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
  364. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +2 -23
  365. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  366. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +4 -37
  367. package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  368. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js +63 -81
  369. package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
  370. package/lib/commonjs/contexts/chatContext/ChatContext.js +2 -23
  371. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  372. package/lib/commonjs/contexts/debugContext/DebugContext.js +3 -17
  373. package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
  374. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +7 -32
  375. package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  376. package/lib/commonjs/contexts/index.js +0 -48
  377. package/lib/commonjs/contexts/index.js.map +1 -1
  378. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +2 -20
  379. package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  380. package/lib/commonjs/contexts/messageContext/MessageContext.js +2 -20
  381. package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
  382. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +531 -762
  383. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  384. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +88 -91
  385. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  386. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +19 -44
  387. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  388. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +2 -24
  389. package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  390. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js +3 -12
  391. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  392. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +40 -52
  393. package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  394. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -23
  395. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  396. package/lib/commonjs/contexts/overlayContext/OverlayContext.js +1 -20
  397. package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
  398. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +76 -124
  399. package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
  400. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +2 -18
  401. package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  402. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +2 -23
  403. package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  404. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +11 -46
  405. package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  406. package/lib/commonjs/contexts/themeContext/ThemeContext.js +5 -28
  407. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  408. package/lib/commonjs/contexts/themeContext/utils/theme.js +0 -4
  409. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  410. package/lib/commonjs/contexts/threadContext/ThreadContext.js +2 -23
  411. package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
  412. package/lib/commonjs/contexts/translationContext/TranslationContext.js +2 -26
  413. package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
  414. package/lib/commonjs/contexts/typingContext/TypingContext.js +2 -23
  415. package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
  416. package/lib/commonjs/contexts/utils/defaultBaseContextValue.js.map +1 -1
  417. package/lib/commonjs/contexts/utils/getDisplayName.js +0 -2
  418. package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
  419. package/lib/commonjs/contexts/utils/isTestEnvironment.js +0 -2
  420. package/lib/commonjs/contexts/utils/isTestEnvironment.js.map +1 -1
  421. package/lib/commonjs/emoji-data/compile.js +2 -4
  422. package/lib/commonjs/emoji-data/compile.js.map +1 -1
  423. package/lib/commonjs/emoji-data/compiled.js.map +1 -1
  424. package/lib/commonjs/emoji-data/emojiNames.js.map +1 -1
  425. package/lib/commonjs/emoji-data/emojis.js.map +1 -1
  426. package/lib/commonjs/emoji-data/index.js +1 -7
  427. package/lib/commonjs/emoji-data/index.js.map +1 -1
  428. package/lib/commonjs/hooks/index.js +0 -4
  429. package/lib/commonjs/hooks/index.js.map +1 -1
  430. package/lib/commonjs/hooks/useAppStateListener.js +0 -7
  431. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  432. package/lib/commonjs/hooks/useIsMountedRef.js +0 -3
  433. package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
  434. package/lib/commonjs/hooks/useLoadingImage.js +7 -16
  435. package/lib/commonjs/hooks/useLoadingImage.js.map +1 -1
  436. package/lib/commonjs/hooks/useStreami18n.js +4 -16
  437. package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
  438. package/lib/commonjs/hooks/useTranslatedMessage.js +1 -11
  439. package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
  440. package/lib/commonjs/icons/ArrowRight.js +1 -8
  441. package/lib/commonjs/icons/ArrowRight.js.map +1 -1
  442. package/lib/commonjs/icons/AtMentions.js +1 -8
  443. package/lib/commonjs/icons/AtMentions.js.map +1 -1
  444. package/lib/commonjs/icons/Attach.js +1 -8
  445. package/lib/commonjs/icons/Attach.js.map +1 -1
  446. package/lib/commonjs/icons/Audio.js +1 -9
  447. package/lib/commonjs/icons/Audio.js.map +1 -1
  448. package/lib/commonjs/icons/CSV.js +1 -8
  449. package/lib/commonjs/icons/CSV.js.map +1 -1
  450. package/lib/commonjs/icons/Camera.js +1 -8
  451. package/lib/commonjs/icons/Camera.js.map +1 -1
  452. package/lib/commonjs/icons/Check.js +1 -8
  453. package/lib/commonjs/icons/Check.js.map +1 -1
  454. package/lib/commonjs/icons/CheckAll.js +1 -8
  455. package/lib/commonjs/icons/CheckAll.js.map +1 -1
  456. package/lib/commonjs/icons/CheckSend.js +1 -8
  457. package/lib/commonjs/icons/CheckSend.js.map +1 -1
  458. package/lib/commonjs/icons/CircleClose.js +1 -8
  459. package/lib/commonjs/icons/CircleClose.js.map +1 -1
  460. package/lib/commonjs/icons/CirclePlus.js +1 -8
  461. package/lib/commonjs/icons/CirclePlus.js.map +1 -1
  462. package/lib/commonjs/icons/CircleRight.js +1 -8
  463. package/lib/commonjs/icons/CircleRight.js.map +1 -1
  464. package/lib/commonjs/icons/Close.js +1 -8
  465. package/lib/commonjs/icons/Close.js.map +1 -1
  466. package/lib/commonjs/icons/Copy.js +1 -8
  467. package/lib/commonjs/icons/Copy.js.map +1 -1
  468. package/lib/commonjs/icons/CurveLineLeftUp.js +1 -8
  469. package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
  470. package/lib/commonjs/icons/DOC.js +1 -9
  471. package/lib/commonjs/icons/DOC.js.map +1 -1
  472. package/lib/commonjs/icons/DOCX.js +1 -9
  473. package/lib/commonjs/icons/DOCX.js.map +1 -1
  474. package/lib/commonjs/icons/Delete.js +1 -8
  475. package/lib/commonjs/icons/Delete.js.map +1 -1
  476. package/lib/commonjs/icons/Down.js +1 -8
  477. package/lib/commonjs/icons/Down.js.map +1 -1
  478. package/lib/commonjs/icons/DownloadArrow.js +1 -8
  479. package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
  480. package/lib/commonjs/icons/DownloadCloud.js +1 -8
  481. package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
  482. package/lib/commonjs/icons/Edit.js +1 -8
  483. package/lib/commonjs/icons/Edit.js.map +1 -1
  484. package/lib/commonjs/icons/Error.js +1 -8
  485. package/lib/commonjs/icons/Error.js.map +1 -1
  486. package/lib/commonjs/icons/Eye.js +1 -8
  487. package/lib/commonjs/icons/Eye.js.map +1 -1
  488. package/lib/commonjs/icons/Flag.js +1 -8
  489. package/lib/commonjs/icons/Flag.js.map +1 -1
  490. package/lib/commonjs/icons/Folder.js +1 -8
  491. package/lib/commonjs/icons/Folder.js.map +1 -1
  492. package/lib/commonjs/icons/GenericFile.js +1 -9
  493. package/lib/commonjs/icons/GenericFile.js.map +1 -1
  494. package/lib/commonjs/icons/GiphyIcon.js +1 -8
  495. package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
  496. package/lib/commonjs/icons/Grid.js +1 -8
  497. package/lib/commonjs/icons/Grid.js.map +1 -1
  498. package/lib/commonjs/icons/Group.js +1 -8
  499. package/lib/commonjs/icons/Group.js.map +1 -1
  500. package/lib/commonjs/icons/HTML.js +1 -8
  501. package/lib/commonjs/icons/HTML.js.map +1 -1
  502. package/lib/commonjs/icons/Imgur.js +1 -9
  503. package/lib/commonjs/icons/Imgur.js.map +1 -1
  504. package/lib/commonjs/icons/LOLReaction.js +1 -8
  505. package/lib/commonjs/icons/LOLReaction.js.map +1 -1
  506. package/lib/commonjs/icons/Lightning.js +1 -8
  507. package/lib/commonjs/icons/Lightning.js.map +1 -1
  508. package/lib/commonjs/icons/Link.js +1 -8
  509. package/lib/commonjs/icons/Link.js.map +1 -1
  510. package/lib/commonjs/icons/Loading.js +12 -20
  511. package/lib/commonjs/icons/Loading.js.map +1 -1
  512. package/lib/commonjs/icons/Logo.js +1 -8
  513. package/lib/commonjs/icons/Logo.js.map +1 -1
  514. package/lib/commonjs/icons/LoveReaction.js +1 -8
  515. package/lib/commonjs/icons/LoveReaction.js.map +1 -1
  516. package/lib/commonjs/icons/MD.js +1 -8
  517. package/lib/commonjs/icons/MD.js.map +1 -1
  518. package/lib/commonjs/icons/MailOpen.js +1 -8
  519. package/lib/commonjs/icons/MailOpen.js.map +1 -1
  520. package/lib/commonjs/icons/MenuPointHorizontal.js +1 -8
  521. package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
  522. package/lib/commonjs/icons/MenuPointVertical.js +1 -8
  523. package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
  524. package/lib/commonjs/icons/MessageFlag.js +1 -8
  525. package/lib/commonjs/icons/MessageFlag.js.map +1 -1
  526. package/lib/commonjs/icons/MessageIcon.js +1 -8
  527. package/lib/commonjs/icons/MessageIcon.js.map +1 -1
  528. package/lib/commonjs/icons/Mute.js +1 -8
  529. package/lib/commonjs/icons/Mute.js.map +1 -1
  530. package/lib/commonjs/icons/Notification.js +1 -8
  531. package/lib/commonjs/icons/Notification.js.map +1 -1
  532. package/lib/commonjs/icons/ODT.js +1 -8
  533. package/lib/commonjs/icons/ODT.js.map +1 -1
  534. package/lib/commonjs/icons/PDF.js +1 -8
  535. package/lib/commonjs/icons/PDF.js.map +1 -1
  536. package/lib/commonjs/icons/PPT.js +1 -9
  537. package/lib/commonjs/icons/PPT.js.map +1 -1
  538. package/lib/commonjs/icons/PPTX.js +1 -9
  539. package/lib/commonjs/icons/PPTX.js.map +1 -1
  540. package/lib/commonjs/icons/Pause.js +2 -10
  541. package/lib/commonjs/icons/Pause.js.map +1 -1
  542. package/lib/commonjs/icons/Picture.js +1 -8
  543. package/lib/commonjs/icons/Picture.js.map +1 -1
  544. package/lib/commonjs/icons/Pin.js +1 -8
  545. package/lib/commonjs/icons/Pin.js.map +1 -1
  546. package/lib/commonjs/icons/PinHeader.js +1 -8
  547. package/lib/commonjs/icons/PinHeader.js.map +1 -1
  548. package/lib/commonjs/icons/Play.js +1 -8
  549. package/lib/commonjs/icons/Play.js.map +1 -1
  550. package/lib/commonjs/icons/RAR.js +1 -8
  551. package/lib/commonjs/icons/RAR.js.map +1 -1
  552. package/lib/commonjs/icons/RTF.js +1 -8
  553. package/lib/commonjs/icons/RTF.js.map +1 -1
  554. package/lib/commonjs/icons/Recorder.js +1 -8
  555. package/lib/commonjs/icons/Recorder.js.map +1 -1
  556. package/lib/commonjs/icons/Refresh.js +1 -8
  557. package/lib/commonjs/icons/Refresh.js.map +1 -1
  558. package/lib/commonjs/icons/SEVEN_Z.js +1 -8
  559. package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
  560. package/lib/commonjs/icons/Search.js +1 -8
  561. package/lib/commonjs/icons/Search.js.map +1 -1
  562. package/lib/commonjs/icons/SendRight.js +1 -8
  563. package/lib/commonjs/icons/SendRight.js.map +1 -1
  564. package/lib/commonjs/icons/SendUp.js +1 -8
  565. package/lib/commonjs/icons/SendUp.js.map +1 -1
  566. package/lib/commonjs/icons/Share.js +1 -9
  567. package/lib/commonjs/icons/Share.js.map +1 -1
  568. package/lib/commonjs/icons/ShareRightArrow.js +1 -8
  569. package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
  570. package/lib/commonjs/icons/Smile.js +1 -8
  571. package/lib/commonjs/icons/Smile.js.map +1 -1
  572. package/lib/commonjs/icons/Sound.js +1 -8
  573. package/lib/commonjs/icons/Sound.js.map +1 -1
  574. package/lib/commonjs/icons/TAR.js +1 -8
  575. package/lib/commonjs/icons/TAR.js.map +1 -1
  576. package/lib/commonjs/icons/TXT.js +1 -8
  577. package/lib/commonjs/icons/TXT.js.map +1 -1
  578. package/lib/commonjs/icons/ThreadReply.js +1 -8
  579. package/lib/commonjs/icons/ThreadReply.js.map +1 -1
  580. package/lib/commonjs/icons/ThumbsDownReaction.js +1 -8
  581. package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
  582. package/lib/commonjs/icons/ThumbsUpReaction.js +1 -8
  583. package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
  584. package/lib/commonjs/icons/Time.js +1 -8
  585. package/lib/commonjs/icons/Time.js.map +1 -1
  586. package/lib/commonjs/icons/Unknown.js +1 -8
  587. package/lib/commonjs/icons/Unknown.js.map +1 -1
  588. package/lib/commonjs/icons/Unpin.js +1 -8
  589. package/lib/commonjs/icons/Unpin.js.map +1 -1
  590. package/lib/commonjs/icons/User.js +1 -8
  591. package/lib/commonjs/icons/User.js.map +1 -1
  592. package/lib/commonjs/icons/UserAdd.js +1 -8
  593. package/lib/commonjs/icons/UserAdd.js.map +1 -1
  594. package/lib/commonjs/icons/UserAdmin.js +3 -12
  595. package/lib/commonjs/icons/UserAdmin.js.map +1 -1
  596. package/lib/commonjs/icons/UserDelete.js +1 -8
  597. package/lib/commonjs/icons/UserDelete.js.map +1 -1
  598. package/lib/commonjs/icons/UserMinus.js +1 -8
  599. package/lib/commonjs/icons/UserMinus.js.map +1 -1
  600. package/lib/commonjs/icons/Video.js +1 -8
  601. package/lib/commonjs/icons/Video.js.map +1 -1
  602. package/lib/commonjs/icons/Warning.js +1 -8
  603. package/lib/commonjs/icons/Warning.js.map +1 -1
  604. package/lib/commonjs/icons/WutReaction.js +1 -8
  605. package/lib/commonjs/icons/WutReaction.js.map +1 -1
  606. package/lib/commonjs/icons/XLS.js +1 -9
  607. package/lib/commonjs/icons/XLS.js.map +1 -1
  608. package/lib/commonjs/icons/XLSX.js +1 -9
  609. package/lib/commonjs/icons/XLSX.js.map +1 -1
  610. package/lib/commonjs/icons/ZIP.js +1 -8
  611. package/lib/commonjs/icons/ZIP.js.map +1 -1
  612. package/lib/commonjs/icons/index.js +0 -168
  613. package/lib/commonjs/icons/index.js.map +1 -1
  614. package/lib/commonjs/icons/utils/base.js +11 -25
  615. package/lib/commonjs/icons/utils/base.js.map +1 -1
  616. package/lib/commonjs/index.js +0 -35
  617. package/lib/commonjs/index.js.map +1 -1
  618. package/lib/commonjs/init.js +0 -3
  619. package/lib/commonjs/init.js.map +1 -1
  620. package/lib/commonjs/mock-builders/DB/consts.js.map +1 -1
  621. package/lib/commonjs/mock-builders/DB/mock.js +0 -11
  622. package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
  623. package/lib/commonjs/mock-builders/api/channelMocks.js +0 -2
  624. package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
  625. package/lib/commonjs/mock-builders/api/deleteMessage.js +0 -4
  626. package/lib/commonjs/mock-builders/api/deleteMessage.js.map +1 -1
  627. package/lib/commonjs/mock-builders/api/deleteReaction.js +0 -4
  628. package/lib/commonjs/mock-builders/api/deleteReaction.js.map +1 -1
  629. package/lib/commonjs/mock-builders/api/error.js +0 -12
  630. package/lib/commonjs/mock-builders/api/error.js.map +1 -1
  631. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js +0 -3
  632. package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
  633. package/lib/commonjs/mock-builders/api/queryChannels.js +0 -3
  634. package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
  635. package/lib/commonjs/mock-builders/api/queryMembers.js +0 -3
  636. package/lib/commonjs/mock-builders/api/queryMembers.js.map +1 -1
  637. package/lib/commonjs/mock-builders/api/sendMessage.js +0 -4
  638. package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
  639. package/lib/commonjs/mock-builders/api/sendReaction.js +0 -4
  640. package/lib/commonjs/mock-builders/api/sendReaction.js.map +1 -1
  641. package/lib/commonjs/mock-builders/api/threadReplies.js +0 -3
  642. package/lib/commonjs/mock-builders/api/threadReplies.js.map +1 -1
  643. package/lib/commonjs/mock-builders/api/useMockedApis.js +1 -3
  644. package/lib/commonjs/mock-builders/api/useMockedApis.js.map +1 -1
  645. package/lib/commonjs/mock-builders/api/utils.js +0 -2
  646. package/lib/commonjs/mock-builders/api/utils.js.map +1 -1
  647. package/lib/commonjs/mock-builders/event/channelDeleted.js +0 -2
  648. package/lib/commonjs/mock-builders/event/channelDeleted.js.map +1 -1
  649. package/lib/commonjs/mock-builders/event/channelHidden.js +0 -2
  650. package/lib/commonjs/mock-builders/event/channelHidden.js.map +1 -1
  651. package/lib/commonjs/mock-builders/event/channelTruncated.js +0 -2
  652. package/lib/commonjs/mock-builders/event/channelTruncated.js.map +1 -1
  653. package/lib/commonjs/mock-builders/event/channelUpdated.js +0 -2
  654. package/lib/commonjs/mock-builders/event/channelUpdated.js.map +1 -1
  655. package/lib/commonjs/mock-builders/event/connectionChanged.js +0 -2
  656. package/lib/commonjs/mock-builders/event/connectionChanged.js.map +1 -1
  657. package/lib/commonjs/mock-builders/event/connectionRecovered.js +0 -2
  658. package/lib/commonjs/mock-builders/event/connectionRecovered.js.map +1 -1
  659. package/lib/commonjs/mock-builders/event/memberAdded.js +0 -2
  660. package/lib/commonjs/mock-builders/event/memberAdded.js.map +1 -1
  661. package/lib/commonjs/mock-builders/event/memberRemoved.js +0 -2
  662. package/lib/commonjs/mock-builders/event/memberRemoved.js.map +1 -1
  663. package/lib/commonjs/mock-builders/event/memberUpdated.js +0 -2
  664. package/lib/commonjs/mock-builders/event/memberUpdated.js.map +1 -1
  665. package/lib/commonjs/mock-builders/event/messageDeleted.js +0 -2
  666. package/lib/commonjs/mock-builders/event/messageDeleted.js.map +1 -1
  667. package/lib/commonjs/mock-builders/event/messageNew.js +0 -2
  668. package/lib/commonjs/mock-builders/event/messageNew.js.map +1 -1
  669. package/lib/commonjs/mock-builders/event/messageRead.js +0 -2
  670. package/lib/commonjs/mock-builders/event/messageRead.js.map +1 -1
  671. package/lib/commonjs/mock-builders/event/messageUpdated.js +0 -2
  672. package/lib/commonjs/mock-builders/event/messageUpdated.js.map +1 -1
  673. package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js +0 -2
  674. package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  675. package/lib/commonjs/mock-builders/event/notificationMessageNew.js +0 -2
  676. package/lib/commonjs/mock-builders/event/notificationMessageNew.js.map +1 -1
  677. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js +0 -4
  678. package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  679. package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js +0 -2
  680. package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  681. package/lib/commonjs/mock-builders/event/reactionDeleted.js +0 -2
  682. package/lib/commonjs/mock-builders/event/reactionDeleted.js.map +1 -1
  683. package/lib/commonjs/mock-builders/event/reactionNew.js +0 -2
  684. package/lib/commonjs/mock-builders/event/reactionNew.js.map +1 -1
  685. package/lib/commonjs/mock-builders/event/reactionUpdated.js +0 -2
  686. package/lib/commonjs/mock-builders/event/reactionUpdated.js.map +1 -1
  687. package/lib/commonjs/mock-builders/event/typing.js +0 -2
  688. package/lib/commonjs/mock-builders/event/typing.js.map +1 -1
  689. package/lib/commonjs/mock-builders/event/userPresence.js +0 -2
  690. package/lib/commonjs/mock-builders/event/userPresence.js.map +1 -1
  691. package/lib/commonjs/mock-builders/event/userUpdated.js +0 -2
  692. package/lib/commonjs/mock-builders/event/userUpdated.js.map +1 -1
  693. package/lib/commonjs/mock-builders/generator/attachment.js +0 -24
  694. package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
  695. package/lib/commonjs/mock-builders/generator/channel.js +13 -28
  696. package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
  697. package/lib/commonjs/mock-builders/generator/member.js +0 -5
  698. package/lib/commonjs/mock-builders/generator/member.js.map +1 -1
  699. package/lib/commonjs/mock-builders/generator/message.js +0 -8
  700. package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
  701. package/lib/commonjs/mock-builders/generator/reaction.js +0 -5
  702. package/lib/commonjs/mock-builders/generator/reaction.js.map +1 -1
  703. package/lib/commonjs/mock-builders/generator/user.js +0 -10
  704. package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
  705. package/lib/commonjs/mock-builders/mock.js +23 -47
  706. package/lib/commonjs/mock-builders/mock.js.map +1 -1
  707. package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
  708. package/lib/commonjs/native.js +0 -23
  709. package/lib/commonjs/native.js.map +1 -1
  710. package/lib/commonjs/store/QuickSqliteClient.js +2 -49
  711. package/lib/commonjs/store/QuickSqliteClient.js.map +1 -1
  712. package/lib/commonjs/store/QuickSqliteClient_v4.js +12 -41
  713. package/lib/commonjs/store/QuickSqliteClient_v4.js.map +1 -1
  714. package/lib/commonjs/store/apis/addPendingTask.js +3 -12
  715. package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
  716. package/lib/commonjs/store/apis/deleteChannel.js +2 -8
  717. package/lib/commonjs/store/apis/deleteChannel.js.map +1 -1
  718. package/lib/commonjs/store/apis/deleteMember.js +3 -9
  719. package/lib/commonjs/store/apis/deleteMember.js.map +1 -1
  720. package/lib/commonjs/store/apis/deleteMessage.js +2 -8
  721. package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
  722. package/lib/commonjs/store/apis/deleteMessagesForChannel.js +2 -8
  723. package/lib/commonjs/store/apis/deleteMessagesForChannel.js.map +1 -1
  724. package/lib/commonjs/store/apis/deletePendingTask.js +0 -6
  725. package/lib/commonjs/store/apis/deletePendingTask.js.map +1 -1
  726. package/lib/commonjs/store/apis/deleteReaction.js +4 -10
  727. package/lib/commonjs/store/apis/deleteReaction.js.map +1 -1
  728. package/lib/commonjs/store/apis/deleteReactions.js +2 -8
  729. package/lib/commonjs/store/apis/deleteReactions.js.map +1 -1
  730. package/lib/commonjs/store/apis/getAllChannelIds.js +0 -3
  731. package/lib/commonjs/store/apis/getAllChannelIds.js.map +1 -1
  732. package/lib/commonjs/store/apis/getAppSettings.js +0 -7
  733. package/lib/commonjs/store/apis/getAppSettings.js.map +1 -1
  734. package/lib/commonjs/store/apis/getChannelMessages.js +1 -8
  735. package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
  736. package/lib/commonjs/store/apis/getChannels.js +1 -10
  737. package/lib/commonjs/store/apis/getChannels.js.map +1 -1
  738. package/lib/commonjs/store/apis/getChannelsForFilterSort.js +2 -10
  739. package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
  740. package/lib/commonjs/store/apis/getLastSyncedAt.js +0 -7
  741. package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
  742. package/lib/commonjs/store/apis/getMembers.js +0 -5
  743. package/lib/commonjs/store/apis/getMembers.js.map +1 -1
  744. package/lib/commonjs/store/apis/getPendingTasks.js +0 -7
  745. package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
  746. package/lib/commonjs/store/apis/getReads.js +0 -5
  747. package/lib/commonjs/store/apis/getReads.js.map +1 -1
  748. package/lib/commonjs/store/apis/index.js +0 -46
  749. package/lib/commonjs/store/apis/index.js.map +1 -1
  750. package/lib/commonjs/store/apis/insertReaction.js +2 -9
  751. package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
  752. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js +1 -9
  753. package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  754. package/lib/commonjs/store/apis/queries/selectChannels.js +1 -8
  755. package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
  756. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js +0 -6
  757. package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
  758. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +0 -6
  759. package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  760. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +0 -6
  761. package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  762. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js +0 -6
  763. package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
  764. package/lib/commonjs/store/apis/updateMessage.js +2 -22
  765. package/lib/commonjs/store/apis/updateMessage.js.map +1 -1
  766. package/lib/commonjs/store/apis/updateReaction.js +4 -18
  767. package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
  768. package/lib/commonjs/store/apis/upsertAppSettings.js +3 -8
  769. package/lib/commonjs/store/apis/upsertAppSettings.js.map +1 -1
  770. package/lib/commonjs/store/apis/upsertChannelData.js +2 -9
  771. package/lib/commonjs/store/apis/upsertChannelData.js.map +1 -1
  772. package/lib/commonjs/store/apis/upsertChannels.js +8 -26
  773. package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
  774. package/lib/commonjs/store/apis/upsertCidsForQuery.js +4 -11
  775. package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
  776. package/lib/commonjs/store/apis/upsertLastSyncedAt.js +1 -6
  777. package/lib/commonjs/store/apis/upsertLastSyncedAt.js.map +1 -1
  778. package/lib/commonjs/store/apis/upsertMembers.js +3 -12
  779. package/lib/commonjs/store/apis/upsertMembers.js.map +1 -1
  780. package/lib/commonjs/store/apis/upsertMessages.js +2 -16
  781. package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
  782. package/lib/commonjs/store/apis/upsertReads.js +3 -12
  783. package/lib/commonjs/store/apis/upsertReads.js.map +1 -1
  784. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js +1 -3
  785. package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  786. package/lib/commonjs/store/constants.js.map +1 -1
  787. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js +23 -29
  788. package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
  789. package/lib/commonjs/store/mappers/mapDateTimeToStorable.js +0 -2
  790. package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
  791. package/lib/commonjs/store/mappers/mapMemberToStorable.js +11 -14
  792. package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
  793. package/lib/commonjs/store/mappers/mapMessageToStorable.js +12 -18
  794. package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
  795. package/lib/commonjs/store/mappers/mapReactionToStorable.js +6 -12
  796. package/lib/commonjs/store/mappers/mapReactionToStorable.js.map +1 -1
  797. package/lib/commonjs/store/mappers/mapReadToStorable.js +3 -6
  798. package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
  799. package/lib/commonjs/store/mappers/mapStorableToChannel.js +23 -27
  800. package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
  801. package/lib/commonjs/store/mappers/mapStorableToMember.js +11 -14
  802. package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
  803. package/lib/commonjs/store/mappers/mapStorableToMessage.js +8 -17
  804. package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
  805. package/lib/commonjs/store/mappers/mapStorableToReaction.js +6 -11
  806. package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
  807. package/lib/commonjs/store/mappers/mapStorableToRead.js +2 -5
  808. package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
  809. package/lib/commonjs/store/mappers/mapStorableToTask.js +4 -6
  810. package/lib/commonjs/store/mappers/mapStorableToTask.js.map +1 -1
  811. package/lib/commonjs/store/mappers/mapStorableToUser.js +7 -11
  812. package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
  813. package/lib/commonjs/store/mappers/mapTaskToStorable.js +0 -4
  814. package/lib/commonjs/store/mappers/mapTaskToStorable.js.map +1 -1
  815. package/lib/commonjs/store/mappers/mapUserToStorable.js +7 -12
  816. package/lib/commonjs/store/mappers/mapUserToStorable.js.map +1 -1
  817. package/lib/commonjs/store/schema.js.map +1 -1
  818. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +0 -5
  819. package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  820. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +0 -8
  821. package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  822. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js +2 -10
  823. package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  824. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js +0 -3
  825. package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  826. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js +5 -14
  827. package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
  828. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js +3 -11
  829. package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  830. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js +0 -5
  831. package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  832. package/lib/commonjs/store/sqlite-utils/printRow.js +0 -5
  833. package/lib/commonjs/store/sqlite-utils/printRow.js.map +1 -1
  834. package/lib/commonjs/store/types.js.map +1 -1
  835. package/lib/commonjs/test-utils/BetterSqlite.js +0 -11
  836. package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
  837. package/lib/commonjs/types/types.js.map +1 -1
  838. package/lib/commonjs/utils/DBSyncManager.js +217 -321
  839. package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
  840. package/lib/commonjs/utils/Streami18n.js +74 -181
  841. package/lib/commonjs/utils/Streami18n.js.map +1 -1
  842. package/lib/commonjs/utils/addReactionToLocalState.js +4 -21
  843. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  844. package/lib/commonjs/utils/date.js +0 -2
  845. package/lib/commonjs/utils/date.js.map +1 -1
  846. package/lib/commonjs/utils/getResizedImageUrl.js +4 -10
  847. package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
  848. package/lib/commonjs/utils/getUrlOfImageAttachment.js +0 -1
  849. package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
  850. package/lib/commonjs/utils/patchMessageTextCommand.js +0 -6
  851. package/lib/commonjs/utils/patchMessageTextCommand.js.map +1 -1
  852. package/lib/commonjs/utils/removeReactionFromLocalState.js +3 -9
  853. package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
  854. package/lib/commonjs/utils/removeReservedFields.js +0 -4
  855. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  856. package/lib/commonjs/utils/utils.js +86 -179
  857. package/lib/commonjs/utils/utils.js.map +1 -1
  858. package/lib/commonjs/version.json +1 -1
  859. package/lib/module/components/Attachment/Attachment.js +45 -56
  860. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  861. package/lib/module/components/Attachment/AttachmentActions.js +25 -43
  862. package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
  863. package/lib/module/components/Attachment/AudioAttachment.js +114 -191
  864. package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
  865. package/lib/module/components/Attachment/Card.js +53 -80
  866. package/lib/module/components/Attachment/Card.js.map +1 -1
  867. package/lib/module/components/Attachment/FileAttachment.js +30 -57
  868. package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
  869. package/lib/module/components/Attachment/FileAttachmentGroup.js +19 -50
  870. package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
  871. package/lib/module/components/Attachment/FileIcon.js +3 -45
  872. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  873. package/lib/module/components/Attachment/Gallery.js +121 -162
  874. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  875. package/lib/module/components/Attachment/GalleryImage.js +5 -23
  876. package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
  877. package/lib/module/components/Attachment/Giphy.js +76 -109
  878. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  879. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +7 -23
  880. package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
  881. package/lib/module/components/Attachment/ImageLoadingIndicator.js +3 -15
  882. package/lib/module/components/Attachment/ImageLoadingIndicator.js.map +1 -1
  883. package/lib/module/components/Attachment/VideoThumbnail.js +10 -20
  884. package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
  885. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js +1 -10
  886. package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
  887. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +8 -24
  888. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
  889. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +22 -35
  890. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
  891. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js +1 -7
  892. package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
  893. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js +4 -7
  894. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
  895. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js +5 -9
  896. package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
  897. package/lib/module/components/Attachment/utils/buildGallery/types.js.map +1 -1
  898. package/lib/module/components/Attachment/utils/getAspectRatio.js +0 -2
  899. package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
  900. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +12 -14
  901. package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
  902. package/lib/module/components/Attachment/utils/getGiphyMimeType.js +0 -2
  903. package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
  904. package/lib/module/components/Attachment/utils/openUrlSafely.js +19 -33
  905. package/lib/module/components/Attachment/utils/openUrlSafely.js.map +1 -1
  906. package/lib/module/components/AttachmentPicker/AttachmentPicker.js +74 -123
  907. package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
  908. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +4 -18
  909. package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
  910. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +33 -56
  911. package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
  912. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +2 -10
  913. package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
  914. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +71 -117
  915. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  916. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +33 -59
  917. package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
  918. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +2 -10
  919. package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
  920. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +2 -10
  921. package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
  922. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -14
  923. package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
  924. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +4 -13
  925. package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
  926. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +177 -285
  927. package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
  928. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +6 -24
  929. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
  930. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +12 -30
  931. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
  932. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +30 -47
  933. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
  934. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +21 -49
  935. package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
  936. package/lib/module/components/Avatar/Avatar.js +22 -42
  937. package/lib/module/components/Avatar/Avatar.js.map +1 -1
  938. package/lib/module/components/Avatar/GroupAvatar.js +15 -33
  939. package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
  940. package/lib/module/components/Channel/Channel.js +1136 -1586
  941. package/lib/module/components/Channel/Channel.js.map +1 -1
  942. package/lib/module/components/Channel/hooks/useCreateChannelContext.js +31 -34
  943. package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
  944. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +40 -43
  945. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  946. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +81 -84
  947. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  948. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -11
  949. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  950. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js +9 -13
  951. package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
  952. package/lib/module/components/Channel/hooks/useCreateThreadContext.js +9 -13
  953. package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
  954. package/lib/module/components/Channel/hooks/useCreateTypingContext.js +0 -3
  955. package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
  956. package/lib/module/components/Channel/hooks/useTargetedMessage.js +3 -12
  957. package/lib/module/components/Channel/hooks/useTargetedMessage.js.map +1 -1
  958. package/lib/module/components/ChannelList/ChannelList.js +71 -110
  959. package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
  960. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +2 -12
  961. package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
  962. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +12 -24
  963. package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
  964. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +9 -20
  965. package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
  966. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +6 -17
  967. package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
  968. package/lib/module/components/ChannelList/ChannelListMessenger.js +55 -84
  969. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  970. package/lib/module/components/ChannelList/Skeleton.js +16 -33
  971. package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
  972. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js +28 -50
  973. package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
  974. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js +2 -14
  975. package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
  976. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js +2 -14
  977. package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
  978. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js +4 -12
  979. package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
  980. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +2 -16
  981. package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
  982. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js +28 -49
  983. package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
  984. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js +2 -17
  985. package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
  986. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js +28 -50
  987. package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
  988. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js +2 -12
  989. package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
  990. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js +1 -12
  991. package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
  992. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +29 -34
  993. package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
  994. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +141 -219
  995. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  996. package/lib/module/components/ChannelList/utils.js +13 -26
  997. package/lib/module/components/ChannelList/utils.js.map +1 -1
  998. package/lib/module/components/ChannelPreview/ChannelAvatar.js +3 -19
  999. package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
  1000. package/lib/module/components/ChannelPreview/ChannelPreview.js +14 -44
  1001. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  1002. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +4 -15
  1003. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  1004. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +35 -60
  1005. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  1006. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +7 -18
  1007. package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
  1008. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +10 -24
  1009. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  1010. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +4 -14
  1011. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  1012. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +7 -17
  1013. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  1014. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js +4 -27
  1015. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
  1016. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +12 -36
  1017. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
  1018. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js +4 -21
  1019. package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
  1020. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +22 -68
  1021. package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
  1022. package/lib/module/components/Chat/Chat.js +26 -69
  1023. package/lib/module/components/Chat/Chat.js.map +1 -1
  1024. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +0 -26
  1025. package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
  1026. package/lib/module/components/Chat/hooks/useAppSettings.js +42 -69
  1027. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  1028. package/lib/module/components/Chat/hooks/useCreateChatContext.js +8 -11
  1029. package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
  1030. package/lib/module/components/Chat/hooks/useIsOnline.js +19 -50
  1031. package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
  1032. package/lib/module/components/Chat/hooks/useMutedUsers.js +3 -11
  1033. package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
  1034. package/lib/module/components/Chat/hooks/useSyncDatabase.js +1 -8
  1035. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  1036. package/lib/module/components/ImageBackground.js +7 -21
  1037. package/lib/module/components/ImageBackground.js.map +1 -1
  1038. package/lib/module/components/ImageGallery/ImageGallery.js +53 -131
  1039. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  1040. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +12 -27
  1041. package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
  1042. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +21 -52
  1043. package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
  1044. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +79 -125
  1045. package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
  1046. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +26 -56
  1047. package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
  1048. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +12 -32
  1049. package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
  1050. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +14 -27
  1051. package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
  1052. package/lib/module/components/ImageGallery/components/ImageGrid.js +16 -38
  1053. package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
  1054. package/lib/module/components/ImageGallery/components/ImageGridHandle.js +12 -26
  1055. package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
  1056. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js +15 -52
  1057. package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
  1058. package/lib/module/components/Indicators/EmptyStateIndicator.js +10 -25
  1059. package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
  1060. package/lib/module/components/Indicators/LoadingDot.js +10 -21
  1061. package/lib/module/components/Indicators/LoadingDot.js.map +1 -1
  1062. package/lib/module/components/Indicators/LoadingDots.js +11 -21
  1063. package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
  1064. package/lib/module/components/Indicators/LoadingErrorIndicator.js +16 -33
  1065. package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
  1066. package/lib/module/components/Indicators/LoadingIndicator.js +8 -26
  1067. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  1068. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +9 -67
  1069. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
  1070. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +22 -68
  1071. package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
  1072. package/lib/module/components/Message/Message.js +246 -335
  1073. package/lib/module/components/Message/Message.js.map +1 -1
  1074. package/lib/module/components/Message/MessageSimple/MessageAvatar.js +20 -40
  1075. package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
  1076. package/lib/module/components/Message/MessageSimple/MessageContent.js +113 -164
  1077. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  1078. package/lib/module/components/Message/MessageSimple/MessageDeleted.js +27 -49
  1079. package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
  1080. package/lib/module/components/Message/MessageSimple/MessageFooter.js +55 -68
  1081. package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
  1082. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +11 -34
  1083. package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
  1084. package/lib/module/components/Message/MessageSimple/MessageReplies.js +37 -57
  1085. package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
  1086. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +13 -30
  1087. package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
  1088. package/lib/module/components/Message/MessageSimple/MessageSimple.js +37 -57
  1089. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  1090. package/lib/module/components/Message/MessageSimple/MessageStatus.js +16 -40
  1091. package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
  1092. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +30 -51
  1093. package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
  1094. package/lib/module/components/Message/MessageSimple/ReactionList.js +56 -84
  1095. package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
  1096. package/lib/module/components/Message/MessageSimple/utils/parseLinks.js +23 -37
  1097. package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
  1098. package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js +0 -1
  1099. package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
  1100. package/lib/module/components/Message/MessageSimple/utils/renderText.js +22 -66
  1101. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  1102. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +97 -127
  1103. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  1104. package/lib/module/components/Message/hooks/useCreateMessageContext.js +37 -42
  1105. package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
  1106. package/lib/module/components/Message/hooks/useMessageActionHandlers.js +108 -171
  1107. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  1108. package/lib/module/components/Message/hooks/useMessageActions.js +141 -225
  1109. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  1110. package/lib/module/components/Message/utils/messageActions.js +15 -30
  1111. package/lib/module/components/Message/utils/messageActions.js.map +1 -1
  1112. package/lib/module/components/MessageInput/AttachButton.js +15 -33
  1113. package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
  1114. package/lib/module/components/MessageInput/CommandsButton.js +13 -31
  1115. package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
  1116. package/lib/module/components/MessageInput/CooldownTimer.js +8 -20
  1117. package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -1
  1118. package/lib/module/components/MessageInput/FileUploadPreview.js +48 -86
  1119. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  1120. package/lib/module/components/MessageInput/ImageUploadPreview.js +25 -57
  1121. package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
  1122. package/lib/module/components/MessageInput/InputButtons.js +47 -69
  1123. package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
  1124. package/lib/module/components/MessageInput/MessageInput.js +176 -236
  1125. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  1126. package/lib/module/components/MessageInput/MoreOptionsButton.js +9 -25
  1127. package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
  1128. package/lib/module/components/MessageInput/SendButton.js +15 -33
  1129. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  1130. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +9 -20
  1131. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  1132. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +27 -50
  1133. package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
  1134. package/lib/module/components/MessageInput/UploadProgressIndicator.js +9 -28
  1135. package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  1136. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +14 -34
  1137. package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
  1138. package/lib/module/components/MessageInput/components/InputGiphySearch.js +20 -41
  1139. package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
  1140. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +14 -34
  1141. package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
  1142. package/lib/module/components/MessageInput/hooks/useCooldown.js +6 -24
  1143. package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
  1144. package/lib/module/components/MessageInput/hooks/useCountdown.js +3 -16
  1145. package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
  1146. package/lib/module/components/MessageList/DateHeader.js +8 -18
  1147. package/lib/module/components/MessageList/DateHeader.js.map +1 -1
  1148. package/lib/module/components/MessageList/InlineDateSeparator.js +9 -22
  1149. package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
  1150. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +3 -21
  1151. package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
  1152. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +3 -21
  1153. package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
  1154. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +3 -21
  1155. package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
  1156. package/lib/module/components/MessageList/InlineUnreadIndicator.js +10 -26
  1157. package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
  1158. package/lib/module/components/MessageList/MessageList.js +239 -355
  1159. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  1160. package/lib/module/components/MessageList/MessageSystem.js +14 -27
  1161. package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
  1162. package/lib/module/components/MessageList/NetworkDownIndicator.js +9 -26
  1163. package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
  1164. package/lib/module/components/MessageList/ScrollToBottomButton.js +16 -27
  1165. package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
  1166. package/lib/module/components/MessageList/TypingIndicator.js +8 -19
  1167. package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
  1168. package/lib/module/components/MessageList/TypingIndicatorContainer.js +8 -29
  1169. package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
  1170. package/lib/module/components/MessageList/hooks/useMessageList.js +10 -34
  1171. package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
  1172. package/lib/module/components/MessageList/hooks/useTypingString.js +4 -18
  1173. package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
  1174. package/lib/module/components/MessageList/utils/filterTypingUsers.js +2 -10
  1175. package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
  1176. package/lib/module/components/MessageList/utils/getDateSeparators.js +3 -11
  1177. package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
  1178. package/lib/module/components/MessageList/utils/getGroupStyles.js +5 -18
  1179. package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
  1180. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +1 -9
  1181. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  1182. package/lib/module/components/MessageList/utils/getReadStates.js +1 -22
  1183. package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
  1184. package/lib/module/components/MessageOverlay/MessageActionList.js +16 -39
  1185. package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
  1186. package/lib/module/components/MessageOverlay/MessageActionListItem.js +16 -36
  1187. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  1188. package/lib/module/components/MessageOverlay/MessageOverlay.js +75 -127
  1189. package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
  1190. package/lib/module/components/MessageOverlay/OverlayBackdrop.js +3 -12
  1191. package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
  1192. package/lib/module/components/MessageOverlay/OverlayReactionList.js +39 -77
  1193. package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
  1194. package/lib/module/components/MessageOverlay/OverlayReactions.js +31 -53
  1195. package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
  1196. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +5 -14
  1197. package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
  1198. package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js +2 -5
  1199. package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
  1200. package/lib/module/components/ProgressControl/ProgressControl.js +9 -26
  1201. package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
  1202. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +3 -13
  1203. package/lib/module/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
  1204. package/lib/module/components/Reply/Reply.js +37 -79
  1205. package/lib/module/components/Reply/Reply.js.map +1 -1
  1206. package/lib/module/components/Spinner/Spinner.js +6 -20
  1207. package/lib/module/components/Spinner/Spinner.js.map +1 -1
  1208. package/lib/module/components/Thread/Thread.js +28 -57
  1209. package/lib/module/components/Thread/Thread.js.map +1 -1
  1210. package/lib/module/components/Thread/components/ThreadFooterComponent.js +15 -43
  1211. package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
  1212. package/lib/module/components/docs/data.js +0 -7
  1213. package/lib/module/components/docs/data.js.map +1 -1
  1214. package/lib/module/components/index.js +0 -284
  1215. package/lib/module/components/index.js.map +1 -1
  1216. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +2 -18
  1217. package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
  1218. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +20 -50
  1219. package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
  1220. package/lib/module/contexts/channelContext/ChannelContext.js +2 -23
  1221. package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
  1222. package/lib/module/contexts/channelsContext/ChannelsContext.js +2 -23
  1223. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  1224. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +4 -37
  1225. package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
  1226. package/lib/module/contexts/channelsStateContext/useChannelState.js +63 -81
  1227. package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
  1228. package/lib/module/contexts/chatContext/ChatContext.js +2 -23
  1229. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  1230. package/lib/module/contexts/debugContext/DebugContext.js +3 -17
  1231. package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
  1232. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +7 -32
  1233. package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
  1234. package/lib/module/contexts/index.js +0 -48
  1235. package/lib/module/contexts/index.js.map +1 -1
  1236. package/lib/module/contexts/keyboardContext/KeyboardContext.js +2 -20
  1237. package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
  1238. package/lib/module/contexts/messageContext/MessageContext.js +2 -20
  1239. package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
  1240. package/lib/module/contexts/messageInputContext/MessageInputContext.js +531 -762
  1241. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  1242. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +88 -91
  1243. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  1244. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +19 -44
  1245. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  1246. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +2 -24
  1247. package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
  1248. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js +3 -12
  1249. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
  1250. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +40 -52
  1251. package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
  1252. package/lib/module/contexts/messagesContext/MessagesContext.js +2 -23
  1253. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  1254. package/lib/module/contexts/overlayContext/OverlayContext.js +1 -20
  1255. package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
  1256. package/lib/module/contexts/overlayContext/OverlayProvider.js +76 -124
  1257. package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
  1258. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +2 -18
  1259. package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
  1260. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +2 -23
  1261. package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
  1262. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +11 -46
  1263. package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
  1264. package/lib/module/contexts/themeContext/ThemeContext.js +5 -28
  1265. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  1266. package/lib/module/contexts/themeContext/utils/theme.js +0 -4
  1267. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  1268. package/lib/module/contexts/threadContext/ThreadContext.js +2 -23
  1269. package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
  1270. package/lib/module/contexts/translationContext/TranslationContext.js +2 -26
  1271. package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
  1272. package/lib/module/contexts/typingContext/TypingContext.js +2 -23
  1273. package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
  1274. package/lib/module/contexts/utils/defaultBaseContextValue.js.map +1 -1
  1275. package/lib/module/contexts/utils/getDisplayName.js +0 -2
  1276. package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
  1277. package/lib/module/contexts/utils/isTestEnvironment.js +0 -2
  1278. package/lib/module/contexts/utils/isTestEnvironment.js.map +1 -1
  1279. package/lib/module/emoji-data/compile.js +2 -4
  1280. package/lib/module/emoji-data/compile.js.map +1 -1
  1281. package/lib/module/emoji-data/compiled.js.map +1 -1
  1282. package/lib/module/emoji-data/emojiNames.js.map +1 -1
  1283. package/lib/module/emoji-data/emojis.js.map +1 -1
  1284. package/lib/module/emoji-data/index.js +1 -7
  1285. package/lib/module/emoji-data/index.js.map +1 -1
  1286. package/lib/module/hooks/index.js +0 -4
  1287. package/lib/module/hooks/index.js.map +1 -1
  1288. package/lib/module/hooks/useAppStateListener.js +0 -7
  1289. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  1290. package/lib/module/hooks/useIsMountedRef.js +0 -3
  1291. package/lib/module/hooks/useIsMountedRef.js.map +1 -1
  1292. package/lib/module/hooks/useLoadingImage.js +7 -16
  1293. package/lib/module/hooks/useLoadingImage.js.map +1 -1
  1294. package/lib/module/hooks/useStreami18n.js +4 -16
  1295. package/lib/module/hooks/useStreami18n.js.map +1 -1
  1296. package/lib/module/hooks/useTranslatedMessage.js +1 -11
  1297. package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
  1298. package/lib/module/icons/ArrowRight.js +1 -8
  1299. package/lib/module/icons/ArrowRight.js.map +1 -1
  1300. package/lib/module/icons/AtMentions.js +1 -8
  1301. package/lib/module/icons/AtMentions.js.map +1 -1
  1302. package/lib/module/icons/Attach.js +1 -8
  1303. package/lib/module/icons/Attach.js.map +1 -1
  1304. package/lib/module/icons/Audio.js +1 -9
  1305. package/lib/module/icons/Audio.js.map +1 -1
  1306. package/lib/module/icons/CSV.js +1 -8
  1307. package/lib/module/icons/CSV.js.map +1 -1
  1308. package/lib/module/icons/Camera.js +1 -8
  1309. package/lib/module/icons/Camera.js.map +1 -1
  1310. package/lib/module/icons/Check.js +1 -8
  1311. package/lib/module/icons/Check.js.map +1 -1
  1312. package/lib/module/icons/CheckAll.js +1 -8
  1313. package/lib/module/icons/CheckAll.js.map +1 -1
  1314. package/lib/module/icons/CheckSend.js +1 -8
  1315. package/lib/module/icons/CheckSend.js.map +1 -1
  1316. package/lib/module/icons/CircleClose.js +1 -8
  1317. package/lib/module/icons/CircleClose.js.map +1 -1
  1318. package/lib/module/icons/CirclePlus.js +1 -8
  1319. package/lib/module/icons/CirclePlus.js.map +1 -1
  1320. package/lib/module/icons/CircleRight.js +1 -8
  1321. package/lib/module/icons/CircleRight.js.map +1 -1
  1322. package/lib/module/icons/Close.js +1 -8
  1323. package/lib/module/icons/Close.js.map +1 -1
  1324. package/lib/module/icons/Copy.js +1 -8
  1325. package/lib/module/icons/Copy.js.map +1 -1
  1326. package/lib/module/icons/CurveLineLeftUp.js +1 -8
  1327. package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
  1328. package/lib/module/icons/DOC.js +1 -9
  1329. package/lib/module/icons/DOC.js.map +1 -1
  1330. package/lib/module/icons/DOCX.js +1 -9
  1331. package/lib/module/icons/DOCX.js.map +1 -1
  1332. package/lib/module/icons/Delete.js +1 -8
  1333. package/lib/module/icons/Delete.js.map +1 -1
  1334. package/lib/module/icons/Down.js +1 -8
  1335. package/lib/module/icons/Down.js.map +1 -1
  1336. package/lib/module/icons/DownloadArrow.js +1 -8
  1337. package/lib/module/icons/DownloadArrow.js.map +1 -1
  1338. package/lib/module/icons/DownloadCloud.js +1 -8
  1339. package/lib/module/icons/DownloadCloud.js.map +1 -1
  1340. package/lib/module/icons/Edit.js +1 -8
  1341. package/lib/module/icons/Edit.js.map +1 -1
  1342. package/lib/module/icons/Error.js +1 -8
  1343. package/lib/module/icons/Error.js.map +1 -1
  1344. package/lib/module/icons/Eye.js +1 -8
  1345. package/lib/module/icons/Eye.js.map +1 -1
  1346. package/lib/module/icons/Flag.js +1 -8
  1347. package/lib/module/icons/Flag.js.map +1 -1
  1348. package/lib/module/icons/Folder.js +1 -8
  1349. package/lib/module/icons/Folder.js.map +1 -1
  1350. package/lib/module/icons/GenericFile.js +1 -9
  1351. package/lib/module/icons/GenericFile.js.map +1 -1
  1352. package/lib/module/icons/GiphyIcon.js +1 -8
  1353. package/lib/module/icons/GiphyIcon.js.map +1 -1
  1354. package/lib/module/icons/Grid.js +1 -8
  1355. package/lib/module/icons/Grid.js.map +1 -1
  1356. package/lib/module/icons/Group.js +1 -8
  1357. package/lib/module/icons/Group.js.map +1 -1
  1358. package/lib/module/icons/HTML.js +1 -8
  1359. package/lib/module/icons/HTML.js.map +1 -1
  1360. package/lib/module/icons/Imgur.js +1 -9
  1361. package/lib/module/icons/Imgur.js.map +1 -1
  1362. package/lib/module/icons/LOLReaction.js +1 -8
  1363. package/lib/module/icons/LOLReaction.js.map +1 -1
  1364. package/lib/module/icons/Lightning.js +1 -8
  1365. package/lib/module/icons/Lightning.js.map +1 -1
  1366. package/lib/module/icons/Link.js +1 -8
  1367. package/lib/module/icons/Link.js.map +1 -1
  1368. package/lib/module/icons/Loading.js +12 -20
  1369. package/lib/module/icons/Loading.js.map +1 -1
  1370. package/lib/module/icons/Logo.js +1 -8
  1371. package/lib/module/icons/Logo.js.map +1 -1
  1372. package/lib/module/icons/LoveReaction.js +1 -8
  1373. package/lib/module/icons/LoveReaction.js.map +1 -1
  1374. package/lib/module/icons/MD.js +1 -8
  1375. package/lib/module/icons/MD.js.map +1 -1
  1376. package/lib/module/icons/MailOpen.js +1 -8
  1377. package/lib/module/icons/MailOpen.js.map +1 -1
  1378. package/lib/module/icons/MenuPointHorizontal.js +1 -8
  1379. package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
  1380. package/lib/module/icons/MenuPointVertical.js +1 -8
  1381. package/lib/module/icons/MenuPointVertical.js.map +1 -1
  1382. package/lib/module/icons/MessageFlag.js +1 -8
  1383. package/lib/module/icons/MessageFlag.js.map +1 -1
  1384. package/lib/module/icons/MessageIcon.js +1 -8
  1385. package/lib/module/icons/MessageIcon.js.map +1 -1
  1386. package/lib/module/icons/Mute.js +1 -8
  1387. package/lib/module/icons/Mute.js.map +1 -1
  1388. package/lib/module/icons/Notification.js +1 -8
  1389. package/lib/module/icons/Notification.js.map +1 -1
  1390. package/lib/module/icons/ODT.js +1 -8
  1391. package/lib/module/icons/ODT.js.map +1 -1
  1392. package/lib/module/icons/PDF.js +1 -8
  1393. package/lib/module/icons/PDF.js.map +1 -1
  1394. package/lib/module/icons/PPT.js +1 -9
  1395. package/lib/module/icons/PPT.js.map +1 -1
  1396. package/lib/module/icons/PPTX.js +1 -9
  1397. package/lib/module/icons/PPTX.js.map +1 -1
  1398. package/lib/module/icons/Pause.js +2 -10
  1399. package/lib/module/icons/Pause.js.map +1 -1
  1400. package/lib/module/icons/Picture.js +1 -8
  1401. package/lib/module/icons/Picture.js.map +1 -1
  1402. package/lib/module/icons/Pin.js +1 -8
  1403. package/lib/module/icons/Pin.js.map +1 -1
  1404. package/lib/module/icons/PinHeader.js +1 -8
  1405. package/lib/module/icons/PinHeader.js.map +1 -1
  1406. package/lib/module/icons/Play.js +1 -8
  1407. package/lib/module/icons/Play.js.map +1 -1
  1408. package/lib/module/icons/RAR.js +1 -8
  1409. package/lib/module/icons/RAR.js.map +1 -1
  1410. package/lib/module/icons/RTF.js +1 -8
  1411. package/lib/module/icons/RTF.js.map +1 -1
  1412. package/lib/module/icons/Recorder.js +1 -8
  1413. package/lib/module/icons/Recorder.js.map +1 -1
  1414. package/lib/module/icons/Refresh.js +1 -8
  1415. package/lib/module/icons/Refresh.js.map +1 -1
  1416. package/lib/module/icons/SEVEN_Z.js +1 -8
  1417. package/lib/module/icons/SEVEN_Z.js.map +1 -1
  1418. package/lib/module/icons/Search.js +1 -8
  1419. package/lib/module/icons/Search.js.map +1 -1
  1420. package/lib/module/icons/SendRight.js +1 -8
  1421. package/lib/module/icons/SendRight.js.map +1 -1
  1422. package/lib/module/icons/SendUp.js +1 -8
  1423. package/lib/module/icons/SendUp.js.map +1 -1
  1424. package/lib/module/icons/Share.js +1 -9
  1425. package/lib/module/icons/Share.js.map +1 -1
  1426. package/lib/module/icons/ShareRightArrow.js +1 -8
  1427. package/lib/module/icons/ShareRightArrow.js.map +1 -1
  1428. package/lib/module/icons/Smile.js +1 -8
  1429. package/lib/module/icons/Smile.js.map +1 -1
  1430. package/lib/module/icons/Sound.js +1 -8
  1431. package/lib/module/icons/Sound.js.map +1 -1
  1432. package/lib/module/icons/TAR.js +1 -8
  1433. package/lib/module/icons/TAR.js.map +1 -1
  1434. package/lib/module/icons/TXT.js +1 -8
  1435. package/lib/module/icons/TXT.js.map +1 -1
  1436. package/lib/module/icons/ThreadReply.js +1 -8
  1437. package/lib/module/icons/ThreadReply.js.map +1 -1
  1438. package/lib/module/icons/ThumbsDownReaction.js +1 -8
  1439. package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
  1440. package/lib/module/icons/ThumbsUpReaction.js +1 -8
  1441. package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
  1442. package/lib/module/icons/Time.js +1 -8
  1443. package/lib/module/icons/Time.js.map +1 -1
  1444. package/lib/module/icons/Unknown.js +1 -8
  1445. package/lib/module/icons/Unknown.js.map +1 -1
  1446. package/lib/module/icons/Unpin.js +1 -8
  1447. package/lib/module/icons/Unpin.js.map +1 -1
  1448. package/lib/module/icons/User.js +1 -8
  1449. package/lib/module/icons/User.js.map +1 -1
  1450. package/lib/module/icons/UserAdd.js +1 -8
  1451. package/lib/module/icons/UserAdd.js.map +1 -1
  1452. package/lib/module/icons/UserAdmin.js +3 -12
  1453. package/lib/module/icons/UserAdmin.js.map +1 -1
  1454. package/lib/module/icons/UserDelete.js +1 -8
  1455. package/lib/module/icons/UserDelete.js.map +1 -1
  1456. package/lib/module/icons/UserMinus.js +1 -8
  1457. package/lib/module/icons/UserMinus.js.map +1 -1
  1458. package/lib/module/icons/Video.js +1 -8
  1459. package/lib/module/icons/Video.js.map +1 -1
  1460. package/lib/module/icons/Warning.js +1 -8
  1461. package/lib/module/icons/Warning.js.map +1 -1
  1462. package/lib/module/icons/WutReaction.js +1 -8
  1463. package/lib/module/icons/WutReaction.js.map +1 -1
  1464. package/lib/module/icons/XLS.js +1 -9
  1465. package/lib/module/icons/XLS.js.map +1 -1
  1466. package/lib/module/icons/XLSX.js +1 -9
  1467. package/lib/module/icons/XLSX.js.map +1 -1
  1468. package/lib/module/icons/ZIP.js +1 -8
  1469. package/lib/module/icons/ZIP.js.map +1 -1
  1470. package/lib/module/icons/index.js +0 -168
  1471. package/lib/module/icons/index.js.map +1 -1
  1472. package/lib/module/icons/utils/base.js +11 -25
  1473. package/lib/module/icons/utils/base.js.map +1 -1
  1474. package/lib/module/index.js +0 -35
  1475. package/lib/module/index.js.map +1 -1
  1476. package/lib/module/init.js +0 -3
  1477. package/lib/module/init.js.map +1 -1
  1478. package/lib/module/mock-builders/DB/consts.js.map +1 -1
  1479. package/lib/module/mock-builders/DB/mock.js +0 -11
  1480. package/lib/module/mock-builders/DB/mock.js.map +1 -1
  1481. package/lib/module/mock-builders/api/channelMocks.js +0 -2
  1482. package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
  1483. package/lib/module/mock-builders/api/deleteMessage.js +0 -4
  1484. package/lib/module/mock-builders/api/deleteMessage.js.map +1 -1
  1485. package/lib/module/mock-builders/api/deleteReaction.js +0 -4
  1486. package/lib/module/mock-builders/api/deleteReaction.js.map +1 -1
  1487. package/lib/module/mock-builders/api/error.js +0 -12
  1488. package/lib/module/mock-builders/api/error.js.map +1 -1
  1489. package/lib/module/mock-builders/api/getOrCreateChannel.js +0 -3
  1490. package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
  1491. package/lib/module/mock-builders/api/queryChannels.js +0 -3
  1492. package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
  1493. package/lib/module/mock-builders/api/queryMembers.js +0 -3
  1494. package/lib/module/mock-builders/api/queryMembers.js.map +1 -1
  1495. package/lib/module/mock-builders/api/sendMessage.js +0 -4
  1496. package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
  1497. package/lib/module/mock-builders/api/sendReaction.js +0 -4
  1498. package/lib/module/mock-builders/api/sendReaction.js.map +1 -1
  1499. package/lib/module/mock-builders/api/threadReplies.js +0 -3
  1500. package/lib/module/mock-builders/api/threadReplies.js.map +1 -1
  1501. package/lib/module/mock-builders/api/useMockedApis.js +1 -3
  1502. package/lib/module/mock-builders/api/useMockedApis.js.map +1 -1
  1503. package/lib/module/mock-builders/api/utils.js +0 -2
  1504. package/lib/module/mock-builders/api/utils.js.map +1 -1
  1505. package/lib/module/mock-builders/event/channelDeleted.js +0 -2
  1506. package/lib/module/mock-builders/event/channelDeleted.js.map +1 -1
  1507. package/lib/module/mock-builders/event/channelHidden.js +0 -2
  1508. package/lib/module/mock-builders/event/channelHidden.js.map +1 -1
  1509. package/lib/module/mock-builders/event/channelTruncated.js +0 -2
  1510. package/lib/module/mock-builders/event/channelTruncated.js.map +1 -1
  1511. package/lib/module/mock-builders/event/channelUpdated.js +0 -2
  1512. package/lib/module/mock-builders/event/channelUpdated.js.map +1 -1
  1513. package/lib/module/mock-builders/event/connectionChanged.js +0 -2
  1514. package/lib/module/mock-builders/event/connectionChanged.js.map +1 -1
  1515. package/lib/module/mock-builders/event/connectionRecovered.js +0 -2
  1516. package/lib/module/mock-builders/event/connectionRecovered.js.map +1 -1
  1517. package/lib/module/mock-builders/event/memberAdded.js +0 -2
  1518. package/lib/module/mock-builders/event/memberAdded.js.map +1 -1
  1519. package/lib/module/mock-builders/event/memberRemoved.js +0 -2
  1520. package/lib/module/mock-builders/event/memberRemoved.js.map +1 -1
  1521. package/lib/module/mock-builders/event/memberUpdated.js +0 -2
  1522. package/lib/module/mock-builders/event/memberUpdated.js.map +1 -1
  1523. package/lib/module/mock-builders/event/messageDeleted.js +0 -2
  1524. package/lib/module/mock-builders/event/messageDeleted.js.map +1 -1
  1525. package/lib/module/mock-builders/event/messageNew.js +0 -2
  1526. package/lib/module/mock-builders/event/messageNew.js.map +1 -1
  1527. package/lib/module/mock-builders/event/messageRead.js +0 -2
  1528. package/lib/module/mock-builders/event/messageRead.js.map +1 -1
  1529. package/lib/module/mock-builders/event/messageUpdated.js +0 -2
  1530. package/lib/module/mock-builders/event/messageUpdated.js.map +1 -1
  1531. package/lib/module/mock-builders/event/notificationAddedToChannel.js +0 -2
  1532. package/lib/module/mock-builders/event/notificationAddedToChannel.js.map +1 -1
  1533. package/lib/module/mock-builders/event/notificationMessageNew.js +0 -2
  1534. package/lib/module/mock-builders/event/notificationMessageNew.js.map +1 -1
  1535. package/lib/module/mock-builders/event/notificationMutesUpdated.js +0 -4
  1536. package/lib/module/mock-builders/event/notificationMutesUpdated.js.map +1 -1
  1537. package/lib/module/mock-builders/event/notificationRemovedFromChannel.js +0 -2
  1538. package/lib/module/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
  1539. package/lib/module/mock-builders/event/reactionDeleted.js +0 -2
  1540. package/lib/module/mock-builders/event/reactionDeleted.js.map +1 -1
  1541. package/lib/module/mock-builders/event/reactionNew.js +0 -2
  1542. package/lib/module/mock-builders/event/reactionNew.js.map +1 -1
  1543. package/lib/module/mock-builders/event/reactionUpdated.js +0 -2
  1544. package/lib/module/mock-builders/event/reactionUpdated.js.map +1 -1
  1545. package/lib/module/mock-builders/event/typing.js +0 -2
  1546. package/lib/module/mock-builders/event/typing.js.map +1 -1
  1547. package/lib/module/mock-builders/event/userPresence.js +0 -2
  1548. package/lib/module/mock-builders/event/userPresence.js.map +1 -1
  1549. package/lib/module/mock-builders/event/userUpdated.js +0 -2
  1550. package/lib/module/mock-builders/event/userUpdated.js.map +1 -1
  1551. package/lib/module/mock-builders/generator/attachment.js +0 -24
  1552. package/lib/module/mock-builders/generator/attachment.js.map +1 -1
  1553. package/lib/module/mock-builders/generator/channel.js +13 -28
  1554. package/lib/module/mock-builders/generator/channel.js.map +1 -1
  1555. package/lib/module/mock-builders/generator/member.js +0 -5
  1556. package/lib/module/mock-builders/generator/member.js.map +1 -1
  1557. package/lib/module/mock-builders/generator/message.js +0 -8
  1558. package/lib/module/mock-builders/generator/message.js.map +1 -1
  1559. package/lib/module/mock-builders/generator/reaction.js +0 -5
  1560. package/lib/module/mock-builders/generator/reaction.js.map +1 -1
  1561. package/lib/module/mock-builders/generator/user.js +0 -10
  1562. package/lib/module/mock-builders/generator/user.js.map +1 -1
  1563. package/lib/module/mock-builders/mock.js +23 -47
  1564. package/lib/module/mock-builders/mock.js.map +1 -1
  1565. package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
  1566. package/lib/module/native.js +0 -23
  1567. package/lib/module/native.js.map +1 -1
  1568. package/lib/module/store/QuickSqliteClient.js +2 -49
  1569. package/lib/module/store/QuickSqliteClient.js.map +1 -1
  1570. package/lib/module/store/QuickSqliteClient_v4.js +12 -41
  1571. package/lib/module/store/QuickSqliteClient_v4.js.map +1 -1
  1572. package/lib/module/store/apis/addPendingTask.js +3 -12
  1573. package/lib/module/store/apis/addPendingTask.js.map +1 -1
  1574. package/lib/module/store/apis/deleteChannel.js +2 -8
  1575. package/lib/module/store/apis/deleteChannel.js.map +1 -1
  1576. package/lib/module/store/apis/deleteMember.js +3 -9
  1577. package/lib/module/store/apis/deleteMember.js.map +1 -1
  1578. package/lib/module/store/apis/deleteMessage.js +2 -8
  1579. package/lib/module/store/apis/deleteMessage.js.map +1 -1
  1580. package/lib/module/store/apis/deleteMessagesForChannel.js +2 -8
  1581. package/lib/module/store/apis/deleteMessagesForChannel.js.map +1 -1
  1582. package/lib/module/store/apis/deletePendingTask.js +0 -6
  1583. package/lib/module/store/apis/deletePendingTask.js.map +1 -1
  1584. package/lib/module/store/apis/deleteReaction.js +4 -10
  1585. package/lib/module/store/apis/deleteReaction.js.map +1 -1
  1586. package/lib/module/store/apis/deleteReactions.js +2 -8
  1587. package/lib/module/store/apis/deleteReactions.js.map +1 -1
  1588. package/lib/module/store/apis/getAllChannelIds.js +0 -3
  1589. package/lib/module/store/apis/getAllChannelIds.js.map +1 -1
  1590. package/lib/module/store/apis/getAppSettings.js +0 -7
  1591. package/lib/module/store/apis/getAppSettings.js.map +1 -1
  1592. package/lib/module/store/apis/getChannelMessages.js +1 -8
  1593. package/lib/module/store/apis/getChannelMessages.js.map +1 -1
  1594. package/lib/module/store/apis/getChannels.js +1 -10
  1595. package/lib/module/store/apis/getChannels.js.map +1 -1
  1596. package/lib/module/store/apis/getChannelsForFilterSort.js +2 -10
  1597. package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
  1598. package/lib/module/store/apis/getLastSyncedAt.js +0 -7
  1599. package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
  1600. package/lib/module/store/apis/getMembers.js +0 -5
  1601. package/lib/module/store/apis/getMembers.js.map +1 -1
  1602. package/lib/module/store/apis/getPendingTasks.js +0 -7
  1603. package/lib/module/store/apis/getPendingTasks.js.map +1 -1
  1604. package/lib/module/store/apis/getReads.js +0 -5
  1605. package/lib/module/store/apis/getReads.js.map +1 -1
  1606. package/lib/module/store/apis/index.js +0 -46
  1607. package/lib/module/store/apis/index.js.map +1 -1
  1608. package/lib/module/store/apis/insertReaction.js +2 -9
  1609. package/lib/module/store/apis/insertReaction.js.map +1 -1
  1610. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js +1 -9
  1611. package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
  1612. package/lib/module/store/apis/queries/selectChannels.js +1 -8
  1613. package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
  1614. package/lib/module/store/apis/queries/selectMembersForChannels.js +0 -6
  1615. package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
  1616. package/lib/module/store/apis/queries/selectMessagesForChannels.js +0 -6
  1617. package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
  1618. package/lib/module/store/apis/queries/selectReactionsForMessages.js +0 -6
  1619. package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
  1620. package/lib/module/store/apis/queries/selectReadsForChannels.js +0 -6
  1621. package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
  1622. package/lib/module/store/apis/updateMessage.js +2 -22
  1623. package/lib/module/store/apis/updateMessage.js.map +1 -1
  1624. package/lib/module/store/apis/updateReaction.js +4 -18
  1625. package/lib/module/store/apis/updateReaction.js.map +1 -1
  1626. package/lib/module/store/apis/upsertAppSettings.js +3 -8
  1627. package/lib/module/store/apis/upsertAppSettings.js.map +1 -1
  1628. package/lib/module/store/apis/upsertChannelData.js +2 -9
  1629. package/lib/module/store/apis/upsertChannelData.js.map +1 -1
  1630. package/lib/module/store/apis/upsertChannels.js +8 -26
  1631. package/lib/module/store/apis/upsertChannels.js.map +1 -1
  1632. package/lib/module/store/apis/upsertCidsForQuery.js +4 -11
  1633. package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
  1634. package/lib/module/store/apis/upsertLastSyncedAt.js +1 -6
  1635. package/lib/module/store/apis/upsertLastSyncedAt.js.map +1 -1
  1636. package/lib/module/store/apis/upsertMembers.js +3 -12
  1637. package/lib/module/store/apis/upsertMembers.js.map +1 -1
  1638. package/lib/module/store/apis/upsertMessages.js +2 -16
  1639. package/lib/module/store/apis/upsertMessages.js.map +1 -1
  1640. package/lib/module/store/apis/upsertReads.js +3 -12
  1641. package/lib/module/store/apis/upsertReads.js.map +1 -1
  1642. package/lib/module/store/apis/utils/convertFilterSortToQuery.js +1 -3
  1643. package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
  1644. package/lib/module/store/constants.js.map +1 -1
  1645. package/lib/module/store/mappers/mapChannelDataToStorable.js +23 -29
  1646. package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
  1647. package/lib/module/store/mappers/mapDateTimeToStorable.js +0 -2
  1648. package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
  1649. package/lib/module/store/mappers/mapMemberToStorable.js +11 -14
  1650. package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
  1651. package/lib/module/store/mappers/mapMessageToStorable.js +12 -18
  1652. package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
  1653. package/lib/module/store/mappers/mapReactionToStorable.js +6 -12
  1654. package/lib/module/store/mappers/mapReactionToStorable.js.map +1 -1
  1655. package/lib/module/store/mappers/mapReadToStorable.js +3 -6
  1656. package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
  1657. package/lib/module/store/mappers/mapStorableToChannel.js +23 -27
  1658. package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
  1659. package/lib/module/store/mappers/mapStorableToMember.js +11 -14
  1660. package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
  1661. package/lib/module/store/mappers/mapStorableToMessage.js +8 -17
  1662. package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
  1663. package/lib/module/store/mappers/mapStorableToReaction.js +6 -11
  1664. package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
  1665. package/lib/module/store/mappers/mapStorableToRead.js +2 -5
  1666. package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
  1667. package/lib/module/store/mappers/mapStorableToTask.js +4 -6
  1668. package/lib/module/store/mappers/mapStorableToTask.js.map +1 -1
  1669. package/lib/module/store/mappers/mapStorableToUser.js +7 -11
  1670. package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
  1671. package/lib/module/store/mappers/mapTaskToStorable.js +0 -4
  1672. package/lib/module/store/mappers/mapTaskToStorable.js.map +1 -1
  1673. package/lib/module/store/mappers/mapUserToStorable.js +7 -12
  1674. package/lib/module/store/mappers/mapUserToStorable.js.map +1 -1
  1675. package/lib/module/store/schema.js.map +1 -1
  1676. package/lib/module/store/sqlite-utils/appendOrderByClause.js +0 -5
  1677. package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
  1678. package/lib/module/store/sqlite-utils/appendWhereCluase.js +0 -8
  1679. package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
  1680. package/lib/module/store/sqlite-utils/createCreateTableQuery.js +2 -10
  1681. package/lib/module/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
  1682. package/lib/module/store/sqlite-utils/createDeleteQuery.js +0 -3
  1683. package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
  1684. package/lib/module/store/sqlite-utils/createSelectQuery.js +5 -14
  1685. package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
  1686. package/lib/module/store/sqlite-utils/createUpdateQuery.js +3 -11
  1687. package/lib/module/store/sqlite-utils/createUpdateQuery.js.map +1 -1
  1688. package/lib/module/store/sqlite-utils/createUpsertQuery.js +0 -5
  1689. package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
  1690. package/lib/module/store/sqlite-utils/printRow.js +0 -5
  1691. package/lib/module/store/sqlite-utils/printRow.js.map +1 -1
  1692. package/lib/module/store/types.js.map +1 -1
  1693. package/lib/module/test-utils/BetterSqlite.js +0 -11
  1694. package/lib/module/test-utils/BetterSqlite.js.map +1 -1
  1695. package/lib/module/types/types.js.map +1 -1
  1696. package/lib/module/utils/DBSyncManager.js +217 -321
  1697. package/lib/module/utils/DBSyncManager.js.map +1 -1
  1698. package/lib/module/utils/Streami18n.js +74 -181
  1699. package/lib/module/utils/Streami18n.js.map +1 -1
  1700. package/lib/module/utils/addReactionToLocalState.js +4 -21
  1701. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  1702. package/lib/module/utils/date.js +0 -2
  1703. package/lib/module/utils/date.js.map +1 -1
  1704. package/lib/module/utils/getResizedImageUrl.js +4 -10
  1705. package/lib/module/utils/getResizedImageUrl.js.map +1 -1
  1706. package/lib/module/utils/getUrlOfImageAttachment.js +0 -1
  1707. package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
  1708. package/lib/module/utils/patchMessageTextCommand.js +0 -6
  1709. package/lib/module/utils/patchMessageTextCommand.js.map +1 -1
  1710. package/lib/module/utils/removeReactionFromLocalState.js +3 -9
  1711. package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
  1712. package/lib/module/utils/removeReservedFields.js +0 -4
  1713. package/lib/module/utils/removeReservedFields.js.map +1 -1
  1714. package/lib/module/utils/utils.js +86 -179
  1715. package/lib/module/utils/utils.js.map +1 -1
  1716. package/lib/module/version.json +1 -1
  1717. package/lib/typescript/components/Attachment/Attachment.d.ts +1 -0
  1718. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +1 -0
  1719. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +1 -0
  1720. package/lib/typescript/components/Attachment/Card.d.ts +1 -0
  1721. package/lib/typescript/components/Attachment/FileAttachment.d.ts +1 -0
  1722. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +1 -0
  1723. package/lib/typescript/components/Attachment/Gallery.d.ts +1 -0
  1724. package/lib/typescript/components/Attachment/Giphy.d.ts +1 -0
  1725. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -0
  1726. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +1 -0
  1727. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +1 -0
  1728. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +1 -0
  1729. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +1 -0
  1730. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +1 -0
  1731. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +1 -0
  1732. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +1 -0
  1733. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -0
  1734. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +1 -0
  1735. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +1 -0
  1736. package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +1 -0
  1737. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +1 -0
  1738. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +1 -0
  1739. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +1 -0
  1740. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +1 -0
  1741. package/lib/typescript/components/Message/Message.d.ts +1 -0
  1742. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +1 -0
  1743. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +1 -0
  1744. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +1 -0
  1745. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +1 -0
  1746. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -0
  1747. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +1 -0
  1748. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +1 -0
  1749. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +1 -0
  1750. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +1 -0
  1751. package/lib/typescript/components/MessageInput/AttachButton.d.ts +1 -0
  1752. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +1 -0
  1753. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +1 -0
  1754. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +1 -0
  1755. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +1 -0
  1756. package/lib/typescript/components/MessageInput/InputButtons.d.ts +1 -0
  1757. package/lib/typescript/components/MessageInput/MessageInput.d.ts +1 -0
  1758. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +1 -0
  1759. package/lib/typescript/components/MessageInput/SendButton.d.ts +1 -0
  1760. package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +1 -0
  1761. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +1 -0
  1762. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +1 -0
  1763. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +1 -0
  1764. package/lib/typescript/components/MessageList/MessageSystem.d.ts +1 -0
  1765. package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts +1 -0
  1766. package/lib/typescript/components/MessageList/TypingIndicator.d.ts +1 -0
  1767. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +1 -0
  1768. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +1 -0
  1769. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -0
  1770. package/lib/typescript/components/Reply/Reply.d.ts +1 -0
  1771. package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -0
  1772. package/package.json +7 -4
  1773. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +6 -0
  1774. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +12 -0
  1775. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +9 -0
  1776. package/src/version.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["data.js"],"names":["Dayjs","require","StreamChat","client","connectUser","id","channel","image","name","channelContext","translationContext","t","text","tDateTimeParser","date","suggestionsContext","closeSuggestions","openSuggestions","setInputBoxContainerRef","updateSuggestions","filters","example","type","sort","last_message_at","channels","queryChannels","subscribe","message","__html","attachments","command","created_at","html","own_reactions","message_id","user","last_active","online","role","updated_at","reaction_counts","like","love","reactions","reply_count","status","messageWithImages","image_url","thumb_url","messageWithUrlPreview","og_scrape_url","title","title_link","thread","threadMessages","Date","parent_id","invisible","mutes","messages","users","MessageMock","canDeleteMessage","canEditMessage","handleDelete","console","log","handleEdit","handleFlag","handleMute","dynamicallyLoadScript","url","Promise","resolve","reject","script","document","createElement","src","onload","onerror","Error","body","appendChild"],"mappings":";;;;;AACA,IAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAArB;;AACA,IAAMC,UAAU,GAAGD,OAAO,CAAC,aAAD,CAAP,CAAuBC,UAA1C;;AACO,IAAMC,MAAM,GAAG,IAAID,UAAJ,CAAe,cAAf,CAAf;;AAEPC,MAAM,CAACC,WAAP,CACE;AACEC,EAAAA,EAAE,EAAE;AADN,CADF,EAIE,kIAJF;AAOO,IAAMC,OAAO,GAAGH,MAAM,CAACG,OAAP,CAAe,WAAf,EAA4B,SAA5B,EAAuC;AAC5DC,EAAAA,KAAK,EACH,8EAF0D;AAG5DC,EAAAA,IAAI,EAAE;AAHsD,CAAvC,CAAhB;;AAMA,IAAMC,cAAc,GAAG;AAC5BH,EAAAA,OAAO,EAAPA,OAD4B;AAE5BH,EAAAA,MAAM,EAANA;AAF4B,CAAvB;;AAKA,IAAMO,kBAAkB,GAAG;AAChCC,EAAAA,CAAC,EAAE,WAACC,IAAD;AAAA,WAAUA,IAAV;AAAA,GAD6B;AAEhCC,EAAAA,eAAe,EAAE,yBAACC,IAAD;AAAA,WAAUd,KAAK,CAACc,IAAD,CAAf;AAAA;AAFe,CAA3B;;AAIA,IAAMC,kBAAkB,GAAG;AAChCC,EAAAA,gBAAgB,EAAE,4BAAM,CAAE,CADM;AAEhCC,EAAAA,eAAe,EAAE,2BAAM,CAAE,CAFO;AAGhCC,EAAAA,uBAAuB,EAAE,mCAAM,CAAE,CAHD;AAIhCC,EAAAA,iBA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A,KAAjB;;AACAK,IAAAA,QAAQ,CAACM,IAAT,CAAcC,WAAd,CAA0BR,MAA1B;AACD,GANM,CAAP;AAOD;;AACDL,qBAAqB,CAAC,gCAAD,CAArB","sourcesContent":["/* global require */\nconst Dayjs = require('dayjs');\nconst StreamChat = require('stream-chat').StreamChat;\nexport const client = new StreamChat('qk4nn7rpcn75');\n\nclient.connectUser(\n {\n id: 'John',\n },\n 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiSm9obiIsImlhdCI6MTU0ODI5ODUxN30.hyonbQnOLuFsr15mdmc_JF4sBOm2SURK4eBvTOx3ZIg',\n);\n\nexport const channel = client.channel('messaging', 'general', {\n image:\n 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/chat_avatar_01_green.jpg',\n name: 'Talk about the documentation',\n});\n\nexport const channelContext = {\n channel,\n client,\n};\n\nexport const translationContext = {\n t: (text) => text,\n tDateTimeParser: (date) => Dayjs(date),\n};\nexport const suggestionsContext = {\n closeSuggestions: () => {},\n openSuggestions: () => {},\n setInputBoxContainerRef: () => {},\n updateSuggestions: () => {},\n};\n\nconst filters = { example: 1, type: 'team' };\nconst sort = { last_message_at: -1 };\n\nexport const channels = client.queryChannels(filters, sort, {\n subscribe: true,\n});\n\nexport const message = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'Hey this is getstream message',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n};\n\nexport const messageWithImages = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n thumb_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n type: 'image',\n },\n {\n image_url:\n 'https://www.fujifilm.com/products/digital_cameras/x/fujifilm_x_t1/sample_images/img/index/ff_x_t1_002.JPG',\n thumb_url:\n 'https://www.fujifilm.com/products/digital_cameras/x/fujifilm_x_t1/sample_images/img/index/ff_x_t1_002.JPG',\n type: 'image',\n },\n {\n image_url:\n 'https://www.fujixpassion.com/wp-content/uploads/2016/01/Image-1-Title.jpg',\n thumb_url:\n 'https://www.fujixpassion.com/wp-content/uploads/2016/01/Image-1-Title.jpg',\n type: 'image',\n },\n {\n image_url:\n 'https://i-cdn.phonearena.com/images/articles/47012-image/photo2.jpg',\n thumb_url:\n 'https://i-cdn.phonearena.com/images/articles/47012-image/photo2.jpg',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html: '',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'This message contains images',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n \n};\n\nexport const messageWithUrlPreview = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n og_scrape_url: 'https://unsplash.com/photos/lxuB4abGzXc',\n text:\n 'Download this photo in Addu City, Maldives by Ibrahim Shabil (@shabilphotos)',\n thumb_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n title: 'Cosmic Home photo by Ibrahim Shabil (@shabilphotos) on Unsplash',\n title_link: 'https://unsplash.com/photos/lxuB4abGzXc',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'https://unsplash.com/photos/lxuB4abGzXc',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n};\n\nexport const thread = {\n __html:\n '<p>this place looks amazing: <a href=\"https://unsplash.com/photos/f3hDGOHptrM\" rel=\"nofollow\">https://unsplash.com/photos/f3hDGOHptrM</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548345233-4557b8809829?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n og_scrape_url: 'https://unsplash.com/photos/f3hDGOHptrM',\n text: 'Download this photo by Sandra Seitamaa (@seitamaaphotography)',\n thumb_url:\n 'https://images.unsplash.com/photo-1548345233-4557b8809829?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n title:\n 'Plant, tree, nature and river HD photo by Sandra Seitamaa (@seitamaaphotography) on Unsplash',\n title_link: 'https://unsplash.com/photos/f3hDGOHptrM',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T21:25:45.306Z',\n html:\n '<p>this place looks amazing: <a href=\"https://unsplash.com/photos/f3hDGOHptrM\" rel=\"nofollow\">https://unsplash.com/photos/f3hDGOHptrM</a></p>\\n',\n id: 'thierry-ec4eac2b-1278-4f49-8b20-2ebcd76dace5',\n own_reactions: [],\n reaction_counts: null,\n reactions: [],\n reply_count: 2,\n status: 'received',\n text: 'this place looks amazing: https://unsplash.com/photos/f3hDGOHptrM',\n type: 'regular',\n updated_at: '2019-01-25T21:25:45.306Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n \n};\n\nexport const threadMessages = [\n {\n __html: '<p>whow, where is that?</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:06.346Z'),\n html: '<p>whow, where is that?</p>\\n',\n id: 'thierry-97a02ade-3a38-4400-9377-001c10fc2663',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: 'whow, where is that?',\n type: 'reply',\n updated_at: '2019-01-25T21:26:06.346Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n {\n __html: '<p>it’s soo green, amazing</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:11.863Z'),\n html: '<p>it’s soo green, amazing</p>\\n',\n id: 'thierry-264fdc4d-03c5-4f93-b97c-cfe5612968aa',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: \"it's soo green, amazing\",\n type: 'reply',\n updated_at: '2019-01-25T21:26:11.863Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n];\n\nexport const messages = [\n {\n __html: '<p>whow, where is that?</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:06.346Z'),\n html: '<p>whow, where is that?</p>\\n',\n id: 'thierry-97a02ade-3a38-4400-9377-001c10fc2663',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: 'whow, where is that?',\n type: 'reply',\n updated_at: '2019-01-25T21:26:06.346Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n {\n __html: '<p>it’s soo green, amazing</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:11.863Z'),\n html: '<p>it’s soo green, amazing</p>\\n',\n id: 'thierry-264fdc4d-03c5-4f93-b97c-cfe5612968aa',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: \"it's soo green, amazing\",\n type: 'reply',\n updated_at: '2019-01-25T21:26:11.863Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n];\n\nexport const users = [\n {\n created_at: '2019-01-28T16:03:25.619982Z',\n id: 'thierry',\n last_active: '2019-01-28T15:07:32.314676-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-28T22:07:32.297119Z',\n },\n];\n\nexport const MessageMock = {\n canDeleteMessage: () => true,\n canEditMessage: () => true,\n handleDelete: console.log,\n handleEdit: console.log,\n handleFlag: console.log,\n handleMute: console.log,\n};\n\n// Based on: https://javascript.info/promise-basics#example-loadscript\nfunction dynamicallyLoadScript(url) {\n return new Promise(function(resolve, reject) {\n const script = document.createElement('script');\n script.src = url;\n script.onload = resolve;\n script.onerror = () => reject(new Error(`Error when loading ${url}!`));\n document.body.appendChild(script);\n });\n}\ndynamicallyLoadScript('https://snack.expo.io/embed.js');\n"]}
1
+ {"version":3,"names":["Dayjs","require","StreamChat","client","connectUser","id","channel","image","name","channelContext","translationContext","t","text","tDateTimeParser","date","suggestionsContext","closeSuggestions","openSuggestions","setInputBoxContainerRef","updateSuggestions","filters","example","type","sort","last_message_at","channels","queryChannels","subscribe","message","__html","attachments","command","created_at","html","own_reactions","message_id","user","last_active","online","role","updated_at","reaction_counts","like","love","reactions","reply_count","status","messageWithImages","image_url","thumb_url","messageWithUrlPreview","og_scrape_url","title","title_link","thread","threadMessages","Date","parent_id","invisible","mutes","messages","users","MessageMock","canDeleteMessage","canEditMessage","handleDelete","console","log","handleEdit","handleFlag","handleMute","dynamicallyLoadScript","url","Promise","resolve","reject","script","document","createElement","src","onload","onerror","Error","body","appendChild"],"sources":["data.js"],"sourcesContent":["/* global require */\nconst Dayjs = require('dayjs');\nconst StreamChat = require('stream-chat').StreamChat;\nexport const client = new StreamChat('qk4nn7rpcn75');\n\nclient.connectUser(\n {\n id: 'John',\n },\n 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiSm9obiIsImlhdCI6MTU0ODI5ODUxN30.hyonbQnOLuFsr15mdmc_JF4sBOm2SURK4eBvTOx3ZIg',\n);\n\nexport const channel = client.channel('messaging', 'general', {\n image:\n 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/chat_avatar_01_green.jpg',\n name: 'Talk about the documentation',\n});\n\nexport const channelContext = {\n channel,\n client,\n};\n\nexport const translationContext = {\n t: (text) => text,\n tDateTimeParser: (date) => Dayjs(date),\n};\nexport const suggestionsContext = {\n closeSuggestions: () => {},\n openSuggestions: () => {},\n setInputBoxContainerRef: () => {},\n updateSuggestions: () => {},\n};\n\nconst filters = { example: 1, type: 'team' };\nconst sort = { last_message_at: -1 };\n\nexport const channels = client.queryChannels(filters, sort, {\n subscribe: true,\n});\n\nexport const message = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'Hey this is getstream message',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n};\n\nexport const messageWithImages = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n thumb_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n type: 'image',\n },\n {\n image_url:\n 'https://www.fujifilm.com/products/digital_cameras/x/fujifilm_x_t1/sample_images/img/index/ff_x_t1_002.JPG',\n thumb_url:\n 'https://www.fujifilm.com/products/digital_cameras/x/fujifilm_x_t1/sample_images/img/index/ff_x_t1_002.JPG',\n type: 'image',\n },\n {\n image_url:\n 'https://www.fujixpassion.com/wp-content/uploads/2016/01/Image-1-Title.jpg',\n thumb_url:\n 'https://www.fujixpassion.com/wp-content/uploads/2016/01/Image-1-Title.jpg',\n type: 'image',\n },\n {\n image_url:\n 'https://i-cdn.phonearena.com/images/articles/47012-image/photo2.jpg',\n thumb_url:\n 'https://i-cdn.phonearena.com/images/articles/47012-image/photo2.jpg',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html: '',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'This message contains images',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n \n};\n\nexport const messageWithUrlPreview = {\n __html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n og_scrape_url: 'https://unsplash.com/photos/lxuB4abGzXc',\n text:\n 'Download this photo in Addu City, Maldives by Ibrahim Shabil (@shabilphotos)',\n thumb_url:\n 'https://images.unsplash.com/photo-1548256434-c7d2374b1077?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n title: 'Cosmic Home photo by Ibrahim Shabil (@shabilphotos) on Unsplash',\n title_link: 'https://unsplash.com/photos/lxuB4abGzXc',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T00:18:59.675Z',\n html:\n '<p><a href=\"https://unsplash.com/photos/lxuB4abGzXc\" rel=\"nofollow\">https://unsplash.com/photos/lxuB4abGzXc</a></p>\\n',\n id: 'thierry-e298f569-8745-407f-a02b-f75c0206612f',\n own_reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reaction_counts: {\n like: 1,\n love: 1,\n },\n reactions: [\n {\n created_at: '2019-01-25T16:24:00.173967Z',\n id: 142,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'love',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n {\n created_at: '2019-01-25T16:23:58.939438Z',\n id: 141,\n message_id: 'd46540e6-fb54-42bf-9de1-654c866cf587',\n type: 'like',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n },\n ],\n reply_count: 0,\n status: 'received',\n text: 'https://unsplash.com/photos/lxuB4abGzXc',\n type: 'regular',\n updated_at: '2019-01-25T16:24:00.181Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n image:\n 'https://cdn.pixabay.com/photo/2014/03/25/16/54/user-297566__340.png',\n last_active: '2019-01-25T09:23:47.108127-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T16:23:47.052538Z',\n },\n};\n\nexport const thread = {\n __html:\n '<p>this place looks amazing: <a href=\"https://unsplash.com/photos/f3hDGOHptrM\" rel=\"nofollow\">https://unsplash.com/photos/f3hDGOHptrM</a></p>\\n',\n attachments: [\n {\n image_url:\n 'https://images.unsplash.com/photo-1548345233-4557b8809829?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n og_scrape_url: 'https://unsplash.com/photos/f3hDGOHptrM',\n text: 'Download this photo by Sandra Seitamaa (@seitamaaphotography)',\n thumb_url:\n 'https://images.unsplash.com/photo-1548345233-4557b8809829?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjEyMDd9',\n title:\n 'Plant, tree, nature and river HD photo by Sandra Seitamaa (@seitamaaphotography) on Unsplash',\n title_link: 'https://unsplash.com/photos/f3hDGOHptrM',\n type: 'image',\n },\n ],\n command: '',\n created_at: '2019-01-25T21:25:45.306Z',\n html:\n '<p>this place looks amazing: <a href=\"https://unsplash.com/photos/f3hDGOHptrM\" rel=\"nofollow\">https://unsplash.com/photos/f3hDGOHptrM</a></p>\\n',\n id: 'thierry-ec4eac2b-1278-4f49-8b20-2ebcd76dace5',\n own_reactions: [],\n reaction_counts: null,\n reactions: [],\n reply_count: 2,\n status: 'received',\n text: 'this place looks amazing: https://unsplash.com/photos/f3hDGOHptrM',\n type: 'regular',\n updated_at: '2019-01-25T21:25:45.306Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n online: true,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n \n};\n\nexport const threadMessages = [\n {\n __html: '<p>whow, where is that?</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:06.346Z'),\n html: '<p>whow, where is that?</p>\\n',\n id: 'thierry-97a02ade-3a38-4400-9377-001c10fc2663',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: 'whow, where is that?',\n type: 'reply',\n updated_at: '2019-01-25T21:26:06.346Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n {\n __html: '<p>it’s soo green, amazing</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:11.863Z'),\n html: '<p>it’s soo green, amazing</p>\\n',\n id: 'thierry-264fdc4d-03c5-4f93-b97c-cfe5612968aa',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: \"it's soo green, amazing\",\n type: 'reply',\n updated_at: '2019-01-25T21:26:11.863Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n];\n\nexport const messages = [\n {\n __html: '<p>whow, where is that?</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:06.346Z'),\n html: '<p>whow, where is that?</p>\\n',\n id: 'thierry-97a02ade-3a38-4400-9377-001c10fc2663',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: 'whow, where is that?',\n type: 'reply',\n updated_at: '2019-01-25T21:26:06.346Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n {\n __html: '<p>it’s soo green, amazing</p>\\n',\n attachments: [],\n command: '',\n created_at: new Date('2019-01-25T21:26:11.863Z'),\n html: '<p>it’s soo green, amazing</p>\\n',\n id: 'thierry-264fdc4d-03c5-4f93-b97c-cfe5612968aa',\n own_reactions: [],\n parent_id: '6312fb0b-0c94-4107-a036-376ac5ab650b',\n reaction_counts: null,\n reactions: [],\n reply_count: 0,\n status: 'received',\n text: \"it's soo green, amazing\",\n type: 'reply',\n updated_at: '2019-01-25T21:26:11.863Z',\n user: {\n created_at: '2019-01-22T16:35:18.417456Z',\n id: 'thierry',\n invisible: false,\n last_active: '0001-01-01T00:00:00Z',\n mutes: [],\n online: false,\n role: 'user',\n updated_at: '2019-01-25T21:27:39.606466Z',\n },\n },\n];\n\nexport const users = [\n {\n created_at: '2019-01-28T16:03:25.619982Z',\n id: 'thierry',\n last_active: '2019-01-28T15:07:32.314676-07:00',\n online: true,\n role: 'user',\n updated_at: '2019-01-28T22:07:32.297119Z',\n },\n];\n\nexport const MessageMock = {\n canDeleteMessage: () => true,\n canEditMessage: () => true,\n handleDelete: console.log,\n handleEdit: console.log,\n handleFlag: console.log,\n handleMute: console.log,\n};\n\n// Based on: https://javascript.info/promise-basics#example-loadscript\nfunction dynamicallyLoadScript(url) {\n return new Promise(function(resolve, reject) {\n const script = document.createElement('script');\n script.src = url;\n script.onload = resolve;\n script.onerror = () => reject(new Error(`Error when loading ${url}!`));\n document.body.appendChild(script);\n });\n}\ndynamicallyLoadScript('https://snack.expo.io/embed.js');\n"],"mappings":";;;;AACA,IAAMA,KAAK,GAAGC,OAAO,CAAC,OAAO,CAAC;AAC9B,IAAMC,UAAU,GAAGD,OAAO,CAAC,aAAa,CAAC,CAACC,UAAU;AAC7C,IAAMC,MAAM,GAAG,IAAID,UAAU,CAAC,cAAc,CAAC;AAAC;AAErDC,MAAM,CAACC,WAAW,CAChB;EACEC,EAAE,EAAE;AACN,CAAC,EACD,kIAAkI,CACnI;AAEM,IAAMC,OAAO,GAAGH,MAAM,CAACG,OAAO,CAAC,WAAW,EAAE,SAAS,EAAE;EAC5DC,KAAK,EACH,8EAA8E;EAChFC,IAAI,EAAE;AACR,CAAC,CAAC;AAAC;AAEI,IAAMC,cAAc,GAAG;EAC5BH,OAAO,EAAPA,OAAO;EACPH,MAAM,EAANA;AACF,CAAC;AAAC;AAEK,IAAMO,kBAAkB,GAAG;EAChCC,CAAC,EAAE,WAACC,IAAI;IAAA,OAAKA,IAAI;EAAA;EACjBC,eAAe,EAAE,yBAACC,IAAI;IAAA,OAAKd,KAAK,CAACc,IAAI,C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