@vunk/plus 1.3.14 → 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 +0 -1
  2. package/components/WebGPURenderer.mjs +0 -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 +0 -1
  6. package/components/index2.mjs +38 -17
  7. package/components/pixi-frame/index.mjs +0 -1
  8. package/components/sender/index.mjs +1 -1
  9. package/components/webworkerAll.mjs +0 -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 -127
  59. package/components/pixi-frame/src/ctx.d.ts +0 -41
  60. package/components/pixi-frame/src/index.vue.d.ts +0 -222
  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 { VkPixiFrame, VkPixiFrameCore, VkPixiFrameProvider, VkPixiFrameView, };
8
- export default VkPixiFrame;
@@ -1,127 +0,0 @@
1
- import type { Texture } from 'pixi.js';
2
- import { TickerStatus } from '@vunk/shared/enum';
3
- import { Sprite, TextureSource } 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
- onSetData?: ((...args: any[]) => any) | undefined;
67
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
68
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
69
- }> & {}>;
70
- emit: ((event: "setData", ...args: any[]) => void) & ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
71
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
72
- compId: string;
73
- getAlias: (key: string | number) => string;
74
- sprite: Sprite;
75
- resizeSprite: () => void;
76
- textureMap: Map<string, Texture<TextureSource<any>>>;
77
- index: import("vue").Ref<number, number>;
78
- timer: number | null;
79
- startFrameLoop: () => void;
80
- play: () => void;
81
- pause: () => void;
82
- stop: () => void;
83
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
- 'update:status': null;
85
- 'update:data': null;
86
- setData: null;
87
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
- data: {
89
- type: {
90
- (arrayLength: number): string[];
91
- (...items: string[]): string[];
92
- new (arrayLength: number): string[];
93
- new (...items: string[]): string[];
94
- isArray(arg: any): arg is any[];
95
- readonly prototype: any[];
96
- from<T>(arrayLike: ArrayLike<T>): T[];
97
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
98
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
99
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
100
- of<T_4>(...items: T_4[]): T_4[];
101
- readonly [Symbol.species]: ArrayConstructor;
102
- };
103
- default: () => never[];
104
- };
105
- loop: {
106
- type: BooleanConstructor;
107
- default: boolean;
108
- };
109
- status: {
110
- type: import("vue").PropType<TickerStatus>;
111
- default: TickerStatus;
112
- };
113
- frameRate: {
114
- type: NumberConstructor;
115
- default: number;
116
- };
117
- }>> & Readonly<{
118
- onSetData?: ((...args: any[]) => any) | undefined;
119
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
120
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
121
- }>, {
122
- data: string[];
123
- status: TickerStatus;
124
- loop: boolean;
125
- frameRate: number;
126
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
127
- export default _default;
@@ -1,41 +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
- setData: null;
41
- };
@@ -1,222 +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
- setData: null;
35
- }, string, import("vue").PublicProps, 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<import("@vunk/shared/enum").TickerStatus>;
59
- default: import("@vunk/shared/enum").TickerStatus;
60
- };
61
- frameRate: {
62
- type: NumberConstructor;
63
- default: number;
64
- };
65
- }>> & Readonly<{
66
- onSetData?: ((...args: any[]) => any) | undefined;
67
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
68
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
69
- }>, {
70
- data: string[];
71
- status: import("@vunk/shared/enum").TickerStatus;
72
- loop: boolean;
73
- frameRate: number;
74
- }, {}, {
75
- CoreComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
76
- data: {
77
- type: {
78
- (arrayLength: number): string[];
79
- (...items: string[]): string[];
80
- new (arrayLength: number): string[];
81
- new (...items: string[]): string[];
82
- isArray(arg: any): arg is any[];
83
- readonly prototype: any[];
84
- from<T>(arrayLike: ArrayLike<T>): T[];
85
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
86
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
87
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
88
- of<T_4>(...items: T_4[]): T_4[];
89
- readonly [Symbol.species]: ArrayConstructor;
90
- };
91
- default: () => never[];
92
- };
93
- loop: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- status: {
98
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
99
- default: import("@vunk/shared/enum").TickerStatus;
100
- };
101
- frameRate: {
102
- type: NumberConstructor;
103
- default: number;
104
- };
105
- }>, {
106
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
107
- data: {
108
- type: {
109
- (arrayLength: number): string[];
110
- (...items: string[]): string[];
111
- new (arrayLength: number): string[];
112
- new (...items: string[]): string[];
113
- isArray(arg: any): arg is any[];
114
- readonly prototype: any[];
115
- from<T>(arrayLike: ArrayLike<T>): T[];
116
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
117
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
118
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
119
- of<T_4>(...items: T_4[]): T_4[];
120
- readonly [Symbol.species]: ArrayConstructor;
121
- };
122
- default: () => never[];
123
- };
124
- loop: {
125
- type: BooleanConstructor;
126
- default: boolean;
127
- };
128
- status: {
129
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
130
- default: import("@vunk/shared/enum").TickerStatus;
131
- };
132
- frameRate: {
133
- type: NumberConstructor;
134
- default: number;
135
- };
136
- }>> & Readonly<{
137
- onSetData?: ((...args: any[]) => any) | undefined;
138
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
139
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
140
- }> & {}>;
141
- emit: ((event: "setData", ...args: any[]) => void) & ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
142
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
143
- compId: string;
144
- getAlias: (key: string | number) => string;
145
- sprite: import("pixi.js").Sprite;
146
- resizeSprite: () => void;
147
- textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
148
- index: import("vue").Ref<number, number>;
149
- timer: number | null;
150
- startFrameLoop: () => void;
151
- play: () => void;
152
- pause: () => void;
153
- stop: () => void;
154
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
155
- 'update:status': null;
156
- 'update:data': null;
157
- setData: null;
158
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
159
- data: {
160
- type: {
161
- (arrayLength: number): string[];
162
- (...items: string[]): string[];
163
- new (arrayLength: number): string[];
164
- new (...items: string[]): string[];
165
- isArray(arg: any): arg is any[];
166
- readonly prototype: any[];
167
- from<T>(arrayLike: ArrayLike<T>): T[];
168
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
169
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
170
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
171
- of<T_4>(...items: T_4[]): T_4[];
172
- readonly [Symbol.species]: ArrayConstructor;
173
- };
174
- default: () => never[];
175
- };
176
- loop: {
177
- type: BooleanConstructor;
178
- default: boolean;
179
- };
180
- status: {
181
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
182
- default: import("@vunk/shared/enum").TickerStatus;
183
- };
184
- frameRate: {
185
- type: NumberConstructor;
186
- default: number;
187
- };
188
- }>> & Readonly<{
189
- onSetData?: ((...args: any[]) => any) | undefined;
190
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
191
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
192
- }>, {
193
- data: string[];
194
- status: import("@vunk/shared/enum").TickerStatus;
195
- loop: boolean;
196
- frameRate: number;
197
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
198
- ProviderComp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
199
- ViewComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
200
- defaultOptions: {
201
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
202
- default: () => {};
203
- };
204
- }>, {
205
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
206
- defaultOptions: {
207
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
208
- default: () => {};
209
- };
210
- }>> & Readonly<{}> & {}>;
211
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
212
- appRef: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
213
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
214
- defaultOptions: {
215
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
216
- default: () => {};
217
- };
218
- }>> & Readonly<{}>, {
219
- defaultOptions: Partial<import("pixi.js").ApplicationOptions>;
220
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
221
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
222
- 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
- };