@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.
@@ -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,2 @@
1
+ export { default as RagContextPanel } from './RagContextPanel.vue';
2
+ export type { RagContextItem } from './types';
@@ -0,0 +1,9 @@
1
+ /** RAG / Schema 检索结果项(纯展示) */
2
+ export interface RagContextItem {
3
+ id: string;
4
+ name: string;
5
+ score: number;
6
+ description?: string;
7
+ /** 标签(如 widgetTypes) */
8
+ tags?: string[];
9
+ }
@@ -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,2 @@
1
+ export { default as TaskChainBar } from './TaskChainBar.vue';
2
+ export type { TaskChainStepItem, TaskChainStepStatus } from './types';
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apform-ui/core",
3
- "version": "1.10.21",
3
+ "version": "1.10.22",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",