@vunk/plus 1.6.1 → 1.6.4
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/WebGLRenderer.mjs +1 -0
- package/components/WebGPURenderer.mjs +1 -0
- package/components/browserAll.mjs +1 -0
- package/components/bubble-templates/index.mjs +3 -0
- package/components/index2.mjs +16 -11
- package/components/metahuman-broadcasting/index.mjs +14 -10
- package/components/pixi-frame/index.mjs +1 -0
- package/components/webworkerAll.mjs +1 -0
- package/package.json +1 -1
- package/components/agent-chat-provider/index.d.ts +0 -7
- package/components/agent-chat-provider/src/api.d.ts +0 -3
- package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
- package/components/agent-chat-provider/src/const.d.ts +0 -1
- package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
- package/components/agent-chat-provider/src/types.d.ts +0 -43
- package/components/agent-chat-provider/src/use.d.ts +0 -29
- package/components/avatar/index.d.ts +0 -4
- package/components/avatar/src/ctx.d.ts +0 -18
- package/components/avatar/src/index.vue.d.ts +0 -121
- package/components/avatar/src/types.d.ts +0 -1
- package/components/broadcasting-markdown/index.d.ts +0 -7
- package/components/broadcasting-markdown/src/const.d.ts +0 -13
- package/components/broadcasting-markdown/src/ctx.d.ts +0 -125
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
- package/components/broadcasting-markdown/src/index.vue.d.ts +0 -424
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
- package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
- package/components/broadcasting-markdown/src/types.d.ts +0 -26
- package/components/broadcasting-markdown/src/use.d.ts +0 -21
- package/components/bubble-list/index.d.ts +0 -5
- package/components/bubble-list/src/ctx.d.ts +0 -30
- package/components/bubble-list/src/index.vue.d.ts +0 -848
- package/components/bubble-list/src/types.d.ts +0 -4
- package/components/bubble-templates/index.d.ts +0 -4
- package/components/bubble-templates/src/index.vue.d.ts +0 -579
- package/components/bubble-templates/src/types.d.ts +0 -40
- package/components/chat-independent/index.d.ts +0 -4
- package/components/chat-independent/src/const.d.ts +0 -13
- package/components/chat-independent/src/ctx.d.ts +0 -20
- package/components/chat-independent/src/index.vue.d.ts +0 -2326
- package/components/chat-independent/src/types.d.ts +0 -13
- package/components/index.d.ts +0 -0
- package/components/lottie-animation/index.d.ts +0 -4
- package/components/lottie-animation/src/ctx.d.ts +0 -10
- package/components/lottie-animation/src/index.vue.d.ts +0 -21
- package/components/lottie-animation/src/types.d.ts +0 -4
- package/components/metahuman-broadcasting/index.d.ts +0 -5
- package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
- package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -722
- package/components/metahuman-broadcasting/src/types.d.ts +0 -1
- package/components/monaco-editor/index.d.ts +0 -5
- package/components/monaco-editor/src/ctx.d.ts +0 -23
- package/components/monaco-editor/src/index.vue.d.ts +0 -40
- package/components/monaco-editor/src/types.d.ts +0 -1
- package/components/monaco-environment/index.d.ts +0 -4
- package/components/monaco-environment/src/ctx.d.ts +0 -8
- package/components/monaco-environment/src/index.vue.d.ts +0 -2
- package/components/monaco-environment/src/types.d.ts +0 -1
- package/components/pixi-frame/index.d.ts +0 -11
- package/components/pixi-frame/src/apng.vue.d.ts +0 -161
- package/components/pixi-frame/src/bitmap.vue.d.ts +0 -171
- package/components/pixi-frame/src/core.vue.d.ts +0 -173
- package/components/pixi-frame/src/ctx.d.ts +0 -55
- package/components/pixi-frame/src/index.vue.d.ts +0 -604
- package/components/pixi-frame/src/provider.vue.d.ts +0 -2
- package/components/pixi-frame/src/types.d.ts +0 -17
- package/components/pixi-frame/src/use.d.ts +0 -16
- package/components/pixi-frame/src/useSprite.d.ts +0 -12
- package/components/pixi-frame/src/video.vue.d.ts +0 -159
- package/components/pixi-frame/src/view.vue.d.ts +0 -29
- package/components/recorder-button/index.d.ts +0 -4
- package/components/recorder-button/src/ctx.d.ts +0 -41
- package/components/recorder-button/src/index.vue.d.ts +0 -300
- package/components/recorder-button/src/speech-to-text.d.ts +0 -1
- package/components/recorder-button/src/types.d.ts +0 -7
- package/components/routes-menu-content/index.d.ts +0 -4
- package/components/routes-menu-content/src/ctx.d.ts +0 -17
- package/components/routes-menu-content/src/index.vue.d.ts +0 -472
- package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
- package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
- package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
- package/components/routes-menu-content/src/types.d.ts +0 -1
- package/components/sender/index.d.ts +0 -4
- package/components/sender/src/SenderHeader.vue.d.ts +0 -256
- package/components/sender/src/ctx.d.ts +0 -62
- package/components/sender/src/index.vue.d.ts +0 -787
- package/components/sender/src/types.d.ts +0 -1
- package/components/speech-button/index.d.ts +0 -4
- package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/ctx.d.ts +0 -10
- package/components/speech-button/src/index.vue.d.ts +0 -22
- package/components/speech-button/src/types.d.ts +0 -1
- package/components/table-columns/index.d.ts +0 -5
- package/components/table-columns/src/ctx.d.ts +0 -66
- package/components/table-columns/src/el-ctx.d.ts +0 -63
- package/components/table-columns/src/index.vue.d.ts +0 -282
- package/components/table-columns/src/types.d.ts +0 -21
- package/components/tables-v1/index.d.ts +0 -5
- package/components/tables-v1/src/ctx.d.ts +0 -288
- package/components/tables-v1/src/el-ctx.d.ts +0 -269
- package/components/tables-v1/src/index.vue.d.ts +0 -3106
- package/components/tables-v1/src/types.d.ts +0 -3
- package/components/tables-v1-checkbox/index.d.ts +0 -5
- package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
- package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
- package/components/tables-v1-checkbox/src/types.d.ts +0 -1
- package/components/text/index.d.ts +0 -4
- package/components/text/src/ctx.d.ts +0 -320
- package/components/text/src/index.vue.d.ts +0 -2314
- package/components/text/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -2
- package/components/typing-markdown/src/ctx.d.ts +0 -41
- package/components/typing-markdown/src/index.vue.d.ts +0 -75
- package/components/typing-markdown/src/types.d.ts +0 -1
- package/components/vditor/index.d.ts +0 -5
- package/components/vditor/src/ctx.d.ts +0 -37
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/index.vue.d.ts +0 -144
- package/components/vditor/src/types.d.ts +0 -9
- package/components/vditor/src/use.d.ts +0 -4
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import type { AnyFunc } from '@vunk/shared';
|
|
2
|
-
import { Deferred } from '@vunk/shared/promise';
|
|
3
|
-
import { type PropType } from 'vue';
|
|
4
|
-
import { ParagraphStatus } from './const';
|
|
5
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
enable: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
status: {
|
|
11
|
-
type: PropType<ParagraphStatus>;
|
|
12
|
-
default: ParagraphStatus;
|
|
13
|
-
};
|
|
14
|
-
processing: {
|
|
15
|
-
type: PropType<AnyFunc>;
|
|
16
|
-
default: AnyFunc;
|
|
17
|
-
};
|
|
18
|
-
retryTimes: {
|
|
19
|
-
type: NumberConstructor;
|
|
20
|
-
default: number;
|
|
21
|
-
};
|
|
22
|
-
}>, {
|
|
23
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
enable: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
status: {
|
|
29
|
-
type: PropType<ParagraphStatus>;
|
|
30
|
-
default: ParagraphStatus;
|
|
31
|
-
};
|
|
32
|
-
processing: {
|
|
33
|
-
type: PropType<AnyFunc>;
|
|
34
|
-
default: AnyFunc;
|
|
35
|
-
};
|
|
36
|
-
retryTimes: {
|
|
37
|
-
type: NumberConstructor;
|
|
38
|
-
default: number;
|
|
39
|
-
};
|
|
40
|
-
}>> & Readonly<{
|
|
41
|
-
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}> & {}>;
|
|
43
|
-
emit: (event: "update:status", ...args: any[]) => void;
|
|
44
|
-
theDef: import("vue").ShallowRef<Deferred<any> | undefined, Deferred<any> | undefined>;
|
|
45
|
-
retryTimes: number;
|
|
46
|
-
processingDef: {
|
|
47
|
-
_ref: import("vue").ShallowRef<unknown, unknown>;
|
|
48
|
-
readonly value: unknown;
|
|
49
|
-
promise: Promise<unknown>;
|
|
50
|
-
resolve: import("@vunk/core").AnyFunc;
|
|
51
|
-
reject: (reason?: any) => void;
|
|
52
|
-
};
|
|
53
|
-
init: () => Promise<void>;
|
|
54
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:status"[], "update:status", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
enable: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
status: {
|
|
60
|
-
type: PropType<ParagraphStatus>;
|
|
61
|
-
default: ParagraphStatus;
|
|
62
|
-
};
|
|
63
|
-
processing: {
|
|
64
|
-
type: PropType<AnyFunc>;
|
|
65
|
-
default: AnyFunc;
|
|
66
|
-
};
|
|
67
|
-
retryTimes: {
|
|
68
|
-
type: NumberConstructor;
|
|
69
|
-
default: number;
|
|
70
|
-
};
|
|
71
|
-
}>> & Readonly<{
|
|
72
|
-
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}>, {
|
|
74
|
-
processing: AnyFunc;
|
|
75
|
-
status: ParagraphStatus;
|
|
76
|
-
enable: boolean;
|
|
77
|
-
retryTimes: number;
|
|
78
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
export default _default;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
readonly CloseBold: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
|
|
4
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
readonly size: {
|
|
6
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
7
|
-
readonly required: false;
|
|
8
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
|
-
__epPropKey: true;
|
|
10
|
-
};
|
|
11
|
-
readonly color: {
|
|
12
|
-
readonly type: import("vue").PropType<string>;
|
|
13
|
-
readonly required: false;
|
|
14
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
-
__epPropKey: true;
|
|
16
|
-
};
|
|
17
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
18
|
-
P: {};
|
|
19
|
-
B: {};
|
|
20
|
-
D: {};
|
|
21
|
-
C: {};
|
|
22
|
-
M: {};
|
|
23
|
-
Defaults: {};
|
|
24
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
readonly size: {
|
|
26
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
27
|
-
readonly required: false;
|
|
28
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
|
-
__epPropKey: true;
|
|
30
|
-
};
|
|
31
|
-
readonly color: {
|
|
32
|
-
readonly type: import("vue").PropType<string>;
|
|
33
|
-
readonly required: false;
|
|
34
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
-
__epPropKey: true;
|
|
36
|
-
};
|
|
37
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
38
|
-
__isFragment?: undefined;
|
|
39
|
-
__isTeleport?: undefined;
|
|
40
|
-
__isSuspense?: undefined;
|
|
41
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
-
readonly size: {
|
|
43
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
44
|
-
readonly required: false;
|
|
45
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
-
__epPropKey: true;
|
|
47
|
-
};
|
|
48
|
-
readonly color: {
|
|
49
|
-
readonly type: import("vue").PropType<string>;
|
|
50
|
-
readonly required: false;
|
|
51
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
-
__epPropKey: true;
|
|
53
|
-
};
|
|
54
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
55
|
-
$slots: {
|
|
56
|
-
default?(_: {}): any;
|
|
57
|
-
};
|
|
58
|
-
})>;
|
|
59
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { ReturnVoid } from '@vunk/shared';
|
|
2
|
-
import type { TickerStatus } from '@vunk/shared/enum';
|
|
3
|
-
import type { Deferred } from '@vunk/shared/promise';
|
|
4
|
-
import type { ParagraphStatus } from './const';
|
|
5
|
-
export interface Paragraph {
|
|
6
|
-
value: string;
|
|
7
|
-
status: ParagraphStatus;
|
|
8
|
-
start: number;
|
|
9
|
-
end: number;
|
|
10
|
-
separator: string;
|
|
11
|
-
broadcast: TickerStatus;
|
|
12
|
-
/**
|
|
13
|
-
* @description 语音合成的 url
|
|
14
|
-
*/
|
|
15
|
-
url?: string;
|
|
16
|
-
blob?: Blob;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @returns Audio URL
|
|
20
|
-
*/
|
|
21
|
-
export type TextToSpeech = (text: string) => Promise<string | Blob>;
|
|
22
|
-
export interface ParagraphLoadEvent {
|
|
23
|
-
data: Paragraph;
|
|
24
|
-
deferred: Deferred<any>;
|
|
25
|
-
}
|
|
26
|
-
export type ParagraphOnLoad = (event: ParagraphLoadEvent) => ReturnVoid;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { SetDataEvent } from '@vunk/core';
|
|
2
|
-
import type { Deferred } from '@vunk/shared/promise';
|
|
3
|
-
import type { Paragraph } from './types';
|
|
4
|
-
import { Howl } from 'howler';
|
|
5
|
-
/**
|
|
6
|
-
* @description 使用 Howler.js 播放段落
|
|
7
|
-
*/
|
|
8
|
-
export declare function useHowlerParagraph(props: {
|
|
9
|
-
data: Paragraph;
|
|
10
|
-
deferred: Deferred<any>;
|
|
11
|
-
}, emit: (e: 'setData', data: SetDataEvent<keyof Paragraph>) => void): {
|
|
12
|
-
url: import("vue").ComputedRef<string | undefined>;
|
|
13
|
-
broadcast: import("vue").ComputedRef<import("@vunk/shared/enum").TickerStatus>;
|
|
14
|
-
sound: import("vue").ShallowRef<Howl | null, Howl | null>;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @description 获取浏览器语音列表
|
|
18
|
-
*/
|
|
19
|
-
export declare function useVoices(): {
|
|
20
|
-
voices: import("vue").ShallowRef<SpeechSynthesisVoice[], SpeechSynthesisVoice[]>;
|
|
21
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { __VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
2
|
-
import type { AnyFunc } from '@vunk/shared';
|
|
3
|
-
import type { PropType } from 'vue';
|
|
4
|
-
export declare const props: {
|
|
5
|
-
items: {
|
|
6
|
-
type: {
|
|
7
|
-
(arrayLength: number): any[];
|
|
8
|
-
(...items: any[]): any[];
|
|
9
|
-
new (arrayLength: number): any[];
|
|
10
|
-
new (...items: any[]): any[];
|
|
11
|
-
isArray(arg: any): arg is any[];
|
|
12
|
-
readonly prototype: any[];
|
|
13
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
14
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
15
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
16
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
17
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
18
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
19
|
-
};
|
|
20
|
-
default: () => never[];
|
|
21
|
-
};
|
|
22
|
-
elRef: {
|
|
23
|
-
type: PropType<AnyFunc>;
|
|
24
|
-
default: AnyFunc;
|
|
25
|
-
};
|
|
26
|
-
textToSpeech: {
|
|
27
|
-
type: PropType<__VkBroadcastingMarkdown.TextToSpeech>;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const emits: {};
|