@vunk/plus 1.12.2 → 1.13.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 (173) hide show
  1. package/components/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  2. package/components/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  3. package/components/agent-chat-provider/index.cjs +1 -0
  4. package/components/agent-chat-provider/index.mjs +113 -187
  5. package/components/agent-chat-provider/src/index.vue.d.ts +3 -2
  6. package/components/avatar/index.cjs +1 -0
  7. package/components/avatar/index.mjs +25 -31
  8. package/components/avatar/src/index.vue.d.ts +40 -39
  9. package/components/broadcasting-markdown/__tests__/const.test.d.ts +1 -0
  10. package/components/broadcasting-markdown/__tests__/utils.test.d.ts +1 -0
  11. package/components/broadcasting-markdown/index.cjs +5 -0
  12. package/components/broadcasting-markdown/index.mjs +346 -4376
  13. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +18 -24
  14. package/components/broadcasting-markdown/src/index.vue.d.ts +101 -51
  15. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +17 -29
  16. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +2 -59
  17. package/components/bubble-list/index.cjs +1 -0
  18. package/components/bubble-list/index.mjs +220 -302
  19. package/components/bubble-list/src/core/index.vue.d.ts +40 -885
  20. package/components/bubble-list/src/core/loading.vue.d.ts +3 -0
  21. package/components/bubble-list/src/index.vue.d.ts +29 -1321
  22. package/components/bubble-templates/index.cjs +1 -0
  23. package/components/bubble-templates/index.mjs +34 -49
  24. package/components/bubble-templates/src/index.vue.d.ts +3 -224
  25. package/components/chat-independent/index.cjs +1 -0
  26. package/components/chat-independent/index.mjs +105 -212
  27. package/components/chat-independent/src/index.vue.d.ts +20 -2712
  28. package/components/components.css +1 -0
  29. package/components/drawer/index.cjs +1 -0
  30. package/components/drawer/index.mjs +53 -94
  31. package/components/drawer/src/ctx.d.ts +22 -22
  32. package/components/drawer/src/index.vue.d.ts +84 -557
  33. package/components/index.cjs +1 -0
  34. package/components/index.d.ts +1 -0
  35. package/components/lottie-animation/index.cjs +1 -0
  36. package/components/lottie-animation/index.mjs +36 -55
  37. package/components/lottie-animation/src/index.vue.d.ts +3 -2
  38. package/components/metahuman-broadcasting/index.cjs +1 -0
  39. package/components/metahuman-broadcasting/index.mjs +89 -140
  40. package/components/metahuman-broadcasting/src/index.vue.d.ts +16 -718
  41. package/components/monaco-editor/index.cjs +1 -0
  42. package/components/monaco-editor/index.mjs +68 -95
  43. package/components/monaco-editor/src/index.vue.d.ts +3 -2
  44. package/components/monaco-environment/index.cjs +1 -0
  45. package/components/monaco-environment/index.mjs +23 -38
  46. package/components/monaco-environment/src/index.vue.d.ts +2 -1
  47. package/components/pixi-frame/index.cjs +1 -0
  48. package/components/pixi-frame/index.mjs +501 -1978
  49. package/components/pixi-frame/src/apng.vue.d.ts +17 -73
  50. package/components/pixi-frame/src/bitmap-generator.vue.d.ts +24 -66
  51. package/components/pixi-frame/src/bitmap.vue.d.ts +28 -80
  52. package/components/pixi-frame/src/buffer-image.vue.d.ts +29 -97
  53. package/components/pixi-frame/src/core.vue.d.ts +20 -75
  54. package/components/pixi-frame/src/index.vue.d.ts +302 -237
  55. package/components/pixi-frame/src/provider.vue.d.ts +12 -1
  56. package/components/pixi-frame/src/video.vue.d.ts +17 -71
  57. package/components/pixi-frame/src/view.vue.d.ts +4 -16
  58. package/components/recorder-button/index.cjs +1 -0
  59. package/components/recorder-button/index.mjs +140 -269
  60. package/components/recorder-button/src/index.vue.d.ts +67 -66
  61. package/components/routes-menu-content/index.cjs +1 -0
  62. package/components/routes-menu-content/index.mjs +150 -229
  63. package/components/routes-menu-content/src/index.vue.d.ts +27 -26
  64. package/components/routes-menu-content/src/item/core/index.vue.d.ts +27 -26
  65. package/components/routes-menu-content/src/item/index.vue.d.ts +27 -26
  66. package/components/scrollbar/index.cjs +1 -0
  67. package/components/scrollbar/index.mjs +288 -567
  68. package/components/scrollbar/src/bar.vue.d.ts +6 -133
  69. package/components/scrollbar/src/index.vue.d.ts +66 -337
  70. package/components/scrollbar/src/thumb.vue.d.ts +3 -80
  71. package/components/sender/index.cjs +1 -0
  72. package/components/sender/index.mjs +156 -285
  73. package/components/sender/src/SenderHeader.vue.d.ts +14 -221
  74. package/components/sender/src/index.vue.d.ts +16 -505
  75. package/components/speech-button/index.cjs +1 -0
  76. package/components/speech-button/index.mjs +98 -144
  77. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -1
  78. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -1
  79. package/components/speech-button/src/index.vue.d.ts +6 -5
  80. package/components/table-columns/index.cjs +1 -0
  81. package/components/table-columns/index.mjs +48 -78
  82. package/components/table-columns/src/ctx.d.ts +10 -10
  83. package/components/table-columns/src/el-ctx.d.ts +1 -1
  84. package/components/table-columns/src/index.vue.d.ts +24 -23
  85. package/components/tables-v1/index.cjs +1 -0
  86. package/components/tables-v1/index.mjs +99 -160
  87. package/components/tables-v1/src/ctx.d.ts +28 -28
  88. package/components/tables-v1/src/el-ctx.d.ts +2 -2
  89. package/components/tables-v1/src/index.vue.d.ts +88 -2243
  90. package/components/tables-v1-checkbox/index.cjs +1 -0
  91. package/components/tables-v1-checkbox/index.mjs +116 -4043
  92. package/components/tables-v1-checkbox/src/ctx.d.ts +26 -26
  93. package/components/tables-v1-checkbox/src/index.vue.d.ts +176 -2330
  94. package/components/text/index.cjs +1 -0
  95. package/components/text/index.mjs +70 -108
  96. package/components/text/src/ctx.d.ts +31 -31
  97. package/components/text/src/index.vue.d.ts +92 -1819
  98. package/components/thinking/index.cjs +1 -0
  99. package/components/thinking/index.mjs +127 -227
  100. package/components/thinking/src/index.vue.d.ts +22 -2044
  101. package/components/typing-markdown/index.cjs +1 -0
  102. package/components/typing-markdown/index.mjs +61 -201
  103. package/components/typing-markdown/src/index.vue.d.ts +3 -2
  104. package/components/vditor/index.cjs +1 -0
  105. package/components/vditor/index.mjs +121 -195
  106. package/components/vditor/src/ctx.d.ts +2 -2
  107. package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -2
  108. package/components/vditor/src/handle-value.vue.d.ts +3 -2
  109. package/components/vditor/src/index.vue.d.ts +5 -4
  110. package/components/xgplayer/index.cjs +1 -0
  111. package/components/xgplayer/index.mjs +49 -90
  112. package/components/xgplayer/src/core.vue.d.ts +13 -18
  113. package/components/xgplayer/src/index.vue.d.ts +13 -67
  114. package/composables/el-breakpoints/index.cjs +1 -0
  115. package/composables/el-breakpoints/index.d.ts +10 -10
  116. package/composables/el-breakpoints/index.mjs +10 -12
  117. package/composables/index.cjs +1 -0
  118. package/composables/index.d.ts +1 -0
  119. package/composables/recorder/index.cjs +1 -0
  120. package/composables/recorder/index.mjs +9172 -14803
  121. package/element/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  122. package/element/bubble/index.cjs +3 -0
  123. package/element/bubble/index.d.ts +1 -1
  124. package/element/bubble/index.mjs +1 -1
  125. package/element/bubble/src/index.vue.d.ts +22 -22
  126. package/element/index.css +1 -1
  127. package/element/thinking/index.cjs +1 -0
  128. package/element/thinking/index.d.ts +1 -1
  129. package/element/thinking/index.mjs +1 -1
  130. package/element/thinking/src/index.vue.d.ts +26 -26
  131. package/element/thinking/src/types.d.ts +10 -0
  132. package/icons/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  133. package/icons/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  134. package/icons/end/index.cjs +1 -0
  135. package/icons/end/index.mjs +21 -26
  136. package/icons/end/src/index.vue.d.ts +3 -0
  137. package/icons/keyboard/index.cjs +1 -0
  138. package/icons/keyboard/index.mjs +21 -26
  139. package/icons/keyboard/src/index.vue.d.ts +3 -0
  140. package/icons/start/index.cjs +1 -0
  141. package/icons/start/index.mjs +21 -26
  142. package/icons/start/src/index.vue.d.ts +3 -0
  143. package/icons/voice/index.cjs +1 -0
  144. package/icons/voice/index.mjs +26 -44
  145. package/icons/voice/src/index.vue.d.ts +2 -3
  146. package/index.css +2 -558
  147. package/index.d.ts +1 -0
  148. package/package.json +78 -87
  149. package/shared/data/index.cjs +1 -0
  150. package/shared/data/index.mjs +16 -22
  151. package/shared/types/index.cjs +1 -0
  152. package/shared/types/index.d.ts +1 -0
  153. package/components/LinkOutlined.mjs +0 -1321
  154. package/components/_commonjsHelpers.mjs +0 -7
  155. package/components/_plugin-vue_export-helper.mjs +0 -9
  156. package/components/bubble-list/index.css +0 -70
  157. package/components/bubble-templates/index.css +0 -4
  158. package/components/chat-independent/index.css +0 -47
  159. package/components/drawer/index.css +0 -124
  160. package/components/index2.mjs +0 -78
  161. package/components/lottie-animation/index.css +0 -4
  162. package/components/monaco-editor/index.css +0 -4
  163. package/components/pixi-frame/index.css +0 -4
  164. package/components/recorder-button/index.css +0 -69
  165. package/components/sender/index.css +0 -22
  166. package/components/speech-button/index.css +0 -10
  167. package/components/tables-v1/index.css +0 -7
  168. package/components/tables-v1-checkbox/index.css +0 -8
  169. package/components/thinking/index.css +0 -125
  170. package/components/typing-markdown/index.css +0 -31
  171. package/components/vditor/index.css +0 -12
  172. package/components/xgplayer/index.css +0 -1
  173. package/icons/_plugin-vue_export-helper.mjs +0 -9
@@ -1,6 +1,10 @@
1
1
  import type { AnyFunc } from '@vunk/shared';
2
2
  import type { PropType } from 'vue';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare var __VLS_22: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_22) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
8
  modelValue: {
5
9
  type: BooleanConstructor;
6
10
  default: boolean;
@@ -13,226 +17,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
17
  type: PropType<AnyFunc>;
14
18
  default: AnyFunc;
15
19
  };
16
- }>, {
17
- readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
18
- readonly AntButton: {
19
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
20
- prefixCls: StringConstructor;
21
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
22
- htmlType: {
23
- type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
24
- default: string;
25
- };
26
- shape: {
27
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
28
- };
29
- size: {
30
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
31
- };
32
- loading: {
33
- type: import("vue").PropType<boolean | {
34
- delay?: number;
35
- }>;
36
- default: () => boolean | {
37
- delay?: number;
38
- };
39
- };
40
- disabled: {
41
- type: BooleanConstructor;
42
- default: any;
43
- };
44
- ghost: {
45
- type: BooleanConstructor;
46
- default: any;
47
- };
48
- block: {
49
- type: BooleanConstructor;
50
- default: any;
51
- };
52
- danger: {
53
- type: BooleanConstructor;
54
- default: any;
55
- };
56
- icon: import("vue-types").VueTypeValidableDef<any>;
57
- href: StringConstructor;
58
- target: StringConstructor;
59
- title: StringConstructor;
60
- onClick: {
61
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
62
- };
63
- onMousedown: {
64
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
65
- };
66
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
67
- block: boolean;
68
- disabled: boolean;
69
- danger: boolean;
70
- ghost: boolean;
71
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
72
- loading: boolean | {
73
- delay?: number;
74
- };
75
- }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
76
- icon: any;
77
- default: any;
78
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
79
- P: {};
80
- B: {};
81
- D: {};
82
- C: {};
83
- M: {};
84
- Defaults: {};
85
- }, Readonly<import("vue").ExtractPropTypes<{
86
- prefixCls: StringConstructor;
87
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
88
- htmlType: {
89
- type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
90
- default: string;
91
- };
92
- shape: {
93
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
94
- };
95
- size: {
96
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
97
- };
98
- loading: {
99
- type: import("vue").PropType<boolean | {
100
- delay?: number;
101
- }>;
102
- default: () => boolean | {
103
- delay?: number;
104
- };
105
- };
106
- disabled: {
107
- type: BooleanConstructor;
108
- default: any;
109
- };
110
- ghost: {
111
- type: BooleanConstructor;
112
- default: any;
113
- };
114
- block: {
115
- type: BooleanConstructor;
116
- default: any;
117
- };
118
- danger: {
119
- type: BooleanConstructor;
120
- default: any;
121
- };
122
- icon: import("vue-types").VueTypeValidableDef<any>;
123
- href: StringConstructor;
124
- target: StringConstructor;
125
- title: StringConstructor;
126
- onClick: {
127
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
128
- };
129
- onMousedown: {
130
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
131
- };
132
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
133
- block: boolean;
134
- disabled: boolean;
135
- danger: boolean;
136
- ghost: boolean;
137
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
138
- loading: boolean | {
139
- delay?: number;
140
- };
141
- }>;
142
- __isFragment?: never;
143
- __isTeleport?: never;
144
- __isSuspense?: never;
145
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
146
- prefixCls: StringConstructor;
147
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
148
- htmlType: {
149
- type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
150
- default: string;
151
- };
152
- shape: {
153
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonShape>;
154
- };
155
- size: {
156
- type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
157
- };
158
- loading: {
159
- type: import("vue").PropType<boolean | {
160
- delay?: number;
161
- }>;
162
- default: () => boolean | {
163
- delay?: number;
164
- };
165
- };
166
- disabled: {
167
- type: BooleanConstructor;
168
- default: any;
169
- };
170
- ghost: {
171
- type: BooleanConstructor;
172
- default: any;
173
- };
174
- block: {
175
- type: BooleanConstructor;
176
- default: any;
177
- };
178
- danger: {
179
- type: BooleanConstructor;
180
- default: any;
181
- };
182
- icon: import("vue-types").VueTypeValidableDef<any>;
183
- href: StringConstructor;
184
- target: StringConstructor;
185
- title: StringConstructor;
186
- onClick: {
187
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
188
- };
189
- onMousedown: {
190
- type: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
191
- };
192
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
193
- block: boolean;
194
- disabled: boolean;
195
- danger: boolean;
196
- ghost: boolean;
197
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
198
- loading: boolean | {
199
- delay?: number;
200
- };
201
- }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
202
- icon: any;
203
- default: any;
204
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & (import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (import("vue").Plugin<any[]> & {
205
- readonly Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
206
- prefixCls: StringConstructor;
207
- size: {
208
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
209
- };
210
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
211
- prefixCls: StringConstructor;
212
- size: {
213
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
214
- };
215
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
216
- }));
217
- readonly ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
218
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
219
- P: {};
220
- B: {};
221
- D: {};
222
- C: {};
223
- M: {};
224
- Defaults: {};
225
- }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
226
- __isFragment?: never;
227
- __isTeleport?: never;
228
- __isSuspense?: never;
229
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
230
- $slots: {
231
- default?(_: {}): any;
232
- };
233
- })>;
234
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
235
- 'update:modelValue': null;
20
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:modelValue": (...args: any[]) => void;
236
22
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
237
23
  modelValue: {
238
24
  type: BooleanConstructor;
@@ -253,4 +39,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
253
39
  modelValue: boolean;
254
40
  contentRef: AnyFunc;
255
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
43
+ declare const _default: typeof __VLS_export;
256
44
  export default _default;
45
+ type __VLS_WithSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };