@vunk/plus 1.7.1 → 1.7.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/agent-chat-provider/index.d.ts +8 -0
- package/components/agent-chat-provider/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +4 -4
- 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/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index2.mjs +7 -7
- package/components/index3.mjs +1 -1
- package/components/lottie-animation/index.d.ts +4 -0
- package/components/lottie-animation/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +3 -3
- 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/index.mjs +2 -2
- 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/index.mjs +3 -3
- 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 +4 -4
- 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 -49
- 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 +2956 -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/index.mjs +1 -1
- package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
- package/components/tables-v1-checkbox/src/index.vue.d.ts +3843 -0
- package/components/tables-v1-checkbox/src/types.d.ts +1 -0
- package/components/text/index.d.ts +4 -0
- package/components/text/index.mjs +1 -1
- 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/index.mjs +1 -1
- 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/index.mjs +3 -3
- 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/icons/end/index.mjs +1 -1
- package/icons/keyboard/index.mjs +1 -1
- package/icons/start/index.mjs +1 -1
- package/icons/voice/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { __VkAgentChatProvider } from '@vunk/plus/components/agent-chat-provider';
|
|
2
|
+
import type { __VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
3
|
+
import type { __VkRecorderButton } from '@vunk/plus/components/recorder-button';
|
|
4
|
+
export type SpeechToText = __VkRecorderButton.SpeechToText;
|
|
5
|
+
export type TextToSpeech = __VkBroadcastingMarkdown.TextToSpeech;
|
|
6
|
+
/**
|
|
7
|
+
* @description useXChat parser 解析数据
|
|
8
|
+
*/
|
|
9
|
+
export type BubbleMessage = __VkAgentChatProvider.BubbleMessage;
|
|
10
|
+
/**
|
|
11
|
+
* @description useXAgent request onSuccess 发送的数据
|
|
12
|
+
*/
|
|
13
|
+
export type AgentMessage = __VkAgentChatProvider.AgentMessage;
|
|
File without changes
|
package/components/index2.mjs
CHANGED
|
@@ -25760,7 +25760,7 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
25760
25760
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25761
25761
|
return renderSlot(_ctx.$slots, "default");
|
|
25762
25762
|
}
|
|
25763
|
-
var ApngComp = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__file", "
|
|
25763
|
+
var ApngComp = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\apng.vue"]]);
|
|
25764
25764
|
|
|
25765
25765
|
var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
25766
25766
|
__name: "bitmap",
|
|
@@ -25907,7 +25907,7 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
25907
25907
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25908
25908
|
return renderSlot(_ctx.$slots, "default");
|
|
25909
25909
|
}
|
|
25910
|
-
var Bitmap = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__file", "
|
|
25910
|
+
var Bitmap = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\bitmap.vue"]]);
|
|
25911
25911
|
|
|
25912
25912
|
var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
25913
25913
|
__name: "core",
|
|
@@ -26085,7 +26085,7 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26085
26085
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26086
26086
|
return renderSlot(_ctx.$slots, "default");
|
|
26087
26087
|
}
|
|
26088
|
-
var core = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "
|
|
26088
|
+
var core = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\core.vue"]]);
|
|
26089
26089
|
|
|
26090
26090
|
var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
26091
26091
|
__name: "provider",
|
|
@@ -26101,7 +26101,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
26101
26101
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26102
26102
|
return renderSlot(_ctx.$slots, "default");
|
|
26103
26103
|
}
|
|
26104
|
-
var ProviderComp = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__file", "
|
|
26104
|
+
var ProviderComp = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\provider.vue"]]);
|
|
26105
26105
|
|
|
26106
26106
|
var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
26107
26107
|
__name: "video",
|
|
@@ -26256,7 +26256,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
26256
26256
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26257
26257
|
return renderSlot(_ctx.$slots, "default");
|
|
26258
26258
|
}
|
|
26259
|
-
var VideoComp = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__file", "
|
|
26259
|
+
var VideoComp = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\video.vue"]]);
|
|
26260
26260
|
|
|
26261
26261
|
var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
26262
26262
|
__name: "view",
|
|
@@ -26298,7 +26298,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26298
26298
|
/* NEED_PATCH */
|
|
26299
26299
|
);
|
|
26300
26300
|
}
|
|
26301
|
-
var ViewComp = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "
|
|
26301
|
+
var ViewComp = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\view.vue"]]);
|
|
26302
26302
|
|
|
26303
26303
|
var _sfc_main = defineComponent({
|
|
26304
26304
|
name: "VkPixiFrame",
|
|
@@ -26366,7 +26366,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26366
26366
|
/* STABLE */
|
|
26367
26367
|
});
|
|
26368
26368
|
}
|
|
26369
|
-
var VkPixiFrame = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
26369
|
+
var VkPixiFrame = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\pixi-frame\\src\\index.vue"]]);
|
|
26370
26370
|
|
|
26371
26371
|
var types = /*#__PURE__*/Object.freeze({
|
|
26372
26372
|
__proto__: null
|
package/components/index3.mjs
CHANGED
|
@@ -79515,7 +79515,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79515
79515
|
/* FORWARDED */
|
|
79516
79516
|
});
|
|
79517
79517
|
}
|
|
79518
|
-
var VkBubbleList = /* @__PURE__ */ _export_sfc$2(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
79518
|
+
var VkBubbleList = /* @__PURE__ */ _export_sfc$2(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\bubble-list\\src\\index.vue"]]);
|
|
79519
79519
|
|
|
79520
79520
|
var types = /*#__PURE__*/Object.freeze({
|
|
79521
79521
|
__proto__: null
|
|
@@ -58,7 +58,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
58
58
|
/* STABLE_FRAGMENT */
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
var VkLottieAnimation = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
61
|
+
var VkLottieAnimation = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\lottie-animation\\src\\index.vue"]]);
|
|
62
62
|
|
|
63
63
|
var types = /*#__PURE__*/Object.freeze({
|
|
64
64
|
__proto__: null
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
path: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
}>, {
|
|
8
|
+
lottieNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
load: (e: import("./types").LoadEvent) => import("./types").LoadEvent;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
path: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
onLoad?: ((e: import("./types").LoadEvent) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
path: string;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -201,7 +201,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
201
201
|
/* STABLE_FRAGMENT */
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
var VkMetahumanBroadcasting = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
204
|
+
var VkMetahumanBroadcasting = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\metahuman-broadcasting\\src\\index.vue"]]);
|
|
205
205
|
|
|
206
206
|
var types = /*#__PURE__*/Object.freeze({
|
|
207
207
|
__proto__: null
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { TickerStatus } from '@vunk/shared/enum';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export declare const props: {
|
|
4
|
+
/**
|
|
5
|
+
* @description 传入文本
|
|
6
|
+
*/
|
|
7
|
+
source: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @description 文本转语音的函数
|
|
13
|
+
*/
|
|
14
|
+
textToSpeech: {
|
|
15
|
+
type: PropType<(text: string) => Promise<Blob>>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @description 模型地址
|
|
20
|
+
*/
|
|
21
|
+
modelUrl: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @description 数据集地址
|
|
27
|
+
*/
|
|
28
|
+
datasetUrl: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @description zip 资源包地址
|
|
34
|
+
*/
|
|
35
|
+
sourceUrl: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @description 播报状态
|
|
41
|
+
* @default TickerStatus.pending
|
|
42
|
+
*/
|
|
43
|
+
status: {
|
|
44
|
+
type: PropType<TickerStatus>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @description 缓存多少帧后开始播放
|
|
49
|
+
*/
|
|
50
|
+
playAfterCache: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare const emits: {
|
|
56
|
+
'update:status': null;
|
|
57
|
+
};
|