stream-chat-react-native-core 5.21.0 → 5.22.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -5
- package/lib/commonjs/components/Attachment/AudioAttachment.js +12 -12
- package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +10 -7
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +8 -6
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +24 -20
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- 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/Channel/Channel.js +65 -46
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js +2 -0
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +2 -2
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +16 -14
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +30 -32
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +7 -5
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +10 -8
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +10 -8
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +17 -12
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +20 -17
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +18 -17
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +25 -17
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +30 -20
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +13 -13
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +13 -11
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js +8 -14
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +11 -8
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +32 -29
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +17 -15
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +2 -2
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +66 -45
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -2
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -4
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/hooks/index.js +11 -0
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useViewport.js +47 -0
- package/lib/commonjs/hooks/useViewport.js.map +1 -0
- package/lib/commonjs/i18n/en.json +6 -1
- package/lib/commonjs/i18n/es.json +77 -0
- package/lib/commonjs/i18n/fr.json +65 -60
- package/lib/commonjs/i18n/he.json +6 -1
- package/lib/commonjs/i18n/hi.json +65 -60
- package/lib/commonjs/i18n/it.json +65 -60
- package/lib/commonjs/i18n/ja.json +6 -1
- package/lib/commonjs/i18n/ko.json +6 -1
- package/lib/commonjs/i18n/nl.json +65 -60
- package/lib/commonjs/i18n/ru.json +65 -60
- package/lib/commonjs/i18n/tr.json +65 -60
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/Streami18n.js +4 -1
- package/lib/commonjs/utils/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/compressImage.js +37 -0
- package/lib/commonjs/utils/compressImage.js.map +1 -0
- package/lib/commonjs/utils/utils.js +1 -15
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/AudioAttachment.js +12 -12
- package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +10 -7
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +8 -6
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +24 -20
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +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/Channel/Channel.js +65 -46
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js +2 -0
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +2 -2
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +16 -14
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +30 -32
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +7 -5
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +10 -8
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +18 -15
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +41 -12
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +10 -8
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +17 -12
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +20 -17
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +18 -17
- package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +25 -17
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js +30 -20
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +13 -13
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +1 -1
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineUnreadIndicator.js +13 -11
- package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionList.js +8 -14
- package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +11 -8
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageOverlay.js +32 -29
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +17 -15
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +2 -2
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +66 -45
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +2 -2
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +1 -4
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/hooks/index.js +11 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useViewport.js +47 -0
- package/lib/module/hooks/useViewport.js.map +1 -0
- package/lib/module/i18n/en.json +6 -1
- package/lib/module/i18n/es.json +77 -0
- package/lib/module/i18n/fr.json +65 -60
- package/lib/module/i18n/he.json +6 -1
- package/lib/module/i18n/hi.json +65 -60
- package/lib/module/i18n/it.json +65 -60
- package/lib/module/i18n/ja.json +6 -1
- package/lib/module/i18n/ko.json +6 -1
- package/lib/module/i18n/nl.json +65 -60
- package/lib/module/i18n/ru.json +65 -60
- package/lib/module/i18n/tr.json +65 -60
- package/lib/module/native.js.map +1 -1
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/Streami18n.js +4 -1
- package/lib/module/utils/Streami18n.js.map +1 -1
- package/lib/module/utils/compressImage.js +37 -0
- package/lib/module/utils/compressImage.js.map +1 -0
- package/lib/module/utils/utils.js +1 -15
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/AudioAttachment.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -3
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -1
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +5 -2
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +5 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +3 -23
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +2 -2
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +2 -2
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -3
- package/lib/typescript/hooks/index.d.ts +1 -0
- package/lib/typescript/hooks/useViewport.d.ts +11 -0
- package/lib/typescript/i18n/en.json +6 -1
- package/lib/typescript/i18n/es.json +77 -0
- package/lib/typescript/i18n/fr.json +65 -60
- package/lib/typescript/i18n/he.json +6 -1
- package/lib/typescript/i18n/hi.json +65 -60
- package/lib/typescript/i18n/it.json +65 -60
- package/lib/typescript/i18n/ja.json +6 -1
- package/lib/typescript/i18n/ko.json +6 -1
- package/lib/typescript/i18n/nl.json +65 -60
- package/lib/typescript/i18n/ru.json +65 -60
- package/lib/typescript/i18n/tr.json +65 -60
- package/lib/typescript/native.d.ts +2 -0
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -1
- package/lib/typescript/types/types.d.ts +27 -10
- package/lib/typescript/utils/Streami18n.d.ts +7 -1
- package/lib/typescript/utils/compressImage.d.ts +8 -0
- package/lib/typescript/utils/utils.d.ts +0 -2
- package/package.json +2 -2
- package/src/components/Attachment/AudioAttachment.tsx +2 -1
- package/src/components/Attachment/FileAttachment.tsx +12 -3
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +4 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +7 -5
- package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +13 -1
- package/src/components/Channel/Channel.tsx +32 -8
- package/src/components/Channel/hooks/useCreateChannelContext.ts +2 -0
- package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +2 -9
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +4 -3
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -3
- package/src/components/ImageGallery/ImageGallery.tsx +10 -19
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +5 -3
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +5 -3
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +6 -2
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +12 -7
- package/src/components/ImageGallery/components/ImageGrid.tsx +2 -1
- package/src/components/Indicators/EmptyStateIndicator.tsx +8 -7
- package/src/components/Message/MessageSimple/MessageContent.tsx +3 -1
- package/src/components/Message/MessageSimple/ReactionList.tsx +2 -1
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.test.ts +23 -0
- package/src/components/Message/MessageSimple/utils/generateMarkdownText.ts +12 -13
- package/src/components/Message/MessageSimple/utils/renderText.tsx +12 -2
- package/src/components/MessageInput/FileUploadPreview.tsx +17 -3
- package/src/components/MessageInput/ImageUploadPreview.tsx +1 -2
- package/src/components/MessageInput/MessageInput.tsx +1 -1
- package/src/components/MessageInput/UploadProgressIndicator.tsx +2 -2
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewExpo.test.tsx +1 -1
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewNative.test.tsx +1 -1
- package/src/components/MessageInput/__tests__/MessageInput.test.js +2 -2
- package/src/components/MessageList/InlineUnreadIndicator.tsx +2 -1
- package/src/components/MessageOverlay/MessageActionList.tsx +3 -11
- package/src/components/MessageOverlay/MessageActionListItem.tsx +5 -2
- package/src/components/MessageOverlay/MessageOverlay.tsx +5 -3
- package/src/components/Thread/components/ThreadFooterComponent.tsx +2 -1
- package/src/contexts/channelContext/ChannelContext.tsx +5 -0
- package/src/contexts/messageInputContext/MessageInputContext.tsx +81 -69
- package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +3 -3
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +2 -2
- package/src/contexts/messageInputContext/hooks/useMessageDetailsForState.ts +2 -2
- package/src/contexts/messagesContext/MessagesContext.tsx +2 -2
- package/src/contexts/themeContext/utils/theme.ts +2 -7
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useViewport.ts +41 -0
- package/src/i18n/en.json +6 -1
- package/src/i18n/es.json +77 -0
- package/src/i18n/fr.json +65 -60
- package/src/i18n/he.json +6 -1
- package/src/i18n/hi.json +65 -60
- package/src/i18n/it.json +65 -60
- package/src/i18n/ja.json +6 -1
- package/src/i18n/ko.json +6 -1
- package/src/i18n/nl.json +65 -60
- package/src/i18n/ru.json +65 -60
- package/src/i18n/tr.json +65 -60
- package/src/native.ts +5 -1
- package/src/types/types.ts +29 -10
- package/src/utils/Streami18n.ts +13 -6
- package/src/utils/compressImage.ts +32 -0
- package/src/utils/utils.ts +0 -13
- package/src/version.json +1 -1
|
@@ -1,71 +1,76 @@
|
|
|
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": "Stuur ook naar kanaal",
|
|
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
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
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": "",
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"Emoji matching": "Emoji-overeenkomsten",
|
|
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
|
-
"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": "
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"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": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
26
29
|
"Instant Commands": "Directe Opdrachten",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
34
|
-
"Message
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
|
+
"Message Reactions": "",
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
39
43
|
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
44
|
+
"Open Settings": "",
|
|
40
45
|
"Photo": "Foto",
|
|
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.": "
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
-
"Reply": "
|
|
48
|
-
"Reply to Message": "
|
|
49
|
-
"Resend": "
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"Select More Photos": "
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
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": "
|
|
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.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
|
+
"Reply to Message": "",
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "",
|
|
58
|
+
"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": "",
|
|
61
66
|
"Unread Messages": "Ongelezen Berichten",
|
|
62
67
|
"Video": "Video",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
65
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
66
|
-
"{{ index }} of {{ photoLength }}": "
|
|
67
|
-
"{{ replyCount }} Replies": "
|
|
68
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
69
74
|
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
70
|
-
"🏙 Attachment...": "
|
|
75
|
+
"🏙 Attachment...": ""
|
|
71
76
|
}
|
|
@@ -1,71 +1,76 @@
|
|
|
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
|
-
"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
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
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": "",
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"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": "
|
|
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": "
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"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": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
26
29
|
"Instant Commands": "Мгновенные Команды",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
34
|
-
"Message
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
|
+
"Message Reactions": "",
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
39
43
|
"Only visible to you": "Видно только вам",
|
|
44
|
+
"Open Settings": "",
|
|
40
45
|
"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.": "
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
-
"Reply": "
|
|
48
|
-
"Reply to Message": "
|
|
49
|
-
"Resend": "
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"Select More Photos": "
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
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": "
|
|
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.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
|
+
"Reply to Message": "",
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "",
|
|
58
|
+
"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": "",
|
|
61
66
|
"Unread Messages": "Непрочитанные Сообщения",
|
|
62
67
|
"Video": "видео",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
65
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
66
|
-
"{{ index }} of {{ photoLength }}": "
|
|
67
|
-
"{{ replyCount }} Replies": "
|
|
68
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
69
74
|
"{{ user }} is typing": "{{ user }} пишет",
|
|
70
|
-
"🏙 Attachment...": "
|
|
75
|
+
"🏙 Attachment...": ""
|
|
71
76
|
}
|
|
@@ -1,71 +1,76 @@
|
|
|
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": "Kanala da gönder",
|
|
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
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
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": "",
|
|
17
|
+
"Editing Message": "",
|
|
16
18
|
"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": "
|
|
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": "
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"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": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
26
29
|
"Instant Commands": "Anlık Komutlar",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Loading
|
|
30
|
-
"Loading...": "
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"Message
|
|
34
|
-
"Message
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
|
+
"Message Reactions": "",
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
39
43
|
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
44
|
+
"Open Settings": "",
|
|
40
45
|
"Photo": "Fotoğraf",
|
|
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.": "
|
|
45
|
-
"Please select a channel first": "
|
|
46
|
-
"Reconnecting...": "
|
|
47
|
-
"Reply": "
|
|
48
|
-
"Reply to Message": "
|
|
49
|
-
"Resend": "
|
|
50
|
-
"Search GIFs": "
|
|
51
|
-
"Select More Photos": "
|
|
52
|
-
"Send a message": "
|
|
53
|
-
"Sending links is not allowed in this conversation": "
|
|
54
|
-
"Slow mode ON": "
|
|
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": "
|
|
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.": "",
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
|
+
"Reply to Message": "",
|
|
54
|
+
"Resend": "",
|
|
55
|
+
"Search GIFs": "",
|
|
56
|
+
"Select More Photos": "",
|
|
57
|
+
"Send a message": "",
|
|
58
|
+
"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": "",
|
|
61
66
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
62
67
|
"Video": "Video",
|
|
63
|
-
"You": "
|
|
64
|
-
"You can't send messages in this channel": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
65
70
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
66
|
-
"{{ index }} of {{ photoLength }}": "
|
|
67
|
-
"{{ replyCount }} Replies": "
|
|
68
|
-
"{{ replyCount }} Thread Replies": "
|
|
71
|
+
"{{ index }} of {{ photoLength }}": "",
|
|
72
|
+
"{{ replyCount }} Replies": "",
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
69
74
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
70
|
-
"🏙 Attachment...": "
|
|
75
|
+
"🏙 Attachment...": ""
|
|
71
76
|
}
|
|
@@ -63,8 +63,10 @@ export declare let shareImage: ShareImage;
|
|
|
63
63
|
declare type Photo = (Omit<Asset, 'source'> & {
|
|
64
64
|
cancelled: false;
|
|
65
65
|
source: 'camera';
|
|
66
|
+
askToOpenSettings?: boolean;
|
|
66
67
|
}) | {
|
|
67
68
|
cancelled: true;
|
|
69
|
+
askToOpenSettings?: boolean;
|
|
68
70
|
};
|
|
69
71
|
declare type TakePhoto = (options: {
|
|
70
72
|
compressImageQuality?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChannelAPIResponse } from 'stream-chat';
|
|
2
2
|
import type { DefaultStreamChatGenerics } from '../../types/types';
|
|
3
3
|
import type { TableRow } from '../types';
|
|
4
|
-
export declare const mapStorableToChannel: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(channelRow: TableRow<'channels'>) => Omit<ChannelAPIResponse<StreamChatGenerics>, "
|
|
4
|
+
export declare const mapStorableToChannel: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(channelRow: TableRow<'channels'>) => Omit<ChannelAPIResponse<StreamChatGenerics>, "duration" | "members" | "messages" | "pinned_messages">;
|
|
@@ -1,30 +1,47 @@
|
|
|
1
1
|
import type { ExtendableGenerics, LiteralStringForUnion } from 'stream-chat';
|
|
2
|
+
import type { FileStateValue } from '../utils/utils';
|
|
2
3
|
export declare type Asset = {
|
|
3
|
-
duration: number
|
|
4
|
-
filename: string;
|
|
4
|
+
duration: number;
|
|
5
5
|
height: number;
|
|
6
|
+
name: string;
|
|
6
7
|
source: 'camera' | 'picker';
|
|
7
8
|
type: string;
|
|
8
9
|
uri: string;
|
|
9
10
|
width: number;
|
|
10
|
-
fileSize?: number;
|
|
11
11
|
id?: string;
|
|
12
|
-
size?: number
|
|
12
|
+
size?: number;
|
|
13
13
|
};
|
|
14
|
-
export declare type
|
|
14
|
+
export declare type File = {
|
|
15
15
|
name: string;
|
|
16
|
+
duration?: number;
|
|
17
|
+
id?: string;
|
|
16
18
|
mimeType?: string;
|
|
17
|
-
size?: number
|
|
19
|
+
size?: number;
|
|
18
20
|
uri?: string;
|
|
19
21
|
};
|
|
20
|
-
export declare type
|
|
21
|
-
|
|
22
|
-
id
|
|
22
|
+
export declare type FileUpload = {
|
|
23
|
+
file: File;
|
|
24
|
+
id: string;
|
|
25
|
+
state: FileStateValue;
|
|
26
|
+
duration?: number;
|
|
27
|
+
paused?: boolean;
|
|
28
|
+
progress?: number;
|
|
29
|
+
thumb_url?: string;
|
|
30
|
+
url?: string;
|
|
31
|
+
};
|
|
32
|
+
export declare type ImageUpload = {
|
|
33
|
+
file: Partial<Asset>;
|
|
34
|
+
id: string;
|
|
35
|
+
state: FileStateValue;
|
|
36
|
+
height?: number;
|
|
37
|
+
url?: string;
|
|
38
|
+
width?: number;
|
|
23
39
|
};
|
|
24
40
|
export declare type DefaultAttachmentType = UnknownType & {
|
|
25
|
-
file_size?: number
|
|
41
|
+
file_size?: number;
|
|
26
42
|
mime_type?: string;
|
|
27
43
|
originalFile?: File;
|
|
44
|
+
originalImage?: Partial<Asset>;
|
|
28
45
|
};
|
|
29
46
|
interface DefaultUserType extends UnknownType {
|
|
30
47
|
image?: string;
|
|
@@ -3,7 +3,9 @@ import { FallbackLng, TFunction } from 'i18next';
|
|
|
3
3
|
import type moment from 'moment';
|
|
4
4
|
import type { TDateTimeParser } from '../contexts/translationContext/TranslationContext';
|
|
5
5
|
import enTranslations from '../i18n/en.json';
|
|
6
|
+
import 'dayjs/locale/es';
|
|
6
7
|
import 'dayjs/locale/fr';
|
|
8
|
+
import 'dayjs/locale/he';
|
|
7
9
|
import 'dayjs/locale/hi';
|
|
8
10
|
import 'dayjs/locale/it';
|
|
9
11
|
import 'dayjs/locale/ja';
|
|
@@ -11,7 +13,6 @@ import 'dayjs/locale/ko';
|
|
|
11
13
|
import 'dayjs/locale/nl';
|
|
12
14
|
import 'dayjs/locale/ru';
|
|
13
15
|
import 'dayjs/locale/tr';
|
|
14
|
-
import 'dayjs/locale/he';
|
|
15
16
|
/**
|
|
16
17
|
* These locale imports also set these locales globally.
|
|
17
18
|
* So as a last step we import the english locale to make
|
|
@@ -115,6 +116,7 @@ export declare class Streami18n {
|
|
|
115
116
|
"1 Reply": string;
|
|
116
117
|
"1 Thread Reply": string;
|
|
117
118
|
"Allow access to your Gallery": string;
|
|
119
|
+
"Allow camera access in device settings": string;
|
|
118
120
|
"Also send to channel": string;
|
|
119
121
|
"Are you sure you want to permanently delete this message?": string;
|
|
120
122
|
"Block User": string;
|
|
@@ -123,6 +125,7 @@ export declare class Streami18n {
|
|
|
123
125
|
"Copy Message": string;
|
|
124
126
|
Delete: string;
|
|
125
127
|
"Delete Message": string;
|
|
128
|
+
"Device camera is used to take photos or videos.": string;
|
|
126
129
|
"Do you want to send a copy of this message to a moderator for further investigation?": string;
|
|
127
130
|
"Edit Message": string;
|
|
128
131
|
"Editing Message": string;
|
|
@@ -136,7 +139,9 @@ export declare class Streami18n {
|
|
|
136
139
|
Flag: string;
|
|
137
140
|
"Flag Message": string;
|
|
138
141
|
"Flag action failed either due to a network issue or the message is already flagged": string;
|
|
142
|
+
"How about sending your first message to a friend?": string;
|
|
139
143
|
"Instant Commands": string;
|
|
144
|
+
"Let's start chatting!": string;
|
|
140
145
|
"Links are disabled": string;
|
|
141
146
|
"Loading channels...": string;
|
|
142
147
|
"Loading messages...": string;
|
|
@@ -150,6 +155,7 @@ export declare class Streami18n {
|
|
|
150
155
|
"Nothing yet...": string;
|
|
151
156
|
Ok: string;
|
|
152
157
|
"Only visible to you": string;
|
|
158
|
+
"Open Settings": string;
|
|
153
159
|
Photo: string;
|
|
154
160
|
"Photos and Videos": string;
|
|
155
161
|
"Pin to Conversation": string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Asset } from '../types/types';
|
|
2
|
+
/**
|
|
3
|
+
* Function to compress and Image and return the compressed Image URI
|
|
4
|
+
* @param image
|
|
5
|
+
* @param compressImageQuality
|
|
6
|
+
* @returns string
|
|
7
|
+
*/
|
|
8
|
+
export declare const compressedImageURI: (image: Partial<Asset>, compressImageQuality?: number | undefined) => Promise<string>;
|
|
@@ -105,8 +105,6 @@ export declare const ACITriggerSettings: <StreamChatGenerics extends DefaultStre
|
|
|
105
105
|
export declare const makeImageCompatibleUrl: (url: string) => string;
|
|
106
106
|
export declare const getUrlWithoutParams: (url?: string | undefined) => string | undefined;
|
|
107
107
|
export declare const isLocalUrl: (url: string) => boolean;
|
|
108
|
-
export declare const vw: (percentageWidth: number, rounded?: boolean) => number;
|
|
109
|
-
export declare const vh: (percentageHeight: number, rounded?: boolean) => number;
|
|
110
108
|
export declare const generateRandomId: (a?: string) => string;
|
|
111
109
|
export declare const emojiRegex: RegExp;
|
|
112
110
|
export declare const urlRegex: RegExp;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.22.0-beta.10",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"path": "0.12.7",
|
|
80
80
|
"react-native-markdown-package": "1.8.2",
|
|
81
81
|
"react-native-url-polyfill": "^1.3.0",
|
|
82
|
-
"stream-chat": "~8.14.
|
|
82
|
+
"stream-chat": "~8.14.3"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"react-native-quick-sqlite": ">=5.1.0",
|
|
@@ -4,7 +4,7 @@ import { I18nManager, StyleSheet, Text, TouchableOpacity, View } from 'react-nat
|
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import duration from 'dayjs/plugin/duration';
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { useTheme } from '../../contexts';
|
|
8
8
|
import { Pause, Play } from '../../icons';
|
|
9
9
|
import {
|
|
10
10
|
PlaybackStatus,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
VideoPayloadData,
|
|
14
14
|
VideoProgressData,
|
|
15
15
|
} from '../../native';
|
|
16
|
+
import type { FileUpload } from '../../types/types';
|
|
16
17
|
import { ProgressControl } from '../ProgressControl/ProgressControl';
|
|
17
18
|
|
|
18
19
|
dayjs.extend(duration);
|