@apform-ui/core 1.10.0 → 1.10.2
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 +2875 -2852
- package/dist/apform-ui.umd.cjs +24 -24
- package/dist/components/Chat/Composer/Composer.vue.d.ts +18 -2
- package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +13 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,10 +6,26 @@ type __VLS_Props = {
|
|
|
6
6
|
/** WebSocket 状态(可选) */
|
|
7
7
|
wsStatus?: 'ok' | 'pending' | 'streaming' | 'warn' | 'err' | 'idle';
|
|
8
8
|
wsLabel?: string;
|
|
9
|
+
/** 使用 #input 槽时隐藏默认 textarea */
|
|
10
|
+
hideDefaultInput?: boolean;
|
|
11
|
+
/** 隐藏默认发送按钮(由业务输入组件自行发送) */
|
|
12
|
+
hideSend?: boolean;
|
|
13
|
+
/** 隐藏内置文件选择(业务自行挂载上传) */
|
|
14
|
+
hideFileButton?: boolean;
|
|
15
|
+
/** 隐藏底部能力芯片与快捷键提示 */
|
|
16
|
+
hideMeta?: boolean;
|
|
17
|
+
/** 撑满父容器宽度(嵌入业务面板) */
|
|
18
|
+
stretch?: boolean;
|
|
9
19
|
};
|
|
10
|
-
declare var __VLS_1: {};
|
|
20
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
11
21
|
type __VLS_Slots = {} & {
|
|
12
|
-
|
|
22
|
+
pending?: (props: typeof __VLS_1) => any;
|
|
23
|
+
} & {
|
|
24
|
+
input?: (props: typeof __VLS_3) => any;
|
|
25
|
+
} & {
|
|
26
|
+
tools?: (props: typeof __VLS_5) => any;
|
|
27
|
+
} & {
|
|
28
|
+
actions?: (props: typeof __VLS_7) => any;
|
|
13
29
|
};
|
|
14
30
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
31
|
upload: (file: File) => any;
|
|
@@ -8,7 +8,13 @@ type __VLS_Props = {
|
|
|
8
8
|
/** 会话消息列表(用于向前合并用户附件做摘要匹配 / gallery) */
|
|
9
9
|
sessionMessages?: Message[];
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
11
|
+
declare var __VLS_12: {}, __VLS_14: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
content?: (props: typeof __VLS_12) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_14) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
18
|
cancel: () => any;
|
|
13
19
|
retry: () => any;
|
|
14
20
|
preview: (attachment: MessageAttachment) => any;
|
|
@@ -21,4 +27,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
21
27
|
onResume?: ((action: string, payload?: string | undefined) => any) | undefined;
|
|
22
28
|
"onOpen-process"?: (() => any) | undefined;
|
|
23
29
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
31
|
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,6 @@ export type { TextPart } from './utils/textParser';
|
|
|
111
111
|
export { isImage, isPdf, isOffice, isPreviewable, fileKind, formatSize } from './utils/attachmentKind';
|
|
112
112
|
export { extractDocumentId, detectArtifactKind, normalizeNodeOutput, normalizeAttachments, tryParseJsonText, } from './utils/normalizeArtifact';
|
|
113
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';
|
|
114
|
-
export declare const SCHEMA_UI_VERSION = "1.10.
|
|
114
|
+
export declare const SCHEMA_UI_VERSION = "1.10.1";
|
|
115
115
|
export declare const EP_FORK_BASE = "2.14.2";
|
|
116
116
|
export declare const EP_FORK_DATE = "2026-08-27";
|