@vunk/plus 1.3.9 → 1.3.10

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 (104) hide show
  1. package/components/broadcasting-markdown/index.mjs +18 -6
  2. package/components/bubble-templates/index.mjs +21 -5
  3. package/components/chat-independent/index.mjs +41 -15
  4. package/components/recorder-button/index.mjs +4 -7
  5. package/components/sender/index.mjs +11 -8
  6. package/composables/recorder/index.mjs +8 -5
  7. package/package.json +1 -1
  8. package/components/agent-chat-provider/index.d.ts +0 -7
  9. package/components/agent-chat-provider/src/api.d.ts +0 -3
  10. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  11. package/components/agent-chat-provider/src/const.d.ts +0 -1
  12. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  13. package/components/agent-chat-provider/src/types.d.ts +0 -37
  14. package/components/agent-chat-provider/src/use.d.ts +0 -29
  15. package/components/avatar/index.d.ts +0 -4
  16. package/components/avatar/src/ctx.d.ts +0 -18
  17. package/components/avatar/src/index.vue.d.ts +0 -121
  18. package/components/avatar/src/types.d.ts +0 -1
  19. package/components/broadcasting-markdown/index.d.ts +0 -5
  20. package/components/broadcasting-markdown/src/const.d.ts +0 -18
  21. package/components/broadcasting-markdown/src/ctx.d.ts +0 -101
  22. package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +0 -117
  23. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -117
  24. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -516
  25. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -92
  26. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  27. package/components/broadcasting-markdown/src/types.d.ts +0 -17
  28. package/components/broadcasting-markdown/src/use.d.ts +0 -3
  29. package/components/broadcasting-markdown/src/web-speech.vue.d.ts +0 -110
  30. package/components/bubble-list/index.d.ts +0 -5
  31. package/components/bubble-list/src/ctx.d.ts +0 -30
  32. package/components/bubble-list/src/index.vue.d.ts +0 -998
  33. package/components/bubble-list/src/types.d.ts +0 -4
  34. package/components/bubble-templates/index.d.ts +0 -4
  35. package/components/bubble-templates/src/index.vue.d.ts +0 -670
  36. package/components/bubble-templates/src/types.d.ts +0 -30
  37. package/components/chat-independent/index.d.ts +0 -4
  38. package/components/chat-independent/src/const.d.ts +0 -13
  39. package/components/chat-independent/src/ctx.d.ts +0 -20
  40. package/components/chat-independent/src/index.vue.d.ts +0 -2460
  41. package/components/chat-independent/src/types.d.ts +0 -13
  42. package/components/index.d.ts +0 -0
  43. package/components/lottie-animation/index.d.ts +0 -4
  44. package/components/lottie-animation/src/ctx.d.ts +0 -10
  45. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  46. package/components/lottie-animation/src/types.d.ts +0 -4
  47. package/components/monaco-editor/index.d.ts +0 -5
  48. package/components/monaco-editor/src/ctx.d.ts +0 -23
  49. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  50. package/components/monaco-editor/src/types.d.ts +0 -1
  51. package/components/monaco-environment/index.d.ts +0 -4
  52. package/components/monaco-environment/src/ctx.d.ts +0 -8
  53. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  54. package/components/monaco-environment/src/types.d.ts +0 -1
  55. package/components/recorder-button/index.d.ts +0 -4
  56. package/components/recorder-button/src/ctx.d.ts +0 -40
  57. package/components/recorder-button/src/index.vue.d.ts +0 -303
  58. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  59. package/components/recorder-button/src/types.d.ts +0 -7
  60. package/components/routes-menu-content/index.d.ts +0 -4
  61. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  62. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  63. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  64. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  65. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  66. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  67. package/components/routes-menu-content/src/types.d.ts +0 -1
  68. package/components/sender/index.d.ts +0 -4
  69. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  70. package/components/sender/src/ctx.d.ts +0 -58
  71. package/components/sender/src/index.vue.d.ts +0 -778
  72. package/components/sender/src/types.d.ts +0 -1
  73. package/components/speech-button/index.d.ts +0 -4
  74. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  75. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  76. package/components/speech-button/src/ctx.d.ts +0 -10
  77. package/components/speech-button/src/index.vue.d.ts +0 -22
  78. package/components/speech-button/src/types.d.ts +0 -1
  79. package/components/table-columns/index.d.ts +0 -5
  80. package/components/table-columns/src/ctx.d.ts +0 -66
  81. package/components/table-columns/src/el-ctx.d.ts +0 -63
  82. package/components/table-columns/src/index.vue.d.ts +0 -282
  83. package/components/table-columns/src/types.d.ts +0 -21
  84. package/components/tables-v1/index.d.ts +0 -5
  85. package/components/tables-v1/src/ctx.d.ts +0 -281
  86. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  87. package/components/tables-v1/src/index.vue.d.ts +0 -3014
  88. package/components/tables-v1/src/types.d.ts +0 -4
  89. package/components/tables-v1-checkbox/index.d.ts +0 -5
  90. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -321
  91. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3796
  92. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  93. package/components/typing-markdown/index.d.ts +0 -4
  94. package/components/typing-markdown/src/core.d.ts +0 -2
  95. package/components/typing-markdown/src/ctx.d.ts +0 -33
  96. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  97. package/components/typing-markdown/src/types.d.ts +0 -1
  98. package/components/vditor/index.d.ts +0 -5
  99. package/components/vditor/src/ctx.d.ts +0 -37
  100. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  101. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  102. package/components/vditor/src/index.vue.d.ts +0 -144
  103. package/components/vditor/src/types.d.ts +0 -9
  104. 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,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,40 +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
- };
@@ -1,303 +0,0 @@
1
- import type { Ref } from 'vue';
2
- import 'recorder-core/src/engine/mp3';
3
- import 'recorder-core/src/engine/wav';
4
- import 'recorder-core/src/engine/mp3-engine';
5
- import 'recorder-core/src/extensions/waveview';
6
- import 'recorder-core/src/app-support/app';
7
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- onTextZone: {
9
- type: import("vue").PropType<import("./types").OnTextZone>;
10
- default: undefined;
11
- };
12
- appendTo: {
13
- type: null;
14
- default: string;
15
- };
16
- disabled: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- speechToText: {
21
- type: import("vue").PropType<import("./types").SpeechToText>;
22
- default: undefined;
23
- };
24
- submitToText: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>, {
29
- onmousedown: (e: MouseEvent | TouchEvent) => void;
30
- onmousemove: (e: MouseEvent | TouchEvent) => void;
31
- onmouseup: (e: MouseEvent | TouchEvent) => void;
32
- recording: Ref<boolean, boolean>;
33
- recordingNode: Ref<HTMLSpanElement, HTMLSpanElement>;
34
- blobUrl: Ref<string, string>;
35
- isDragging: Ref<boolean, boolean>;
36
- cancelZone: Ref<boolean, boolean>;
37
- isTextZone: Ref<boolean, boolean>;
38
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
- submitText: (text: string) => boolean;
40
- submit: (_: import("./types").SubmitRawEvent) => boolean;
41
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
42
- onTextZone: {
43
- type: import("vue").PropType<import("./types").OnTextZone>;
44
- default: undefined;
45
- };
46
- appendTo: {
47
- type: null;
48
- default: string;
49
- };
50
- disabled: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- speechToText: {
55
- type: import("vue").PropType<import("./types").SpeechToText>;
56
- default: undefined;
57
- };
58
- submitToText: {
59
- type: BooleanConstructor;
60
- default: boolean;
61
- };
62
- }>> & Readonly<{
63
- onSubmit?: ((_: import("./types").SubmitRawEvent) => any) | undefined;
64
- onSubmitText?: ((text: string) => any) | undefined;
65
- }>, {
66
- disabled: boolean;
67
- onTextZone: import("./types").OnTextZone;
68
- appendTo: any;
69
- speechToText: import("./types").SpeechToText;
70
- submitToText: boolean;
71
- }, {}, {
72
- ElButton: import("element-plus/es/utils").SFCWithInstall<{
73
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
74
- readonly size: {
75
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
76
- readonly required: false;
77
- readonly validator: ((val: unknown) => boolean) | undefined;
78
- __epPropKey: true;
79
- };
80
- readonly disabled: BooleanConstructor;
81
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
82
- readonly icon: {
83
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
84
- readonly required: false;
85
- readonly validator: ((val: unknown) => boolean) | undefined;
86
- __epPropKey: true;
87
- };
88
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
89
- readonly loading: BooleanConstructor;
90
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, () => any, boolean>;
91
- readonly plain: BooleanConstructor;
92
- readonly text: BooleanConstructor;
93
- readonly link: BooleanConstructor;
94
- readonly bg: BooleanConstructor;
95
- readonly autofocus: BooleanConstructor;
96
- readonly round: BooleanConstructor;
97
- readonly circle: BooleanConstructor;
98
- readonly color: StringConstructor;
99
- readonly dark: BooleanConstructor;
100
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
101
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, "button", boolean>;
102
- }>> & {
103
- onClick?: ((evt: MouseEvent) => any) | undefined;
104
- }, {
105
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
106
- size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
107
- type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
108
- disabled: import("vue").ComputedRef<boolean>;
109
- shouldAddSpace: import("vue").ComputedRef<boolean>;
110
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
- click: (evt: MouseEvent) => void;
112
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
113
- readonly link: boolean;
114
- readonly circle: boolean;
115
- readonly text: boolean;
116
- readonly disabled: boolean;
117
- readonly round: boolean;
118
- readonly dark: boolean;
119
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
120
- readonly bg: boolean;
121
- readonly loading: boolean;
122
- readonly autofocus: boolean;
123
- readonly tag: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
124
- readonly nativeType: import("element-plus").ButtonType<StringConstructor, "button" | "reset" | "submit", unknown>;
125
- readonly loadingIcon: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
126
- readonly autoInsertSpace: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
127
- readonly plain: boolean;
128
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
129
- P: {};
130
- B: {};
131
- D: {};
132
- C: {};
133
- M: {};
134
- Defaults: {};
135
- }, Readonly<import("vue").ExtractPropTypes<{
136
- readonly size: {
137
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
138
- readonly required: false;
139
- readonly validator: ((val: unknown) => boolean) | undefined;
140
- __epPropKey: true;
141
- };
142
- readonly disabled: BooleanConstructor;
143
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
144
- readonly icon: {
145
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
146
- readonly required: false;
147
- readonly validator: ((val: unknown) => boolean) | undefined;
148
- __epPropKey: true;
149
- };
150
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
151
- readonly loading: BooleanConstructor;
152
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, () => any, boolean>;
153
- readonly plain: BooleanConstructor;
154
- readonly text: BooleanConstructor;
155
- readonly link: BooleanConstructor;
156
- readonly bg: BooleanConstructor;
157
- readonly autofocus: BooleanConstructor;
158
- readonly round: BooleanConstructor;
159
- readonly circle: BooleanConstructor;
160
- readonly color: StringConstructor;
161
- readonly dark: BooleanConstructor;
162
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
163
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, "button", boolean>;
164
- }>> & {
165
- onClick?: ((evt: MouseEvent) => any) | undefined;
166
- }, {
167
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
168
- size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
169
- type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
170
- disabled: import("vue").ComputedRef<boolean>;
171
- shouldAddSpace: import("vue").ComputedRef<boolean>;
172
- }, {}, {}, {}, {
173
- readonly link: boolean;
174
- readonly circle: boolean;
175
- readonly text: boolean;
176
- readonly disabled: boolean;
177
- readonly round: boolean;
178
- readonly dark: boolean;
179
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
180
- readonly bg: boolean;
181
- readonly loading: boolean;
182
- readonly autofocus: boolean;
183
- readonly tag: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
184
- readonly nativeType: import("element-plus").ButtonType<StringConstructor, "button" | "reset" | "submit", unknown>;
185
- readonly loadingIcon: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
186
- readonly autoInsertSpace: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
187
- readonly plain: boolean;
188
- }>;
189
- __isFragment?: undefined;
190
- __isTeleport?: undefined;
191
- __isSuspense?: undefined;
192
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
193
- readonly size: {
194
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
195
- readonly required: false;
196
- readonly validator: ((val: unknown) => boolean) | undefined;
197
- __epPropKey: true;
198
- };
199
- readonly disabled: BooleanConstructor;
200
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
201
- readonly icon: {
202
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
203
- readonly required: false;
204
- readonly validator: ((val: unknown) => boolean) | undefined;
205
- __epPropKey: true;
206
- };
207
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
208
- readonly loading: BooleanConstructor;
209
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, () => any, boolean>;
210
- readonly plain: BooleanConstructor;
211
- readonly text: BooleanConstructor;
212
- readonly link: BooleanConstructor;
213
- readonly bg: BooleanConstructor;
214
- readonly autofocus: BooleanConstructor;
215
- readonly round: BooleanConstructor;
216
- readonly circle: BooleanConstructor;
217
- readonly color: StringConstructor;
218
- readonly dark: BooleanConstructor;
219
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
220
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, "button", boolean>;
221
- }>> & {
222
- onClick?: ((evt: MouseEvent) => any) | undefined;
223
- }, {
224
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
225
- size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
226
- type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
227
- disabled: import("vue").ComputedRef<boolean>;
228
- shouldAddSpace: import("vue").ComputedRef<boolean>;
229
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
230
- click: (evt: MouseEvent) => void;
231
- }, string, {
232
- readonly link: boolean;
233
- readonly circle: boolean;
234
- readonly text: boolean;
235
- readonly disabled: boolean;
236
- readonly round: boolean;
237
- readonly dark: boolean;
238
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
239
- readonly bg: boolean;
240
- readonly loading: boolean;
241
- readonly autofocus: boolean;
242
- readonly tag: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
243
- readonly nativeType: import("element-plus").ButtonType<StringConstructor, "button" | "reset" | "submit", unknown>;
244
- readonly loadingIcon: import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
245
- readonly autoInsertSpace: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
246
- readonly plain: boolean;
247
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
248
- $slots: {
249
- loading?(_: {}): any;
250
- icon?(_: {}): any;
251
- default?(_: {}): any;
252
- };
253
- })> & {
254
- ButtonGroup: {
255
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
256
- readonly size: {
257
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
258
- readonly required: false;
259
- readonly validator: ((val: unknown) => boolean) | undefined;
260
- __epPropKey: true;
261
- };
262
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
263
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
264
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
265
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
266
- P: {};
267
- B: {};
268
- D: {};
269
- C: {};
270
- M: {};
271
- Defaults: {};
272
- }, Readonly<import("vue").ExtractPropTypes<{
273
- readonly size: {
274
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
275
- readonly required: false;
276
- readonly validator: ((val: unknown) => boolean) | undefined;
277
- __epPropKey: true;
278
- };
279
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
280
- }>>, {}, {}, {}, {}, {
281
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
282
- }>;
283
- __isFragment?: undefined;
284
- __isTeleport?: undefined;
285
- __isSuspense?: undefined;
286
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
287
- readonly size: {
288
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
289
- readonly required: false;
290
- readonly validator: ((val: unknown) => boolean) | undefined;
291
- __epPropKey: true;
292
- };
293
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
294
- }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
295
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
296
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
297
- $slots: {
298
- default?(_: {}): any;
299
- };
300
- });
301
- };
302
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
303
- export default _default;
@@ -1 +0,0 @@
1
- export declare function speechToText(url: string, blob: Blob): Promise<string>;
@@ -1,7 +0,0 @@
1
- import type { ReturnVoid } from '@vunk/shared';
2
- export interface SubmitRawEvent {
3
- blob: Blob;
4
- url: string;
5
- }
6
- export type OnTextZone = (e: SubmitRawEvent) => ReturnVoid;
7
- export type SpeechToText = (blob: Blob) => Promise<string>;
@@ -1,4 +0,0 @@
1
- import VkRoutesMenuContent from './src/index.vue';
2
- export * as __VkRoutesMenuContent from './src/types';
3
- export { VkRoutesMenuContent, };
4
- export default VkRoutesMenuContent;
@@ -1,17 +0,0 @@
1
- import { PropType } from 'vue';
2
- import type { RouteRecordRaw } from 'vue-router';
3
- export declare const props: {
4
- data: {
5
- type: PropType<RouteRecordRaw[]>;
6
- default: () => never[];
7
- };
8
- popperClass: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- basePath: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- };
17
- export declare const emits: {};