cnhis-design-vue 3.1.47-release.0 → 3.1.47-release.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 (69) hide show
  1. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  2. package/es/components/button-print/src/utils/print.d.ts +7 -5
  3. package/es/components/button-print/src/utils/print.js +1 -1
  4. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  5. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +1 -1
  6. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  8. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  9. package/es/components/fabric-chart/src/interface.d.ts +1 -0
  10. package/es/components/form-config/index.d.ts +9 -9
  11. package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
  12. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  13. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
  14. package/es/components/form-render/index.d.ts +1 -1
  15. package/es/components/form-render/src/FormRender.vue.d.ts +2 -1
  16. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  17. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
  18. package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +2 -2
  19. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +4 -4
  20. package/es/components/form-render/src/components/renderer/select.d.ts +2 -2
  21. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  22. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +1 -0
  23. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  24. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  25. package/es/components/form-render/src/types/fieldItem.d.ts +1 -1
  26. package/es/components/form-render/src/types/index.d.ts +59 -2
  27. package/es/components/form-render/src/utils/index.js +1 -1
  28. package/es/components/index.css +1 -1
  29. package/es/components/index.d.ts +2 -1
  30. package/es/components/index.js +1 -1
  31. package/es/components/info-header/index.d.ts +2 -2
  32. package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -2
  33. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -1
  34. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
  35. package/es/components/multi-chat/index.d.ts +1023 -0
  36. package/es/components/multi-chat/index.js +1 -0
  37. package/es/components/multi-chat/src/MultiChat.vue.d.ts +1005 -0
  38. package/es/components/multi-chat/src/MultiChat.vue.js +1 -0
  39. package/es/components/multi-chat/src/MultiChat.vue2.js +1 -0
  40. package/es/components/multi-chat/src/api/index.d.ts +8 -0
  41. package/es/components/multi-chat/src/api/index.js +1 -0
  42. package/es/components/multi-chat/src/components/ChatFooter.vue.d.ts +17 -0
  43. package/es/components/multi-chat/src/components/ChatFooter.vue.js +1 -0
  44. package/es/components/multi-chat/src/components/ChatFooter.vue2.js +1 -0
  45. package/es/components/multi-chat/src/components/ChatHeader.vue.d.ts +7 -0
  46. package/es/components/multi-chat/src/components/ChatHeader.vue.js +1 -0
  47. package/es/components/multi-chat/src/components/ChatHeader.vue2.js +1 -0
  48. package/es/components/multi-chat/src/components/ChatMain.vue.d.ts +13 -0
  49. package/es/components/multi-chat/src/components/ChatMain.vue.js +1 -0
  50. package/es/components/multi-chat/src/components/ChatMain.vue2.js +1 -0
  51. package/es/components/multi-chat/src/components/SiderList.vue.d.ts +41 -0
  52. package/es/components/multi-chat/src/components/SiderList.vue.js +1 -0
  53. package/es/components/multi-chat/src/components/SiderList.vue2.js +1 -0
  54. package/es/components/multi-chat/src/utils/chatSock.d.ts +28 -0
  55. package/es/components/multi-chat/src/utils/chatSock.js +1 -0
  56. package/es/components/multi-chat/style/index.css +1 -0
  57. package/es/components/scale-view/index.d.ts +28 -0
  58. package/es/components/scale-view/src/ScaleView.vue.d.ts +28 -0
  59. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  60. package/es/components/scale-view/style/index.css +1 -1
  61. package/es/components/shortcut-setter/index.d.ts +2 -2
  62. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -2
  63. package/es/components/steps-wheel/index.d.ts +27 -0
  64. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +27 -0
  65. package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -1
  66. package/es/components/steps-wheel/src/constants/index.js +1 -1
  67. package/es/components/steps-wheel/style/index.css +1 -1
  68. package/es/shared/package.json.js +1 -1
  69. package/package.json +4 -2
@@ -0,0 +1,1023 @@
1
+ import { SFCWithInstall } from '../../../es/shared/types';
2
+ declare const MultiChat: SFCWithInstall<import("vue").DefineComponent<{
3
+ data: {
4
+ type: import("vue").PropType<{
5
+ chatType: string | number;
6
+ orgId: string;
7
+ userId: string;
8
+ name: string;
9
+ userType: string;
10
+ source: string | number;
11
+ }>;
12
+ default: () => {};
13
+ };
14
+ baseURL: {
15
+ type: StringConstructor;
16
+ defalut: string;
17
+ };
18
+ }, {
19
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
20
+ data: {
21
+ type: import("vue").PropType<{
22
+ chatType: string | number;
23
+ orgId: string;
24
+ userId: string;
25
+ name: string;
26
+ userType: string;
27
+ source: string | number;
28
+ }>;
29
+ default: () => {};
30
+ };
31
+ baseURL: {
32
+ type: StringConstructor;
33
+ defalut: string;
34
+ };
35
+ }>> & {}>>;
36
+ collapsed: import("vue").Ref<boolean>;
37
+ loading: import("vue").Ref<boolean>;
38
+ stompClient: import("./src/utils/chatSock").ChatSock | null;
39
+ state: import("../../../es/shared/types").AnyObject;
40
+ init: () => Promise<void>;
41
+ initWebSocket: () => void;
42
+ subscribeSession: () => void;
43
+ subscribeMessage: () => void;
44
+ subscribeMessageRecord: () => void;
45
+ handleAccess: () => Promise<void>;
46
+ readMessage: () => Promise<void>;
47
+ setCurrentSessionItem: (item: import("../../../es/shared/types").AnyObject) => void;
48
+ setMsgList: (list?: import("../../../es/shared/types").AnyObject[]) => void;
49
+ setCurrentMsg: (msgObj: import("../../../es/shared/types").AnyObject) => void;
50
+ setIsAppendMsg: (isAppendMsg: boolean) => void;
51
+ setSessionList: (sessionList: import("../../../es/shared/types").AnyObject[]) => void;
52
+ setIsChangeSession: (isChangeSession: boolean) => void;
53
+ setIsUpdateSession: (isUpdateSession: boolean) => void;
54
+ onUpdateCollapsed: (_collapsed: boolean) => Promise<void>;
55
+ NLayout: any;
56
+ NLayoutSider: import("vue").DefineComponent<{
57
+ position: {
58
+ readonly type: import("vue").PropType<"absolute" | "static">;
59
+ readonly default: "static";
60
+ };
61
+ bordered: BooleanConstructor;
62
+ collapsedWidth: {
63
+ readonly type: NumberConstructor;
64
+ readonly default: 48;
65
+ };
66
+ width: {
67
+ readonly type: import("vue").PropType<string | number>;
68
+ readonly default: 272;
69
+ };
70
+ contentStyle: {
71
+ readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
72
+ readonly default: "";
73
+ };
74
+ collapseMode: {
75
+ readonly type: import("vue").PropType<"transform" | "width">;
76
+ readonly default: "transform";
77
+ };
78
+ collapsed: {
79
+ readonly type: import("vue").PropType<boolean | undefined>;
80
+ readonly default: undefined;
81
+ };
82
+ defaultCollapsed: BooleanConstructor;
83
+ showCollapsedContent: {
84
+ readonly type: BooleanConstructor;
85
+ readonly default: true;
86
+ };
87
+ showTrigger: {
88
+ readonly type: import("vue").PropType<boolean | "bar" | "arrow-circle">;
89
+ readonly default: false;
90
+ };
91
+ nativeScrollbar: {
92
+ readonly type: BooleanConstructor;
93
+ readonly default: true;
94
+ };
95
+ inverted: BooleanConstructor;
96
+ scrollbarProps: import("vue").PropType<Partial<import("naive-ui/es/_internal").ScrollbarProps> & {
97
+ style: import("vue").CSSProperties;
98
+ }>;
99
+ triggerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
100
+ collapsedTriggerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
101
+ 'onUpdate:collapsed': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
102
+ onUpdateCollapsed: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
103
+ onAfterEnter: import("vue").PropType<() => void>;
104
+ onAfterLeave: import("vue").PropType<() => void>;
105
+ onExpand: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<() => void>>;
106
+ onCollapse: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<() => void>>;
107
+ onScroll: import("vue").PropType<(e: Event) => void>;
108
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Layout", {
109
+ textColor: string;
110
+ textColorInverted: string;
111
+ color: string;
112
+ colorEmbedded: string;
113
+ headerColor: string;
114
+ headerColorInverted: string;
115
+ footerColor: string;
116
+ footerColorInverted: string;
117
+ headerBorderColor: string;
118
+ headerBorderColorInverted: string;
119
+ footerBorderColor: string;
120
+ footerBorderColorInverted: string;
121
+ siderBorderColor: string;
122
+ siderBorderColorInverted: string;
123
+ siderColor: string;
124
+ siderColorInverted: string;
125
+ siderToggleButtonBorder: string;
126
+ siderToggleButtonColor: string;
127
+ siderToggleButtonIconColor: string;
128
+ siderToggleButtonIconColorInverted: string;
129
+ siderToggleBarColor: string;
130
+ siderToggleBarColorHover: string;
131
+ __invertScrollbar: string;
132
+ }, {
133
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
134
+ color: string;
135
+ colorHover: string;
136
+ }, any>;
137
+ }>>;
138
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
139
+ textColor: string;
140
+ textColorInverted: string;
141
+ color: string;
142
+ colorEmbedded: string;
143
+ headerColor: string;
144
+ headerColorInverted: string;
145
+ footerColor: string;
146
+ footerColorInverted: string;
147
+ headerBorderColor: string;
148
+ headerBorderColorInverted: string;
149
+ footerBorderColor: string;
150
+ footerBorderColorInverted: string;
151
+ siderBorderColor: string;
152
+ siderBorderColorInverted: string;
153
+ siderColor: string;
154
+ siderColorInverted: string;
155
+ siderToggleButtonBorder: string;
156
+ siderToggleButtonColor: string;
157
+ siderToggleButtonIconColor: string;
158
+ siderToggleButtonIconColorInverted: string;
159
+ siderToggleBarColor: string;
160
+ siderToggleBarColorHover: string;
161
+ __invertScrollbar: string;
162
+ }, {
163
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
164
+ color: string;
165
+ colorHover: string;
166
+ }, any>;
167
+ }>>>;
168
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
169
+ textColor: string;
170
+ textColorInverted: string;
171
+ color: string;
172
+ colorEmbedded: string;
173
+ headerColor: string;
174
+ headerColorInverted: string;
175
+ footerColor: string;
176
+ footerColorInverted: string;
177
+ headerBorderColor: string;
178
+ headerBorderColorInverted: string;
179
+ footerBorderColor: string;
180
+ footerBorderColorInverted: string;
181
+ siderBorderColor: string;
182
+ siderBorderColorInverted: string;
183
+ siderColor: string;
184
+ siderColorInverted: string;
185
+ siderToggleButtonBorder: string;
186
+ siderToggleButtonColor: string;
187
+ siderToggleButtonIconColor: string;
188
+ siderToggleButtonIconColorInverted: string;
189
+ siderToggleBarColor: string;
190
+ siderToggleBarColorHover: string;
191
+ __invertScrollbar: string;
192
+ }, {
193
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
194
+ color: string;
195
+ colorHover: string;
196
+ }, any>;
197
+ }>>>;
198
+ }, {
199
+ scrollTo: ((options: ScrollToOptions) => void) & ((x: number, y: number) => void);
200
+ scrollableElRef: import("vue").Ref<HTMLElement | null>;
201
+ scrollbarInstRef: import("vue").Ref<{
202
+ $el: HTMLElement;
203
+ containerRef: HTMLElement | null;
204
+ contentRef: HTMLElement | null;
205
+ containerScrollTop: number;
206
+ syncUnifiedContainer: () => void;
207
+ scrollTo: import("naive-ui/es/_internal/scrollbar/src/Scrollbar").ScrollTo;
208
+ scrollBy: import("naive-ui/es/_internal/scrollbar/src/Scrollbar").ScrollBy;
209
+ sync: () => void;
210
+ handleMouseEnterWrapper: () => void;
211
+ handleMouseLeaveWrapper: () => void;
212
+ } | null>;
213
+ mergedClsPrefix: import("vue").ComputedRef<string>;
214
+ mergedTheme: import("vue").ComputedRef<{
215
+ common: {
216
+ baseColor: string;
217
+ primaryColor: string;
218
+ primaryColorHover: string;
219
+ primaryColorPressed: string;
220
+ primaryColorSuppl: string;
221
+ infoColor: string;
222
+ infoColorHover: string;
223
+ infoColorPressed: string;
224
+ infoColorSuppl: string;
225
+ successColor: string;
226
+ successColorHover: string;
227
+ successColorPressed: string;
228
+ successColorSuppl: string;
229
+ warningColor: string;
230
+ warningColorHover: string;
231
+ warningColorPressed: string;
232
+ warningColorSuppl: string;
233
+ errorColor: string;
234
+ errorColorHover: string;
235
+ errorColorPressed: string;
236
+ errorColorSuppl: string;
237
+ textColorBase: string;
238
+ textColor1: string;
239
+ textColor2: string;
240
+ textColor3: string;
241
+ textColorDisabled: string;
242
+ placeholderColor: string;
243
+ placeholderColorDisabled: string;
244
+ iconColor: string;
245
+ iconColorHover: string;
246
+ iconColorPressed: string;
247
+ iconColorDisabled: string;
248
+ opacity1: string;
249
+ opacity2: string;
250
+ opacity3: string;
251
+ opacity4: string;
252
+ opacity5: string;
253
+ dividerColor: string;
254
+ borderColor: string;
255
+ closeIconColor: string;
256
+ closeIconColorHover: string;
257
+ closeIconColorPressed: string;
258
+ closeColorHover: string;
259
+ closeColorPressed: string;
260
+ clearColor: string;
261
+ clearColorHover: string;
262
+ clearColorPressed: string;
263
+ scrollbarColor: string;
264
+ scrollbarColorHover: string;
265
+ scrollbarWidth: string;
266
+ scrollbarHeight: string;
267
+ scrollbarBorderRadius: string;
268
+ progressRailColor: string;
269
+ railColor: string;
270
+ popoverColor: string;
271
+ tableColor: string;
272
+ cardColor: string;
273
+ modalColor: string;
274
+ bodyColor: string;
275
+ tagColor: string;
276
+ avatarColor: string;
277
+ invertedColor: string;
278
+ inputColor: string;
279
+ codeColor: string;
280
+ tabColor: string;
281
+ actionColor: string;
282
+ tableHeaderColor: string;
283
+ hoverColor: string;
284
+ tableColorHover: string;
285
+ tableColorStriped: string;
286
+ pressedColor: string;
287
+ opacityDisabled: string;
288
+ inputColorDisabled: string;
289
+ buttonColor2: string;
290
+ buttonColor2Hover: string;
291
+ buttonColor2Pressed: string;
292
+ boxShadow1: string;
293
+ boxShadow2: string;
294
+ boxShadow3: string;
295
+ fontFamily: string;
296
+ fontFamilyMono: string;
297
+ fontWeight: string;
298
+ fontWeightStrong: string;
299
+ cubicBezierEaseInOut: string;
300
+ cubicBezierEaseOut: string;
301
+ cubicBezierEaseIn: string;
302
+ borderRadius: string;
303
+ borderRadiusSmall: string;
304
+ fontSize: string;
305
+ fontSizeMini: string;
306
+ fontSizeTiny: string;
307
+ fontSizeSmall: string;
308
+ fontSizeMedium: string;
309
+ fontSizeLarge: string;
310
+ fontSizeHuge: string;
311
+ lineHeight: string;
312
+ heightMini: string;
313
+ heightTiny: string;
314
+ heightSmall: string;
315
+ heightMedium: string;
316
+ heightLarge: string;
317
+ heightHuge: string;
318
+ name: "common";
319
+ };
320
+ self: {
321
+ textColor: string;
322
+ textColorInverted: string;
323
+ color: string;
324
+ colorEmbedded: string;
325
+ headerColor: string;
326
+ headerColorInverted: string;
327
+ footerColor: string;
328
+ footerColorInverted: string;
329
+ headerBorderColor: string;
330
+ headerBorderColorInverted: string;
331
+ footerBorderColor: string;
332
+ footerBorderColorInverted: string;
333
+ siderBorderColor: string;
334
+ siderBorderColorInverted: string;
335
+ siderColor: string;
336
+ siderColorInverted: string;
337
+ siderToggleButtonBorder: string;
338
+ siderToggleButtonColor: string;
339
+ siderToggleButtonIconColor: string;
340
+ siderToggleButtonIconColorInverted: string;
341
+ siderToggleBarColor: string;
342
+ siderToggleBarColorHover: string;
343
+ __invertScrollbar: string;
344
+ };
345
+ peers: {
346
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
347
+ color: string;
348
+ colorHover: string;
349
+ }, any>;
350
+ };
351
+ peerOverrides: {
352
+ Scrollbar?: {
353
+ peers?: {
354
+ [x: string]: any;
355
+ } | undefined;
356
+ } | undefined;
357
+ };
358
+ }>;
359
+ styleMaxWidth: import("vue").ComputedRef<string>;
360
+ mergedCollapsed: import("vue").ComputedRef<boolean>;
361
+ scrollContainerStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
362
+ siderPlacement: import("vue").ComputedRef<"left" | "right">;
363
+ handleNativeElScroll: (e: Event) => void;
364
+ handleTransitionend: (e: TransitionEvent) => void;
365
+ handleTriggerClick: () => void;
366
+ inlineThemeDisabled: boolean | undefined;
367
+ cssVars: import("vue").ComputedRef<any>;
368
+ themeClass: import("vue").Ref<string> | undefined;
369
+ onRender: (() => void) | undefined;
370
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
371
+ position: {
372
+ readonly type: import("vue").PropType<"absolute" | "static">;
373
+ readonly default: "static";
374
+ };
375
+ bordered: BooleanConstructor;
376
+ collapsedWidth: {
377
+ readonly type: NumberConstructor;
378
+ readonly default: 48;
379
+ };
380
+ width: {
381
+ readonly type: import("vue").PropType<string | number>;
382
+ readonly default: 272;
383
+ };
384
+ contentStyle: {
385
+ readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
386
+ readonly default: "";
387
+ };
388
+ collapseMode: {
389
+ readonly type: import("vue").PropType<"transform" | "width">;
390
+ readonly default: "transform";
391
+ };
392
+ collapsed: {
393
+ readonly type: import("vue").PropType<boolean | undefined>;
394
+ readonly default: undefined;
395
+ };
396
+ defaultCollapsed: BooleanConstructor;
397
+ showCollapsedContent: {
398
+ readonly type: BooleanConstructor;
399
+ readonly default: true;
400
+ };
401
+ showTrigger: {
402
+ readonly type: import("vue").PropType<boolean | "bar" | "arrow-circle">;
403
+ readonly default: false;
404
+ };
405
+ nativeScrollbar: {
406
+ readonly type: BooleanConstructor;
407
+ readonly default: true;
408
+ };
409
+ inverted: BooleanConstructor;
410
+ scrollbarProps: import("vue").PropType<Partial<import("naive-ui/es/_internal").ScrollbarProps> & {
411
+ style: import("vue").CSSProperties;
412
+ }>;
413
+ triggerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
414
+ collapsedTriggerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
415
+ 'onUpdate:collapsed': import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
416
+ onUpdateCollapsed: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
417
+ onAfterEnter: import("vue").PropType<() => void>;
418
+ onAfterLeave: import("vue").PropType<() => void>;
419
+ onExpand: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<() => void>>;
420
+ onCollapse: import("vue").PropType<import("naive-ui/es/_utils").MaybeArray<() => void>>;
421
+ onScroll: import("vue").PropType<(e: Event) => void>;
422
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Layout", {
423
+ textColor: string;
424
+ textColorInverted: string;
425
+ color: string;
426
+ colorEmbedded: string;
427
+ headerColor: string;
428
+ headerColorInverted: string;
429
+ footerColor: string;
430
+ footerColorInverted: string;
431
+ headerBorderColor: string;
432
+ headerBorderColorInverted: string;
433
+ footerBorderColor: string;
434
+ footerBorderColorInverted: string;
435
+ siderBorderColor: string;
436
+ siderBorderColorInverted: string;
437
+ siderColor: string;
438
+ siderColorInverted: string;
439
+ siderToggleButtonBorder: string;
440
+ siderToggleButtonColor: string;
441
+ siderToggleButtonIconColor: string;
442
+ siderToggleButtonIconColorInverted: string;
443
+ siderToggleBarColor: string;
444
+ siderToggleBarColorHover: string;
445
+ __invertScrollbar: string;
446
+ }, {
447
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
448
+ color: string;
449
+ colorHover: string;
450
+ }, any>;
451
+ }>>;
452
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
453
+ textColor: string;
454
+ textColorInverted: string;
455
+ color: string;
456
+ colorEmbedded: string;
457
+ headerColor: string;
458
+ headerColorInverted: string;
459
+ footerColor: string;
460
+ footerColorInverted: string;
461
+ headerBorderColor: string;
462
+ headerBorderColorInverted: string;
463
+ footerBorderColor: string;
464
+ footerBorderColorInverted: string;
465
+ siderBorderColor: string;
466
+ siderBorderColorInverted: string;
467
+ siderColor: string;
468
+ siderColorInverted: string;
469
+ siderToggleButtonBorder: string;
470
+ siderToggleButtonColor: string;
471
+ siderToggleButtonIconColor: string;
472
+ siderToggleButtonIconColorInverted: string;
473
+ siderToggleBarColor: string;
474
+ siderToggleBarColorHover: string;
475
+ __invertScrollbar: string;
476
+ }, {
477
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
478
+ color: string;
479
+ colorHover: string;
480
+ }, any>;
481
+ }>>>;
482
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
483
+ textColor: string;
484
+ textColorInverted: string;
485
+ color: string;
486
+ colorEmbedded: string;
487
+ headerColor: string;
488
+ headerColorInverted: string;
489
+ footerColor: string;
490
+ footerColorInverted: string;
491
+ headerBorderColor: string;
492
+ headerBorderColorInverted: string;
493
+ footerBorderColor: string;
494
+ footerBorderColorInverted: string;
495
+ siderBorderColor: string;
496
+ siderBorderColorInverted: string;
497
+ siderColor: string;
498
+ siderColorInverted: string;
499
+ siderToggleButtonBorder: string;
500
+ siderToggleButtonColor: string;
501
+ siderToggleButtonIconColor: string;
502
+ siderToggleButtonIconColorInverted: string;
503
+ siderToggleBarColor: string;
504
+ siderToggleBarColorHover: string;
505
+ __invertScrollbar: string;
506
+ }, {
507
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
508
+ color: string;
509
+ colorHover: string;
510
+ }, any>;
511
+ }>>>;
512
+ }>>, {
513
+ position: "absolute" | "static";
514
+ width: string | number;
515
+ bordered: boolean;
516
+ contentStyle: string | import("vue").CSSProperties;
517
+ inverted: boolean;
518
+ collapsed: boolean | undefined;
519
+ nativeScrollbar: boolean;
520
+ collapsedWidth: number;
521
+ collapseMode: "transform" | "width";
522
+ defaultCollapsed: boolean;
523
+ showCollapsedContent: boolean;
524
+ showTrigger: boolean | "bar" | "arrow-circle";
525
+ }>;
526
+ NLayoutContent: import("vue").DefineComponent<{
527
+ embedded: BooleanConstructor;
528
+ position: {
529
+ readonly type: import("vue").PropType<"absolute" | "static">;
530
+ readonly default: "static";
531
+ };
532
+ nativeScrollbar: {
533
+ readonly type: BooleanConstructor;
534
+ readonly default: true;
535
+ };
536
+ scrollbarProps: import("vue").PropType<Partial<import("naive-ui/es/_internal").ScrollbarProps>>;
537
+ onScroll: import("vue").PropType<(e: Event) => void>;
538
+ contentStyle: {
539
+ readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
540
+ readonly default: "";
541
+ };
542
+ hasSider: BooleanConstructor;
543
+ siderPlacement: {
544
+ readonly type: import("vue").PropType<"left" | "right">;
545
+ readonly default: "left";
546
+ };
547
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Layout", {
548
+ textColor: string;
549
+ textColorInverted: string;
550
+ color: string;
551
+ colorEmbedded: string;
552
+ headerColor: string;
553
+ headerColorInverted: string;
554
+ footerColor: string;
555
+ footerColorInverted: string;
556
+ headerBorderColor: string;
557
+ headerBorderColorInverted: string;
558
+ footerBorderColor: string;
559
+ footerBorderColorInverted: string;
560
+ siderBorderColor: string;
561
+ siderBorderColorInverted: string;
562
+ siderColor: string;
563
+ siderColorInverted: string;
564
+ siderToggleButtonBorder: string;
565
+ siderToggleButtonColor: string;
566
+ siderToggleButtonIconColor: string;
567
+ siderToggleButtonIconColorInverted: string;
568
+ siderToggleBarColor: string;
569
+ siderToggleBarColorHover: string;
570
+ __invertScrollbar: string;
571
+ }, {
572
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
573
+ color: string;
574
+ colorHover: string;
575
+ }, any>;
576
+ }>>;
577
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
578
+ textColor: string;
579
+ textColorInverted: string;
580
+ color: string;
581
+ colorEmbedded: string;
582
+ headerColor: string;
583
+ headerColorInverted: string;
584
+ footerColor: string;
585
+ footerColorInverted: string;
586
+ headerBorderColor: string;
587
+ headerBorderColorInverted: string;
588
+ footerBorderColor: string;
589
+ footerBorderColorInverted: string;
590
+ siderBorderColor: string;
591
+ siderBorderColorInverted: string;
592
+ siderColor: string;
593
+ siderColorInverted: string;
594
+ siderToggleButtonBorder: string;
595
+ siderToggleButtonColor: string;
596
+ siderToggleButtonIconColor: string;
597
+ siderToggleButtonIconColorInverted: string;
598
+ siderToggleBarColor: string;
599
+ siderToggleBarColorHover: string;
600
+ __invertScrollbar: string;
601
+ }, {
602
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
603
+ color: string;
604
+ colorHover: string;
605
+ }, any>;
606
+ }>>>;
607
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
608
+ textColor: string;
609
+ textColorInverted: string;
610
+ color: string;
611
+ colorEmbedded: string;
612
+ headerColor: string;
613
+ headerColorInverted: string;
614
+ footerColor: string;
615
+ footerColorInverted: string;
616
+ headerBorderColor: string;
617
+ headerBorderColorInverted: string;
618
+ footerBorderColor: string;
619
+ footerBorderColorInverted: string;
620
+ siderBorderColor: string;
621
+ siderBorderColorInverted: string;
622
+ siderColor: string;
623
+ siderColorInverted: string;
624
+ siderToggleButtonBorder: string;
625
+ siderToggleButtonColor: string;
626
+ siderToggleButtonIconColor: string;
627
+ siderToggleButtonIconColorInverted: string;
628
+ siderToggleBarColor: string;
629
+ siderToggleBarColorHover: string;
630
+ __invertScrollbar: string;
631
+ }, {
632
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
633
+ color: string;
634
+ colorHover: string;
635
+ }, any>;
636
+ }>>>;
637
+ }, {
638
+ scrollTo: ((options: ScrollToOptions) => void) & ((x: number, y: number) => void);
639
+ mergedClsPrefix: import("vue").ComputedRef<string>;
640
+ scrollableElRef: import("vue").Ref<HTMLElement | null>;
641
+ scrollbarInstRef: import("vue").Ref<{
642
+ $el: HTMLElement;
643
+ containerRef: HTMLElement | null;
644
+ contentRef: HTMLElement | null;
645
+ containerScrollTop: number;
646
+ syncUnifiedContainer: () => void;
647
+ scrollTo: import("naive-ui/es/_internal/scrollbar/src/Scrollbar").ScrollTo;
648
+ scrollBy: import("naive-ui/es/_internal/scrollbar/src/Scrollbar").ScrollBy;
649
+ sync: () => void;
650
+ handleMouseEnterWrapper: () => void;
651
+ handleMouseLeaveWrapper: () => void;
652
+ } | null>;
653
+ hasSiderStyle: import("vue").CSSProperties;
654
+ mergedTheme: import("vue").ComputedRef<{
655
+ common: {
656
+ baseColor: string;
657
+ primaryColor: string;
658
+ primaryColorHover: string;
659
+ primaryColorPressed: string;
660
+ primaryColorSuppl: string;
661
+ infoColor: string;
662
+ infoColorHover: string;
663
+ infoColorPressed: string;
664
+ infoColorSuppl: string;
665
+ successColor: string;
666
+ successColorHover: string;
667
+ successColorPressed: string;
668
+ successColorSuppl: string;
669
+ warningColor: string;
670
+ warningColorHover: string;
671
+ warningColorPressed: string;
672
+ warningColorSuppl: string;
673
+ errorColor: string;
674
+ errorColorHover: string;
675
+ errorColorPressed: string;
676
+ errorColorSuppl: string;
677
+ textColorBase: string;
678
+ textColor1: string;
679
+ textColor2: string;
680
+ textColor3: string;
681
+ textColorDisabled: string;
682
+ placeholderColor: string;
683
+ placeholderColorDisabled: string;
684
+ iconColor: string;
685
+ iconColorHover: string;
686
+ iconColorPressed: string;
687
+ iconColorDisabled: string;
688
+ opacity1: string;
689
+ opacity2: string;
690
+ opacity3: string;
691
+ opacity4: string;
692
+ opacity5: string;
693
+ dividerColor: string;
694
+ borderColor: string;
695
+ closeIconColor: string;
696
+ closeIconColorHover: string;
697
+ closeIconColorPressed: string;
698
+ closeColorHover: string;
699
+ closeColorPressed: string;
700
+ clearColor: string;
701
+ clearColorHover: string;
702
+ clearColorPressed: string;
703
+ scrollbarColor: string;
704
+ scrollbarColorHover: string;
705
+ scrollbarWidth: string;
706
+ scrollbarHeight: string;
707
+ scrollbarBorderRadius: string;
708
+ progressRailColor: string;
709
+ railColor: string;
710
+ popoverColor: string;
711
+ tableColor: string;
712
+ cardColor: string;
713
+ modalColor: string;
714
+ bodyColor: string;
715
+ tagColor: string;
716
+ avatarColor: string;
717
+ invertedColor: string;
718
+ inputColor: string;
719
+ codeColor: string;
720
+ tabColor: string;
721
+ actionColor: string;
722
+ tableHeaderColor: string;
723
+ hoverColor: string;
724
+ tableColorHover: string;
725
+ tableColorStriped: string;
726
+ pressedColor: string;
727
+ opacityDisabled: string;
728
+ inputColorDisabled: string;
729
+ buttonColor2: string;
730
+ buttonColor2Hover: string;
731
+ buttonColor2Pressed: string;
732
+ boxShadow1: string;
733
+ boxShadow2: string;
734
+ boxShadow3: string;
735
+ fontFamily: string;
736
+ fontFamilyMono: string;
737
+ fontWeight: string;
738
+ fontWeightStrong: string;
739
+ cubicBezierEaseInOut: string;
740
+ cubicBezierEaseOut: string;
741
+ cubicBezierEaseIn: string;
742
+ borderRadius: string;
743
+ borderRadiusSmall: string;
744
+ fontSize: string;
745
+ fontSizeMini: string;
746
+ fontSizeTiny: string;
747
+ fontSizeSmall: string;
748
+ fontSizeMedium: string;
749
+ fontSizeLarge: string;
750
+ fontSizeHuge: string;
751
+ lineHeight: string;
752
+ heightMini: string;
753
+ heightTiny: string;
754
+ heightSmall: string;
755
+ heightMedium: string;
756
+ heightLarge: string;
757
+ heightHuge: string;
758
+ name: "common";
759
+ };
760
+ self: {
761
+ textColor: string;
762
+ textColorInverted: string;
763
+ color: string;
764
+ colorEmbedded: string;
765
+ headerColor: string;
766
+ headerColorInverted: string;
767
+ footerColor: string;
768
+ footerColorInverted: string;
769
+ headerBorderColor: string;
770
+ headerBorderColorInverted: string;
771
+ footerBorderColor: string;
772
+ footerBorderColorInverted: string;
773
+ siderBorderColor: string;
774
+ siderBorderColorInverted: string;
775
+ siderColor: string;
776
+ siderColorInverted: string;
777
+ siderToggleButtonBorder: string;
778
+ siderToggleButtonColor: string;
779
+ siderToggleButtonIconColor: string;
780
+ siderToggleButtonIconColorInverted: string;
781
+ siderToggleBarColor: string;
782
+ siderToggleBarColorHover: string;
783
+ __invertScrollbar: string;
784
+ };
785
+ peers: {
786
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
787
+ color: string;
788
+ colorHover: string;
789
+ }, any>;
790
+ };
791
+ peerOverrides: {
792
+ Scrollbar?: {
793
+ peers?: {
794
+ [x: string]: any;
795
+ } | undefined;
796
+ } | undefined;
797
+ };
798
+ }>;
799
+ handleNativeElScroll: (e: Event) => void;
800
+ cssVars: import("vue").ComputedRef<{
801
+ '--n-bezier': string;
802
+ '--n-color': string;
803
+ '--n-text-color': string;
804
+ }> | undefined;
805
+ themeClass: import("vue").Ref<string> | undefined;
806
+ onRender: (() => void) | undefined;
807
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
808
+ embedded: BooleanConstructor;
809
+ position: {
810
+ readonly type: import("vue").PropType<"absolute" | "static">;
811
+ readonly default: "static";
812
+ };
813
+ nativeScrollbar: {
814
+ readonly type: BooleanConstructor;
815
+ readonly default: true;
816
+ };
817
+ scrollbarProps: import("vue").PropType<Partial<import("naive-ui/es/_internal").ScrollbarProps>>;
818
+ onScroll: import("vue").PropType<(e: Event) => void>;
819
+ contentStyle: {
820
+ readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
821
+ readonly default: "";
822
+ };
823
+ hasSider: BooleanConstructor;
824
+ siderPlacement: {
825
+ readonly type: import("vue").PropType<"left" | "right">;
826
+ readonly default: "left";
827
+ };
828
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Layout", {
829
+ textColor: string;
830
+ textColorInverted: string;
831
+ color: string;
832
+ colorEmbedded: string;
833
+ headerColor: string;
834
+ headerColorInverted: string;
835
+ footerColor: string;
836
+ footerColorInverted: string;
837
+ headerBorderColor: string;
838
+ headerBorderColorInverted: string;
839
+ footerBorderColor: string;
840
+ footerBorderColorInverted: string;
841
+ siderBorderColor: string;
842
+ siderBorderColorInverted: string;
843
+ siderColor: string;
844
+ siderColorInverted: string;
845
+ siderToggleButtonBorder: string;
846
+ siderToggleButtonColor: string;
847
+ siderToggleButtonIconColor: string;
848
+ siderToggleButtonIconColorInverted: string;
849
+ siderToggleBarColor: string;
850
+ siderToggleBarColorHover: string;
851
+ __invertScrollbar: string;
852
+ }, {
853
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
854
+ color: string;
855
+ colorHover: string;
856
+ }, any>;
857
+ }>>;
858
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
859
+ textColor: string;
860
+ textColorInverted: string;
861
+ color: string;
862
+ colorEmbedded: string;
863
+ headerColor: string;
864
+ headerColorInverted: string;
865
+ footerColor: string;
866
+ footerColorInverted: string;
867
+ headerBorderColor: string;
868
+ headerBorderColorInverted: string;
869
+ footerBorderColor: string;
870
+ footerBorderColorInverted: string;
871
+ siderBorderColor: string;
872
+ siderBorderColorInverted: string;
873
+ siderColor: string;
874
+ siderColorInverted: string;
875
+ siderToggleButtonBorder: string;
876
+ siderToggleButtonColor: string;
877
+ siderToggleButtonIconColor: string;
878
+ siderToggleButtonIconColorInverted: string;
879
+ siderToggleBarColor: string;
880
+ siderToggleBarColorHover: string;
881
+ __invertScrollbar: string;
882
+ }, {
883
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
884
+ color: string;
885
+ colorHover: string;
886
+ }, any>;
887
+ }>>>;
888
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Layout", {
889
+ textColor: string;
890
+ textColorInverted: string;
891
+ color: string;
892
+ colorEmbedded: string;
893
+ headerColor: string;
894
+ headerColorInverted: string;
895
+ footerColor: string;
896
+ footerColorInverted: string;
897
+ headerBorderColor: string;
898
+ headerBorderColorInverted: string;
899
+ footerBorderColor: string;
900
+ footerBorderColorInverted: string;
901
+ siderBorderColor: string;
902
+ siderBorderColorInverted: string;
903
+ siderColor: string;
904
+ siderColorInverted: string;
905
+ siderToggleButtonBorder: string;
906
+ siderToggleButtonColor: string;
907
+ siderToggleButtonIconColor: string;
908
+ siderToggleButtonIconColorInverted: string;
909
+ siderToggleBarColor: string;
910
+ siderToggleBarColorHover: string;
911
+ __invertScrollbar: string;
912
+ }, {
913
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
914
+ color: string;
915
+ colorHover: string;
916
+ }, any>;
917
+ }>>>;
918
+ }>>, {
919
+ position: "absolute" | "static";
920
+ contentStyle: string | import("vue").CSSProperties;
921
+ embedded: boolean;
922
+ nativeScrollbar: boolean;
923
+ hasSider: boolean;
924
+ siderPlacement: "left" | "right";
925
+ }>;
926
+ NSpin: any;
927
+ SiderList: import("vue").DefineComponent<{
928
+ collapsed: {
929
+ type: BooleanConstructor;
930
+ default: boolean;
931
+ };
932
+ }, {
933
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
934
+ collapsed: {
935
+ type: BooleanConstructor;
936
+ default: boolean;
937
+ };
938
+ }>> & {}>>;
939
+ state: import("../../../es/shared/types").AnyObject;
940
+ setCurrentSessionItem: Function;
941
+ setSessionList: Function;
942
+ setIsChangeSession: Function;
943
+ setIsUpdateSession: Function;
944
+ listBoxRef: import("vue").Ref<HTMLElement | undefined>;
945
+ keyword: import("vue").Ref<string>;
946
+ sessionList: import("vue").Ref<import("../../../es/shared/types").AnyObject[]>;
947
+ loading: import("vue").Ref<boolean>;
948
+ pageNum: number;
949
+ init: () => void;
950
+ handleSearch: () => void;
951
+ getMySessionList: () => Promise<void>;
952
+ entrySession: (item: import("../../../es/shared/types").AnyObject) => void;
953
+ sessionChange: (sessionItem: import("../../../es/shared/types").AnyObject) => void;
954
+ NSpin: any;
955
+ NBadge: any;
956
+ NAvatar: any;
957
+ NInput: any;
958
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
959
+ collapsed: {
960
+ type: BooleanConstructor;
961
+ default: boolean;
962
+ };
963
+ }>>, {
964
+ collapsed: boolean;
965
+ }>;
966
+ ChatHeader: import("vue").DefineComponent<{}, {
967
+ state: import("../../../es/shared/types").AnyObject;
968
+ username: import("vue").ComputedRef<any>;
969
+ NAvatar: any;
970
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
971
+ ChatMain: import("vue").DefineComponent<{}, {
972
+ state: import("../../../es/shared/types").AnyObject;
973
+ setMsgList: Function;
974
+ setIsAppendMsg: Function;
975
+ chatMainRef: import("vue").Ref<HTMLElement | undefined>;
976
+ getHistoryRecord: () => Promise<void>;
977
+ accessSession: (lastSessionId: string) => Promise<void>;
978
+ isNeedShowTime: (item: import("../../../es/shared/types").AnyObject, index: number) => boolean;
979
+ setScrollToButtom: () => Promise<void>;
980
+ NAvatar: any;
981
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
982
+ ChatFooter: import("vue").DefineComponent<{}, {
983
+ inputRef: import("vue").Ref<HTMLDivElement | undefined>;
984
+ state: import("../../../es/shared/types").AnyObject;
985
+ setCurrentMsg: Function;
986
+ setIsAppendMsg: Function;
987
+ setCurrentSessionItem: Function;
988
+ setIsChangeSession: Function;
989
+ content: import("vue").Ref<string>;
990
+ handleKeyDown: (event: KeyboardEvent) => void;
991
+ isWrap: (event: KeyboardEvent) => boolean;
992
+ handleInput: () => void;
993
+ handleMsgSend: () => void;
994
+ sendMessage: () => Promise<void>;
995
+ NButton: any;
996
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
997
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
998
+ data: {
999
+ type: import("vue").PropType<{
1000
+ chatType: string | number;
1001
+ orgId: string;
1002
+ userId: string;
1003
+ name: string;
1004
+ userType: string;
1005
+ source: string | number;
1006
+ }>;
1007
+ default: () => {};
1008
+ };
1009
+ baseURL: {
1010
+ type: StringConstructor;
1011
+ defalut: string;
1012
+ };
1013
+ }>>, {
1014
+ data: {
1015
+ chatType: string | number;
1016
+ orgId: string;
1017
+ userId: string;
1018
+ name: string;
1019
+ userType: string;
1020
+ source: string | number;
1021
+ };
1022
+ }>>;
1023
+ export default MultiChat;