@vunk/plus 1.4.7 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/components/WebGLRenderer.mjs +1 -0
  2. package/components/WebGPURenderer.mjs +1 -0
  3. package/components/broadcasting-markdown/index.mjs +60 -12
  4. package/components/browserAll.mjs +1 -0
  5. package/components/index2.mjs +1498 -62
  6. package/components/pixi-frame/index.mjs +2 -1
  7. package/components/text/index.mjs +106 -0
  8. package/components/typing-markdown/index.css +19 -0
  9. package/components/typing-markdown/index.mjs +17 -4
  10. package/components/webworkerAll.mjs +1 -0
  11. package/index.css +19 -0
  12. package/package.json +5 -1
  13. package/components/agent-chat-provider/index.d.ts +0 -7
  14. package/components/agent-chat-provider/src/api.d.ts +0 -3
  15. package/components/agent-chat-provider/src/const-roles.d.ts +0 -8
  16. package/components/agent-chat-provider/src/const.d.ts +0 -1
  17. package/components/agent-chat-provider/src/index.vue.d.ts +0 -47
  18. package/components/agent-chat-provider/src/types.d.ts +0 -43
  19. package/components/agent-chat-provider/src/use.d.ts +0 -29
  20. package/components/avatar/index.d.ts +0 -4
  21. package/components/avatar/src/ctx.d.ts +0 -18
  22. package/components/avatar/src/index.vue.d.ts +0 -121
  23. package/components/avatar/src/types.d.ts +0 -1
  24. package/components/broadcasting-markdown/index.d.ts +0 -7
  25. package/components/broadcasting-markdown/src/const.d.ts +0 -13
  26. package/components/broadcasting-markdown/src/ctx.d.ts +0 -115
  27. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +0 -97
  28. package/components/broadcasting-markdown/src/index.vue.d.ts +0 -383
  29. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +0 -79
  30. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +0 -60
  31. package/components/broadcasting-markdown/src/types.d.ts +0 -25
  32. package/components/broadcasting-markdown/src/use.d.ts +0 -21
  33. package/components/bubble-list/index.d.ts +0 -5
  34. package/components/bubble-list/src/ctx.d.ts +0 -30
  35. package/components/bubble-list/src/index.vue.d.ts +0 -867
  36. package/components/bubble-list/src/types.d.ts +0 -4
  37. package/components/bubble-templates/index.d.ts +0 -4
  38. package/components/bubble-templates/src/index.vue.d.ts +0 -539
  39. package/components/bubble-templates/src/types.d.ts +0 -40
  40. package/components/chat-independent/index.d.ts +0 -4
  41. package/components/chat-independent/src/const.d.ts +0 -13
  42. package/components/chat-independent/src/ctx.d.ts +0 -20
  43. package/components/chat-independent/src/index.vue.d.ts +0 -2345
  44. package/components/chat-independent/src/types.d.ts +0 -13
  45. package/components/index.d.ts +0 -0
  46. package/components/lottie-animation/index.d.ts +0 -4
  47. package/components/lottie-animation/src/ctx.d.ts +0 -10
  48. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  49. package/components/lottie-animation/src/types.d.ts +0 -4
  50. package/components/monaco-editor/index.d.ts +0 -5
  51. package/components/monaco-editor/src/ctx.d.ts +0 -23
  52. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  53. package/components/monaco-editor/src/types.d.ts +0 -1
  54. package/components/monaco-environment/index.d.ts +0 -4
  55. package/components/monaco-environment/src/ctx.d.ts +0 -8
  56. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  57. package/components/monaco-environment/src/types.d.ts +0 -1
  58. package/components/pixi-frame/index.d.ts +0 -8
  59. package/components/pixi-frame/src/core.vue.d.ts +0 -131
  60. package/components/pixi-frame/src/ctx.d.ts +0 -44
  61. package/components/pixi-frame/src/index.vue.d.ts +0 -230
  62. package/components/pixi-frame/src/provider.vue.d.ts +0 -2
  63. package/components/pixi-frame/src/types.d.ts +0 -1
  64. package/components/pixi-frame/src/use.d.ts +0 -16
  65. package/components/pixi-frame/src/view.vue.d.ts +0 -29
  66. package/components/recorder-button/index.d.ts +0 -4
  67. package/components/recorder-button/src/ctx.d.ts +0 -41
  68. package/components/recorder-button/src/index.vue.d.ts +0 -300
  69. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  70. package/components/recorder-button/src/types.d.ts +0 -7
  71. package/components/routes-menu-content/index.d.ts +0 -4
  72. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  73. package/components/routes-menu-content/src/index.vue.d.ts +0 -472
  74. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  75. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -307
  76. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  77. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -438
  78. package/components/routes-menu-content/src/types.d.ts +0 -1
  79. package/components/sender/index.d.ts +0 -4
  80. package/components/sender/src/SenderHeader.vue.d.ts +0 -256
  81. package/components/sender/src/ctx.d.ts +0 -62
  82. package/components/sender/src/index.vue.d.ts +0 -787
  83. package/components/sender/src/types.d.ts +0 -1
  84. package/components/speech-button/index.d.ts +0 -4
  85. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  86. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  87. package/components/speech-button/src/ctx.d.ts +0 -10
  88. package/components/speech-button/src/index.vue.d.ts +0 -22
  89. package/components/speech-button/src/types.d.ts +0 -1
  90. package/components/table-columns/index.d.ts +0 -5
  91. package/components/table-columns/src/ctx.d.ts +0 -66
  92. package/components/table-columns/src/el-ctx.d.ts +0 -63
  93. package/components/table-columns/src/index.vue.d.ts +0 -282
  94. package/components/table-columns/src/types.d.ts +0 -21
  95. package/components/tables-v1/index.d.ts +0 -5
  96. package/components/tables-v1/src/ctx.d.ts +0 -288
  97. package/components/tables-v1/src/el-ctx.d.ts +0 -269
  98. package/components/tables-v1/src/index.vue.d.ts +0 -3106
  99. package/components/tables-v1/src/types.d.ts +0 -3
  100. package/components/tables-v1-checkbox/index.d.ts +0 -5
  101. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -325
  102. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3898
  103. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  104. package/components/typing-markdown/index.d.ts +0 -4
  105. package/components/typing-markdown/src/core.d.ts +0 -2
  106. package/components/typing-markdown/src/ctx.d.ts +0 -33
  107. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  108. package/components/typing-markdown/src/types.d.ts +0 -1
  109. package/components/vditor/index.d.ts +0 -5
  110. package/components/vditor/src/ctx.d.ts +0 -37
  111. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  112. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  113. package/components/vditor/src/index.vue.d.ts +0 -144
  114. package/components/vditor/src/types.d.ts +0 -9
  115. package/components/vditor/src/use.d.ts +0 -4
@@ -1 +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,33 +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
- };
31
- export declare const emits: {
32
- typing: null;
33
- };
@@ -1,57 +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
- }>, {
23
- htmlText: import("vue").Ref<string, string>;
24
- isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- typing: null;
27
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
- source: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- delay: {
33
- type: NumberConstructor;
34
- default: number;
35
- };
36
- pause: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- disabled: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- markdownItSetup: {
45
- type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
46
- default: null;
47
- };
48
- }>> & Readonly<{
49
- onTyping?: ((...args: any[]) => any) | undefined;
50
- }>, {
51
- source: string;
52
- delay: number;
53
- pause: boolean;
54
- disabled: boolean;
55
- markdownItSetup: (md: import("markdown-it-async").MarkdownItAsync) => void;
56
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
- 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<"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]; }>;
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
- defaultOptions: IOptions;
64
- toolbar: string[];
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;