stream-chat-react-native-core 5.27.0-beta.1 → 5.27.0-beta.10

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 (108) hide show
  1. package/lib/commonjs/components/Attachment/Gallery.js +6 -7
  2. package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
  3. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +30 -5
  4. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
  5. package/lib/commonjs/components/Chat/Chat.js +25 -16
  6. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  7. package/lib/commonjs/components/Chat/hooks/useAppSettings.js +18 -12
  8. package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
  9. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  10. package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
  11. package/lib/commonjs/components/Indicators/LoadingIndicator.js +8 -2
  12. package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
  13. package/lib/commonjs/components/MessageInput/SendButton.js +1 -1
  14. package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
  15. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +3 -1
  16. package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  17. package/lib/commonjs/components/MessageList/MessageList.js +45 -40
  18. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  19. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +73 -56
  20. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  21. package/lib/commonjs/i18n/en.json +1 -1
  22. package/lib/commonjs/i18n/es.json +46 -46
  23. package/lib/commonjs/i18n/fr.json +46 -46
  24. package/lib/commonjs/i18n/he.json +46 -46
  25. package/lib/commonjs/i18n/hi.json +47 -47
  26. package/lib/commonjs/i18n/it.json +47 -47
  27. package/lib/commonjs/i18n/ja.json +47 -47
  28. package/lib/commonjs/i18n/ko.json +47 -47
  29. package/lib/commonjs/i18n/nl.json +47 -47
  30. package/lib/commonjs/i18n/pt-BR.json +47 -47
  31. package/lib/commonjs/i18n/ru.json +47 -47
  32. package/lib/commonjs/i18n/tr.json +47 -47
  33. package/lib/commonjs/utils/addReactionToLocalState.js +3 -2
  34. package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
  35. package/lib/commonjs/version.json +1 -1
  36. package/lib/module/components/Attachment/Gallery.js +6 -7
  37. package/lib/module/components/Attachment/Gallery.js.map +1 -1
  38. package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +30 -5
  39. package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
  40. package/lib/module/components/Chat/Chat.js +25 -16
  41. package/lib/module/components/Chat/Chat.js.map +1 -1
  42. package/lib/module/components/Chat/hooks/useAppSettings.js +18 -12
  43. package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
  44. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  45. package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
  46. package/lib/module/components/Indicators/LoadingIndicator.js +8 -2
  47. package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
  48. package/lib/module/components/MessageInput/SendButton.js +1 -1
  49. package/lib/module/components/MessageInput/SendButton.js.map +1 -1
  50. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +3 -1
  51. package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
  52. package/lib/module/components/MessageList/MessageList.js +45 -40
  53. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  54. package/lib/module/contexts/messageInputContext/MessageInputContext.js +73 -56
  55. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  56. package/lib/module/i18n/en.json +1 -1
  57. package/lib/module/i18n/es.json +46 -46
  58. package/lib/module/i18n/fr.json +46 -46
  59. package/lib/module/i18n/he.json +46 -46
  60. package/lib/module/i18n/hi.json +47 -47
  61. package/lib/module/i18n/it.json +47 -47
  62. package/lib/module/i18n/ja.json +47 -47
  63. package/lib/module/i18n/ko.json +47 -47
  64. package/lib/module/i18n/nl.json +47 -47
  65. package/lib/module/i18n/pt-BR.json +47 -47
  66. package/lib/module/i18n/ru.json +47 -47
  67. package/lib/module/i18n/tr.json +47 -47
  68. package/lib/module/utils/addReactionToLocalState.js +3 -2
  69. package/lib/module/utils/addReactionToLocalState.js.map +1 -1
  70. package/lib/module/version.json +1 -1
  71. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +3 -1
  72. package/lib/typescript/i18n/en.json +1 -1
  73. package/lib/typescript/i18n/es.json +46 -46
  74. package/lib/typescript/i18n/fr.json +46 -46
  75. package/lib/typescript/i18n/he.json +46 -46
  76. package/lib/typescript/i18n/hi.json +47 -47
  77. package/lib/typescript/i18n/it.json +47 -47
  78. package/lib/typescript/i18n/ja.json +47 -47
  79. package/lib/typescript/i18n/ko.json +47 -47
  80. package/lib/typescript/i18n/nl.json +47 -47
  81. package/lib/typescript/i18n/pt-BR.json +47 -47
  82. package/lib/typescript/i18n/ru.json +47 -47
  83. package/lib/typescript/i18n/tr.json +47 -47
  84. package/package.json +1 -1
  85. package/src/components/Attachment/Gallery.tsx +9 -9
  86. package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +24 -2
  87. package/src/components/Chat/Chat.tsx +17 -6
  88. package/src/components/Chat/hooks/useAppSettings.ts +3 -1
  89. package/src/components/ImageGallery/ImageGallery.tsx +1 -1
  90. package/src/components/Indicators/LoadingIndicator.tsx +3 -3
  91. package/src/components/MessageInput/SendButton.tsx +1 -1
  92. package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +2 -1
  93. package/src/components/MessageList/MessageList.tsx +19 -13
  94. package/src/contexts/messageInputContext/MessageInputContext.tsx +9 -3
  95. package/src/i18n/en.json +1 -1
  96. package/src/i18n/es.json +46 -46
  97. package/src/i18n/fr.json +46 -46
  98. package/src/i18n/he.json +46 -46
  99. package/src/i18n/hi.json +47 -47
  100. package/src/i18n/it.json +47 -47
  101. package/src/i18n/ja.json +47 -47
  102. package/src/i18n/ko.json +47 -47
  103. package/src/i18n/nl.json +47 -47
  104. package/src/i18n/pt-BR.json +47 -47
  105. package/src/i18n/ru.json +47 -47
  106. package/src/i18n/tr.json +47 -47
  107. package/src/utils/addReactionToLocalState.ts +7 -2
  108. package/src/version.json +1 -1
@@ -1,79 +1,79 @@
1
1
  {
2
- "1 Reply": "1 Ответ",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
6
+ "Also send to channel": "Также отправить на канал",
7
+ "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
8
  "Are you sure?": "",
9
- "Block User": "",
10
- "Cancel": "",
11
- "Cannot Flag Message": "",
9
+ "Block User": "Заблокировать пользователя",
10
+ "Cancel": "Отмена",
11
+ "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "",
14
- "Delete": "",
15
- "Delete Message": "",
13
+ "Copy Message": "Копировать сообщение",
14
+ "Delete": "удалять",
15
+ "Delete Message": "Удалить сообщение",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
- "Edit Message": "",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
18
+ "Edit Message": "Редактировать сообщение",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "",
21
- "Empty message...": "Пустое сообщение...",
21
+ "Empty message...": "",
22
22
  "Error loading": "Ошибка при загрузке",
23
- "Error loading channel list...": "Ошибка загрузки списка каналов...",
23
+ "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Ошибка загрузки сообщений для этого канала...",
25
- "Error while loading, please reload/refresh": "Ошибка загрузки, пожалуйста перезагрузите или обновите",
26
- "File type not supported": "Тип файла не поддерживается",
27
- "Flag": "",
28
- "Flag Message": "",
29
- "Flag action failed either due to a network issue or the message is already flagged": "",
30
- "How about sending your first message to a friend?": "Как насчет отправки первого сообщения другу?",
25
+ "Error while loading, please reload/refresh": "",
26
+ "File type not supported": "",
27
+ "Flag": "Пометить",
28
+ "Flag Message": "Пометить сообщение",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
30
+ "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "",
32
- "Let's start chatting!": "Давайте начнем общаться!",
32
+ "Let's start chatting!": "",
33
33
  "Links are disabled": "",
34
- "Loading channels...": "Загружаю каналы...",
35
- "Loading messages...": "Загружаю сообщения...",
36
- "Loading...": "Загружаю...",
34
+ "Loading channels...": "",
35
+ "Loading messages...": "",
36
+ "Loading...": "",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
38
  "Message Reactions": "Сообщения Реакции",
39
39
  "Message deleted": "Сообщение удалено",
40
- "Message flagged": "",
41
- "Mute User": "",
40
+ "Message flagged": "Сообщение отмечено",
41
+ "Mute User": "Отключить пользователя",
42
42
  "Not supported": "",
43
- "Nothing yet...": "Пока ничего нет...",
44
- "Ok": "",
45
- "Only visible to you": "Видно только вам",
43
+ "Nothing yet...": "",
44
+ "Ok": "",
45
+ "Only visible to you": "",
46
46
  "Open Settings": "",
47
47
  "Photo": "Фото",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "",
50
- "Pinned by": "Закреплено пользователем",
49
+ "Pin to Conversation": "Закрепить к беседе",
50
+ "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
52
+ "Please select a channel first": "Пожалуйста, сначала выберите канал",
53
53
  "Reconnecting...": "Переподключение...",
54
- "Reply": "",
55
- "Reply to Message": "Ответить на сообщение",
56
- "Resend": "",
57
- "Search GIFs": "Поиск GIF",
54
+ "Reply": "Ответить",
55
+ "Reply to Message": "",
56
+ "Resend": "Отправить",
57
+ "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "",
60
- "Send a message": "Отправить сообщение",
60
+ "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "",
62
- "Slow mode ON": "Медленный режим включен",
63
- "The message has been reported to a moderator.": "",
64
- "Thread Reply": "",
65
- "Unblock User": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
64
+ "Thread Reply": "Тема Ответить",
65
+ "Unblock User": "Разблокировать пользователя",
66
66
  "Unknown User": "",
67
- "Unmute User": "",
68
- "Unpin from Conversation": "",
69
- "Unread Messages": "Непрочитанные Сообщения",
67
+ "Unmute User": "Включить микрофон",
68
+ "Unpin from Conversation": "Открепить от беседы",
69
+ "Unread Messages": "",
70
70
  "Video": "видео",
71
- "You": "Вы",
72
- "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
71
+ "You": "",
72
+ "You can't send messages in this channel": "",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
75
+ "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
77
  "{{ user }} is typing": "{{ user }} пишет",
78
- "🏙 Attachment...": "🏙 Вложение..."
78
+ "🏙 Attachment...": ""
79
79
  }
@@ -1,79 +1,79 @@
1
1
  {
2
- "1 Reply": "1 Cevap",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
6
+ "Also send to channel": "Kanala da gönder",
7
+ "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
8
  "Are you sure?": "",
9
- "Block User": "",
10
- "Cancel": "",
11
- "Cannot Flag Message": "",
9
+ "Block User": "Kullanıcıyı engelle",
10
+ "Cancel": "İptal",
11
+ "Cannot Flag Message": "Raporlama Başarısız",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "",
14
- "Delete": "",
15
- "Delete Message": "",
13
+ "Copy Message": "Mesajı Kopyala",
14
+ "Delete": "Sil",
15
+ "Delete Message": "Mesajı Sil",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
- "Edit Message": "",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
18
+ "Edit Message": "Mesajı Düzenle",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "",
21
- "Empty message...": "Boş mesaj...",
21
+ "Empty message...": "",
22
22
  "Error loading": "Yükleme hatası",
23
- "Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
23
+ "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
25
- "Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
26
- "File type not supported": "Dosya türü desteklenmiyor",
27
- "Flag": "",
28
- "Flag Message": "",
29
- "Flag action failed either due to a network issue or the message is already flagged": "",
30
- "How about sending your first message to a friend?": "İlk mesajınızı bir arkadaşınıza göndermeye ne dersiniz?",
25
+ "Error while loading, please reload/refresh": "",
26
+ "File type not supported": "",
27
+ "Flag": "Raporla",
28
+ "Flag Message": "Mesajı Raporla",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
30
+ "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "",
32
- "Let's start chatting!": "Haydi sohbete başlayalım!",
32
+ "Let's start chatting!": "",
33
33
  "Links are disabled": "",
34
- "Loading channels...": "Kanallar yükleniyor...",
35
- "Loading messages...": "Mesajlar yükleniyor...",
36
- "Loading...": "Yükleniyor...",
34
+ "Loading channels...": "",
35
+ "Loading messages...": "",
36
+ "Loading...": "",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
38
  "Message Reactions": "Mesaj Tepkileri",
39
39
  "Message deleted": "Mesaj silindi",
40
- "Message flagged": "",
41
- "Mute User": "",
40
+ "Message flagged": "Mesaj işaretlendi",
41
+ "Mute User": "Kullanıcıyı sessize al",
42
42
  "Not supported": "",
43
- "Nothing yet...": "Henüz değil...",
44
- "Ok": "",
45
- "Only visible to you": "Sadece siz görebilirsiniz",
43
+ "Nothing yet...": "",
44
+ "Ok": "Tamam",
45
+ "Only visible to you": "",
46
46
  "Open Settings": "",
47
47
  "Photo": "Fotoğraf",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "",
50
- "Pinned by": "Tarafından sabitlendi",
49
+ "Pin to Conversation": "Konuşmaya sabitle",
50
+ "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
52
+ "Please select a channel first": "Lütfen önce bir kanal seçiniz",
53
53
  "Reconnecting...": "Yeniden Bağlanılıyor...",
54
- "Reply": "",
55
- "Reply to Message": "Mesajı Yanıtla",
56
- "Resend": "",
57
- "Search GIFs": "GIF Ara",
54
+ "Reply": "Yanıtla",
55
+ "Reply to Message": "",
56
+ "Resend": "Yeniden gönder",
57
+ "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "",
60
- "Send a message": "Mesaj gönder",
60
+ "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "",
62
- "Slow mode ON": "Yavaş Mod Açık",
63
- "The message has been reported to a moderator.": "",
64
- "Thread Reply": "",
65
- "Unblock User": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
64
+ "Thread Reply": "Konu Yanıtı",
65
+ "Unblock User": "Kullanıcının engelini kaldır",
66
66
  "Unknown User": "",
67
- "Unmute User": "",
68
- "Unpin from Conversation": "",
69
- "Unread Messages": "Okunmamış Mesajlar",
67
+ "Unmute User": "Kullanıcının sesini aç",
68
+ "Unpin from Conversation": "Sabitlemeyi kaldır",
69
+ "Unread Messages": "",
70
70
  "Video": "Video",
71
- "You": "Sen",
72
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
71
+ "You": "",
72
+ "You can't send messages in this channel": "",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
75
+ "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
77
  "{{ user }} is typing": "{{ user }} yazıyor",
78
- "🏙 Attachment...": "🏙 Ek..."
78
+ "🏙 Attachment...": ""
79
79
  }
@@ -42,7 +42,7 @@ var addReactionToLocalState = function addReactionToLocalState(_ref) {
42
42
  message.latest_reactions = message.latest_reactions.filter(function (r) {
43
43
  return r.user_id !== user.id;
44
44
  });
45
- if (currentReaction && message.reaction_counts) {
45
+ if (currentReaction && message.reaction_counts && message.reaction_counts[currentReaction.type] && message.reaction_counts[currentReaction.type] > 0) {
46
46
  message.reaction_counts[currentReaction.type] = message.reaction_counts[currentReaction.type] - 1;
47
47
  }
48
48
  if (!message.reaction_counts) {
@@ -55,7 +55,8 @@ var addReactionToLocalState = function addReactionToLocalState(_ref) {
55
55
  if (!message.reaction_counts) {
56
56
  message.reaction_counts = (0, _defineProperty2["default"])({}, reactionType, 1);
57
57
  } else {
58
- message.reaction_counts[reactionType] = message.reaction_counts[reactionType] + 1;
58
+ var _message$reaction_cou4;
59
+ message.reaction_counts[reactionType] = (((_message$reaction_cou4 = message.reaction_counts) == null ? void 0 : _message$reaction_cou4[reactionType]) || 0) + 1;
59
60
  }
60
61
  }
61
62
  message.own_reactions = [].concat((0, _toConsumableArray2["default"])(message.own_reactions), [reaction]);
@@ -1 +1 @@
1
- {"version":3,"names":["_apis","require","_insertReaction","addReactionToLocalState","_ref","channel","enforceUniqueReaction","messageId","reactionType","user","message","state","messages","find","_ref2","id","reaction","created_at","Date","toISOString","message_id","type","updated_at","user_id","hasOwnReaction","own_reactions","length","latest_reactions","currentReaction","filter","r","reaction_counts","_defineProperty2","_message$reaction_cou2","concat","_toConsumableArray2","updateReaction","insertReaction","exports"],"sources":["addReactionToLocalState.ts"],"sourcesContent":["import type { Channel, ReactionResponse, UserResponse } from 'stream-chat';\n\nimport { updateReaction } from '../store/apis';\nimport { insertReaction } from '../store/apis/insertReaction';\n\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const addReactionToLocalState = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channel,\n enforceUniqueReaction,\n messageId,\n reactionType,\n user,\n}: {\n channel: Channel<StreamChatGenerics>;\n enforceUniqueReaction: boolean;\n messageId: string;\n reactionType: string;\n user: UserResponse<StreamChatGenerics>;\n}) => {\n const message = channel.state.messages.find(({ id }) => id === messageId);\n\n if (!message) return;\n\n const reaction: ReactionResponse = {\n created_at: new Date().toISOString(),\n message_id: messageId,\n type: reactionType,\n updated_at: new Date().toISOString(),\n user,\n user_id: user?.id,\n };\n\n const hasOwnReaction = message.own_reactions && message.own_reactions.length > 0;\n if (!message.own_reactions) {\n message.own_reactions = [];\n }\n\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n\n if (enforceUniqueReaction) {\n const currentReaction = message.own_reactions[0];\n message.own_reactions = [];\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n message.latest_reactions = message.latest_reactions.filter((r) => r.user_id !== user.id);\n if (currentReaction && message.reaction_counts) {\n message.reaction_counts[currentReaction.type] =\n message.reaction_counts[currentReaction.type] - 1;\n }\n\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = (message.reaction_counts?.[reactionType] || 0) + 1;\n }\n } else {\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = message.reaction_counts[reactionType] + 1;\n }\n }\n\n message.own_reactions = [...message.own_reactions, reaction];\n message.latest_reactions = [...message.latest_reactions, reaction];\n\n if (enforceUniqueReaction && hasOwnReaction) {\n updateReaction({\n message,\n reaction,\n });\n } else {\n insertReaction({\n reaction,\n });\n }\n};\n"],"mappings":";;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAIO,IAAME,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAAC,IAAA,EAc9B;EAAA,IAXJC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IACPC,qBAAqB,GAAAF,IAAA,CAArBE,qBAAqB;IACrBC,SAAS,GAAAH,IAAA,CAATG,SAAS;IACTC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IACZC,IAAI,GAAAL,IAAA,CAAJK,IAAI;EAQJ,IAAMC,OAAO,GAAGL,OAAO,CAACM,KAAK,CAACC,QAAQ,CAACC,IAAI,CAAC,UAAAC,KAAA;IAAA,IAAGC,EAAE,GAAAD,KAAA,CAAFC,EAAE;IAAA,OAAOA,EAAE,KAAKR,SAAS;EAAA,EAAC;EAEzE,IAAI,CAACG,OAAO,EAAE;EAEd,IAAMM,QAA0B,GAAG;IACjCC,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,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AyB,sBAAA;MACLvB,OAAO,CAACqB,eAAe,CAACvB,YAAY,CAAC,GAAG,CAAC,EAAAyB,sBAAA,GAAAvB,OAAO,CAACqB,eAAe,qBAAvBE,sBAAA,CAA0BzB,YAAY,CAAC,KAAI,CAAC,IAAI,CAAC;IAC5F;EACF,CAAC,MAAM;IACL,IAAI,CAACE,OAAO,CAACqB,eAAe,EAAE;MAC5BrB,OAAO,CAACqB,eAAe,OAAAC,gBAAA,iBACpBxB,YAAY,EAAG,CAAC,CAClB;IACH,CAAC,MAAM;MACLE,OAAO,CAACqB,eAAe,CAACvB,YAAY,CAAC,GAAGE,OAAO,CAACqB,eAAe,CAACvB,YAAY,CAAC,GAAG,CAAC;IACnF;EACF;EAEAE,OAAO,CAACe,aAAa,MAAAS,MAAA,KAAAC,mBAAA,aAAOzB,OAAO,CAACe,aAAa,IAAET,QAAQ,EAAC;EAC5DN,OAAO,CAACiB,gBAAgB,MAAAO,MAAA,KAAAC,mBAAA,aAAOzB,OAAO,CAACiB,gBAAgB,IAAEX,QAAQ,EAAC;EAElE,IAAIV,qBAAqB,IAAIkB,cAAc,EAAE;IAC3C,IAAAY,oBAAc,EAAC;MACb1B,OAAO,EAAPA,OAAO;MACPM,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ,CAAC,MAAM;IACL,IAAAqB,8BAAc,EAAC;MACbrB,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ;AACF,CAAC;AAACsB,OAAA,CAAAnC,uBAAA,GAAAA,uBAAA"}
1
+ {"version":3,"names":["_apis","require","_insertReaction","addReactionToLocalState","_ref","channel","enforceUniqueReaction","messageId","reactionType","user","message","state","messages","find","_ref2","id","reaction","created_at","Date","toISOString","message_id","type","updated_at","user_id","hasOwnReaction","own_reactions","length","latest_reactions","currentReaction","filter","r","reaction_counts","_defineProperty2","_message$reaction_cou2","_message$reaction_cou4","concat","_toConsumableArray2","updateReaction","insertReaction","exports"],"sources":["addReactionToLocalState.ts"],"sourcesContent":["import type { Channel, ReactionResponse, UserResponse } from 'stream-chat';\n\nimport { updateReaction } from '../store/apis';\nimport { insertReaction } from '../store/apis/insertReaction';\n\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const addReactionToLocalState = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channel,\n enforceUniqueReaction,\n messageId,\n reactionType,\n user,\n}: {\n channel: Channel<StreamChatGenerics>;\n enforceUniqueReaction: boolean;\n messageId: string;\n reactionType: string;\n user: UserResponse<StreamChatGenerics>;\n}) => {\n const message = channel.state.messages.find(({ id }) => id === messageId);\n\n if (!message) return;\n\n const reaction: ReactionResponse = {\n created_at: new Date().toISOString(),\n message_id: messageId,\n type: reactionType,\n updated_at: new Date().toISOString(),\n user,\n user_id: user?.id,\n };\n\n const hasOwnReaction = message.own_reactions && message.own_reactions.length > 0;\n if (!message.own_reactions) {\n message.own_reactions = [];\n }\n\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n\n if (enforceUniqueReaction) {\n const currentReaction = message.own_reactions[0];\n message.own_reactions = [];\n if (!message.latest_reactions) {\n message.latest_reactions = [];\n }\n message.latest_reactions = message.latest_reactions.filter((r) => r.user_id !== user.id);\n if (\n currentReaction &&\n message.reaction_counts &&\n message.reaction_counts[currentReaction.type] &&\n message.reaction_counts[currentReaction.type] > 0\n ) {\n message.reaction_counts[currentReaction.type] =\n message.reaction_counts[currentReaction.type] - 1;\n }\n\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = (message.reaction_counts?.[reactionType] || 0) + 1;\n }\n } else {\n if (!message.reaction_counts) {\n message.reaction_counts = {\n [reactionType]: 1,\n };\n } else {\n message.reaction_counts[reactionType] = (message.reaction_counts?.[reactionType] || 0) + 1;\n }\n }\n\n message.own_reactions = [...message.own_reactions, reaction];\n message.latest_reactions = [...message.latest_reactions, reaction];\n\n if (enforceUniqueReaction && hasOwnReaction) {\n updateReaction({\n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A,GAAAxB,OAAO,CAACqB,eAAe,qBAAvBG,sBAAA,CAA0B1B,YAAY,CAAC,KAAI,CAAC,IAAI,CAAC;IAC5F;EACF;EAEAE,OAAO,CAACe,aAAa,MAAAU,MAAA,KAAAC,mBAAA,aAAO1B,OAAO,CAACe,aAAa,IAAET,QAAQ,EAAC;EAC5DN,OAAO,CAACiB,gBAAgB,MAAAQ,MAAA,KAAAC,mBAAA,aAAO1B,OAAO,CAACiB,gBAAgB,IAAEX,QAAQ,EAAC;EAElE,IAAIV,qBAAqB,IAAIkB,cAAc,EAAE;IAC3C,IAAAa,oBAAc,EAAC;MACb3B,OAAO,EAAPA,OAAO;MACPM,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ,CAAC,MAAM;IACL,IAAAsB,8BAAc,EAAC;MACbtB,QAAQ,EAARA;IACF,CAAC,CAAC;EACJ;AACF,CAAC;AAACuB,OAAA,CAAApC,uBAAA,GAAAA,uBAAA"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.27.0-beta.1"
2
+ "version": "5.27.0-beta.10"
3
3
  }
@@ -109,7 +109,9 @@ export type LocalMessageInputContext<StreamChatGenerics extends DefaultStreamCha
109
109
  resetInput: (pendingAttachments?: Attachment<StreamChatGenerics>[]) => void;
110
110
  selectedPicker: string | undefined;
111
111
  sending: React.MutableRefObject<boolean>;
112
- sendMessage: (customMessageData?: Partial<Message<StreamChatGenerics>>) => Promise<void>;
112
+ sendMessage: (params?: {
113
+ customMessageData?: Partial<Message<StreamChatGenerics>>;
114
+ }) => Promise<void>;
113
115
  sendMessageAsync: (id: string) => void;
114
116
  sendThreadMessageInChannel: boolean;
115
117
  setAsyncIds: React.Dispatch<React.SetStateAction<string[]>>;
@@ -26,7 +26,7 @@
26
26
  "File type not supported": "File type not supported",
27
27
  "Flag": "Flag",
28
28
  "Flag Message": "Flag Message",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
30
30
  "How about sending your first message to a friend?": "How about sending your first message to a friend?",
31
31
  "Instant Commands": "Instant Commands",
32
32
  "Let's start chatting!": "Let's start chatting!",
@@ -1,79 +1,79 @@
1
1
  {
2
- "1 Reply": "1 respuesta",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
6
+ "Also send to channel": "También enviar al canal",
7
+ "Are you sure you want to permanently delete this message?": "¿Estás seguro de que deseas eliminar permanentemente este mensaje?",
8
8
  "Are you sure?": "",
9
- "Block User": "",
10
- "Cancel": "",
11
- "Cannot Flag Message": "",
9
+ "Block User": "Bloquear usuario",
10
+ "Cancel": "Cancelar",
11
+ "Cannot Flag Message": "No se puede reportar el mensaje",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "",
14
- "Delete": "",
15
- "Delete Message": "",
13
+ "Copy Message": "Copiar mensaje",
14
+ "Delete": "Eliminar",
15
+ "Delete Message": "Eliminar mensaje",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
- "Edit Message": "",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "¿Deseas enviar una copia de este mensaje a un moderador para una investigación adicional?",
18
+ "Edit Message": "Editar mensaje",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "",
21
- "Empty message...": "Mensaje vacío...",
21
+ "Empty message...": "",
22
22
  "Error loading": "Error al cargar",
23
- "Error loading channel list...": "Error al cargar la lista de canales...",
23
+ "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Error al cargar los mensajes de este canal...",
25
- "Error while loading, please reload/refresh": "Error al cargar, por favor recarga/actualiza",
26
- "File type not supported": "Tipo de archivo no admitido",
27
- "Flag": "",
28
- "Flag Message": "",
29
- "Flag action failed either due to a network issue or the message is already flagged": "",
30
- "How about sending your first message to a friend?": "¿Qué tal enviar tu primer mensaje a un amigo?",
25
+ "Error while loading, please reload/refresh": "",
26
+ "File type not supported": "",
27
+ "Flag": "Reportar",
28
+ "Flag Message": "Reportar mensaje",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "El reporte falló debido a un problema de red o el mensaje ya fue reportado.",
30
+ "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "",
32
- "Let's start chatting!": "¡Empecemos a charlar!",
32
+ "Let's start chatting!": "",
33
33
  "Links are disabled": "",
34
- "Loading channels...": "Cargando canales...",
35
- "Loading messages...": "Cargando mensajes...",
36
- "Loading...": "Cargando...",
34
+ "Loading channels...": "",
35
+ "Loading messages...": "",
36
+ "Loading...": "",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
38
  "Message Reactions": "Reacciones al mensaje",
39
39
  "Message deleted": "Mensaje eliminado",
40
- "Message flagged": "",
41
- "Mute User": "",
40
+ "Message flagged": "Mensaje reportado",
41
+ "Mute User": "Silenciar usuario",
42
42
  "Not supported": "",
43
- "Nothing yet...": "Aún no hay nada...",
44
- "Ok": "",
45
- "Only visible to you": "Solo visible para ti",
43
+ "Nothing yet...": "",
44
+ "Ok": "Aceptar",
45
+ "Only visible to you": "",
46
46
  "Open Settings": "",
47
47
  "Photo": "Foto",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "",
50
- "Pinned by": "Fijado por",
49
+ "Pin to Conversation": "Fijar a la conversación",
50
+ "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
52
+ "Please select a channel first": "Por favor, selecciona primero un canal",
53
53
  "Reconnecting...": "Reconectando...",
54
- "Reply": "",
55
- "Reply to Message": "Responder al mensaje",
56
- "Resend": "",
57
- "Search GIFs": "Buscar GIFs",
54
+ "Reply": "Responder",
55
+ "Reply to Message": "",
56
+ "Resend": "Reenviar",
57
+ "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "",
60
- "Send a message": "Enviar un mensaje",
60
+ "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "",
62
- "Slow mode ON": "Modo lento ACTIVADO",
63
- "The message has been reported to a moderator.": "",
64
- "Thread Reply": "",
65
- "Unblock User": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "El mensaje ha sido reportado a un moderador.",
64
+ "Thread Reply": "Respuesta de hilo",
65
+ "Unblock User": "Desbloquear usuario",
66
66
  "Unknown User": "",
67
- "Unmute User": "",
68
- "Unpin from Conversation": "",
67
+ "Unmute User": "Activar sonido del usuario",
68
+ "Unpin from Conversation": "Desmarcar de la conversación",
69
69
  "Unread Messages": "",
70
70
  "Video": "Video",
71
- "You": "",
72
- "You can't send messages in this channel": "No puedes enviar mensajes en este canal",
71
+ "You": "",
72
+ "You can't send messages in this channel": "",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} y {{ nonSelfUserLength }} más están escribiendo",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "{{ replyCount }} Respuestas",
75
+ "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
77
  "{{ user }} is typing": "{{ user }} está escribiendo",
78
- "🏙 Attachment...": "🏙 Adjunto..."
78
+ "🏙 Attachment...": ""
79
79
  }
@@ -1,79 +1,79 @@
1
1
  {
2
- "1 Reply": "1 Réponse",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "",
5
5
  "Allow camera access in device settings": "",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
6
+ "Also send to channel": "Envoyer également à la chaîne",
7
+ "Are you sure you want to permanently delete this message?": "Êtes-vous sûr de vouloir supprimer définitivement ce message?",
8
8
  "Are you sure?": "",
9
- "Block User": "",
10
- "Cancel": "",
11
- "Cannot Flag Message": "",
9
+ "Block User": "Bloquer un utilisateur",
10
+ "Cancel": "Annuler",
11
+ "Cannot Flag Message": "Impossible de signaler le message",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "",
14
- "Delete": "",
15
- "Delete Message": "",
13
+ "Copy Message": "Copier le message",
14
+ "Delete": "Supprimer",
15
+ "Delete Message": "Supprimer un message",
16
16
  "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
- "Edit Message": "",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "Voulez-vous envoyer une copie de ce message à un modérateur pour une enquête plus approfondie?",
18
+ "Edit Message": "Éditer un message",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "",
21
- "Empty message...": "Message vide...",
21
+ "Empty message...": "",
22
22
  "Error loading": "Erreur lors du chargement",
23
- "Error loading channel list...": "Erreur lors du chargement de la liste de canaux...",
23
+ "Error loading channel list...": "",
24
24
  "Error loading messages for this channel...": "Erreur lors du chargement des messages de ce canal...",
25
- "Error while loading, please reload/refresh": "Erreur lors du chargement, veuillez recharger/rafraîchir",
26
- "File type not supported": "Le type de fichier n'est pas pris en charge",
27
- "Flag": "",
28
- "Flag Message": "",
29
- "Flag action failed either due to a network issue or the message is already flagged": "",
30
- "How about sending your first message to a friend?": "Et si vous envoyiez votre premier message à un ami ?",
25
+ "Error while loading, please reload/refresh": "",
26
+ "File type not supported": "",
27
+ "Flag": "Signaler",
28
+ "Flag Message": "Signaler le message",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "L'action de signalisation a échoué en raison d'un problème de réseau ou le message est déjà signalé.",
30
+ "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "",
32
- "Let's start chatting!": "Commençons à discuter !",
32
+ "Let's start chatting!": "",
33
33
  "Links are disabled": "",
34
- "Loading channels...": "Chargement des canaux...",
35
- "Loading messages...": "Chargement des messages...",
36
- "Loading...": "Chargement...",
34
+ "Loading channels...": "",
35
+ "Loading messages...": "",
36
+ "Loading...": "",
37
37
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
38
  "Message Reactions": "Réactions aux messages",
39
39
  "Message deleted": "Message supprimé",
40
- "Message flagged": "",
41
- "Mute User": "",
40
+ "Message flagged": "Message signalé",
41
+ "Mute User": "Utilisateur muet",
42
42
  "Not supported": "",
43
- "Nothing yet...": "Aucun message...",
44
- "Ok": "",
45
- "Only visible to you": "Seulement visible par vous",
43
+ "Nothing yet...": "",
44
+ "Ok": "Ok",
45
+ "Only visible to you": "",
46
46
  "Open Settings": "",
47
47
  "Photo": "Photo",
48
48
  "Photos and Videos": "",
49
- "Pin to Conversation": "",
50
- "Pinned by": "Épinglé par",
49
+ "Pin to Conversation": "Épingler à la conversation",
50
+ "Pinned by": "",
51
51
  "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "",
52
+ "Please select a channel first": "Veuillez d'abord selectionnez un canal",
53
53
  "Reconnecting...": "Se Reconnecter...",
54
- "Reply": "",
55
- "Reply to Message": "Répondre au message",
56
- "Resend": "",
57
- "Search GIFs": "Rechercher des GIF",
54
+ "Reply": "Répondre",
55
+ "Reply to Message": "",
56
+ "Resend": "Renvoyer",
57
+ "Search GIFs": "",
58
58
  "Select More Photos": "",
59
59
  "Send Anyway": "",
60
- "Send a message": "Envoyer un message",
60
+ "Send a message": "",
61
61
  "Sending links is not allowed in this conversation": "",
62
- "Slow mode ON": "Mode lent activé",
63
- "The message has been reported to a moderator.": "",
64
- "Thread Reply": "",
65
- "Unblock User": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "Le message a été signalé à un modérateur.",
64
+ "Thread Reply": "Réponse à la discussion",
65
+ "Unblock User": "Débloquer Utilisateur",
66
66
  "Unknown User": "",
67
- "Unmute User": "",
68
- "Unpin from Conversation": "",
67
+ "Unmute User": "Activer le son de Utilisateur",
68
+ "Unpin from Conversation": "Décrocher de la conversation",
69
69
  "Unread Messages": "",
70
70
  "Video": "Vidéo",
71
- "You": "Toi",
72
- "You can't send messages in this channel": "You can't send messages in this channel",
71
+ "You": "",
72
+ "You can't send messages in this channel": "",
73
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
74
74
  "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
75
+ "{{ replyCount }} Replies": "",
76
76
  "{{ replyCount }} Thread Replies": "",
77
77
  "{{ user }} is typing": "{{ user }} est en train d'écrire",
78
- "🏙 Attachment...": "🏙 Pièce jointe..."
78
+ "🏙 Attachment...": ""
79
79
  }