@apform-ui/core 1.9.1 → 1.10.1
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 +2831 -2699
- package/dist/apform-ui.umd.cjs +48 -48
- package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +13 -1
- package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +22 -0
- package/dist/components/ExecutionArtifactPanel/doc.d.ts +3 -0
- package/dist/components/ExecutionArtifactPanel/index.d.ts +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/types/artifact.d.ts +8 -0
- package/package.json +1 -1
- package/src/docs/index.ts +3 -0
|
@@ -8,7 +8,13 @@ type __VLS_Props = {
|
|
|
8
8
|
/** 会话消息列表(用于向前合并用户附件做摘要匹配 / gallery) */
|
|
9
9
|
sessionMessages?: Message[];
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
11
|
+
declare var __VLS_12: {}, __VLS_14: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
content?: (props: typeof __VLS_12) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_14) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
18
|
cancel: () => any;
|
|
13
19
|
retry: () => any;
|
|
14
20
|
preview: (attachment: MessageAttachment) => any;
|
|
@@ -21,4 +27,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
27
|
onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
|
|
22
28
|
"onOpen-process"?: (() => any) | undefined;
|
|
23
29
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
31
|
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ArtifactItem, ArtifactGroup } from '../../types/artifact';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 扁平产物列表(无 groups 时使用) */
|
|
4
|
+
items?: ArtifactItem[];
|
|
5
|
+
/** 按节点分组;优先于 items */
|
|
6
|
+
groups?: ArtifactGroup[];
|
|
7
|
+
title?: string;
|
|
8
|
+
max?: number;
|
|
9
|
+
/** 是否显示类型筛选 */
|
|
10
|
+
showFilters?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
preview: (item: ArtifactItem) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onPreview?: ((item: ArtifactItem) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
title: string;
|
|
18
|
+
max: number;
|
|
19
|
+
items: ArtifactItem[];
|
|
20
|
+
showFilters: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ExecutionArtifactPanel } from './ExecutionArtifactPanel.vue';
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -66,5 +66,6 @@ export { FileChipDoc } from '../components/FileChip/doc';
|
|
|
66
66
|
export { ArtifactGalleryDoc } from '../components/ArtifactGallery/doc';
|
|
67
67
|
export { NodeArtifactStripDoc } from '../components/NodeArtifactStrip/doc';
|
|
68
68
|
export { HitlArtifactPanelDoc } from '../components/HitlArtifactPanel/doc';
|
|
69
|
+
export { ExecutionArtifactPanelDoc } from '../components/ExecutionArtifactPanel/doc';
|
|
69
70
|
/** 按组件名索引的文档表 */
|
|
70
71
|
export declare const componentDocs: Record<string, ComponentDoc>;
|
package/dist/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export { FileChip } from './components/FileChip';
|
|
|
71
71
|
export { ArtifactGallery } from './components/ArtifactGallery';
|
|
72
72
|
export { NodeArtifactStrip } from './components/NodeArtifactStrip';
|
|
73
73
|
export { HitlArtifactPanel } from './components/HitlArtifactPanel';
|
|
74
|
+
export { ExecutionArtifactPanel } from './components/ExecutionArtifactPanel';
|
|
74
75
|
export { MessageBubble } from './components/Chat/MessageBubble';
|
|
75
76
|
export { MessageList } from './components/Chat/MessageList';
|
|
76
77
|
export { Composer } from './components/Chat/Composer';
|
|
@@ -110,6 +111,6 @@ export type { TextPart } from './utils/textParser';
|
|
|
110
111
|
export { isImage, isPdf, isOffice, isPreviewable, fileKind, formatSize } from './utils/attachmentKind';
|
|
111
112
|
export { extractDocumentId, detectArtifactKind, normalizeNodeOutput, normalizeAttachments, tryParseJsonText, } from './utils/normalizeArtifact';
|
|
112
113
|
export { COLORS, CHART_COLORS, TEXT_COLORS, SPACING, BORDER_RADIUS, SHADOWS, DURATION, Z_INDEX, FONT_SIZE, CONTROL_HEIGHT, LAYOUT_HEIGHT, ICON_SIZE, PAGE, FORM, AVATAR_SIZE, } from './tokens';
|
|
113
|
-
export declare const SCHEMA_UI_VERSION = "1.
|
|
114
|
+
export declare const SCHEMA_UI_VERSION = "1.10.1";
|
|
114
115
|
export declare const EP_FORK_BASE = "2.14.2";
|
|
115
116
|
export declare const EP_FORK_DATE = "2026-08-27";
|
package/dist/types/artifact.d.ts
CHANGED
|
@@ -23,3 +23,11 @@ export interface ArtifactItem {
|
|
|
23
23
|
}
|
|
24
24
|
/** Gallery 尺寸 */
|
|
25
25
|
export type ArtifactGallerySize = 'compact' | 'default';
|
|
26
|
+
/** 按节点(或其它维度)分组的产物 */
|
|
27
|
+
export interface ArtifactGroup {
|
|
28
|
+
/** 分组主键 */
|
|
29
|
+
key: string;
|
|
30
|
+
/** 展示名 */
|
|
31
|
+
label: string;
|
|
32
|
+
items: ArtifactItem[];
|
|
33
|
+
}
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -66,6 +66,7 @@ export { FileChipDoc } from '../components/FileChip/doc'
|
|
|
66
66
|
export { ArtifactGalleryDoc } from '../components/ArtifactGallery/doc'
|
|
67
67
|
export { NodeArtifactStripDoc } from '../components/NodeArtifactStrip/doc'
|
|
68
68
|
export { HitlArtifactPanelDoc } from '../components/HitlArtifactPanel/doc'
|
|
69
|
+
export { ExecutionArtifactPanelDoc } from '../components/ExecutionArtifactPanel/doc'
|
|
69
70
|
|
|
70
71
|
import type { ComponentDoc } from './types'
|
|
71
72
|
import { AppDialogDoc } from '../components/AppDialog/doc'
|
|
@@ -130,6 +131,7 @@ import { FileChipDoc } from '../components/FileChip/doc'
|
|
|
130
131
|
import { ArtifactGalleryDoc } from '../components/ArtifactGallery/doc'
|
|
131
132
|
import { NodeArtifactStripDoc } from '../components/NodeArtifactStrip/doc'
|
|
132
133
|
import { HitlArtifactPanelDoc } from '../components/HitlArtifactPanel/doc'
|
|
134
|
+
import { ExecutionArtifactPanelDoc } from '../components/ExecutionArtifactPanel/doc'
|
|
133
135
|
|
|
134
136
|
/** 按组件名索引的文档表 */
|
|
135
137
|
export const componentDocs: Record<string, ComponentDoc> = {
|
|
@@ -195,4 +197,5 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
195
197
|
ArtifactGallery: ArtifactGalleryDoc,
|
|
196
198
|
NodeArtifactStrip: NodeArtifactStripDoc,
|
|
197
199
|
HitlArtifactPanel: HitlArtifactPanelDoc,
|
|
200
|
+
ExecutionArtifactPanel: ExecutionArtifactPanelDoc,
|
|
198
201
|
}
|