@apform-ui/core 1.10.13 → 1.10.15
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 +5087 -4369
- package/dist/apform-ui.umd.cjs +59 -59
- package/dist/components/Chat/DocumentDetailSummaryCard/DocumentDetailSummaryCard.vue.d.ts +6 -0
- package/dist/components/Chat/DocumentDetailSummaryCard/doc.d.ts +3 -0
- package/dist/components/Chat/DocumentDetailSummaryCard/index.d.ts +2 -0
- package/dist/components/Chat/DocumentDetailSummaryCard/types.d.ts +18 -0
- package/dist/components/Chat/ErrorRecoveryCard/ErrorRecoveryCard.vue.d.ts +17 -0
- package/dist/components/Chat/ErrorRecoveryCard/doc.d.ts +3 -0
- package/dist/components/Chat/ErrorRecoveryCard/index.d.ts +2 -0
- package/dist/components/Chat/ErrorRecoveryCard/types.d.ts +8 -0
- package/dist/components/Chat/PptPreviewCard/PptPreviewCard.vue.d.ts +19 -0
- package/dist/components/Chat/PptPreviewCard/doc.d.ts +3 -0
- package/dist/components/Chat/PptPreviewCard/index.d.ts +2 -0
- package/dist/components/Chat/PptPreviewCard/types.d.ts +15 -0
- package/dist/components/Chat/SubWorkflowStatusCard/SubWorkflowStatusCard.vue.d.ts +22 -0
- package/dist/components/Chat/SubWorkflowStatusCard/doc.d.ts +3 -0
- package/dist/components/Chat/SubWorkflowStatusCard/index.d.ts +1 -0
- package/dist/components/Chat/VariableDiffCard/VariableDiffCard.vue.d.ts +9 -0
- package/dist/components/Chat/VariableDiffCard/doc.d.ts +3 -0
- package/dist/components/Chat/VariableDiffCard/index.d.ts +2 -0
- package/dist/components/Chat/VariableDiffCard/types.d.ts +7 -0
- package/dist/docs/index.d.ts +5 -0
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/docs/index.ts +15 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DocumentDetailSummaryItem } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: DocumentDetailSummaryItem;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 结构化文档摘要(含要点与章节)
|
|
3
|
+
*/
|
|
4
|
+
export interface DocumentDetailSummaryBody {
|
|
5
|
+
title: string;
|
|
6
|
+
summary: string;
|
|
7
|
+
keyPoints: string[];
|
|
8
|
+
sections: Array<{
|
|
9
|
+
heading: string;
|
|
10
|
+
content: string;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
/** DocumentDetailSummaryCard 入参 */
|
|
14
|
+
export interface DocumentDetailSummaryItem {
|
|
15
|
+
documentId?: string;
|
|
16
|
+
filename: string;
|
|
17
|
+
summary: DocumentDetailSummaryBody;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ErrorRecoveryStrategy } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 错误信息 */
|
|
4
|
+
error: string;
|
|
5
|
+
/** 节点名称 */
|
|
6
|
+
nodeName: string;
|
|
7
|
+
/** 节点类型 */
|
|
8
|
+
nodeType?: string;
|
|
9
|
+
/** 可选恢复策略 */
|
|
10
|
+
strategies: ErrorRecoveryStrategy[];
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
select: (strategy: string) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onSelect?: ((strategy: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PptSlide, PptMetadata } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 幻灯片列表 */
|
|
4
|
+
slides?: PptSlide[];
|
|
5
|
+
/** 元数据 */
|
|
6
|
+
metadata?: PptMetadata;
|
|
7
|
+
/** 加载中 */
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
/** 错误信息 */
|
|
10
|
+
error?: string;
|
|
11
|
+
/** 可下载 Blob */
|
|
12
|
+
blob?: Blob;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
download: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onDownload?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** PPT 幻灯片预览项 */
|
|
2
|
+
export interface PptSlide {
|
|
3
|
+
index: number;
|
|
4
|
+
type: 'title' | 'content' | 'chart' | 'comparison' | 'summary';
|
|
5
|
+
heading: string;
|
|
6
|
+
content?: string[];
|
|
7
|
+
speakerNotes?: string;
|
|
8
|
+
}
|
|
9
|
+
/** PPT 元数据 */
|
|
10
|
+
export interface PptMetadata {
|
|
11
|
+
title: string;
|
|
12
|
+
template: string;
|
|
13
|
+
totalSlides: number;
|
|
14
|
+
style: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 子工作流名称 */
|
|
3
|
+
workflowName: string;
|
|
4
|
+
/** 执行状态 */
|
|
5
|
+
status: string;
|
|
6
|
+
/** 耗时(毫秒) */
|
|
7
|
+
durationMs?: number;
|
|
8
|
+
/** 错误信息 */
|
|
9
|
+
error?: string;
|
|
10
|
+
/** 节点总数 */
|
|
11
|
+
nodeCount?: number;
|
|
12
|
+
/** 已完成节点数 */
|
|
13
|
+
completedNodes?: number;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
retry: () => any;
|
|
17
|
+
detail: () => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onRetry?: (() => any) | undefined;
|
|
20
|
+
onDetail?: (() => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubWorkflowStatusCard } from './SubWorkflowStatusCard.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariableDiffChange } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 关联节点名称 */
|
|
4
|
+
nodeName?: string;
|
|
5
|
+
/** 变更列表 */
|
|
6
|
+
changes: VariableDiffChange[];
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
export default _default;
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -34,6 +34,11 @@ export { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc';
|
|
|
34
34
|
export { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc';
|
|
35
35
|
export { ChecklistProposalCardDoc } from '../components/Chat/ChecklistProposalCard/doc';
|
|
36
36
|
export { RequirementAnalysisCardDoc } from '../components/Chat/RequirementAnalysisCard/doc';
|
|
37
|
+
export { DocumentDetailSummaryCardDoc } from '../components/Chat/DocumentDetailSummaryCard/doc';
|
|
38
|
+
export { ErrorRecoveryCardDoc } from '../components/Chat/ErrorRecoveryCard/doc';
|
|
39
|
+
export { VariableDiffCardDoc } from '../components/Chat/VariableDiffCard/doc';
|
|
40
|
+
export { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCard/doc';
|
|
41
|
+
export { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc';
|
|
37
42
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
|
|
38
43
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
|
|
39
44
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
|
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,15 @@ export { ChecklistProposalCard } from './components/Chat/ChecklistProposalCard';
|
|
|
102
102
|
export type { ChecklistProposal, ChecklistProposalItem, ChecklistItemPriority, ChecklistItemKind, } from './components/Chat/ChecklistProposalCard';
|
|
103
103
|
export { RequirementAnalysisCard } from './components/Chat/RequirementAnalysisCard';
|
|
104
104
|
export type { RequirementAnalysis, RequirementConfirmQuestion, } from './components/Chat/RequirementAnalysisCard';
|
|
105
|
+
export { DocumentDetailSummaryCard } from './components/Chat/DocumentDetailSummaryCard';
|
|
106
|
+
export type { DocumentDetailSummaryItem, DocumentDetailSummaryBody, } from './components/Chat/DocumentDetailSummaryCard';
|
|
107
|
+
export { ErrorRecoveryCard } from './components/Chat/ErrorRecoveryCard';
|
|
108
|
+
export type { ErrorRecoveryStrategy } from './components/Chat/ErrorRecoveryCard';
|
|
109
|
+
export { VariableDiffCard } from './components/Chat/VariableDiffCard';
|
|
110
|
+
export type { VariableDiffChange } from './components/Chat/VariableDiffCard';
|
|
111
|
+
export { SubWorkflowStatusCard } from './components/Chat/SubWorkflowStatusCard';
|
|
112
|
+
export { PptPreviewCard } from './components/Chat/PptPreviewCard';
|
|
113
|
+
export type { PptSlide, PptMetadata } from './components/Chat/PptPreviewCard';
|
|
105
114
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
106
115
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
107
116
|
export { ModelPicker } from './components/Chat/ModelPicker';
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -34,6 +34,11 @@ export { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc'
|
|
|
34
34
|
export { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc'
|
|
35
35
|
export { ChecklistProposalCardDoc } from '../components/Chat/ChecklistProposalCard/doc'
|
|
36
36
|
export { RequirementAnalysisCardDoc } from '../components/Chat/RequirementAnalysisCard/doc'
|
|
37
|
+
export { DocumentDetailSummaryCardDoc } from '../components/Chat/DocumentDetailSummaryCard/doc'
|
|
38
|
+
export { ErrorRecoveryCardDoc } from '../components/Chat/ErrorRecoveryCard/doc'
|
|
39
|
+
export { VariableDiffCardDoc } from '../components/Chat/VariableDiffCard/doc'
|
|
40
|
+
export { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCard/doc'
|
|
41
|
+
export { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc'
|
|
37
42
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
38
43
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
39
44
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -113,6 +118,11 @@ import { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc'
|
|
|
113
118
|
import { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc'
|
|
114
119
|
import { ChecklistProposalCardDoc } from '../components/Chat/ChecklistProposalCard/doc'
|
|
115
120
|
import { RequirementAnalysisCardDoc } from '../components/Chat/RequirementAnalysisCard/doc'
|
|
121
|
+
import { DocumentDetailSummaryCardDoc } from '../components/Chat/DocumentDetailSummaryCard/doc'
|
|
122
|
+
import { ErrorRecoveryCardDoc } from '../components/Chat/ErrorRecoveryCard/doc'
|
|
123
|
+
import { VariableDiffCardDoc } from '../components/Chat/VariableDiffCard/doc'
|
|
124
|
+
import { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCard/doc'
|
|
125
|
+
import { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc'
|
|
116
126
|
import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
117
127
|
import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
118
128
|
import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -193,6 +203,11 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
193
203
|
QuestionnaireCard: QuestionnaireCardDoc,
|
|
194
204
|
ChecklistProposalCard: ChecklistProposalCardDoc,
|
|
195
205
|
RequirementAnalysisCard: RequirementAnalysisCardDoc,
|
|
206
|
+
DocumentDetailSummaryCard: DocumentDetailSummaryCardDoc,
|
|
207
|
+
ErrorRecoveryCard: ErrorRecoveryCardDoc,
|
|
208
|
+
VariableDiffCard: VariableDiffCardDoc,
|
|
209
|
+
SubWorkflowStatusCard: SubWorkflowStatusCardDoc,
|
|
210
|
+
PptPreviewCard: PptPreviewCardDoc,
|
|
196
211
|
AttachmentPreviewModal: AttachmentPreviewModalDoc,
|
|
197
212
|
DocumentSummaryList: DocumentSummaryListDoc,
|
|
198
213
|
MessageAttachmentList: MessageAttachmentListDoc,
|