@apform-ui/core 1.10.4 → 1.10.6
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 +977 -907
- package/dist/apform-ui.umd.cjs +63 -63
- package/dist/components/Chat/ConversationHeader/ConversationHeader.vue.d.ts +19 -6
- package/dist/components/Chat/PendingAttachmentChip/PendingAttachmentChip.vue.d.ts +12 -0
- package/dist/components/Chat/PendingAttachmentChip/doc.d.ts +3 -0
- package/dist/components/Chat/PendingAttachmentChip/index.d.ts +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/docs/index.ts +3 -0
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConversationHeader — 对话顶栏(纯 props)
|
|
3
|
-
*/
|
|
4
1
|
type __VLS_Props = {
|
|
5
|
-
/**
|
|
2
|
+
/** 主标题(会话名) */
|
|
6
3
|
title?: string;
|
|
7
|
-
/** 副文案 */
|
|
4
|
+
/** 副文案 / 标签行前缀 */
|
|
8
5
|
label?: string;
|
|
9
6
|
/** 是否有消息 */
|
|
10
7
|
hasMessages?: boolean;
|
|
11
8
|
/** 处理中 */
|
|
12
9
|
processing?: boolean;
|
|
10
|
+
/** 隐藏默认操作按钮(仅用 #actions) */
|
|
11
|
+
hideDefaultActions?: boolean;
|
|
13
12
|
};
|
|
14
|
-
declare
|
|
13
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
identity?: (props: typeof __VLS_1) => any;
|
|
16
|
+
} & {
|
|
17
|
+
meta?: (props: typeof __VLS_3) => any;
|
|
18
|
+
} & {
|
|
19
|
+
actions?: (props: typeof __VLS_5) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
22
|
create: () => any;
|
|
16
23
|
changeAssistant: () => any;
|
|
17
24
|
toggleDetails: () => any;
|
|
@@ -20,4 +27,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
20
27
|
onChangeAssistant?: (() => any) | undefined;
|
|
21
28
|
onToggleDetails?: (() => any) | undefined;
|
|
22
29
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
31
|
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PendingAttachment } from '../../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
attachment: PendingAttachment;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
remove: (id: string) => any;
|
|
7
|
+
preview: (attachment: PendingAttachment) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
10
|
+
onPreview?: ((attachment: PendingAttachment) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PendingAttachmentChip } from './PendingAttachmentChip.vue';
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { ApprovalCardDoc } from '../components/Chat/ApprovalCard/doc';
|
|
|
14
14
|
export { AssistantPickerDoc } from '../components/Chat/AssistantPicker/doc';
|
|
15
15
|
export { ComposerDoc } from '../components/Chat/Composer/doc';
|
|
16
16
|
export { ConversationHeaderDoc } from '../components/Chat/ConversationHeader/doc';
|
|
17
|
+
export { PendingAttachmentChipDoc } from '../components/Chat/PendingAttachmentChip/doc';
|
|
17
18
|
export { MessageBubbleDoc } from '../components/Chat/MessageBubble/doc';
|
|
18
19
|
export { MessageListDoc } from '../components/Chat/MessageList/doc';
|
|
19
20
|
export { ModelPickerDoc } from '../components/Chat/ModelPicker/doc';
|
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export { MessageParts, MessageAttachmentList, DocumentSummaryList, AttachmentPre
|
|
|
81
81
|
export { SessionSidebar } from './components/Chat/SessionSidebar';
|
|
82
82
|
export { ProcessingDrawer } from './components/Chat/ProcessingDrawer';
|
|
83
83
|
export { ConversationHeader } from './components/Chat/ConversationHeader';
|
|
84
|
+
export { PendingAttachmentChip } from './components/Chat/PendingAttachmentChip';
|
|
84
85
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
85
86
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
86
87
|
export { ModelPicker } from './components/Chat/ModelPicker';
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { ApprovalCardDoc } from '../components/Chat/ApprovalCard/doc'
|
|
|
14
14
|
export { AssistantPickerDoc } from '../components/Chat/AssistantPicker/doc'
|
|
15
15
|
export { ComposerDoc } from '../components/Chat/Composer/doc'
|
|
16
16
|
export { ConversationHeaderDoc } from '../components/Chat/ConversationHeader/doc'
|
|
17
|
+
export { PendingAttachmentChipDoc } from '../components/Chat/PendingAttachmentChip/doc'
|
|
17
18
|
export { MessageBubbleDoc } from '../components/Chat/MessageBubble/doc'
|
|
18
19
|
export { MessageListDoc } from '../components/Chat/MessageList/doc'
|
|
19
20
|
export { ModelPickerDoc } from '../components/Chat/ModelPicker/doc'
|
|
@@ -79,6 +80,7 @@ import { ApprovalCardDoc } from '../components/Chat/ApprovalCard/doc'
|
|
|
79
80
|
import { AssistantPickerDoc } from '../components/Chat/AssistantPicker/doc'
|
|
80
81
|
import { ComposerDoc } from '../components/Chat/Composer/doc'
|
|
81
82
|
import { ConversationHeaderDoc } from '../components/Chat/ConversationHeader/doc'
|
|
83
|
+
import { PendingAttachmentChipDoc } from '../components/Chat/PendingAttachmentChip/doc'
|
|
82
84
|
import { MessageBubbleDoc } from '../components/Chat/MessageBubble/doc'
|
|
83
85
|
import { MessageListDoc } from '../components/Chat/MessageList/doc'
|
|
84
86
|
import { ModelPickerDoc } from '../components/Chat/ModelPicker/doc'
|
|
@@ -145,6 +147,7 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
145
147
|
AssistantPicker: AssistantPickerDoc,
|
|
146
148
|
Composer: ComposerDoc,
|
|
147
149
|
ConversationHeader: ConversationHeaderDoc,
|
|
150
|
+
PendingAttachmentChip: PendingAttachmentChipDoc,
|
|
148
151
|
MessageBubble: MessageBubbleDoc,
|
|
149
152
|
MessageList: MessageListDoc,
|
|
150
153
|
ModelPicker: ModelPickerDoc,
|