stream-chat-react-native-core 5.38.1 → 5.39.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Channel/Channel.js +58 -25
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js +33 -21
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +7 -0
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +14 -0
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js +4 -0
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js +13 -7
- package/lib/commonjs/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js +52 -0
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -0
- package/lib/commonjs/components/MessageList/MessageList.js +14 -6
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +12 -5
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +41 -18
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadList.js +132 -0
- package/lib/commonjs/components/ThreadList/ThreadList.js.map +1 -0
- package/lib/commonjs/components/ThreadList/ThreadListItem.js +246 -0
- package/lib/commonjs/components/ThreadList/ThreadListItem.js.map +1 -0
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js +66 -0
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -11
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +19 -0
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js +28 -0
- package/lib/commonjs/contexts/threadsContext/ThreadListItemContext.js.map +1 -0
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js +33 -0
- package/lib/commonjs/contexts/threadsContext/ThreadsContext.js.map +1 -0
- package/lib/commonjs/hooks/index.js +11 -0
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useStateStore.js +23 -0
- package/lib/commonjs/hooks/useStateStore.js.map +1 -0
- package/lib/commonjs/i18n/en.json +7 -0
- package/lib/commonjs/i18n/es.json +7 -0
- package/lib/commonjs/i18n/fr.json +7 -0
- package/lib/commonjs/i18n/he.json +7 -0
- package/lib/commonjs/i18n/hi.json +7 -0
- package/lib/commonjs/i18n/it.json +7 -0
- package/lib/commonjs/i18n/ja.json +7 -0
- package/lib/commonjs/i18n/ko.json +7 -0
- package/lib/commonjs/i18n/nl.json +7 -0
- package/lib/commonjs/i18n/pt-br.json +7 -0
- package/lib/commonjs/i18n/ru.json +7 -0
- package/lib/commonjs/i18n/tr.json +7 -0
- package/lib/commonjs/icons/MessageBubble.js +19 -0
- package/lib/commonjs/icons/MessageBubble.js.map +1 -0
- package/lib/commonjs/icons/MessageBubbleEmpty.js +19 -0
- package/lib/commonjs/icons/MessageBubbleEmpty.js.map +1 -0
- package/lib/commonjs/icons/Reload.js +19 -0
- package/lib/commonjs/icons/Reload.js.map +1 -0
- package/lib/commonjs/icons/index.js +33 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +58 -25
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js +33 -21
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +7 -0
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +14 -0
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js +4 -0
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/Message/hooks/useProcessReactions.js +13 -7
- package/lib/module/components/Message/hooks/useProcessReactions.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js +52 -0
- package/lib/module/components/MessageList/InlineLoadingMoreRecentThreadIndicator.js.map +1 -0
- package/lib/module/components/MessageList/MessageList.js +14 -6
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +12 -5
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +41 -18
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadList.js +132 -0
- package/lib/module/components/ThreadList/ThreadList.js.map +1 -0
- package/lib/module/components/ThreadList/ThreadListItem.js +246 -0
- package/lib/module/components/ThreadList/ThreadListItem.js.map +1 -0
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js +66 -0
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js.map +1 -0
- package/lib/module/components/index.js +11 -11
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +19 -0
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/threadsContext/ThreadListItemContext.js +28 -0
- package/lib/module/contexts/threadsContext/ThreadListItemContext.js.map +1 -0
- package/lib/module/contexts/threadsContext/ThreadsContext.js +33 -0
- package/lib/module/contexts/threadsContext/ThreadsContext.js.map +1 -0
- package/lib/module/hooks/index.js +11 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useStateStore.js +23 -0
- package/lib/module/hooks/useStateStore.js.map +1 -0
- package/lib/module/i18n/en.json +7 -0
- package/lib/module/i18n/es.json +7 -0
- package/lib/module/i18n/fr.json +7 -0
- package/lib/module/i18n/he.json +7 -0
- package/lib/module/i18n/hi.json +7 -0
- package/lib/module/i18n/it.json +7 -0
- package/lib/module/i18n/ja.json +7 -0
- package/lib/module/i18n/ko.json +7 -0
- package/lib/module/i18n/nl.json +7 -0
- package/lib/module/i18n/pt-br.json +7 -0
- package/lib/module/i18n/ru.json +7 -0
- package/lib/module/i18n/tr.json +7 -0
- package/lib/module/icons/MessageBubble.js +19 -0
- package/lib/module/icons/MessageBubble.js.map +1 -0
- package/lib/module/icons/MessageBubbleEmpty.js +19 -0
- package/lib/module/icons/MessageBubbleEmpty.js.map +1 -0
- package/lib/module/icons/Reload.js +19 -0
- package/lib/module/icons/Reload.js.map +1 -0
- package/lib/module/icons/index.js +33 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +3 -2
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +34 -1
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -1
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -1
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +1 -1
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +1 -1
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useProcessReactions.d.ts.map +1 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts +8 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentThreadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/MessageList.d.ts +1 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts +1 -1
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -1
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +1 -0
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -1
- package/lib/typescript/components/ThreadList/ThreadList.d.ts +11 -0
- package/lib/typescript/components/ThreadList/ThreadList.d.ts.map +1 -0
- package/lib/typescript/components/ThreadList/ThreadListItem.d.ts +16 -0
- package/lib/typescript/components/ThreadList/ThreadListItem.d.ts.map +1 -0
- package/lib/typescript/components/ThreadList/ThreadListUnreadBanner.d.ts +3 -0
- package/lib/typescript/components/ThreadList/ThreadListUnreadBanner.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -1
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +1 -1
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +19 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +11 -2
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -1
- package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts +19 -0
- package/lib/typescript/contexts/threadsContext/ThreadListItemContext.d.ts.map +1 -0
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts +25 -0
- package/lib/typescript/contexts/threadsContext/ThreadsContext.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +1 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -1
- package/lib/typescript/hooks/useStateStore.d.ts +4 -0
- package/lib/typescript/hooks/useStateStore.d.ts.map +1 -0
- package/lib/typescript/i18n/en.json +7 -0
- package/lib/typescript/i18n/es.json +7 -0
- package/lib/typescript/i18n/fr.json +7 -0
- package/lib/typescript/i18n/he.json +7 -0
- package/lib/typescript/i18n/hi.json +7 -0
- package/lib/typescript/i18n/it.json +7 -0
- package/lib/typescript/i18n/ja.json +7 -0
- package/lib/typescript/i18n/ko.json +7 -0
- package/lib/typescript/i18n/nl.json +7 -0
- package/lib/typescript/i18n/pt-br.json +7 -0
- package/lib/typescript/i18n/ru.json +7 -0
- package/lib/typescript/i18n/tr.json +7 -0
- package/lib/typescript/icons/MessageBubble.d.ts +4 -0
- package/lib/typescript/icons/MessageBubble.d.ts.map +1 -0
- package/lib/typescript/icons/MessageBubbleEmpty.d.ts +4 -0
- package/lib/typescript/icons/MessageBubbleEmpty.d.ts.map +1 -0
- package/lib/typescript/icons/Reload.d.ts +4 -0
- package/lib/typescript/icons/Reload.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +3 -0
- package/lib/typescript/icons/index.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -1
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +7 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/Channel/Channel.tsx +54 -20
- package/src/components/Channel/hooks/useCreateThreadContext.ts +36 -31
- package/src/components/Chat/Chat.tsx +10 -0
- package/src/components/Indicators/EmptyStateIndicator.tsx +9 -2
- package/src/components/Indicators/LoadingIndicator.tsx +3 -1
- package/src/components/Message/hooks/useProcessReactions.ts +25 -4
- package/src/components/MessageList/InlineLoadingMoreRecentThreadIndicator.tsx +64 -0
- package/src/components/MessageList/MessageList.tsx +23 -9
- package/src/components/Thread/Thread.tsx +18 -9
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +6 -0
- package/src/components/Thread/components/ThreadFooterComponent.tsx +28 -2
- package/src/components/ThreadList/ThreadList.tsx +118 -0
- package/src/components/ThreadList/ThreadListItem.tsx +268 -0
- package/src/components/ThreadList/ThreadListUnreadBanner.tsx +52 -0
- package/src/components/index.ts +1 -1
- package/src/contexts/themeContext/utils/theme.ts +36 -0
- package/src/contexts/threadContext/ThreadContext.tsx +9 -2
- package/src/contexts/threadsContext/ThreadListItemContext.tsx +41 -0
- package/src/contexts/threadsContext/ThreadsContext.tsx +62 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useStateStore.ts +31 -0
- package/src/i18n/en.json +7 -0
- package/src/i18n/es.json +7 -0
- package/src/i18n/fr.json +7 -0
- package/src/i18n/he.json +7 -0
- package/src/i18n/hi.json +7 -0
- package/src/i18n/it.json +7 -0
- package/src/i18n/ja.json +7 -0
- package/src/i18n/ko.json +7 -0
- package/src/i18n/nl.json +7 -0
- package/src/i18n/pt-br.json +7 -0
- package/src/i18n/ru.json +7 -0
- package/src/i18n/tr.json +7 -0
- package/src/icons/MessageBubble.tsx +12 -0
- package/src/icons/MessageBubbleEmpty.tsx +12 -0
- package/src/icons/Reload.tsx +12 -0
- package/src/icons/index.ts +3 -0
- package/src/store/mappers/mapDateTimeToStorable.ts +1 -1
- package/src/version.json +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +0 -52
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +0 -1
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +0 -52
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +0 -1
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +0 -8
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts.map +0 -1
- package/src/components/MessageList/InlineLoadingMoreThreadIndicator.tsx +0 -64
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "リンク機能が無効になっています",
|
|
39
39
|
"Loading channels...": "チャネルを読み込み中。。。",
|
|
40
40
|
"Loading messages...": "メッセージを読み込み中。。。",
|
|
41
|
+
"Loading threads...": "スレッドを読み込み中...",
|
|
41
42
|
"Loading...": "読み込み中。。。",
|
|
42
43
|
"Message Reactions": "メッセージのリアクション",
|
|
43
44
|
"Message deleted": "メッセージが削除されました",
|
|
44
45
|
"Message flagged": "メッセージにフラグが付けられました",
|
|
45
46
|
"Mute User": "ユーザーをミュートする",
|
|
46
47
|
"No chats here yet…": "まだチャットはありません…",
|
|
48
|
+
"No threads here yet": "まだスレッドがありません",
|
|
47
49
|
"Not supported": "サポートしていません",
|
|
48
50
|
"Nothing yet...": "まだ何もありません...",
|
|
49
51
|
"Ok": "確認",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "この会話ではリンク機能を使用できません。",
|
|
68
70
|
"Slow mode ON": "スローモードオン",
|
|
69
71
|
"The message has been reported to a moderator.": "メッセージはモデレーターに報告されました。",
|
|
72
|
+
"The source message was deleted": "元のメッセージが削除されました",
|
|
73
|
+
"This reply was deleted": "この返信は削除されました",
|
|
70
74
|
"Thread Reply": "スレッドの返信",
|
|
71
75
|
"Unban User": "ユーザーの禁止を解除する",
|
|
72
76
|
"Unblock User": "ユーザーのブロックを解除する",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "会話のピンを外す",
|
|
76
80
|
"Unread Messages": "未読メッセージ",
|
|
77
81
|
"Video": "ビデオ",
|
|
82
|
+
"Voice message": "ボイスメッセージ",
|
|
78
83
|
"You": "あなた",
|
|
79
84
|
"You can't send messages in this channel": "このチャンネルではメッセージを送信できません",
|
|
85
|
+
"replied to": "に返信しました",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[昨日]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[明日]\",\"nextWeek\":\"dddd [の] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[昨日]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[明日]\",\"nextWeek\":\"dddd [の] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }}と{{ nonSelfUserLength }}人がタイピングしています",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }}件の返信",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "링크 기능이 비활성화되었습니다",
|
|
39
39
|
"Loading channels...": "채널을 로딩 중...",
|
|
40
40
|
"Loading messages...": "메시지를 로딩 중...",
|
|
41
|
+
"Loading threads...": "스레드 로딩 중...",
|
|
41
42
|
"Loading...": "로딩 중...",
|
|
42
43
|
"Message Reactions": "메시지의 리액션",
|
|
43
44
|
"Message deleted": "메시지가 삭제되었습니다.",
|
|
44
45
|
"Message flagged": "메시지에 플래그가 지정되었습니다",
|
|
45
46
|
"Mute User": "사용자를 음소거",
|
|
46
47
|
"No chats here yet…": "아직 여기에 채팅이 없어요…",
|
|
48
|
+
"No threads here yet": "아직 스레드가 없습니다",
|
|
47
49
|
"Not supported": "지원하지 않습니다",
|
|
48
50
|
"Nothing yet...": "아직 아무것도...",
|
|
49
51
|
"Ok": "확인",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "이 대화에서는 링크 기능을 사용할 수 없습니다",
|
|
68
70
|
"Slow mode ON": "슬로모드 켜짐",
|
|
69
71
|
"The message has been reported to a moderator.": "메시지는 운영자에보고되었습니다.",
|
|
72
|
+
"The source message was deleted": "원본 메시지가 삭제되었습니다",
|
|
73
|
+
"This reply was deleted": "이 답글은 삭제되었습니다",
|
|
70
74
|
"Thread Reply": "스레드\u3000답장",
|
|
71
75
|
"Unban User": "사용자 차단 해제",
|
|
72
76
|
"Unblock User": "사용자 차단 해제",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "대화의 핀을 분리합니다",
|
|
76
80
|
"Unread Messages": "읽지 않은 메시지",
|
|
77
81
|
"Video": "동영상",
|
|
82
|
+
"Voice message": "음성 메시지",
|
|
78
83
|
"You": "당신",
|
|
79
84
|
"You can't send messages in this channel": "이 채널에서는 메세지를 전송할 수 없습니다",
|
|
85
|
+
"replied to": "에 답장했습니다",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[어제]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[내일]\",\"nextWeek\":\"dddd [LT에]\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[어제]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[내일]\",\"nextWeek\":\"dddd [LT에]\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} 외 {{ nonSelfUserLength }}명이 입력 중입니다",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }} 답글",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "Het versturen van links staat uit",
|
|
39
39
|
"Loading channels...": "Kanalen aan het laden...",
|
|
40
40
|
"Loading messages...": "Berichten aan het laden...",
|
|
41
|
+
"Loading threads...": "Threads laden...",
|
|
41
42
|
"Loading...": "Aan het laden...",
|
|
42
43
|
"Message Reactions": "Bericht Reacties",
|
|
43
44
|
"Message deleted": "Bericht verwijderd",
|
|
44
45
|
"Message flagged": "Bericht gemarkeerd",
|
|
45
46
|
"Mute User": "Gebruiker dempen",
|
|
46
47
|
"No chats here yet…": "Nog geen chats hier…",
|
|
48
|
+
"No threads here yet": "Hier zijn nog geen threads",
|
|
47
49
|
"Not supported": "niet ondersteund",
|
|
48
50
|
"Nothing yet...": "Nog niets...",
|
|
49
51
|
"Ok": "Oké",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
|
|
68
70
|
"Slow mode ON": "Langzame modus aan",
|
|
69
71
|
"The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
|
|
72
|
+
"The source message was deleted": "Het oorspronkelijke bericht is verwijderd",
|
|
73
|
+
"This reply was deleted": "Deze reactie is verwijderd",
|
|
70
74
|
"Thread Reply": "Discussie beantwoorden",
|
|
71
75
|
"Unban User": "Gebruiker Deblokeren",
|
|
72
76
|
"Unblock User": "Deblokkeer gebruiker",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "Losmaken van gesprek",
|
|
76
80
|
"Unread Messages": "Ongelezen Berichten",
|
|
77
81
|
"Video": "Video",
|
|
82
|
+
"Voice message": "Spraakbericht",
|
|
78
83
|
"You": "U",
|
|
79
84
|
"You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
|
|
85
|
+
"replied to": "reageerde op",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Gisteren]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Morgen]\",\"nextWeek\":\"dddd [om] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Gisteren]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Morgen]\",\"nextWeek\":\"dddd [om] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "Links estão desabilitados",
|
|
39
39
|
"Loading channels...": "Carregando canais...",
|
|
40
40
|
"Loading messages...": "Carregando mensagens...",
|
|
41
|
+
"Loading threads...": "Carregando tópicos...",
|
|
41
42
|
"Loading...": "Carregando...",
|
|
42
43
|
"Message Reactions": "Reações à Mensagem",
|
|
43
44
|
"Message deleted": "Mensagem excluída",
|
|
44
45
|
"Message flagged": "Mensagem sinalizada",
|
|
45
46
|
"Mute User": "Silenciar Usuário",
|
|
46
47
|
"No chats here yet…": "Ainda não há chats aqui...",
|
|
48
|
+
"No threads here yet": "Ainda não há tópicos aqui",
|
|
47
49
|
"Not supported": "Não suportado",
|
|
48
50
|
"Nothing yet...": "Nada ainda...",
|
|
49
51
|
"Ok": "Ok",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "Não é permitido enviar links nesta conversa",
|
|
68
70
|
"Slow mode ON": "Modo Lento ATIVADO",
|
|
69
71
|
"The message has been reported to a moderator.": "A mensagem foi relatada a um moderador.",
|
|
72
|
+
"The source message was deleted": "A mensagem original foi excluída",
|
|
73
|
+
"This reply was deleted": "Esta resposta foi excluída",
|
|
70
74
|
"Thread Reply": "Respostas de Tópico",
|
|
71
75
|
"Unban User": "Desbanir Usuário",
|
|
72
76
|
"Unblock User": "Desbloquear Usuário",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "Desmarcar como fixado na conversa",
|
|
76
80
|
"Unread Messages": "Mensagens não lidas",
|
|
77
81
|
"Video": "Vídeo",
|
|
82
|
+
"Voice message": "Mensagem de voz",
|
|
78
83
|
"You": "Você",
|
|
79
84
|
"You can't send messages in this channel": "Você não pode enviar mensagens neste canal",
|
|
85
|
+
"replied to": "respondeu a",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Ontem]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Amanhã]\",\"nextWeek\":\"dddd [às] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Ontem]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Amanhã]\",\"nextWeek\":\"dddd [às] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e mais {{ nonSelfUserLength }} pessoa(s) estão digitando",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} de {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }} Respostas",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "Ссылки отключены",
|
|
39
39
|
"Loading channels...": "Загружаю каналы...",
|
|
40
40
|
"Loading messages...": "Загружаю сообщения...",
|
|
41
|
+
"Loading threads...": "Загрузка потоков...",
|
|
41
42
|
"Loading...": "Загружаю...",
|
|
42
43
|
"Message Reactions": "Сообщения Реакции",
|
|
43
44
|
"Message deleted": "Сообщение удалено",
|
|
44
45
|
"Message flagged": "Сообщение отмечено",
|
|
45
46
|
"Mute User": "Отключить пользователя",
|
|
46
47
|
"No chats here yet…": "Здесь пока нет чатов…",
|
|
48
|
+
"No threads here yet": "Здесь пока нет потоков",
|
|
47
49
|
"Not supported": "не поддерживается",
|
|
48
50
|
"Nothing yet...": "Пока ничего нет...",
|
|
49
51
|
"Ok": "Oк",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
|
|
68
70
|
"Slow mode ON": "Медленный режим включен",
|
|
69
71
|
"The message has been reported to a moderator.": "Сообщение отправлено модератору.",
|
|
72
|
+
"The source message was deleted": "Исходное сообщение было удалено",
|
|
73
|
+
"This reply was deleted": "Этот ответ был удалён",
|
|
70
74
|
"Thread Reply": "Тема Ответить",
|
|
71
75
|
"Unban User": "Разблокировать Пользователя",
|
|
72
76
|
"Unblock User": "Разблокировать пользователя",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "Открепить от беседы",
|
|
76
80
|
"Unread Messages": "Непрочитанные Сообщения",
|
|
77
81
|
"Video": "видео",
|
|
82
|
+
"Voice message": "Голосовое сообщение",
|
|
78
83
|
"You": "Вы",
|
|
79
84
|
"You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
|
|
85
|
+
"replied to": "ответил на",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Вчера]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Завтра]\",\"nextWeek\":\"dddd [в] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Вчера]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Завтра]\",\"nextWeek\":\"dddd [в] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
@@ -38,12 +38,14 @@
|
|
|
38
38
|
"Links are disabled": "Bağlantılar devre dışı",
|
|
39
39
|
"Loading channels...": "Kanallar yükleniyor...",
|
|
40
40
|
"Loading messages...": "Mesajlar yükleniyor...",
|
|
41
|
+
"Loading threads...": "Akışlar yükleniyor...",
|
|
41
42
|
"Loading...": "Yükleniyor...",
|
|
42
43
|
"Message Reactions": "Mesaj Tepkileri",
|
|
43
44
|
"Message deleted": "Mesaj silindi",
|
|
44
45
|
"Message flagged": "Mesaj işaretlendi",
|
|
45
46
|
"Mute User": "Kullanıcıyı sessize al",
|
|
46
47
|
"No chats here yet…": "Henüz burada sohbet yok…",
|
|
48
|
+
"No threads here yet": "Burada henüz akış yok",
|
|
47
49
|
"Not supported": "Desteklenmiyor",
|
|
48
50
|
"Nothing yet...": "Henüz değil...",
|
|
49
51
|
"Ok": "Tamam",
|
|
@@ -67,6 +69,8 @@
|
|
|
67
69
|
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
68
70
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
69
71
|
"The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
|
|
72
|
+
"The source message was deleted": "Kaynak mesaj silindi",
|
|
73
|
+
"This reply was deleted": "Bu yanıt silindi",
|
|
70
74
|
"Thread Reply": "Konu Yanıtı",
|
|
71
75
|
"Unban User": "Kullanıcının Yasağını Kaldır",
|
|
72
76
|
"Unblock User": "Kullanıcının engelini kaldır",
|
|
@@ -75,8 +79,10 @@
|
|
|
75
79
|
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
76
80
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
77
81
|
"Video": "Video",
|
|
82
|
+
"Voice message": "Sesli mesaj",
|
|
78
83
|
"You": "Sen",
|
|
79
84
|
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
85
|
+
"replied to": "yanıtladı",
|
|
80
86
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Dün]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Yarın]\",\"nextWeek\":\"dddd [saat] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
81
87
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
82
88
|
"timestamp/InlineDateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -84,6 +90,7 @@
|
|
|
84
90
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
85
91
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
86
92
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
93
|
+
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Dün]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Yarın]\",\"nextWeek\":\"dddd [saat] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
87
94
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
88
95
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
89
96
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../src/icons/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAqB,MAAM,cAAc,CAAC;AAE5D,eAAO,MAAM,aAAa,UAAW,SAAS,sBAO7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubbleEmpty.d.ts","sourceRoot":"","sources":["../../../src/icons/MessageBubbleEmpty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAqB,MAAM,cAAc,CAAC;AAE5D,eAAO,MAAM,kBAAkB,UAAW,SAAS,sBAOlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reload.d.ts","sourceRoot":"","sources":["../../../src/icons/Reload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAqB,MAAM,cAAc,CAAC;AAE5D,eAAO,MAAM,MAAM,UAAW,SAAS,sBAOtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAA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AC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const mapDateTimeToStorable: (datetime?: string | Date) => string;
|
|
1
|
+
export declare const mapDateTimeToStorable: (datetime?: string | Date | null) => string;
|
|
2
2
|
//# sourceMappingURL=mapDateTimeToStorable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapDateTimeToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapDateTimeToStorable.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,cAAe,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"mapDateTimeToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapDateTimeToStorable.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,cAAe,MAAM,GAAG,IAAI,GAAG,IAAI,WAIpE,CAAC"}
|
|
@@ -163,12 +163,14 @@ export declare class Streami18n {
|
|
|
163
163
|
"Links are disabled": string;
|
|
164
164
|
"Loading channels...": string;
|
|
165
165
|
"Loading messages...": string;
|
|
166
|
+
"Loading threads...": string;
|
|
166
167
|
"Loading...": string;
|
|
167
168
|
"Message Reactions": string;
|
|
168
169
|
"Message deleted": string;
|
|
169
170
|
"Message flagged": string;
|
|
170
171
|
"Mute User": string;
|
|
171
172
|
"No chats here yet\u2026": string;
|
|
173
|
+
"No threads here yet": string;
|
|
172
174
|
"Not supported": string;
|
|
173
175
|
"Nothing yet...": string;
|
|
174
176
|
Ok: string;
|
|
@@ -192,6 +194,8 @@ export declare class Streami18n {
|
|
|
192
194
|
"Sending links is not allowed in this conversation": string;
|
|
193
195
|
"Slow mode ON": string;
|
|
194
196
|
"The message has been reported to a moderator.": string;
|
|
197
|
+
"The source message was deleted": string;
|
|
198
|
+
"This reply was deleted": string;
|
|
195
199
|
"Thread Reply": string;
|
|
196
200
|
"Unban User": string;
|
|
197
201
|
"Unblock User": string;
|
|
@@ -200,8 +204,10 @@ export declare class Streami18n {
|
|
|
200
204
|
"Unpin from Conversation": string;
|
|
201
205
|
"Unread Messages": string;
|
|
202
206
|
Video: string;
|
|
207
|
+
"Voice message": string;
|
|
203
208
|
You: string;
|
|
204
209
|
"You can't send messages in this channel": string;
|
|
210
|
+
"replied to": string;
|
|
205
211
|
"timestamp/ChannelPreviewStatus": string;
|
|
206
212
|
"timestamp/ImageGalleryHeader": string;
|
|
207
213
|
"timestamp/InlineDateSeparator": string;
|
|
@@ -209,6 +215,7 @@ export declare class Streami18n {
|
|
|
209
215
|
"timestamp/MessageSystem": string;
|
|
210
216
|
"timestamp/MessageTimestamp": string;
|
|
211
217
|
"timestamp/StickyHeader": string;
|
|
218
|
+
"timestamp/ThreadListItem": string;
|
|
212
219
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": string;
|
|
213
220
|
"{{ index }} of {{ photoLength }}": string;
|
|
214
221
|
"{{ replyCount }} Replies": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAEzB;;;;GAIG;AACH,OAAO,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAoGnE,KAAK,oBAAoB,GAAG,OAAO,K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,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAmBpB;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,CAAC,OAAO,cAAc,CAAC,GAAG,yBAAyB,EACvE,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAoBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
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.39.0-beta.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"path": "0.12.7",
|
|
79
79
|
"react-native-markdown-package": "1.8.2",
|
|
80
80
|
"react-native-url-polyfill": "^1.3.0",
|
|
81
|
-
"stream-chat": "8.
|
|
81
|
+
"stream-chat": "8.40.8"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"react-native-quick-sqlite": ">=5.1.0",
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
StreamChat,
|
|
19
19
|
Event as StreamEvent,
|
|
20
20
|
Message as StreamMessage,
|
|
21
|
+
Thread,
|
|
21
22
|
} from 'stream-chat';
|
|
22
23
|
|
|
23
24
|
import { useCreateChannelContext } from './hooks/useCreateChannelContext';
|
|
@@ -60,7 +61,11 @@ import {
|
|
|
60
61
|
SuggestionsProvider,
|
|
61
62
|
} from '../../contexts/suggestionsContext/SuggestionsContext';
|
|
62
63
|
import { useTheme } from '../../contexts/themeContext/ThemeContext';
|
|
63
|
-
import {
|
|
64
|
+
import {
|
|
65
|
+
ThreadContextValue,
|
|
66
|
+
ThreadProvider,
|
|
67
|
+
ThreadType,
|
|
68
|
+
} from '../../contexts/threadContext/ThreadContext';
|
|
64
69
|
import {
|
|
65
70
|
TranslationContextValue,
|
|
66
71
|
useTranslationContext,
|
|
@@ -326,10 +331,9 @@ export type ChannelPropsWithContext<
|
|
|
326
331
|
| 'VideoThumbnail'
|
|
327
332
|
>
|
|
328
333
|
> &
|
|
329
|
-
Partial<
|
|
330
|
-
Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel' | 'thread'>
|
|
331
|
-
> & {
|
|
334
|
+
Partial<Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel'>> & {
|
|
332
335
|
shouldSyncChannel: boolean;
|
|
336
|
+
thread: ThreadType<StreamChatGenerics>;
|
|
333
337
|
/**
|
|
334
338
|
* Additional props passed to keyboard avoiding view
|
|
335
339
|
*/
|
|
@@ -585,7 +589,7 @@ const ChannelWithContext = <
|
|
|
585
589
|
StickyHeader = StickyHeaderDefault,
|
|
586
590
|
supportedReactions = reactionData,
|
|
587
591
|
t,
|
|
588
|
-
thread:
|
|
592
|
+
thread: threadFromProps,
|
|
589
593
|
threadList,
|
|
590
594
|
threadMessages,
|
|
591
595
|
typing,
|
|
@@ -598,6 +602,8 @@ const ChannelWithContext = <
|
|
|
598
602
|
watchers,
|
|
599
603
|
} = props;
|
|
600
604
|
|
|
605
|
+
const { thread: threadProps, threadInstance } = threadFromProps;
|
|
606
|
+
|
|
601
607
|
const {
|
|
602
608
|
theme: {
|
|
603
609
|
channel: { selectChannel },
|
|
@@ -616,9 +622,7 @@ const ChannelWithContext = <
|
|
|
616
622
|
const [quotedMessage, setQuotedMessage] = useState<boolean | MessageType<StreamChatGenerics>>(
|
|
617
623
|
false,
|
|
618
624
|
);
|
|
619
|
-
const [thread, setThread] = useState<
|
|
620
|
-
threadProps || null,
|
|
621
|
-
);
|
|
625
|
+
const [thread, setThread] = useState<MessageType<StreamChatGenerics> | null>(threadProps || null);
|
|
622
626
|
const [threadHasMore, setThreadHasMore] = useState(true);
|
|
623
627
|
const [threadLoadingMore, setThreadLoadingMore] = useState(false);
|
|
624
628
|
|
|
@@ -830,7 +834,7 @@ const ChannelWithContext = <
|
|
|
830
834
|
setThreadMessages(updatedThreadMessages);
|
|
831
835
|
}
|
|
832
836
|
|
|
833
|
-
if (channel && thread?.id && event.message?.id === thread.id) {
|
|
837
|
+
if (channel && thread?.id && event.message?.id === thread.id && !threadInstance) {
|
|
834
838
|
const updatedThread = channel.state.formatMessage(event.message);
|
|
835
839
|
setThread(updatedThread);
|
|
836
840
|
}
|
|
@@ -1219,7 +1223,7 @@ const ChannelWithContext = <
|
|
|
1219
1223
|
loadMoreThreadFinished(updatedHasMore, updatedThreadMessages);
|
|
1220
1224
|
const { messages } = await channel.getMessagesById([parentID]);
|
|
1221
1225
|
const [threadMessage] = messages;
|
|
1222
|
-
if (threadMessage) {
|
|
1226
|
+
if (threadMessage && !threadInstance) {
|
|
1223
1227
|
const formattedMessage = channel.state.formatMessage(threadMessage);
|
|
1224
1228
|
setThread(formattedMessage);
|
|
1225
1229
|
}
|
|
@@ -1711,11 +1715,15 @@ const ChannelWithContext = <
|
|
|
1711
1715
|
} else {
|
|
1712
1716
|
updateMessage(messageResponse.message);
|
|
1713
1717
|
}
|
|
1718
|
+
|
|
1719
|
+
threadInstance?.upsertReplyLocally?.({ message: messageResponse.message });
|
|
1714
1720
|
}
|
|
1715
1721
|
} catch (err) {
|
|
1716
1722
|
console.log(err);
|
|
1717
1723
|
message.status = MessageStatusTypes.FAILED;
|
|
1718
|
-
|
|
1724
|
+
const updatedMessage = { ...message, cid: channel.cid };
|
|
1725
|
+
updateMessage(updatedMessage);
|
|
1726
|
+
threadInstance?.upsertReplyLocally?.({ message: updatedMessage });
|
|
1719
1727
|
|
|
1720
1728
|
if (enableOfflineSupport) {
|
|
1721
1729
|
dbApi.updateMessage({
|
|
@@ -1743,6 +1751,7 @@ const ChannelWithContext = <
|
|
|
1743
1751
|
commands: [],
|
|
1744
1752
|
messageInput: '',
|
|
1745
1753
|
});
|
|
1754
|
+
threadInstance?.upsertReplyLocally?.({ message: messagePreview });
|
|
1746
1755
|
|
|
1747
1756
|
if (enableOfflineSupport) {
|
|
1748
1757
|
// While sending a message, we add the message to local db with failed status, so that
|
|
@@ -2004,7 +2013,7 @@ const ChannelWithContext = <
|
|
|
2004
2013
|
|
|
2005
2014
|
setMessages(channel.state.messages);
|
|
2006
2015
|
|
|
2007
|
-
await DBSyncManager.queueTask<StreamChatGenerics>({
|
|
2016
|
+
const sendReactionResponse = await DBSyncManager.queueTask<StreamChatGenerics>({
|
|
2008
2017
|
client,
|
|
2009
2018
|
task: {
|
|
2010
2019
|
channelId: channel.id,
|
|
@@ -2014,6 +2023,9 @@ const ChannelWithContext = <
|
|
|
2014
2023
|
type: 'send-reaction',
|
|
2015
2024
|
},
|
|
2016
2025
|
});
|
|
2026
|
+
if (sendReactionResponse?.message) {
|
|
2027
|
+
threadInstance?.upsertReplyLocally?.({ message: sendReactionResponse.message });
|
|
2028
|
+
}
|
|
2017
2029
|
};
|
|
2018
2030
|
|
|
2019
2031
|
const deleteMessage: MessagesContextValue<StreamChatGenerics>['deleteMessage'] = async (
|
|
@@ -2036,12 +2048,15 @@ const ChannelWithContext = <
|
|
|
2036
2048
|
DBSyncManager.dropPendingTasks({ messageId: message.id });
|
|
2037
2049
|
removeMessage(message);
|
|
2038
2050
|
} else {
|
|
2039
|
-
|
|
2051
|
+
const updatedMessage = {
|
|
2040
2052
|
...message,
|
|
2041
2053
|
cid: channel.cid,
|
|
2042
2054
|
deleted_at: new Date().toISOString(),
|
|
2043
2055
|
type: 'deleted',
|
|
2044
|
-
}
|
|
2056
|
+
};
|
|
2057
|
+
updateMessage(updatedMessage);
|
|
2058
|
+
|
|
2059
|
+
threadInstance?.upsertReplyLocally({ message: updatedMessage });
|
|
2045
2060
|
|
|
2046
2061
|
const data = await DBSyncManager.queueTask<StreamChatGenerics>({
|
|
2047
2062
|
client,
|
|
@@ -2101,12 +2116,18 @@ const ChannelWithContext = <
|
|
|
2101
2116
|
*/
|
|
2102
2117
|
const openThread: ThreadContextValue<StreamChatGenerics>['openThread'] = useCallback(
|
|
2103
2118
|
(message) => {
|
|
2104
|
-
const newThreadMessages = message?.id ? channel?.state?.threads[message.id] || [] : [];
|
|
2105
2119
|
setThread(message);
|
|
2106
|
-
|
|
2120
|
+
|
|
2121
|
+
if (channel.initialized) {
|
|
2122
|
+
channel.markRead({ thread_id: message.id });
|
|
2123
|
+
}
|
|
2124
|
+
// This was causing inconsistencies within the thread state as well as being responsible
|
|
2125
|
+
// of threads essentially never unloading (due to all of the previous threads + 50 loading
|
|
2126
|
+
// every time we'd run this). It seemingly has no impact (other than a performance boost)
|
|
2127
|
+
// and having it was causing issues with the Threads V2 architecture.
|
|
2128
|
+
// setThreadMessages(newThreadMessages);
|
|
2107
2129
|
},
|
|
2108
|
-
|
|
2109
|
-
[setThread, setThreadMessages],
|
|
2130
|
+
[channel, setThread],
|
|
2110
2131
|
);
|
|
2111
2132
|
|
|
2112
2133
|
const closeThread: ThreadContextValue<StreamChatGenerics>['closeThread'] = useCallback(() => {
|
|
@@ -2407,6 +2428,7 @@ const ChannelWithContext = <
|
|
|
2407
2428
|
setThreadLoadingMore,
|
|
2408
2429
|
thread,
|
|
2409
2430
|
threadHasMore,
|
|
2431
|
+
threadInstance,
|
|
2410
2432
|
threadLoadingMore,
|
|
2411
2433
|
threadMessages,
|
|
2412
2434
|
});
|
|
@@ -2479,7 +2501,18 @@ export const Channel = <
|
|
|
2479
2501
|
const { client, enableOfflineSupport } = useChatContext<StreamChatGenerics>();
|
|
2480
2502
|
const { t } = useTranslationContext();
|
|
2481
2503
|
|
|
2482
|
-
const
|
|
2504
|
+
const threadFromProps = props?.thread;
|
|
2505
|
+
const threadMessage = (
|
|
2506
|
+
threadFromProps?.threadInstance ? threadFromProps.thread : threadFromProps
|
|
2507
|
+
) as MessageType<StreamChatGenerics>;
|
|
2508
|
+
const threadInstance = threadFromProps?.threadInstance as Thread;
|
|
2509
|
+
|
|
2510
|
+
const thread: ThreadType<StreamChatGenerics> = {
|
|
2511
|
+
thread: threadMessage,
|
|
2512
|
+
threadInstance,
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2515
|
+
const shouldSyncChannel = threadMessage?.id ? !!props.threadList : true;
|
|
2483
2516
|
|
|
2484
2517
|
const {
|
|
2485
2518
|
members,
|
|
@@ -2498,7 +2531,7 @@ export const Channel = <
|
|
|
2498
2531
|
watchers,
|
|
2499
2532
|
} = useChannelState<StreamChatGenerics>(
|
|
2500
2533
|
props.channel,
|
|
2501
|
-
props.threadList ?
|
|
2534
|
+
props.threadList ? threadMessage?.id : undefined,
|
|
2502
2535
|
);
|
|
2503
2536
|
|
|
2504
2537
|
return (
|
|
@@ -2521,6 +2554,7 @@ export const Channel = <
|
|
|
2521
2554
|
setTyping,
|
|
2522
2555
|
setWatcherCount,
|
|
2523
2556
|
setWatchers,
|
|
2557
|
+
thread,
|
|
2524
2558
|
threadMessages,
|
|
2525
2559
|
typing,
|
|
2526
2560
|
watcherCount,
|