@apform-ui/core 1.10.10 → 1.10.11

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,10 @@
1
+ /**
2
+ * AgentTransferCard — 智能体移交提示条
3
+ */
4
+ type __VLS_Props = {
5
+ fromLabel: string;
6
+ toLabel: string;
7
+ reason?: 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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** AgentTransferCard 文档 */
3
+ export declare const AgentTransferCardDoc: ComponentDoc;
@@ -0,0 +1 @@
1
+ export { default as AgentTransferCard } from './AgentTransferCard.vue';
@@ -0,0 +1,33 @@
1
+ import { StepCardTone } from './types';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ subtitle?: string;
5
+ badge?: string;
6
+ statusLabel?: string;
7
+ tone?: StepCardTone;
8
+ timestamp?: string;
9
+ defaultCollapsed?: boolean;
10
+ /** 受控折叠;不传则内部管理 */
11
+ collapsed?: boolean;
12
+ };
13
+ declare var __VLS_1: {}, __VLS_3: {};
14
+ type __VLS_Slots = {} & {
15
+ icon?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_3) => any;
18
+ };
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:collapsed": (value: boolean) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
23
+ }>, {
24
+ defaultCollapsed: boolean;
25
+ tone: StepCardTone;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** CollapsibleStepCard 文档 */
3
+ export declare const CollapsibleStepCardDoc: ComponentDoc;
@@ -0,0 +1,2 @@
1
+ export { default as CollapsibleStepCard } from './CollapsibleStepCard.vue';
2
+ export type { StepCardTone } from './types';
@@ -0,0 +1,2 @@
1
+ /** 步骤卡片色调 */
2
+ export type StepCardTone = 'default' | 'success' | 'error' | 'running';
@@ -26,6 +26,8 @@ export { MentionInputDoc } from '../components/Chat/MentionInput/doc';
26
26
  export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc';
27
27
  export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc';
28
28
  export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc';
29
+ export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc';
30
+ export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc';
29
31
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
30
32
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
31
33
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
package/dist/index.d.ts CHANGED
@@ -88,6 +88,9 @@ export type { MentionTab, MentionResultItem, MentionChip, MentionSearchFn, } fro
88
88
  export { ThinkingBlock } from './components/Chat/ThinkingBlock';
89
89
  export { EditableArtifactCard } from './components/Chat/EditableArtifactCard';
90
90
  export { MessageActionBar } from './components/Chat/MessageActionBar';
91
+ export { CollapsibleStepCard } from './components/Chat/CollapsibleStepCard';
92
+ export type { StepCardTone } from './components/Chat/CollapsibleStepCard';
93
+ export { AgentTransferCard } from './components/Chat/AgentTransferCard';
91
94
  export { AssistantPicker } from './components/Chat/AssistantPicker';
92
95
  export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
93
96
  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.10",
3
+ "version": "1.10.11",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",
package/src/docs/index.ts CHANGED
@@ -26,6 +26,8 @@ export { MentionInputDoc } from '../components/Chat/MentionInput/doc'
26
26
  export { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
27
27
  export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
28
28
  export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
29
+ export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
30
+ export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
29
31
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
30
32
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
31
33
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -97,6 +99,8 @@ import { MentionInputDoc } from '../components/Chat/MentionInput/doc'
97
99
  import { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
98
100
  import { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
99
101
  import { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
102
+ import { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
103
+ import { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
100
104
  import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
101
105
  import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
102
106
  import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -169,6 +173,8 @@ export const componentDocs: Record<string, ComponentDoc> = {
169
173
  ThinkingBlock: ThinkingBlockDoc,
170
174
  EditableArtifactCard: EditableArtifactCardDoc,
171
175
  MessageActionBar: MessageActionBarDoc,
176
+ CollapsibleStepCard: CollapsibleStepCardDoc,
177
+ AgentTransferCard: AgentTransferCardDoc,
172
178
  AttachmentPreviewModal: AttachmentPreviewModalDoc,
173
179
  DocumentSummaryList: DocumentSummaryListDoc,
174
180
  MessageAttachmentList: MessageAttachmentListDoc,