stream-chat-react 14.5.0 → 14.6.0

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.
Files changed (164) hide show
  1. package/dist/cjs/{ReactPlayerWrapper.963d6170.js → ReactPlayerWrapper.30240f76.js} +2 -2
  2. package/dist/cjs/{ReactPlayerWrapper.963d6170.js.map → ReactPlayerWrapper.30240f76.js.map} +1 -1
  3. package/dist/cjs/channel-detail.js +3007 -0
  4. package/dist/cjs/channel-detail.js.map +1 -0
  5. package/dist/cjs/emojis.js +5 -4
  6. package/dist/cjs/emojis.js.map +1 -1
  7. package/dist/cjs/index.js +1804 -4064
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js +4143 -0
  10. package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js.map +1 -0
  11. package/dist/cjs/useMessageComposerController.c0dad9bc.js +99 -0
  12. package/dist/cjs/useMessageComposerController.c0dad9bc.js.map +1 -0
  13. package/dist/cjs/{useNotificationApi.e9312774.js → useNotificationApi.eb753f31.js} +121 -166
  14. package/dist/cjs/useNotificationApi.eb753f31.js.map +1 -0
  15. package/dist/css/channel-detail.css +825 -0
  16. package/dist/css/channel-detail.css.map +1 -0
  17. package/dist/css/index.css +111 -31
  18. package/dist/css/index.css.map +1 -1
  19. package/dist/es/channel-detail.mjs +2950 -0
  20. package/dist/es/channel-detail.mjs.map +1 -0
  21. package/dist/es/emojis.mjs +2 -1
  22. package/dist/es/emojis.mjs.map +1 -1
  23. package/dist/es/index.mjs +1399 -3669
  24. package/dist/es/index.mjs.map +1 -1
  25. package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs +3600 -0
  26. package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs.map +1 -0
  27. package/dist/es/useMessageComposerController.29f189b4.mjs +69 -0
  28. package/dist/es/useMessageComposerController.29f189b4.mjs.map +1 -0
  29. package/dist/es/{useNotificationApi.4be515a0.mjs → useNotificationApi.fa5cddf9.mjs} +104 -137
  30. package/dist/es/useNotificationApi.fa5cddf9.mjs.map +1 -0
  31. package/dist/types/components/AudioPlayback/components/index.d.ts +1 -0
  32. package/dist/types/components/AudioPlayback/components/index.d.ts.map +1 -1
  33. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  34. package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts +7 -0
  35. package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts.map +1 -0
  36. package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts +6 -1
  37. package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts.map +1 -1
  38. package/dist/types/components/ChannelListItem/hooks/index.d.ts +1 -0
  39. package/dist/types/components/ChannelListItem/hooks/index.d.ts.map +1 -1
  40. package/dist/types/components/ChannelListItem/hooks/useChannelPreviewInfo.d.ts.map +1 -1
  41. package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts +2 -0
  42. package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts.map +1 -0
  43. package/dist/types/components/Chat/Chat.d.ts.map +1 -1
  44. package/dist/types/components/Dialog/components/Prompt.d.ts +7 -4
  45. package/dist/types/components/Dialog/components/Prompt.d.ts.map +1 -1
  46. package/dist/types/components/Dialog/service/DialogPortal.d.ts +5 -1
  47. package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
  48. package/dist/types/components/FileIcon/iconMap.d.ts.map +1 -1
  49. package/dist/types/components/Form/Checkbox.d.ts +8 -0
  50. package/dist/types/components/Form/Checkbox.d.ts.map +1 -0
  51. package/dist/types/components/Form/SwitchField.d.ts +6 -0
  52. package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
  53. package/dist/types/components/Form/index.d.ts +1 -0
  54. package/dist/types/components/Form/index.d.ts.map +1 -1
  55. package/dist/types/components/Icons/icons.d.ts +12 -0
  56. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  57. package/dist/types/components/InfiniteScrollPaginator/index.d.ts +1 -0
  58. package/dist/types/components/InfiniteScrollPaginator/index.d.ts.map +1 -1
  59. package/dist/types/components/Message/hooks/useMessageTextStreaming.d.ts +1 -1
  60. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -1
  61. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
  62. package/dist/types/components/Modal/GlobalModal.d.ts +3 -1
  63. package/dist/types/components/Modal/GlobalModal.d.ts.map +1 -1
  64. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -1
  65. package/dist/types/components/Poll/PollCreationDialog/MultipleAnswersField.d.ts.map +1 -1
  66. package/dist/types/components/Poll/PollOptionSelector.d.ts +0 -4
  67. package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
  68. package/dist/types/context/DialogManagerContext.d.ts +3 -1
  69. package/dist/types/context/DialogManagerContext.d.ts.map +1 -1
  70. package/dist/types/i18n/Streami18n.d.ts +99 -0
  71. package/dist/types/i18n/Streami18n.d.ts.map +1 -1
  72. package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts +9 -0
  73. package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts.map +1 -0
  74. package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts +14 -0
  75. package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts.map +1 -0
  76. package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts +11 -0
  77. package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts.map +1 -0
  78. package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts +3 -0
  79. package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts.map +1 -0
  80. package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts +6 -0
  81. package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts.map +1 -0
  82. package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts +15 -0
  83. package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts.map +1 -0
  84. package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts +8 -0
  85. package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts.map +1 -0
  86. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts +52 -0
  87. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts.map +1 -0
  88. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts +11 -0
  89. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts.map +1 -0
  90. package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts +3 -0
  91. package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts.map +1 -0
  92. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts +2 -0
  93. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts.map +1 -0
  94. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts +5 -0
  95. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts.map +1 -0
  96. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts +40 -0
  97. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts.map +1 -0
  98. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts +5 -0
  99. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts.map +1 -0
  100. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts +10 -0
  101. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts.map +1 -0
  102. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts +16 -0
  103. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts.map +1 -0
  104. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts +20 -0
  105. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts.map +1 -0
  106. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts +3 -0
  107. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts.map +1 -0
  108. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts +2 -0
  109. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts.map +1 -0
  110. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts +8 -0
  111. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts.map +1 -0
  112. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts +22 -0
  113. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts.map +1 -0
  114. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts +5 -0
  115. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts.map +1 -0
  116. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts +9 -0
  117. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts.map +1 -0
  118. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts +26 -0
  119. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts.map +1 -0
  120. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts +12 -0
  121. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts.map +1 -0
  122. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts +3 -0
  123. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts.map +1 -0
  124. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts +7 -0
  125. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts.map +1 -0
  126. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts +6 -0
  127. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts.map +1 -0
  128. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts +45 -0
  129. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts.map +1 -0
  130. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts +46 -0
  131. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts.map +1 -0
  132. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts +8 -0
  133. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts.map +1 -0
  134. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts +6 -0
  135. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts.map +1 -0
  136. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts +4 -0
  137. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts.map +1 -0
  138. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts +4 -0
  139. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts.map +1 -0
  140. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts +12 -0
  141. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts.map +1 -0
  142. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts +2 -0
  143. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts.map +1 -0
  144. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts +9 -0
  145. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts.map +1 -0
  146. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts +4 -0
  147. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts.map +1 -0
  148. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts +4 -0
  149. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts.map +1 -0
  150. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts +16 -0
  151. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts.map +1 -0
  152. package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts +28 -0
  153. package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts.map +1 -0
  154. package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts +2 -0
  155. package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts.map +1 -0
  156. package/dist/types/plugins/ChannelDetail/index.d.ts +16 -0
  157. package/dist/types/plugins/ChannelDetail/index.d.ts.map +1 -0
  158. package/dist/types/utils/index.d.ts +2 -0
  159. package/dist/types/utils/index.d.ts.map +1 -1
  160. package/dist/types/utils/isDmChannel.d.ts +6 -0
  161. package/dist/types/utils/isDmChannel.d.ts.map +1 -0
  162. package/package.json +11 -2
  163. package/dist/cjs/useNotificationApi.e9312774.js.map +0 -1
  164. package/dist/es/useNotificationApi.4be515a0.mjs.map +0 -1
@@ -139,6 +139,10 @@ export declare class Streami18n {
139
139
  "{{ commaSeparatedUsers }}, and {{ lastUser }}": string;
140
140
  "{{ count }} files_one": string;
141
141
  "{{ count }} files_other": string;
142
+ "{{ count }} members_one": string;
143
+ "{{ count }} members_other": string;
144
+ "{{ count }} members added_one": string;
145
+ "{{ count }} members added_other": string;
142
146
  "{{ count }} people are typing_one": string;
143
147
  "{{ count }} people are typing_many": string;
144
148
  "{{ count }} people are typing_other": string;
@@ -150,6 +154,8 @@ export declare class Streami18n {
150
154
  "{{ count }} videos_other": string;
151
155
  "{{ firstUser }} and {{ secondUser }}": string;
152
156
  "{{ imageCount }} more": string;
157
+ "{{ member }} will be able to message you again.": string;
158
+ "{{ member }} won't be able to message you anymore.": string;
153
159
  "{{ memberCount }} members": string;
154
160
  "{{ typing }} are typing": string;
155
161
  "{{ typing }} is typing": string;
@@ -172,16 +178,24 @@ export declare class Streami18n {
172
178
  "\uD83D\uDCCA {{createdBy}} created: {{ pollName}}": string;
173
179
  "\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}": string;
174
180
  "\uD83D\uDCCDShared location": string;
181
+ Actions: string;
182
+ Add: string;
183
+ "Add {{ count }} members_one": string;
184
+ "Add {{ count }} members_other": string;
175
185
  "Add a comment": string;
176
186
  "Add a comment to your poll answer": string;
177
187
  "Add an option": string;
188
+ "Add channel members": string;
189
+ "Add members": string;
178
190
  "Add reaction": string;
191
+ Admin: string;
179
192
  "All results loaded": string;
180
193
  "Allow access to camera": string;
181
194
  "Allow access to microphone": string;
182
195
  "Allow comments": string;
183
196
  "Allow option suggestion": string;
184
197
  "Allow others to add comments": string;
198
+ "Already a member": string;
185
199
  "Also send as a direct message": string;
186
200
  "Also send in channel": string;
187
201
  "Also sent in channel": string;
@@ -191,6 +205,7 @@ export declare class Streami18n {
191
205
  "Anonymous poll": string;
192
206
  Archive: string;
193
207
  "Are you sure you want to delete this message?": string;
208
+ "Are you sure you want to leave this channel?": string;
194
209
  "aria/Attachment": string;
195
210
  "aria/Attachment Actions": string;
196
211
  "aria/Audio position {{ elapsed }} of {{ duration }}": string;
@@ -201,6 +216,7 @@ export declare class Streami18n {
201
216
  "aria/Cancel Reply": string;
202
217
  "aria/Cancel upload": string;
203
218
  "aria/Channel Actions": string;
219
+ "aria/Channel details": string;
204
220
  "aria/Channel list": string;
205
221
  "aria/Channel search results": string;
206
222
  "aria/Chat view tabs": string;
@@ -238,18 +254,23 @@ export declare class Streami18n {
238
254
  "aria/Message Options": string;
239
255
  "aria/Message,": string;
240
256
  "aria/Mute User": string;
257
+ "aria/Next page": string;
241
258
  "aria/Notifications": string;
242
259
  "aria/Open Attachment Selector": string;
243
260
  "aria/Open Channel Actions Menu": string;
261
+ "aria/Open channel details": string;
262
+ "aria/Open image shared by {{ name }}": string;
244
263
  "aria/Open Menu": string;
245
264
  "aria/Open Message Actions Menu": string;
246
265
  "aria/Open Reaction Selector": string;
247
266
  "aria/Open Thread": string;
267
+ "aria/Open video shared by {{ name }}": string;
248
268
  "aria/Pause": string;
249
269
  "aria/Pause recording": string;
250
270
  "aria/Percent complete": string;
251
271
  "aria/Pin Message": string;
252
272
  "aria/Play": string;
273
+ "aria/Previous page": string;
253
274
  "aria/Quote Message": string;
254
275
  "aria/Reaction list": string;
255
276
  "aria/Remind Me Message": string;
@@ -287,10 +308,15 @@ export declare class Streami18n {
287
308
  Back: string;
288
309
  "ban-command-args": string;
289
310
  "ban-command-description": string;
311
+ "Block user": string;
290
312
  "Block User": string;
313
+ "Browse channel members": string;
314
+ "Browse pinned messages": string;
291
315
  Cancel: string;
292
316
  "Cannot seek in the recording": string;
317
+ "Changes saved": string;
293
318
  "Channel archived": string;
319
+ "Channel members": string;
294
320
  "Channel Missing": string;
295
321
  "Channel muted": string;
296
322
  "Channel pinned": string;
@@ -298,6 +324,7 @@ export declare class Streami18n {
298
324
  "Channel unmuted": string;
299
325
  "Channel unpinned": string;
300
326
  Channels: string;
327
+ "Chat deleted": string;
301
328
  Chats: string;
302
329
  "Choose between 2 to 10 options": string;
303
330
  Close: string;
@@ -309,12 +336,15 @@ export declare class Streami18n {
309
336
  Commands: string;
310
337
  "Commands matching": string;
311
338
  "Connection failure, reconnecting now...": string;
339
+ "Contact info": string;
340
+ "Contact name": string;
312
341
  "Copy Message": string;
313
342
  Create: string;
314
343
  "Create a question, add options, and configure poll settings": string;
315
344
  "Create poll": string;
316
345
  "Current location": string;
317
346
  Delete: string;
347
+ "Delete chat": string;
318
348
  "Delete for me": string;
319
349
  "Delete message": string;
320
350
  Delivered: string;
@@ -330,6 +360,10 @@ export declare class Streami18n {
330
360
  "duration/Message reminder": string;
331
361
  "duration/Remind Me": string;
332
362
  "duration/Share Location": string;
363
+ Edit: string;
364
+ "Edit chat data": string;
365
+ "Edit contact": string;
366
+ "Edit group": string;
333
367
  "Edit Message": string;
334
368
  "Edit message request failed": string;
335
369
  Edited: string;
@@ -342,16 +376,27 @@ export declare class Streami18n {
342
376
  "Enforce unique vote is enabled": string;
343
377
  Error: string;
344
378
  "Error adding flag": string;
379
+ "Error adding members": string;
380
+ "Error blocking user": string;
345
381
  "Error connecting to chat, refresh the page to try again.": string;
382
+ "Error deleting chat": string;
346
383
  "Error deleting message": string;
347
384
  "Error fetching reactions": string;
348
385
  "Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.": string;
349
386
  "Error muting a user ...": string;
387
+ "Error muting channel": string;
388
+ "Error muting user": string;
389
+ "Error opening direct message": string;
350
390
  "Error pinning message": string;
391
+ "Error removing members": string;
351
392
  "Error removing message pin": string;
393
+ "Error removing user": string;
352
394
  "Error reproducing the recording": string;
353
395
  "Error starting recording": string;
396
+ "Error unblocking user": string;
354
397
  "Error unmuting a user ...": string;
398
+ "Error unmuting channel": string;
399
+ "Error unmuting user": string;
355
400
  "Error uploading attachment": string;
356
401
  "Error uploading file": string;
357
402
  "Error uploading image": string;
@@ -370,6 +415,7 @@ export declare class Streami18n {
370
415
  "Failed to mark channel as read": string;
371
416
  "Failed to play the recording": string;
372
417
  "Failed to retrieve location": string;
418
+ "Failed to save changes": string;
373
419
  "Failed to share location": string;
374
420
  "Failed to update channel archive status": string;
375
421
  "Failed to update channel mute status": string;
@@ -380,10 +426,14 @@ export declare class Streami18n {
380
426
  "File too large": string;
381
427
  fileCount_one: string;
382
428
  fileCount_other: string;
429
+ Files: string;
383
430
  Flag: string;
384
431
  "Generating...": string;
385
432
  "giphy-command-args": string;
386
433
  "giphy-command-description": string;
434
+ "Go back": string;
435
+ "Group info": string;
436
+ "Group name": string;
387
437
  "Hide who voted": string;
388
438
  Image: string;
389
439
  imageCount_one: string;
@@ -446,7 +496,9 @@ export declare class Streami18n {
446
496
  "language/vi": string;
447
497
  "language/zh": string;
448
498
  "language/zh-TW": string;
499
+ "Last seen {{ timestamp }}": string;
449
500
  "Leave Channel": string;
501
+ "Leave chat": string;
450
502
  "Left channel": string;
451
503
  "Let others add options": string;
452
504
  "Limit votes per person": string;
@@ -462,9 +514,12 @@ export declare class Streami18n {
462
514
  Location: string;
463
515
  "Location sharing ended": string;
464
516
  "Location: {{ coordinates }}": string;
517
+ "Manage channel": string;
518
+ "Manage members": string;
465
519
  "Mark as unread": string;
466
520
  "Maximum number of votes (from 2 to 10)": string;
467
521
  "Maximum votes per person": string;
522
+ "Member detail": string;
468
523
  "mention/Channel": string;
469
524
  "mention/Channel Description": string;
470
525
  "mention/Here": string;
@@ -479,19 +534,29 @@ export declare class Streami18n {
479
534
  "Message was blocked by moderation policies": string;
480
535
  "Messages have been marked unread.": string;
481
536
  "Missing permissions to upload the attachment": string;
537
+ Moderator: string;
482
538
  "Multiple votes": string;
483
539
  Mute: string;
540
+ "Mute chat": string;
541
+ "Mute user": string;
484
542
  "mute-command-args": string;
485
543
  "mute-command-description": string;
486
544
  "network error": string;
487
545
  New: string;
488
546
  "New message from {{user}}": string;
489
547
  "New Messages!": string;
548
+ Next: string;
490
549
  "Next image": string;
491
550
  "No chats here yet\u2026": string;
492
551
  "No conversations yet": string;
552
+ "No files": string;
493
553
  "No items exist": string;
554
+ "No member found": string;
555
+ "No messages found": string;
556
+ "No photos or videos": string;
557
+ "No pinned messages": string;
494
558
  "No results found": string;
559
+ "No user found": string;
495
560
  "Nobody will be able to vote in this poll anymore.": string;
496
561
  "Nothing yet...": string;
497
562
  "Notify all {{ role }} members": string;
@@ -504,15 +569,22 @@ export declare class Streami18n {
504
569
  "Open gallery at image {{ index }}": string;
505
570
  "Open image in gallery": string;
506
571
  "Open location in a map": string;
572
+ "Open members actions": string;
573
+ "Open menu": string;
507
574
  "Option already exists": string;
508
575
  "Option is empty": string;
509
576
  Options: string;
510
577
  Original: string;
578
+ Owner: string;
511
579
  "People matching": string;
512
580
  Photo: string;
581
+ "Photos & videos": string;
513
582
  Pin: string;
583
+ "Pin a message to see it here": string;
514
584
  "Pinned by {{ name }}": string;
515
585
  "Pinned by You": string;
586
+ "Pinned message": string;
587
+ "Pinned messages": string;
516
588
  "placeholder/PollComment": string;
517
589
  "placeholder/PollOptionSuggestion": string;
518
590
  "Play video": string;
@@ -522,6 +594,7 @@ export declare class Streami18n {
522
594
  "Poll ended": string;
523
595
  "Poll options": string;
524
596
  "Poll results": string;
597
+ Previous: string;
525
598
  "Previous image": string;
526
599
  Question: string;
527
600
  "Question {{ optionOrderNumber}}": string;
@@ -532,8 +605,16 @@ export declare class Streami18n {
532
605
  "Remind me": string;
533
606
  "Remind Me": string;
534
607
  "Reminder set": string;
608
+ Remove: string;
609
+ "Remove {{ count }} members_one": string;
610
+ "Remove {{ count }} members_other": string;
611
+ "Remove {{ member }} from this channel?": string;
612
+ "Remove channel members": string;
535
613
  "Remove reminder": string;
536
614
  "Remove save for later": string;
615
+ "Remove user": string;
616
+ "Removed {{ count }} members_one": string;
617
+ "Removed {{ count }} members_other": string;
537
618
  "Replied to a thread": string;
538
619
  Reply: string;
539
620
  "Reply to {{ authorName }}": string;
@@ -548,6 +629,7 @@ export declare class Streami18n {
548
629
  "Review poll results and open an option to see detailed votes": string;
549
630
  "Review this message and choose whether to delete it, edit it, or send it anyway": string;
550
631
  "Review who voted for this option": string;
632
+ Save: string;
551
633
  "Save for later": string;
552
634
  "Saved for later": string;
553
635
  Search: string;
@@ -570,11 +652,14 @@ export declare class Streami18n {
570
652
  "Send a message": string;
571
653
  "Send a message to start the conversation": string;
572
654
  "Send Anyway": string;
655
+ "Send direct message": string;
573
656
  "Send message request failed": string;
574
657
  "Send poll": string;
575
658
  "Sending...": string;
576
659
  Sent: string;
577
660
  Share: string;
661
+ "Share a file to see it here": string;
662
+ "Share a photo or video to see it here": string;
578
663
  "Share live location for": string;
579
664
  "Share Location": string;
580
665
  "Shared live location": string;
@@ -595,6 +680,9 @@ export declare class Streami18n {
595
680
  "this content could not be displayed": string;
596
681
  "This field cannot be empty or contain only spaces": string;
597
682
  "This message did not meet our content guidelines": string;
683
+ "This permanently deletes your message history with {{ user }}. This can't be undone.": string;
684
+ "This user will be able to message you again.": string;
685
+ "This user won't be able to message you anymore. You can unblock them anytime.": string;
598
686
  Thread: string;
599
687
  "Thread has not been found": string;
600
688
  "Thread reply": string;
@@ -603,6 +691,8 @@ export declare class Streami18n {
603
691
  "ThreadListUnseenThreadsBanner/unreadThreads_one": string;
604
692
  "ThreadListUnseenThreadsBanner/unreadThreads_other": string;
605
693
  Threads: string;
694
+ "timestamp/ChannelDetailPinnedMessageTimestamp": string;
695
+ "timestamp/ChannelMembersLastActive": string;
606
696
  "timestamp/ChannelPreviewTimestamp": string;
607
697
  "timestamp/DateSeparator": string;
608
698
  "timestamp/LiveLocation": string;
@@ -626,9 +716,13 @@ export declare class Streami18n {
626
716
  Unarchive: string;
627
717
  "unban-command-args": string;
628
718
  "unban-command-description": string;
719
+ Unblock: string;
720
+ "Unblock user": string;
629
721
  "Unblock User": string;
630
722
  "unknown error": string;
631
723
  Unmute: string;
724
+ "Unmute chat": string;
725
+ "Unmute user": string;
632
726
  "unmute-command-args": string;
633
727
  "unmute-command-description": string;
634
728
  Unpin: string;
@@ -641,9 +735,13 @@ export declare class Streami18n {
641
735
  "Upload blocked": string;
642
736
  "Upload error": string;
643
737
  "Upload failed": string;
738
+ "Upload Picture": string;
644
739
  "Upload type: \"{{ type }}\" is not allowed": string;
645
740
  "User blocked": string;
741
+ "User muted": string;
742
+ "User removed": string;
646
743
  "User unblocked": string;
744
+ "User unmuted": string;
647
745
  "User uploaded content": string;
648
746
  Video: string;
649
747
  videoCount_one: string;
@@ -652,6 +750,7 @@ export declare class Streami18n {
652
750
  "View {{count}} comments_one": string;
653
751
  "View {{count}} comments_other": string;
654
752
  "View all": string;
753
+ "View member details for {{ member }}": string;
655
754
  "View original": string;
656
755
  "View results": string;
657
756
  "View translation": string;
@@ -1 +1 @@
1
- {"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../src/i18n/Streami18n.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAgC,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGxF,OAAO,KAAK,EAAE,IAAI,IAAI,IAAI,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEvF,OAAO,EAEL,cAAc,EAWf,MAAM,gBAAgB,CAAC;AAExB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAkBpB,mBAAmB,CACjB,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,EAAE,OAAO,cAAc,EAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IAS/D,WAAW,CAAC,QAAQ,EAAE,oBAAoB;IAsBhD,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;CAG7D"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type ChannelAvatarProps } from '../../components/Avatar/index';
3
+ import { type ChannelDetailProps } from './ChannelDetail';
4
+ export type AvatarWithChannelDetailProps = ChannelAvatarProps & {
5
+ Avatar?: React.ComponentType<ChannelAvatarProps>;
6
+ ChannelDetail?: React.ComponentType<ChannelDetailProps>;
7
+ };
8
+ export declare const AvatarWithChannelDetail: ({ Avatar, ChannelDetail, className, ...avatarProps }: AvatarWithChannelDetailProps) => import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=AvatarWithChannelDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvatarWithChannelDetail.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/AvatarWithChannelDetail.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAOrD,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,MAAM,4BAA4B,GAAG,kBAAkB,GAAG;IAC9D,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;CACzD,CAAC;AAMF,eAAO,MAAM,uBAAuB,GAAI,sDAKrC,4BAA4B,4CAwC9B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Channel } from 'stream-chat';
2
+ import { type SectionNavigatorNavButtonProps, type SectionNavigatorProps, type SectionNavigatorSection } from './SectionNavigator';
3
+ export declare const ChannelManagementNavButton: (props: SectionNavigatorNavButtonProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const ChannelMembersNavButton: (props: SectionNavigatorNavButtonProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const PinnedMessagesNavButton: (props: SectionNavigatorNavButtonProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const ChannelMediaNavButton: (props: SectionNavigatorNavButtonProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ChannelFilesNavButton: (props: SectionNavigatorNavButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const defaultChannelDetailSections: SectionNavigatorSection[];
9
+ export type ChannelDetailProps = Omit<SectionNavigatorProps, 'sections'> & {
10
+ channel: Channel;
11
+ sections?: SectionNavigatorSection[];
12
+ };
13
+ export declare const ChannelDetail: ({ channel, className, defaultLayout, sections, ...props }: ChannelDetailProps) => import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=ChannelDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetail.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EAIL,KAAK,8BAA8B,EACnC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC7B,MAAM,oBAAoB,CAAC;AAqC5B,eAAO,MAAM,0BAA0B,GAAI,OAAO,8BAA8B,4CAM/E,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,8BAA8B,4CAM5E,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,OAAO,8BAA8B,4CAM5E,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,8BAA8B,4CAM1E,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,8BAA8B,4CAM1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,uBAAuB,EA0BjE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC,GAAG;IACzE,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,2DAM3B,kBAAkB,4CAwBpB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { Channel } from 'stream-chat';
3
+ export type ChannelDetailContextValue = {
4
+ channel: Channel;
5
+ };
6
+ export type ChannelDetailProviderProps = PropsWithChildren<{
7
+ channel: Channel;
8
+ }>;
9
+ export declare const ChannelDetailProvider: ({ channel, children, }: ChannelDetailProviderProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const useChannelDetailContext: () => ChannelDetailContextValue;
11
+ //# sourceMappingURL=ChannelDetailContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetailContext.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetailContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAMF,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,wBAGnC,0BAA0B,4CAQ5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,iCAUnC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { PropsWithChildrenOnly } from '../../types/types';
2
+ export declare const ChannelDetailEmptyList: ({ children }: PropsWithChildrenOnly) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ChannelDetailEmptyList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetailEmptyList.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetailEmptyList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,GAAI,cAAc,qBAAqB,4CAKzE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { SearchSource } from 'stream-chat';
2
+ export type ChannelMembersViewListFooterProps<T> = {
3
+ searchSource: SearchSource<T>;
4
+ };
5
+ export declare const ChannelDetailListLoadingIndicator: <T>({ searchSource, }: ChannelMembersViewListFooterProps<T>) => import("react/jsx-runtime").JSX.Element | null;
6
+ //# sourceMappingURL=ChannelDetailListLoadingIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetailListLoadingIndicator.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAqB,MAAM,aAAa,CAAC;AASnE,MAAM,MAAM,iCAAiC,CAAC,CAAC,IAAI;IACjD,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,CAAC,EAAG,mBAEnD,iCAAiC,CAAC,CAAC,CAAC,mDAatC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type ComponentType } from 'react';
2
+ import type { SectionNavigatorNavButtonProps } from './SectionNavigator';
3
+ export type ChannelDetailNavButtonProps = SectionNavigatorNavButtonProps & {
4
+ /** Icon rendered as the leading element of the nav button. */
5
+ LeadingIcon: ComponentType;
6
+ /** Label displayed for the section. */
7
+ title: string;
8
+ };
9
+ /**
10
+ * Underlying button shared by all ChannelDetail section nav buttons. Renders a
11
+ * `ListItemLayout` as a `<button>` and wires the SectionNavigator selection
12
+ * state into `aria-current` and the click handler.
13
+ */
14
+ export declare const ChannelDetailNavButton: ({ className, LeadingIcon, sectionId: _sectionId, select, selected, title, ...props }: ChannelDetailNavButtonProps) => import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=ChannelDetailNavButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetailNavButton.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetailNavButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAIzE,MAAM,MAAM,2BAA2B,GAAG,8BAA8B,GAAG;IACzE,8DAA8D;IAC9D,WAAW,EAAE,aAAa,CAAC;IAC3B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,sFASpC,2BAA2B,4CAa7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export type ChannelDetailSearchInputProps = {
3
+ autoFocus?: boolean;
4
+ onSearchChange: (query: string) => void;
5
+ resetKey?: number;
6
+ };
7
+ export declare const ChannelDetailSearchInput: React.MemoExoticComponent<({ autoFocus, onSearchChange, resetKey }: ChannelDetailSearchInputProps) => import("react/jsx-runtime").JSX.Element>;
8
+ //# sourceMappingURL=ChannelDetailSearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelDetailSearchInput.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ChannelDetail/ChannelDetailSearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,wBAAwB,sEACO,6BAA6B,6CA+BxE,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { type ComponentProps, type ComponentType, type HTMLAttributes } from 'react';
2
+ export type SectionNavigatorLayout = string;
3
+ export declare const SECTION_NAVIGATOR_LAYOUT: {
4
+ readonly inline: "inline";
5
+ readonly tabs: "tabs";
6
+ };
7
+ export type SectionNavigatorRoute = {
8
+ id: string;
9
+ };
10
+ export type SectionNavigatorSectionContentProps = {
11
+ layout: SectionNavigatorLayout;
12
+ };
13
+ export type SectionNavigatorNavButtonProps = ComponentProps<'button'> & {
14
+ sectionId: string;
15
+ selected: boolean;
16
+ select: () => void;
17
+ };
18
+ export type SectionNavigatorSection = {
19
+ id: string;
20
+ NavButton: ComponentType<SectionNavigatorNavButtonProps>;
21
+ SectionContent: ComponentType<SectionNavigatorSectionContentProps>;
22
+ };
23
+ export type SectionNavigatorLayoutObserverFactory = ({ element, setLayout, tabsLayoutMinWidth, }: {
24
+ element: HTMLElement;
25
+ setLayout: (layout: SectionNavigatorLayout) => void;
26
+ tabsLayoutMinWidth: number;
27
+ }) => (() => void) | void;
28
+ export type SectionNavigatorContextValue = {
29
+ layout: SectionNavigatorLayout;
30
+ history: SectionNavigatorRoute[];
31
+ historyPop: () => void;
32
+ historyPush: (route: SectionNavigatorRoute) => void;
33
+ /** Whether the navigation drawer overlay is currently open (inline layout only). */
34
+ isNavigationOpen: boolean;
35
+ /** Opens the navigation drawer overlay (inline layout). */
36
+ openNavigation: () => void;
37
+ /** Closes the navigation drawer overlay (inline layout). */
38
+ closeNavigation: () => void;
39
+ };
40
+ export type SectionNavigatorProps = HTMLAttributes<HTMLDivElement> & {
41
+ sections: SectionNavigatorSection[];
42
+ createLayoutObserver?: SectionNavigatorLayoutObserverFactory;
43
+ defaultLayout?: SectionNavigatorLayout;
44
+ initialHistory?: SectionNavigatorRoute[];
45
+ layout?: SectionNavigatorLayout;
46
+ /** Called whenever the resolved layout changes (and once on mount). */
47
+ onLayoutChange?: (layout: SectionNavigatorLayout) => void;
48
+ tabsLayoutMinWidth?: number;
49
+ };
50
+ export declare const useSectionNavigatorContext: () => SectionNavigatorContextValue;
51
+ export declare const SectionNavigator: ({ className, createLayoutObserver, defaultLayout, initialHistory, layout: controlledLayout, onLayoutChange, sections, tabsLayoutMinWidth, ...props }: SectionNavigatorProps) => import("react/jsx-runtime").JSX.Element;
52
+ //# sourceMappingURL=SectionNavigator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNavigator.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/ChannelDetail/SectionNavigator/SectionNavigator.tsx"],"names":[],"mappings":"AACA,OA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I,CAAC;IAC3B,4DAA4D;IAC5D,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACnE,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,qCAAqC,CAAC;IAC7D,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,cAAc,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACzC,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,uEAAuE;IACvE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC1D,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AA6CF,eAAO,MAAM,0BAA0B,oCAA4C,CAAC;AAIpF,eAAO,MAAM,gBAAgB,GAAI,sJAU9B,qBAAqB,4CAsKvB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type PromptHeaderProps } from '../../../components/Dialog';
2
+ export type SectionNavigatorHeaderProps = Omit<PromptHeaderProps, 'LeadingContent'>;
3
+ /**
4
+ * Generic header for content rendered inside a `SectionNavigator`. It renders a
5
+ * `Prompt.Header` and, in the inline layout (where the navigation sidebar is not
6
+ * shown), prepends a hamburger button that opens the navigation drawer. The
7
+ * hamburger is omitted on nested views that already show a back button
8
+ * (`goBack`), where it would compete with the back affordance.
9
+ */
10
+ export declare const SectionNavigatorHeader: (props: SectionNavigatorHeaderProps) => import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=SectionNavigatorHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionNavigatorHeader.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAU,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG5E,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,4CA0BxE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './SectionNavigator';
2
+ export * from './SectionNavigatorHeader';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/ChannelDetail/SectionNavigator/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const ChannelFilesEmptyList: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=ChannelFilesEmptyList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelFilesEmptyList.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,+CAgBjC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type SectionNavigatorSectionContentProps } from '../../SectionNavigator';
3
+ export type ChannelFilesViewProps = SectionNavigatorSectionContentProps;
4
+ export declare const ChannelFilesView: React.ComponentType<ChannelFilesViewProps>;
5
+ //# sourceMappingURL=ChannelFilesView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelFilesView.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAShE,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,wBAAwB,CAAC;AA4GhC,MAAM,MAAM,qBAAqB,GAAG,mCAAmC,CAAC;AAExE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CA0EvE,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { type Attachment, type LocalMessage, type MessageResponse } from 'stream-chat';
2
+ /** Attachment types listed by the files view (everything that is not an image/video). */
3
+ export declare const FILE_ATTACHMENT_TYPES: readonly ["file", "audio"];
4
+ export type ChannelFileAttachmentType = (typeof FILE_ATTACHMENT_TYPES)[number];
5
+ export type ChannelFileItem = {
6
+ /** Raw attachment to render (no transformation applied). */
7
+ attachment: Attachment;
8
+ /** Stable identity (messageId + attachment index). */
9
+ id: string;
10
+ /** ISO timestamp of the carrying message, used for the month sections. */
11
+ createdAt?: string;
12
+ };
13
+ export type ChannelFileSection = {
14
+ /** Stable grouping key (`YYYY-MM` or `unknown`). */
15
+ key: string;
16
+ /** Representative timestamp used to render the section header. */
17
+ timestamp?: string;
18
+ };
19
+ export type ChannelFileSections = {
20
+ /**
21
+ * Item counts per section, aligned 1:1 with `sections`. Maps directly onto
22
+ * GroupedVirtuoso's `groupCounts`; `sum(groupCounts) === items.length`.
23
+ */
24
+ groupCounts: number[];
25
+ /** Flat list of items in display order, grouped contiguously by section. */
26
+ items: ChannelFileItem[];
27
+ /** Section headers (month/year), aligned 1:1 with `groupCounts`. */
28
+ sections: ChannelFileSection[];
29
+ };
30
+ /**
31
+ * Flattens messages into file/audio attachment items organized into descending
32
+ * month/year sections (newest first), in a single pass over the attachments.
33
+ *
34
+ * The result is shaped for GroupedVirtuoso: a single flat `items` array (items
35
+ * grouped contiguously by section) plus `groupCounts`/`sections` aligned with
36
+ * it, so the view never has to re-flatten. The raw attachment is kept
37
+ * untransformed; only the carrying message timestamp is captured for headers.
38
+ */
39
+ export declare const toChannelFileSections: (messages: Array<MessageResponse | LocalMessage>) => ChannelFileSections;
40
+ //# sourceMappingURL=ChannelFilesView.utils.d.ts.map