@mieweb/ui 0.10.0-dev.29 → 0.10.0-dev.30

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 (118) hide show
  1. package/dist/brands/index.cjs +7 -7
  2. package/dist/brands/index.js +2 -2
  3. package/dist/{chunk-JYZW2PZS.cjs → chunk-254QK722.cjs} +7 -7
  4. package/dist/chunk-254QK722.cjs.map +1 -0
  5. package/dist/{chunk-FBLVPM2K.js → chunk-2JICT4A2.js} +26 -10
  6. package/dist/chunk-2JICT4A2.js.map +1 -0
  7. package/dist/{chunk-S45EERW3.cjs → chunk-35Y4ILCU.cjs} +4 -4
  8. package/dist/{chunk-S45EERW3.cjs.map → chunk-35Y4ILCU.cjs.map} +1 -1
  9. package/dist/{chunk-2BARVD4C.js → chunk-3RXZWHCU.js} +3 -3
  10. package/dist/{chunk-2BARVD4C.js.map → chunk-3RXZWHCU.js.map} +1 -1
  11. package/dist/{chunk-MWVW4APN.cjs → chunk-7UTBDFFL.cjs} +4 -4
  12. package/dist/{chunk-MWVW4APN.cjs.map → chunk-7UTBDFFL.cjs.map} +1 -1
  13. package/dist/{chunk-FJ7YPVKV.js → chunk-7X6R3JIA.js} +3 -3
  14. package/dist/{chunk-FJ7YPVKV.js.map → chunk-7X6R3JIA.js.map} +1 -1
  15. package/dist/{chunk-SYRLCTDV.js → chunk-7ZV67VZE.js} +3 -3
  16. package/dist/{chunk-SYRLCTDV.js.map → chunk-7ZV67VZE.js.map} +1 -1
  17. package/dist/chunk-BNH4SXJB.js +874 -0
  18. package/dist/chunk-BNH4SXJB.js.map +1 -0
  19. package/dist/{chunk-N2CJJHHB.cjs → chunk-BUT6MF5K.cjs} +27 -11
  20. package/dist/chunk-BUT6MF5K.cjs.map +1 -0
  21. package/dist/{chunk-6VFDHJSO.cjs → chunk-COM7RNZU.cjs} +2 -2
  22. package/dist/{chunk-6VFDHJSO.cjs.map → chunk-COM7RNZU.cjs.map} +1 -1
  23. package/dist/{chunk-SQHMGT4W.js → chunk-GW4RFJZ5.js} +7 -7
  24. package/dist/chunk-GW4RFJZ5.js.map +1 -0
  25. package/dist/{chunk-JID7AZTO.cjs → chunk-H3ROMJYI.cjs} +4 -4
  26. package/dist/{chunk-JID7AZTO.cjs.map → chunk-H3ROMJYI.cjs.map} +1 -1
  27. package/dist/{chunk-DZFGTWYF.js → chunk-JBIGSP2T.js} +3 -3
  28. package/dist/{chunk-DZFGTWYF.js.map → chunk-JBIGSP2T.js.map} +1 -1
  29. package/dist/{chunk-33DEVA3P.js → chunk-JHG3ELS2.js} +2 -2
  30. package/dist/{chunk-33DEVA3P.js.map → chunk-JHG3ELS2.js.map} +1 -1
  31. package/dist/{chunk-WWJIW2IH.cjs → chunk-JSXIB6EJ.cjs} +4 -4
  32. package/dist/{chunk-WWJIW2IH.cjs.map → chunk-JSXIB6EJ.cjs.map} +1 -1
  33. package/dist/{chunk-H5YXAMVH.js → chunk-MLAWXPRY.js} +44 -2
  34. package/dist/chunk-MLAWXPRY.js.map +1 -0
  35. package/dist/{chunk-AAYXCZMV.cjs → chunk-NKV76R65.cjs} +4 -4
  36. package/dist/{chunk-AAYXCZMV.cjs.map → chunk-NKV76R65.cjs.map} +1 -1
  37. package/dist/{chunk-PYJDVWXM.js → chunk-NUB5HRKS.js} +3 -3
  38. package/dist/{chunk-PYJDVWXM.js.map → chunk-NUB5HRKS.js.map} +1 -1
  39. package/dist/{chunk-LL6IWKI3.js → chunk-OW3SQJ7P.js} +3 -3
  40. package/dist/{chunk-LL6IWKI3.js.map → chunk-OW3SQJ7P.js.map} +1 -1
  41. package/dist/{chunk-OUZDYJ33.cjs → chunk-QURJVPRH.cjs} +44 -2
  42. package/dist/chunk-QURJVPRH.cjs.map +1 -0
  43. package/dist/{chunk-TZJQB4P2.js → chunk-RM2HPQIC.js} +72 -14
  44. package/dist/chunk-RM2HPQIC.js.map +1 -0
  45. package/dist/{chunk-P4VGVJVI.js → chunk-SD7ONW6S.js} +3 -3
  46. package/dist/{chunk-P4VGVJVI.js.map → chunk-SD7ONW6S.js.map} +1 -1
  47. package/dist/chunk-WXFGHDTV.cjs +896 -0
  48. package/dist/chunk-WXFGHDTV.cjs.map +1 -0
  49. package/dist/chunk-XDU65GLW.js +21 -0
  50. package/dist/chunk-XDU65GLW.js.map +1 -0
  51. package/dist/{chunk-MYHV2ND3.cjs → chunk-XRVMYT5G.cjs} +72 -13
  52. package/dist/chunk-XRVMYT5G.cjs.map +1 -0
  53. package/dist/{chunk-I4LXSHKO.cjs → chunk-YRHBSSQ3.cjs} +4 -4
  54. package/dist/{chunk-I4LXSHKO.cjs.map → chunk-YRHBSSQ3.cjs.map} +1 -1
  55. package/dist/chunk-YW2AKBLS.cjs +23 -0
  56. package/dist/chunk-YW2AKBLS.cjs.map +1 -0
  57. package/dist/{chunk-B2X732V3.cjs → chunk-ZTMYKAVU.cjs} +4 -4
  58. package/dist/{chunk-B2X732V3.cjs.map → chunk-ZTMYKAVU.cjs.map} +1 -1
  59. package/dist/components/Collapsible/index.cjs +5 -5
  60. package/dist/components/Collapsible/index.js +2 -2
  61. package/dist/components/MediaEditor/index.cjs +8 -8
  62. package/dist/components/MediaEditor/index.js +3 -3
  63. package/dist/components/MediaFeed/index.cjs +26 -0
  64. package/dist/components/MediaFeed/index.cjs.map +1 -0
  65. package/dist/components/MediaFeed/index.d.cts +104 -0
  66. package/dist/components/MediaFeed/index.d.ts +104 -0
  67. package/dist/components/MediaFeed/index.js +17 -0
  68. package/dist/components/MediaFeed/index.js.map +1 -0
  69. package/dist/components/MediaPlayer/index.cjs +5 -5
  70. package/dist/components/MediaPlayer/index.d.cts +18 -0
  71. package/dist/components/MediaPlayer/index.d.ts +18 -0
  72. package/dist/components/MediaPlayer/index.js +2 -2
  73. package/dist/components/RadialExplorer/index.cjs +3 -3
  74. package/dist/components/RadialExplorer/index.js +2 -2
  75. package/dist/components/SliderCalculator/index.cjs +4 -4
  76. package/dist/components/SliderCalculator/index.js +2 -2
  77. package/dist/components/SuperChat/index.cjs +654 -292
  78. package/dist/components/SuperChat/index.cjs.map +1 -1
  79. package/dist/components/SuperChat/index.d.cts +35 -6
  80. package/dist/components/SuperChat/index.d.ts +35 -6
  81. package/dist/components/SuperChat/index.js +648 -286
  82. package/dist/components/SuperChat/index.js.map +1 -1
  83. package/dist/components/SuperChat/plugins/index.d.cts +2 -2
  84. package/dist/components/SuperChat/plugins/index.d.ts +2 -2
  85. package/dist/components/ThemeProvider/index.cjs +9 -9
  86. package/dist/components/ThemeProvider/index.js +3 -3
  87. package/dist/components/Tooltip/index.cjs +3 -3
  88. package/dist/components/Tooltip/index.js +2 -2
  89. package/dist/esheet.cjs +6 -6
  90. package/dist/esheet.js +3 -3
  91. package/dist/globe.cjs +2 -2
  92. package/dist/globe.js +1 -1
  93. package/dist/hooks/index.cjs +4 -4
  94. package/dist/hooks/index.js +2 -2
  95. package/dist/index.cjs +164 -214
  96. package/dist/index.cjs.map +1 -1
  97. package/dist/index.d.cts +120 -1
  98. package/dist/index.d.ts +120 -1
  99. package/dist/index.js +25 -82
  100. package/dist/index.js.map +1 -1
  101. package/dist/styles.css +1 -1
  102. package/dist/tailwind-preset.cjs +4 -4
  103. package/dist/tailwind-preset.js +1 -1
  104. package/dist/{types-DOxdTwmq.d.cts → types-Cx1FHLq2.d.cts} +130 -1
  105. package/dist/{types-DOxdTwmq.d.ts → types-Cx1FHLq2.d.ts} +130 -1
  106. package/package.json +1 -1
  107. package/dist/chunk-6HFFWEM3.cjs +0 -22
  108. package/dist/chunk-6HFFWEM3.cjs.map +0 -1
  109. package/dist/chunk-FBLVPM2K.js.map +0 -1
  110. package/dist/chunk-H5YXAMVH.js.map +0 -1
  111. package/dist/chunk-HB7C7NB5.js +0 -20
  112. package/dist/chunk-HB7C7NB5.js.map +0 -1
  113. package/dist/chunk-JYZW2PZS.cjs.map +0 -1
  114. package/dist/chunk-MYHV2ND3.cjs.map +0 -1
  115. package/dist/chunk-N2CJJHHB.cjs.map +0 -1
  116. package/dist/chunk-OUZDYJ33.cjs.map +0 -1
  117. package/dist/chunk-SQHMGT4W.js.map +0 -1
  118. package/dist/chunk-TZJQB4P2.js.map +0 -1
@@ -1,11 +1,23 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AIRenderTextContent, b as AttachmentKind, c as SuperChatLinkBuilder, d as SuperChatCopyFormat, C as ComposerAttachment, e as SuperChatRef } from '../../types-DOxdTwmq.cjs';
3
- export { f as AIMessageContent, g as AIMessageStatus, h as AITextRenderContext, G as GenUIBlockPayload, i as GenUIPrefetchPolicy, j as GenUIRegistry, k as GenUIWidgetEntry, l as GenUIWidgetProps, M as MCPResourceLink, P as Participant, m as ParticipantKind, n as ParticipantStatus, o as StandardSchemaV1, p as SuperChatChannel, q as SuperChatItemType, r as SuperChatMessage, s as SuperChatPluggable, t as SuperChatPluggableList } from '../../types-DOxdTwmq.cjs';
2
+ import { S as SuperChatConversation, a as SuperChatView, b as SuperChatMediaFeedProps, c as SuperChatMediaLabels, d as SuperChatRenderPlugin, A as AIRenderTextContent, e as AttachmentKind, f as SuperChatLinkBuilder, g as SuperChatCopyFormat, C as ComposerAttachment, h as SuperChatRef, i as SuperChatMediaItem } from '../../types-Cx1FHLq2.cjs';
3
+ export { j as AIMessageContent, k as AIMessageStatus, l as AITextRenderContext, G as GenUIBlockPayload, m as GenUIPrefetchPolicy, n as GenUIRegistry, o as GenUIWidgetEntry, p as GenUIWidgetProps, M as MCPResourceLink, P as Participant, q as ParticipantKind, r as ParticipantStatus, s as StandardSchemaV1, t as SuperChatChannel, u as SuperChatItemType, v as SuperChatMediaAttachment, w as SuperChatMessage, x as SuperChatPluggable, y as SuperChatPluggableList } from '../../types-Cx1FHLq2.cjs';
4
4
  import * as React from 'react';
5
5
 
6
6
  interface SuperChatProps {
7
7
  /** The conversation to display (host-owned state). */
8
8
  conversation: SuperChatConversation;
9
+ /** Controlled conversation view. The host still owns the same messages. */
10
+ view?: SuperChatView;
11
+ /** Initial uncontrolled view; defaults to the existing message thread. */
12
+ defaultView?: SuperChatView;
13
+ /** Fired when the user requests a thread/media view change. */
14
+ onViewChange?: (view: SuperChatView, meta: {
15
+ conversation: SuperChatConversation;
16
+ }) => void;
17
+ /** MediaFeed behavior, labels and action/render slots for explicit attachments. */
18
+ mediaFeedProps?: SuperChatMediaFeedProps;
19
+ /** Labels for media launches and returning to the conversation. */
20
+ mediaLabels?: Partial<SuperChatMediaLabels>;
9
21
  /** The participant id representing the local user (alignment + compose). */
10
22
  currentParticipantId?: string;
11
23
  /** Opt-in rich render plugins (code/math/genui/…). */
@@ -78,7 +90,7 @@ interface SuperChatProps {
78
90
  * Single-conversation chat panel. See the module `MAINTAINERS.md` for the
79
91
  * participant model and render-plugin architecture.
80
92
  */
81
- declare function SuperChat({ conversation, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
93
+ declare function SuperChat({ conversation, view, defaultView, onViewChange, mediaFeedProps, mediaLabels, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
82
94
 
83
95
  interface SuperChatConversationsProps {
84
96
  /** All conversations (host-owned state). */
@@ -100,6 +112,16 @@ declare function SuperChatConversations({ conversations, activeConversationId, d
100
112
  interface SuperChatInboxProps {
101
113
  /** All conversations (host-owned state). */
102
114
  conversations: SuperChatConversation[];
115
+ /** Controlled thread/media view, forwarded to the active conversation panel. */
116
+ view?: SuperChatProps['view'];
117
+ /** Initial uncontrolled panel view; defaults to 'thread'. */
118
+ defaultView?: SuperChatProps['defaultView'];
119
+ /** Fired with the active conversation when its view is changed. */
120
+ onViewChange?: SuperChatProps['onViewChange'];
121
+ /** MediaFeed behavior and slots; items remain scoped to the active conversation. */
122
+ mediaFeedProps?: SuperChatProps['mediaFeedProps'];
123
+ /** Labels for the view switch and attachment previews. */
124
+ mediaLabels?: SuperChatProps['mediaLabels'];
103
125
  /** Controlled active conversation id. */
104
126
  activeConversationId?: string;
105
127
  /** Uncontrolled initial active conversation id. */
@@ -141,7 +163,7 @@ interface SuperChatInboxProps {
141
163
  conversation: SuperChatConversation;
142
164
  mentions: string[];
143
165
  attachments: ComposerAttachment[];
144
- }) => void;
166
+ }) => void | Promise<void>;
145
167
  /** Fired when the local user saves an edit to one of their own messages. */
146
168
  onMessageEdited?: (messageId: string, text: string, meta: {
147
169
  conversation: SuperChatConversation;
@@ -156,7 +178,14 @@ interface SuperChatInboxProps {
156
178
  * the module `MAINTAINERS.md` for the participant model and render-plugin
157
179
  * architecture.
158
180
  */
159
- declare function SuperChatInbox({ conversations, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
181
+ declare function SuperChatInbox({ conversations, view, defaultView, onViewChange, mediaFeedProps, mediaLabels, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
182
+
183
+ /**
184
+ * Flatten explicit attachments in chronological message order. No Markdown or
185
+ * custom metadata is interpreted as media. The source objects are preserved,
186
+ * so actions can address the same message in either conversation view.
187
+ */
188
+ declare function getConversationMediaItems(conversation: SuperChatConversation): SuperChatMediaItem[];
160
189
 
161
190
  /**
162
191
  * SuperChat Markdown render composer.
@@ -205,4 +234,4 @@ interface SuperChatTextContext {
205
234
  declare const TextRenderContext: React.Context<SuperChatTextContext>;
206
235
  declare const useTextRenderContext: () => SuperChatTextContext;
207
236
 
208
- export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatCopyFormat, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, TextRenderContext, createMarkdownRenderer, useTextRenderContext };
237
+ export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatCopyFormat, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, SuperChatMediaFeedProps, SuperChatMediaItem, SuperChatMediaLabels, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, SuperChatView, TextRenderContext, createMarkdownRenderer, getConversationMediaItems, useTextRenderContext };
@@ -1,11 +1,23 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AIRenderTextContent, b as AttachmentKind, c as SuperChatLinkBuilder, d as SuperChatCopyFormat, C as ComposerAttachment, e as SuperChatRef } from '../../types-DOxdTwmq.js';
3
- export { f as AIMessageContent, g as AIMessageStatus, h as AITextRenderContext, G as GenUIBlockPayload, i as GenUIPrefetchPolicy, j as GenUIRegistry, k as GenUIWidgetEntry, l as GenUIWidgetProps, M as MCPResourceLink, P as Participant, m as ParticipantKind, n as ParticipantStatus, o as StandardSchemaV1, p as SuperChatChannel, q as SuperChatItemType, r as SuperChatMessage, s as SuperChatPluggable, t as SuperChatPluggableList } from '../../types-DOxdTwmq.js';
2
+ import { S as SuperChatConversation, a as SuperChatView, b as SuperChatMediaFeedProps, c as SuperChatMediaLabels, d as SuperChatRenderPlugin, A as AIRenderTextContent, e as AttachmentKind, f as SuperChatLinkBuilder, g as SuperChatCopyFormat, C as ComposerAttachment, h as SuperChatRef, i as SuperChatMediaItem } from '../../types-Cx1FHLq2.js';
3
+ export { j as AIMessageContent, k as AIMessageStatus, l as AITextRenderContext, G as GenUIBlockPayload, m as GenUIPrefetchPolicy, n as GenUIRegistry, o as GenUIWidgetEntry, p as GenUIWidgetProps, M as MCPResourceLink, P as Participant, q as ParticipantKind, r as ParticipantStatus, s as StandardSchemaV1, t as SuperChatChannel, u as SuperChatItemType, v as SuperChatMediaAttachment, w as SuperChatMessage, x as SuperChatPluggable, y as SuperChatPluggableList } from '../../types-Cx1FHLq2.js';
4
4
  import * as React from 'react';
5
5
 
6
6
  interface SuperChatProps {
7
7
  /** The conversation to display (host-owned state). */
8
8
  conversation: SuperChatConversation;
9
+ /** Controlled conversation view. The host still owns the same messages. */
10
+ view?: SuperChatView;
11
+ /** Initial uncontrolled view; defaults to the existing message thread. */
12
+ defaultView?: SuperChatView;
13
+ /** Fired when the user requests a thread/media view change. */
14
+ onViewChange?: (view: SuperChatView, meta: {
15
+ conversation: SuperChatConversation;
16
+ }) => void;
17
+ /** MediaFeed behavior, labels and action/render slots for explicit attachments. */
18
+ mediaFeedProps?: SuperChatMediaFeedProps;
19
+ /** Labels for media launches and returning to the conversation. */
20
+ mediaLabels?: Partial<SuperChatMediaLabels>;
9
21
  /** The participant id representing the local user (alignment + compose). */
10
22
  currentParticipantId?: string;
11
23
  /** Opt-in rich render plugins (code/math/genui/…). */
@@ -78,7 +90,7 @@ interface SuperChatProps {
78
90
  * Single-conversation chat panel. See the module `MAINTAINERS.md` for the
79
91
  * participant model and render-plugin architecture.
80
92
  */
81
- declare function SuperChat({ conversation, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
93
+ declare function SuperChat({ conversation, view, defaultView, onViewChange, mediaFeedProps, mediaLabels, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
82
94
 
83
95
  interface SuperChatConversationsProps {
84
96
  /** All conversations (host-owned state). */
@@ -100,6 +112,16 @@ declare function SuperChatConversations({ conversations, activeConversationId, d
100
112
  interface SuperChatInboxProps {
101
113
  /** All conversations (host-owned state). */
102
114
  conversations: SuperChatConversation[];
115
+ /** Controlled thread/media view, forwarded to the active conversation panel. */
116
+ view?: SuperChatProps['view'];
117
+ /** Initial uncontrolled panel view; defaults to 'thread'. */
118
+ defaultView?: SuperChatProps['defaultView'];
119
+ /** Fired with the active conversation when its view is changed. */
120
+ onViewChange?: SuperChatProps['onViewChange'];
121
+ /** MediaFeed behavior and slots; items remain scoped to the active conversation. */
122
+ mediaFeedProps?: SuperChatProps['mediaFeedProps'];
123
+ /** Labels for the view switch and attachment previews. */
124
+ mediaLabels?: SuperChatProps['mediaLabels'];
103
125
  /** Controlled active conversation id. */
104
126
  activeConversationId?: string;
105
127
  /** Uncontrolled initial active conversation id. */
@@ -141,7 +163,7 @@ interface SuperChatInboxProps {
141
163
  conversation: SuperChatConversation;
142
164
  mentions: string[];
143
165
  attachments: ComposerAttachment[];
144
- }) => void;
166
+ }) => void | Promise<void>;
145
167
  /** Fired when the local user saves an edit to one of their own messages. */
146
168
  onMessageEdited?: (messageId: string, text: string, meta: {
147
169
  conversation: SuperChatConversation;
@@ -156,7 +178,14 @@ interface SuperChatInboxProps {
156
178
  * the module `MAINTAINERS.md` for the participant model and render-plugin
157
179
  * architecture.
158
180
  */
159
- declare function SuperChatInbox({ conversations, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
181
+ declare function SuperChatInbox({ conversations, view, defaultView, onViewChange, mediaFeedProps, mediaLabels, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, defaultCopyFormat, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
182
+
183
+ /**
184
+ * Flatten explicit attachments in chronological message order. No Markdown or
185
+ * custom metadata is interpreted as media. The source objects are preserved,
186
+ * so actions can address the same message in either conversation view.
187
+ */
188
+ declare function getConversationMediaItems(conversation: SuperChatConversation): SuperChatMediaItem[];
160
189
 
161
190
  /**
162
191
  * SuperChat Markdown render composer.
@@ -205,4 +234,4 @@ interface SuperChatTextContext {
205
234
  declare const TextRenderContext: React.Context<SuperChatTextContext>;
206
235
  declare const useTextRenderContext: () => SuperChatTextContext;
207
236
 
208
- export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatCopyFormat, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, TextRenderContext, createMarkdownRenderer, useTextRenderContext };
237
+ export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatCopyFormat, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, SuperChatMediaFeedProps, SuperChatMediaItem, SuperChatMediaLabels, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, SuperChatView, TextRenderContext, createMarkdownRenderer, getConversationMediaItems, useTextRenderContext };