@apform-ui/core 1.10.9 → 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.
- package/dist/apform-ui.css +1 -1
- package/dist/apform-ui.js +2159 -1747
- package/dist/apform-ui.umd.cjs +39 -39
- package/dist/components/Chat/AgentTransferCard/AgentTransferCard.vue.d.ts +10 -0
- package/dist/components/Chat/AgentTransferCard/doc.d.ts +3 -0
- package/dist/components/Chat/AgentTransferCard/index.d.ts +1 -0
- package/dist/components/Chat/CollapsibleStepCard/CollapsibleStepCard.vue.d.ts +33 -0
- package/dist/components/Chat/CollapsibleStepCard/doc.d.ts +3 -0
- package/dist/components/Chat/CollapsibleStepCard/index.d.ts +2 -0
- package/dist/components/Chat/CollapsibleStepCard/types.d.ts +2 -0
- 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 +4 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
- package/src/docs/index.ts +12 -0
|
@@ -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 @@
|
|
|
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,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,10 @@ 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';
|
|
29
|
+
export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc';
|
|
30
|
+
export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc';
|
|
27
31
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
|
|
28
32
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
|
|
29
33
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
|
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,11 @@ 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';
|
|
91
|
+
export { CollapsibleStepCard } from './components/Chat/CollapsibleStepCard';
|
|
92
|
+
export type { StepCardTone } from './components/Chat/CollapsibleStepCard';
|
|
93
|
+
export { AgentTransferCard } from './components/Chat/AgentTransferCard';
|
|
89
94
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
90
95
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
91
96
|
export { ModelPicker } from './components/Chat/ModelPicker';
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -24,6 +24,10 @@ 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'
|
|
29
|
+
export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
|
|
30
|
+
export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
|
|
27
31
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
28
32
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
29
33
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -93,6 +97,10 @@ import { SessionSidebarDoc } from '../components/Chat/SessionSidebar/doc'
|
|
|
93
97
|
import { StreamStatusBannerDoc } from '../components/Chat/StreamStatusBanner/doc'
|
|
94
98
|
import { MentionInputDoc } from '../components/Chat/MentionInput/doc'
|
|
95
99
|
import { ThinkingBlockDoc } from '../components/Chat/ThinkingBlock/doc'
|
|
100
|
+
import { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard/doc'
|
|
101
|
+
import { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
|
|
102
|
+
import { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
|
|
103
|
+
import { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
|
|
96
104
|
import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
97
105
|
import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
98
106
|
import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -163,6 +171,10 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
163
171
|
StreamStatusBanner: StreamStatusBannerDoc,
|
|
164
172
|
MentionInput: MentionInputDoc,
|
|
165
173
|
ThinkingBlock: ThinkingBlockDoc,
|
|
174
|
+
EditableArtifactCard: EditableArtifactCardDoc,
|
|
175
|
+
MessageActionBar: MessageActionBarDoc,
|
|
176
|
+
CollapsibleStepCard: CollapsibleStepCardDoc,
|
|
177
|
+
AgentTransferCard: AgentTransferCardDoc,
|
|
166
178
|
AttachmentPreviewModal: AttachmentPreviewModalDoc,
|
|
167
179
|
DocumentSummaryList: DocumentSummaryListDoc,
|
|
168
180
|
MessageAttachmentList: MessageAttachmentListDoc,
|