@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.
@@ -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,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** EditableArtifactCard 文档 */
3
+ export declare const EditableArtifactCardDoc: ComponentDoc;
@@ -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,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** MessageActionBar 文档 */
3
+ export declare const MessageActionBarDoc: ComponentDoc;
@@ -0,0 +1 @@
1
+ export { default as MessageActionBar } from './MessageActionBar.vue';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apform-ui/core",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",
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,