@vunk/plus 1.7.5 → 1.8.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 (120) hide show
  1. package/components/scrollbar/index.mjs +595 -0
  2. package/package.json +5 -1
  3. package/components/agent-chat-provider/index.d.ts +0 -8
  4. package/components/agent-chat-provider/src/MessageView.d.ts +0 -29
  5. package/components/agent-chat-provider/src/api.d.ts +0 -3
  6. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  7. package/components/agent-chat-provider/src/const.d.ts +0 -1
  8. package/components/agent-chat-provider/src/index.vue.d.ts +0 -22
  9. package/components/agent-chat-provider/src/types.d.ts +0 -56
  10. package/components/agent-chat-provider/src/use.d.ts +0 -6
  11. package/components/avatar/index.d.ts +0 -4
  12. package/components/avatar/src/ctx.d.ts +0 -6
  13. package/components/avatar/src/index.vue.d.ts +0 -261
  14. package/components/avatar/src/types.d.ts +0 -1
  15. package/components/broadcasting-markdown/index.d.ts +0 -7
  16. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  17. package/components/broadcasting-markdown/src/ctx.d.ts +0 -126
  18. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -58
  19. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -373
  20. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  21. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  22. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  23. package/components/broadcasting-markdown/src/use.d.ts +0 -19
  24. package/components/bubble-list/index.d.ts +0 -5
  25. package/components/bubble-list/src/ctx.d.ts +0 -28
  26. package/components/bubble-list/src/index.vue.d.ts +0 -484
  27. package/components/bubble-list/src/types.d.ts +0 -4
  28. package/components/bubble-templates/index.d.ts +0 -5
  29. package/components/bubble-templates/src/core.d.ts +0 -69
  30. package/components/bubble-templates/src/index.vue.d.ts +0 -242
  31. package/components/bubble-templates/src/legacy.vue.d.ts +0 -153
  32. package/components/bubble-templates/src/types.d.ts +0 -45
  33. package/components/chat-independent/index.d.ts +0 -4
  34. package/components/chat-independent/src/const.d.ts +0 -13
  35. package/components/chat-independent/src/ctx.d.ts +0 -21
  36. package/components/chat-independent/src/index.vue.d.ts +0 -2407
  37. package/components/chat-independent/src/types.d.ts +0 -13
  38. package/components/index.d.ts +0 -0
  39. package/components/lottie-animation/index.d.ts +0 -4
  40. package/components/lottie-animation/src/ctx.d.ts +0 -10
  41. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  42. package/components/lottie-animation/src/types.d.ts +0 -4
  43. package/components/metahuman-broadcasting/index.d.ts +0 -5
  44. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  45. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -826
  46. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  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/pixi-frame/index.d.ts +0 -11
  56. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  57. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
  58. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  59. package/components/pixi-frame/src/ctx.d.ts +0 -55
  60. package/components/pixi-frame/src/index.vue.d.ts +0 -591
  61. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  62. package/components/pixi-frame/src/types.d.ts +0 -17
  63. package/components/pixi-frame/src/use.d.ts +0 -16
  64. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  65. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  66. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  67. package/components/recorder-button/index.d.ts +0 -4
  68. package/components/recorder-button/src/ctx.d.ts +0 -41
  69. package/components/recorder-button/src/index.vue.d.ts +0 -489
  70. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  71. package/components/recorder-button/src/types.d.ts +0 -7
  72. package/components/routes-menu-content/index.d.ts +0 -4
  73. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  74. package/components/routes-menu-content/src/index.vue.d.ts +0 -573
  75. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  76. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -408
  77. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  78. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -539
  79. package/components/routes-menu-content/src/types.d.ts +0 -1
  80. package/components/sender/index.d.ts +0 -4
  81. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  82. package/components/sender/src/ctx.d.ts +0 -64
  83. package/components/sender/src/index.vue.d.ts +0 -765
  84. package/components/sender/src/types.d.ts +0 -1
  85. package/components/speech-button/index.d.ts +0 -4
  86. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  87. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  88. package/components/speech-button/src/ctx.d.ts +0 -10
  89. package/components/speech-button/src/index.vue.d.ts +0 -22
  90. package/components/speech-button/src/types.d.ts +0 -1
  91. package/components/table-columns/index.d.ts +0 -5
  92. package/components/table-columns/src/ctx.d.ts +0 -59
  93. package/components/table-columns/src/el-ctx.d.ts +0 -57
  94. package/components/table-columns/src/index.vue.d.ts +0 -132
  95. package/components/table-columns/src/types.d.ts +0 -21
  96. package/components/tables-v1/index.d.ts +0 -5
  97. package/components/tables-v1/src/ctx.d.ts +0 -337
  98. package/components/tables-v1/src/el-ctx.d.ts +0 -262
  99. package/components/tables-v1/src/index.vue.d.ts +0 -3085
  100. package/components/tables-v1/src/types.d.ts +0 -3
  101. package/components/tables-v1-checkbox/index.d.ts +0 -5
  102. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -370
  103. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3972
  104. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  105. package/components/text/index.d.ts +0 -4
  106. package/components/text/src/ctx.d.ts +0 -356
  107. package/components/text/src/index.vue.d.ts +0 -2335
  108. package/components/text/src/types.d.ts +0 -1
  109. package/components/typing-markdown/index.d.ts +0 -4
  110. package/components/typing-markdown/src/core.d.ts +0 -2
  111. package/components/typing-markdown/src/ctx.d.ts +0 -41
  112. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  113. package/components/typing-markdown/src/types.d.ts +0 -1
  114. package/components/vditor/index.d.ts +0 -5
  115. package/components/vditor/src/ctx.d.ts +0 -38
  116. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  117. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  118. package/components/vditor/src/index.vue.d.ts +0 -143
  119. package/components/vditor/src/types.d.ts +0 -9
  120. package/components/vditor/src/use.d.ts +0 -4
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import VkTypingMarkdown from './src/index.vue';
2
- export * as __VkTypingMarkdown from './src/types';
3
- export { VkTypingMarkdown, };
4
- export default VkTypingMarkdown;
@@ -1,2 +0,0 @@
1
- export declare function createMarkdownIt(): Promise<import("markdown-it-async").MarkdownItAsync>;
2
- export declare const markdownItPromise: Promise<import("markdown-it-async").MarkdownItAsync>;
@@ -1,41 +0,0 @@
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
- };
@@ -1,75 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
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;
@@ -1,38 +0,0 @@
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<"defaultOptions", keyof T2> | Extract<"toolbar", 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<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"toolbar", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"fullscreen", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"toolbar", 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]; };
@@ -1,18 +0,0 @@
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;
@@ -1,18 +0,0 @@
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;
@@ -1,143 +0,0 @@
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
- defaultOptions: IOptions;
63
- toolbar: string[];
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;
@@ -1,9 +0,0 @@
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 {};
@@ -1,4 +0,0 @@
1
- import Vditor from 'vditor';
2
- import { Mitter } from './types';
3
- export declare const useVditor: () => Vditor;
4
- export declare const useVditorMitter: () => Mitter;