@apform-ui/core 1.10.9 → 1.10.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/dist/apform-ui.css +1 -1
- package/dist/apform-ui.js +1603 -1342
- package/dist/apform-ui.umd.cjs +39 -39
- package/dist/components/Chat/EditableArtifactCard/EditableArtifactCard.vue.d.ts +20 -0
- package/dist/components/Chat/EditableArtifactCard/doc.d.ts +3 -0
- package/dist/components/Chat/EditableArtifactCard/index.d.ts +1 -0
- package/dist/components/Chat/MessageActionBar/MessageActionBar.vue.d.ts +23 -0
- package/dist/components/Chat/MessageActionBar/doc.d.ts +3 -0
- package/dist/components/Chat/MessageActionBar/index.d.ts +1 -0
- package/dist/docs/index.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/docs/index.ts +6 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
content: string;
|
|
3
|
+
/** artifact 类型:code | json | html */
|
|
4
|
+
artifactType?: string;
|
|
5
|
+
language?: string;
|
|
6
|
+
sendBackLabel?: string;
|
|
7
|
+
hint?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
copy: (content: string) => any;
|
|
11
|
+
sendback: (content: string, language: string) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onCopy?: ((content: string) => any) | undefined;
|
|
14
|
+
onSendback?: ((content: string, language: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
hint: string;
|
|
17
|
+
artifactType: string;
|
|
18
|
+
sendBackLabel: string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EditableArtifactCard } from './EditableArtifactCard.vue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
content?: string;
|
|
3
|
+
feedback?: 'positive' | 'negative' | null;
|
|
4
|
+
/** 父级 hover 时显示(带延迟) */
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
showCopy?: boolean;
|
|
7
|
+
showRegenerate?: boolean;
|
|
8
|
+
showFeedback?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
copy: () => any;
|
|
12
|
+
feedback: (type: "positive" | "negative") => any;
|
|
13
|
+
regenerate: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onCopy?: (() => any) | undefined;
|
|
16
|
+
onFeedback?: ((type: "positive" | "negative") => any) | undefined;
|
|
17
|
+
onRegenerate?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
showCopy: boolean;
|
|
20
|
+
showRegenerate: boolean;
|
|
21
|
+
showFeedback: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MessageActionBar } from './MessageActionBar.vue';
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export { SessionSidebarDoc } from '../components/Chat/SessionSidebar/doc';
|
|
|
24
24
|
export { StreamStatusBannerDoc } from '../components/Chat/StreamStatusBanner/doc';
|
|
25
25
|
export { MentionInputDoc } from '../components/Chat/MentionInput/doc';
|
|
26
26
|
export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc';
|
|
27
|
+
export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc';
|
|
28
|
+
export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc';
|
|
27
29
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
|
|
28
30
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
|
|
29
31
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
|
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ export { PendingAttachmentChip } from './components/Chat/PendingAttachmentChip';
|
|
|
86
86
|
export { MentionInput } from './components/Chat/MentionInput';
|
|
87
87
|
export type { MentionTab, MentionResultItem, MentionChip, MentionSearchFn, } from './components/Chat/MentionInput';
|
|
88
88
|
export { ThinkingBlock } from './components/Chat/ThinkingBlock';
|
|
89
|
+
export { EditableArtifactCard } from './components/Chat/EditableArtifactCard';
|
|
90
|
+
export { MessageActionBar } from './components/Chat/MessageActionBar';
|
|
89
91
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
90
92
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
91
93
|
export { ModelPicker } from './components/Chat/ModelPicker';
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -24,6 +24,8 @@ export { SessionSidebarDoc } from '../components/Chat/SessionSidebar/doc'
|
|
|
24
24
|
export { StreamStatusBannerDoc } from '../components/Chat/StreamStatusBanner/doc'
|
|
25
25
|
export { MentionInputDoc } from '../components/Chat/MentionInput/doc'
|
|
26
26
|
export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
|
|
27
|
+
export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
|
|
28
|
+
export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
|
|
27
29
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
28
30
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
29
31
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -93,6 +95,8 @@ import { SessionSidebarDoc } from '../components/Chat/SessionSidebar/doc'
|
|
|
93
95
|
import { StreamStatusBannerDoc } from '../components/Chat/StreamStatusBanner/doc'
|
|
94
96
|
import { MentionInputDoc } from '../components/Chat/MentionInput/doc'
|
|
95
97
|
import { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
|
|
98
|
+
import { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
|
|
99
|
+
import { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
|
|
96
100
|
import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
97
101
|
import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
98
102
|
import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -163,6 +167,8 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
163
167
|
StreamStatusBanner: StreamStatusBannerDoc,
|
|
164
168
|
MentionInput: MentionInputDoc,
|
|
165
169
|
ThinkingBlock: ThinkingBlockDoc,
|
|
170
|
+
EditableArtifactCard: EditableArtifactCardDoc,
|
|
171
|
+
MessageActionBar: MessageActionBarDoc,
|
|
166
172
|
AttachmentPreviewModal: AttachmentPreviewModalDoc,
|
|
167
173
|
DocumentSummaryList: DocumentSummaryListDoc,
|
|
168
174
|
MessageAttachmentList: MessageAttachmentListDoc,
|