@vunk/plus 1.3.10 → 1.3.11

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 (98) hide show
  1. package/components/agent-chat-provider/index.d.ts +7 -0
  2. package/components/agent-chat-provider/src/api.d.ts +3 -0
  3. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  4. package/components/agent-chat-provider/src/const.d.ts +1 -0
  5. package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
  6. package/components/agent-chat-provider/src/types.d.ts +42 -0
  7. package/components/agent-chat-provider/src/use.d.ts +29 -0
  8. package/components/avatar/index.d.ts +4 -0
  9. package/components/avatar/src/ctx.d.ts +18 -0
  10. package/components/avatar/src/index.vue.d.ts +121 -0
  11. package/components/avatar/src/types.d.ts +1 -0
  12. package/components/broadcasting-markdown/index.d.ts +5 -0
  13. package/components/broadcasting-markdown/src/const.d.ts +18 -0
  14. package/components/broadcasting-markdown/src/ctx.d.ts +102 -0
  15. package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +117 -0
  16. package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +117 -0
  17. package/components/broadcasting-markdown/src/index.vue.d.ts +519 -0
  18. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +92 -0
  19. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  20. package/components/broadcasting-markdown/src/types.d.ts +17 -0
  21. package/components/broadcasting-markdown/src/use.d.ts +3 -0
  22. package/components/broadcasting-markdown/src/web-speech.vue.d.ts +110 -0
  23. package/components/bubble-list/index.d.ts +5 -0
  24. package/components/bubble-list/src/ctx.d.ts +30 -0
  25. package/components/bubble-list/src/index.vue.d.ts +1001 -0
  26. package/components/bubble-list/src/types.d.ts +4 -0
  27. package/components/bubble-templates/index.d.ts +4 -0
  28. package/components/bubble-templates/src/index.vue.d.ts +673 -0
  29. package/components/bubble-templates/src/types.d.ts +34 -0
  30. package/components/chat-independent/index.d.ts +4 -0
  31. package/components/chat-independent/src/const.d.ts +13 -0
  32. package/components/chat-independent/src/ctx.d.ts +20 -0
  33. package/components/chat-independent/src/index.vue.d.ts +2477 -0
  34. package/components/chat-independent/src/types.d.ts +13 -0
  35. package/components/index.d.ts +0 -0
  36. package/components/lottie-animation/index.d.ts +4 -0
  37. package/components/lottie-animation/src/ctx.d.ts +10 -0
  38. package/components/lottie-animation/src/index.vue.d.ts +21 -0
  39. package/components/lottie-animation/src/types.d.ts +4 -0
  40. package/components/monaco-editor/index.d.ts +5 -0
  41. package/components/monaco-editor/src/ctx.d.ts +23 -0
  42. package/components/monaco-editor/src/index.vue.d.ts +40 -0
  43. package/components/monaco-editor/src/types.d.ts +1 -0
  44. package/components/monaco-environment/index.d.ts +4 -0
  45. package/components/monaco-environment/src/ctx.d.ts +8 -0
  46. package/components/monaco-environment/src/index.vue.d.ts +2 -0
  47. package/components/monaco-environment/src/types.d.ts +1 -0
  48. package/components/recorder-button/index.d.ts +4 -0
  49. package/components/recorder-button/src/ctx.d.ts +41 -0
  50. package/components/recorder-button/src/index.vue.d.ts +300 -0
  51. package/components/recorder-button/src/speech-to-text.d.ts +1 -0
  52. package/components/recorder-button/src/types.d.ts +7 -0
  53. package/components/routes-menu-content/index.d.ts +4 -0
  54. package/components/routes-menu-content/src/ctx.d.ts +17 -0
  55. package/components/routes-menu-content/src/index.vue.d.ts +472 -0
  56. package/components/routes-menu-content/src/item/core/ctx.d.ts +18 -0
  57. package/components/routes-menu-content/src/item/core/index.vue.d.ts +307 -0
  58. package/components/routes-menu-content/src/item/ctx.d.ts +14 -0
  59. package/components/routes-menu-content/src/item/index.vue.d.ts +438 -0
  60. package/components/routes-menu-content/src/types.d.ts +1 -0
  61. package/components/sender/index.d.ts +4 -0
  62. package/components/sender/src/SenderHeader.vue.d.ts +256 -0
  63. package/components/sender/src/ctx.d.ts +62 -0
  64. package/components/sender/src/index.vue.d.ts +787 -0
  65. package/components/sender/src/types.d.ts +1 -0
  66. package/components/speech-button/index.d.ts +4 -0
  67. package/components/speech-button/src/LoadingIcon.vue.d.ts +2 -0
  68. package/components/speech-button/src/RecordingIcon.vue.d.ts +2 -0
  69. package/components/speech-button/src/ctx.d.ts +10 -0
  70. package/components/speech-button/src/index.vue.d.ts +22 -0
  71. package/components/speech-button/src/types.d.ts +1 -0
  72. package/components/table-columns/index.d.ts +5 -0
  73. package/components/table-columns/src/ctx.d.ts +66 -0
  74. package/components/table-columns/src/el-ctx.d.ts +63 -0
  75. package/components/table-columns/src/index.vue.d.ts +282 -0
  76. package/components/table-columns/src/types.d.ts +21 -0
  77. package/components/tables-v1/index.d.ts +5 -0
  78. package/components/tables-v1/src/ctx.d.ts +281 -0
  79. package/components/tables-v1/src/el-ctx.d.ts +269 -0
  80. package/components/tables-v1/src/index.vue.d.ts +3014 -0
  81. package/components/tables-v1/src/types.d.ts +4 -0
  82. package/components/tables-v1-checkbox/index.d.ts +5 -0
  83. package/components/tables-v1-checkbox/src/ctx.d.ts +321 -0
  84. package/components/tables-v1-checkbox/src/index.vue.d.ts +3796 -0
  85. package/components/tables-v1-checkbox/src/types.d.ts +1 -0
  86. package/components/typing-markdown/index.d.ts +4 -0
  87. package/components/typing-markdown/src/core.d.ts +2 -0
  88. package/components/typing-markdown/src/ctx.d.ts +33 -0
  89. package/components/typing-markdown/src/index.vue.d.ts +57 -0
  90. package/components/typing-markdown/src/types.d.ts +1 -0
  91. package/components/vditor/index.d.ts +5 -0
  92. package/components/vditor/src/ctx.d.ts +37 -0
  93. package/components/vditor/src/handle-fullscreen.vue.d.ts +18 -0
  94. package/components/vditor/src/handle-value.vue.d.ts +18 -0
  95. package/components/vditor/src/index.vue.d.ts +144 -0
  96. package/components/vditor/src/types.d.ts +9 -0
  97. package/components/vditor/src/use.d.ts +4 -0
  98. package/package.json +1 -1
@@ -0,0 +1,256 @@
1
+ import type { AnyFunc } from '@vunk/shared';
2
+ import type { PropType } from 'vue';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ modelValue: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ title: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ contentRef: {
13
+ type: PropType<AnyFunc>;
14
+ default: AnyFunc;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ 'update:modelValue': null;
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ modelValue: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ contentRef: {
28
+ type: PropType<AnyFunc>;
29
+ default: AnyFunc;
30
+ };
31
+ }>> & Readonly<{
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ }>, {
34
+ modelValue: boolean;
35
+ title: string;
36
+ contentRef: AnyFunc;
37
+ }, {}, {
38
+ ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
39
+ 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, {
40
+ P: {};
41
+ B: {};
42
+ D: {};
43
+ C: {};
44
+ M: {};
45
+ Defaults: {};
46
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
47
+ __isFragment?: undefined;
48
+ __isTeleport?: undefined;
49
+ __isSuspense?: undefined;
50
+ } & 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 () => {
51
+ $slots: {
52
+ default?(_: {}): any;
53
+ };
54
+ })>;
55
+ AntButton: {
56
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
57
+ prefixCls: StringConstructor;
58
+ type: PropType<import("ant-design-vue/es/button").ButtonType>;
59
+ htmlType: {
60
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
61
+ default: string;
62
+ };
63
+ shape: {
64
+ type: PropType<import("ant-design-vue/es/button").ButtonShape>;
65
+ };
66
+ size: {
67
+ type: PropType<import("ant-design-vue/es/button").ButtonSize>;
68
+ };
69
+ loading: {
70
+ type: PropType<boolean | {
71
+ delay?: number | undefined;
72
+ }>;
73
+ default: () => boolean | {
74
+ delay?: number | undefined;
75
+ };
76
+ };
77
+ disabled: {
78
+ type: BooleanConstructor;
79
+ default: any;
80
+ };
81
+ ghost: {
82
+ type: BooleanConstructor;
83
+ default: any;
84
+ };
85
+ block: {
86
+ type: BooleanConstructor;
87
+ default: any;
88
+ };
89
+ danger: {
90
+ type: BooleanConstructor;
91
+ default: any;
92
+ };
93
+ icon: import("vue-types").VueTypeValidableDef<any>;
94
+ href: StringConstructor;
95
+ target: StringConstructor;
96
+ title: StringConstructor;
97
+ onClick: {
98
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
99
+ };
100
+ onMousedown: {
101
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
102
+ };
103
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
104
+ block: boolean;
105
+ disabled: boolean;
106
+ danger: boolean;
107
+ ghost: boolean;
108
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
109
+ loading: boolean | {
110
+ delay?: number | undefined;
111
+ };
112
+ }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
113
+ icon: any;
114
+ default: any;
115
+ }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
116
+ P: {};
117
+ B: {};
118
+ D: {};
119
+ C: {};
120
+ M: {};
121
+ Defaults: {};
122
+ }, Readonly<import("vue").ExtractPropTypes<{
123
+ prefixCls: StringConstructor;
124
+ type: PropType<import("ant-design-vue/es/button").ButtonType>;
125
+ htmlType: {
126
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
127
+ default: string;
128
+ };
129
+ shape: {
130
+ type: PropType<import("ant-design-vue/es/button").ButtonShape>;
131
+ };
132
+ size: {
133
+ type: PropType<import("ant-design-vue/es/button").ButtonSize>;
134
+ };
135
+ loading: {
136
+ type: PropType<boolean | {
137
+ delay?: number | undefined;
138
+ }>;
139
+ default: () => boolean | {
140
+ delay?: number | undefined;
141
+ };
142
+ };
143
+ disabled: {
144
+ type: BooleanConstructor;
145
+ default: any;
146
+ };
147
+ ghost: {
148
+ type: BooleanConstructor;
149
+ default: any;
150
+ };
151
+ block: {
152
+ type: BooleanConstructor;
153
+ default: any;
154
+ };
155
+ danger: {
156
+ type: BooleanConstructor;
157
+ default: any;
158
+ };
159
+ icon: import("vue-types").VueTypeValidableDef<any>;
160
+ href: StringConstructor;
161
+ target: StringConstructor;
162
+ title: StringConstructor;
163
+ onClick: {
164
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
165
+ };
166
+ onMousedown: {
167
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
168
+ };
169
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
170
+ block: boolean;
171
+ disabled: boolean;
172
+ danger: boolean;
173
+ ghost: boolean;
174
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
175
+ loading: boolean | {
176
+ delay?: number | undefined;
177
+ };
178
+ }>;
179
+ __isFragment?: undefined;
180
+ __isTeleport?: undefined;
181
+ __isSuspense?: undefined;
182
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
183
+ prefixCls: StringConstructor;
184
+ type: PropType<import("ant-design-vue/es/button").ButtonType>;
185
+ htmlType: {
186
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
187
+ default: string;
188
+ };
189
+ shape: {
190
+ type: PropType<import("ant-design-vue/es/button").ButtonShape>;
191
+ };
192
+ size: {
193
+ type: PropType<import("ant-design-vue/es/button").ButtonSize>;
194
+ };
195
+ loading: {
196
+ type: PropType<boolean | {
197
+ delay?: number | undefined;
198
+ }>;
199
+ default: () => boolean | {
200
+ delay?: number | undefined;
201
+ };
202
+ };
203
+ disabled: {
204
+ type: BooleanConstructor;
205
+ default: any;
206
+ };
207
+ ghost: {
208
+ type: BooleanConstructor;
209
+ default: any;
210
+ };
211
+ block: {
212
+ type: BooleanConstructor;
213
+ default: any;
214
+ };
215
+ danger: {
216
+ type: BooleanConstructor;
217
+ default: any;
218
+ };
219
+ icon: import("vue-types").VueTypeValidableDef<any>;
220
+ href: StringConstructor;
221
+ target: StringConstructor;
222
+ title: StringConstructor;
223
+ onClick: {
224
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
225
+ };
226
+ onMousedown: {
227
+ type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
228
+ };
229
+ }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
230
+ block: boolean;
231
+ disabled: boolean;
232
+ danger: boolean;
233
+ ghost: boolean;
234
+ htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
235
+ loading: boolean | {
236
+ delay?: number | undefined;
237
+ };
238
+ }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
239
+ icon: any;
240
+ default: any;
241
+ }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
242
+ readonly Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
243
+ prefixCls: StringConstructor;
244
+ size: {
245
+ type: PropType<import("ant-design-vue/es/button").ButtonSize>;
246
+ };
247
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
248
+ prefixCls: StringConstructor;
249
+ size: {
250
+ type: PropType<import("ant-design-vue/es/button").ButtonSize>;
251
+ };
252
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
253
+ };
254
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
255
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
256
+ export default _default;
@@ -0,0 +1,62 @@
1
+ import type { UploadFile } from 'ant-design-vue';
2
+ import type { PropType } from 'vue';
3
+ export declare const props: {
4
+ /**
5
+ * @description v-model 绑定文件列表
6
+ */
7
+ fileList: {
8
+ type: PropType<UploadFile<any>[]>;
9
+ default: undefined;
10
+ };
11
+ /**
12
+ * @description 文件上传地址
13
+ */
14
+ action: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ /**
19
+ * @description v-model 绑定文本
20
+ */
21
+ modelValue: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ /**
26
+ * @description 是否加载中,表现在发送按钮上
27
+ */
28
+ loading: {
29
+ type: BooleanConstructor;
30
+ default: undefined;
31
+ };
32
+ /**
33
+ * @description 模块
34
+ */
35
+ modules: {
36
+ type: {
37
+ (arrayLength: number): "Attachments"[];
38
+ (...items: "Attachments"[]): "Attachments"[];
39
+ new (arrayLength: number): "Attachments"[];
40
+ new (...items: "Attachments"[]): "Attachments"[];
41
+ isArray(arg: any): arg is any[];
42
+ readonly prototype: any[];
43
+ from<T>(arrayLike: ArrayLike<T>): T[];
44
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
45
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
46
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
47
+ of<T_4>(...items: T_4[]): T_4[];
48
+ readonly [Symbol.species]: ArrayConstructor;
49
+ };
50
+ default: () => never[];
51
+ };
52
+ sendDisabled: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ };
57
+ export declare const emits: {
58
+ 'update:fileList': (_: UploadFile[]) => boolean;
59
+ 'update:modelValue': (_: string) => boolean;
60
+ submit: (_: string) => boolean;
61
+ cancel: null;
62
+ };