@vunk/plus 1.4.7 → 1.5.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 (115) hide show
  1. package/components/WebGLRenderer.mjs +1 -0
  2. package/components/WebGPURenderer.mjs +1 -0
  3. package/components/broadcasting-markdown/index.mjs +60 -12
  4. package/components/browserAll.mjs +1 -0
  5. package/components/index2.mjs +1498 -62
  6. package/components/pixi-frame/index.mjs +2 -1
  7. package/components/text/index.mjs +106 -0
  8. package/components/typing-markdown/index.css +19 -0
  9. package/components/typing-markdown/index.mjs +17 -4
  10. package/components/webworkerAll.mjs +1 -0
  11. package/index.css +19 -0
  12. package/package.json +5 -1
  13. package/components/agent-chat-provider/index.d.ts +0 -7
  14. package/components/agent-chat-provider/src/api.d.ts +0 -3
  15. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  16. package/components/agent-chat-provider/src/const.d.ts +0 -1
  17. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  18. package/components/agent-chat-provider/src/types.d.ts +0 -43
  19. package/components/agent-chat-provider/src/use.d.ts +0 -29
  20. package/components/avatar/index.d.ts +0 -4
  21. package/components/avatar/src/ctx.d.ts +0 -18
  22. package/components/avatar/src/index.vue.d.ts +0 -121
  23. package/components/avatar/src/types.d.ts +0 -1
  24. package/components/broadcasting-markdown/index.d.ts +0 -7
  25. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  26. package/components/broadcasting-markdown/src/ctx.d.ts +0 -115
  27. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  28. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -383
  29. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  30. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  31. package/components/broadcasting-markdown/src/types.d.ts +0 -25
  32. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  33. package/components/bubble-list/index.d.ts +0 -5
  34. package/components/bubble-list/src/ctx.d.ts +0 -30
  35. package/components/bubble-list/src/index.vue.d.ts +0 -867
  36. package/components/bubble-list/src/types.d.ts +0 -4
  37. package/components/bubble-templates/index.d.ts +0 -4
  38. package/components/bubble-templates/src/index.vue.d.ts +0 -539
  39. package/components/bubble-templates/src/types.d.ts +0 -40
  40. package/components/chat-independent/index.d.ts +0 -4
  41. package/components/chat-independent/src/const.d.ts +0 -13
  42. package/components/chat-independent/src/ctx.d.ts +0 -20
  43. package/components/chat-independent/src/index.vue.d.ts +0 -2345
  44. package/components/chat-independent/src/types.d.ts +0 -13
  45. package/components/index.d.ts +0 -0
  46. package/components/lottie-animation/index.d.ts +0 -4
  47. package/components/lottie-animation/src/ctx.d.ts +0 -10
  48. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  49. package/components/lottie-animation/src/types.d.ts +0 -4
  50. package/components/monaco-editor/index.d.ts +0 -5
  51. package/components/monaco-editor/src/ctx.d.ts +0 -23
  52. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  53. package/components/monaco-editor/src/types.d.ts +0 -1
  54. package/components/monaco-environment/index.d.ts +0 -4
  55. package/components/monaco-environment/src/ctx.d.ts +0 -8
  56. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  57. package/components/monaco-environment/src/types.d.ts +0 -1
  58. package/components/pixi-frame/index.d.ts +0 -8
  59. package/components/pixi-frame/src/core.vue.d.ts +0 -131
  60. package/components/pixi-frame/src/ctx.d.ts +0 -44
  61. package/components/pixi-frame/src/index.vue.d.ts +0 -230
  62. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  63. package/components/pixi-frame/src/types.d.ts +0 -1
  64. package/components/pixi-frame/src/use.d.ts +0 -16
  65. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  66. package/components/recorder-button/index.d.ts +0 -4
  67. package/components/recorder-button/src/ctx.d.ts +0 -41
  68. package/components/recorder-button/src/index.vue.d.ts +0 -300
  69. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  70. package/components/recorder-button/src/types.d.ts +0 -7
  71. package/components/routes-menu-content/index.d.ts +0 -4
  72. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  73. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  74. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  75. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  76. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  77. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  78. package/components/routes-menu-content/src/types.d.ts +0 -1
  79. package/components/sender/index.d.ts +0 -4
  80. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  81. package/components/sender/src/ctx.d.ts +0 -62
  82. package/components/sender/src/index.vue.d.ts +0 -787
  83. package/components/sender/src/types.d.ts +0 -1
  84. package/components/speech-button/index.d.ts +0 -4
  85. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  86. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  87. package/components/speech-button/src/ctx.d.ts +0 -10
  88. package/components/speech-button/src/index.vue.d.ts +0 -22
  89. package/components/speech-button/src/types.d.ts +0 -1
  90. package/components/table-columns/index.d.ts +0 -5
  91. package/components/table-columns/src/ctx.d.ts +0 -66
  92. package/components/table-columns/src/el-ctx.d.ts +0 -63
  93. package/components/table-columns/src/index.vue.d.ts +0 -282
  94. package/components/table-columns/src/types.d.ts +0 -21
  95. package/components/tables-v1/index.d.ts +0 -5
  96. package/components/tables-v1/src/ctx.d.ts +0 -288
  97. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  98. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  99. package/components/tables-v1/src/types.d.ts +0 -3
  100. package/components/tables-v1-checkbox/index.d.ts +0 -5
  101. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  102. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  103. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  104. package/components/typing-markdown/index.d.ts +0 -4
  105. package/components/typing-markdown/src/core.d.ts +0 -2
  106. package/components/typing-markdown/src/ctx.d.ts +0 -33
  107. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  108. package/components/typing-markdown/src/types.d.ts +0 -1
  109. package/components/vditor/index.d.ts +0 -5
  110. package/components/vditor/src/ctx.d.ts +0 -37
  111. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  112. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  113. package/components/vditor/src/index.vue.d.ts +0 -144
  114. package/components/vditor/src/types.d.ts +0 -9
  115. 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,131 +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
- 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
- context: {
73
- whenDef: import("@vunk/shared/promise").Deferred<import("pixi.js").Application<import("pixi.js").Renderer>>;
74
- when: () => Promise<import("pixi.js").Application<import("pixi.js").Renderer>>;
75
- };
76
- compId: string;
77
- getAlias: (key: string | number) => string;
78
- sprite: Sprite;
79
- resizeSprite: () => void;
80
- textureMap: Map<string, Texture<import("pixi.js").TextureSource<any>>>;
81
- index: import("vue").Ref<number, number>;
82
- timer: number | null;
83
- startFrameLoop: () => void;
84
- play: () => void;
85
- pause: () => void;
86
- stop: () => void;
87
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
- 'update:status': null;
89
- 'update:data': null;
90
- setData: null;
91
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
- data: {
93
- type: {
94
- (arrayLength: number): string[];
95
- (...items: string[]): string[];
96
- new (arrayLength: number): string[];
97
- new (...items: string[]): string[];
98
- isArray(arg: any): arg is any[];
99
- readonly prototype: any[];
100
- from<T>(arrayLike: ArrayLike<T>): T[];
101
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
102
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
103
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
104
- of<T_4>(...items: T_4[]): T_4[];
105
- readonly [Symbol.species]: ArrayConstructor;
106
- };
107
- default: () => never[];
108
- };
109
- loop: {
110
- type: BooleanConstructor;
111
- default: boolean;
112
- };
113
- status: {
114
- type: import("vue").PropType<TickerStatus>;
115
- default: TickerStatus;
116
- };
117
- frameRate: {
118
- type: NumberConstructor;
119
- default: number;
120
- };
121
- }>> & Readonly<{
122
- onSetData?: ((...args: any[]) => any) | undefined;
123
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
124
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
125
- }>, {
126
- data: string[];
127
- status: TickerStatus;
128
- loop: boolean;
129
- frameRate: number;
130
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
131
- export default _default;
@@ -1,44 +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
- /**
29
- * @description v-model:status 控制动画状态
30
- */
31
- status: {
32
- type: PropType<TickerStatus>;
33
- default: TickerStatus;
34
- };
35
- frameRate: {
36
- type: NumberConstructor;
37
- default: number;
38
- };
39
- };
40
- export declare const emits: {
41
- 'update:status': null;
42
- 'update:data': null;
43
- setData: null;
44
- };
@@ -1,230 +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
- context: {
144
- whenDef: import("@vunk/shared/promise").Deferred<import("pixi.js").Application<import("pixi.js").Renderer>>;
145
- when: () => Promise<import("pixi.js").Application<import("pixi.js").Renderer>>;
146
- };
147
- compId: string;
148
- getAlias: (key: string | number) => string;
149
- sprite: import("pixi.js").Sprite;
150
- resizeSprite: () => void;
151
- textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
152
- index: import("vue").Ref<number, number>;
153
- timer: number | null;
154
- startFrameLoop: () => void;
155
- play: () => void;
156
- pause: () => void;
157
- stop: () => void;
158
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
159
- 'update:status': null;
160
- 'update:data': null;
161
- setData: null;
162
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
163
- data: {
164
- type: {
165
- (arrayLength: number): string[];
166
- (...items: string[]): string[];
167
- new (arrayLength: number): string[];
168
- new (...items: string[]): string[];
169
- isArray(arg: any): arg is any[];
170
- readonly prototype: any[];
171
- from<T>(arrayLike: ArrayLike<T>): T[];
172
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
173
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
174
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
175
- of<T_4>(...items: T_4[]): T_4[];
176
- readonly [Symbol.species]: ArrayConstructor;
177
- };
178
- default: () => never[];
179
- };
180
- loop: {
181
- type: BooleanConstructor;
182
- default: boolean;
183
- };
184
- status: {
185
- type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
186
- default: import("@vunk/shared/enum").TickerStatus;
187
- };
188
- frameRate: {
189
- type: NumberConstructor;
190
- default: number;
191
- };
192
- }>> & Readonly<{
193
- onSetData?: ((...args: any[]) => any) | undefined;
194
- "onUpdate:status"?: ((...args: any[]) => any) | undefined;
195
- "onUpdate:data"?: ((...args: any[]) => any) | undefined;
196
- }>, {
197
- data: string[];
198
- status: import("@vunk/shared/enum").TickerStatus;
199
- loop: boolean;
200
- frameRate: number;
201
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
202
- ProviderComp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
203
- ViewComp: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
204
- defaultOptions: {
205
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
206
- default: () => {};
207
- };
208
- }>, {
209
- props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
210
- defaultOptions: {
211
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
212
- default: () => {};
213
- };
214
- }>> & Readonly<{}> & {}>;
215
- app: import("pixi.js").Application<import("pixi.js").Renderer>;
216
- context: {
217
- whenDef: import("@vunk/shared/promise").Deferred<import("pixi.js").Application<import("pixi.js").Renderer>>;
218
- when: () => Promise<import("pixi.js").Application<import("pixi.js").Renderer>>;
219
- };
220
- appRef: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
221
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
222
- defaultOptions: {
223
- type: import("vue").PropType<Partial<import("pixi.js").ApplicationOptions>>;
224
- default: () => {};
225
- };
226
- }>> & Readonly<{}>, {
227
- defaultOptions: Partial<import("pixi.js").ApplicationOptions>;
228
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
229
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
230
- 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,16 +0,0 @@
1
- import { Deferred } from '@vunk/shared/promise';
2
- import { Application } from 'pixi.js';
3
- export declare function initPixiApp(): {
4
- application: Application<import("pixi.js").Renderer>;
5
- context: {
6
- whenDef: Deferred<Application<import("pixi.js").Renderer>>;
7
- when: () => Promise<Application<import("pixi.js").Renderer>>;
8
- };
9
- };
10
- export declare function usePixiApp(): {
11
- application: Application<import("pixi.js").Renderer>;
12
- context: {
13
- whenDef: Deferred<Application<import("pixi.js").Renderer>>;
14
- when: () => Promise<Application<import("pixi.js").Renderer>>;
15
- };
16
- };
@@ -1,29 +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
- context: {
17
- whenDef: import("@vunk/shared/promise").Deferred<import("pixi.js").Application<import("pixi.js").Renderer>>;
18
- when: () => Promise<import("pixi.js").Application<import("pixi.js").Renderer>>;
19
- };
20
- appRef: Ref<HTMLDivElement, HTMLDivElement>;
21
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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;
@@ -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;