@vunk/plus 1.8.0 → 1.8.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/components/{SendOutlined.mjs → LinkOutlined.mjs} +36 -54
- package/components/agent-chat-provider/index.d.ts +8 -0
- package/components/agent-chat-provider/src/MessageView.d.ts +29 -0
- package/components/agent-chat-provider/src/api.d.ts +3 -0
- package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
- package/components/agent-chat-provider/src/const.d.ts +1 -0
- package/components/agent-chat-provider/src/index.vue.d.ts +22 -0
- package/components/agent-chat-provider/src/types.d.ts +56 -0
- package/components/agent-chat-provider/src/use.d.ts +6 -0
- package/components/avatar/index.d.ts +4 -0
- package/components/avatar/src/ctx.d.ts +6 -0
- package/components/avatar/src/index.vue.d.ts +261 -0
- package/components/avatar/src/types.d.ts +1 -0
- package/components/broadcasting-markdown/index.d.ts +7 -0
- package/components/broadcasting-markdown/src/const.d.ts +13 -0
- package/components/broadcasting-markdown/src/ctx.d.ts +126 -0
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +58 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +373 -0
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
- package/components/broadcasting-markdown/src/types.d.ts +26 -0
- package/components/broadcasting-markdown/src/use.d.ts +19 -0
- package/components/bubble-list/index.d.ts +5 -0
- package/components/bubble-list/src/ctx.d.ts +28 -0
- package/components/bubble-list/src/index.vue.d.ts +484 -0
- package/components/bubble-list/src/types.d.ts +4 -0
- package/components/bubble-templates/index.d.ts +5 -0
- package/components/bubble-templates/src/core.d.ts +69 -0
- package/components/bubble-templates/src/index.vue.d.ts +242 -0
- package/components/bubble-templates/src/legacy.vue.d.ts +153 -0
- package/components/bubble-templates/src/types.d.ts +45 -0
- package/components/chat-independent/index.d.ts +4 -0
- package/components/chat-independent/src/const.d.ts +13 -0
- package/components/chat-independent/src/ctx.d.ts +21 -0
- package/components/chat-independent/src/index.vue.d.ts +2291 -0
- package/components/chat-independent/src/types.d.ts +13 -0
- package/components/index.d.ts +0 -0
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/src/ctx.d.ts +10 -0
- package/components/lottie-animation/src/index.vue.d.ts +21 -0
- package/components/lottie-animation/src/types.d.ts +4 -0
- package/components/metahuman-broadcasting/index.d.ts +5 -0
- package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
- package/components/metahuman-broadcasting/src/index.vue.d.ts +826 -0
- package/components/metahuman-broadcasting/src/types.d.ts +1 -0
- package/components/monaco-editor/index.d.ts +5 -0
- package/components/monaco-editor/src/ctx.d.ts +23 -0
- package/components/monaco-editor/src/index.vue.d.ts +40 -0
- package/components/monaco-editor/src/types.d.ts +1 -0
- package/components/monaco-environment/index.d.ts +4 -0
- package/components/monaco-environment/src/ctx.d.ts +8 -0
- package/components/monaco-environment/src/index.vue.d.ts +2 -0
- package/components/monaco-environment/src/types.d.ts +1 -0
- package/components/pixi-frame/index.d.ts +11 -0
- package/components/pixi-frame/src/apng.vue.d.ts +161 -0
- package/components/pixi-frame/src/bitmap.vue.d.ts +158 -0
- package/components/pixi-frame/src/core.vue.d.ts +173 -0
- package/components/pixi-frame/src/ctx.d.ts +55 -0
- package/components/pixi-frame/src/index.vue.d.ts +591 -0
- package/components/pixi-frame/src/provider.vue.d.ts +2 -0
- package/components/pixi-frame/src/types.d.ts +17 -0
- package/components/pixi-frame/src/use.d.ts +16 -0
- package/components/pixi-frame/src/useSprite.d.ts +12 -0
- package/components/pixi-frame/src/video.vue.d.ts +159 -0
- package/components/pixi-frame/src/view.vue.d.ts +29 -0
- package/components/recorder-button/index.d.ts +4 -0
- package/components/recorder-button/src/ctx.d.ts +41 -0
- package/components/recorder-button/src/index.vue.d.ts +489 -0
- package/components/recorder-button/src/speech-to-text.d.ts +1 -0
- package/components/recorder-button/src/types.d.ts +7 -0
- package/components/routes-menu-content/index.d.ts +4 -0
- package/components/routes-menu-content/src/ctx.d.ts +17 -0
- package/components/routes-menu-content/src/index.vue.d.ts +573 -0
- package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +408 -0
- package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
- package/components/routes-menu-content/src/item/index.vue.d.ts +539 -0
- package/components/routes-menu-content/src/types.d.ts +1 -0
- package/components/scrollbar/index.d.ts +4 -0
- package/components/scrollbar/src/bar.d.ts +15 -0
- package/components/scrollbar/src/bar.vue.d.ts +138 -0
- package/components/scrollbar/src/index.vue.d.ts +552 -0
- package/components/scrollbar/src/thumb.d.ts +15 -0
- package/components/scrollbar/src/thumb.vue.d.ts +97 -0
- package/components/scrollbar/src/types.d.ts +1 -0
- package/components/scrollbar/src/util.d.ts +3 -0
- package/components/sender/index.d.ts +5 -0
- package/components/sender/index.mjs +96 -42
- package/components/sender/src/SenderHeader.vue.d.ts +256 -0
- package/components/sender/src/ctx.d.ts +107 -0
- package/components/sender/src/index.vue.d.ts +649 -0
- package/components/sender/src/types.d.ts +1 -0
- package/components/speech-button/index.d.ts +4 -0
- package/components/speech-button/index.mjs +1 -1
- package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
- package/components/speech-button/src/ctx.d.ts +10 -0
- package/components/speech-button/src/index.vue.d.ts +22 -0
- package/components/speech-button/src/types.d.ts +1 -0
- package/components/table-columns/index.d.ts +5 -0
- package/components/table-columns/src/ctx.d.ts +59 -0
- package/components/table-columns/src/el-ctx.d.ts +57 -0
- package/components/table-columns/src/index.vue.d.ts +132 -0
- package/components/table-columns/src/types.d.ts +21 -0
- package/components/tables-v1/index.d.ts +5 -0
- package/components/tables-v1/src/ctx.d.ts +337 -0
- package/components/tables-v1/src/el-ctx.d.ts +262 -0
- package/components/tables-v1/src/index.vue.d.ts +3085 -0
- package/components/tables-v1/src/types.d.ts +3 -0
- package/components/tables-v1-checkbox/index.d.ts +5 -0
- package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3972 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/text/index.d.ts +4 -0
- package/components/text/src/ctx.d.ts +356 -0
- package/components/text/src/index.vue.d.ts +2335 -0
- package/components/text/src/types.d.ts +1 -0
- package/components/typing-markdown/index.d.ts +4 -0
- package/components/typing-markdown/src/core.d.ts +2 -0
- package/components/typing-markdown/src/ctx.d.ts +41 -0
- package/components/typing-markdown/src/index.vue.d.ts +75 -0
- package/components/typing-markdown/src/types.d.ts +1 -0
- package/components/vditor/index.d.ts +5 -0
- package/components/vditor/src/ctx.d.ts +38 -0
- package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
- package/components/vditor/src/handle-value.vue.d.ts +18 -0
- package/components/vditor/src/index.vue.d.ts +143 -0
- package/components/vditor/src/types.d.ts +9 -0
- package/components/vditor/src/use.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { AnyFunc } from '@vunk/shared';
|
|
2
|
+
import type { UploadFile } from 'ant-design-vue';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
/**
|
|
6
|
+
* @description v-model 绑定文件列表
|
|
7
|
+
*/
|
|
8
|
+
fileList: {
|
|
9
|
+
type: PropType<UploadFile[]>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @description 文件上传地址
|
|
14
|
+
*/
|
|
15
|
+
action: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @description v-model 绑定文本
|
|
21
|
+
*/
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @description 是否加载中,表现在发送按钮上
|
|
28
|
+
*/
|
|
29
|
+
loading: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @description 可选模块, 包含: Attachments 文件上传;
|
|
35
|
+
*/
|
|
36
|
+
modules: {
|
|
37
|
+
type: {
|
|
38
|
+
(arrayLength: number): "Attachments"[];
|
|
39
|
+
(...items: "Attachments"[]): "Attachments"[];
|
|
40
|
+
new (arrayLength: number): "Attachments"[];
|
|
41
|
+
new (...items: "Attachments"[]): "Attachments"[];
|
|
42
|
+
isArray(arg: any): arg is any[];
|
|
43
|
+
readonly prototype: any[];
|
|
44
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
45
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
46
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
47
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
48
|
+
of<T>(...items: T[]): T[];
|
|
49
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
50
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
51
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
52
|
+
};
|
|
53
|
+
default: () => never[];
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @description 非自定义Send Button时,禁用态
|
|
57
|
+
*/
|
|
58
|
+
sendDisabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @description v-model attachments显隐 在 Attachments 模块存在时有效
|
|
64
|
+
*/
|
|
65
|
+
attachmentsVisible: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @description 自定义 Send Button
|
|
71
|
+
*/
|
|
72
|
+
createSendButton: {
|
|
73
|
+
type: PropType<AnyFunc>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @description 自定义 Attachments Button, 在 Attachments 模块存在时有效
|
|
78
|
+
*/
|
|
79
|
+
createAttachmentsButton: {
|
|
80
|
+
type: PropType<AnyFunc>;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @description 调整文本域大小
|
|
85
|
+
*/
|
|
86
|
+
autoSize: {
|
|
87
|
+
type: PropType<{
|
|
88
|
+
minRows?: number;
|
|
89
|
+
maxRows?: number;
|
|
90
|
+
}>;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @link https://antd-design-x-vue.netlify.app/component/attachments.html
|
|
95
|
+
*/
|
|
96
|
+
attachmentsProps: {
|
|
97
|
+
type: ObjectConstructor;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export declare const emits: {
|
|
102
|
+
'update:fileList': (_: UploadFile[]) => boolean;
|
|
103
|
+
'update:modelValue': (_: string) => boolean;
|
|
104
|
+
'update:headerVisible': (_: boolean) => boolean;
|
|
105
|
+
submit: (_: string) => boolean;
|
|
106
|
+
cancel: null;
|
|
107
|
+
};
|