@apform-ui/core 1.10.21 → 1.10.22
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 +2770 -2558
- package/dist/apform-ui.umd.cjs +29 -29
- package/dist/components/Chat/RagContextPanel/RagContextPanel.vue.d.ts +34 -0
- package/dist/components/Chat/RagContextPanel/index.d.ts +2 -0
- package/dist/components/Chat/RagContextPanel/types.d.ts +9 -0
- package/dist/components/Chat/TaskChainBar/TaskChainBar.vue.d.ts +11 -0
- package/dist/components/Chat/TaskChainBar/index.d.ts +2 -0
- package/dist/components/Chat/TaskChainBar/types.d.ts +11 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { RagContextItem } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
results: RagContextItem[];
|
|
4
|
+
selected: RagContextItem[];
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
query?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
emptyHint?: string;
|
|
9
|
+
idleHint?: string;
|
|
10
|
+
footerHint?: string;
|
|
11
|
+
selectedFooterHint?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
select: (item: RagContextItem) => any;
|
|
16
|
+
search: (query: string) => any;
|
|
17
|
+
remove: (id: string) => any;
|
|
18
|
+
"update:query": (value: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onClose?: (() => any) | undefined;
|
|
21
|
+
onSelect?: ((item: RagContextItem) => any) | undefined;
|
|
22
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
23
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
24
|
+
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
loading: boolean;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
query: string;
|
|
29
|
+
emptyHint: string;
|
|
30
|
+
idleHint: string;
|
|
31
|
+
footerHint: string;
|
|
32
|
+
selectedFooterHint: string;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TaskChainStepItem } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
steps: TaskChainStepItem[];
|
|
4
|
+
currentIndex: number;
|
|
5
|
+
/** 左侧标签文案 */
|
|
6
|
+
label?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
label: string;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** 任务链步骤状态 */
|
|
2
|
+
export type TaskChainStepStatus = 'pending' | 'running' | 'done' | 'error' | 'skipped';
|
|
3
|
+
/** 任务链步骤(纯展示) */
|
|
4
|
+
export interface TaskChainStepItem {
|
|
5
|
+
/** 代理/角色标识(如 editor / flow / page) */
|
|
6
|
+
agent: string;
|
|
7
|
+
/** 步骤说明 */
|
|
8
|
+
description: string;
|
|
9
|
+
/** 步骤状态 */
|
|
10
|
+
status?: TaskChainStepStatus;
|
|
11
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -125,6 +125,10 @@ export { SuggestionCard } from './components/Chat/SuggestionCard';
|
|
|
125
125
|
export type { SuggestionItem } from './components/Chat/SuggestionCard';
|
|
126
126
|
export { ConversationSearchBar } from './components/Chat/ConversationSearchBar';
|
|
127
127
|
export type { ConversationSearchResult, ConversationSearchSourceOption, } from './components/Chat/ConversationSearchBar';
|
|
128
|
+
export { TaskChainBar } from './components/Chat/TaskChainBar';
|
|
129
|
+
export type { TaskChainStepItem, TaskChainStepStatus, } from './components/Chat/TaskChainBar';
|
|
130
|
+
export { RagContextPanel } from './components/Chat/RagContextPanel';
|
|
131
|
+
export type { RagContextItem } from './components/Chat/RagContextPanel';
|
|
128
132
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
129
133
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
130
134
|
export { ModelPicker } from './components/Chat/ModelPicker';
|