@vunk/plus 1.6.6 → 1.6.7

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 (117) hide show
  1. package/components/bubble-list/index.mjs +4 -1
  2. package/package.json +1 -1
  3. package/components/agent-chat-provider/index.d.ts +0 -7
  4. package/components/agent-chat-provider/src/api.d.ts +0 -3
  5. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  6. package/components/agent-chat-provider/src/const.d.ts +0 -1
  7. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  8. package/components/agent-chat-provider/src/types.d.ts +0 -43
  9. package/components/agent-chat-provider/src/use.d.ts +0 -29
  10. package/components/avatar/index.d.ts +0 -4
  11. package/components/avatar/src/ctx.d.ts +0 -18
  12. package/components/avatar/src/index.vue.d.ts +0 -121
  13. package/components/avatar/src/types.d.ts +0 -1
  14. package/components/broadcasting-markdown/index.d.ts +0 -7
  15. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  16. package/components/broadcasting-markdown/src/ctx.d.ts +0 -125
  17. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  18. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -424
  19. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  20. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  21. package/components/broadcasting-markdown/src/types.d.ts +0 -26
  22. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  23. package/components/bubble-list/index.d.ts +0 -5
  24. package/components/bubble-list/src/ctx.d.ts +0 -30
  25. package/components/bubble-list/src/index.vue.d.ts +0 -848
  26. package/components/bubble-list/src/types.d.ts +0 -4
  27. package/components/bubble-templates/index.d.ts +0 -4
  28. package/components/bubble-templates/src/index.vue.d.ts +0 -579
  29. package/components/bubble-templates/src/types.d.ts +0 -40
  30. package/components/chat-independent/index.d.ts +0 -4
  31. package/components/chat-independent/src/const.d.ts +0 -13
  32. package/components/chat-independent/src/ctx.d.ts +0 -20
  33. package/components/chat-independent/src/index.vue.d.ts +0 -2326
  34. package/components/chat-independent/src/types.d.ts +0 -13
  35. package/components/index.d.ts +0 -0
  36. package/components/lottie-animation/index.d.ts +0 -4
  37. package/components/lottie-animation/src/ctx.d.ts +0 -10
  38. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  39. package/components/lottie-animation/src/types.d.ts +0 -4
  40. package/components/metahuman-broadcasting/index.d.ts +0 -5
  41. package/components/metahuman-broadcasting/src/ctx.d.ts +0 -57
  42. package/components/metahuman-broadcasting/src/index.vue.d.ts +0 -870
  43. package/components/metahuman-broadcasting/src/types.d.ts +0 -1
  44. package/components/monaco-editor/index.d.ts +0 -5
  45. package/components/monaco-editor/src/ctx.d.ts +0 -23
  46. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  47. package/components/monaco-editor/src/types.d.ts +0 -1
  48. package/components/monaco-environment/index.d.ts +0 -4
  49. package/components/monaco-environment/src/ctx.d.ts +0 -8
  50. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  51. package/components/monaco-environment/src/types.d.ts +0 -1
  52. package/components/pixi-frame/index.d.ts +0 -11
  53. package/components/pixi-frame/src/apng.vue.d.ts +0 -161
  54. package/components/pixi-frame/src/bitmap.vue.d.ts +0 -158
  55. package/components/pixi-frame/src/core.vue.d.ts +0 -173
  56. package/components/pixi-frame/src/ctx.d.ts +0 -55
  57. package/components/pixi-frame/src/index.vue.d.ts +0 -591
  58. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  59. package/components/pixi-frame/src/types.d.ts +0 -17
  60. package/components/pixi-frame/src/use.d.ts +0 -16
  61. package/components/pixi-frame/src/useSprite.d.ts +0 -12
  62. package/components/pixi-frame/src/video.vue.d.ts +0 -159
  63. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  64. package/components/recorder-button/index.d.ts +0 -4
  65. package/components/recorder-button/src/ctx.d.ts +0 -41
  66. package/components/recorder-button/src/index.vue.d.ts +0 -300
  67. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  68. package/components/recorder-button/src/types.d.ts +0 -7
  69. package/components/routes-menu-content/index.d.ts +0 -4
  70. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  71. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  72. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  73. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  74. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  75. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  76. package/components/routes-menu-content/src/types.d.ts +0 -1
  77. package/components/sender/index.d.ts +0 -4
  78. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  79. package/components/sender/src/ctx.d.ts +0 -62
  80. package/components/sender/src/index.vue.d.ts +0 -787
  81. package/components/sender/src/types.d.ts +0 -1
  82. package/components/speech-button/index.d.ts +0 -4
  83. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  84. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  85. package/components/speech-button/src/ctx.d.ts +0 -10
  86. package/components/speech-button/src/index.vue.d.ts +0 -22
  87. package/components/speech-button/src/types.d.ts +0 -1
  88. package/components/table-columns/index.d.ts +0 -5
  89. package/components/table-columns/src/ctx.d.ts +0 -66
  90. package/components/table-columns/src/el-ctx.d.ts +0 -63
  91. package/components/table-columns/src/index.vue.d.ts +0 -282
  92. package/components/table-columns/src/types.d.ts +0 -21
  93. package/components/tables-v1/index.d.ts +0 -5
  94. package/components/tables-v1/src/ctx.d.ts +0 -288
  95. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  96. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  97. package/components/tables-v1/src/types.d.ts +0 -3
  98. package/components/tables-v1-checkbox/index.d.ts +0 -5
  99. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  100. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  101. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  102. package/components/text/index.d.ts +0 -4
  103. package/components/text/src/ctx.d.ts +0 -320
  104. package/components/text/src/index.vue.d.ts +0 -2314
  105. package/components/text/src/types.d.ts +0 -1
  106. package/components/typing-markdown/index.d.ts +0 -4
  107. package/components/typing-markdown/src/core.d.ts +0 -2
  108. package/components/typing-markdown/src/ctx.d.ts +0 -41
  109. package/components/typing-markdown/src/index.vue.d.ts +0 -75
  110. package/components/typing-markdown/src/types.d.ts +0 -1
  111. package/components/vditor/index.d.ts +0 -5
  112. package/components/vditor/src/ctx.d.ts +0 -37
  113. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  114. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  115. package/components/vditor/src/index.vue.d.ts +0 -144
  116. package/components/vditor/src/types.d.ts +0 -9
  117. 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,37 +0,0 @@
1
- import { PropType } from 'vue';
2
- import Vditor from 'vditor';
3
- export declare const props: {
4
- modelValue: {
5
- type: StringConstructor;
6
- default: string;
7
- };
8
- defaultOptions: {
9
- type: PropType<IOptions>;
10
- default: () => IOptions;
11
- };
12
- placeholder: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- toolbar: {
17
- type: PropType<string[]>;
18
- default: () => string[];
19
- };
20
- fullscreen: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- };
25
- 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]; }>;
26
- export declare const emits: {
27
- load: (e: Vditor) => Vditor;
28
- 'update:modelValue': (e: string) => string;
29
- ctrlEnter: (e: string) => string;
30
- 'update:fullscreen': (e: boolean) => boolean;
31
- };
32
- export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue" | "update:fullscreen" | "ctrlEnter")[]>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> | Exclude<"update:fullscreen", KE> | Exclude<"ctrlEnter", KE> : "load" | "update:modelValue" | "update:fullscreen" | "ctrlEnter"]: {
33
- load: (...e: import("@vunk/core").RestParameters<T2>) => void;
34
- 'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
35
- ctrlEnter: (...e: import("@vunk/core").RestParameters<T2>) => void;
36
- 'update:fullscreen': (...e: import("@vunk/core").RestParameters<T2>) => void;
37
- }[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,144 +0,0 @@
1
- /// <reference types="./types" />
2
- import Vditor from 'vditor';
3
- import { Ref } from 'vue';
4
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- modelValue: {
6
- type: StringConstructor;
7
- default: string;
8
- };
9
- defaultOptions: {
10
- type: import("vue").PropType<IOptions>;
11
- default: () => IOptions;
12
- };
13
- placeholder: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- toolbar: {
18
- type: import("vue").PropType<string[]>;
19
- default: () => string[];
20
- };
21
- fullscreen: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- }>, {
26
- vditorNode: Ref<HTMLDivElement, HTMLDivElement>;
27
- isTextareaFocus: Ref<boolean, boolean>;
28
- ready: Ref<boolean, boolean>;
29
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- load: (e: Vditor) => Vditor;
31
- 'update:modelValue': (e: string) => string;
32
- ctrlEnter: (e: string) => string;
33
- 'update:fullscreen': (e: boolean) => boolean;
34
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- modelValue: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- defaultOptions: {
40
- type: import("vue").PropType<IOptions>;
41
- default: () => IOptions;
42
- };
43
- placeholder: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- toolbar: {
48
- type: import("vue").PropType<string[]>;
49
- default: () => string[];
50
- };
51
- fullscreen: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- }>> & Readonly<{
56
- onLoad?: ((e: Vditor) => any) | undefined;
57
- "onUpdate:modelValue"?: ((e: string) => any) | undefined;
58
- "onUpdate:fullscreen"?: ((e: boolean) => any) | undefined;
59
- onCtrlEnter?: ((e: string) => any) | undefined;
60
- }>, {
61
- modelValue: string;
62
- placeholder: string;
63
- toolbar: string[];
64
- defaultOptions: IOptions;
65
- fullscreen: boolean;
66
- }, {}, {
67
- HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
68
- modelValue: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
- 'update:modelValue': null;
74
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
75
- modelValue: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- }>> & Readonly<{
80
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
- }>, {
82
- modelValue: string;
83
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
84
- HandleFullscreen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
85
- fullscreen: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
- 'update:fullscreen': null;
91
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
- fullscreen: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- }>> & Readonly<{
97
- "onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
98
- }>, {
99
- fullscreen: boolean;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
- VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
102
- to: {
103
- type: import("vue").PropType<string | import("vue").RendererElement>;
104
- default: any;
105
- };
106
- sleep: {
107
- type: NumberConstructor;
108
- default: number;
109
- };
110
- await: {
111
- type: PromiseConstructor;
112
- default: any;
113
- };
114
- teleport: {
115
- type: BooleanConstructor;
116
- default: boolean;
117
- };
118
- }>, {
119
- ready: Ref<boolean, boolean>;
120
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
121
- to: {
122
- type: import("vue").PropType<string | import("vue").RendererElement>;
123
- default: any;
124
- };
125
- sleep: {
126
- type: NumberConstructor;
127
- default: number;
128
- };
129
- await: {
130
- type: PromiseConstructor;
131
- default: any;
132
- };
133
- teleport: {
134
- type: BooleanConstructor;
135
- default: boolean;
136
- };
137
- }>> & Readonly<{}>, {
138
- to: string | import("vue").RendererElement;
139
- sleep: number;
140
- await: Promise<unknown>;
141
- teleport: boolean;
142
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
143
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
144
- 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;