@vunk/plus 1.3.10 → 1.3.12

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 (119) hide show
  1. package/components/SharedSystems.mjs +3195 -0
  2. package/components/WebGLRenderer.mjs +3617 -0
  3. package/components/WebGPURenderer.mjs +2103 -0
  4. package/components/_commonjsHelpers.mjs +7 -0
  5. package/components/agent-chat-provider/index.d.ts +7 -0
  6. package/components/agent-chat-provider/src/api.d.ts +3 -0
  7. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  8. package/components/agent-chat-provider/src/const.d.ts +1 -0
  9. package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
  10. package/components/agent-chat-provider/src/types.d.ts +43 -0
  11. package/components/agent-chat-provider/src/use.d.ts +29 -0
  12. package/components/avatar/index.d.ts +4 -0
  13. package/components/avatar/src/ctx.d.ts +18 -0
  14. package/components/avatar/src/index.vue.d.ts +121 -0
  15. package/components/avatar/src/types.d.ts +1 -0
  16. package/components/broadcasting-markdown/index.d.ts +7 -0
  17. package/components/broadcasting-markdown/index.mjs +238 -306
  18. package/components/broadcasting-markdown/src/const.d.ts +13 -0
  19. package/components/broadcasting-markdown/src/ctx.d.ts +115 -0
  20. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +97 -0
  21. package/components/broadcasting-markdown/src/index.vue.d.ts +383 -0
  22. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
  23. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  24. package/components/broadcasting-markdown/src/types.d.ts +25 -0
  25. package/components/broadcasting-markdown/src/use.d.ts +21 -0
  26. package/components/browserAll.mjs +3187 -0
  27. package/components/bubble-list/index.d.ts +5 -0
  28. package/components/bubble-list/index.mjs +2 -1
  29. package/components/bubble-list/src/ctx.d.ts +30 -0
  30. package/components/bubble-list/src/index.vue.d.ts +867 -0
  31. package/components/bubble-list/src/types.d.ts +4 -0
  32. package/components/bubble-templates/index.d.ts +4 -0
  33. package/components/bubble-templates/src/index.vue.d.ts +539 -0
  34. package/components/bubble-templates/src/types.d.ts +40 -0
  35. package/components/chat-independent/index.d.ts +4 -0
  36. package/components/chat-independent/index.mjs +3 -0
  37. package/components/chat-independent/src/const.d.ts +13 -0
  38. package/components/chat-independent/src/ctx.d.ts +20 -0
  39. package/components/chat-independent/src/index.vue.d.ts +2343 -0
  40. package/components/chat-independent/src/types.d.ts +13 -0
  41. package/components/colorToUniform.mjs +266 -0
  42. package/components/index.d.ts +0 -0
  43. package/components/index2.mjs +21227 -0
  44. package/components/init.mjs +3779 -0
  45. package/components/lottie-animation/index.d.ts +4 -0
  46. package/components/lottie-animation/src/ctx.d.ts +10 -0
  47. package/components/lottie-animation/src/index.vue.d.ts +21 -0
  48. package/components/lottie-animation/src/types.d.ts +4 -0
  49. package/components/monaco-editor/index.d.ts +5 -0
  50. package/components/monaco-editor/src/ctx.d.ts +23 -0
  51. package/components/monaco-editor/src/index.vue.d.ts +40 -0
  52. package/components/monaco-editor/src/types.d.ts +1 -0
  53. package/components/monaco-environment/index.d.ts +4 -0
  54. package/components/monaco-environment/src/ctx.d.ts +8 -0
  55. package/components/monaco-environment/src/index.vue.d.ts +2 -0
  56. package/components/monaco-environment/src/types.d.ts +1 -0
  57. package/components/pixi-frame/index.css +4 -0
  58. package/components/pixi-frame/index.d.ts +7 -0
  59. package/components/pixi-frame/index.mjs +6 -0
  60. package/components/pixi-frame/src/app.vue.d.ts +29 -0
  61. package/components/pixi-frame/src/core.vue.d.ts +122 -0
  62. package/components/pixi-frame/src/ctx.d.ts +40 -0
  63. package/components/pixi-frame/src/index.vue.d.ts +218 -0
  64. package/components/pixi-frame/src/types.d.ts +1 -0
  65. package/components/pixi-frame/src/use.d.ts +3 -0
  66. package/components/recorder-button/index.d.ts +4 -0
  67. package/components/recorder-button/src/ctx.d.ts +41 -0
  68. package/components/recorder-button/src/index.vue.d.ts +300 -0
  69. package/components/recorder-button/src/speech-to-text.d.ts +1 -0
  70. package/components/recorder-button/src/types.d.ts +7 -0
  71. package/components/routes-menu-content/index.d.ts +4 -0
  72. package/components/routes-menu-content/src/ctx.d.ts +17 -0
  73. package/components/routes-menu-content/src/index.vue.d.ts +472 -0
  74. package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
  75. package/components/routes-menu-content/src/item/core/index.vue.d.ts +307 -0
  76. package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
  77. package/components/routes-menu-content/src/item/index.vue.d.ts +438 -0
  78. package/components/routes-menu-content/src/types.d.ts +1 -0
  79. package/components/sender/index.d.ts +4 -0
  80. package/components/sender/src/SenderHeader.vue.d.ts +256 -0
  81. package/components/sender/src/ctx.d.ts +62 -0
  82. package/components/sender/src/index.vue.d.ts +787 -0
  83. package/components/sender/src/types.d.ts +1 -0
  84. package/components/speech-button/index.d.ts +4 -0
  85. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
  86. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
  87. package/components/speech-button/src/ctx.d.ts +10 -0
  88. package/components/speech-button/src/index.vue.d.ts +22 -0
  89. package/components/speech-button/src/types.d.ts +1 -0
  90. package/components/table-columns/index.d.ts +5 -0
  91. package/components/table-columns/src/ctx.d.ts +66 -0
  92. package/components/table-columns/src/el-ctx.d.ts +63 -0
  93. package/components/table-columns/src/index.vue.d.ts +282 -0
  94. package/components/table-columns/src/types.d.ts +21 -0
  95. package/components/tables-v1/index.d.ts +5 -0
  96. package/components/tables-v1/src/ctx.d.ts +281 -0
  97. package/components/tables-v1/src/el-ctx.d.ts +269 -0
  98. package/components/tables-v1/src/index.vue.d.ts +3014 -0
  99. package/components/tables-v1/src/types.d.ts +4 -0
  100. package/components/tables-v1-checkbox/index.d.ts +5 -0
  101. package/components/tables-v1-checkbox/src/ctx.d.ts +321 -0
  102. package/components/tables-v1-checkbox/src/index.vue.d.ts +3796 -0
  103. package/components/tables-v1-checkbox/src/types.d.ts +1 -0
  104. package/components/typing-markdown/index.d.ts +4 -0
  105. package/components/typing-markdown/src/core.d.ts +2 -0
  106. package/components/typing-markdown/src/ctx.d.ts +33 -0
  107. package/components/typing-markdown/src/index.vue.d.ts +57 -0
  108. package/components/typing-markdown/src/types.d.ts +1 -0
  109. package/components/vditor/index.d.ts +5 -0
  110. package/components/vditor/src/ctx.d.ts +37 -0
  111. package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
  112. package/components/vditor/src/handle-value.vue.d.ts +18 -0
  113. package/components/vditor/src/index.vue.d.ts +144 -0
  114. package/components/vditor/src/types.d.ts +9 -0
  115. package/components/vditor/src/use.d.ts +4 -0
  116. package/components/webworkerAll.mjs +8 -0
  117. package/index.css +5 -4
  118. package/package.json +8 -4
  119. package/components/broadcasting-markdown/index.css +0 -3
@@ -0,0 +1,4 @@
1
+ import VkLottieAnimation from './src/index.vue';
2
+ export * as __VkLottieAnimation from './src/types';
3
+ export { VkLottieAnimation, };
4
+ export default VkLottieAnimation;
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1,21 @@
1
+ import { Ref } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ path: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ }>, {
8
+ lottieNode: Ref<HTMLDivElement, HTMLDivElement>;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ load: (e: import("./types").LoadEvent) => import("./types").LoadEvent;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ path: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ }>> & Readonly<{
17
+ onLoad?: ((e: import("./types").LoadEvent) => any) | undefined;
18
+ }>, {
19
+ path: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
21
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { AnimationItem } from 'lottie-web';
2
+ export interface LoadEvent {
3
+ animation: AnimationItem;
4
+ }
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,23 @@
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]; };
@@ -0,0 +1,40 @@
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;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import VkMonacoEnvironment from './src/index.vue';
2
+ export * as __VkMonacoEnvironment from './src/types';
3
+ export { VkMonacoEnvironment, };
4
+ export default VkMonacoEnvironment;
@@ -0,0 +1,8 @@
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: {};
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ .vk-pixi-frame{
2
+ height: 100%;
3
+ width: 100%;
4
+ }
@@ -0,0 +1,7 @@
1
+ import VkPixiFrameWrapper from './src/app.vue';
2
+ import VkPixiFrameCore from './src/core.vue';
3
+ import VkPixiFrame from './src/index.vue';
4
+ export * as __VkPixiFrame from './src/types';
5
+ export { TickerStatus } from '@vunk/shared/enum';
6
+ export { VkPixiFrame, VkPixiFrameCore, VkPixiFrameWrapper, };
7
+ export default VkPixiFrame;
@@ -0,0 +1,6 @@
1
+ export { aq as VkPixiFrame, ar as VkPixiFrameCore, as as VkPixiFrameWrapper, at as __VkPixiFrame, aq as default } from '../index2.mjs';
2
+ export { TickerStatus } from '@vunk/shared/enum';
3
+ import 'vue';
4
+ import '../_commonjsHelpers.mjs';
5
+ import '../browser.mjs';
6
+ import '../_plugin-vue_export-helper.mjs';
@@ -0,0 +1,29 @@
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
+ appendTo: null;
5
+ defaultOptions: {
6
+ type: PropType<Partial<ApplicationOptions>>;
7
+ default: () => {};
8
+ };
9
+ }>, {
10
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
11
+ appendTo: null;
12
+ defaultOptions: {
13
+ type: PropType<Partial<ApplicationOptions>>;
14
+ default: () => {};
15
+ };
16
+ }>> & Readonly<{}> & {}>;
17
+ app: import("pixi.js").Application<import("pixi.js").Renderer>;
18
+ appRef: Ref<HTMLDivElement, HTMLDivElement>;
19
+ ready: Ref<boolean, boolean>;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ appendTo: null;
22
+ defaultOptions: {
23
+ type: PropType<Partial<ApplicationOptions>>;
24
+ default: () => {};
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ defaultOptions: Partial<ApplicationOptions>;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ export default _default;
@@ -0,0 +1,122 @@
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;
@@ -0,0 +1,40 @@
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
+ };
@@ -0,0 +1,218 @@
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
+ AppView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
74
+ appendTo: null;
75
+ defaultOptions: {
76
+ type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
77
+ default: () => {};
78
+ };
79
+ }>, {
80
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
81
+ appendTo: null;
82
+ defaultOptions: {
83
+ type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
84
+ default: () => {};
85
+ };
86
+ }>> & Readonly<{}> & {}>;
87
+ app: import("pixi.js").Application<import("pixi.js").Renderer>;
88
+ appRef: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
89
+ ready: import("vue").Ref<boolean, boolean>;
90
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
+ appendTo: null;
92
+ defaultOptions: {
93
+ type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
94
+ default: () => {};
95
+ };
96
+ }>> & Readonly<{}>, {
97
+ defaultOptions: Partial<import("pixi.js").ApplicationOptions>;
98
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
+ CoreView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
100
+ data: {
101
+ type: {
102
+ (arrayLength: number): string[];
103
+ (...items: string[]): string[];
104
+ new (arrayLength: number): string[];
105
+ new (...items: string[]): string[];
106
+ isArray(arg: any): arg is any[];
107
+ readonly prototype: any[];
108
+ from<T>(arrayLike: ArrayLike<T>): T[];
109
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
110
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
111
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
112
+ of<T_4>(...items: T_4[]): T_4[];
113
+ readonly [Symbol.species]: ArrayConstructor;
114
+ };
115
+ default: () => never[];
116
+ };
117
+ loop: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ status: {
122
+ type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
123
+ default: import("@vunk/shared/enum").TickerStatus;
124
+ };
125
+ frameRate: {
126
+ type: NumberConstructor;
127
+ default: number;
128
+ };
129
+ }>, {
130
+ props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
131
+ data: {
132
+ type: {
133
+ (arrayLength: number): string[];
134
+ (...items: string[]): string[];
135
+ new (arrayLength: number): string[];
136
+ new (...items: string[]): string[];
137
+ isArray(arg: any): arg is any[];
138
+ readonly prototype: any[];
139
+ from<T>(arrayLike: ArrayLike<T>): T[];
140
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
141
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
142
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
143
+ of<T_4>(...items: T_4[]): T_4[];
144
+ readonly [Symbol.species]: ArrayConstructor;
145
+ };
146
+ default: () => never[];
147
+ };
148
+ loop: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ status: {
153
+ type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
154
+ default: import("@vunk/shared/enum").TickerStatus;
155
+ };
156
+ frameRate: {
157
+ type: NumberConstructor;
158
+ default: number;
159
+ };
160
+ }>> & Readonly<{
161
+ "onUpdate:status"?: ((...args: any[]) => any) | undefined;
162
+ "onUpdate:data"?: ((...args: any[]) => any) | undefined;
163
+ }> & {}>;
164
+ emit: ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void);
165
+ app: import("pixi.js").Application<import("pixi.js").Renderer>;
166
+ sprite: import("pixi.js").Sprite;
167
+ resizeSprite: () => void;
168
+ textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
169
+ index: import("vue").Ref<number, number>;
170
+ timer: number | null;
171
+ startFrameLoop: () => void;
172
+ play: () => void;
173
+ pause: () => void;
174
+ stop: () => void;
175
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
176
+ 'update:status': null;
177
+ 'update:data': null;
178
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
179
+ data: {
180
+ type: {
181
+ (arrayLength: number): string[];
182
+ (...items: string[]): string[];
183
+ new (arrayLength: number): string[];
184
+ new (...items: string[]): string[];
185
+ isArray(arg: any): arg is any[];
186
+ readonly prototype: any[];
187
+ from<T>(arrayLike: ArrayLike<T>): T[];
188
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
189
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
190
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
191
+ of<T_4>(...items: T_4[]): T_4[];
192
+ readonly [Symbol.species]: ArrayConstructor;
193
+ };
194
+ default: () => never[];
195
+ };
196
+ loop: {
197
+ type: BooleanConstructor;
198
+ default: boolean;
199
+ };
200
+ status: {
201
+ type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
202
+ default: import("@vunk/shared/enum").TickerStatus;
203
+ };
204
+ frameRate: {
205
+ type: NumberConstructor;
206
+ default: number;
207
+ };
208
+ }>> & Readonly<{
209
+ "onUpdate:status"?: ((...args: any[]) => any) | undefined;
210
+ "onUpdate:data"?: ((...args: any[]) => any) | undefined;
211
+ }>, {
212
+ data: string[];
213
+ status: import("@vunk/shared/enum").TickerStatus;
214
+ loop: boolean;
215
+ frameRate: number;
216
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
217
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
218
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
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>;
@@ -0,0 +1,4 @@
1
+ import VkRecorderButton from './src/index.vue';
2
+ export * as __VkRecorderButton from './src/types';
3
+ export { VkRecorderButton, };
4
+ export default VkRecorderButton;
@@ -0,0 +1,41 @@
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
+ };