@apform-ui/core 1.10.16 → 1.10.17

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,14 @@
1
+ import { SuggestionItem } from './types';
2
+ type __VLS_Props = {
3
+ suggestion: SuggestionItem;
4
+ accepted?: boolean;
5
+ dismissed?: boolean;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ accept: (id: string) => any;
9
+ dismiss: (id: string) => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onAccept?: ((id: string) => any) | undefined;
12
+ onDismiss?: ((id: string) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentDoc } from '../../../docs/types';
2
+ /** SuggestionCard 文档 */
3
+ export declare const SuggestionCardDoc: ComponentDoc;
@@ -0,0 +1,2 @@
1
+ export { default as SuggestionCard } from './SuggestionCard.vue';
2
+ export type { SuggestionItem } from './types';
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 智能建议项
3
+ */
4
+ export interface SuggestionItem {
5
+ id: string;
6
+ type: 'action' | 'optimization' | 'reference' | (string & {});
7
+ title: string;
8
+ description: string;
9
+ priority: 'high' | 'medium' | 'low' | (string & {});
10
+ targetId?: string;
11
+ targetName?: string;
12
+ }
@@ -41,6 +41,7 @@ export { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCa
41
41
  export { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc';
42
42
  export { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc';
43
43
  export { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc';
44
+ export { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc';
44
45
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
45
46
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
46
47
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
package/dist/index.d.ts CHANGED
@@ -115,6 +115,8 @@ export { SchemaFormPreview } from './components/Chat/SchemaFormPreview';
115
115
  export type { SchemaFormPreviewField } from './components/Chat/SchemaFormPreview';
116
116
  export { WorkflowRunTimeline } from './components/Chat/WorkflowRunTimeline';
117
117
  export type { WorkflowRunStep } from './components/Chat/WorkflowRunTimeline';
118
+ export { SuggestionCard } from './components/Chat/SuggestionCard';
119
+ export type { SuggestionItem } from './components/Chat/SuggestionCard';
118
120
  export { AssistantPicker } from './components/Chat/AssistantPicker';
119
121
  export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
120
122
  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.16",
3
+ "version": "1.10.17",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",
package/src/docs/index.ts CHANGED
@@ -41,6 +41,7 @@ export { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCa
41
41
  export { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc'
42
42
  export { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc'
43
43
  export { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc'
44
+ export { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc'
44
45
  export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
45
46
  export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
46
47
  export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -127,6 +128,7 @@ import { SubWorkflowStatusCardDoc } from '../components/Chat/SubWorkflowStatusCa
127
128
  import { PptPreviewCardDoc } from '../components/Chat/PptPreviewCard/doc'
128
129
  import { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc'
129
130
  import { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc'
131
+ import { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc'
130
132
  import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
131
133
  import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
132
134
  import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
@@ -214,6 +216,7 @@ export const componentDocs: Record<string, ComponentDoc> = {
214
216
  PptPreviewCard: PptPreviewCardDoc,
215
217
  SchemaFormPreview: SchemaFormPreviewDoc,
216
218
  WorkflowRunTimeline: WorkflowRunTimelineDoc,
219
+ SuggestionCard: SuggestionCardDoc,
217
220
  AttachmentPreviewModal: AttachmentPreviewModalDoc,
218
221
  DocumentSummaryList: DocumentSummaryListDoc,
219
222
  MessageAttachmentList: MessageAttachmentListDoc,