@apform-ui/core 1.10.1 → 1.10.3
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 +1939 -1897
- package/dist/apform-ui.umd.cjs +30 -30
- package/dist/components/Chat/Composer/Composer.vue.d.ts +18 -2
- package/dist/components/Chat/SessionSidebar/SessionSidebar.vue.d.ts +24 -1
- package/dist/components/FieldRow/FieldRow.vue.d.ts +1 -1
- package/dist/types/chat.d.ts +2 -0
- package/package.json +1 -1
- package/src/tokens/tokens.css +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;
|
|
@@ -4,8 +4,25 @@ type __VLS_Props = {
|
|
|
4
4
|
activeId?: string | null;
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
title?: string;
|
|
7
|
+
/** 隐藏内置新建按钮(业务自管工具栏) */
|
|
8
|
+
hideCreate?: boolean;
|
|
9
|
+
/** 隐藏内置删除按钮(改用 #item-actions) */
|
|
10
|
+
hideDelete?: boolean;
|
|
11
|
+
emptyText?: string;
|
|
7
12
|
};
|
|
8
|
-
declare
|
|
13
|
+
declare var __VLS_1: {}, __VLS_11: {
|
|
14
|
+
session: Session;
|
|
15
|
+
}, __VLS_13: {
|
|
16
|
+
session: Session;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
toolbar?: (props: typeof __VLS_1) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'item-meta'?: (props: typeof __VLS_11) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'item-actions'?: (props: typeof __VLS_13) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
26
|
select: (id: string) => any;
|
|
10
27
|
delete: (id: string) => any;
|
|
11
28
|
create: () => any;
|
|
@@ -14,4 +31,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
31
|
onDelete?: ((id: string) => any) | undefined;
|
|
15
32
|
onCreate?: (() => any) | undefined;
|
|
16
33
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
35
|
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
package/dist/types/chat.d.ts
CHANGED
package/package.json
CHANGED