@apform-ui/core 1.10.8 → 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';
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ content: string;
3
+ title?: string;
4
+ /** 副标题徽章(如「表单专家」) */
5
+ badge?: string;
6
+ defaultCollapsed?: boolean;
7
+ statusLabel?: string;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ title: string;
11
+ defaultCollapsed: boolean;
12
+ statusLabel: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** ThinkingBlock 文档 */
3
+ export declare const ThinkingBlockDoc: ComponentDoc;
@@ -0,0 +1 @@
1
+ export { default as ThinkingBlock } from './ThinkingBlock.vue';
@@ -23,6 +23,9 @@ export { RunStatusBarDoc } from '../components/Chat/RunStatusBar/doc';
23
23
  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
+ export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc';
27
+ export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc';
28
+ export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc';
26
29
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
27
30
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
28
31
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
package/dist/index.d.ts CHANGED
@@ -85,6 +85,9 @@ export { ConversationHeader } from './components/Chat/ConversationHeader';
85
85
  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
+ export { ThinkingBlock } from './components/Chat/ThinkingBlock';
89
+ export { EditableArtifactCard } from './components/Chat/EditableArtifactCard';
90
+ export { MessageActionBar } from './components/Chat/MessageActionBar';
88
91
  export { AssistantPicker } from './components/Chat/AssistantPicker';
89
92
  export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
90
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.8",
3
+ "version": "1.10.10",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",
package/src/docs/index.ts CHANGED
@@ -23,6 +23,9 @@ export { RunStatusBarDoc } from '../components/Chat/RunStatusBar/doc'
23
23
  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
+ export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
27
+ export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
28
+ export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
26
29
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
27
30
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
28
31
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -91,6 +94,9 @@ import { RunStatusBarDoc } from '../components/Chat/RunStatusBar/doc'
91
94
  import { SessionSidebarDoc } from '../components/Chat/SessionSidebar/doc'
92
95
  import { StreamStatusBannerDoc } from '../components/Chat/StreamStatusBanner/doc'
93
96
  import { MentionInputDoc } from '../components/Chat/MentionInput/doc'
97
+ import { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
98
+ import { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
99
+ import { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
94
100
  import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
95
101
  import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
96
102
  import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -160,6 +166,9 @@ export const componentDocs: Record<string, ComponentDoc> = {
160
166
  SessionSidebar: SessionSidebarDoc,
161
167
  StreamStatusBanner: StreamStatusBannerDoc,
162
168
  MentionInput: MentionInputDoc,
169
+ ThinkingBlock: ThinkingBlockDoc,
170
+ EditableArtifactCard: EditableArtifactCardDoc,
171
+ MessageActionBar: MessageActionBarDoc,
163
172
  AttachmentPreviewModal: AttachmentPreviewModalDoc,
164
173
  DocumentSummaryList: DocumentSummaryListDoc,
165
174
  MessageAttachmentList: MessageAttachmentListDoc,