@mieweb/ui 0.8.0-dev.0 → 0.8.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +162 -739
- package/agent/mieweb-ui.instructions.md +34 -16
- package/dist/CsvBlock-HMAZ7YK5.cjs +15 -0
- package/dist/{CsvBlock-OTFG3PYZ.cjs.map → CsvBlock-HMAZ7YK5.cjs.map} +1 -1
- package/dist/CsvBlock-RPGHFTVD.js +6 -0
- package/dist/{CsvBlock-PUSTBQ5B.js.map → CsvBlock-RPGHFTVD.js.map} +1 -1
- package/dist/SurveyBlock-ID55AT3R.js +6 -0
- package/dist/{SurveyBlock-JLHS3YQD.js.map → SurveyBlock-ID55AT3R.js.map} +1 -1
- package/dist/SurveyBlock-K6HKI7AD.cjs +15 -0
- package/dist/{SurveyBlock-M2ZRTGVJ.cjs.map → SurveyBlock-K6HKI7AD.cjs.map} +1 -1
- package/dist/{chunk-RZJXCI53.js → chunk-22CYDCXA.js} +3 -3
- package/dist/{chunk-RZJXCI53.js.map → chunk-22CYDCXA.js.map} +1 -1
- package/dist/{chunk-OTQ72WX3.js → chunk-2BPIVWAK.js} +3 -3
- package/dist/{chunk-OTQ72WX3.js.map → chunk-2BPIVWAK.js.map} +1 -1
- package/dist/{chunk-6EWJGRC3.js → chunk-3JWAABYI.js} +6 -6
- package/dist/chunk-3JWAABYI.js.map +1 -0
- package/dist/{chunk-5J5PEUUA.js → chunk-4KFVGIY6.js} +4 -4
- package/dist/{chunk-5J5PEUUA.js.map → chunk-4KFVGIY6.js.map} +1 -1
- package/dist/{chunk-A5YOIJKL.js → chunk-4KZIXV2J.js} +12 -12
- package/dist/{chunk-A5YOIJKL.js.map → chunk-4KZIXV2J.js.map} +1 -1
- package/dist/{chunk-WIYQI35R.cjs → chunk-4SIGL6QC.cjs} +4 -4
- package/dist/{chunk-WIYQI35R.cjs.map → chunk-4SIGL6QC.cjs.map} +1 -1
- package/dist/{chunk-4AE2L6AO.cjs → chunk-7FTBPLA6.cjs} +8 -8
- package/dist/chunk-7FTBPLA6.cjs.map +1 -0
- package/dist/{chunk-IILJGFI5.js → chunk-7IBZA7G6.js} +7 -5
- package/dist/chunk-7IBZA7G6.js.map +1 -0
- package/dist/{chunk-LQHI44OZ.cjs → chunk-7SFGEE4M.cjs} +16 -16
- package/dist/{chunk-LQHI44OZ.cjs.map → chunk-7SFGEE4M.cjs.map} +1 -1
- package/dist/{chunk-JHZW3Y62.js → chunk-7ZP3NNII.js} +3 -3
- package/dist/chunk-7ZP3NNII.js.map +1 -0
- package/dist/{chunk-SPWVKDGC.cjs → chunk-ABTO4RD6.cjs} +5 -5
- package/dist/{chunk-SPWVKDGC.cjs.map → chunk-ABTO4RD6.cjs.map} +1 -1
- package/dist/{chunk-ELYGV32O.cjs → chunk-AHHFFXJR.cjs} +4 -4
- package/dist/{chunk-ELYGV32O.cjs.map → chunk-AHHFFXJR.cjs.map} +1 -1
- package/dist/{chunk-MYFZYUPR.cjs → chunk-AOHJILLU.cjs} +38 -3
- package/dist/chunk-AOHJILLU.cjs.map +1 -0
- package/dist/{chunk-XBKOZRDO.js → chunk-ATOWMVZH.js} +3 -3
- package/dist/{chunk-XBKOZRDO.js.map → chunk-ATOWMVZH.js.map} +1 -1
- package/dist/{chunk-BOW7ZGI2.cjs → chunk-BT7SXNZU.cjs} +169 -9
- package/dist/chunk-BT7SXNZU.cjs.map +1 -0
- package/dist/{chunk-DX64KLSN.js → chunk-CLQUCPV6.js} +4 -4
- package/dist/{chunk-DX64KLSN.js.map → chunk-CLQUCPV6.js.map} +1 -1
- package/dist/{chunk-4PIW3Y5M.js → chunk-CLRWVJOD.js} +4 -4
- package/dist/{chunk-4PIW3Y5M.js.map → chunk-CLRWVJOD.js.map} +1 -1
- package/dist/{chunk-RYQ3S3KO.cjs → chunk-D6UXVOPS.cjs} +23 -20
- package/dist/chunk-D6UXVOPS.cjs.map +1 -0
- package/dist/{chunk-5JZIDILK.cjs → chunk-FK4ZV5VO.cjs} +3 -3
- package/dist/chunk-FK4ZV5VO.cjs.map +1 -0
- package/dist/{chunk-SK7H3Z67.cjs → chunk-FTDNNKHE.cjs} +14 -14
- package/dist/chunk-FTDNNKHE.cjs.map +1 -0
- package/dist/{chunk-FDV7EQWH.js → chunk-GPZDP2IA.js} +21 -18
- package/dist/chunk-GPZDP2IA.js.map +1 -0
- package/dist/{chunk-I2ECTLON.cjs → chunk-HXSA6QC5.cjs} +3 -3
- package/dist/{chunk-I2ECTLON.cjs.map → chunk-HXSA6QC5.cjs.map} +1 -1
- package/dist/{chunk-DCBMTFLE.js → chunk-HZ4MBUC3.js} +3 -3
- package/dist/{chunk-DCBMTFLE.js.map → chunk-HZ4MBUC3.js.map} +1 -1
- package/dist/{chunk-U3JU6BI5.cjs → chunk-JEIW7BSV.cjs} +3 -3
- package/dist/{chunk-U3JU6BI5.cjs.map → chunk-JEIW7BSV.cjs.map} +1 -1
- package/dist/{chunk-4CUFXCC5.cjs → chunk-JIU6CVPF.cjs} +3 -3
- package/dist/{chunk-4CUFXCC5.cjs.map → chunk-JIU6CVPF.cjs.map} +1 -1
- package/dist/{chunk-56QJHQ5C.cjs → chunk-K5GQPTTA.cjs} +4 -4
- package/dist/{chunk-56QJHQ5C.cjs.map → chunk-K5GQPTTA.cjs.map} +1 -1
- package/dist/{chunk-XMECP2MD.js → chunk-KFEN2SRZ.js} +3 -3
- package/dist/{chunk-XMECP2MD.js.map → chunk-KFEN2SRZ.js.map} +1 -1
- package/dist/{chunk-EKRT7K2K.js → chunk-KLLRTTC5.js} +11 -11
- package/dist/chunk-KLLRTTC5.js.map +1 -0
- package/dist/{chunk-L6D4CKLV.cjs → chunk-KOISIOUB.cjs} +103 -3
- package/dist/chunk-KOISIOUB.cjs.map +1 -0
- package/dist/{chunk-IYXCFIMP.js → chunk-LCCJIEPO.js} +10 -10
- package/dist/chunk-LCCJIEPO.js.map +1 -0
- package/dist/{chunk-LZU7YBXG.js → chunk-LZVPVY5P.js} +168 -9
- package/dist/chunk-LZVPVY5P.js.map +1 -0
- package/dist/{chunk-YMHOF6WA.cjs → chunk-MYAU2ZUC.cjs} +3 -3
- package/dist/{chunk-YMHOF6WA.cjs.map → chunk-MYAU2ZUC.cjs.map} +1 -1
- package/dist/{chunk-JHGMZX4I.cjs → chunk-NFKX6QJP.cjs} +5 -5
- package/dist/{chunk-JHGMZX4I.cjs.map → chunk-NFKX6QJP.cjs.map} +1 -1
- package/dist/{chunk-KVE7PQ5P.cjs → chunk-NPW226H5.cjs} +8 -8
- package/dist/{chunk-KVE7PQ5P.cjs.map → chunk-NPW226H5.cjs.map} +1 -1
- package/dist/{chunk-EPQPUFS6.cjs → chunk-NYJIXR4Y.cjs} +6 -6
- package/dist/chunk-NYJIXR4Y.cjs.map +1 -0
- package/dist/{chunk-FDUA6OGN.js → chunk-PFKRHNYV.js} +8 -8
- package/dist/chunk-PFKRHNYV.js.map +1 -0
- package/dist/{chunk-ZZJ4ZVYR.cjs → chunk-PJ6CC53R.cjs} +3 -3
- package/dist/{chunk-ZZJ4ZVYR.cjs.map → chunk-PJ6CC53R.cjs.map} +1 -1
- package/dist/{chunk-N3Y43KOB.js → chunk-Q4NRKKIW.js} +11 -4
- package/dist/chunk-Q4NRKKIW.js.map +1 -0
- package/dist/{chunk-SEPYBAML.js → chunk-RVGTI4F6.js} +3 -3
- package/dist/{chunk-SEPYBAML.js.map → chunk-RVGTI4F6.js.map} +1 -1
- package/dist/{chunk-5Y5FSR4N.js → chunk-SCXELRRZ.js} +3 -3
- package/dist/{chunk-5Y5FSR4N.js.map → chunk-SCXELRRZ.js.map} +1 -1
- package/dist/{chunk-K4S4FAYX.cjs → chunk-SNSA6NWD.cjs} +4 -4
- package/dist/{chunk-K4S4FAYX.cjs.map → chunk-SNSA6NWD.cjs.map} +1 -1
- package/dist/{chunk-XWYKLEKG.js → chunk-SRMTRD7F.js} +10 -4
- package/dist/chunk-SRMTRD7F.js.map +1 -0
- package/dist/{chunk-AESFOMSH.js → chunk-SZ6H4RJG.js} +103 -3
- package/dist/chunk-SZ6H4RJG.js.map +1 -0
- package/dist/{chunk-5U6GETAW.js → chunk-TQDZLRIE.js} +3 -3
- package/dist/chunk-TQDZLRIE.js.map +1 -0
- package/dist/{chunk-QGZC43L7.js → chunk-UBOVDAD7.js} +4 -4
- package/dist/{chunk-QGZC43L7.js.map → chunk-UBOVDAD7.js.map} +1 -1
- package/dist/{chunk-7L7OPISJ.cjs → chunk-UEDTZYGI.cjs} +11 -5
- package/dist/chunk-UEDTZYGI.cjs.map +1 -0
- package/dist/{chunk-DG7KE4YJ.cjs → chunk-VA3WQ5KJ.cjs} +3 -3
- package/dist/{chunk-DG7KE4YJ.cjs.map → chunk-VA3WQ5KJ.cjs.map} +1 -1
- package/dist/{chunk-H7QSGFMZ.cjs → chunk-VKNCQIVN.cjs} +11 -4
- package/dist/chunk-VKNCQIVN.cjs.map +1 -0
- package/dist/{chunk-XO3WLK65.js → chunk-VVDE4CHU.js} +3 -3
- package/dist/{chunk-XO3WLK65.js.map → chunk-VVDE4CHU.js.map} +1 -1
- package/dist/{chunk-XS35KPBZ.cjs → chunk-WIAQQNFU.cjs} +4 -4
- package/dist/{chunk-XS35KPBZ.cjs.map → chunk-WIAQQNFU.cjs.map} +1 -1
- package/dist/{chunk-QHTDWIED.js → chunk-WKUDITGD.js} +4 -4
- package/dist/{chunk-QHTDWIED.js.map → chunk-WKUDITGD.js.map} +1 -1
- package/dist/{chunk-BOOJDRJO.js → chunk-WSNMQQ4P.js} +38 -3
- package/dist/chunk-WSNMQQ4P.js.map +1 -0
- package/dist/{chunk-DWCYEPTT.js → chunk-XNU4NTVE.js} +3 -3
- package/dist/{chunk-DWCYEPTT.js.map → chunk-XNU4NTVE.js.map} +1 -1
- package/dist/{chunk-FF235PKY.cjs → chunk-XWZEECEX.cjs} +3 -3
- package/dist/chunk-XWZEECEX.cjs.map +1 -0
- package/dist/{chunk-26DPQUSB.cjs → chunk-ZONEAWPR.cjs} +12 -12
- package/dist/chunk-ZONEAWPR.cjs.map +1 -0
- package/dist/{chunk-U5TTXN45.cjs → chunk-ZSGEGISB.cjs} +8 -6
- package/dist/chunk-ZSGEGISB.cjs.map +1 -0
- package/dist/components/Alert/index.cjs +5 -5
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Autocomplete/index.cjs +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Avatar/index.cjs +5 -5
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Breadcrumb/index.cjs +3 -3
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/DateInput/index.cjs +3 -3
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/Dropdown/index.cjs +12 -8
- package/dist/components/Dropdown/index.d.cts +38 -2
- package/dist/components/Dropdown/index.d.ts +38 -2
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/FloatingWindow/index.cjs +3 -3
- package/dist/components/FloatingWindow/index.js +1 -1
- package/dist/components/GlossaryTooltip/index.cjs +3 -3
- package/dist/components/GlossaryTooltip/index.js +2 -2
- package/dist/components/Markdown/index.cjs +9 -9
- package/dist/components/Markdown/index.js +3 -3
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- package/dist/components/Pagination/index.cjs +4 -4
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/RichTextEditor/index.cjs +6 -6
- package/dist/components/RichTextEditor/index.js +3 -3
- package/dist/components/SectionSpyNav/index.cjs +2 -2
- package/dist/components/SectionSpyNav/index.js +1 -1
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SourceTip/index.cjs +3 -3
- package/dist/components/SourceTip/index.js +2 -2
- package/dist/components/SuperChat/index.cjs +263 -105
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +13 -5
- package/dist/components/SuperChat/index.d.ts +13 -5
- package/dist/components/SuperChat/index.js +254 -96
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +6 -6
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +2 -2
- package/dist/components/SuperChat/plugins/index.d.ts +2 -2
- package/dist/components/SuperChat/plugins/index.js +5 -5
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/TranscriptView/index.cjs +3 -3
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/esheet.cjs +7 -7
- package/dist/esheet.js +4 -4
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +772 -734
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -15
- package/dist/index.d.ts +52 -15
- package/dist/index.js +527 -494
- package/dist/index.js.map +1 -1
- package/dist/styles/init.css +25 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{types-BoTeTPdH.d.ts → types-9vK_YdEb.d.ts} +12 -1
- package/dist/{types-DyIB9HYT.d.cts → types-DZDroUW8.d.cts} +12 -1
- package/dist/{useAnchoredPosition-C7PNglzD.d.ts → useAnchoredPosition-CKwLSQW8.d.cts} +10 -3
- package/dist/{useAnchoredPosition-C7PNglzD.d.cts → useAnchoredPosition-CKwLSQW8.d.ts} +10 -3
- package/package.json +5 -2
- package/dist/CsvBlock-OTFG3PYZ.cjs +0 -15
- package/dist/CsvBlock-PUSTBQ5B.js +0 -6
- package/dist/SurveyBlock-JLHS3YQD.js +0 -6
- package/dist/SurveyBlock-M2ZRTGVJ.cjs +0 -15
- package/dist/chunk-26DPQUSB.cjs.map +0 -1
- package/dist/chunk-4AE2L6AO.cjs.map +0 -1
- package/dist/chunk-5JZIDILK.cjs.map +0 -1
- package/dist/chunk-5U6GETAW.js.map +0 -1
- package/dist/chunk-6EWJGRC3.js.map +0 -1
- package/dist/chunk-7L7OPISJ.cjs.map +0 -1
- package/dist/chunk-AESFOMSH.js.map +0 -1
- package/dist/chunk-BOOJDRJO.js.map +0 -1
- package/dist/chunk-BOW7ZGI2.cjs.map +0 -1
- package/dist/chunk-EKRT7K2K.js.map +0 -1
- package/dist/chunk-EPQPUFS6.cjs.map +0 -1
- package/dist/chunk-FDUA6OGN.js.map +0 -1
- package/dist/chunk-FDV7EQWH.js.map +0 -1
- package/dist/chunk-FF235PKY.cjs.map +0 -1
- package/dist/chunk-H7QSGFMZ.cjs.map +0 -1
- package/dist/chunk-IILJGFI5.js.map +0 -1
- package/dist/chunk-IYXCFIMP.js.map +0 -1
- package/dist/chunk-JHZW3Y62.js.map +0 -1
- package/dist/chunk-L6D4CKLV.cjs.map +0 -1
- package/dist/chunk-LZU7YBXG.js.map +0 -1
- package/dist/chunk-MYFZYUPR.cjs.map +0 -1
- package/dist/chunk-N3Y43KOB.js.map +0 -1
- package/dist/chunk-RYQ3S3KO.cjs.map +0 -1
- package/dist/chunk-SK7H3Z67.cjs.map +0 -1
- package/dist/chunk-U5TTXN45.cjs.map +0 -1
- package/dist/chunk-XWYKLEKG.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment,
|
|
3
|
-
export { G as GenUIBlockPayload,
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-DZDroUW8.cjs';
|
|
3
|
+
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-DZDroUW8.cjs';
|
|
4
4
|
import { b as AIRenderTextContent } from '../../types-B2RLmdVd.cjs';
|
|
5
5
|
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-B2RLmdVd.cjs';
|
|
6
6
|
import * as React from 'react';
|
|
@@ -39,6 +39,12 @@ interface SuperChatProps {
|
|
|
39
39
|
virtualized?: boolean;
|
|
40
40
|
/** Build hrefs for `ref` thread items. */
|
|
41
41
|
linkBuilder?: SuperChatLinkBuilder;
|
|
42
|
+
/**
|
|
43
|
+
* Format for a message's default copy action (Ctrl/Cmd-click on the footer
|
|
44
|
+
* copy button). All formats stay reachable per message via the copy menus.
|
|
45
|
+
* Defaults to `'rich'`.
|
|
46
|
+
*/
|
|
47
|
+
defaultCopyFormat?: SuperChatCopyFormat;
|
|
42
48
|
/** Additional class name. */
|
|
43
49
|
className?: string;
|
|
44
50
|
onMessageSent?: (text: string, meta: {
|
|
@@ -67,7 +73,7 @@ interface SuperChatProps {
|
|
|
67
73
|
* Single-conversation chat panel. See the module `MAINTAINERS.md` for the
|
|
68
74
|
* participant model and render-plugin architecture.
|
|
69
75
|
*/
|
|
70
|
-
declare function SuperChat({ conversation, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
|
|
76
|
+
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;
|
|
71
77
|
|
|
72
78
|
interface SuperChatConversationsProps {
|
|
73
79
|
/** All conversations (host-owned state). */
|
|
@@ -116,6 +122,8 @@ interface SuperChatInboxProps {
|
|
|
116
122
|
showSidebar?: boolean;
|
|
117
123
|
/** Build hrefs for `ref` thread items. */
|
|
118
124
|
linkBuilder?: SuperChatLinkBuilder;
|
|
125
|
+
/** Format for a message's default copy action (Ctrl/Cmd-click on copy). */
|
|
126
|
+
defaultCopyFormat?: SuperChatCopyFormat;
|
|
119
127
|
/** Additional class name. */
|
|
120
128
|
className?: string;
|
|
121
129
|
onMessageSent?: (text: string, meta: {
|
|
@@ -137,7 +145,7 @@ interface SuperChatInboxProps {
|
|
|
137
145
|
* the module `MAINTAINERS.md` for the participant model and render-plugin
|
|
138
146
|
* architecture.
|
|
139
147
|
*/
|
|
140
|
-
declare function SuperChatInbox({ conversations, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
|
|
148
|
+
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;
|
|
141
149
|
|
|
142
150
|
/**
|
|
143
151
|
* SuperChat Markdown render composer.
|
|
@@ -186,4 +194,4 @@ interface SuperChatTextContext {
|
|
|
186
194
|
declare const TextRenderContext: React.Context<SuperChatTextContext>;
|
|
187
195
|
declare const useTextRenderContext: () => SuperChatTextContext;
|
|
188
196
|
|
|
189
|
-
export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, TextRenderContext, createMarkdownRenderer, useTextRenderContext };
|
|
197
|
+
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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, C as ComposerAttachment,
|
|
3
|
-
export { G as GenUIBlockPayload,
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-9vK_YdEb.js';
|
|
3
|
+
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-9vK_YdEb.js';
|
|
4
4
|
import { b as AIRenderTextContent } from '../../types-B2RLmdVd.js';
|
|
5
5
|
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-B2RLmdVd.js';
|
|
6
6
|
import * as React from 'react';
|
|
@@ -39,6 +39,12 @@ interface SuperChatProps {
|
|
|
39
39
|
virtualized?: boolean;
|
|
40
40
|
/** Build hrefs for `ref` thread items. */
|
|
41
41
|
linkBuilder?: SuperChatLinkBuilder;
|
|
42
|
+
/**
|
|
43
|
+
* Format for a message's default copy action (Ctrl/Cmd-click on the footer
|
|
44
|
+
* copy button). All formats stay reachable per message via the copy menus.
|
|
45
|
+
* Defaults to `'rich'`.
|
|
46
|
+
*/
|
|
47
|
+
defaultCopyFormat?: SuperChatCopyFormat;
|
|
42
48
|
/** Additional class name. */
|
|
43
49
|
className?: string;
|
|
44
50
|
onMessageSent?: (text: string, meta: {
|
|
@@ -67,7 +73,7 @@ interface SuperChatProps {
|
|
|
67
73
|
* Single-conversation chat panel. See the module `MAINTAINERS.md` for the
|
|
68
74
|
* participant model and render-plugin architecture.
|
|
69
75
|
*/
|
|
70
|
-
declare function SuperChat({ conversation, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, linkBuilder, className, onMessageSent, onMessageEdited, onConversationClosed, onReferenceClick, onBack, }: SuperChatProps): react_jsx_runtime.JSX.Element;
|
|
76
|
+
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;
|
|
71
77
|
|
|
72
78
|
interface SuperChatConversationsProps {
|
|
73
79
|
/** All conversations (host-owned state). */
|
|
@@ -116,6 +122,8 @@ interface SuperChatInboxProps {
|
|
|
116
122
|
showSidebar?: boolean;
|
|
117
123
|
/** Build hrefs for `ref` thread items. */
|
|
118
124
|
linkBuilder?: SuperChatLinkBuilder;
|
|
125
|
+
/** Format for a message's default copy action (Ctrl/Cmd-click on copy). */
|
|
126
|
+
defaultCopyFormat?: SuperChatCopyFormat;
|
|
119
127
|
/** Additional class name. */
|
|
120
128
|
className?: string;
|
|
121
129
|
onMessageSent?: (text: string, meta: {
|
|
@@ -137,7 +145,7 @@ interface SuperChatInboxProps {
|
|
|
137
145
|
* the module `MAINTAINERS.md` for the participant model and render-plugin
|
|
138
146
|
* architecture.
|
|
139
147
|
*/
|
|
140
|
-
declare function SuperChatInbox({ conversations, activeConversationId, defaultActiveConversationId, currentParticipantId, renderPlugins, renderTextContent, trustedContent, readOnly, acceptedFileTypes, order, virtualized, showSidebar, linkBuilder, className, onMessageSent, onMessageEdited, onConversationOpened, onConversationClosed, onNewConversation, onReferenceClick, }: SuperChatInboxProps): react_jsx_runtime.JSX.Element;
|
|
148
|
+
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;
|
|
141
149
|
|
|
142
150
|
/**
|
|
143
151
|
* SuperChat Markdown render composer.
|
|
@@ -186,4 +194,4 @@ interface SuperChatTextContext {
|
|
|
186
194
|
declare const TextRenderContext: React.Context<SuperChatTextContext>;
|
|
187
195
|
declare const useTextRenderContext: () => SuperChatTextContext;
|
|
188
196
|
|
|
189
|
-
export { AIRenderTextContent, AttachmentKind, ComposerAttachment, type CreateMarkdownRendererOptions, SuperChat, SuperChatConversation, SuperChatConversations, type SuperChatConversationsProps, SuperChatInbox, type SuperChatInboxProps, SuperChatLinkBuilder, type SuperChatProps, SuperChatRef, SuperChatRenderPlugin, type SuperChatTextContext, TextRenderContext, createMarkdownRenderer, useTextRenderContext };
|
|
197
|
+
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 };
|