@vunk/plus 1.3.9 → 1.3.10

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.
Files changed (104) hide show
  1. package/components/broadcasting-markdown/index.mjs +18 -6
  2. package/components/bubble-templates/index.mjs +21 -5
  3. package/components/chat-independent/index.mjs +41 -15
  4. package/components/recorder-button/index.mjs +4 -7
  5. package/components/sender/index.mjs +11 -8
  6. package/composables/recorder/index.mjs +8 -5
  7. package/package.json +1 -1
  8. package/components/agent-chat-provider/index.d.ts +0 -7
  9. package/components/agent-chat-provider/src/api.d.ts +0 -3
  10. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  11. package/components/agent-chat-provider/src/const.d.ts +0 -1
  12. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  13. package/components/agent-chat-provider/src/types.d.ts +0 -37
  14. package/components/agent-chat-provider/src/use.d.ts +0 -29
  15. package/components/avatar/index.d.ts +0 -4
  16. package/components/avatar/src/ctx.d.ts +0 -18
  17. package/components/avatar/src/index.vue.d.ts +0 -121
  18. package/components/avatar/src/types.d.ts +0 -1
  19. package/components/broadcasting-markdown/index.d.ts +0 -5
  20. package/components/broadcasting-markdown/src/const.d.ts +0 -18
  21. package/components/broadcasting-markdown/src/ctx.d.ts +0 -101
  22. package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +0 -117
  23. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -117
  24. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -516
  25. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -92
  26. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  27. package/components/broadcasting-markdown/src/types.d.ts +0 -17
  28. package/components/broadcasting-markdown/src/use.d.ts +0 -3
  29. package/components/broadcasting-markdown/src/web-speech.vue.d.ts +0 -110
  30. package/components/bubble-list/index.d.ts +0 -5
  31. package/components/bubble-list/src/ctx.d.ts +0 -30
  32. package/components/bubble-list/src/index.vue.d.ts +0 -998
  33. package/components/bubble-list/src/types.d.ts +0 -4
  34. package/components/bubble-templates/index.d.ts +0 -4
  35. package/components/bubble-templates/src/index.vue.d.ts +0 -670
  36. package/components/bubble-templates/src/types.d.ts +0 -30
  37. package/components/chat-independent/index.d.ts +0 -4
  38. package/components/chat-independent/src/const.d.ts +0 -13
  39. package/components/chat-independent/src/ctx.d.ts +0 -20
  40. package/components/chat-independent/src/index.vue.d.ts +0 -2460
  41. package/components/chat-independent/src/types.d.ts +0 -13
  42. package/components/index.d.ts +0 -0
  43. package/components/lottie-animation/index.d.ts +0 -4
  44. package/components/lottie-animation/src/ctx.d.ts +0 -10
  45. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  46. package/components/lottie-animation/src/types.d.ts +0 -4
  47. package/components/monaco-editor/index.d.ts +0 -5
  48. package/components/monaco-editor/src/ctx.d.ts +0 -23
  49. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  50. package/components/monaco-editor/src/types.d.ts +0 -1
  51. package/components/monaco-environment/index.d.ts +0 -4
  52. package/components/monaco-environment/src/ctx.d.ts +0 -8
  53. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  54. package/components/monaco-environment/src/types.d.ts +0 -1
  55. package/components/recorder-button/index.d.ts +0 -4
  56. package/components/recorder-button/src/ctx.d.ts +0 -40
  57. package/components/recorder-button/src/index.vue.d.ts +0 -303
  58. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  59. package/components/recorder-button/src/types.d.ts +0 -7
  60. package/components/routes-menu-content/index.d.ts +0 -4
  61. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  62. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  63. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  64. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  65. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  66. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  67. package/components/routes-menu-content/src/types.d.ts +0 -1
  68. package/components/sender/index.d.ts +0 -4
  69. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  70. package/components/sender/src/ctx.d.ts +0 -58
  71. package/components/sender/src/index.vue.d.ts +0 -778
  72. package/components/sender/src/types.d.ts +0 -1
  73. package/components/speech-button/index.d.ts +0 -4
  74. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  75. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  76. package/components/speech-button/src/ctx.d.ts +0 -10
  77. package/components/speech-button/src/index.vue.d.ts +0 -22
  78. package/components/speech-button/src/types.d.ts +0 -1
  79. package/components/table-columns/index.d.ts +0 -5
  80. package/components/table-columns/src/ctx.d.ts +0 -66
  81. package/components/table-columns/src/el-ctx.d.ts +0 -63
  82. package/components/table-columns/src/index.vue.d.ts +0 -282
  83. package/components/table-columns/src/types.d.ts +0 -21
  84. package/components/tables-v1/index.d.ts +0 -5
  85. package/components/tables-v1/src/ctx.d.ts +0 -281
  86. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  87. package/components/tables-v1/src/index.vue.d.ts +0 -3014
  88. package/components/tables-v1/src/types.d.ts +0 -4
  89. package/components/tables-v1-checkbox/index.d.ts +0 -5
  90. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -321
  91. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3796
  92. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  93. package/components/typing-markdown/index.d.ts +0 -4
  94. package/components/typing-markdown/src/core.d.ts +0 -2
  95. package/components/typing-markdown/src/ctx.d.ts +0 -33
  96. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  97. package/components/typing-markdown/src/types.d.ts +0 -1
  98. package/components/vditor/index.d.ts +0 -5
  99. package/components/vditor/src/ctx.d.ts +0 -37
  100. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  101. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  102. package/components/vditor/src/index.vue.d.ts +0 -144
  103. package/components/vditor/src/types.d.ts +0 -9
  104. package/components/vditor/src/use.d.ts +0 -4
@@ -1,121 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
3
- readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
4
- readonly icon: {
5
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
6
- readonly required: false;
7
- readonly validator: ((val: unknown) => boolean) | undefined;
8
- __epPropKey: true;
9
- };
10
- readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
11
- readonly alt: StringConstructor;
12
- readonly srcSet: StringConstructor;
13
- readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
14
- } & {
15
- background: never;
16
- color: never;
17
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
- readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
19
- readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
20
- readonly icon: {
21
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
22
- readonly required: false;
23
- readonly validator: ((val: unknown) => boolean) | undefined;
24
- __epPropKey: true;
25
- };
26
- readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
27
- readonly alt: StringConstructor;
28
- readonly srcSet: StringConstructor;
29
- readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
30
- } & {
31
- background: never;
32
- color: never;
33
- }>> & Readonly<{}>, {
34
- readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
35
- readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
36
- readonly src: string;
37
- readonly fit: any;
38
- }, {}, {
39
- ElAvatar: import("element-plus/es/utils").SFCWithInstall<{
40
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
41
- readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
42
- readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
43
- readonly icon: {
44
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
45
- readonly required: false;
46
- readonly validator: ((val: unknown) => boolean) | undefined;
47
- __epPropKey: true;
48
- };
49
- readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
50
- readonly alt: StringConstructor;
51
- readonly srcSet: StringConstructor;
52
- readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
53
- }>> & {
54
- onError?: ((evt: Event) => any) | undefined;
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- error: (evt: Event) => void;
57
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
58
- readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
59
- readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
60
- readonly src: string;
61
- readonly fit: any;
62
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
63
- P: {};
64
- B: {};
65
- D: {};
66
- C: {};
67
- M: {};
68
- Defaults: {};
69
- }, Readonly<import("vue").ExtractPropTypes<{
70
- readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
71
- readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
72
- readonly icon: {
73
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
74
- readonly required: false;
75
- readonly validator: ((val: unknown) => boolean) | undefined;
76
- __epPropKey: true;
77
- };
78
- readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
79
- readonly alt: StringConstructor;
80
- readonly srcSet: StringConstructor;
81
- readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
82
- }>> & {
83
- onError?: ((evt: Event) => any) | undefined;
84
- }, {}, {}, {}, {}, {
85
- readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
86
- readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
87
- readonly src: string;
88
- readonly fit: any;
89
- }>;
90
- __isFragment?: undefined;
91
- __isTeleport?: undefined;
92
- __isSuspense?: undefined;
93
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
94
- readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
95
- readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
96
- readonly icon: {
97
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
98
- readonly required: false;
99
- readonly validator: ((val: unknown) => boolean) | undefined;
100
- __epPropKey: true;
101
- };
102
- readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
103
- readonly alt: StringConstructor;
104
- readonly srcSet: StringConstructor;
105
- readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any) | ((new (...args: any[]) => "initial" | "fill" | "cover" | "contain" | "none" | "scale-down" | "-moz-initial" | "inherit" | "revert" | "unset") | (() => any))[], unknown, unknown, "cover", boolean>;
106
- }>> & {
107
- onError?: ((evt: Event) => any) | undefined;
108
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
109
- error: (evt: Event) => void;
110
- }, string, {
111
- readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
112
- readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
113
- readonly src: string;
114
- readonly fit: any;
115
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
116
- $slots: {
117
- default?(_: {}): any;
118
- };
119
- })>;
120
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
121
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import VkBroadcastingMarkdown from './src/index.vue';
2
- export * from './src/const';
3
- export * as __VkBroadcastingMarkdown from './src/types';
4
- export { VkBroadcastingMarkdown, };
5
- export default VkBroadcastingMarkdown;
@@ -1,18 +0,0 @@
1
- export declare function defaultRender(mdText: string): string;
2
- export declare enum ParagraphStatus {
3
- initial = "initial",
4
- /**
5
- * @description 处理中, 通常用于需要对段落进行异步处理
6
- */
7
- processing = "processing",
8
- pending = "pending",
9
- fulfilled = "fulfilled",
10
- rejected = "rejected"
11
- }
12
- export declare enum Broadcast {
13
- initial = "initial",
14
- playing = "playing",
15
- ended = "ended",
16
- paused = "paused",
17
- failed = "failed"
18
- }
@@ -1,101 +0,0 @@
1
- import type { SetDataEvent } from '@vunk/core';
2
- import type { PropType } from 'vue';
3
- import type { Paragraph, TextToSpeech } from './types';
4
- import { defaultRender } from './const';
5
- export declare const props: {
6
- /**
7
- * @description md文本转纯文本的函数
8
- */
9
- render: {
10
- type: PropType<(text: string) => string>;
11
- default: typeof defaultRender;
12
- };
13
- /**
14
- * @description 段落详情
15
- */
16
- data: {
17
- type: {
18
- (arrayLength: number): Paragraph[];
19
- (...items: Paragraph[]): Paragraph[];
20
- new (arrayLength: number): Paragraph[];
21
- new (...items: Paragraph[]): Paragraph[];
22
- isArray(arg: any): arg is any[];
23
- readonly prototype: any[];
24
- from<T>(arrayLike: ArrayLike<T>): T[];
25
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
26
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
27
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
28
- of<T_4>(...items: T_4[]): T_4[];
29
- readonly [Symbol.species]: ArrayConstructor;
30
- };
31
- default: undefined;
32
- };
33
- /**
34
- * @description md 文本
35
- */
36
- source: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- /**
41
- * @description 游标阅读延迟
42
- */
43
- delay: {
44
- type: NumberConstructor;
45
- default: number;
46
- };
47
- /**
48
- * @description 段落切割符号
49
- */
50
- separators: {
51
- type: {
52
- (arrayLength: number): string[];
53
- (...items: string[]): string[];
54
- new (arrayLength: number): string[];
55
- new (...items: string[]): string[];
56
- isArray(arg: any): arg is any[];
57
- readonly prototype: any[];
58
- from<T>(arrayLike: ArrayLike<T>): T[];
59
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
60
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
61
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
62
- of<T_4>(...items: T_4[]): T_4[];
63
- readonly [Symbol.species]: ArrayConstructor;
64
- };
65
- default: () => string[];
66
- };
67
- /**
68
- * @description 暂停的
69
- */
70
- pause: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
- /**
75
- * @description 组件内会根据当前游标是否和 source 长度一致来判断,是否持续阅读, 当一致时,会关闭阅读状态。但若设置为 true,则会持续阅读, 这在动态接收数据时会有用
76
- */
77
- keepRead: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- /**
82
- * @description 是否使用 web speech api
83
- */
84
- webSpeech: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- /**
89
- * @description 是否使用自定义语音合成
90
- */
91
- textToSpeech: {
92
- type: PropType<TextToSpeech>;
93
- default: undefined;
94
- };
95
- };
96
- export declare const emits: {
97
- setData: (e: SetDataEvent) => SetDataEvent;
98
- 'update:broadcasting': (_: boolean) => boolean;
99
- 'update:completed': (_: boolean) => boolean;
100
- 'update:error': (_: boolean) => boolean;
101
- };
@@ -1,117 +0,0 @@
1
- import type { Deferred } from '@vunk/shared/promise';
2
- import type { PropType } from 'vue';
3
- import type { Paragraph } from './types';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- data: {
6
- type: PropType<Paragraph>;
7
- default: () => {};
8
- };
9
- deferred: {
10
- type: PropType<Deferred<any>>;
11
- required: true;
12
- };
13
- pause: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- /**
18
- * @description 语音资源路径
19
- */
20
- url: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- render: {
25
- type: PropType<(text: string) => string>;
26
- required: true;
27
- };
28
- }>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
- data: {
30
- type: PropType<Paragraph>;
31
- default: () => {};
32
- };
33
- deferred: {
34
- type: PropType<Deferred<any>>;
35
- required: true;
36
- };
37
- pause: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- /**
42
- * @description 语音资源路径
43
- */
44
- url: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- render: {
49
- type: PropType<(text: string) => string>;
50
- required: true;
51
- };
52
- }>> & Readonly<{}>, {
53
- pause: boolean;
54
- data: Paragraph;
55
- url: string;
56
- }, {}, {
57
- SpeechError: import("vue").DefineComponent<{}, {
58
- 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>;
59
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
60
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
61
- readonly size: {
62
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
63
- readonly required: false;
64
- readonly validator: ((val: unknown) => boolean) | undefined;
65
- __epPropKey: true;
66
- };
67
- readonly color: {
68
- readonly type: PropType<string>;
69
- readonly required: false;
70
- readonly validator: ((val: unknown) => boolean) | undefined;
71
- __epPropKey: true;
72
- };
73
- }>>, {}, 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, {
74
- P: {};
75
- B: {};
76
- D: {};
77
- C: {};
78
- M: {};
79
- Defaults: {};
80
- }, Readonly<import("vue").ExtractPropTypes<{
81
- readonly size: {
82
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
83
- readonly required: false;
84
- readonly validator: ((val: unknown) => boolean) | undefined;
85
- __epPropKey: true;
86
- };
87
- readonly color: {
88
- readonly type: PropType<string>;
89
- readonly required: false;
90
- readonly validator: ((val: unknown) => boolean) | undefined;
91
- __epPropKey: true;
92
- };
93
- }>>, {}, {}, {}, {}, {}>;
94
- __isFragment?: undefined;
95
- __isTeleport?: undefined;
96
- __isSuspense?: undefined;
97
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
98
- readonly size: {
99
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
100
- readonly required: false;
101
- readonly validator: ((val: unknown) => boolean) | undefined;
102
- __epPropKey: true;
103
- };
104
- readonly color: {
105
- readonly type: PropType<string>;
106
- readonly required: false;
107
- readonly validator: ((val: unknown) => boolean) | undefined;
108
- __epPropKey: true;
109
- };
110
- }>>, {}, 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 () => {
111
- $slots: {
112
- default?(_: {}): any;
113
- };
114
- })>;
115
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
117
- export default _default;
@@ -1,117 +0,0 @@
1
- import type { Deferred } from '@vunk/shared/promise';
2
- import type { PropType } from 'vue';
3
- import type { Paragraph } from './types';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- data: {
6
- type: PropType<Paragraph>;
7
- default: () => {};
8
- };
9
- deferred: {
10
- type: PropType<Deferred<any>>;
11
- required: true;
12
- };
13
- pause: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- /**
18
- * @description 语音资源路径
19
- */
20
- url: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- render: {
25
- type: PropType<(text: string) => string>;
26
- required: true;
27
- };
28
- }>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
- data: {
30
- type: PropType<Paragraph>;
31
- default: () => {};
32
- };
33
- deferred: {
34
- type: PropType<Deferred<any>>;
35
- required: true;
36
- };
37
- pause: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- /**
42
- * @description 语音资源路径
43
- */
44
- url: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- render: {
49
- type: PropType<(text: string) => string>;
50
- required: true;
51
- };
52
- }>> & Readonly<{}>, {
53
- pause: boolean;
54
- data: Paragraph;
55
- url: string;
56
- }, {}, {
57
- SpeechError: import("vue").DefineComponent<{}, {
58
- 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>;
59
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
60
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
61
- readonly size: {
62
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
63
- readonly required: false;
64
- readonly validator: ((val: unknown) => boolean) | undefined;
65
- __epPropKey: true;
66
- };
67
- readonly color: {
68
- readonly type: PropType<string>;
69
- readonly required: false;
70
- readonly validator: ((val: unknown) => boolean) | undefined;
71
- __epPropKey: true;
72
- };
73
- }>>, {}, 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, {
74
- P: {};
75
- B: {};
76
- D: {};
77
- C: {};
78
- M: {};
79
- Defaults: {};
80
- }, Readonly<import("vue").ExtractPropTypes<{
81
- readonly size: {
82
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
83
- readonly required: false;
84
- readonly validator: ((val: unknown) => boolean) | undefined;
85
- __epPropKey: true;
86
- };
87
- readonly color: {
88
- readonly type: PropType<string>;
89
- readonly required: false;
90
- readonly validator: ((val: unknown) => boolean) | undefined;
91
- __epPropKey: true;
92
- };
93
- }>>, {}, {}, {}, {}, {}>;
94
- __isFragment?: undefined;
95
- __isTeleport?: undefined;
96
- __isSuspense?: undefined;
97
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
98
- readonly size: {
99
- readonly type: PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
100
- readonly required: false;
101
- readonly validator: ((val: unknown) => boolean) | undefined;
102
- __epPropKey: true;
103
- };
104
- readonly color: {
105
- readonly type: PropType<string>;
106
- readonly required: false;
107
- readonly validator: ((val: unknown) => boolean) | undefined;
108
- __epPropKey: true;
109
- };
110
- }>>, {}, 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 () => {
111
- $slots: {
112
- default?(_: {}): any;
113
- };
114
- })>;
115
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
117
- export default _default;