stream-chat-react-native-core 5.24.0-beta.3 → 5.24.0-beta.4

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 (119) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +30 -22
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  4. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  5. package/lib/commonjs/components/Message/Message.js +28 -6
  6. package/lib/commonjs/components/Message/Message.js.map +1 -1
  7. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js +84 -0
  8. package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -0
  9. package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  10. package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
  11. package/lib/commonjs/components/index.js +11 -0
  12. package/lib/commonjs/components/index.js.map +1 -1
  13. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +18 -8
  14. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  15. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +4 -8
  16. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  17. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
  18. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  19. package/lib/commonjs/i18n/en.json +4 -1
  20. package/lib/commonjs/i18n/es.json +4 -1
  21. package/lib/commonjs/i18n/fr.json +49 -46
  22. package/lib/commonjs/i18n/he.json +4 -1
  23. package/lib/commonjs/i18n/hi.json +49 -46
  24. package/lib/commonjs/i18n/it.json +49 -46
  25. package/lib/commonjs/i18n/ja.json +4 -1
  26. package/lib/commonjs/i18n/ko.json +4 -1
  27. package/lib/commonjs/i18n/nl.json +49 -46
  28. package/lib/commonjs/i18n/ru.json +49 -46
  29. package/lib/commonjs/i18n/tr.json +49 -46
  30. package/lib/commonjs/utils/removeReservedFields.js +1 -1
  31. package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
  32. package/lib/commonjs/utils/utils.js +5 -1
  33. package/lib/commonjs/utils/utils.js.map +1 -1
  34. package/lib/commonjs/version.json +1 -1
  35. package/lib/module/components/Channel/Channel.js +30 -22
  36. package/lib/module/components/Channel/Channel.js.map +1 -1
  37. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  38. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  39. package/lib/module/components/Message/Message.js +28 -6
  40. package/lib/module/components/Message/Message.js.map +1 -1
  41. package/lib/module/components/Message/MessageSimple/MessageBounce.js +84 -0
  42. package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -0
  43. package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
  44. package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
  45. package/lib/module/components/index.js +11 -0
  46. package/lib/module/components/index.js.map +1 -1
  47. package/lib/module/contexts/messageInputContext/MessageInputContext.js +18 -8
  48. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  49. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +4 -8
  50. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  51. package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
  52. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  53. package/lib/module/i18n/en.json +4 -1
  54. package/lib/module/i18n/es.json +4 -1
  55. package/lib/module/i18n/fr.json +49 -46
  56. package/lib/module/i18n/he.json +4 -1
  57. package/lib/module/i18n/hi.json +49 -46
  58. package/lib/module/i18n/it.json +49 -46
  59. package/lib/module/i18n/ja.json +4 -1
  60. package/lib/module/i18n/ko.json +4 -1
  61. package/lib/module/i18n/nl.json +49 -46
  62. package/lib/module/i18n/ru.json +49 -46
  63. package/lib/module/i18n/tr.json +49 -46
  64. package/lib/module/utils/removeReservedFields.js +1 -1
  65. package/lib/module/utils/removeReservedFields.js.map +1 -1
  66. package/lib/module/utils/utils.js +5 -1
  67. package/lib/module/utils/utils.js.map +1 -1
  68. package/lib/module/version.json +1 -1
  69. package/lib/typescript/components/Channel/Channel.d.ts +1 -1
  70. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
  71. package/lib/typescript/components/Message/Message.d.ts +1 -1
  72. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +12 -0
  73. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
  74. package/lib/typescript/components/index.d.ts +1 -0
  75. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +6 -2
  76. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -2
  77. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +7 -2
  78. package/lib/typescript/i18n/en.json +4 -1
  79. package/lib/typescript/i18n/es.json +4 -1
  80. package/lib/typescript/i18n/fr.json +49 -46
  81. package/lib/typescript/i18n/he.json +4 -1
  82. package/lib/typescript/i18n/hi.json +49 -46
  83. package/lib/typescript/i18n/it.json +49 -46
  84. package/lib/typescript/i18n/ja.json +4 -1
  85. package/lib/typescript/i18n/ko.json +4 -1
  86. package/lib/typescript/i18n/nl.json +49 -46
  87. package/lib/typescript/i18n/ru.json +49 -46
  88. package/lib/typescript/i18n/tr.json +49 -46
  89. package/lib/typescript/utils/Streami18n.d.ts +3 -0
  90. package/lib/typescript/utils/removeReservedFields.d.ts +2 -1
  91. package/lib/typescript/utils/utils.d.ts +11 -0
  92. package/package.json +2 -2
  93. package/src/components/Channel/Channel.tsx +26 -7
  94. package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
  95. package/src/components/Message/Message.tsx +26 -2
  96. package/src/components/Message/MessageSimple/MessageBounce.tsx +119 -0
  97. package/src/components/Message/hooks/useMessageActionHandlers.ts +1 -2
  98. package/src/components/Message/hooks/useMessageActions.tsx +1 -1
  99. package/src/components/index.ts +1 -0
  100. package/src/contexts/messageInputContext/MessageInputContext.tsx +24 -6
  101. package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +8 -8
  102. package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +1 -1
  103. package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +6 -1
  104. package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +3 -9
  105. package/src/contexts/messagesContext/MessagesContext.tsx +7 -2
  106. package/src/i18n/en.json +4 -1
  107. package/src/i18n/es.json +4 -1
  108. package/src/i18n/fr.json +49 -46
  109. package/src/i18n/he.json +4 -1
  110. package/src/i18n/hi.json +49 -46
  111. package/src/i18n/it.json +49 -46
  112. package/src/i18n/ja.json +4 -1
  113. package/src/i18n/ko.json +4 -1
  114. package/src/i18n/nl.json +49 -46
  115. package/src/i18n/ru.json +49 -46
  116. package/src/i18n/tr.json +49 -46
  117. package/src/utils/removeReservedFields.ts +5 -2
  118. package/src/utils/utils.ts +16 -0
  119. package/src/version.json +1 -1
@@ -75,5 +75,8 @@
75
75
  "How about sending your first message to a friend?": "친구에게 첫 번째 메시지를 보내는 것은 어떻습니까?",
76
76
  "Allow camera access in device settings": "기기 설정에서 카메라 액세스를 허용하세요.",
77
77
  "Device camera is used to take photos or videos.": "기기 카메라는 사진이나 동영상을 촬영하는 데 사용됩니다.",
78
- "Open Settings": "설정 열기"
78
+ "Open Settings": "설정 열기",
79
+ "Send Anyway": "그래도 보내기",
80
+ "Are you sure?": "확실합니까?",
81
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "당신의 댓글이 다른 사람들에게 어떤 영향을 줄지 고려하고 반드시 우리의 커뮤니티 가이드라인을 따르십시오"
79
82
  }
@@ -1,19 +1,21 @@
1
1
  {
2
- "1 Reply": "1 Antwoord",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
- "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "Stuur ook naar kanaal",
7
+ "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
8
+ "Are you sure?": "Weet je het zeker?",
9
+ "Block User": "Blokkeer Gebruiker",
10
+ "Cancel": "Annuleer",
11
+ "Cannot Flag Message": "Kan bericht niet rapporteren",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
13
+ "Copy Message": "Bericht kopiëren",
14
+ "Delete": "Verwijderen",
15
+ "Delete Message": "Verwijder bericht",
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?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
18
+ "Edit Message": "Pas bericht aan",
17
19
  "Editing Message": "",
18
20
  "Emoji matching": "",
19
21
  "Empty message...": "",
@@ -21,10 +23,10 @@
21
23
  "Error loading channel list...": "",
22
24
  "Error loading messages for this channel...": "",
23
25
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "Bestandstype niet ondersteund",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
26
+ "File type not supported": "",
27
+ "Flag": "Markeer",
28
+ "Flag Message": "Markeer bericht",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
28
30
  "How about sending your first message to a friend?": "",
29
31
  "Instant Commands": "",
30
32
  "Let's start chatting!": "",
@@ -32,44 +34,45 @@
32
34
  "Loading channels...": "",
33
35
  "Loading messages...": "",
34
36
  "Loading...": "",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
38
  "Message Reactions": "",
37
39
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
40
- "Not supported": "niet ondersteund",
40
+ "Message flagged": "Bericht gemarkeerd",
41
+ "Mute User": "Gebruiker dempen",
42
+ "Not supported": "",
41
43
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "Alleen zichtbaar voor jou",
44
- "Open Settings": "Open instellingen",
44
+ "Ok": "Oké",
45
+ "Only visible to you": "",
46
+ "Open Settings": "",
45
47
  "Photo": "",
46
- "Photos and Videos": "Foto's en video's",
47
- "Pin to Conversation": "",
48
- "Pinned by": "Vastgemaakt door",
49
- "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
48
+ "Photos and Videos": "",
49
+ "Pin to Conversation": "Vastmaken aan gesprek",
50
+ "Pinned by": "",
51
+ "Please enable access to your photos and videos so you can share them.": "",
50
52
  "Please select a channel first": "Selecteer eerst een kanaal",
51
53
  "Reconnecting...": "",
52
- "Reply": "",
53
- "Reply to Message": "Beantwoord bericht",
54
- "Resend": "",
55
- "Search GIFs": "Zoek GIF's",
56
- "Select More Photos": "Selecteer Meer foto's",
57
- "Send a message": "Stuur een bericht",
54
+ "Reply": "Antwoord",
55
+ "Reply to Message": "",
56
+ "Resend": "Opnieuw versturen",
57
+ "Search GIFs": "",
58
+ "Select More Photos": "",
59
+ "Send Anyway": "Toch verzenden",
60
+ "Send a message": "",
58
61
  "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
59
- "Slow mode ON": "Langzame modus aan",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Onbekende gebruiker",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
66
- "Unread Messages": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
64
+ "Thread Reply": "Discussie beantwoorden",
65
+ "Unblock User": "Deblokkeer gebruiker",
66
+ "Unknown User": "",
67
+ "Unmute User": "Dempen van gebruiker opheffen",
68
+ "Unpin from Conversation": "Losmaken van gesprek",
69
+ "Unread Messages": "Ongelezen Berichten",
67
70
  "Video": "",
68
71
  "You": "",
69
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
70
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
74
+ "{{ index }} of {{ photoLength }}": "",
75
+ "{{ replyCount }} Replies": "",
73
76
  "{{ replyCount }} Thread Replies": "",
74
77
  "{{ user }} is typing": "",
75
78
  "🏙 Attachment...": ""
@@ -1,19 +1,21 @@
1
1
  {
2
- "1 Reply": "1 Ответ",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
- "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "Также отправить на канал",
7
+ "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
+ "Are you sure?": "Вы уверены?",
9
+ "Block User": "Заблокировать пользователя",
10
+ "Cancel": "Отмена",
11
+ "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
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": "Удалить сообщение",
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
19
  "Editing Message": "",
18
20
  "Emoji matching": "",
19
21
  "Empty message...": "",
@@ -21,10 +23,10 @@
21
23
  "Error loading channel list...": "",
22
24
  "Error loading messages for this channel...": "",
23
25
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "Тип файла не поддерживается",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
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": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
28
30
  "How about sending your first message to a friend?": "",
29
31
  "Instant Commands": "",
30
32
  "Let's start chatting!": "",
@@ -32,44 +34,45 @@
32
34
  "Loading channels...": "",
33
35
  "Loading messages...": "",
34
36
  "Loading...": "",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
36
38
  "Message Reactions": "",
37
39
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
40
- "Not supported": "не поддерживается",
40
+ "Message flagged": "Сообщение отмечено",
41
+ "Mute User": "Отключить пользователя",
42
+ "Not supported": "",
41
43
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "Видно только вам",
44
- "Open Settings": "Открыть настройки",
44
+ "Ok": "",
45
+ "Only visible to you": "",
46
+ "Open Settings": "",
45
47
  "Photo": "",
46
- "Photos and Videos": "Фото и видео",
47
- "Pin to Conversation": "",
48
- "Pinned by": "Закреплено пользователем",
49
- "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
48
+ "Photos and Videos": "",
49
+ "Pin to Conversation": "Закрепить к беседе",
50
+ "Pinned by": "",
51
+ "Please enable access to your photos and videos so you can share them.": "",
50
52
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
53
  "Reconnecting...": "",
52
- "Reply": "",
53
- "Reply to Message": "Ответить на сообщение",
54
- "Resend": "",
55
- "Search GIFs": "Поиск GIF",
56
- "Select More Photos": "Выбрать больше фотографий",
57
- "Send a message": "Отправить сообщение",
54
+ "Reply": "Ответить",
55
+ "Reply to Message": "",
56
+ "Resend": "Отправить",
57
+ "Search GIFs": "",
58
+ "Select More Photos": "",
59
+ "Send Anyway": "Всё равно отправить",
60
+ "Send a message": "",
58
61
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
59
- "Slow mode ON": "Медленный режим включен",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Неизвестный пользователь",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
66
- "Unread Messages": "",
62
+ "Slow mode ON": "",
63
+ "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
64
+ "Thread Reply": "Тема Ответить",
65
+ "Unblock User": "Разблокировать пользователя",
66
+ "Unknown User": "",
67
+ "Unmute User": "Включить микрофон",
68
+ "Unpin from Conversation": "Открепить от беседы",
69
+ "Unread Messages": "Непрочитанные Сообщения",
67
70
  "Video": "",
68
71
  "You": "",
69
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
70
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
74
+ "{{ index }} of {{ photoLength }}": "",
75
+ "{{ replyCount }} Replies": "",
73
76
  "{{ replyCount }} Thread Replies": "",
74
77
  "{{ user }} is typing": "",
75
78
  "🏙 Attachment...": ""
@@ -1,19 +1,21 @@
1
1
  {
2
- "1 Reply": "1 Cevap",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Galerinize erişime izin verin",
5
- "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
- "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "",
8
- "Block User": "",
9
- "Cancel": "",
10
- "Cannot Flag Message": "",
11
- "Copy Message": "",
12
- "Delete": "",
13
- "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
- "Edit Message": "",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
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
+ "Are you sure?": "Emin misiniz?",
9
+ "Block User": "Kullanıcıyı engelle",
10
+ "Cancel": "İptal",
11
+ "Cannot Flag Message": "Raporlama Başarısız",
12
+ "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
13
+ "Copy Message": "Mesajı Kopyala",
14
+ "Delete": "Sil",
15
+ "Delete Message": "Mesajı Sil",
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?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
18
+ "Edit Message": "Mesajı Düzenle",
17
19
  "Editing Message": "",
18
20
  "Emoji matching": "",
19
21
  "Empty message...": "",
@@ -21,10 +23,10 @@
21
23
  "Error loading channel list...": "",
22
24
  "Error loading messages for this channel...": "",
23
25
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "Dosya türü desteklenmiyor",
25
- "Flag": "",
26
- "Flag Message": "",
27
- "Flag action failed either due to a network issue or the message is already flagged": "",
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.",
28
30
  "How about sending your first message to a friend?": "",
29
31
  "Instant Commands": "",
30
32
  "Let's start chatting!": "",
@@ -32,44 +34,45 @@
32
34
  "Loading channels...": "",
33
35
  "Loading messages...": "",
34
36
  "Loading...": "",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
37
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
36
38
  "Message Reactions": "",
37
39
  "Message deleted": "",
38
- "Message flagged": "",
39
- "Mute User": "",
40
- "Not supported": "Desteklenmiyor",
40
+ "Message flagged": "Mesaj işaretlendi",
41
+ "Mute User": "Kullanıcıyı sessize al",
42
+ "Not supported": "",
41
43
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "Sadece siz görebilirsiniz",
44
- "Open Settings": "Ayarları aç",
44
+ "Ok": "Tamam",
45
+ "Only visible to you": "",
46
+ "Open Settings": "",
45
47
  "Photo": "",
46
- "Photos and Videos": "Fotoğraflar ve Videolar",
47
- "Pin to Conversation": "",
48
- "Pinned by": "Tarafından sabitlendi",
49
- "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
48
+ "Photos and Videos": "",
49
+ "Pin to Conversation": "Konuşmaya sabitle",
50
+ "Pinned by": "",
51
+ "Please enable access to your photos and videos so you can share them.": "",
50
52
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
53
  "Reconnecting...": "",
52
- "Reply": "",
53
- "Reply to Message": "Mesajı Yanıtla",
54
- "Resend": "",
55
- "Search GIFs": "GIF Ara",
56
- "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
- "Send a message": "Mesaj gönder",
54
+ "Reply": "Yanıtla",
55
+ "Reply to Message": "",
56
+ "Resend": "Yeniden gönder",
57
+ "Search GIFs": "",
58
+ "Select More Photos": "",
59
+ "Send Anyway": "Yine de Gönder",
60
+ "Send a message": "",
58
61
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
59
- "Slow mode ON": "Yavaş Mod Açık",
60
- "The message has been reported to a moderator.": "",
61
- "Thread Reply": "",
62
- "Unblock User": "",
63
- "Unknown User": "Bilinmeyen kullanıcı",
64
- "Unmute User": "",
65
- "Unpin from Conversation": "",
66
- "Unread Messages": "",
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
+ "Unknown User": "",
67
+ "Unmute User": "Kullanıcının sesini aç",
68
+ "Unpin from Conversation": "Sabitlemeyi kaldır",
69
+ "Unread Messages": "Okunmamış Mesajlar",
67
70
  "Video": "",
68
71
  "You": "",
69
- "You can't send messages in this channel": "",
72
+ "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
70
73
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
74
+ "{{ index }} of {{ photoLength }}": "",
75
+ "{{ replyCount }} Replies": "",
73
76
  "{{ replyCount }} Thread Replies": "",
74
77
  "{{ user }} is typing": "",
75
78
  "🏙 Attachment...": ""
@@ -6,7 +6,7 @@ exports.removeReservedFields = void 0;
6
6
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
7
7
  var removeReservedFields = function removeReservedFields(message) {
8
8
  var retryMessage = (0, _extends2["default"])({}, message);
9
- var reserved = ['cid', 'config', 'created_at', 'created_by', 'deleted_at', 'i18n', 'latest_reactions', 'own_reactions', 'reaction_counts', 'last_message_at', 'member_count', 'type', 'updated_at'];
9
+ var reserved = ['cid', 'config', 'created_at', 'created_by', 'deleted_at', 'i18n', 'latest_reactions', 'own_reactions', 'reaction_counts', 'last_message_at', 'member_count', 'type', 'updated_at', 'reply_count'];
10
10
  reserved.forEach(function (key) {
11
11
  delete retryMessage[key];
12
12
  });
@@ -1 +1 @@
1
- {"version":3,"names":["removeReservedFields","message","retryMessage","_extends2","reserved","forEach","key","exports"],"sources":["removeReservedFields.ts"],"sourcesContent":["import type { MessageType } from '../components/MessageList/hooks/useMessageList';\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const removeReservedFields = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n message: MessageType<StreamChatGenerics>,\n) => {\n const retryMessage = { ...message };\n const reserved = [\n 'cid',\n 'config',\n 'created_at',\n 'created_by',\n 'deleted_at',\n 'i18n',\n 'latest_reactions',\n 'own_reactions',\n 'reaction_counts',\n 'last_message_at',\n 'member_count',\n 'type',\n 'updated_at',\n ];\n reserved.forEach((key) => {\n delete retryMessage[key];\n });\n\n return retryMessage;\n};\n"],"mappings":";;;;;;AAGO,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAG/BC,OAAwC,EACrC;EACH,IAAMC,YAAY,OAAAC,SAAA,iBAAQF,OAAO,CAAE;EACnC,IAAMG,QAAQ,GAAG,CACf,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,YAAY,CACb;EACDA,QAAQ,CAACC,OAAO,CAAC,UAACC,GAAG,EAAK;IACxB,OAAOJ,YAAY,CAACI,GAAG,CAAC;EAC1B,CAAC,CAAC;EAEF,OAAOJ,YAAY;AACrB,CAAC;AAACK,OAAA,CAAAP,oBAAA,GAAAA,oBAAA"}
1
+ {"version":3,"names":["removeReservedFields","message","retryMessage","_extends2","reserved","forEach","key","exports"],"sources":["removeReservedFields.ts"],"sourcesContent":["import type { MessageResponse } from 'stream-chat';\n\nimport type { MessageType } from '../components/MessageList/hooks/useMessageList';\nimport type { DefaultStreamChatGenerics } from '../types/types';\n\nexport const removeReservedFields = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>(\n message: MessageType<StreamChatGenerics> | MessageResponse<StreamChatGenerics>,\n): MessageType<StreamChatGenerics> | MessageResponse<StreamChatGenerics> => {\n const retryMessage = { ...message };\n const reserved = [\n 'cid',\n 'config',\n 'created_at',\n 'created_by',\n 'deleted_at',\n 'i18n',\n 'latest_reactions',\n 'own_reactions',\n 'reaction_counts',\n 'last_message_at',\n 'member_count',\n 'type',\n 'updated_at',\n 'reply_count',\n ];\n reserved.forEach((key) => {\n delete retryMessage[key];\n });\n\n return retryMessage;\n};\n"],"mappings":";;;;;;AAKO,IAAMA,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAG/BC,OAA8E,EACJ;EAC1E,IAAMC,YAAY,OAAAC,SAAA,iBAAQF,OAAO,CAAE;EACnC,IAAMG,QAAQ,GAAG,CACf,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,YAAY,EACZ,aAAa,CACd;EACDA,QAAQ,CAACC,OAAO,CAAC,UAACC,GAAG,EAAK;IACxB,OAAOJ,YAAY,CAACI,GAAG,CAAC;EAC1B,CAAC,CAAC;EAEF,OAAOJ,YAAY;AACrB,CAAC;AAACK,OAAA,CAAAP,oBAAA,GAAAA,oBAAA"}
@@ -2,7 +2,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- exports.reduceMessagesToString = exports.queryUsersDebounced = exports.queryMembersDebounced = exports.makeImageCompatibleUrl = exports.isMentionTrigger = exports.isLocalUrl = exports.isEmojiTrigger = exports.isCommandTrigger = exports.isBlockedMessage = exports.hasOnlyEmojis = exports.getUrlWithoutParams = exports.getIndicatorTypeForFileState = exports.generateRandomId = exports.ProgressIndicatorTypes = exports.MessageStatusTypes = exports.FileState = exports.ACITriggerSettings = void 0;
5
+ exports.reduceMessagesToString = exports.queryUsersDebounced = exports.queryMembersDebounced = exports.makeImageCompatibleUrl = exports.isMentionTrigger = exports.isLocalUrl = exports.isEmojiTrigger = exports.isCommandTrigger = exports.isBouncedMessage = exports.isBlockedMessage = exports.hasOnlyEmojis = exports.getUrlWithoutParams = exports.getIndicatorTypeForFileState = exports.generateRandomId = exports.ProgressIndicatorTypes = exports.MessageStatusTypes = exports.FileState = exports.ACITriggerSettings = void 0;
6
6
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
7
7
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
8
8
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
@@ -43,6 +43,10 @@ var isBlockedMessage = function isBlockedMessage(message) {
43
43
  return message.type === 'error' && message.text && pattern.test(message.text);
44
44
  };
45
45
  exports.isBlockedMessage = isBlockedMessage;
46
+ var isBouncedMessage = function isBouncedMessage(message) {
47
+ return message.type === 'error' && message.moderation_details !== undefined;
48
+ };
49
+ exports.isBouncedMessage = isBouncedMessage;
46
50
  var defaultAutoCompleteSuggestionsLimit = 10;
47
51
  var defaultMentionAllAppUsersQuery = {
48
52
  filters: {},