@vunk/plus 1.7.1 → 1.7.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/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 +129 -0
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +97 -0
- package/components/broadcasting-markdown/src/index.vue.d.ts +432 -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 +21 -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 +2407 -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 +878 -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/sender/index.d.ts +4 -0
- package/components/sender/src/SenderHeader.vue.d.ts +256 -0
- package/components/sender/src/ctx.d.ts +64 -0
- package/components/sender/src/index.vue.d.ts +765 -0
- package/components/sender/src/types.d.ts +1 -0
- package/components/speech-button/index.d.ts +4 -0
- 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/index.mjs +3 -3
- 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/index.mjs +42 -48
- 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/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/el-breakpoints/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { Texture } from 'pixi.js';
|
|
2
|
+
import { TickerStatus } from '@vunk/shared/enum';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
url: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
data: {
|
|
9
|
+
type: import("vue").PropType<any[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
loop: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
status: {
|
|
17
|
+
type: import("vue").PropType<TickerStatus>;
|
|
18
|
+
default: TickerStatus;
|
|
19
|
+
};
|
|
20
|
+
frameRate: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
label: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
resize: {
|
|
29
|
+
type: import("vue").PropType<import("./types").Resize>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
prerender: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
visible: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>, {
|
|
41
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
url: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
data: {
|
|
47
|
+
type: import("vue").PropType<any[]>;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
loop: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
status: {
|
|
55
|
+
type: import("vue").PropType<TickerStatus>;
|
|
56
|
+
default: TickerStatus;
|
|
57
|
+
};
|
|
58
|
+
frameRate: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
label: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
resize: {
|
|
67
|
+
type: import("vue").PropType<import("./types").Resize>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
prerender: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
visible: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
onSetData?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
"onUpdate:data"?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
}> & {}>;
|
|
83
|
+
emit: ((event: "setData", ...args: any[]) => void) & ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
|
|
84
|
+
compId: string;
|
|
85
|
+
getAlias: () => string;
|
|
86
|
+
sprite: import("pixi.js").Sprite;
|
|
87
|
+
resizeSprite: () => void;
|
|
88
|
+
texture: import("vue").Ref<Texture<import("pixi.js").TextureSource<any>> | undefined, Texture<import("pixi.js").TextureSource<any>> | undefined>;
|
|
89
|
+
video: import("vue").ComputedRef<HTMLVideoElement | null>;
|
|
90
|
+
readyDef: {
|
|
91
|
+
_ref: import("vue").ShallowRef<unknown, unknown>;
|
|
92
|
+
readonly value: unknown;
|
|
93
|
+
promise: Promise<unknown>;
|
|
94
|
+
resolve: import("@vunk/core").AnyFunc;
|
|
95
|
+
reject: (reason?: any) => void;
|
|
96
|
+
};
|
|
97
|
+
videoError: import("vue").Ref<string, string>;
|
|
98
|
+
loadVideoTexture: (url: string) => Promise<any>;
|
|
99
|
+
setupVideoEvents: (video: HTMLVideoElement) => void;
|
|
100
|
+
cleanupVideo: () => Promise<void>;
|
|
101
|
+
play: () => void;
|
|
102
|
+
pause: () => void;
|
|
103
|
+
stop: () => void;
|
|
104
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
105
|
+
'update:status': null;
|
|
106
|
+
'update:data': null;
|
|
107
|
+
setData: null;
|
|
108
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
url: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
data: {
|
|
114
|
+
type: import("vue").PropType<any[]>;
|
|
115
|
+
default: () => never[];
|
|
116
|
+
};
|
|
117
|
+
loop: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
status: {
|
|
122
|
+
type: import("vue").PropType<TickerStatus>;
|
|
123
|
+
default: TickerStatus;
|
|
124
|
+
};
|
|
125
|
+
frameRate: {
|
|
126
|
+
type: NumberConstructor;
|
|
127
|
+
default: number;
|
|
128
|
+
};
|
|
129
|
+
label: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
resize: {
|
|
134
|
+
type: import("vue").PropType<import("./types").Resize>;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
prerender: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
visible: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
}>> & Readonly<{
|
|
146
|
+
onSetData?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onUpdate:data"?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
}>, {
|
|
150
|
+
data: any[];
|
|
151
|
+
status: TickerStatus;
|
|
152
|
+
label: string;
|
|
153
|
+
resize: import("./types").Resize;
|
|
154
|
+
visible: boolean;
|
|
155
|
+
prerender: boolean;
|
|
156
|
+
loop: boolean;
|
|
157
|
+
frameRate: number;
|
|
158
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
159
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ApplicationOptions } from 'pixi.js';
|
|
2
|
+
import type { PropType, Ref } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
defaultOptions: {
|
|
5
|
+
type: PropType<Partial<ApplicationOptions>>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
}>, {
|
|
9
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
defaultOptions: {
|
|
11
|
+
type: PropType<Partial<ApplicationOptions>>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}> & {}>;
|
|
15
|
+
app: import("pixi.js").Application<import("pixi.js").Renderer>;
|
|
16
|
+
context: {
|
|
17
|
+
whenDef: import("@vunk/shared/promise").Deferred<import("pixi.js").Application>;
|
|
18
|
+
when: () => Promise<import("pixi.js").Application>;
|
|
19
|
+
};
|
|
20
|
+
appRef: Ref<HTMLDivElement, HTMLDivElement>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
defaultOptions: {
|
|
23
|
+
type: PropType<Partial<ApplicationOptions>>;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
|
+
defaultOptions: Partial<ApplicationOptions>;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { OnTextZone, SpeechToText, SubmitRawEvent } from './types';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
/**
|
|
5
|
+
* 自定义转为文本区域事件
|
|
6
|
+
*/
|
|
7
|
+
onTextZone: {
|
|
8
|
+
type: PropType<OnTextZone>;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 遮罩层 appendTo
|
|
13
|
+
*/
|
|
14
|
+
appendTo: {
|
|
15
|
+
type: null;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 语音转文本函数
|
|
24
|
+
*/
|
|
25
|
+
speechToText: {
|
|
26
|
+
type: PropType<SpeechToText>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @description 是否直接使用提交文本输出
|
|
31
|
+
*/
|
|
32
|
+
submitToText: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const emits: {
|
|
38
|
+
submitText: (text: string) => boolean;
|
|
39
|
+
submit: (_: SubmitRawEvent) => boolean;
|
|
40
|
+
error: (_: Error) => boolean;
|
|
41
|
+
};
|