@vunk/plus 1.3.13 → 1.4.0

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 (114) hide show
  1. package/components/WebGLRenderer.mjs +1 -1
  2. package/components/WebGPURenderer.mjs +1 -1
  3. package/components/agent-chat-provider/index.mjs +1 -5
  4. package/components/broadcasting-markdown/index.mjs +574 -1
  5. package/components/browserAll.mjs +1 -1
  6. package/components/index2.mjs +71 -20
  7. package/components/pixi-frame/index.mjs +2 -2
  8. package/components/sender/index.mjs +1 -1
  9. package/components/webworkerAll.mjs +1 -1
  10. package/package.json +1 -1
  11. package/components/agent-chat-provider/index.d.ts +0 -7
  12. package/components/agent-chat-provider/src/api.d.ts +0 -3
  13. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  14. package/components/agent-chat-provider/src/const.d.ts +0 -1
  15. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  16. package/components/agent-chat-provider/src/types.d.ts +0 -43
  17. package/components/agent-chat-provider/src/use.d.ts +0 -29
  18. package/components/avatar/index.d.ts +0 -4
  19. package/components/avatar/src/ctx.d.ts +0 -18
  20. package/components/avatar/src/index.vue.d.ts +0 -121
  21. package/components/avatar/src/types.d.ts +0 -1
  22. package/components/broadcasting-markdown/index.d.ts +0 -7
  23. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  24. package/components/broadcasting-markdown/src/ctx.d.ts +0 -115
  25. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  26. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -383
  27. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  28. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  29. package/components/broadcasting-markdown/src/types.d.ts +0 -25
  30. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  31. package/components/browser.mjs +0 -575
  32. package/components/bubble-list/index.d.ts +0 -5
  33. package/components/bubble-list/src/ctx.d.ts +0 -30
  34. package/components/bubble-list/src/index.vue.d.ts +0 -867
  35. package/components/bubble-list/src/types.d.ts +0 -4
  36. package/components/bubble-templates/index.d.ts +0 -4
  37. package/components/bubble-templates/src/index.vue.d.ts +0 -539
  38. package/components/bubble-templates/src/types.d.ts +0 -40
  39. package/components/chat-independent/index.d.ts +0 -4
  40. package/components/chat-independent/src/const.d.ts +0 -13
  41. package/components/chat-independent/src/ctx.d.ts +0 -20
  42. package/components/chat-independent/src/index.vue.d.ts +0 -2343
  43. package/components/chat-independent/src/types.d.ts +0 -13
  44. package/components/index.d.ts +0 -0
  45. package/components/lottie-animation/index.d.ts +0 -4
  46. package/components/lottie-animation/src/ctx.d.ts +0 -10
  47. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  48. package/components/lottie-animation/src/types.d.ts +0 -4
  49. package/components/monaco-editor/index.d.ts +0 -5
  50. package/components/monaco-editor/src/ctx.d.ts +0 -23
  51. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  52. package/components/monaco-editor/src/types.d.ts +0 -1
  53. package/components/monaco-environment/index.d.ts +0 -4
  54. package/components/monaco-environment/src/ctx.d.ts +0 -8
  55. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  56. package/components/monaco-environment/src/types.d.ts +0 -1
  57. package/components/pixi-frame/index.d.ts +0 -8
  58. package/components/pixi-frame/src/core.vue.d.ts +0 -122
  59. package/components/pixi-frame/src/ctx.d.ts +0 -40
  60. package/components/pixi-frame/src/index.vue.d.ts +0 -215
  61. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  62. package/components/pixi-frame/src/types.d.ts +0 -1
  63. package/components/pixi-frame/src/use.d.ts +0 -3
  64. package/components/pixi-frame/src/view.vue.d.ts +0 -25
  65. package/components/recorder-button/index.d.ts +0 -4
  66. package/components/recorder-button/src/ctx.d.ts +0 -41
  67. package/components/recorder-button/src/index.vue.d.ts +0 -300
  68. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  69. package/components/recorder-button/src/types.d.ts +0 -7
  70. package/components/routes-menu-content/index.d.ts +0 -4
  71. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  72. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  73. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  74. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  75. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  76. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  77. package/components/routes-menu-content/src/types.d.ts +0 -1
  78. package/components/sender/index.d.ts +0 -4
  79. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  80. package/components/sender/src/ctx.d.ts +0 -62
  81. package/components/sender/src/index.vue.d.ts +0 -787
  82. package/components/sender/src/types.d.ts +0 -1
  83. package/components/speech-button/index.d.ts +0 -4
  84. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  85. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  86. package/components/speech-button/src/ctx.d.ts +0 -10
  87. package/components/speech-button/src/index.vue.d.ts +0 -22
  88. package/components/speech-button/src/types.d.ts +0 -1
  89. package/components/table-columns/index.d.ts +0 -5
  90. package/components/table-columns/src/ctx.d.ts +0 -66
  91. package/components/table-columns/src/el-ctx.d.ts +0 -63
  92. package/components/table-columns/src/index.vue.d.ts +0 -282
  93. package/components/table-columns/src/types.d.ts +0 -21
  94. package/components/tables-v1/index.d.ts +0 -5
  95. package/components/tables-v1/src/ctx.d.ts +0 -281
  96. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  97. package/components/tables-v1/src/index.vue.d.ts +0 -3014
  98. package/components/tables-v1/src/types.d.ts +0 -4
  99. package/components/tables-v1-checkbox/index.d.ts +0 -5
  100. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -321
  101. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3796
  102. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  103. package/components/typing-markdown/index.d.ts +0 -4
  104. package/components/typing-markdown/src/core.d.ts +0 -2
  105. package/components/typing-markdown/src/ctx.d.ts +0 -33
  106. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  107. package/components/typing-markdown/src/types.d.ts +0 -1
  108. package/components/vditor/index.d.ts +0 -5
  109. package/components/vditor/src/ctx.d.ts +0 -37
  110. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  111. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  112. package/components/vditor/src/index.vue.d.ts +0 -144
  113. package/components/vditor/src/types.d.ts +0 -9
  114. package/components/vditor/src/use.d.ts +0 -4
@@ -1,13 +0,0 @@
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
@@ -1,4 +0,0 @@
1
- import VkLottieAnimation from './src/index.vue';
2
- export * as __VkLottieAnimation from './src/types';
3
- export { VkLottieAnimation, };
4
- export default VkLottieAnimation;
@@ -1,10 +0,0 @@
1
- import { LoadEvent } from './types';
2
- export declare const props: {
3
- path: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- };
8
- export declare const emits: {
9
- load: (e: LoadEvent) => LoadEvent;
10
- };
@@ -1,21 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- import { AnimationItem } from 'lottie-web';
2
- export interface LoadEvent {
3
- animation: AnimationItem;
4
- }
@@ -1,5 +0,0 @@
1
- import VkMonacoEditor from './src/index.vue';
2
- export * as __VkMonacoEditor from './src/types';
3
- export * as _VkMonacoEditorCtx from './src/ctx';
4
- export { VkMonacoEditor, };
5
- export default VkMonacoEditor;
@@ -1,23 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { editor } from 'monaco-editor';
3
- export declare const props: {
4
- modelValue: {
5
- type: StringConstructor;
6
- default: string;
7
- };
8
- defaultOptions: {
9
- type: PropType<editor.IStandaloneEditorConstructionOptions>;
10
- default: () => {};
11
- };
12
- readOnly: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- };
17
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"readOnly", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"readOnly", keyof T2> | Extract<"defaultOptions", keyof T2>]: T2[k]; }[P]; }>;
18
- export declare const emits: {
19
- 'update:modelValue': null;
20
- };
21
- export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "update:modelValue"[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> : "update:modelValue"]: {
22
- 'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
23
- }[P]; };
@@ -1,40 +0,0 @@
1
- import type { Ref } from 'vue';
2
- import { editor as mEditor } from 'monaco-editor';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- modelValue: {
5
- type: StringConstructor;
6
- default: string;
7
- };
8
- defaultOptions: {
9
- type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
10
- default: () => {};
11
- };
12
- readOnly: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- }>, {
17
- editorNode: Ref<HTMLDivElement, HTMLDivElement>;
18
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
- 'update:modelValue': null;
20
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- modelValue: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- defaultOptions: {
26
- type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
27
- default: () => {};
28
- };
29
- readOnly: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- }>> & Readonly<{
34
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
- }>, {
36
- modelValue: string;
37
- readOnly: boolean;
38
- defaultOptions: mEditor.IStandaloneEditorConstructionOptions;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import VkMonacoEnvironment from './src/index.vue';
2
- export * as __VkMonacoEnvironment from './src/types';
3
- export { VkMonacoEnvironment, };
4
- export default VkMonacoEnvironment;
@@ -1,8 +0,0 @@
1
- import { PropType } from 'vue';
2
- export declare const props: {
3
- modelValue: {
4
- type: PropType<unknown>;
5
- default: () => {};
6
- };
7
- };
8
- export declare const emits: {};
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import VkPixiFrameCore from './src/core.vue';
2
- import VkPixiFrame from './src/index.vue';
3
- import VkPixiFrameProvider from './src/provider.vue';
4
- import VkPixiFrameView from './src/view.vue';
5
- export * as __VkPixiFrame from './src/types';
6
- export { TickerStatus } from '@vunk/shared/enum';
7
- export { VkPixiFrameCore, VkPixiFrameProvider, VkPixiFrameView, };
8
- export default VkPixiFrame;
@@ -1,122 +0,0 @@
1
- import type { Texture } from 'pixi.js';
2
- import { TickerStatus } from '@vunk/shared/enum';
3
- import { Sprite } from 'pixi.js';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- data: {
6
- type: {
7
- (arrayLength: number): string[];
8
- (...items: string[]): string[];
9
- new (arrayLength: number): string[];
10
- new (...items: string[]): string[];
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
- loop: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- status: {
27
- type: import("vue").PropType<TickerStatus>;
28
- default: TickerStatus;
29
- };
30
- frameRate: {
31
- type: NumberConstructor;
32
- default: number;
33
- };
34
- }>, {
35
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
36
- data: {
37
- type: {
38
- (arrayLength: number): string[];
39
- (...items: string[]): string[];
40
- new (arrayLength: number): string[];
41
- new (...items: string[]): string[];
42
- isArray(arg: any): arg is any[];
43
- readonly prototype: any[];
44
- from<T>(arrayLike: ArrayLike<T>): T[];
45
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
46
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
47
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
48
- of<T_4>(...items: T_4[]): T_4[];
49
- readonly [Symbol.species]: ArrayConstructor;
50
- };
51
- default: () => never[];
52
- };
53
- loop: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- status: {
58
- type: import("vue").PropType<TickerStatus>;
59
- default: TickerStatus;
60
- };
61
- frameRate: {
62
- type: NumberConstructor;
63
- default: number;
64
- };
65
- }>> & Readonly<{
66
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
67
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
68
- }> & {}>;
69
- emit: ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
70
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
71
- sprite: Sprite;
72
- resizeSprite: () => void;
73
- textureMap: Map<string, Texture<import("pixi.js").TextureSource<any>>>;
74
- index: import("vue").Ref<number, number>;
75
- timer: number | null;
76
- startFrameLoop: () => void;
77
- play: () => void;
78
- pause: () => void;
79
- stop: () => void;
80
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
- 'update:status': null;
82
- 'update:data': null;
83
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
- data: {
85
- type: {
86
- (arrayLength: number): string[];
87
- (...items: string[]): string[];
88
- new (arrayLength: number): string[];
89
- new (...items: string[]): string[];
90
- isArray(arg: any): arg is any[];
91
- readonly prototype: any[];
92
- from<T>(arrayLike: ArrayLike<T>): T[];
93
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
94
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
95
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
96
- of<T_4>(...items: T_4[]): T_4[];
97
- readonly [Symbol.species]: ArrayConstructor;
98
- };
99
- default: () => never[];
100
- };
101
- loop: {
102
- type: BooleanConstructor;
103
- default: boolean;
104
- };
105
- status: {
106
- type: import("vue").PropType<TickerStatus>;
107
- default: TickerStatus;
108
- };
109
- frameRate: {
110
- type: NumberConstructor;
111
- default: number;
112
- };
113
- }>> & Readonly<{
114
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
115
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
116
- }>, {
117
- data: string[];
118
- status: TickerStatus;
119
- loop: boolean;
120
- frameRate: number;
121
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
- export default _default;
@@ -1,40 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import { TickerStatus } from '@vunk/shared/enum';
3
- export declare const props: {
4
- data: {
5
- type: {
6
- (arrayLength: number): string[];
7
- (...items: string[]): string[];
8
- new (arrayLength: number): string[];
9
- new (...items: string[]): string[];
10
- isArray(arg: any): arg is any[];
11
- readonly prototype: any[];
12
- from<T>(arrayLike: ArrayLike<T>): T[];
13
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
14
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
15
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
16
- of<T_4>(...items: T_4[]): T_4[];
17
- readonly [Symbol.species]: ArrayConstructor;
18
- };
19
- default: () => never[];
20
- };
21
- /**
22
- * @description 控制动画是否循环播放
23
- */
24
- loop: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- status: {
29
- type: PropType<TickerStatus>;
30
- default: TickerStatus;
31
- };
32
- frameRate: {
33
- type: NumberConstructor;
34
- default: number;
35
- };
36
- };
37
- export declare const emits: {
38
- 'update:status': null;
39
- 'update:data': null;
40
- };
@@ -1,215 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: {
4
- (arrayLength: number): string[];
5
- (...items: string[]): string[];
6
- new (arrayLength: number): string[];
7
- new (...items: string[]): string[];
8
- isArray(arg: any): arg is any[];
9
- readonly prototype: any[];
10
- from<T>(arrayLike: ArrayLike<T>): T[];
11
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
12
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
13
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
14
- of<T_4>(...items: T_4[]): T_4[];
15
- readonly [Symbol.species]: ArrayConstructor;
16
- };
17
- default: () => never[];
18
- };
19
- loop: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- status: {
24
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
25
- default: import("@vunk/shared/enum").TickerStatus;
26
- };
27
- frameRate: {
28
- type: NumberConstructor;
29
- default: number;
30
- };
31
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
- 'update:status': null;
33
- 'update:data': null;
34
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- data: {
36
- type: {
37
- (arrayLength: number): string[];
38
- (...items: string[]): string[];
39
- new (arrayLength: number): string[];
40
- new (...items: string[]): string[];
41
- isArray(arg: any): arg is any[];
42
- readonly prototype: any[];
43
- from<T>(arrayLike: ArrayLike<T>): T[];
44
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
45
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
46
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
47
- of<T_4>(...items: T_4[]): T_4[];
48
- readonly [Symbol.species]: ArrayConstructor;
49
- };
50
- default: () => never[];
51
- };
52
- loop: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- status: {
57
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
58
- default: import("@vunk/shared/enum").TickerStatus;
59
- };
60
- frameRate: {
61
- type: NumberConstructor;
62
- default: number;
63
- };
64
- }>> & Readonly<{
65
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
66
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
67
- }>, {
68
- data: string[];
69
- status: import("@vunk/shared/enum").TickerStatus;
70
- loop: boolean;
71
- frameRate: number;
72
- }, {}, {
73
- CoreComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
74
- data: {
75
- type: {
76
- (arrayLength: number): string[];
77
- (...items: string[]): string[];
78
- new (arrayLength: number): string[];
79
- new (...items: string[]): string[];
80
- isArray(arg: any): arg is any[];
81
- readonly prototype: any[];
82
- from<T>(arrayLike: ArrayLike<T>): T[];
83
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
84
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
85
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
86
- of<T_4>(...items: T_4[]): T_4[];
87
- readonly [Symbol.species]: ArrayConstructor;
88
- };
89
- default: () => never[];
90
- };
91
- loop: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- status: {
96
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
97
- default: import("@vunk/shared/enum").TickerStatus;
98
- };
99
- frameRate: {
100
- type: NumberConstructor;
101
- default: number;
102
- };
103
- }>, {
104
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
105
- data: {
106
- type: {
107
- (arrayLength: number): string[];
108
- (...items: string[]): string[];
109
- new (arrayLength: number): string[];
110
- new (...items: string[]): string[];
111
- isArray(arg: any): arg is any[];
112
- readonly prototype: any[];
113
- from<T>(arrayLike: ArrayLike<T>): T[];
114
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
115
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
116
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
117
- of<T_4>(...items: T_4[]): T_4[];
118
- readonly [Symbol.species]: ArrayConstructor;
119
- };
120
- default: () => never[];
121
- };
122
- loop: {
123
- type: BooleanConstructor;
124
- default: boolean;
125
- };
126
- status: {
127
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
128
- default: import("@vunk/shared/enum").TickerStatus;
129
- };
130
- frameRate: {
131
- type: NumberConstructor;
132
- default: number;
133
- };
134
- }>> & Readonly<{
135
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
136
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
137
- }> & {}>;
138
- emit: ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
139
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
140
- sprite: import("pixi.js").Sprite;
141
- resizeSprite: () => void;
142
- textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
143
- index: import("vue").Ref<number, number>;
144
- timer: number | null;
145
- startFrameLoop: () => void;
146
- play: () => void;
147
- pause: () => void;
148
- stop: () => void;
149
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
150
- 'update:status': null;
151
- 'update:data': null;
152
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
153
- data: {
154
- type: {
155
- (arrayLength: number): string[];
156
- (...items: string[]): string[];
157
- new (arrayLength: number): string[];
158
- new (...items: string[]): string[];
159
- isArray(arg: any): arg is any[];
160
- readonly prototype: any[];
161
- from<T>(arrayLike: ArrayLike<T>): T[];
162
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
163
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
164
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
165
- of<T_4>(...items: T_4[]): T_4[];
166
- readonly [Symbol.species]: ArrayConstructor;
167
- };
168
- default: () => never[];
169
- };
170
- loop: {
171
- type: BooleanConstructor;
172
- default: boolean;
173
- };
174
- status: {
175
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
176
- default: import("@vunk/shared/enum").TickerStatus;
177
- };
178
- frameRate: {
179
- type: NumberConstructor;
180
- default: number;
181
- };
182
- }>> & Readonly<{
183
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
184
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
185
- }>, {
186
- data: string[];
187
- status: import("@vunk/shared/enum").TickerStatus;
188
- loop: boolean;
189
- frameRate: number;
190
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
191
- ProviderComp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
192
- ViewComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
193
- defaultOptions: {
194
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
195
- default: () => {};
196
- };
197
- }>, {
198
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
199
- defaultOptions: {
200
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
201
- default: () => {};
202
- };
203
- }>> & Readonly<{}> & {}>;
204
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
205
- appRef: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
206
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
207
- defaultOptions: {
208
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
209
- default: () => {};
210
- };
211
- }>> & Readonly<{}>, {
212
- defaultOptions: Partial<import("pixi.js").ApplicationOptions>;
213
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
214
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
215
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { Application } from 'pixi.js';
2
- export declare function initPixiApp(): Application<import("pixi.js").Renderer>;
3
- export declare function usePixiApp(): Application<import("pixi.js").Renderer>;
@@ -1,25 +0,0 @@
1
- import type { ApplicationOptions } from 'pixi.js';
2
- import type { PropType, Ref } from 'vue';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- defaultOptions: {
5
- type: PropType<Partial<ApplicationOptions>>;
6
- default: () => {};
7
- };
8
- }>, {
9
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
10
- defaultOptions: {
11
- type: PropType<Partial<ApplicationOptions>>;
12
- default: () => {};
13
- };
14
- }>> & Readonly<{}> & {}>;
15
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
16
- appRef: Ref<HTMLDivElement, HTMLDivElement>;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
- defaultOptions: {
19
- type: PropType<Partial<ApplicationOptions>>;
20
- default: () => {};
21
- };
22
- }>> & Readonly<{}>, {
23
- defaultOptions: Partial<ApplicationOptions>;
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
- export default _default;
@@ -1,4 +0,0 @@
1
- import VkRecorderButton from './src/index.vue';
2
- export * as __VkRecorderButton from './src/types';
3
- export { VkRecorderButton, };
4
- export default VkRecorderButton;
@@ -1,41 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { OnTextZone, SpeechToText, SubmitRawEvent } from './types';
3
- export declare const props: {
4
- /**
5
- * 自定义转为文本区域事件
6
- */
7
- onTextZone: {
8
- type: PropType<OnTextZone>;
9
- default: undefined;
10
- };
11
- /**
12
- * 遮罩层 appendTo
13
- */
14
- appendTo: {
15
- type: null;
16
- default: string;
17
- };
18
- disabled: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- /**
23
- * 语音转文本函数
24
- */
25
- speechToText: {
26
- type: PropType<SpeechToText>;
27
- default: undefined;
28
- };
29
- /**
30
- * @description 是否直接使用提交文本输出
31
- */
32
- submitToText: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- };
37
- export declare const emits: {
38
- submitText: (text: string) => boolean;
39
- submit: (_: SubmitRawEvent) => boolean;
40
- error: (_: Error) => boolean;
41
- };