stream-chat-react-native-core 5.21.0-beta.1 → 5.21.0-beta.3
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.
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +34 -17
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +36 -30
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +5 -3
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +3 -1
- package/lib/commonjs/i18n/fr.json +48 -46
- package/lib/commonjs/i18n/he.json +1 -0
- package/lib/commonjs/i18n/hi.json +48 -46
- package/lib/commonjs/i18n/it.json +48 -46
- package/lib/commonjs/i18n/ja.json +1 -0
- package/lib/commonjs/i18n/ko.json +1 -0
- package/lib/commonjs/i18n/nl.json +48 -46
- package/lib/commonjs/i18n/ru.json +48 -46
- package/lib/commonjs/i18n/tr.json +48 -46
- package/lib/commonjs/native.js +6 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +34 -17
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +36 -30
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +5 -3
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/i18n/en.json +3 -1
- package/lib/module/i18n/fr.json +48 -46
- package/lib/module/i18n/he.json +1 -0
- package/lib/module/i18n/hi.json +48 -46
- package/lib/module/i18n/it.json +48 -46
- package/lib/module/i18n/ja.json +1 -0
- package/lib/module/i18n/ko.json +1 -0
- package/lib/module/i18n/nl.json +48 -46
- package/lib/module/i18n/ru.json +48 -46
- package/lib/module/i18n/tr.json +48 -46
- package/lib/module/native.js +6 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/i18n/en.json +3 -1
- package/lib/typescript/i18n/fr.json +48 -46
- package/lib/typescript/i18n/he.json +1 -0
- package/lib/typescript/i18n/hi.json +48 -46
- package/lib/typescript/i18n/it.json +48 -46
- package/lib/typescript/i18n/ja.json +1 -0
- package/lib/typescript/i18n/ko.json +1 -0
- package/lib/typescript/i18n/nl.json +48 -46
- package/lib/typescript/i18n/ru.json +48 -46
- package/lib/typescript/i18n/tr.json +48 -46
- package/lib/typescript/native.d.ts +4 -0
- package/lib/typescript/utils/Streami18n.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +21 -2
- package/src/components/MessageInput/MessageInput.tsx +9 -2
- package/src/contexts/messageInputContext/MessageInputContext.tsx +4 -1
- package/src/i18n/en.json +3 -1
- package/src/i18n/fr.json +48 -46
- package/src/i18n/he.json +1 -0
- package/src/i18n/hi.json +48 -46
- package/src/i18n/it.json +48 -46
- package/src/i18n/ja.json +1 -0
- package/src/i18n/ko.json +1 -0
- package/src/i18n/nl.json +48 -46
- package/src/i18n/ru.json +48 -46
- package/src/i18n/tr.json +48 -46
- package/src/native.ts +9 -0
- package/src/version.json +1 -1
package/src/i18n/ru.json
CHANGED
|
@@ -1,69 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
4
|
+
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
5
|
"Also send to channel": "",
|
|
6
|
-
"Are you sure you want to permanently delete this message?": "
|
|
7
|
-
"Block User": "
|
|
8
|
-
"Cancel": "
|
|
9
|
-
"Cannot Flag Message": "
|
|
10
|
-
"Copy Message": "
|
|
11
|
-
"Delete": "
|
|
12
|
-
"Delete Message": "
|
|
13
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
14
|
-
"Edit Message": "
|
|
6
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Block User": "",
|
|
8
|
+
"Cancel": "",
|
|
9
|
+
"Cannot Flag Message": "",
|
|
10
|
+
"Copy Message": "",
|
|
11
|
+
"Delete": "",
|
|
12
|
+
"Delete Message": "",
|
|
13
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
|
+
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Соответствие эмодзи",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
22
|
"File type not supported": "",
|
|
23
|
-
"Flag": "
|
|
24
|
-
"Flag Message": "
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
23
|
+
"Flag": "",
|
|
24
|
+
"Flag Message": "",
|
|
25
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Мгновенные Команды",
|
|
27
27
|
"Links are disabled": "",
|
|
28
|
-
"Loading channels...": "
|
|
29
|
-
"Loading messages...": "
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"Message
|
|
33
|
-
"Message
|
|
34
|
-
"
|
|
28
|
+
"Loading channels...": "",
|
|
29
|
+
"Loading messages...": "",
|
|
30
|
+
"Loading...": "",
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
|
+
"Message Reactions": "Сообщения Реакции",
|
|
33
|
+
"Message deleted": "",
|
|
34
|
+
"Message flagged": "",
|
|
35
|
+
"Mute User": "",
|
|
35
36
|
"Not supported": "не поддерживается",
|
|
36
|
-
"Nothing yet...": "
|
|
37
|
-
"Ok": "
|
|
37
|
+
"Nothing yet...": "",
|
|
38
|
+
"Ok": "",
|
|
38
39
|
"Only visible to you": "",
|
|
39
|
-
"Photo": "",
|
|
40
|
-
"Photos and Videos": "",
|
|
41
|
-
"Pin to Conversation": "
|
|
42
|
-
"Pinned by": "
|
|
43
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
40
|
+
"Photo": "Фото",
|
|
41
|
+
"Photos and Videos": "Фото и видео",
|
|
42
|
+
"Pin to Conversation": "",
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
44
45
|
"Please select a channel first": "",
|
|
45
|
-
"Reconnecting...": "
|
|
46
|
-
"Reply": "
|
|
46
|
+
"Reconnecting...": "",
|
|
47
|
+
"Reply": "",
|
|
47
48
|
"Reply to Message": "",
|
|
48
|
-
"Resend": "
|
|
49
|
+
"Resend": "",
|
|
49
50
|
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Выбрать больше фотографий",
|
|
50
52
|
"Send a message": "",
|
|
51
53
|
"Sending links is not allowed in this conversation": "",
|
|
52
54
|
"Slow mode ON": "",
|
|
53
|
-
"The message has been reported to a moderator.": "
|
|
54
|
-
"Thread Reply": "
|
|
55
|
-
"Unblock User": "
|
|
56
|
-
"Unknown User": "",
|
|
57
|
-
"Unmute User": "
|
|
58
|
-
"Unpin from Conversation": "
|
|
59
|
-
"Unread Messages": "
|
|
60
|
-
"Video": "",
|
|
61
|
-
"You": "
|
|
55
|
+
"The message has been reported to a moderator.": "",
|
|
56
|
+
"Thread Reply": "",
|
|
57
|
+
"Unblock User": "",
|
|
58
|
+
"Unknown User": "Неизвестный пользователь",
|
|
59
|
+
"Unmute User": "",
|
|
60
|
+
"Unpin from Conversation": "",
|
|
61
|
+
"Unread Messages": "",
|
|
62
|
+
"Video": "видео",
|
|
63
|
+
"You": "",
|
|
62
64
|
"You can't send messages in this channel": "",
|
|
63
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
64
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
65
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
66
68
|
"{{ replyCount }} Thread Replies": "",
|
|
67
69
|
"{{ user }} is typing": "",
|
|
68
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
69
71
|
}
|
package/src/i18n/tr.json
CHANGED
|
@@ -1,69 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
3
|
"1 Thread Reply": "",
|
|
4
|
-
"Allow access to your Gallery": "",
|
|
4
|
+
"Allow access to your Gallery": "Galerinize erişime izin verin",
|
|
5
5
|
"Also send to channel": "",
|
|
6
|
-
"Are you sure you want to permanently delete this message?": "
|
|
7
|
-
"Block User": "
|
|
8
|
-
"Cancel": "
|
|
9
|
-
"Cannot Flag Message": "
|
|
10
|
-
"Copy Message": "
|
|
11
|
-
"Delete": "
|
|
12
|
-
"Delete Message": "
|
|
13
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "
|
|
14
|
-
"Edit Message": "
|
|
6
|
+
"Are you sure you want to permanently delete this message?": "",
|
|
7
|
+
"Block User": "",
|
|
8
|
+
"Cancel": "",
|
|
9
|
+
"Cannot Flag Message": "",
|
|
10
|
+
"Copy Message": "",
|
|
11
|
+
"Delete": "",
|
|
12
|
+
"Delete Message": "",
|
|
13
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
|
+
"Edit Message": "",
|
|
15
15
|
"Editing Message": "",
|
|
16
16
|
"Emoji matching": "Emoji eşleştirme",
|
|
17
|
-
"Empty message...": "
|
|
18
|
-
"Error loading": "
|
|
19
|
-
"Error loading channel list...": "
|
|
20
|
-
"Error loading messages for this channel...": "
|
|
21
|
-
"Error while loading, please reload/refresh": "
|
|
17
|
+
"Empty message...": "",
|
|
18
|
+
"Error loading": "",
|
|
19
|
+
"Error loading channel list...": "",
|
|
20
|
+
"Error loading messages for this channel...": "",
|
|
21
|
+
"Error while loading, please reload/refresh": "",
|
|
22
22
|
"File type not supported": "",
|
|
23
|
-
"Flag": "
|
|
24
|
-
"Flag Message": "
|
|
25
|
-
"Flag action failed either due to a network issue or the message is already flagged": "
|
|
23
|
+
"Flag": "",
|
|
24
|
+
"Flag Message": "",
|
|
25
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
26
|
"Instant Commands": "Anlık Komutlar",
|
|
27
27
|
"Links are disabled": "",
|
|
28
|
-
"Loading channels...": "
|
|
29
|
-
"Loading messages...": "
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"Message
|
|
33
|
-
"Message
|
|
34
|
-
"
|
|
28
|
+
"Loading channels...": "",
|
|
29
|
+
"Loading messages...": "",
|
|
30
|
+
"Loading...": "",
|
|
31
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
32
|
+
"Message Reactions": "Mesaj Tepkileri",
|
|
33
|
+
"Message deleted": "",
|
|
34
|
+
"Message flagged": "",
|
|
35
|
+
"Mute User": "",
|
|
35
36
|
"Not supported": "Desteklenmiyor",
|
|
36
|
-
"Nothing yet...": "
|
|
37
|
-
"Ok": "
|
|
37
|
+
"Nothing yet...": "",
|
|
38
|
+
"Ok": "",
|
|
38
39
|
"Only visible to you": "",
|
|
39
|
-
"Photo": "",
|
|
40
|
-
"Photos and Videos": "",
|
|
41
|
-
"Pin to Conversation": "
|
|
42
|
-
"Pinned by": "
|
|
43
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
40
|
+
"Photo": "Fotoğraf",
|
|
41
|
+
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
42
|
+
"Pin to Conversation": "",
|
|
43
|
+
"Pinned by": "",
|
|
44
|
+
"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.",
|
|
44
45
|
"Please select a channel first": "",
|
|
45
|
-
"Reconnecting...": "
|
|
46
|
-
"Reply": "
|
|
46
|
+
"Reconnecting...": "",
|
|
47
|
+
"Reply": "",
|
|
47
48
|
"Reply to Message": "",
|
|
48
|
-
"Resend": "
|
|
49
|
+
"Resend": "",
|
|
49
50
|
"Search GIFs": "",
|
|
51
|
+
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
50
52
|
"Send a message": "",
|
|
51
53
|
"Sending links is not allowed in this conversation": "",
|
|
52
54
|
"Slow mode ON": "",
|
|
53
|
-
"The message has been reported to a moderator.": "
|
|
54
|
-
"Thread Reply": "
|
|
55
|
-
"Unblock User": "
|
|
56
|
-
"Unknown User": "",
|
|
57
|
-
"Unmute User": "
|
|
58
|
-
"Unpin from Conversation": "
|
|
59
|
-
"Unread Messages": "
|
|
60
|
-
"Video": "",
|
|
61
|
-
"You": "
|
|
55
|
+
"The message has been reported to a moderator.": "",
|
|
56
|
+
"Thread Reply": "",
|
|
57
|
+
"Unblock User": "",
|
|
58
|
+
"Unknown User": "Bilinmeyen kullanıcı",
|
|
59
|
+
"Unmute User": "",
|
|
60
|
+
"Unpin from Conversation": "",
|
|
61
|
+
"Unread Messages": "",
|
|
62
|
+
"Video": "Video",
|
|
63
|
+
"You": "",
|
|
62
64
|
"You can't send messages in this channel": "",
|
|
63
65
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
64
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
66
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
65
67
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
66
68
|
"{{ replyCount }} Thread Replies": "",
|
|
67
69
|
"{{ user }} is typing": "",
|
|
68
|
-
"🏙 Attachment...": "
|
|
70
|
+
"🏙 Attachment...": ""
|
|
69
71
|
}
|
package/src/native.ts
CHANGED
|
@@ -33,11 +33,15 @@ export let getLocalAssetUri: GetLocalAssetUri = fail;
|
|
|
33
33
|
type OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };
|
|
34
34
|
export let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;
|
|
35
35
|
|
|
36
|
+
type iOS14RefreshGallerySelection = () => Promise<void>;
|
|
37
|
+
export let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection = fail;
|
|
38
|
+
|
|
36
39
|
type GetPhotos = ({ after, first }: { first: number; after?: string }) =>
|
|
37
40
|
| Promise<{
|
|
38
41
|
assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;
|
|
39
42
|
endCursor: string;
|
|
40
43
|
hasNextPage: boolean;
|
|
44
|
+
iOSLimited: boolean;
|
|
41
45
|
}>
|
|
42
46
|
| never;
|
|
43
47
|
export let getPhotos: GetPhotos = fail;
|
|
@@ -213,6 +217,7 @@ export type VideoType = {
|
|
|
213
217
|
export let Video: React.ComponentType<VideoType>;
|
|
214
218
|
|
|
215
219
|
type Handlers = {
|
|
220
|
+
iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;
|
|
216
221
|
compressImage?: CompressImage;
|
|
217
222
|
deleteFile?: DeleteFile;
|
|
218
223
|
FlatList?: typeof DefaultFlatList;
|
|
@@ -255,6 +260,10 @@ export const registerNativeHandlers = (handlers: Handlers) => {
|
|
|
255
260
|
getPhotos = handlers.getPhotos;
|
|
256
261
|
}
|
|
257
262
|
|
|
263
|
+
if (handlers.iOS14RefreshGallerySelection) {
|
|
264
|
+
iOS14RefreshGallerySelection = handlers.iOS14RefreshGallerySelection;
|
|
265
|
+
}
|
|
266
|
+
|
|
258
267
|
if (handlers.oniOS14GalleryLibrarySelectionChange) {
|
|
259
268
|
oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;
|
|
260
269
|
}
|
package/src/version.json
CHANGED