@vunk/plus 1.7.1 → 1.7.3

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 (123) hide show
  1. package/components/agent-chat-provider/index.d.ts +8 -0
  2. package/components/agent-chat-provider/src/MessageView.d.ts +29 -0
  3. package/components/agent-chat-provider/src/api.d.ts +3 -0
  4. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  5. package/components/agent-chat-provider/src/const.d.ts +1 -0
  6. package/components/agent-chat-provider/src/index.vue.d.ts +22 -0
  7. package/components/agent-chat-provider/src/types.d.ts +56 -0
  8. package/components/agent-chat-provider/src/use.d.ts +6 -0
  9. package/components/avatar/index.d.ts +4 -0
  10. package/components/avatar/src/ctx.d.ts +6 -0
  11. package/components/avatar/src/index.vue.d.ts +261 -0
  12. package/components/avatar/src/types.d.ts +1 -0
  13. package/components/broadcasting-markdown/index.d.ts +7 -0
  14. package/components/broadcasting-markdown/src/const.d.ts +13 -0
  15. package/components/broadcasting-markdown/src/ctx.d.ts +129 -0
  16. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +97 -0
  17. package/components/broadcasting-markdown/src/index.vue.d.ts +432 -0
  18. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +79 -0
  19. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  20. package/components/broadcasting-markdown/src/types.d.ts +26 -0
  21. package/components/broadcasting-markdown/src/use.d.ts +21 -0
  22. package/components/bubble-list/index.d.ts +5 -0
  23. package/components/bubble-list/src/ctx.d.ts +28 -0
  24. package/components/bubble-list/src/index.vue.d.ts +484 -0
  25. package/components/bubble-list/src/types.d.ts +4 -0
  26. package/components/bubble-templates/index.d.ts +5 -0
  27. package/components/bubble-templates/src/core.d.ts +69 -0
  28. package/components/bubble-templates/src/index.vue.d.ts +242 -0
  29. package/components/bubble-templates/src/legacy.vue.d.ts +153 -0
  30. package/components/bubble-templates/src/types.d.ts +45 -0
  31. package/components/chat-independent/index.d.ts +4 -0
  32. package/components/chat-independent/src/const.d.ts +13 -0
  33. package/components/chat-independent/src/ctx.d.ts +21 -0
  34. package/components/chat-independent/src/index.vue.d.ts +2407 -0
  35. package/components/chat-independent/src/types.d.ts +13 -0
  36. package/components/index.d.ts +0 -0
  37. package/components/lottie-animation/index.d.ts +4 -0
  38. package/components/lottie-animation/src/ctx.d.ts +10 -0
  39. package/components/lottie-animation/src/index.vue.d.ts +21 -0
  40. package/components/lottie-animation/src/types.d.ts +4 -0
  41. package/components/metahuman-broadcasting/index.d.ts +5 -0
  42. package/components/metahuman-broadcasting/src/ctx.d.ts +57 -0
  43. package/components/metahuman-broadcasting/src/index.vue.d.ts +878 -0
  44. package/components/metahuman-broadcasting/src/types.d.ts +1 -0
  45. package/components/monaco-editor/index.d.ts +5 -0
  46. package/components/monaco-editor/src/ctx.d.ts +23 -0
  47. package/components/monaco-editor/src/index.vue.d.ts +40 -0
  48. package/components/monaco-editor/src/types.d.ts +1 -0
  49. package/components/monaco-environment/index.d.ts +4 -0
  50. package/components/monaco-environment/src/ctx.d.ts +8 -0
  51. package/components/monaco-environment/src/index.vue.d.ts +2 -0
  52. package/components/monaco-environment/src/types.d.ts +1 -0
  53. package/components/pixi-frame/index.d.ts +11 -0
  54. package/components/pixi-frame/src/apng.vue.d.ts +161 -0
  55. package/components/pixi-frame/src/bitmap.vue.d.ts +158 -0
  56. package/components/pixi-frame/src/core.vue.d.ts +173 -0
  57. package/components/pixi-frame/src/ctx.d.ts +55 -0
  58. package/components/pixi-frame/src/index.vue.d.ts +591 -0
  59. package/components/pixi-frame/src/provider.vue.d.ts +2 -0
  60. package/components/pixi-frame/src/types.d.ts +17 -0
  61. package/components/pixi-frame/src/use.d.ts +16 -0
  62. package/components/pixi-frame/src/useSprite.d.ts +12 -0
  63. package/components/pixi-frame/src/video.vue.d.ts +159 -0
  64. package/components/pixi-frame/src/view.vue.d.ts +29 -0
  65. package/components/recorder-button/index.d.ts +4 -0
  66. package/components/recorder-button/src/ctx.d.ts +41 -0
  67. package/components/recorder-button/src/index.vue.d.ts +489 -0
  68. package/components/recorder-button/src/speech-to-text.d.ts +1 -0
  69. package/components/recorder-button/src/types.d.ts +7 -0
  70. package/components/routes-menu-content/index.d.ts +4 -0
  71. package/components/routes-menu-content/src/ctx.d.ts +17 -0
  72. package/components/routes-menu-content/src/index.vue.d.ts +573 -0
  73. package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
  74. package/components/routes-menu-content/src/item/core/index.vue.d.ts +408 -0
  75. package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
  76. package/components/routes-menu-content/src/item/index.vue.d.ts +539 -0
  77. package/components/routes-menu-content/src/types.d.ts +1 -0
  78. package/components/sender/index.d.ts +4 -0
  79. package/components/sender/src/SenderHeader.vue.d.ts +256 -0
  80. package/components/sender/src/ctx.d.ts +64 -0
  81. package/components/sender/src/index.vue.d.ts +765 -0
  82. package/components/sender/src/types.d.ts +1 -0
  83. package/components/speech-button/index.d.ts +4 -0
  84. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
  85. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
  86. package/components/speech-button/src/ctx.d.ts +10 -0
  87. package/components/speech-button/src/index.vue.d.ts +22 -0
  88. package/components/speech-button/src/types.d.ts +1 -0
  89. package/components/table-columns/index.d.ts +5 -0
  90. package/components/table-columns/index.mjs +3 -3
  91. package/components/table-columns/src/ctx.d.ts +59 -0
  92. package/components/table-columns/src/el-ctx.d.ts +57 -0
  93. package/components/table-columns/src/index.vue.d.ts +132 -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/index.mjs +42 -48
  97. package/components/tables-v1/src/ctx.d.ts +337 -0
  98. package/components/tables-v1/src/el-ctx.d.ts +262 -0
  99. package/components/tables-v1/src/index.vue.d.ts +3085 -0
  100. package/components/tables-v1/src/types.d.ts +3 -0
  101. package/components/tables-v1-checkbox/index.d.ts +5 -0
  102. package/components/tables-v1-checkbox/src/ctx.d.ts +370 -0
  103. package/components/tables-v1-checkbox/src/index.vue.d.ts +3972 -0
  104. package/components/tables-v1-checkbox/src/types.d.ts +1 -0
  105. package/components/text/index.d.ts +4 -0
  106. package/components/text/src/ctx.d.ts +356 -0
  107. package/components/text/src/index.vue.d.ts +2335 -0
  108. package/components/text/src/types.d.ts +1 -0
  109. package/components/typing-markdown/index.d.ts +4 -0
  110. package/components/typing-markdown/src/core.d.ts +2 -0
  111. package/components/typing-markdown/src/ctx.d.ts +41 -0
  112. package/components/typing-markdown/src/index.vue.d.ts +75 -0
  113. package/components/typing-markdown/src/types.d.ts +1 -0
  114. package/components/vditor/index.d.ts +5 -0
  115. package/components/vditor/src/ctx.d.ts +38 -0
  116. package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
  117. package/components/vditor/src/handle-value.vue.d.ts +18 -0
  118. package/components/vditor/src/index.vue.d.ts +143 -0
  119. package/components/vditor/src/types.d.ts +9 -0
  120. package/components/vditor/src/use.d.ts +4 -0
  121. package/composables/el-breakpoints/index.d.ts +1 -1
  122. package/composables/el-breakpoints/index.mjs +2 -2
  123. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import VkTypingMarkdown from './src/index.vue';
2
+ export * as __VkTypingMarkdown from './src/types';
3
+ export { VkTypingMarkdown, };
4
+ export default VkTypingMarkdown;
@@ -0,0 +1,2 @@
1
+ export declare function createMarkdownIt(): Promise<import("markdown-it-async").MarkdownItAsync>;
2
+ export declare const markdownItPromise: Promise<import("markdown-it-async").MarkdownItAsync>;
@@ -0,0 +1,41 @@
1
+ import type { MarkdownItAsync } from 'markdown-it-async';
2
+ import type { PropType } from 'vue';
3
+ export declare const props: {
4
+ source: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ delay: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ pause: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ /**
17
+ * 禁用typing
18
+ */
19
+ disabled: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /**
24
+ * @description markdown-it 配置
25
+ */
26
+ markdownItSetup: {
27
+ type: PropType<(md: MarkdownItAsync) => void>;
28
+ default: null;
29
+ };
30
+ finished: {
31
+ type: BooleanConstructor;
32
+ };
33
+ loading: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ };
38
+ export declare const emits: {
39
+ typing: null;
40
+ 'update:finished': null;
41
+ };
@@ -0,0 +1,75 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ source: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ delay: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ pause: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ disabled: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ markdownItSetup: {
19
+ type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
20
+ default: null;
21
+ };
22
+ finished: {
23
+ type: BooleanConstructor;
24
+ };
25
+ loading: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>, {
30
+ htmlText: import("vue").Ref<string, string>;
31
+ isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
32
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ typing: null;
34
+ 'update:finished': null;
35
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ source: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ delay: {
41
+ type: NumberConstructor;
42
+ default: number;
43
+ };
44
+ pause: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ markdownItSetup: {
53
+ type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
54
+ default: null;
55
+ };
56
+ finished: {
57
+ type: BooleanConstructor;
58
+ };
59
+ loading: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & Readonly<{
64
+ onTyping?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:finished"?: ((...args: any[]) => any) | undefined;
66
+ }>, {
67
+ source: string;
68
+ delay: number;
69
+ pause: boolean;
70
+ disabled: boolean;
71
+ markdownItSetup: (md: import("markdown-it-async").MarkdownItAsync) => void;
72
+ finished: boolean;
73
+ loading: boolean;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import VkVditor from './src/index.vue';
2
+ export * as __VkVditor from './src/types';
3
+ export * as _VkVditorCtx from './src/ctx';
4
+ export { VkVditor, };
5
+ export default VkVditor;
@@ -0,0 +1,38 @@
1
+ import { PropType } from 'vue';
2
+ import { DefaultOptions } from './types';
3
+ import Vditor from 'vditor';
4
+ export declare const props: {
5
+ modelValue: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ defaultOptions: {
10
+ type: PropType<DefaultOptions>;
11
+ default: () => DefaultOptions;
12
+ };
13
+ placeholder: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ toolbar: {
18
+ type: PropType<string[]>;
19
+ default: () => string[];
20
+ };
21
+ fullscreen: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ };
26
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"toolbar", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: T2[k]; }[P]; }>;
27
+ export declare const emits: {
28
+ load: (e: Vditor) => Vditor;
29
+ 'update:modelValue': (e: string) => string;
30
+ ctrlEnter: (e: string) => string;
31
+ 'update:fullscreen': (e: boolean) => boolean;
32
+ };
33
+ export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue" | "ctrlEnter" | "update:fullscreen")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> | Exclude<"ctrlEnter", KE> | Exclude<"update:fullscreen", KE> : "load" | "update:modelValue" | "ctrlEnter" | "update:fullscreen"]: {
34
+ load: (...e: import("@vunk/core").RestParameters<T2>) => void;
35
+ 'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
36
+ ctrlEnter: (...e: import("@vunk/core").RestParameters<T2>) => void;
37
+ 'update:fullscreen': (...e: import("@vunk/core").RestParameters<T2>) => void;
38
+ }[P]; };
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ fullscreen: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ 'update:fullscreen': null;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ fullscreen: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }>> & Readonly<{
14
+ "onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ fullscreen: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ 'update:modelValue': null;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>> & Readonly<{
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ }>, {
16
+ modelValue: string;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,143 @@
1
+ import Vditor from 'vditor';
2
+ import { Ref } from 'vue';
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<import("./types").DefaultOptions>;
10
+ default: () => import("./types").DefaultOptions;
11
+ };
12
+ placeholder: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ toolbar: {
17
+ type: import("vue").PropType<string[]>;
18
+ default: () => string[];
19
+ };
20
+ fullscreen: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ }>, {
25
+ vditorNode: Ref<HTMLDivElement, HTMLDivElement>;
26
+ isTextareaFocus: Ref<boolean, boolean>;
27
+ ready: Ref<boolean, boolean>;
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ load: (e: Vditor) => Vditor;
30
+ 'update:modelValue': (e: string) => string;
31
+ ctrlEnter: (e: string) => string;
32
+ 'update:fullscreen': (e: boolean) => boolean;
33
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ modelValue: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ defaultOptions: {
39
+ type: import("vue").PropType<import("./types").DefaultOptions>;
40
+ default: () => import("./types").DefaultOptions;
41
+ };
42
+ placeholder: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ toolbar: {
47
+ type: import("vue").PropType<string[]>;
48
+ default: () => string[];
49
+ };
50
+ fullscreen: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ }>> & Readonly<{
55
+ onLoad?: ((e: Vditor) => any) | undefined;
56
+ "onUpdate:modelValue"?: ((e: string) => any) | undefined;
57
+ onCtrlEnter?: ((e: string) => any) | undefined;
58
+ "onUpdate:fullscreen"?: ((e: boolean) => any) | undefined;
59
+ }>, {
60
+ modelValue: string;
61
+ placeholder: string;
62
+ toolbar: string[];
63
+ defaultOptions: IOptions;
64
+ fullscreen: boolean;
65
+ }, {}, {
66
+ HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
67
+ modelValue: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
+ 'update:modelValue': null;
73
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
+ modelValue: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ }>> & Readonly<{
79
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ }>, {
81
+ modelValue: string;
82
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
84
+ fullscreen: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
89
+ 'update:fullscreen': null;
90
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
+ fullscreen: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ }>> & Readonly<{
96
+ "onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
97
+ }>, {
98
+ fullscreen: boolean;
99
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
+ VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
101
+ to: {
102
+ type: import("vue").PropType<string | import("vue").RendererElement>;
103
+ default: any;
104
+ };
105
+ sleep: {
106
+ type: NumberConstructor;
107
+ default: number;
108
+ };
109
+ await: {
110
+ type: PromiseConstructor;
111
+ default: any;
112
+ };
113
+ teleport: {
114
+ type: BooleanConstructor;
115
+ default: boolean;
116
+ };
117
+ }>, {
118
+ ready: import("vue").Ref<boolean, boolean>;
119
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
120
+ to: {
121
+ type: import("vue").PropType<string | import("vue").RendererElement>;
122
+ default: any;
123
+ };
124
+ sleep: {
125
+ type: NumberConstructor;
126
+ default: number;
127
+ };
128
+ await: {
129
+ type: PromiseConstructor;
130
+ default: any;
131
+ };
132
+ teleport: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ }>> & Readonly<{}>, {
137
+ to: string | import("vue").RendererElement;
138
+ sleep: number;
139
+ await: Promise<unknown>;
140
+ teleport: boolean;
141
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
142
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
143
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { NonVoidable } from '@vunk/core';
2
+ import Vditor from 'vditor';
3
+ import { Emitter } from 'mitt';
4
+ export type DefaultOptions = NonVoidable<ConstructorParameters<typeof Vditor>[1]>;
5
+ export type Toolbar = DefaultOptions['toolbar'];
6
+ export type Mitter = Emitter<{
7
+ input: string;
8
+ }>;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ import Vditor from 'vditor';
2
+ import { Mitter } from './types';
3
+ export declare const useVditor: () => Vditor;
4
+ export declare const useVditorMitter: () => Mitter;
@@ -1,4 +1,4 @@
1
- export declare const useElBreakpoints: () => {
1
+ export declare function useElBreakpoints(): {
2
2
  breakpoints: Record<"sm" | "md" | "lg" | "xl", import("vue").Ref<boolean, boolean>> & {
3
3
  greaterOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl">) => import("vue").Ref<boolean>;
4
4
  smallerOrEqual: (k: import("@vueuse/shared").MaybeRefOrGetter<"sm" | "md" | "lg" | "xl">) => import("vue").Ref<boolean>;
@@ -1,6 +1,6 @@
1
1
  import { useBreakpoints } from '@vueuse/core';
2
2
 
3
- const useElBreakpoints = () => {
3
+ function useElBreakpoints() {
4
4
  const breakpoints = useBreakpoints({
5
5
  sm: 768,
6
6
  md: 992,
@@ -14,6 +14,6 @@ const useElBreakpoints = () => {
14
14
  isMobile,
15
15
  isDesktop
16
16
  };
17
- };
17
+ }
18
18
 
19
19
  export { useElBreakpoints };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/plus",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC",