@apform-ui/core 1.10.37 → 1.10.38

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.
Files changed (36) hide show
  1. package/dist/apform-ui.css +1 -1
  2. package/dist/apform-ui.js +443 -442
  3. package/dist/apform-ui.umd.cjs +2 -2
  4. package/dist/chat.css +1 -0
  5. package/dist/chat.d.ts +78 -0
  6. package/dist/chat.js +9801 -0
  7. package/dist/chat.umd.cjs +68 -0
  8. package/dist/components/AppDialog/AppDialog.vue.d.ts +6 -6
  9. package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -1
  10. package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +2 -2
  11. package/dist/components/Chat/ConversationSearchBar/ConversationSearchBar.vue.d.ts +5 -5
  12. package/dist/components/Chat/EditableArtifactCard/EditableArtifactCard.vue.d.ts +1 -1
  13. package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +4 -4
  14. package/dist/components/Chat/MessageList/MessageList.vue.d.ts +4 -4
  15. package/dist/components/Chat/PendingAttachmentChip/PendingAttachmentChip.vue.d.ts +2 -2
  16. package/dist/components/Chat/RagContextPanel/RagContextPanel.vue.d.ts +4 -4
  17. package/dist/components/Chat/ThinkingBlock/ThinkingBlock.vue.d.ts +1 -1
  18. package/dist/components/Chat/WorkflowRunTimeline/WorkflowRunTimeline.vue.d.ts +1 -1
  19. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -1
  20. package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +2 -2
  21. package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +2 -2
  22. package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +2 -2
  23. package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +1 -1
  24. package/dist/components/FormDialog/FormDialog.vue.d.ts +3 -3
  25. package/dist/components/ImagePreviewCard/ImagePreviewCard.vue.d.ts +1 -1
  26. package/dist/components/LogStream/LogStream.vue.d.ts +3 -3
  27. package/dist/components/MetricChart/MetricChart.vue.d.ts +1 -1
  28. package/dist/components/PropertyField/PropertyField.vue.d.ts +1 -1
  29. package/dist/components/PropertyPanel/editors/NumberArrayEditor.vue.d.ts +1 -1
  30. package/dist/components/SearchForm/SearchForm.vue.d.ts +3 -3
  31. package/dist/components/Skeleton/Skeleton.vue.d.ts +2 -2
  32. package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -1
  33. package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts +1 -1
  34. package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -2
  35. package/dist/index.d.ts +3 -72
  36. package/package.json +8 -3
@@ -19,20 +19,20 @@ type __VLS_Slots = {} & {
19
19
  };
20
20
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  "update:modelValue": (value: boolean) => any;
22
- confirm: () => any;
23
- cancel: () => any;
24
22
  close: () => any;
23
+ cancel: () => any;
24
+ confirm: () => any;
25
25
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
26
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
27
- onConfirm?: (() => any) | undefined;
28
- onCancel?: (() => any) | undefined;
29
27
  onClose?: (() => any) | undefined;
28
+ onCancel?: (() => any) | undefined;
29
+ onConfirm?: (() => any) | undefined;
30
30
  }>, {
31
31
  width: string;
32
- destroyOnClose: boolean;
33
32
  loading: boolean;
34
- draggable: boolean;
35
33
  appendToBody: boolean;
34
+ destroyOnClose: boolean;
35
+ draggable: boolean;
36
36
  showFullscreenBtn: boolean;
37
37
  closeOnClickModal: boolean;
38
38
  cancelText: string;
@@ -27,7 +27,7 @@ type __VLS_Props = {
27
27
  };
28
28
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
29
29
  count: number;
30
- animated: boolean;
31
30
  showThumb: boolean;
31
+ animated: boolean;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
33
  export default _default;
@@ -10,11 +10,11 @@ type __VLS_Props = {
10
10
  error?: string | null;
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- "update:modelValue": (value: string) => any;
14
13
  select: (item: AssistantPickerItem) => any;
14
+ "update:modelValue": (value: string) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
16
  onSelect?: ((item: AssistantPickerItem) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
18
  }>, {
19
19
  error: string | null;
20
20
  loading: boolean;
@@ -13,9 +13,9 @@ type __VLS_Props = {
13
13
  placeholder?: string;
14
14
  };
15
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (value: string) => any;
17
- select: (id: string) => any;
18
16
  search: () => any;
17
+ select: (id: string) => any;
18
+ "update:modelValue": (value: string) => any;
19
19
  clear: () => any;
20
20
  "update:sourceFilter": (value: string) => any;
21
21
  "update:startDate": (value: string) => any;
@@ -23,9 +23,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
23
23
  "update:filtersExpanded": (value: boolean) => any;
24
24
  "update:panelVisible": (value: boolean) => any;
25
25
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
- onSelect?: ((id: string) => any) | undefined;
28
26
  onSearch?: (() => any) | undefined;
27
+ onSelect?: ((id: string) => any) | undefined;
28
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
29
  onClear?: (() => any) | undefined;
30
30
  "onUpdate:sourceFilter"?: ((value: string) => any) | undefined;
31
31
  "onUpdate:startDate"?: ((value: string) => any) | undefined;
@@ -34,9 +34,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
34
34
  "onUpdate:panelVisible"?: ((value: boolean) => any) | undefined;
35
35
  }>, {
36
36
  placeholder: string;
37
- total: number;
38
37
  panelVisible: boolean;
39
38
  searching: boolean;
39
+ total: number;
40
40
  sourceFilter: string;
41
41
  startDate: string;
42
42
  endDate: string;
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
13
13
  onCopy?: ((content: string) => any) | undefined;
14
14
  onSendback?: ((content: string, language: string) => any) | undefined;
15
15
  }>, {
16
- hint: string;
17
16
  artifactType: string;
18
17
  sendBackLabel: string;
18
+ hint: string;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
20
  export default _default;
@@ -15,16 +15,16 @@ type __VLS_Slots = {} & {
15
15
  default?: (props: typeof __VLS_14) => any;
16
16
  };
17
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
18
- cancel: () => any;
19
- retry: () => any;
20
18
  preview: (attachment: MessageAttachment) => any;
19
+ cancel: () => any;
21
20
  resume: (action: string, payload?: string | undefined) => any;
21
+ retry: () => any;
22
22
  "open-process": () => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- onCancel?: (() => any) | undefined;
25
- onRetry?: (() => any) | undefined;
26
24
  onPreview?: ((attachment: MessageAttachment) => any) | undefined;
25
+ onCancel?: (() => any) | undefined;
27
26
  onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
27
+ onRetry?: (() => any) | undefined;
28
28
  "onOpen-process"?: (() => any) | undefined;
29
29
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -24,16 +24,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
24
24
  scrollToBottom: typeof scrollToBottom;
25
25
  container: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
26
26
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
- cancel: () => any;
28
- retry: () => any;
29
27
  preview: (attachment: any) => any;
28
+ cancel: () => any;
30
29
  resume: (action: string, payload?: string | undefined) => any;
30
+ retry: () => any;
31
31
  "open-process": (message: Message) => any;
32
32
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
33
- onCancel?: (() => any) | undefined;
34
- onRetry?: (() => any) | undefined;
35
33
  onPreview?: ((attachment: any) => any) | undefined;
34
+ onCancel?: (() => any) | undefined;
36
35
  onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
36
+ onRetry?: (() => any) | undefined;
37
37
  "onOpen-process"?: ((message: Message) => any) | undefined;
38
38
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
39
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -3,10 +3,10 @@ type __VLS_Props = {
3
3
  attachment: PendingAttachment;
4
4
  };
5
5
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- remove: (id: string) => any;
7
6
  preview: (attachment: PendingAttachment) => any;
7
+ remove: (id: string) => any;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onRemove?: ((id: string) => any) | undefined;
10
9
  onPreview?: ((attachment: PendingAttachment) => any) | undefined;
10
+ onRemove?: ((id: string) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -11,15 +11,15 @@ type __VLS_Props = {
11
11
  selectedFooterHint?: string;
12
12
  };
13
13
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- close: () => any;
15
- select: (item: RagContextItem) => any;
16
14
  search: (query: string) => any;
15
+ select: (item: RagContextItem) => any;
16
+ close: () => any;
17
17
  remove: (id: string) => any;
18
18
  "update:query": (value: string) => any;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onClose?: (() => any) | undefined;
21
- onSelect?: ((item: RagContextItem) => any) | undefined;
22
20
  onSearch?: ((query: string) => any) | undefined;
21
+ onSelect?: ((item: RagContextItem) => any) | undefined;
22
+ onClose?: (() => any) | undefined;
23
23
  onRemove?: ((id: string) => any) | undefined;
24
24
  "onUpdate:query"?: ((value: string) => any) | undefined;
25
25
  }>, {
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  };
9
9
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
10
  title: string;
11
- defaultCollapsed: boolean;
12
11
  statusLabel: string;
12
+ defaultCollapsed: boolean;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -20,8 +20,8 @@ type __VLS_Slots = {} & {
20
20
  step?: (props: typeof __VLS_9) => any;
21
21
  };
22
22
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
- defaultCollapsed: boolean;
24
23
  emptyText: string;
24
+ defaultCollapsed: boolean;
25
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
26
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
27
  export default _default;
@@ -15,11 +15,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
15
15
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
16
  onConfirm?: (() => any) | undefined;
17
17
  }>, {
18
+ type: "info" | "warning" | "danger";
18
19
  title: string;
19
20
  width: string;
20
21
  loading: boolean;
21
22
  cancelText: string;
22
23
  confirmText: string;
23
- type: "info" | "warning" | "danger";
24
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
25
  export default _default;
@@ -48,12 +48,12 @@ type __VLS_Slots = {} & {
48
48
  };
49
49
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
50
  "update:modelValue": (value: boolean) => any;
51
- close: () => any;
52
51
  download: () => any;
52
+ close: () => any;
53
53
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
54
54
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
55
- onClose?: (() => any) | undefined;
56
55
  onDownload?: (() => any) | undefined;
56
+ onClose?: (() => any) | undefined;
57
57
  }>, {
58
58
  error: string | null;
59
59
  loading: boolean;
@@ -45,11 +45,11 @@ type __VLS_Slots = {} & {
45
45
  media?: (props: typeof __VLS_19) => any;
46
46
  };
47
47
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
- close: () => any;
49
48
  download: () => any;
49
+ close: () => any;
50
50
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
51
- onClose?: (() => any) | undefined;
52
51
  onDownload?: (() => any) | undefined;
52
+ onClose?: (() => any) | undefined;
53
53
  }>, {
54
54
  error: string | null;
55
55
  loading: boolean;
@@ -26,10 +26,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
26
26
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
27
  }>, {
28
28
  error: string | null;
29
- modelValue: string;
29
+ src: string;
30
30
  loading: boolean;
31
+ modelValue: string;
31
32
  rows: string[][];
32
- src: string;
33
33
  sheetNames: string[];
34
34
  headers: string[];
35
35
  totalRows: number;
@@ -22,8 +22,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
22
22
  onPreview?: ((item: ArtifactItem) => any) | undefined;
23
23
  }>, {
24
24
  title: string;
25
- max: number;
26
25
  items: ArtifactItem[];
26
+ max: number;
27
27
  showFilters: boolean;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -18,20 +18,20 @@ type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_17) => any;
19
19
  };
20
20
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ submit: (data: Record<string, unknown>) => any;
21
22
  "update:modelValue": (value: boolean) => any;
22
23
  cancel: () => any;
23
- submit: (data: Record<string, unknown>) => any;
24
24
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ onSubmit?: ((data: Record<string, unknown>) => any) | undefined;
25
26
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
26
27
  onCancel?: (() => any) | undefined;
27
- onSubmit?: ((data: Record<string, unknown>) => any) | undefined;
28
28
  }>, {
29
29
  width: string;
30
30
  loading: boolean;
31
+ labelWidth: string;
31
32
  showFullscreenBtn: boolean;
32
33
  cancelText: string;
33
34
  confirmText: string;
34
- labelWidth: string;
35
35
  rules: FormRules;
36
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  alt?: string;
9
9
  };
10
10
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- size: "compact" | "default";
12
11
  alt: string;
12
+ size: "compact" | "default";
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -23,15 +23,15 @@ type __VLS_Props = {
23
23
  };
24
24
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
25
  "log-click": (log: LogEntry) => any;
26
- "reach-top": () => any;
27
26
  "reach-bottom": () => any;
27
+ "reach-top": () => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
29
  "onLog-click"?: ((log: LogEntry) => any) | undefined;
30
- "onReach-top"?: (() => any) | undefined;
31
30
  "onReach-bottom"?: (() => any) | undefined;
31
+ "onReach-top"?: (() => any) | undefined;
32
32
  }>, {
33
33
  loading: boolean;
34
- rowHeight: number;
35
34
  autoScroll: boolean;
35
+ rowHeight: number;
36
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
37
  export default _default;
@@ -36,8 +36,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
36
36
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
37
37
  "onChart-click"?: ((params: unknown) => any) | undefined;
38
38
  }>, {
39
- loading: boolean;
40
39
  type: "line" | "bar" | "area";
40
+ loading: boolean;
41
41
  variant: "full" | "spark";
42
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -35,9 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
35
35
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
36
36
  onUpdate?: ((value: unknown) => any) | undefined;
37
37
  }>, {
38
+ arrayMode: PropertyArrayEditorMode;
38
39
  labelField: string;
39
40
  valueField: string;
40
- arrayMode: PropertyArrayEditorMode;
41
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
43
43
  export default _default;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  onUpdate?: ((value: number[]) => any) | undefined;
13
13
  }>, {
14
- min: number;
15
14
  max: number;
15
+ min: number;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
17
  export default _default;
@@ -22,17 +22,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
22
22
  getValues: typeof snapshot;
23
23
  reset: typeof handleReset;
24
24
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
- "update:modelValue": (args_0: Record<string, unknown>) => any;
26
25
  search: (args_0: Record<string, unknown>) => any;
27
26
  reset: () => any;
27
+ "update:modelValue": (args_0: Record<string, unknown>) => any;
28
28
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
29
- "onUpdate:modelValue"?: ((args_0: Record<string, unknown>) => any) | undefined;
30
29
  onSearch?: ((args_0: Record<string, unknown>) => any) | undefined;
31
30
  onReset?: (() => any) | undefined;
31
+ "onUpdate:modelValue"?: ((args_0: Record<string, unknown>) => any) | undefined;
32
32
  }>, {
33
33
  modelValue: Record<string, unknown>;
34
- collapsible: boolean;
35
34
  defaultCollapsed: boolean;
35
+ collapsible: boolean;
36
36
  defaultVisibleCount: number;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
38
  export default _default;
@@ -20,9 +20,9 @@ type __VLS_Props = {
20
20
  animated?: boolean;
21
21
  };
22
22
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
- count: number;
24
- variant: "card" | "list" | "table";
25
23
  rows: number;
24
+ count: number;
26
25
  animated: boolean;
26
+ variant: "card" | "list" | "table";
27
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
28
  export default _default;
@@ -14,7 +14,7 @@ type __VLS_Props = {
14
14
  size?: 'large' | 'default' | 'small';
15
15
  };
16
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
- size: "large" | "default" | "small";
18
17
  round: boolean;
18
+ size: "large" | "default" | "small";
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
20
  export default _default;
@@ -27,8 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
27
27
  "onUpdate:modelValue"?: ((value: TimeRange) => any) | undefined;
28
28
  onChange?: ((value: TimeRange) => any) | undefined;
29
29
  }>, {
30
- size: "small" | "default" | "large";
31
30
  disabled: boolean;
31
+ size: "small" | "default" | "large";
32
32
  showPresets: boolean;
33
33
  presets: TimeRangePreset[];
34
34
  allowCustom: boolean;
@@ -17,9 +17,9 @@ declare const _default: import('vue').DefineComponent<{
17
17
  /** 形状(默认 'circle') */
18
18
  shape?: "circle" | "square";
19
19
  }> & Readonly<{}>, {
20
- name: string;
21
- size: number;
22
20
  src: string;
21
+ size: number;
22
+ name: string;
23
23
  shape: "circle" | "square";
24
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
25
  export default _default;
package/dist/index.d.ts CHANGED
@@ -81,75 +81,11 @@ export { ArtifactGallery } from './components/ArtifactGallery';
81
81
  export { NodeArtifactStrip } from './components/NodeArtifactStrip';
82
82
  export { HitlArtifactPanel } from './components/HitlArtifactPanel';
83
83
  export { ExecutionArtifactPanel } from './components/ExecutionArtifactPanel';
84
- export { MessageBubble } from './components/Chat/MessageBubble';
85
- export { TipBanner } from './components/Chat/TipBanner';
86
- export { StarterPromptGrid } from './components/Chat/StarterPromptGrid';
87
- export type { StarterPromptItem } from './components/Chat/StarterPromptGrid';
88
- export { MessageList } from './components/Chat/MessageList';
89
- export { Composer } from './components/Chat/Composer';
90
- export { RunStatusBar } from './components/Chat/RunStatusBar';
91
- export { StreamStatusBanner } from './components/Chat/StreamStatusBanner';
92
- export { ApprovalCard } from './components/Chat/ApprovalCard';
93
- export { MessageParts, MessageAttachmentList, DocumentSummaryList, AttachmentPreviewModal, } from './components/Chat/message';
94
- export { SessionSidebar } from './components/Chat/SessionSidebar';
95
- export { SessionHistoryDrawer } from './components/Chat/SessionHistoryDrawer';
96
- export { VirtualMessageScroller } from './components/Chat/VirtualMessageScroller';
97
- export { ProcessingDrawer } from './components/Chat/ProcessingDrawer';
98
- export { ConversationHeader } from './components/Chat/ConversationHeader';
99
- export { PendingAttachmentChip } from './components/Chat/PendingAttachmentChip';
100
- export { MentionInput } from './components/Chat/MentionInput';
101
- export type { MentionTab, MentionResultItem, MentionChip, MentionSearchFn, } from './components/Chat/MentionInput';
102
- export { ThinkingBlock } from './components/Chat/ThinkingBlock';
103
- export { EditableArtifactCard } from './components/Chat/EditableArtifactCard';
104
- export { MessageActionBar } from './components/Chat/MessageActionBar';
105
- export { CollapsibleStepCard } from './components/Chat/CollapsibleStepCard';
106
- export type { StepCardTone } from './components/Chat/CollapsibleStepCard';
107
- export { AgentTransferCard } from './components/Chat/AgentTransferCard';
108
- export { FieldListCard } from './components/Chat/FieldListCard';
109
- export type { FieldListItem } from './components/Chat/FieldListCard';
110
- export { FlowNodeStripCard } from './components/Chat/FlowNodeStripCard';
111
- export type { FlowStripNode } from './components/Chat/FlowNodeStripCard';
112
- export { TokenUsageCard } from './components/Chat/TokenUsageCard';
113
- export { QuestionnaireCard } from './components/Chat/QuestionnaireCard';
114
- export type { QuestionnaireQuestion } from './components/Chat/QuestionnaireCard';
115
- export { ChecklistProposalCard } from './components/Chat/ChecklistProposalCard';
116
- export type { ChecklistProposal, ChecklistProposalItem, ChecklistItemPriority, ChecklistItemKind, } from './components/Chat/ChecklistProposalCard';
117
- export { RequirementAnalysisCard } from './components/Chat/RequirementAnalysisCard';
118
- export type { RequirementAnalysis, RequirementConfirmQuestion, } from './components/Chat/RequirementAnalysisCard';
119
- export { DocumentDetailSummaryCard } from './components/Chat/DocumentDetailSummaryCard';
120
- export type { DocumentDetailSummaryItem, DocumentDetailSummaryBody, } from './components/Chat/DocumentDetailSummaryCard';
121
- export { ErrorRecoveryCard } from './components/Chat/ErrorRecoveryCard';
122
- export type { ErrorRecoveryStrategy } from './components/Chat/ErrorRecoveryCard';
123
- export { VariableDiffCard } from './components/Chat/VariableDiffCard';
124
- export type { VariableDiffChange } from './components/Chat/VariableDiffCard';
125
- export { SubWorkflowStatusCard } from './components/Chat/SubWorkflowStatusCard';
126
- export { PptPreviewCard } from './components/Chat/PptPreviewCard';
127
- export type { PptSlide, PptMetadata } from './components/Chat/PptPreviewCard';
128
- export { FlowPreviewShell } from './components/Chat/FlowPreviewShell';
129
- export type { FlowPreviewShellProps } from './components/Chat/FlowPreviewShell';
84
+ export { MessageBubble, TipBanner, StarterPromptGrid, MessageList, Composer, RunStatusBar, StreamStatusBanner, ApprovalCard, MessageParts, MessageAttachmentList, DocumentSummaryList, AttachmentPreviewModal, SessionSidebar, SessionHistoryDrawer, VirtualMessageScroller, ProcessingDrawer, ConversationHeader, PendingAttachmentChip, MentionInput, ThinkingBlock, EditableArtifactCard, MessageActionBar, CollapsibleStepCard, AgentTransferCard, FieldListCard, FlowNodeStripCard, TokenUsageCard, QuestionnaireCard, ChecklistProposalCard, RequirementAnalysisCard, DocumentDetailSummaryCard, ErrorRecoveryCard, VariableDiffCard, SubWorkflowStatusCard, PptPreviewCard, FlowPreviewShell, Model3dPreviewCard, ImageGenerateCard, SchemaFormPreview, WorkflowRunTimeline, SuggestionCard, ConversationSearchBar, TaskChainBar, RagContextPanel, AssistantPicker, ModelPicker, useChatScroll, renderMarkdown, splitTextAndCodeBlocks, isImage, isPdf, isOffice, isPreviewable, fileKind, formatSize, } from './chat';
85
+ export type { StarterPromptItem, MentionTab, MentionResultItem, MentionChip, MentionSearchFn, StepCardTone, FieldListItem, FlowStripNode, QuestionnaireQuestion, ChecklistProposal, ChecklistProposalItem, ChecklistItemPriority, ChecklistItemKind, RequirementAnalysis, RequirementConfirmQuestion, DocumentDetailSummaryItem, DocumentDetailSummaryBody, ErrorRecoveryStrategy, VariableDiffChange, PptSlide, PptMetadata, FlowPreviewShellProps, Model3dPreviewCardProps, ImageGenerateCardProps, SchemaFormPreviewField, WorkflowRunStep, SuggestionItem, ConversationSearchResult, ConversationSearchSourceOption, TaskChainStepItem, TaskChainStepStatus, RagContextItem, AssistantPickerItem, ModelPickerItem, UseChatScrollOptions, UseChatScrollReturn, TextPart, } from './chat';
130
86
  export { BpmnFlowPreviewCanvas } from './components/Chat/BpmnFlowPreviewCanvas';
131
87
  export { BpmnPreviewStartEvent, BpmnPreviewEndEvent, BpmnPreviewTask, BpmnPreviewGateway, BPMN_TO_PREVIEW_VF_TYPE, resolveBpmnPreviewNodeType, } from './components/Chat/BpmnFlowPreviewCanvas';
132
88
  export type { BpmnPreviewNode, BpmnPreviewEdge, BpmnPreviewNodeData, } from './components/Chat/BpmnFlowPreviewCanvas';
133
- export { Model3dPreviewCard } from './components/Chat/Model3dPreviewCard';
134
- export type { Model3dPreviewCardProps } from './components/Chat/Model3dPreviewCard';
135
- export { ImageGenerateCard } from './components/Chat/ImageGenerateCard';
136
- export type { ImageGenerateCardProps } from './components/Chat/ImageGenerateCard';
137
- export { SchemaFormPreview } from './components/Chat/SchemaFormPreview';
138
- export type { SchemaFormPreviewField } from './components/Chat/SchemaFormPreview';
139
- export { WorkflowRunTimeline } from './components/Chat/WorkflowRunTimeline';
140
- export type { WorkflowRunStep } from './components/Chat/WorkflowRunTimeline';
141
- export { SuggestionCard } from './components/Chat/SuggestionCard';
142
- export type { SuggestionItem } from './components/Chat/SuggestionCard';
143
- export { ConversationSearchBar } from './components/Chat/ConversationSearchBar';
144
- export type { ConversationSearchResult, ConversationSearchSourceOption, } from './components/Chat/ConversationSearchBar';
145
- export { TaskChainBar } from './components/Chat/TaskChainBar';
146
- export type { TaskChainStepItem, TaskChainStepStatus, } from './components/Chat/TaskChainBar';
147
- export { RagContextPanel } from './components/Chat/RagContextPanel';
148
- export type { RagContextItem } from './components/Chat/RagContextPanel';
149
- export { AssistantPicker } from './components/Chat/AssistantPicker';
150
- export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
151
- export { ModelPicker } from './components/Chat/ModelPicker';
152
- export type { ModelPickerItem } from './components/Chat/ModelPicker';
153
89
  export { useToast, provideToast } from './composables';
154
90
  export { useConfirm } from './composables';
155
91
  export type { ConfirmOptions } from './composables';
@@ -159,8 +95,6 @@ export { useDebounceFn } from './composables';
159
95
  export { useClientPagination } from './composables';
160
96
  export { useDataLoading } from './composables';
161
97
  export type { UseDataLoadingOptions, UseDataLoadingReturn } from './composables';
162
- export { useChatScroll } from './composables';
163
- export type { UseChatScrollOptions, UseChatScrollReturn } from './composables';
164
98
  export { useClipboard } from './composables';
165
99
  export type { UseClipboardOptions } from './composables';
166
100
  export { useRealtime } from './composables';
@@ -171,15 +105,12 @@ export { DEFAULT_PAGE_SIZE, PAGE_SIZE_OPTIONS, PAGINATION_LAYOUT } from './utils
171
105
  export type { PageSizeOption } from './utils';
172
106
  export { resolveApiErrorMessage } from './utils';
173
107
  export type { ApiError } from './utils';
174
- export { renderMarkdown, splitTextAndCodeBlocks } from './utils/textParser';
175
- export type { TextPart } from './utils/textParser';
176
- export { isImage, isPdf, isOffice, isPreviewable, fileKind, formatSize } from './utils/attachmentKind';
177
108
  export { extractDocumentId, detectArtifactKind, normalizeNodeOutput, normalizeAttachments, tryParseJsonText, } from './utils/normalizeArtifact';
178
109
  export { detectStructuredJsonKind, extractEmbeddedJson, findEmbeddedJsonSpan, parseStructuredJsonContent, structuredJsonLabel, } from './utils/structuredJson';
179
110
  export type { StructuredJsonKind } from './utils/structuredJson';
180
111
  export { extractBusinessResultTables, extractChartOption, } from './utils/businessResultTables';
181
112
  export type { BusinessResultTable, ChartOptionExtract, } from './utils/businessResultTables';
182
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';
183
- export declare const SCHEMA_UI_VERSION = "1.10.36";
114
+ export declare const SCHEMA_UI_VERSION = "1.10.38";
184
115
  export declare const EP_FORK_BASE = "2.14.2";
185
116
  export declare const EP_FORK_DATE = "2026-08-27";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apform-ui/core",
3
- "version": "1.10.37",
3
+ "version": "1.10.38",
4
4
  "type": "module",
5
5
  "author": "yangdongnan",
6
6
  "license": "MIT",
@@ -33,6 +33,11 @@
33
33
  "import": "./dist/apform-ui.js",
34
34
  "require": "./dist/apform-ui.umd.cjs"
35
35
  },
36
+ "./chat": {
37
+ "types": "./dist/chat.d.ts",
38
+ "import": "./dist/chat.js",
39
+ "require": "./dist/chat.umd.cjs"
40
+ },
36
41
  "./tokens.css": "./src/tokens/tokens.css",
37
42
  "./design-tokens.css": "./src/tokens/design-tokens.css",
38
43
  "./style.css": "./dist/apform-ui.css",
@@ -52,8 +57,8 @@
52
57
  ],
53
58
  "scripts": {
54
59
  "dev": "vite",
55
- "build": "vite build",
56
- "build:check": "vue-tsc --noEmit && vite build",
60
+ "build": "vite build && vite build -c vite.chat.config.ts",
61
+ "build:check": "vue-tsc --noEmit && pnpm run build",
57
62
  "preview": "vite preview",
58
63
  "test": "vitest run",
59
64
  "test:watch": "vitest",