stream-chat-react-native-core 5.22.0-beta.5 → 5.22.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/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +23 -16
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/i18n/en.json +3 -0
- package/lib/commonjs/i18n/es.json +4 -1
- package/lib/commonjs/i18n/fr.json +25 -22
- package/lib/commonjs/i18n/he.json +4 -1
- package/lib/commonjs/i18n/hi.json +25 -22
- package/lib/commonjs/i18n/it.json +25 -22
- package/lib/commonjs/i18n/ja.json +4 -1
- package/lib/commonjs/i18n/ko.json +4 -1
- package/lib/commonjs/i18n/nl.json +25 -22
- package/lib/commonjs/i18n/ru.json +25 -22
- package/lib/commonjs/i18n/tr.json +25 -22
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +26 -11
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +23 -16
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/i18n/en.json +3 -0
- package/lib/module/i18n/es.json +4 -1
- package/lib/module/i18n/fr.json +25 -22
- package/lib/module/i18n/he.json +4 -1
- package/lib/module/i18n/hi.json +25 -22
- package/lib/module/i18n/it.json +25 -22
- package/lib/module/i18n/ja.json +4 -1
- package/lib/module/i18n/ko.json +4 -1
- package/lib/module/i18n/nl.json +25 -22
- package/lib/module/i18n/ru.json +25 -22
- package/lib/module/i18n/tr.json +25 -22
- package/lib/module/native.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +5 -2
- package/lib/typescript/i18n/en.json +3 -0
- package/lib/typescript/i18n/es.json +4 -1
- package/lib/typescript/i18n/fr.json +25 -22
- package/lib/typescript/i18n/he.json +4 -1
- package/lib/typescript/i18n/hi.json +25 -22
- package/lib/typescript/i18n/it.json +25 -22
- package/lib/typescript/i18n/ja.json +4 -1
- package/lib/typescript/i18n/ko.json +4 -1
- package/lib/typescript/i18n/nl.json +25 -22
- package/lib/typescript/i18n/ru.json +25 -22
- package/lib/typescript/i18n/tr.json +25 -22
- package/lib/typescript/native.d.ts +2 -0
- package/lib/typescript/utils/Streami18n.d.ts +3 -5
- package/package.json +1 -1
- package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +13 -1
- package/src/components/Message/MessageSimple/utils/renderText.tsx +10 -1
- package/src/components/MessageInput/UploadProgressIndicator.tsx +2 -2
- package/src/i18n/en.json +3 -0
- package/src/i18n/es.json +4 -1
- package/src/i18n/fr.json +25 -22
- package/src/i18n/he.json +4 -1
- package/src/i18n/hi.json +25 -22
- package/src/i18n/it.json +25 -22
- package/src/i18n/ja.json +4 -1
- package/src/i18n/ko.json +4 -1
- package/src/i18n/nl.json +25 -22
- package/src/i18n/ru.json +25 -22
- package/src/i18n/tr.json +25 -22
- package/src/native.ts +5 -1
- package/src/version.json +1 -1
package/lib/module/i18n/he.json
CHANGED
|
@@ -70,5 +70,8 @@
|
|
|
70
70
|
"🏙 Attachment...": "🏙 קובץ מצורף...",
|
|
71
71
|
"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}} MB",
|
|
72
72
|
"Let's start chatting!": "בואו נתחיל לשוחח!",
|
|
73
|
-
"How about sending your first message to a friend?": "מה דעתך לשלוח את ההודעה הראשונה שלך לחבר?"
|
|
73
|
+
"How about sending your first message to a friend?": "מה דעתך לשלוח את ההודעה הראשונה שלך לחבר?",
|
|
74
|
+
"Allow camera access in device settings": "אפשר גישה למצלמה בהגדרות המכשיר",
|
|
75
|
+
"Device camera is used to take photos or videos.": "מצלמת המכשיר משמשת לצילום תמונות או סרטונים.",
|
|
76
|
+
"Open Settings": "פתח את ההגדרות"
|
|
74
77
|
}
|
package/lib/module/i18n/hi.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
5
6
|
"Also send to channel": "",
|
|
6
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
8
|
"Block User": "",
|
|
@@ -10,64 +11,66 @@
|
|
|
10
11
|
"Copy Message": "",
|
|
11
12
|
"Delete": "",
|
|
12
13
|
"Delete Message": "",
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
13
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
16
|
"Edit Message": "",
|
|
15
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "",
|
|
17
19
|
"Empty message...": "",
|
|
18
20
|
"Error loading": "",
|
|
19
21
|
"Error loading channel list...": "",
|
|
20
22
|
"Error loading messages for this channel...": "",
|
|
21
23
|
"Error while loading, please reload/refresh": "",
|
|
22
|
-
"File type not supported": "",
|
|
24
|
+
"File type not supported": "फ़ाइल प्रकार समर्थित नहीं है",
|
|
23
25
|
"Flag": "",
|
|
24
26
|
"Flag Message": "",
|
|
25
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
28
|
"How about sending your first message to a friend?": "",
|
|
27
29
|
"Instant Commands": "",
|
|
28
30
|
"Let's start chatting!": "",
|
|
29
|
-
"Links are disabled": "
|
|
30
|
-
"Loading channels...": "",
|
|
31
|
-
"Loading messages...": "",
|
|
32
|
-
"Loading...": "",
|
|
33
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Links are disabled": "",
|
|
32
|
+
"Loading channels...": "चैनल लोड हो रहे हैं...",
|
|
33
|
+
"Loading messages...": "मेसेजस लोड हो रहे हैं...",
|
|
34
|
+
"Loading...": "लोड हो रहा है...",
|
|
35
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
36
|
"Message Reactions": "",
|
|
35
37
|
"Message deleted": "",
|
|
36
38
|
"Message flagged": "",
|
|
37
39
|
"Mute User": "",
|
|
38
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "समर्थित नहीं",
|
|
39
41
|
"Nothing yet...": "",
|
|
40
42
|
"Ok": "",
|
|
41
43
|
"Only visible to you": "केवल आपको दिखाई दे रहा है",
|
|
44
|
+
"Open Settings": "",
|
|
42
45
|
"Photo": "तस्वीर",
|
|
43
|
-
"Photos and Videos": "
|
|
46
|
+
"Photos and Videos": "",
|
|
44
47
|
"Pin to Conversation": "",
|
|
45
|
-
"Pinned by": "
|
|
46
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
48
|
+
"Pinned by": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
47
50
|
"Please select a channel first": "कृपया पहले एक चैनल चुनें",
|
|
48
51
|
"Reconnecting...": "",
|
|
49
52
|
"Reply": "",
|
|
50
53
|
"Reply to Message": "",
|
|
51
54
|
"Resend": "",
|
|
52
55
|
"Search GIFs": "",
|
|
53
|
-
"Select More Photos": "
|
|
56
|
+
"Select More Photos": "",
|
|
54
57
|
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
59
|
"Slow mode ON": "",
|
|
57
60
|
"The message has been reported to a moderator.": "",
|
|
58
61
|
"Thread Reply": "",
|
|
59
62
|
"Unblock User": "",
|
|
60
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
61
64
|
"Unmute User": "",
|
|
62
65
|
"Unpin from Conversation": "",
|
|
63
66
|
"Unread Messages": "",
|
|
64
67
|
"Video": "वीडियो",
|
|
65
68
|
"You": "",
|
|
66
69
|
"You can't send messages in this channel": "आप इस चैनल में संदेश नहीं भेज सकते",
|
|
67
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
68
|
-
"{{ index }} of {{ photoLength }}": "
|
|
69
|
-
"{{ replyCount }} Replies": "
|
|
70
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
-
"{{ user }} is typing": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} टाइप कर रहा है",
|
|
72
75
|
"🏙 Attachment...": ""
|
|
73
76
|
}
|
package/lib/module/i18n/it.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
5
6
|
"Also send to channel": "",
|
|
6
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
8
|
"Block User": "",
|
|
@@ -10,64 +11,66 @@
|
|
|
10
11
|
"Copy Message": "",
|
|
11
12
|
"Delete": "",
|
|
12
13
|
"Delete Message": "",
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
13
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
16
|
"Edit Message": "",
|
|
15
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "",
|
|
17
19
|
"Empty message...": "",
|
|
18
20
|
"Error loading": "",
|
|
19
21
|
"Error loading channel list...": "",
|
|
20
22
|
"Error loading messages for this channel...": "",
|
|
21
23
|
"Error while loading, please reload/refresh": "",
|
|
22
|
-
"File type not supported": "",
|
|
24
|
+
"File type not supported": "Tipo di file non supportato",
|
|
23
25
|
"Flag": "",
|
|
24
26
|
"Flag Message": "",
|
|
25
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
28
|
"How about sending your first message to a friend?": "",
|
|
27
29
|
"Instant Commands": "",
|
|
28
30
|
"Let's start chatting!": "",
|
|
29
|
-
"Links are disabled": "
|
|
30
|
-
"Loading channels...": "",
|
|
31
|
-
"Loading messages...": "",
|
|
32
|
-
"Loading...": "",
|
|
33
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Links are disabled": "",
|
|
32
|
+
"Loading channels...": "Caricamento canali in corso...",
|
|
33
|
+
"Loading messages...": "Caricamento messaggi...",
|
|
34
|
+
"Loading...": "Caricamento...",
|
|
35
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
36
|
"Message Reactions": "",
|
|
35
37
|
"Message deleted": "",
|
|
36
38
|
"Message flagged": "",
|
|
37
39
|
"Mute User": "",
|
|
38
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "non supportato",
|
|
39
41
|
"Nothing yet...": "",
|
|
40
42
|
"Ok": "",
|
|
41
43
|
"Only visible to you": "Visibile solo a te",
|
|
44
|
+
"Open Settings": "",
|
|
42
45
|
"Photo": "Foto",
|
|
43
|
-
"Photos and Videos": "
|
|
46
|
+
"Photos and Videos": "",
|
|
44
47
|
"Pin to Conversation": "",
|
|
45
|
-
"Pinned by": "
|
|
46
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
48
|
+
"Pinned by": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
47
50
|
"Please select a channel first": "Seleziona un canale",
|
|
48
51
|
"Reconnecting...": "",
|
|
49
52
|
"Reply": "",
|
|
50
53
|
"Reply to Message": "",
|
|
51
54
|
"Resend": "",
|
|
52
55
|
"Search GIFs": "",
|
|
53
|
-
"Select More Photos": "
|
|
56
|
+
"Select More Photos": "",
|
|
54
57
|
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
59
|
"Slow mode ON": "",
|
|
57
60
|
"The message has been reported to a moderator.": "",
|
|
58
61
|
"Thread Reply": "",
|
|
59
62
|
"Unblock User": "",
|
|
60
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
61
64
|
"Unmute User": "",
|
|
62
65
|
"Unpin from Conversation": "",
|
|
63
66
|
"Unread Messages": "",
|
|
64
67
|
"Video": "Video",
|
|
65
68
|
"You": "",
|
|
66
69
|
"You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
|
|
67
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
68
|
-
"{{ index }} of {{ photoLength }}": "
|
|
69
|
-
"{{ replyCount }} Replies": "
|
|
70
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
-
"{{ user }} is typing": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} sta scrivendo",
|
|
72
75
|
"🏙 Attachment...": ""
|
|
73
76
|
}
|
package/lib/module/i18n/ja.json
CHANGED
|
@@ -73,5 +73,8 @@
|
|
|
73
73
|
"File type not supported": "サポートされていないファイルです",
|
|
74
74
|
"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}} MB 以下のファイルをアップロードしてください",
|
|
75
75
|
"Let's start chatting!": "チャットを始めましょう!",
|
|
76
|
-
"How about sending your first message to a friend?": "初めてのメッセージを友達に送ってみてはいかがでしょうか?"
|
|
76
|
+
"How about sending your first message to a friend?": "初めてのメッセージを友達に送ってみてはいかがでしょうか?",
|
|
77
|
+
"Allow camera access in device settings": "デバイス設定でカメラへのアクセスを許可する",
|
|
78
|
+
"Device camera is used to take photos or videos.": "デバイスのカメラは写真やビデオの撮影に使用されます。",
|
|
79
|
+
"Open Settings": "設定を開く"
|
|
77
80
|
}
|
package/lib/module/i18n/ko.json
CHANGED
|
@@ -72,5 +72,8 @@
|
|
|
72
72
|
"Not supported": "지원하지 않습니다",
|
|
73
73
|
"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}}MB 미만의 파일을 업로드하세요.",
|
|
74
74
|
"Let's start chatting!": "채팅을 시작합시다!",
|
|
75
|
-
"How about sending your first message to a friend?": "친구에게 첫 번째 메시지를 보내는 것은 어떻습니까?"
|
|
75
|
+
"How about sending your first message to a friend?": "친구에게 첫 번째 메시지를 보내는 것은 어떻습니까?",
|
|
76
|
+
"Allow camera access in device settings": "기기 설정에서 카메라 액세스를 허용하세요.",
|
|
77
|
+
"Device camera is used to take photos or videos.": "기기 카메라는 사진이나 동영상을 촬영하는 데 사용됩니다.",
|
|
78
|
+
"Open Settings": "설정 열기"
|
|
76
79
|
}
|
package/lib/module/i18n/nl.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
5
6
|
"Also send to channel": "",
|
|
6
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
8
|
"Block User": "",
|
|
@@ -10,64 +11,66 @@
|
|
|
10
11
|
"Copy Message": "",
|
|
11
12
|
"Delete": "",
|
|
12
13
|
"Delete Message": "",
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
13
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
16
|
"Edit Message": "",
|
|
15
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "",
|
|
17
19
|
"Empty message...": "",
|
|
18
20
|
"Error loading": "",
|
|
19
21
|
"Error loading channel list...": "",
|
|
20
22
|
"Error loading messages for this channel...": "",
|
|
21
23
|
"Error while loading, please reload/refresh": "",
|
|
22
|
-
"File type not supported": "",
|
|
24
|
+
"File type not supported": "Bestandstype niet ondersteund",
|
|
23
25
|
"Flag": "",
|
|
24
26
|
"Flag Message": "",
|
|
25
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
28
|
"How about sending your first message to a friend?": "",
|
|
27
29
|
"Instant Commands": "",
|
|
28
30
|
"Let's start chatting!": "",
|
|
29
|
-
"Links are disabled": "
|
|
30
|
-
"Loading channels...": "",
|
|
31
|
-
"Loading messages...": "",
|
|
32
|
-
"Loading...": "",
|
|
33
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Links are disabled": "",
|
|
32
|
+
"Loading channels...": "Kanalen aan het laden...",
|
|
33
|
+
"Loading messages...": "Berichten aan het laden...",
|
|
34
|
+
"Loading...": "Aan het laden...",
|
|
35
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
36
|
"Message Reactions": "",
|
|
35
37
|
"Message deleted": "",
|
|
36
38
|
"Message flagged": "",
|
|
37
39
|
"Mute User": "",
|
|
38
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "niet ondersteund",
|
|
39
41
|
"Nothing yet...": "",
|
|
40
42
|
"Ok": "",
|
|
41
43
|
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
44
|
+
"Open Settings": "",
|
|
42
45
|
"Photo": "Foto",
|
|
43
|
-
"Photos and Videos": "
|
|
46
|
+
"Photos and Videos": "",
|
|
44
47
|
"Pin to Conversation": "",
|
|
45
|
-
"Pinned by": "
|
|
46
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
48
|
+
"Pinned by": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
47
50
|
"Please select a channel first": "Selecteer eerst een kanaal",
|
|
48
51
|
"Reconnecting...": "",
|
|
49
52
|
"Reply": "",
|
|
50
53
|
"Reply to Message": "",
|
|
51
54
|
"Resend": "",
|
|
52
55
|
"Search GIFs": "",
|
|
53
|
-
"Select More Photos": "
|
|
56
|
+
"Select More Photos": "",
|
|
54
57
|
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
59
|
"Slow mode ON": "",
|
|
57
60
|
"The message has been reported to a moderator.": "",
|
|
58
61
|
"Thread Reply": "",
|
|
59
62
|
"Unblock User": "",
|
|
60
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
61
64
|
"Unmute User": "",
|
|
62
65
|
"Unpin from Conversation": "",
|
|
63
66
|
"Unread Messages": "",
|
|
64
67
|
"Video": "Video",
|
|
65
68
|
"You": "",
|
|
66
69
|
"You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
|
|
67
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
68
|
-
"{{ index }} of {{ photoLength }}": "
|
|
69
|
-
"{{ replyCount }} Replies": "
|
|
70
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
-
"{{ user }} is typing": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
72
75
|
"🏙 Attachment...": ""
|
|
73
76
|
}
|
package/lib/module/i18n/ru.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
5
6
|
"Also send to channel": "",
|
|
6
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
8
|
"Block User": "",
|
|
@@ -10,64 +11,66 @@
|
|
|
10
11
|
"Copy Message": "",
|
|
11
12
|
"Delete": "",
|
|
12
13
|
"Delete Message": "",
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
13
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
16
|
"Edit Message": "",
|
|
15
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "",
|
|
17
19
|
"Empty message...": "",
|
|
18
20
|
"Error loading": "",
|
|
19
21
|
"Error loading channel list...": "",
|
|
20
22
|
"Error loading messages for this channel...": "",
|
|
21
23
|
"Error while loading, please reload/refresh": "",
|
|
22
|
-
"File type not supported": "",
|
|
24
|
+
"File type not supported": "Тип файла не поддерживается",
|
|
23
25
|
"Flag": "",
|
|
24
26
|
"Flag Message": "",
|
|
25
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
28
|
"How about sending your first message to a friend?": "",
|
|
27
29
|
"Instant Commands": "",
|
|
28
30
|
"Let's start chatting!": "",
|
|
29
|
-
"Links are disabled": "
|
|
30
|
-
"Loading channels...": "",
|
|
31
|
-
"Loading messages...": "",
|
|
32
|
-
"Loading...": "",
|
|
33
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Links are disabled": "",
|
|
32
|
+
"Loading channels...": "Загружаю каналы...",
|
|
33
|
+
"Loading messages...": "Загружаю сообщения...",
|
|
34
|
+
"Loading...": "Загружаю...",
|
|
35
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
36
|
"Message Reactions": "",
|
|
35
37
|
"Message deleted": "",
|
|
36
38
|
"Message flagged": "",
|
|
37
39
|
"Mute User": "",
|
|
38
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "не поддерживается",
|
|
39
41
|
"Nothing yet...": "",
|
|
40
42
|
"Ok": "",
|
|
41
43
|
"Only visible to you": "Видно только вам",
|
|
44
|
+
"Open Settings": "",
|
|
42
45
|
"Photo": "Фото",
|
|
43
|
-
"Photos and Videos": "
|
|
46
|
+
"Photos and Videos": "",
|
|
44
47
|
"Pin to Conversation": "",
|
|
45
|
-
"Pinned by": "
|
|
46
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
48
|
+
"Pinned by": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
47
50
|
"Please select a channel first": "Пожалуйста, сначала выберите канал",
|
|
48
51
|
"Reconnecting...": "",
|
|
49
52
|
"Reply": "",
|
|
50
53
|
"Reply to Message": "",
|
|
51
54
|
"Resend": "",
|
|
52
55
|
"Search GIFs": "",
|
|
53
|
-
"Select More Photos": "
|
|
56
|
+
"Select More Photos": "",
|
|
54
57
|
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
59
|
"Slow mode ON": "",
|
|
57
60
|
"The message has been reported to a moderator.": "",
|
|
58
61
|
"Thread Reply": "",
|
|
59
62
|
"Unblock User": "",
|
|
60
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
61
64
|
"Unmute User": "",
|
|
62
65
|
"Unpin from Conversation": "",
|
|
63
66
|
"Unread Messages": "",
|
|
64
67
|
"Video": "видео",
|
|
65
68
|
"You": "",
|
|
66
69
|
"You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
|
|
67
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
68
|
-
"{{ index }} of {{ photoLength }}": "
|
|
69
|
-
"{{ replyCount }} Replies": "
|
|
70
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
-
"{{ user }} is typing": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
72
75
|
"🏙 Attachment...": ""
|
|
73
76
|
}
|
package/lib/module/i18n/tr.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"1 Reply": "
|
|
3
|
-
"1 Thread Reply": "
|
|
4
|
-
"Allow access to your Gallery": "
|
|
2
|
+
"1 Reply": "",
|
|
3
|
+
"1 Thread Reply": "",
|
|
4
|
+
"Allow access to your Gallery": "",
|
|
5
|
+
"Allow camera access in device settings": "",
|
|
5
6
|
"Also send to channel": "",
|
|
6
7
|
"Are you sure you want to permanently delete this message?": "",
|
|
7
8
|
"Block User": "",
|
|
@@ -10,64 +11,66 @@
|
|
|
10
11
|
"Copy Message": "",
|
|
11
12
|
"Delete": "",
|
|
12
13
|
"Delete Message": "",
|
|
14
|
+
"Device camera is used to take photos or videos.": "",
|
|
13
15
|
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
14
16
|
"Edit Message": "",
|
|
15
|
-
"Editing Message": "
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "",
|
|
17
19
|
"Empty message...": "",
|
|
18
20
|
"Error loading": "",
|
|
19
21
|
"Error loading channel list...": "",
|
|
20
22
|
"Error loading messages for this channel...": "",
|
|
21
23
|
"Error while loading, please reload/refresh": "",
|
|
22
|
-
"File type not supported": "",
|
|
24
|
+
"File type not supported": "Dosya türü desteklenmiyor",
|
|
23
25
|
"Flag": "",
|
|
24
26
|
"Flag Message": "",
|
|
25
27
|
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
26
28
|
"How about sending your first message to a friend?": "",
|
|
27
29
|
"Instant Commands": "",
|
|
28
30
|
"Let's start chatting!": "",
|
|
29
|
-
"Links are disabled": "
|
|
30
|
-
"Loading channels...": "",
|
|
31
|
-
"Loading messages...": "",
|
|
32
|
-
"Loading...": "",
|
|
33
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "
|
|
31
|
+
"Links are disabled": "",
|
|
32
|
+
"Loading channels...": "Kanallar yükleniyor...",
|
|
33
|
+
"Loading messages...": "Mesajlar yükleniyor...",
|
|
34
|
+
"Loading...": "Yükleniyor...",
|
|
35
|
+
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
34
36
|
"Message Reactions": "",
|
|
35
37
|
"Message deleted": "",
|
|
36
38
|
"Message flagged": "",
|
|
37
39
|
"Mute User": "",
|
|
38
|
-
"Not supported": "",
|
|
40
|
+
"Not supported": "Desteklenmiyor",
|
|
39
41
|
"Nothing yet...": "",
|
|
40
42
|
"Ok": "",
|
|
41
43
|
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
44
|
+
"Open Settings": "",
|
|
42
45
|
"Photo": "Fotoğraf",
|
|
43
|
-
"Photos and Videos": "
|
|
46
|
+
"Photos and Videos": "",
|
|
44
47
|
"Pin to Conversation": "",
|
|
45
|
-
"Pinned by": "
|
|
46
|
-
"Please enable access to your photos and videos so you can share them.": "
|
|
48
|
+
"Pinned by": "",
|
|
49
|
+
"Please enable access to your photos and videos so you can share them.": "",
|
|
47
50
|
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
48
51
|
"Reconnecting...": "",
|
|
49
52
|
"Reply": "",
|
|
50
53
|
"Reply to Message": "",
|
|
51
54
|
"Resend": "",
|
|
52
55
|
"Search GIFs": "",
|
|
53
|
-
"Select More Photos": "
|
|
56
|
+
"Select More Photos": "",
|
|
54
57
|
"Send a message": "",
|
|
55
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
56
59
|
"Slow mode ON": "",
|
|
57
60
|
"The message has been reported to a moderator.": "",
|
|
58
61
|
"Thread Reply": "",
|
|
59
62
|
"Unblock User": "",
|
|
60
|
-
"Unknown User": "
|
|
63
|
+
"Unknown User": "",
|
|
61
64
|
"Unmute User": "",
|
|
62
65
|
"Unpin from Conversation": "",
|
|
63
66
|
"Unread Messages": "",
|
|
64
67
|
"Video": "Video",
|
|
65
68
|
"You": "",
|
|
66
69
|
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
67
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
68
|
-
"{{ index }} of {{ photoLength }}": "
|
|
69
|
-
"{{ replyCount }} Replies": "
|
|
70
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
-
"{{ user }} is typing": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
72
75
|
"🏙 Attachment...": ""
|
|
73
76
|
}
|
package/lib/module/native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","fail","Error","compressImage","exports","deleteFile","getLocalAssetUri","oniOS14GalleryLibrarySelectionChange","iOS14RefreshGallerySelection","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","setClipboardString","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","undefined","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"sources":["native.ts"],"sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => Promise<string | undefined> | never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };\nexport let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;\n\ntype iOS14RefreshGallerySelection = () => Promise<void>;\nexport let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n iOSLimited: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n assets?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype SetClipboardString = (text: string) => Promise<void> | never;\nexport let setClipboardString: SetClipboardString = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n })\n | { cancelled: true };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => Promise<SoundReturnType | null>;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime: number;\n seekableDuration: number;\n playableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n repeat?: boolean;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n oniOS14GalleryLibrarySelectionChange?: OniOS14LibrarySelectionChange;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n setClipboardString?: SetClipboardString;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.iOS14RefreshGallerySelection) {\n iOS14RefreshGallerySelection = handlers.iOS14RefreshGallerySelection;\n }\n\n if (handlers.oniOS14GalleryLibrarySelectionChange) {\n oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;\n }\n\n if (handlers.pickDocument !== undefined) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage !== undefined) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n\n if (handlers.setClipboardString !== undefined) {\n setClipboardString = handlers.setClipboardString;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!Sound.Player || !!Sound.initializeSound;\n"],"mappings":";;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;EACjB,MAAMC,KAAK,CACT,mGACF,CAAC;AACH,CAAC;AAaM,IAAIC,aAA4B,GAAGF,IAAI;AAACG,OAAA,CAAAD,aAAA,GAAAA,aAAA;AAGxC,IAAIE,UAAsB,GAAGJ,IAAI;AAACG,OAAA,CAAAC,UAAA,GAAAA,UAAA;AAGlC,IAAIC,gBAAkC,GAAGL,IAAI;AAACG,OAAA,CAAAE,gBAAA,GAAAA,gBAAA;AAG9C,IAAIC,oCAAmE,GAAGN,IAAI;AAACG,OAAA,CAAAG,oCAAA,GAAAA,oCAAA;AAG/E,IAAIC,4BAA0D,GAA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ClC;EAEA,IAAIO,QAAQ,CAACH,KAAK,EAAE;IAClBlB,OAAA,CAAAkB,KAAA,GAAAA,KAAK,GAAGG,QAAQ,CAACH,KAAK;EACxB;EAEA,IAAIG,QAAQ,CAACN,SAAS,EAAE;IACtBf,OAAA,CAAAe,SAAA,GAAAA,SAAS,GAAGM,QAAQ,CAACN,SAAS;EAChC;EAEA,IAAIM,QAAQ,CAACL,aAAa,EAAE;IAC1BhB,OAAA,CAAAgB,aAAA,GAAAA,aAAa,GAAGK,QAAQ,CAACL,aAAa;EACxC;EAEA,IAAIK,QAAQ,CAACF,KAAK,EAAE;IAClBnB,OAAA,CAAAmB,KAAA,GAAAA,KAAK,GAAGE,QAAQ,CAACF,KAAK;EACxB;EAEA,IAAIE,QAAQ,CAACR,kBAAkB,KAAKS,SAAS,EAAE;IAC7CtB,OAAA,CAAAa,kBAAA,GAAAA,kBAAkB,GAAGQ,QAAQ,CAACR,kBAAkB;EAClD;AACF,CAAC;AAACb,OAAA,CAAAoB,sBAAA,GAAAA,sBAAA;AAEK,IAAMG,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACJ,KAAK;AAAA;AAACnB,OAAA,CAAAuB,uBAAA,GAAAA,uBAAA;AAC9C,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACN,KAAK,CAACO,MAAM,IAAI,CAAC,CAACP,KAAK,CAACQ,eAAe;AAAA;AAAC1B,OAAA,CAAAwB,uBAAA,GAAAA,uBAAA"}
|
|
1
|
+
{"version":3,"names":["_reactNative","require","fail","Error","compressImage","exports","deleteFile","getLocalAssetUri","oniOS14GalleryLibrarySelectionChange","iOS14RefreshGallerySelection","getPhotos","FlatList","DefaultFlatList","NetInfo","addEventListener","fetch","pickDocument","saveFile","setClipboardString","shareImage","takePhoto","triggerHaptic","SDK","Sound","Video","registerNativeHandlers","handlers","undefined","isVideoPackageAvailable","isAudioPackageAvailable","Player","initializeSound"],"sources":["native.ts"],"sourcesContent":["import type React from 'react';\nimport { FlatList as DefaultFlatList, StyleProp, ViewStyle } from 'react-native';\n\nimport type { NetInfoSubscription } from '@react-native-community/netinfo';\n\nimport type { Asset, File } from './types/types';\n\nconst fail = () => {\n throw Error(\n 'Native handler was not registered, you should import stream-chat-expo or stream-chat-react-native',\n );\n};\n\ntype CompressImage = ({\n compressImageQuality,\n height,\n uri,\n width,\n}: {\n compressImageQuality: number;\n height: number;\n uri: string;\n width: number;\n}) => Promise<string> | never;\nexport let compressImage: CompressImage = fail;\n\ntype DeleteFile = ({ uri }: { uri: string }) => Promise<boolean> | never;\nexport let deleteFile: DeleteFile = fail;\n\ntype GetLocalAssetUri = (uriOrAssetId: string) => Promise<string | undefined> | never;\nexport let getLocalAssetUri: GetLocalAssetUri = fail;\n\ntype OniOS14LibrarySelectionChange = (callback: () => void) => { unsubscribe: () => void };\nexport let oniOS14GalleryLibrarySelectionChange: OniOS14LibrarySelectionChange = fail;\n\ntype iOS14RefreshGallerySelection = () => Promise<void>;\nexport let iOS14RefreshGallerySelection: iOS14RefreshGallerySelection = fail;\n\ntype GetPhotos = ({ after, first }: { first: number; after?: string }) =>\n | Promise<{\n assets: Array<Omit<Asset, 'source'> & { source: 'picker' }>;\n endCursor: string;\n hasNextPage: boolean;\n iOSLimited: boolean;\n }>\n | never;\nexport let getPhotos: GetPhotos = fail;\n\ntype NetInfo = {\n addEventListener: (listener: (isConnected: boolean) => void) => NetInfoSubscription | never;\n fetch: (requestedInterface?: string | undefined) => Promise<boolean> | never;\n};\n\nexport let FlatList = DefaultFlatList;\n\nexport let NetInfo: NetInfo = {\n addEventListener: fail,\n fetch: fail,\n};\n\ntype PickDocument = ({ maxNumberOfFiles }: { maxNumberOfFiles?: number }) =>\n | Promise<{\n cancelled: boolean;\n assets?: File[];\n }>\n | never;\nexport let pickDocument: PickDocument = fail;\n\ntype SaveFileOptions = {\n fileName: string;\n fromUrl: string;\n};\ntype SaveFile = (options: SaveFileOptions) => Promise<string> | never;\nexport let saveFile: SaveFile = fail;\n\ntype SetClipboardString = (text: string) => Promise<void> | never;\nexport let setClipboardString: SetClipboardString = fail;\n\ntype ShareOptions = {\n type?: string;\n url?: string;\n};\ntype ShareImage = (options: ShareOptions) => Promise<boolean> | never;\nexport let shareImage: ShareImage = fail;\n\ntype Photo =\n | (Omit<Asset, 'source'> & {\n cancelled: false;\n source: 'camera';\n askToOpenSettings?: boolean;\n })\n | {\n cancelled: true;\n askToOpenSettings?: boolean;\n };\ntype TakePhoto = (options: { compressImageQuality?: number }) => Promise<Photo> | never;\nexport let takePhoto: TakePhoto = fail;\n\ntype HapticFeedbackMethod =\n | 'impactHeavy'\n | 'impactLight'\n | 'impactMedium'\n | 'notificationError'\n | 'notificationSuccess'\n | 'notificationWarning'\n | 'selection';\ntype TriggerHaptic = (method: HapticFeedbackMethod) => void | never;\nexport let triggerHaptic: TriggerHaptic = fail;\n\nexport type PlaybackStatus = {\n didJustFinish: boolean;\n durationMillis: number;\n error: string;\n isBuffering: boolean;\n isLoaded: boolean;\n isLooping: boolean;\n isPlaying: boolean;\n positionMillis: number;\n};\n\nexport type AVPlaybackStatusToSet = {\n isLooping: boolean;\n isMuted: boolean;\n positionMillis: number;\n progressUpdateIntervalMillis: number;\n rate: number;\n shouldCorrectPitch: boolean;\n shouldPlay: boolean;\n volume: number;\n};\n\nexport let SDK: string;\n\nexport type SoundOptions = {\n basePathOrCallback?: string;\n callback?: () => void;\n filenameOrFile?: string;\n initialStatus?: Partial<AVPlaybackStatusToSet>;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n source?: { uri: string };\n};\n\nexport type SoundReturnType = {\n paused: boolean;\n testID: string;\n getDuration?: () => number;\n isPlaying?: () => boolean;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n pauseAsync?: () => void;\n play?: () => void;\n playAsync?: () => void;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (millis: number) => void;\n soundRef?: React.RefObject<SoundReturnType>;\n stopAsync?: () => void;\n style?: StyleProp<ViewStyle>;\n unloadAsync?: () => void;\n uri?: string;\n};\n\nexport type SoundType = {\n initializeSound: (\n source?: { uri: string },\n initialStatus?: Partial<AVPlaybackStatusToSet>,\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void,\n ) => Promise<SoundReturnType | null>;\n Player: React.ComponentType<SoundReturnType> | null;\n};\n\nexport let Sound: SoundType;\n\nexport type VideoProgressData = {\n currentTime: number;\n seekableDuration: number;\n playableDuration?: number;\n};\n\nexport type VideoPayloadData = {\n duration: number;\n audioTracks?: { index: number; language: string; title: string; type: string }[];\n currentPosition?: number;\n naturalSize?: { height: number; orientation: 'portrait' | 'landscape'; width: number };\n textTracks?: { index: number; language: string; title: string; type: string }[];\n videoTracks?: {\n bitrate: number;\n codecs: string;\n height: number;\n trackId: number;\n width: number;\n }[];\n};\n\nexport type VideoType = {\n paused: boolean;\n testID: string;\n uri: string;\n videoRef: React.RefObject<VideoType>;\n onBuffer?: (props: { isBuffering: boolean }) => void;\n onEnd?: () => void;\n onLoad?: (payload: VideoPayloadData) => void;\n onLoadStart?: () => void;\n onPlaybackStatusUpdate?: (playbackStatus: PlaybackStatus) => void;\n onProgress?: (data: VideoProgressData) => void;\n onReadyForDisplay?: () => void;\n repeat?: boolean;\n replayAsync?: () => void;\n resizeMode?: string;\n seek?: (progress: number) => void;\n setPositionAsync?: (position: number) => void;\n style?: StyleProp<ViewStyle>;\n};\n\nexport let Video: React.ComponentType<VideoType>;\n\ntype Handlers = {\n iOS14RefreshGallerySelection: iOS14RefreshGallerySelection;\n compressImage?: CompressImage;\n deleteFile?: DeleteFile;\n FlatList?: typeof DefaultFlatList;\n getLocalAssetUri?: GetLocalAssetUri;\n getPhotos?: GetPhotos;\n NetInfo?: NetInfo;\n oniOS14GalleryLibrarySelectionChange?: OniOS14LibrarySelectionChange;\n pickDocument?: PickDocument;\n saveFile?: SaveFile;\n SDK?: string;\n setClipboardString?: SetClipboardString;\n shareImage?: ShareImage;\n Sound?: SoundType;\n takePhoto?: TakePhoto;\n triggerHaptic?: TriggerHaptic;\n Video?: React.ComponentType<VideoType>;\n};\n\nexport const registerNativeHandlers = (handlers: Handlers) => {\n if (handlers.compressImage) {\n compressImage = handlers.compressImage;\n }\n\n if (handlers.deleteFile) {\n deleteFile = handlers.deleteFile;\n }\n\n if (handlers.FlatList) {\n FlatList = handlers.FlatList;\n }\n if (handlers.NetInfo) {\n NetInfo = handlers.NetInfo;\n }\n\n if (handlers.getLocalAssetUri) {\n getLocalAssetUri = handlers.getLocalAssetUri;\n }\n\n if (handlers.getPhotos) {\n getPhotos = handlers.getPhotos;\n }\n\n if (handlers.iOS14RefreshGallerySelection) {\n iOS14RefreshGallerySelection = handlers.iOS14RefreshGallerySelection;\n }\n\n if (handlers.oniOS14GalleryLibrarySelectionChange) {\n oniOS14GalleryLibrarySelectionChange = handlers.oniOS14GalleryLibrarySelectionChange;\n }\n\n if (handlers.pickDocument !== undefined) {\n pickDocument = handlers.pickDocument;\n }\n\n if (handlers.saveFile) {\n saveFile = handlers.saveFile;\n }\n\n if (handlers.SDK) {\n SDK = handlers.SDK;\n }\n\n if (handlers.shareImage !== undefined) {\n shareImage = handlers.shareImage;\n }\n\n if (handlers.Sound) {\n Sound = handlers.Sound;\n }\n\n if (handlers.takePhoto) {\n takePhoto = handlers.takePhoto;\n }\n\n if (handlers.triggerHaptic) {\n triggerHaptic = handlers.triggerHaptic;\n }\n\n if (handlers.Video) {\n Video = handlers.Video;\n }\n\n if (handlers.setClipboardString !== undefined) {\n setClipboardString = handlers.setClipboardString;\n }\n};\n\nexport const isVideoPackageAvailable = () => !!Video;\nexport const isAudioPackageAvailable = () => !!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B,OAAA,CAAAuB,uBAAA,GAAAA,uBAAA;AAC9C,IAAMC,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA;EAAA,OAAS,CAAC,CAACN,KAAK,CAACO,MAAM,IAAI,CAAC,CAACP,KAAK,CAACQ,eAAe;AAAA;AAAC1B,OAAA,CAAAwB,uBAAA,GAAAA,uBAAA"}
|
package/lib/module/version.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { GestureResponderEvent, StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
export declare type UploadProgressIndicatorProps = {
|
|
4
4
|
/** Action triggered when clicked indicator */
|
|
@@ -8,4 +8,7 @@ export declare type UploadProgressIndicatorProps = {
|
|
|
8
8
|
/** Type of active indicator */
|
|
9
9
|
type?: 'in_progress' | 'retry' | 'not_supported' | 'inactive' | null;
|
|
10
10
|
};
|
|
11
|
-
export declare const UploadProgressIndicator:
|
|
11
|
+
export declare const UploadProgressIndicator: {
|
|
12
|
+
(props: PropsWithChildren<UploadProgressIndicatorProps>): JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|