@polyv/chat-ui 2.2.0-rc-20251113.1 → 2.3.0-rc-20251204.1

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 (7) hide show
  1. package/index.d.ts +287 -40
  2. package/index.es.js +21648 -14675
  3. package/index.umd.js +451 -167
  4. package/package.json +1 -1
  5. package/special.d.ts +215 -39
  6. package/special.es.js +20492 -14088
  7. package/special.umd.js +440 -159
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { AskMsgType } from '@polyv/chat';
1
2
  import { ChatMessageUser } from '@polyv/chat';
2
3
  import { ChatMsgRewardType } from '@polyv/chat';
3
4
  import { ChatMsgSource } from '@polyv/chat';
@@ -22,8 +23,36 @@ import { SystemMsgType } from '@polyv/chat';
22
23
  import { ValidatorFunction } from 'vue-types/dist/types';
23
24
  import { Vue3Instance } from 'vue/types/v3-component-public-instance';
24
25
  import { VueTypeValidableDef } from 'vue-types';
26
+ import { VueTypeValidableDef as VueTypeValidableDef_2 } from 'vue-types';
27
+ import { VueTypeValidableDef as VueTypeValidableDef_3 } from 'vue-types';
25
28
 
26
- declare const __VLS_component: DefineComponent< {
29
+ declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
30
+
31
+ declare const __VLS_component_2: DefineComponent< {
32
+ /**
33
+ * 是否显示发送图片图标
34
+ * @default false
35
+ */
36
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
37
+ default: boolean;
38
+ } & {
39
+ default: boolean;
40
+ };
41
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
42
+ /**
43
+ * 是否显示发送图片图标
44
+ * @default false
45
+ */
46
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
47
+ default: boolean;
48
+ } & {
49
+ default: boolean;
50
+ };
51
+ }>>, {
52
+ showSendImage: boolean;
53
+ }>;
54
+
55
+ declare const __VLS_component_3: DefineComponent< {
27
56
  defaultHeight: VueTypeValidableDef<number, ValidatorFunction<number>> & {
28
57
  default: number;
29
58
  } & {
@@ -52,9 +81,27 @@ defaultHeight: number;
52
81
  showMore: boolean;
53
82
  }>;
54
83
 
55
- declare const __VLS_component_2: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
56
-
57
84
  declare function __VLS_template(): {
85
+ attrs: Partial<{}>;
86
+ slots: {
87
+ 'body-suffix'?(_: {}): any;
88
+ suffix?(_: {}): any;
89
+ };
90
+ refs: {};
91
+ rootEl: HTMLDivElement;
92
+ };
93
+
94
+ declare function __VLS_template_2(): {
95
+ attrs: Partial<{}>;
96
+ slots: {
97
+ 'body-suffix'?(_: {}): any;
98
+ suffix?(_: {}): any;
99
+ };
100
+ refs: {};
101
+ rootEl: HTMLDivElement;
102
+ };
103
+
104
+ declare function __VLS_template_3(): {
58
105
  attrs: Partial<{}>;
59
106
  slots: {
60
107
  'more-panel'?(_: {}): any;
@@ -64,6 +111,7 @@ declare function __VLS_template(): {
64
111
  };
65
112
  refs: {
66
113
  msgInputBaseRef: (Vue3Instance< {}, Readonly<ExtractPropTypes< {
114
+ resizeStorageKey: VueTypeValidableDef<string, ValidatorFunction<string>>;
67
115
  defaultHeight: VueTypeValidableDef<number, ValidatorFunction<number>> & {
68
116
  default: number;
69
117
  } & {
@@ -74,6 +122,11 @@ declare function __VLS_template(): {
74
122
  } & {
75
123
  default: boolean;
76
124
  };
125
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
126
+ default: boolean;
127
+ } & {
128
+ default: boolean;
129
+ };
77
130
  placeholder: VueTypeValidableDef<string, ValidatorFunction<string>> & {
78
131
  default: string;
79
132
  };
@@ -92,7 +145,18 @@ declare function __VLS_template(): {
92
145
  } & {
93
146
  default: number;
94
147
  };
148
+ showFaceEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
149
+ default: boolean;
150
+ } & {
151
+ default: boolean;
152
+ };
153
+ showImageEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
154
+ default: boolean;
155
+ } & {
156
+ default: boolean;
157
+ };
95
158
  }>>, Readonly<ExtractPropTypes< {
159
+ resizeStorageKey: VueTypeValidableDef<string, ValidatorFunction<string>>;
96
160
  defaultHeight: VueTypeValidableDef<number, ValidatorFunction<number>> & {
97
161
  default: number;
98
162
  } & {
@@ -103,6 +167,11 @@ declare function __VLS_template(): {
103
167
  } & {
104
168
  default: boolean;
105
169
  };
170
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
171
+ default: boolean;
172
+ } & {
173
+ default: boolean;
174
+ };
106
175
  placeholder: VueTypeValidableDef<string, ValidatorFunction<string>> & {
107
176
  default: string;
108
177
  };
@@ -121,6 +190,16 @@ declare function __VLS_template(): {
121
190
  } & {
122
191
  default: number;
123
192
  };
193
+ showFaceEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
194
+ default: boolean;
195
+ } & {
196
+ default: boolean;
197
+ };
198
+ showImageEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
199
+ default: boolean;
200
+ } & {
201
+ default: boolean;
202
+ };
124
203
  }>>, {
125
204
  submit: (arg: {
126
205
  contentList: InputContent[];
@@ -132,12 +211,16 @@ declare function __VLS_template(): {
132
211
  "click-send-image": (arg?: void | undefined) => void;
133
212
  }, {
134
213
  disabledInput: boolean;
214
+ showFaceEmotion: boolean;
215
+ showImageEmotion: boolean;
135
216
  placeholder: string;
136
217
  disabledSubmitBtn: boolean;
137
218
  maxInputTextLength: number;
138
219
  defaultHeight: number;
139
220
  showBottom: boolean;
221
+ showSendImage: boolean;
140
222
  }, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
223
+ resizeStorageKey: VueTypeValidableDef<string, ValidatorFunction<string>>;
141
224
  defaultHeight: VueTypeValidableDef<number, ValidatorFunction<number>> & {
142
225
  default: number;
143
226
  } & {
@@ -148,6 +231,11 @@ declare function __VLS_template(): {
148
231
  } & {
149
232
  default: boolean;
150
233
  };
234
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
235
+ default: boolean;
236
+ } & {
237
+ default: boolean;
238
+ };
151
239
  placeholder: VueTypeValidableDef<string, ValidatorFunction<string>> & {
152
240
  default: string;
153
241
  };
@@ -166,9 +254,20 @@ declare function __VLS_template(): {
166
254
  } & {
167
255
  default: number;
168
256
  };
257
+ showFaceEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
258
+ default: boolean;
259
+ } & {
260
+ default: boolean;
261
+ };
262
+ showImageEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
263
+ default: boolean;
264
+ } & {
265
+ default: boolean;
266
+ };
169
267
  }>>> & ShallowUnwrapRef< {
170
268
  focusInput: () => void;
171
269
  }> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
270
+ resizeStorageKey: VueTypeValidableDef<string, ValidatorFunction<string>>;
172
271
  defaultHeight: VueTypeValidableDef<number, ValidatorFunction<number>> & {
173
272
  default: number;
174
273
  } & {
@@ -179,6 +278,11 @@ declare function __VLS_template(): {
179
278
  } & {
180
279
  default: boolean;
181
280
  };
281
+ showSendImage: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
282
+ default: boolean;
283
+ } & {
284
+ default: boolean;
285
+ };
182
286
  placeholder: VueTypeValidableDef<string, ValidatorFunction<string>> & {
183
287
  default: string;
184
288
  };
@@ -197,6 +301,16 @@ declare function __VLS_template(): {
197
301
  } & {
198
302
  default: number;
199
303
  };
304
+ showFaceEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
305
+ default: boolean;
306
+ } & {
307
+ default: boolean;
308
+ };
309
+ showImageEmotion: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
310
+ default: boolean;
311
+ } & {
312
+ default: boolean;
313
+ };
200
314
  }>> & {
201
315
  $scopedSlots: {
202
316
  'panel-suffix'?(_: {}): any;
@@ -207,24 +321,17 @@ declare function __VLS_template(): {
207
321
  'bottom-suffix'?(_: {}): any;
208
322
  };
209
323
  }) | null;
324
+ morePanelRef: HTMLDivElement;
210
325
  };
211
326
  rootEl: HTMLDivElement;
212
327
  };
213
328
 
214
- declare function __VLS_template_2(): {
215
- attrs: Partial<{}>;
216
- slots: {
217
- 'body-suffix'?(_: {}): any;
218
- suffix?(_: {}): any;
219
- };
220
- refs: {};
221
- rootEl: HTMLDivElement;
222
- };
223
-
224
329
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
225
330
 
226
331
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
227
332
 
333
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
334
+
228
335
  declare type __VLS_WithTemplateSlots<T, S> = T & {
229
336
  new (): {
230
337
  $scopedSlots: S;
@@ -237,21 +344,84 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
237
344
  };
238
345
  };
239
346
 
347
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
348
+ new (): {
349
+ $scopedSlots: S;
350
+ };
351
+ };
352
+
240
353
  /**
241
354
  * 动画来源
242
355
  */
243
356
  declare type AnimationSource = 'donate-animation' | 'chat-like' | 'special-effect-animation';
244
357
 
358
+ /**
359
+ * 提问配置
360
+ */
361
+ declare interface AskConfig {
362
+ /**
363
+ * 提问欢迎语
364
+ * @default ''
365
+ */
366
+ askWelcomeText?: string;
367
+ /**
368
+ * 显示在线状态
369
+ * @default false
370
+ */
371
+ showOnlineStatus?: boolean;
372
+ /**
373
+ * 提问新消息回调
374
+ */
375
+ onNewAskMessage?: (askMsg: AskMsgType) => void;
376
+ }
377
+
378
+ export declare const AskManager: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
379
+ "open-ask": (arg?: void | undefined) => void;
380
+ }, string, Readonly<ExtractPropTypes< {}>>, {}>;
381
+
382
+ export declare const AskMessageInputControl: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
383
+
384
+ export declare const AskMessageInputPopup: DefineComponent< {}, {
385
+ showInputPopup: typeof showInputPopup;
386
+ closeInputPopup: typeof closeInputPopup;
387
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
388
+ "visible-change": (arg: boolean) => void;
389
+ }, string, Readonly<ExtractPropTypes< {}>>, {}>;
390
+
391
+ export declare const AskMessageInputSection: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
392
+
393
+ export declare const AskMessageList: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
394
+
395
+ export declare const AskUserList: DefineComponent< {}, {
396
+ addAskUser: (data: {
397
+ targetUserId: string;
398
+ user: ChatMessageUser;
399
+ setActive?: boolean;
400
+ }) => void;
401
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
402
+
245
403
  export declare const BanList: DefineComponent< {}, {
246
404
  openBanList: () => void;
247
405
  closeBanList: () => void;
248
406
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
249
407
 
408
+ export declare interface BaseConfig {
409
+ /**
410
+ * 是否隐藏昵称
411
+ * @default false
412
+ */
413
+ hideNickname?: boolean;
414
+ }
415
+
250
416
  export declare interface ChatGlobalInject {
251
417
  /**
252
418
  * 获取聊天室实例对象
253
419
  */
254
420
  getChatTarget: () => PolyvChat;
421
+ /**
422
+ * 获取基础配置
423
+ */
424
+ getBaseConfig?: () => BaseConfig;
255
425
  /**
256
426
  * 获取消息配置
257
427
  */
@@ -292,6 +462,10 @@ export declare interface ChatGlobalInject {
292
462
  * 获取是否显示动画
293
463
  */
294
464
  getAnimationVisible?: (animationSource: AnimationSource) => boolean;
465
+ /**
466
+ * 获取提问配置
467
+ */
468
+ getAskConfig?: () => AskConfig;
295
469
  /**
296
470
  * 拦截处理,返回 true 表示终止后续的业务逻辑执行
297
471
  */
@@ -300,12 +474,16 @@ export declare interface ChatGlobalInject {
300
474
 
301
475
  export declare const ChatLike: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
302
476
 
477
+ export declare const ChatMessageInputControl: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
478
+
303
479
  export declare const ChatMessageInputPopup: DefineComponent< {}, {
304
- showInputPopup: typeof showInputPopup;
305
- closeInputPopup: typeof closeInputPopup;
306
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
480
+ showInputPopup: typeof showInputPopup_2;
481
+ closeInputPopup: typeof closeInputPopup_2;
482
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
483
+ "visible-change": (arg: boolean) => void;
484
+ }, string, Readonly<ExtractPropTypes< {}>>, {}>;
307
485
 
308
- export declare const ChatMessageInputSection: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
486
+ export declare const ChatMessageInputSection: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
309
487
 
310
488
  export declare const ChatMessageList: DefineComponent< {}, {
311
489
  setIsOnlySpecialMsg: (value: boolean) => void;
@@ -313,14 +491,16 @@ setIsOnlySpecialMsg: (value: boolean) => void;
313
491
 
314
492
  declare function closeInputPopup(): void;
315
493
 
494
+ declare function closeInputPopup_2(): void;
495
+
316
496
  export declare const DonateAnimation: DefineComponent< {
317
- trackCount: VueTypeValidableDef<number, ValidatorFunction<number>> & {
497
+ trackCount: VueTypeValidableDef_2<number, ValidatorFunction<number>> & {
318
498
  default: number;
319
499
  } & {
320
500
  default: number;
321
501
  };
322
502
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
323
- trackCount: VueTypeValidableDef<number, ValidatorFunction<number>> & {
503
+ trackCount: VueTypeValidableDef_2<number, ValidatorFunction<number>> & {
324
504
  default: number;
325
505
  } & {
326
506
  default: number;
@@ -352,14 +532,14 @@ export declare interface HistoryConfig {
352
532
  * @default false
353
533
  */
354
534
  workWechatMyCustomerHistory?: boolean;
535
+ /**
536
+ * 是否获取聊天历史消息
537
+ * @default true
538
+ */
539
+ getChatHistory?: boolean;
355
540
  }
356
541
 
357
542
  export declare interface InputConfig {
358
- /**
359
- * 聊天室输入框占位符
360
- * @default ''
361
- */
362
- inputPlaceholder?: string;
363
543
  /**
364
544
  * 黄脸表情开关
365
545
  * @default true
@@ -376,15 +556,29 @@ export declare interface InputConfig {
376
556
  */
377
557
  disabledInput?: boolean;
378
558
  /**
379
- * 发送图片开关
559
+ * 输入框遮罩文案
560
+ * @default ''
561
+ */
562
+ inputMaskPlaceholder?: string;
563
+ /**
564
+ * 聊天室输入框占位符
565
+ * @default ''
566
+ */
567
+ chatInputPlaceholder?: string;
568
+ /**
569
+ * 聊天区发送图片开关
380
570
  * @default true
381
571
  */
382
- sendImageEnabled?: boolean;
572
+ sendChatImageEnabled?: boolean;
383
573
  /**
384
- * 输入框遮罩文案
574
+ * 提问区输入框占位符
385
575
  * @default ''
386
576
  */
387
- inputMaskPlaceholder?: string;
577
+ askInputPlaceholder?: string;
578
+ /**
579
+ * 提问区发送图片开关
580
+ */
581
+ sendAskImageEnabled?: boolean;
388
582
  }
389
583
 
390
584
  export declare type InputContent = InputContentText | InputContentImage;
@@ -488,10 +682,6 @@ export declare interface ManageConfig {
488
682
  * @default false
489
683
  */
490
684
  askUserEnabled?: boolean;
491
- /**
492
- * 私聊用户回调
493
- */
494
- askUserCallback?: boolean | ((user: ChatMessageUser) => void);
495
685
  /**
496
686
  * 聊天室全体禁言开关
497
687
  * @default false
@@ -516,9 +706,23 @@ export declare interface ManageConfig {
516
706
  downloadOnlineListEnabled?: boolean;
517
707
  }
518
708
 
519
- export declare const ManagerInputControl: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
520
-
521
- export declare const MemberList: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
709
+ export declare const MemberList: DefineComponent< {
710
+ showTop: VueTypeValidableDef_3<boolean, ValidatorFunction<boolean>> & {
711
+ default: boolean;
712
+ } & {
713
+ default: boolean;
714
+ };
715
+ }, {
716
+ openRulePopup: typeof openRulePopup;
717
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
718
+ showTop: VueTypeValidableDef_3<boolean, ValidatorFunction<boolean>> & {
719
+ default: boolean;
720
+ } & {
721
+ default: boolean;
722
+ };
723
+ }>>, {
724
+ showTop: boolean;
725
+ }>;
522
726
 
523
727
  export declare interface MessageConfig {
524
728
  /**
@@ -526,6 +730,11 @@ export declare interface MessageConfig {
526
730
  * @default ''
527
731
  */
528
732
  introductionText?: string;
733
+ /**
734
+ * 聊天区系统消息
735
+ * @default ''
736
+ */
737
+ systemText?: string;
529
738
  /**
530
739
  * 是否显示聊天室空数据提示
531
740
  * @default false
@@ -777,6 +986,21 @@ export declare interface OnlineConfig {
777
986
  * @default 200
778
987
  */
779
988
  requestCount?: number;
989
+ /**
990
+ * 搜索在线列表开关
991
+ * @default true
992
+ */
993
+ searchEnabled?: boolean;
994
+ /**
995
+ * 规则开关
996
+ * @default false
997
+ */
998
+ ruleEnabled?: boolean;
999
+ /**
1000
+ * 轮训间隔,单位:毫秒
1001
+ * @default 10000
1002
+ */
1003
+ pollingTime?: number;
780
1004
  /**
781
1005
  * 在线人数更新回调
782
1006
  * @param count 在线人数
@@ -784,14 +1008,16 @@ export declare interface OnlineConfig {
784
1008
  onlineCountCallback?: (count: number) => void;
785
1009
  }
786
1010
 
1011
+ declare function openRulePopup(): void;
1012
+
787
1013
  export declare const RunwayEffect: DefineComponent< {
788
- left: VueTypeValidableDef<number, ValidatorFunction<number>> & {
1014
+ left: VueTypeValidableDef_2<number, ValidatorFunction<number>> & {
789
1015
  default: number;
790
1016
  } & {
791
1017
  default: number;
792
1018
  };
793
1019
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
794
- left: VueTypeValidableDef<number, ValidatorFunction<number>> & {
1020
+ left: VueTypeValidableDef_2<number, ValidatorFunction<number>> & {
795
1021
  default: number;
796
1022
  } & {
797
1023
  default: number;
@@ -802,6 +1028,8 @@ left: number;
802
1028
 
803
1029
  declare function showInputPopup(): void;
804
1030
 
1031
+ declare function showInputPopup_2(): void;
1032
+
805
1033
  export declare const SpecialEffectAnimation: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
806
1034
 
807
1035
  /**
@@ -824,6 +1052,27 @@ export declare interface SpecialEffectConfig {
824
1052
  visibleChangeCallback?: (visible: boolean) => void;
825
1053
  }
826
1054
 
1055
+ export declare const SwiperSection: DefineComponent< {
1056
+ swiperList: VueTypeValidableDef_2<("ask" | "chat")[], ValidatorFunction<("ask" | "chat")[]>> & {
1057
+ default: () => ("ask" | "chat")[];
1058
+ } & {
1059
+ default: () => ("ask" | "chat")[];
1060
+ };
1061
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1062
+ "slide-reach-end": (arg?: void | undefined) => void;
1063
+ "slide-reach-beginning": (arg?: void | undefined) => void;
1064
+ }, string, Readonly<ExtractPropTypes< {
1065
+ swiperList: VueTypeValidableDef_2<("ask" | "chat")[], ValidatorFunction<("ask" | "chat")[]>> & {
1066
+ default: () => ("ask" | "chat")[];
1067
+ } & {
1068
+ default: () => ("ask" | "chat")[];
1069
+ };
1070
+ }>>, {
1071
+ swiperList: ("ask" | "chat")[];
1072
+ }>;
1073
+
1074
+ export declare const SwiperSectionControl: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
1075
+
827
1076
  export declare const TopingMsgList: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>;
828
1077
 
829
1078
  export declare const useChatGlobalProvide: (injectData: ChatGlobalInject) => void;
@@ -835,7 +1084,7 @@ setIsOnlySpecialMsg: (value: boolean) => void;
835
1084
  toggleOnlySpecialMsg: () => void;
836
1085
  }>;
837
1086
 
838
- export declare const useSendMsg: () => {
1087
+ export declare const useSendChatMsg: () => {
839
1088
  sendSpeakMsg: (options: SendSpeakMsgOptions) => Promise<void>;
840
1089
  sendImageMsg: (options: SendImageMsgOptions) => Promise<void>;
841
1090
  sendEmotionImageMsg: (options: SendEmotionImageMsgOptions) => Promise<void>;
@@ -855,6 +1104,4 @@ showSpecialEffect: () => void;
855
1104
  hideSpecialEffect: () => void;
856
1105
  }>;
857
1106
 
858
- export declare const ViewerInputControl: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
859
-
860
1107
  export { }