stream-chat-react-native-core 5.25.0-beta.5 → 5.25.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.
- package/lib/commonjs/components/Channel/Channel.js +20 -15
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +10 -6
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +4 -3
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +5 -2
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +7 -3
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +7 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +5 -5
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +32 -30
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/es.json +57 -57
- package/lib/commonjs/i18n/fr.json +57 -57
- package/lib/commonjs/i18n/he.json +57 -57
- package/lib/commonjs/i18n/hi.json +57 -57
- package/lib/commonjs/i18n/it.json +57 -57
- package/lib/commonjs/i18n/ja.json +57 -57
- package/lib/commonjs/i18n/ko.json +57 -57
- package/lib/commonjs/i18n/nl.json +57 -57
- package/lib/commonjs/i18n/ru.json +54 -54
- package/lib/commonjs/i18n/tr.json +54 -54
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +20 -15
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +10 -6
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js +4 -3
- package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/module/components/Message/Message.js +5 -2
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +7 -3
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +7 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +5 -5
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +32 -30
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/es.json +57 -57
- package/lib/module/i18n/fr.json +57 -57
- package/lib/module/i18n/he.json +57 -57
- package/lib/module/i18n/hi.json +57 -57
- package/lib/module/i18n/it.json +57 -57
- package/lib/module/i18n/ja.json +57 -57
- package/lib/module/i18n/ko.json +57 -57
- package/lib/module/i18n/nl.json +57 -57
- package/lib/module/i18n/ru.json +54 -54
- package/lib/module/i18n/tr.json +54 -54
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +62 -1
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +2 -2
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/es.json +57 -57
- package/lib/typescript/i18n/fr.json +57 -57
- package/lib/typescript/i18n/he.json +57 -57
- package/lib/typescript/i18n/hi.json +57 -57
- package/lib/typescript/i18n/it.json +57 -57
- package/lib/typescript/i18n/ja.json +57 -57
- package/lib/typescript/i18n/ko.json +57 -57
- package/lib/typescript/i18n/nl.json +57 -57
- package/lib/typescript/i18n/ru.json +54 -54
- package/lib/typescript/i18n/tr.json +54 -54
- package/package.json +2 -2
- package/src/components/Channel/Channel.tsx +8 -2
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +11 -1
- package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +24 -6
- package/src/components/Chat/Chat.tsx +5 -0
- package/src/components/Chat/hooks/useSyncDatabase.ts +4 -2
- package/src/components/Message/Message.tsx +6 -1
- package/src/components/Message/MessageSimple/MessageContent.tsx +5 -0
- package/src/components/Message/MessageSimple/MessageSimple.tsx +8 -2
- package/src/components/MessageInput/MessageInput.tsx +3 -7
- package/src/components/MessageList/MessageList.tsx +3 -1
- package/src/contexts/messageInputContext/MessageInputContext.tsx +1 -1
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +3 -0
- package/src/i18n/en.json +1 -1
- package/src/i18n/es.json +57 -57
- package/src/i18n/fr.json +57 -57
- package/src/i18n/he.json +57 -57
- package/src/i18n/hi.json +57 -57
- package/src/i18n/it.json +57 -57
- package/src/i18n/ja.json +57 -57
- package/src/i18n/ko.json +57 -57
- package/src/i18n/nl.json +57 -57
- package/src/i18n/ru.json +54 -54
- package/src/i18n/tr.json +54 -54
- package/src/version.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
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?": "
|
|
2
|
+
"1 Reply": "1 Ответ",
|
|
3
|
+
"1 Thread Reply": "1 тема Ответить",
|
|
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
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": "
|
|
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": "
|
|
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": "",
|
|
19
19
|
"Editing Message": "",
|
|
20
20
|
"Emoji matching": "Соответствие эмодзи",
|
|
21
21
|
"Empty message...": "",
|
|
@@ -24,56 +24,56 @@
|
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
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": "
|
|
27
|
+
"Flag": "",
|
|
28
|
+
"Flag Message": "",
|
|
29
|
+
"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?": "",
|
|
31
31
|
"Instant Commands": "Мгновенные Команды",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "
|
|
34
|
-
"Loading channels...": "",
|
|
35
|
-
"Loading messages...": "",
|
|
36
|
-
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
38
|
-
"Message Reactions": "
|
|
33
|
+
"Links are disabled": "",
|
|
34
|
+
"Loading channels...": "Загружаю каналы...",
|
|
35
|
+
"Loading messages...": "Загружаю сообщения...",
|
|
36
|
+
"Loading...": "Загружаю...",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "
|
|
41
|
-
"Mute User": "
|
|
42
|
-
"Not supported": "",
|
|
40
|
+
"Message flagged": "",
|
|
41
|
+
"Mute User": "",
|
|
42
|
+
"Not supported": "не поддерживается",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "
|
|
45
|
-
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "",
|
|
44
|
+
"Ok": "",
|
|
45
|
+
"Only visible to you": "Видно только вам",
|
|
46
|
+
"Open Settings": "Открыть настройки",
|
|
47
47
|
"Photo": "Фото",
|
|
48
|
-
"Photos and Videos": "",
|
|
49
|
-
"Pin to Conversation": "
|
|
48
|
+
"Photos and Videos": "Фото и видео",
|
|
49
|
+
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "
|
|
51
|
+
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
52
|
+
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "
|
|
54
|
+
"Reply": "",
|
|
55
55
|
"Reply to Message": "",
|
|
56
|
-
"Resend": "
|
|
57
|
-
"Search GIFs": "",
|
|
58
|
-
"Select More Photos": "",
|
|
56
|
+
"Resend": "",
|
|
57
|
+
"Search GIFs": "Поиск GIF",
|
|
58
|
+
"Select More Photos": "Выбрать больше фотографий",
|
|
59
59
|
"Send Anyway": "",
|
|
60
|
-
"Send a message": "",
|
|
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": "
|
|
66
|
-
"Unknown User": "",
|
|
67
|
-
"Unmute User": "
|
|
68
|
-
"Unpin from Conversation": "
|
|
69
|
-
"Unread Messages": "
|
|
60
|
+
"Send a message": "Отправить сообщение",
|
|
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": "",
|
|
66
|
+
"Unknown User": "Неизвестный пользователь",
|
|
67
|
+
"Unmute User": "",
|
|
68
|
+
"Unpin from Conversation": "",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "видео",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
-
"{{ replyCount }} Replies": "",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
75
|
+
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "",
|
|
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?": "
|
|
2
|
+
"1 Reply": "1 Cevap",
|
|
3
|
+
"1 Thread Reply": "1 Konu Yanıtı",
|
|
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
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": "
|
|
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": "
|
|
13
|
+
"Copy Message": "",
|
|
14
|
+
"Delete": "",
|
|
15
|
+
"Delete Message": "",
|
|
16
|
+
"Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
|
|
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": "Emoji eşleştirme",
|
|
21
21
|
"Empty message...": "",
|
|
@@ -24,56 +24,56 @@
|
|
|
24
24
|
"Error loading messages for this channel...": "",
|
|
25
25
|
"Error while loading, please reload/refresh": "",
|
|
26
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": "
|
|
27
|
+
"Flag": "",
|
|
28
|
+
"Flag Message": "",
|
|
29
|
+
"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?": "",
|
|
31
31
|
"Instant Commands": "Anlık Komutlar",
|
|
32
32
|
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "
|
|
34
|
-
"Loading channels...": "",
|
|
35
|
-
"Loading messages...": "",
|
|
36
|
-
"Loading...": "",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
38
|
-
"Message Reactions": "
|
|
33
|
+
"Links are disabled": "",
|
|
34
|
+
"Loading channels...": "Kanallar yükleniyor...",
|
|
35
|
+
"Loading messages...": "Mesajlar yükleniyor...",
|
|
36
|
+
"Loading...": "Yükleniyor...",
|
|
37
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
+
"Message Reactions": "",
|
|
39
39
|
"Message deleted": "",
|
|
40
|
-
"Message flagged": "
|
|
41
|
-
"Mute User": "
|
|
42
|
-
"Not supported": "",
|
|
40
|
+
"Message flagged": "",
|
|
41
|
+
"Mute User": "",
|
|
42
|
+
"Not supported": "Desteklenmiyor",
|
|
43
43
|
"Nothing yet...": "",
|
|
44
|
-
"Ok": "
|
|
45
|
-
"Only visible to you": "",
|
|
46
|
-
"Open Settings": "",
|
|
44
|
+
"Ok": "",
|
|
45
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
46
|
+
"Open Settings": "Ayarları aç",
|
|
47
47
|
"Photo": "Fotoğraf",
|
|
48
|
-
"Photos and Videos": "",
|
|
49
|
-
"Pin to Conversation": "
|
|
48
|
+
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
49
|
+
"Pin to Conversation": "",
|
|
50
50
|
"Pinned by": "",
|
|
51
|
-
"Please enable access to your photos and videos so you can share them.": "",
|
|
52
|
-
"Please select a channel first": "
|
|
51
|
+
"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.",
|
|
52
|
+
"Please select a channel first": "",
|
|
53
53
|
"Reconnecting...": "",
|
|
54
|
-
"Reply": "
|
|
54
|
+
"Reply": "",
|
|
55
55
|
"Reply to Message": "",
|
|
56
|
-
"Resend": "
|
|
57
|
-
"Search GIFs": "",
|
|
58
|
-
"Select More Photos": "",
|
|
56
|
+
"Resend": "",
|
|
57
|
+
"Search GIFs": "GIF Ara",
|
|
58
|
+
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
59
59
|
"Send Anyway": "",
|
|
60
|
-
"Send a message": "",
|
|
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": "
|
|
66
|
-
"Unknown User": "",
|
|
67
|
-
"Unmute User": "
|
|
68
|
-
"Unpin from Conversation": "
|
|
69
|
-
"Unread Messages": "
|
|
60
|
+
"Send a message": "Mesaj gönder",
|
|
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": "",
|
|
66
|
+
"Unknown User": "Bilinmeyen kullanıcı",
|
|
67
|
+
"Unmute User": "",
|
|
68
|
+
"Unpin from Conversation": "",
|
|
69
|
+
"Unread Messages": "",
|
|
70
70
|
"Video": "Video",
|
|
71
71
|
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
74
|
-
"{{ index }} of {{ photoLength }}": "",
|
|
75
|
-
"{{ replyCount }} Replies": "",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
72
|
+
"You can't send messages in this channel": "",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
|
+
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
75
|
+
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
78
|
"🏙 Attachment...": ""
|
|
79
79
|
}
|
|
@@ -146,7 +146,7 @@ var debounceOptions = {
|
|
|
146
146
|
trailing: true
|
|
147
147
|
};
|
|
148
148
|
var ChannelWithContext = function ChannelWithContext(props) {
|
|
149
|
-
var _client$user, _channel$
|
|
149
|
+
var _client$user, _channel$data2, _ref28, _ref29;
|
|
150
150
|
var additionalKeyboardAvoidingViewProps = props.additionalKeyboardAvoidingViewProps,
|
|
151
151
|
additionalTextInputProps = props.additionalTextInputProps,
|
|
152
152
|
additionalTouchableProps = props.additionalTouchableProps,
|
|
@@ -2084,13 +2084,17 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2084
2084
|
return _ref27.apply(this, arguments);
|
|
2085
2085
|
};
|
|
2086
2086
|
}();
|
|
2087
|
+
var disabledValue = (0, _react.useMemo)(function () {
|
|
2088
|
+
var _channel$data;
|
|
2089
|
+
return !!(channel != null && (_channel$data = channel.data) != null && _channel$data.frozen) && disableIfFrozenChannel;
|
|
2090
|
+
}, [(_channel$data2 = channel.data) == null ? void 0 : _channel$data2.frozen, disableIfFrozenChannel]);
|
|
2087
2091
|
var ownCapabilitiesContext = (0, _useCreateOwnCapabilitiesContext.useCreateOwnCapabilitiesContext)({
|
|
2088
2092
|
channel: channel,
|
|
2089
2093
|
overrideCapabilities: overrideOwnCapabilities
|
|
2090
2094
|
});
|
|
2091
2095
|
var channelContext = (0, _useCreateChannelContext.useCreateChannelContext)({
|
|
2092
2096
|
channel: channel,
|
|
2093
|
-
disabled:
|
|
2097
|
+
disabled: disabledValue,
|
|
2094
2098
|
EmptyStateIndicator: EmptyStateIndicator,
|
|
2095
2099
|
enableMessageGroupingByUser: enableMessageGroupingByUser,
|
|
2096
2100
|
enforceUniqueReaction: enforceUniqueReaction,
|
|
@@ -2136,6 +2140,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2136
2140
|
CommandsButton: CommandsButton,
|
|
2137
2141
|
compressImageQuality: compressImageQuality,
|
|
2138
2142
|
CooldownTimer: CooldownTimer,
|
|
2143
|
+
disabled: disabledValue,
|
|
2139
2144
|
doDocUploadRequest: doDocUploadRequest,
|
|
2140
2145
|
doImageUploadRequest: doImageUploadRequest,
|
|
2141
2146
|
editing: editing,
|
|
@@ -2296,7 +2301,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2296
2301
|
__self: _this,
|
|
2297
2302
|
__source: {
|
|
2298
2303
|
fileName: _jsxFileName,
|
|
2299
|
-
lineNumber:
|
|
2304
|
+
lineNumber: 2318,
|
|
2300
2305
|
columnNumber: 12
|
|
2301
2306
|
}
|
|
2302
2307
|
});
|
|
@@ -2310,7 +2315,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2310
2315
|
__self: _this,
|
|
2311
2316
|
__source: {
|
|
2312
2317
|
fileName: _jsxFileName,
|
|
2313
|
-
lineNumber:
|
|
2318
|
+
lineNumber: 2323,
|
|
2314
2319
|
columnNumber: 7
|
|
2315
2320
|
}
|
|
2316
2321
|
}, t('Please select a channel first'));
|
|
@@ -2323,7 +2328,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2323
2328
|
__self: _this,
|
|
2324
2329
|
__source: {
|
|
2325
2330
|
fileName: _jsxFileName,
|
|
2326
|
-
lineNumber:
|
|
2331
|
+
lineNumber: 2330,
|
|
2327
2332
|
columnNumber: 5
|
|
2328
2333
|
}
|
|
2329
2334
|
}), _react["default"].createElement(_ChannelContext.ChannelProvider, {
|
|
@@ -2331,7 +2336,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2331
2336
|
__self: _this,
|
|
2332
2337
|
__source: {
|
|
2333
2338
|
fileName: _jsxFileName,
|
|
2334
|
-
lineNumber:
|
|
2339
|
+
lineNumber: 2336,
|
|
2335
2340
|
columnNumber: 7
|
|
2336
2341
|
}
|
|
2337
2342
|
}, _react["default"].createElement(_OwnCapabilitiesContext.OwnCapabilitiesProvider, {
|
|
@@ -2339,7 +2344,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2339
2344
|
__self: _this,
|
|
2340
2345
|
__source: {
|
|
2341
2346
|
fileName: _jsxFileName,
|
|
2342
|
-
lineNumber:
|
|
2347
|
+
lineNumber: 2337,
|
|
2343
2348
|
columnNumber: 9
|
|
2344
2349
|
}
|
|
2345
2350
|
}, _react["default"].createElement(_TypingContext.TypingProvider, {
|
|
@@ -2347,7 +2352,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2347
2352
|
__self: _this,
|
|
2348
2353
|
__source: {
|
|
2349
2354
|
fileName: _jsxFileName,
|
|
2350
|
-
lineNumber:
|
|
2355
|
+
lineNumber: 2338,
|
|
2351
2356
|
columnNumber: 11
|
|
2352
2357
|
}
|
|
2353
2358
|
}, _react["default"].createElement(_PaginatedMessageListContext.PaginatedMessageListProvider, {
|
|
@@ -2355,7 +2360,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2355
2360
|
__self: _this,
|
|
2356
2361
|
__source: {
|
|
2357
2362
|
fileName: _jsxFileName,
|
|
2358
|
-
lineNumber:
|
|
2363
|
+
lineNumber: 2339,
|
|
2359
2364
|
columnNumber: 13
|
|
2360
2365
|
}
|
|
2361
2366
|
}, _react["default"].createElement(_MessagesContext.MessagesProvider, {
|
|
@@ -2363,7 +2368,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2363
2368
|
__self: _this,
|
|
2364
2369
|
__source: {
|
|
2365
2370
|
fileName: _jsxFileName,
|
|
2366
|
-
lineNumber:
|
|
2371
|
+
lineNumber: 2340,
|
|
2367
2372
|
columnNumber: 15
|
|
2368
2373
|
}
|
|
2369
2374
|
}, _react["default"].createElement(_ThreadContext.ThreadProvider, {
|
|
@@ -2371,7 +2376,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2371
2376
|
__self: _this,
|
|
2372
2377
|
__source: {
|
|
2373
2378
|
fileName: _jsxFileName,
|
|
2374
|
-
lineNumber:
|
|
2379
|
+
lineNumber: 2341,
|
|
2375
2380
|
columnNumber: 17
|
|
2376
2381
|
}
|
|
2377
2382
|
}, _react["default"].createElement(_SuggestionsContext.SuggestionsProvider, {
|
|
@@ -2379,7 +2384,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2379
2384
|
__self: _this,
|
|
2380
2385
|
__source: {
|
|
2381
2386
|
fileName: _jsxFileName,
|
|
2382
|
-
lineNumber:
|
|
2387
|
+
lineNumber: 2342,
|
|
2383
2388
|
columnNumber: 19
|
|
2384
2389
|
}
|
|
2385
2390
|
}, _react["default"].createElement(_MessageInputContext.MessageInputProvider, {
|
|
@@ -2387,7 +2392,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2387
2392
|
__self: _this,
|
|
2388
2393
|
__source: {
|
|
2389
2394
|
fileName: _jsxFileName,
|
|
2390
|
-
lineNumber:
|
|
2395
|
+
lineNumber: 2343,
|
|
2391
2396
|
columnNumber: 21
|
|
2392
2397
|
}
|
|
2393
2398
|
}, _react["default"].createElement(_reactNative.View, {
|
|
@@ -2397,7 +2402,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
|
|
|
2397
2402
|
__self: _this,
|
|
2398
2403
|
__source: {
|
|
2399
2404
|
fileName: _jsxFileName,
|
|
2400
|
-
lineNumber:
|
|
2405
|
+
lineNumber: 2344,
|
|
2401
2406
|
columnNumber: 23
|
|
2402
2407
|
}
|
|
2403
2408
|
}, children))))))))));
|
|
@@ -2448,7 +2453,7 @@ var Channel = function Channel(props) {
|
|
|
2448
2453
|
__self: _this,
|
|
2449
2454
|
__source: {
|
|
2450
2455
|
fileName: _jsxFileName,
|
|
2451
|
-
lineNumber:
|
|
2456
|
+
lineNumber: 2401,
|
|
2452
2457
|
columnNumber: 5
|
|
2453
2458
|
}
|
|
2454
2459
|
}));
|