@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.
Files changed (124) hide show
  1. package/components/WebGLRenderer.mjs +1 -0
  2. package/components/WebGPURenderer.mjs +1 -0
  3. package/components/browserAll.mjs +1 -0
  4. package/components/bubble-templates/index.mjs +3 -0
  5. package/components/index2.mjs +16 -11
  6. package/components/metahuman-broadcasting/index.mjs +14 -10
  7. package/components/pixi-frame/index.mjs +1 -0
  8. package/components/webworkerAll.mjs +1 -0
  9. package/package.json +1 -1
  10. package/components/agent-chat-provider/index.d.ts +0 -7
  11. package/components/agent-chat-provider/src/api.d.ts +0 -3
  12. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  13. package/components/agent-chat-provider/src/const.d.ts +0 -1
  14. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  15. package/components/agent-chat-provider/src/types.d.ts +0 -43
  16. package/components/agent-chat-provider/src/use.d.ts +0 -29
  17. package/components/avatar/index.d.ts +0 -4
  18. package/components/avatar/src/ctx.d.ts +0 -18
  19. package/components/avatar/src/index.vue.d.ts +0 -121
  20. package/components/avatar/src/types.d.ts +0 -1
  21. package/components/broadcasting-markdown/index.d.ts +0 -7
  22. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  23. package/components/broadcasting-markdown/src/ctx.d.ts +0 -125
  24. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  25. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -424
  26. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  27. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  28. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  29. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  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 -848
  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 -579
  36. package/components/bubble-templates/src/types.d.ts +0 -40
  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 -2326
  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/metahuman-broadcasting/index.d.ts +0 -5
  48. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  49. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -722
  50. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  51. package/components/monaco-editor/index.d.ts +0 -5
  52. package/components/monaco-editor/src/ctx.d.ts +0 -23
  53. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  54. package/components/monaco-editor/src/types.d.ts +0 -1
  55. package/components/monaco-environment/index.d.ts +0 -4
  56. package/components/monaco-environment/src/ctx.d.ts +0 -8
  57. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  58. package/components/monaco-environment/src/types.d.ts +0 -1
  59. package/components/pixi-frame/index.d.ts +0 -11
  60. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  61. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -171
  62. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  63. package/components/pixi-frame/src/ctx.d.ts +0 -55
  64. package/components/pixi-frame/src/index.vue.d.ts +0 -604
  65. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  66. package/components/pixi-frame/src/types.d.ts +0 -17
  67. package/components/pixi-frame/src/use.d.ts +0 -16
  68. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  69. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  70. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  71. package/components/recorder-button/index.d.ts +0 -4
  72. package/components/recorder-button/src/ctx.d.ts +0 -41
  73. package/components/recorder-button/src/index.vue.d.ts +0 -300
  74. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  75. package/components/recorder-button/src/types.d.ts +0 -7
  76. package/components/routes-menu-content/index.d.ts +0 -4
  77. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  78. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  79. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  80. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  81. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  82. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  83. package/components/routes-menu-content/src/types.d.ts +0 -1
  84. package/components/sender/index.d.ts +0 -4
  85. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  86. package/components/sender/src/ctx.d.ts +0 -62
  87. package/components/sender/src/index.vue.d.ts +0 -787
  88. package/components/sender/src/types.d.ts +0 -1
  89. package/components/speech-button/index.d.ts +0 -4
  90. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  91. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  92. package/components/speech-button/src/ctx.d.ts +0 -10
  93. package/components/speech-button/src/index.vue.d.ts +0 -22
  94. package/components/speech-button/src/types.d.ts +0 -1
  95. package/components/table-columns/index.d.ts +0 -5
  96. package/components/table-columns/src/ctx.d.ts +0 -66
  97. package/components/table-columns/src/el-ctx.d.ts +0 -63
  98. package/components/table-columns/src/index.vue.d.ts +0 -282
  99. package/components/table-columns/src/types.d.ts +0 -21
  100. package/components/tables-v1/index.d.ts +0 -5
  101. package/components/tables-v1/src/ctx.d.ts +0 -288
  102. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  103. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  104. package/components/tables-v1/src/types.d.ts +0 -3
  105. package/components/tables-v1-checkbox/index.d.ts +0 -5
  106. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  107. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  108. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  109. package/components/text/index.d.ts +0 -4
  110. package/components/text/src/ctx.d.ts +0 -320
  111. package/components/text/src/index.vue.d.ts +0 -2314
  112. package/components/text/src/types.d.ts +0 -1
  113. package/components/typing-markdown/index.d.ts +0 -4
  114. package/components/typing-markdown/src/core.d.ts +0 -2
  115. package/components/typing-markdown/src/ctx.d.ts +0 -41
  116. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  117. package/components/typing-markdown/src/types.d.ts +0 -1
  118. package/components/vditor/index.d.ts +0 -5
  119. package/components/vditor/src/ctx.d.ts +0 -37
  120. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  121. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  122. package/components/vditor/src/index.vue.d.ts +0 -144
  123. package/components/vditor/src/types.d.ts +0 -9
  124. package/components/vditor/src/use.d.ts +0 -4
@@ -1,125 +0,0 @@
1
- import type { SetDataEvent } from '@vunk/core';
2
- import type { Deferred } from '@vunk/shared/promise';
3
- import type { PropType } from 'vue';
4
- import type { Paragraph, ParagraphLoadEvent, TextToSpeech } from './types';
5
- import { TickerStatus } from '@vunk/shared/enum';
6
- import { defaultRender } from './const';
7
- export declare const props: {
8
- /**
9
- * @description md文本转纯文本的函数
10
- */
11
- render: {
12
- type: PropType<(text: string) => string>;
13
- default: typeof defaultRender;
14
- };
15
- /**
16
- * @description 段落详情
17
- */
18
- data: {
19
- type: {
20
- (arrayLength: number): Paragraph[];
21
- (...items: Paragraph[]): Paragraph[];
22
- new (arrayLength: number): Paragraph[];
23
- new (...items: Paragraph[]): Paragraph[];
24
- isArray(arg: any): arg is any[];
25
- readonly prototype: any[];
26
- from<T>(arrayLike: ArrayLike<T>): T[];
27
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
28
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
29
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
30
- of<T_4>(...items: T_4[]): T_4[];
31
- readonly [Symbol.species]: ArrayConstructor;
32
- };
33
- default: undefined;
34
- };
35
- /**
36
- * @description md 文本
37
- */
38
- source: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- /**
43
- * @description 游标阅读延迟
44
- */
45
- delay: {
46
- type: NumberConstructor;
47
- default: number;
48
- };
49
- /**
50
- * @description 段落切割符号
51
- */
52
- separators: {
53
- type: {
54
- (arrayLength: number): string[];
55
- (...items: string[]): string[];
56
- new (arrayLength: number): string[];
57
- new (...items: string[]): string[];
58
- isArray(arg: any): arg is any[];
59
- readonly prototype: any[];
60
- from<T>(arrayLike: ArrayLike<T>): T[];
61
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
62
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
63
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
64
- of<T_4>(...items: T_4[]): T_4[];
65
- readonly [Symbol.species]: ArrayConstructor;
66
- };
67
- default: () => string[];
68
- };
69
- /**
70
- * @description 组件内会根据当前游标是否和 source 长度一致来判断,是否持续阅读, 当一致时,会关闭阅读状态。但若设置为 true,则会持续阅读, 这在动态接收数据时会有用
71
- */
72
- keepRead: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- /**
77
- * @description 是否使用自定义语音合成
78
- */
79
- textToSpeech: {
80
- type: PropType<TextToSpeech>;
81
- default: undefined;
82
- };
83
- /**
84
- * @description 段落处理函数
85
- */
86
- processing: {
87
- type: PropType<(paragraph: Paragraph) => void>;
88
- default: import("@vunk/shared").AnyFunc;
89
- };
90
- status: {
91
- type: PropType<TickerStatus>;
92
- default: TickerStatus;
93
- };
94
- paragraphMinlength: {
95
- type: NumberConstructor;
96
- default: number;
97
- };
98
- };
99
- export declare const emits: {
100
- setData: (e: SetDataEvent) => SetDataEvent;
101
- interrupt: null;
102
- 'update:broadcasting': (_: boolean) => boolean;
103
- 'update:completed': (_: boolean) => boolean;
104
- 'update:error': (_: boolean) => boolean;
105
- 'update:status': (_: TickerStatus) => boolean;
106
- paragraphLoad: (_: ParagraphLoadEvent) => boolean;
107
- };
108
- export declare const paragraphProps: {
109
- data: {
110
- type: PropType<Paragraph>;
111
- default: () => {};
112
- };
113
- deferred: {
114
- type: PropType<Deferred<any>>;
115
- required: true;
116
- };
117
- render: {
118
- type: PropType<(text: string) => string>;
119
- default: typeof defaultRender;
120
- };
121
- };
122
- export declare const paragraphEmits: {
123
- setData: (e: SetDataEvent<keyof Paragraph>) => SetDataEvent<keyof Paragraph>;
124
- load: (_: ParagraphLoadEvent) => boolean;
125
- };
@@ -1,97 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: import("vue").PropType<import("./types").Paragraph>;
4
- default: () => {};
5
- };
6
- deferred: {
7
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
8
- required: true;
9
- };
10
- render: {
11
- type: import("vue").PropType<(text: string) => string>;
12
- default: typeof import("./const").defaultRender;
13
- };
14
- }>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- setData: (e: import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>) => import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>;
16
- load: (_: import("./types").ParagraphLoadEvent) => boolean;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
- data: {
19
- type: import("vue").PropType<import("./types").Paragraph>;
20
- default: () => {};
21
- };
22
- deferred: {
23
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
24
- required: true;
25
- };
26
- render: {
27
- type: import("vue").PropType<(text: string) => string>;
28
- default: typeof import("./const").defaultRender;
29
- };
30
- }>> & Readonly<{
31
- onSetData?: ((e: import("@vunk/core").SetDataEvent<keyof import("./types").Paragraph>) => any) | undefined;
32
- onLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
33
- }>, {
34
- render: (text: string) => string;
35
- data: import("./types").Paragraph;
36
- }, {}, {
37
- SpeechError: import("vue").DefineComponent<{}, {
38
- 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>;
39
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
40
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
41
- readonly size: {
42
- 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>>;
43
- readonly required: false;
44
- readonly validator: ((val: unknown) => boolean) | undefined;
45
- __epPropKey: true;
46
- };
47
- readonly color: {
48
- readonly type: import("vue").PropType<string>;
49
- readonly required: false;
50
- readonly validator: ((val: unknown) => boolean) | undefined;
51
- __epPropKey: true;
52
- };
53
- }>>, {}, 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, {
54
- P: {};
55
- B: {};
56
- D: {};
57
- C: {};
58
- M: {};
59
- Defaults: {};
60
- }, Readonly<import("vue").ExtractPropTypes<{
61
- readonly size: {
62
- 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>>;
63
- readonly required: false;
64
- readonly validator: ((val: unknown) => boolean) | undefined;
65
- __epPropKey: true;
66
- };
67
- readonly color: {
68
- readonly type: import("vue").PropType<string>;
69
- readonly required: false;
70
- readonly validator: ((val: unknown) => boolean) | undefined;
71
- __epPropKey: true;
72
- };
73
- }>>, {}, {}, {}, {}, {}>;
74
- __isFragment?: undefined;
75
- __isTeleport?: undefined;
76
- __isSuspense?: undefined;
77
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
78
- readonly size: {
79
- 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>>;
80
- readonly required: false;
81
- readonly validator: ((val: unknown) => boolean) | undefined;
82
- __epPropKey: true;
83
- };
84
- readonly color: {
85
- readonly type: import("vue").PropType<string>;
86
- readonly required: false;
87
- readonly validator: ((val: unknown) => boolean) | undefined;
88
- __epPropKey: true;
89
- };
90
- }>>, {}, 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 () => {
91
- $slots: {
92
- default?(_: {}): any;
93
- };
94
- })>;
95
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
96
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
97
- export default _default;
@@ -1,424 +0,0 @@
1
- import type { Paragraph } from './types';
2
- import { TickerStatus } from '@vunk/shared/enum';
3
- import { ParagraphStatus } from './const';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- render: {
6
- type: import("vue").PropType<(text: string) => string>;
7
- default: typeof import("./const").defaultRender;
8
- };
9
- data: {
10
- type: {
11
- (arrayLength: number): Paragraph[];
12
- (...items: Paragraph[]): Paragraph[];
13
- new (arrayLength: number): Paragraph[];
14
- new (...items: Paragraph[]): Paragraph[];
15
- isArray(arg: any): arg is any[];
16
- readonly prototype: any[];
17
- from<T>(arrayLike: ArrayLike<T>): T[];
18
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
19
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
20
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
21
- of<T_4>(...items: T_4[]): T_4[];
22
- readonly [Symbol.species]: ArrayConstructor;
23
- };
24
- default: undefined;
25
- };
26
- source: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- delay: {
31
- type: NumberConstructor;
32
- default: number;
33
- };
34
- separators: {
35
- type: {
36
- (arrayLength: number): string[];
37
- (...items: string[]): string[];
38
- new (arrayLength: number): string[];
39
- new (...items: string[]): string[];
40
- isArray(arg: any): arg is any[];
41
- readonly prototype: any[];
42
- from<T>(arrayLike: ArrayLike<T>): T[];
43
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
44
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
45
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
46
- of<T_4>(...items: T_4[]): T_4[];
47
- readonly [Symbol.species]: ArrayConstructor;
48
- };
49
- default: () => string[];
50
- };
51
- keepRead: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- textToSpeech: {
56
- type: import("vue").PropType<import("./types").TextToSpeech>;
57
- default: undefined;
58
- };
59
- processing: {
60
- type: import("vue").PropType<(paragraph: Paragraph) => void>;
61
- default: import("@vunk/shared").AnyFunc;
62
- };
63
- status: {
64
- type: import("vue").PropType<TickerStatus>;
65
- default: TickerStatus;
66
- };
67
- paragraphMinlength: {
68
- type: NumberConstructor;
69
- default: number;
70
- };
71
- }>, {
72
- theData: import("vue").ComputedRef<Paragraph[]>;
73
- ParagraphStatus: typeof ParagraphStatus;
74
- fulfilledTextValue: import("vue").ComputedRef<string>;
75
- isPrevParagraphFulfilled: (currentIndex: number) => boolean;
76
- isParagraphEnabled: (currentIndex: number) => boolean;
77
- processingParagraph: (paragraph: Paragraph) => Promise<void> | undefined;
78
- isInterrupted: import("vue").Ref<boolean, boolean>;
79
- setData: (obj: any, e: import("@vunk/core").SetDataEvent) => void;
80
- Broadcast: typeof TickerStatus;
81
- isPaused: import("vue").ComputedRef<boolean>;
82
- isTypingFinished: import("vue").Ref<boolean, boolean>;
83
- currentParagraph: import("vue").ComputedRef<Paragraph | undefined>;
84
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
- setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
86
- interrupt: null;
87
- 'update:broadcasting': (_: boolean) => boolean;
88
- 'update:completed': (_: boolean) => boolean;
89
- 'update:error': (_: boolean) => boolean;
90
- 'update:status': (_: TickerStatus) => boolean;
91
- paragraphLoad: (_: import("./types").ParagraphLoadEvent) => boolean;
92
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
- render: {
94
- type: import("vue").PropType<(text: string) => string>;
95
- default: typeof import("./const").defaultRender;
96
- };
97
- data: {
98
- type: {
99
- (arrayLength: number): Paragraph[];
100
- (...items: Paragraph[]): Paragraph[];
101
- new (arrayLength: number): Paragraph[];
102
- new (...items: Paragraph[]): Paragraph[];
103
- isArray(arg: any): arg is any[];
104
- readonly prototype: any[];
105
- from<T>(arrayLike: ArrayLike<T>): T[];
106
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
107
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
108
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
109
- of<T_4>(...items: T_4[]): T_4[];
110
- readonly [Symbol.species]: ArrayConstructor;
111
- };
112
- default: undefined;
113
- };
114
- source: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- delay: {
119
- type: NumberConstructor;
120
- default: number;
121
- };
122
- separators: {
123
- type: {
124
- (arrayLength: number): string[];
125
- (...items: string[]): string[];
126
- new (arrayLength: number): string[];
127
- new (...items: string[]): string[];
128
- isArray(arg: any): arg is any[];
129
- readonly prototype: any[];
130
- from<T>(arrayLike: ArrayLike<T>): T[];
131
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
132
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
133
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
134
- of<T_4>(...items: T_4[]): T_4[];
135
- readonly [Symbol.species]: ArrayConstructor;
136
- };
137
- default: () => string[];
138
- };
139
- keepRead: {
140
- type: BooleanConstructor;
141
- default: boolean;
142
- };
143
- textToSpeech: {
144
- type: import("vue").PropType<import("./types").TextToSpeech>;
145
- default: undefined;
146
- };
147
- processing: {
148
- type: import("vue").PropType<(paragraph: Paragraph) => void>;
149
- default: import("@vunk/shared").AnyFunc;
150
- };
151
- status: {
152
- type: import("vue").PropType<TickerStatus>;
153
- default: TickerStatus;
154
- };
155
- paragraphMinlength: {
156
- type: NumberConstructor;
157
- default: number;
158
- };
159
- }>> & Readonly<{
160
- onSetData?: ((e: import("@vunk/core").SetDataEvent) => any) | undefined;
161
- "onUpdate:status"?: ((_: TickerStatus) => any) | undefined;
162
- onInterrupt?: ((...args: any[]) => any) | undefined;
163
- "onUpdate:broadcasting"?: ((_: boolean) => any) | undefined;
164
- "onUpdate:completed"?: ((_: boolean) => any) | undefined;
165
- "onUpdate:error"?: ((_: boolean) => any) | undefined;
166
- onParagraphLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
167
- }>, {
168
- processing: (paragraph: Paragraph) => void;
169
- source: string;
170
- delay: number;
171
- render: (text: string) => string;
172
- data: Paragraph[];
173
- status: TickerStatus;
174
- separators: string[];
175
- keepRead: boolean;
176
- textToSpeech: import("./types").TextToSpeech;
177
- paragraphMinlength: number;
178
- }, {}, {
179
- ParagraphView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
180
- enable: {
181
- type: BooleanConstructor;
182
- default: boolean;
183
- };
184
- status: {
185
- type: import("vue").PropType<ParagraphStatus>;
186
- default: ParagraphStatus;
187
- };
188
- processing: {
189
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
190
- default: import("@vunk/shared").AnyFunc;
191
- };
192
- retryTimes: {
193
- type: NumberConstructor;
194
- default: number;
195
- };
196
- }>, {
197
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
198
- enable: {
199
- type: BooleanConstructor;
200
- default: boolean;
201
- };
202
- status: {
203
- type: import("vue").PropType<ParagraphStatus>;
204
- default: ParagraphStatus;
205
- };
206
- processing: {
207
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
208
- default: import("@vunk/shared").AnyFunc;
209
- };
210
- retryTimes: {
211
- type: NumberConstructor;
212
- default: number;
213
- };
214
- }>> & Readonly<{
215
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
216
- }> & {}>;
217
- emit: (event: "update:status", ...args: any[]) => void;
218
- theDef: import("vue").ShallowRef<import("@vunk/shared/promise").Deferred<any> | undefined, import("@vunk/shared/promise").Deferred<any> | undefined>;
219
- retryTimes: number;
220
- processingDef: {
221
- _ref: import("vue").ShallowRef<unknown, unknown>;
222
- readonly value: unknown;
223
- promise: Promise<unknown>;
224
- resolve: import("@vunk/core").AnyFunc;
225
- reject: (reason?: any) => void;
226
- };
227
- init: () => Promise<void>;
228
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:status"[], "update:status", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
229
- enable: {
230
- type: BooleanConstructor;
231
- default: boolean;
232
- };
233
- status: {
234
- type: import("vue").PropType<ParagraphStatus>;
235
- default: ParagraphStatus;
236
- };
237
- processing: {
238
- type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
239
- default: import("@vunk/shared").AnyFunc;
240
- };
241
- retryTimes: {
242
- type: NumberConstructor;
243
- default: number;
244
- };
245
- }>> & Readonly<{
246
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
247
- }>, {
248
- processing: import("@vunk/shared").AnyFunc;
249
- status: ParagraphStatus;
250
- enable: boolean;
251
- retryTimes: number;
252
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
253
- VkTypingMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
254
- source: {
255
- type: StringConstructor;
256
- default: string;
257
- };
258
- delay: {
259
- type: NumberConstructor;
260
- default: number;
261
- };
262
- pause: {
263
- type: BooleanConstructor;
264
- default: boolean;
265
- };
266
- disabled: {
267
- type: BooleanConstructor;
268
- default: boolean;
269
- };
270
- markdownItSetup: {
271
- type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
272
- default: null;
273
- };
274
- finished: {
275
- type: BooleanConstructor;
276
- };
277
- loading: {
278
- type: BooleanConstructor;
279
- default: boolean;
280
- };
281
- }>, {
282
- htmlText: import("vue").Ref<string, string>;
283
- isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
284
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
285
- typing: null;
286
- 'update:finished': null;
287
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
288
- source: {
289
- type: StringConstructor;
290
- default: string;
291
- };
292
- delay: {
293
- type: NumberConstructor;
294
- default: number;
295
- };
296
- pause: {
297
- type: BooleanConstructor;
298
- default: boolean;
299
- };
300
- disabled: {
301
- type: BooleanConstructor;
302
- default: boolean;
303
- };
304
- markdownItSetup: {
305
- type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
306
- default: null;
307
- };
308
- finished: {
309
- type: BooleanConstructor;
310
- };
311
- loading: {
312
- type: BooleanConstructor;
313
- default: boolean;
314
- };
315
- }>> & Readonly<{
316
- onTyping?: ((...args: any[]) => any) | undefined;
317
- "onUpdate:finished"?: ((...args: any[]) => any) | undefined;
318
- }>, {
319
- source: string;
320
- delay: number;
321
- pause: boolean;
322
- disabled: boolean;
323
- markdownItSetup: (md: import("markdown-it-async").MarkdownItAsync) => void;
324
- finished: boolean;
325
- loading: boolean;
326
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
327
- HowlerSpeechView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
328
- data: {
329
- type: import("vue").PropType<Paragraph>;
330
- default: () => {};
331
- };
332
- deferred: {
333
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
334
- required: true;
335
- };
336
- render: {
337
- type: import("vue").PropType<(text: string) => string>;
338
- default: typeof import("./const").defaultRender;
339
- };
340
- }>, (() => null) | (() => JSX.Element), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
341
- setData: (e: import("@vunk/core").SetDataEvent<keyof Paragraph>) => import("@vunk/core").SetDataEvent<keyof Paragraph>;
342
- load: (_: import("./types").ParagraphLoadEvent) => boolean;
343
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
344
- data: {
345
- type: import("vue").PropType<Paragraph>;
346
- default: () => {};
347
- };
348
- deferred: {
349
- type: import("vue").PropType<import("@vunk/shared/promise").Deferred<any>>;
350
- required: true;
351
- };
352
- render: {
353
- type: import("vue").PropType<(text: string) => string>;
354
- default: typeof import("./const").defaultRender;
355
- };
356
- }>> & Readonly<{
357
- onSetData?: ((e: import("@vunk/core").SetDataEvent<keyof Paragraph>) => any) | undefined;
358
- onLoad?: ((_: import("./types").ParagraphLoadEvent) => any) | undefined;
359
- }>, {
360
- render: (text: string) => string;
361
- data: Paragraph;
362
- }, {}, {
363
- SpeechError: import("vue").DefineComponent<{}, {
364
- 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>;
365
- readonly ElIcon: import("element-plus/es/utils").SFCWithInstall<{
366
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
367
- readonly size: {
368
- 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>>;
369
- readonly required: false;
370
- readonly validator: ((val: unknown) => boolean) | undefined;
371
- __epPropKey: true;
372
- };
373
- readonly color: {
374
- readonly type: import("vue").PropType<string>;
375
- readonly required: false;
376
- readonly validator: ((val: unknown) => boolean) | undefined;
377
- __epPropKey: true;
378
- };
379
- }>>, {}, 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, {
380
- P: {};
381
- B: {};
382
- D: {};
383
- C: {};
384
- M: {};
385
- Defaults: {};
386
- }, Readonly<import("vue").ExtractPropTypes<{
387
- readonly size: {
388
- 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>>;
389
- readonly required: false;
390
- readonly validator: ((val: unknown) => boolean) | undefined;
391
- __epPropKey: true;
392
- };
393
- readonly color: {
394
- readonly type: import("vue").PropType<string>;
395
- readonly required: false;
396
- readonly validator: ((val: unknown) => boolean) | undefined;
397
- __epPropKey: true;
398
- };
399
- }>>, {}, {}, {}, {}, {}>;
400
- __isFragment?: undefined;
401
- __isTeleport?: undefined;
402
- __isSuspense?: undefined;
403
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
404
- readonly size: {
405
- 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>>;
406
- readonly required: false;
407
- readonly validator: ((val: unknown) => boolean) | undefined;
408
- __epPropKey: true;
409
- };
410
- readonly color: {
411
- readonly type: import("vue").PropType<string>;
412
- readonly required: false;
413
- readonly validator: ((val: unknown) => boolean) | undefined;
414
- __epPropKey: true;
415
- };
416
- }>>, {}, 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 () => {
417
- $slots: {
418
- default?(_: {}): any;
419
- };
420
- })>;
421
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
422
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
423
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
424
- export default _default;