cnhis-design-vue 3.2.7-beta.3 → 3.2.7-beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +2 -0
  3. package/es/components/base-search/src/index.vue.d.ts +2 -0
  4. package/es/components/button-print/index.d.ts +27 -0
  5. package/es/components/button-print/src/ButtonPrint.vue.d.ts +27 -0
  6. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  7. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
  8. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  9. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  11. package/es/components/button-print/style/index.css +1 -1
  12. package/es/components/callback/src/components/render/popupMaps.d.ts +27 -0
  13. package/es/components/classification/index.d.ts +60 -5
  14. package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
  15. package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
  16. package/es/components/classification/src/index.vue.d.ts +60 -5
  17. package/es/components/date-picker/index.d.ts +13 -0
  18. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  19. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  20. package/es/components/fabric-chart/src/constants/index.d.ts +3 -1
  21. package/es/components/fabric-chart/src/constants/index.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  23. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +8 -3
  24. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  25. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -6
  26. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  27. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  29. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +0 -2
  30. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  31. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +8 -3
  32. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +8 -3
  36. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  38. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  39. package/es/components/fabric-chart/src/interface.d.ts +11 -1
  40. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  41. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  42. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  43. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  44. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  45. package/es/components/form-config/index.d.ts +40 -3
  46. package/es/components/form-config/src/FormConfig.vue.d.ts +40 -3
  47. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -0
  48. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -3
  49. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  50. package/es/components/form-render/index.d.ts +14 -0
  51. package/es/components/form-render/src/FormRender.vue.d.ts +14 -0
  52. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  53. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -0
  54. package/es/components/form-render/src/components/renderer/formItem.d.ts +9 -0
  55. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  56. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  57. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  58. package/es/components/form-render/src/components/tooltipMessage.vue2.js +1 -1
  59. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  60. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  61. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  62. package/es/components/form-render/src/types/fieldItem.d.ts +3 -1
  63. package/es/components/form-render/src/types/index.d.ts +2 -1
  64. package/es/components/form-render/src/utils/business.js +1 -1
  65. package/es/components/form-render/src/utils/schema.d.ts +1 -1
  66. package/es/components/form-render/src/utils/schema.js +1 -1
  67. package/es/components/iho-chat/index.d.ts +300 -75
  68. package/es/components/iho-chat/src/Index.vue.d.ts +300 -75
  69. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  70. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +35 -13
  71. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  72. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +41 -14
  73. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  74. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +50 -14
  75. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  76. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +24 -4
  77. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  78. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  79. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  80. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +60 -11
  81. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  82. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
  83. package/es/components/iho-chat/src/components/ContextMenu.d.ts +15 -2
  84. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  85. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +62 -24
  86. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  87. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  88. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -0
  89. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  90. package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -2
  91. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  92. package/es/components/iho-chat/src/hooks/useScrollLoading.d.ts +1 -1
  93. package/es/components/iho-chat/src/hooks/useScrollLoading.js +1 -1
  94. package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
  95. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
  96. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  97. package/es/components/iho-chat/src/hooks/useState.js +1 -1
  98. package/es/components/iho-chat/src/hooks/useVideo.d.ts +11 -0
  99. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  100. package/es/components/iho-chat/src/types/index.d.ts +0 -1
  101. package/es/components/iho-chat/src/utils/index.js +1 -1
  102. package/es/components/iho-chat/style/index.css +1 -1
  103. package/es/components/iho-table/index.d.ts +13 -0
  104. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -0
  105. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  106. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  107. package/es/components/iho-table/src/plugins/headerPlugin/index.d.ts +1 -0
  108. package/es/components/iho-table/src/plugins/headerPlugin/index.js +1 -0
  109. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.d.ts +13 -0
  110. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.js +1 -0
  111. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue2.js +1 -0
  112. package/es/components/iho-table/src/plugins/index.js +1 -1
  113. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  114. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
  115. package/es/components/iho-table/src/types/index.d.ts +3 -0
  116. package/es/components/iho-table/src/utils/index.d.ts +0 -1
  117. package/es/components/iho-table/src/utils/index.js +1 -1
  118. package/es/components/index.css +1 -1
  119. package/es/components/info-header/index.d.ts +34 -0
  120. package/es/components/info-header/src/InfoHeader.vue.d.ts +34 -0
  121. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
  122. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +1 -1
  123. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
  124. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +16 -0
  125. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
  126. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -0
  127. package/es/components/quick-search/src/index.vue2.js +1 -1
  128. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  129. package/es/components/shortcut-setter/index.d.ts +16 -1
  130. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
  131. package/es/components/steps-wheel/index.d.ts +1 -1
  132. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  133. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  134. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  135. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  136. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  137. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
  138. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  139. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  140. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
  141. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  142. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
  143. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  144. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
  145. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  146. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  147. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  148. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  149. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
  150. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  151. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
  152. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  153. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
  154. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
  155. package/es/components/table-filter/src/tool/transformData.js +1 -1
  156. package/es/components/table-filter/src/types/index.d.ts +3 -0
  157. package/es/components/time-line/index.d.ts +4 -4
  158. package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
  159. package/es/components/time-line/src/TimeLine.vue2.js +1 -1
  160. package/es/components/time-picker/index.d.ts +20 -2
  161. package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
  162. package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
  163. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  164. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  165. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  166. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  167. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  168. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  169. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  170. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  171. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  172. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  173. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  174. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  175. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  176. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  177. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  178. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  179. package/es/shared/assets/img/failure.png.js +1 -1
  180. package/es/shared/assets/img/no-permission.png.js +1 -1
  181. package/es/shared/assets/img/nodata.png.js +1 -1
  182. package/es/shared/assets/img/notfound.png.js +1 -1
  183. package/es/shared/assets/img/qr.png.js +1 -1
  184. package/es/shared/assets/img/success.png.js +1 -1
  185. package/es/shared/assets/img/table_style_2.png.js +1 -1
  186. package/es/shared/assets/img/video.png.js +1 -1
  187. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  188. package/es/shared/assets/img/xb_big.png.js +1 -1
  189. package/es/shared/assets/img/xb_small.png.js +1 -1
  190. package/es/shared/package.json.js +1 -1
  191. package/es/shared/utils/business.js +1 -1
  192. package/package.json +2 -2
  193. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  194. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  195. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  196. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  197. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +0 -1
  198. package/es/components/iho-table/src/plugins/headerPlugin.js +0 -1
  199. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  200. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  201. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -16,6 +16,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
+ chatBox: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ defaultSessionKey: {
24
+ type: StringConstructor;
25
+ };
19
26
  }, {
20
27
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
28
  token: {
@@ -34,6 +41,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
34
41
  type: StringConstructor;
35
42
  default: string;
36
43
  };
44
+ chatBox: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ defaultSessionKey: {
49
+ type: StringConstructor;
50
+ };
37
51
  }>> & {
38
52
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
39
53
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -57,7 +71,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
57
71
  currentReferenceMsg: import("../../shared/types").AnyObject | null;
58
72
  showVideo: boolean;
59
73
  currentAVMsg: import("../../shared/types").AnyObject;
60
- userList: import("../../shared/types").AnyObject[];
61
74
  currentGroupUser: import("../../shared/types").AnyObject[];
62
75
  showMultipleVideo: boolean;
63
76
  };
@@ -70,9 +83,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
70
83
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
71
84
  groupSessionList: import("../../shared/types").AnyObject[];
72
85
  init: () => Promise<void>;
73
- handleUserSearch: () => Promise<void>;
74
86
  initWebSocket: () => void;
75
87
  subscribeSessionList: () => void;
88
+ handleDefaultSession: () => void;
76
89
  subscribeGroupMessage: () => void;
77
90
  subscribeMessage: () => void;
78
91
  handleMessage: (messageVo: import("../../shared/types").AnyObject, chatType: string) => Promise<void>;
@@ -90,6 +103,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
90
103
  all: string;
91
104
  unread: string;
92
105
  };
106
+ unreadSessionKeys: string[];
93
107
  flexWidth: import("vue").Ref<number>;
94
108
  listBoxRef: import("vue").Ref<HTMLElement | undefined>;
95
109
  loading: import("vue").Ref<boolean>;
@@ -132,13 +146,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
132
146
  defaultValue?: undefined;
133
147
  } | {
134
148
  mode: string;
135
- defaultValue: any[];
149
+ defaultValue: import("../../shared/types").AnyObject[];
136
150
  disabledIds?: undefined;
137
151
  }>;
138
152
  handleOpenChatFile: (type: string) => void;
139
153
  NAvatar: any;
140
154
  NIcon: any;
141
155
  NButton: any;
156
+ NTooltip: any;
142
157
  PersonProfile: import("vue").DefineComponent<{
143
158
  userId: {
144
159
  type: StringConstructor;
@@ -414,6 +429,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
414
429
  allowedInvalidValue: {
415
430
  type: StringConstructor;
416
431
  };
432
+ to: {
433
+ type: import("vue").PropType<string | false | HTMLElement>;
434
+ default: string;
435
+ };
417
436
  }, {
418
437
  attrs: {
419
438
  [x: string]: unknown;
@@ -434,6 +453,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
434
453
  allowedInvalidValue: {
435
454
  type: StringConstructor;
436
455
  };
456
+ to: {
457
+ type: import("vue").PropType<string | false | HTMLElement>;
458
+ default: string;
459
+ };
437
460
  }>> & {
438
461
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
439
462
  }>>;
@@ -470,10 +493,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
470
493
  allowedInvalidValue: {
471
494
  type: StringConstructor;
472
495
  };
496
+ to: {
497
+ type: import("vue").PropType<string | false | HTMLElement>;
498
+ default: string;
499
+ };
473
500
  }>> & {
474
501
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
475
502
  }, {
476
503
  updateUnchangedValue: boolean;
504
+ to: string | false | HTMLElement;
477
505
  }>>;
478
506
  formatTime: typeof import("./src/utils").formatTime;
479
507
  MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
@@ -502,9 +530,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
502
530
  };
503
531
  disabledIds: {
504
532
  type: import("vue").PropType<string[]>;
533
+ default: () => never[];
505
534
  };
506
535
  defaultValue: {
507
- type: import("vue").PropType<string[]>;
536
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
508
537
  };
509
538
  }, {
510
539
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -521,34 +550,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
521
550
  };
522
551
  disabledIds: {
523
552
  type: import("vue").PropType<string[]>;
553
+ default: () => never[];
524
554
  };
525
555
  defaultValue: {
526
- type: import("vue").PropType<string[]>;
556
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
527
557
  };
528
558
  }>> & {
529
559
  onComfirm?: ((...args: any[]) => any) | undefined;
530
560
  }>>;
531
561
  emit: (event: "comfirm", ...args: any[]) => void;
532
562
  state: import("./src/types").IState;
563
+ listRef: import("vue").Ref<any>;
564
+ keyword: import("vue").Ref<any>;
533
565
  showModal: import("vue").Ref<boolean>;
534
- checkedIds: import("vue").Ref<(string | number)[]>;
566
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
535
567
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
536
568
  groupName: import("vue").Ref<string>;
569
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
570
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
571
+ handleInput: () => void;
572
+ _disabledIds: import("vue").ComputedRef<any[]>;
573
+ defaultOptions: import("vue").ComputedRef<{
574
+ id: any;
575
+ name: any;
576
+ avatar: any;
577
+ }[]>;
578
+ checkedIds: import("vue").ComputedRef<any[]>;
537
579
  btnDisabled: import("vue").ComputedRef<boolean>;
580
+ allChecked: import("vue").WritableComputedRef<boolean>;
538
581
  handlePositiveClick: () => Promise<void>;
539
- renderSourceLabel: ({ option }: {
540
- option: import("../../shared/types").AnyObject;
541
- }) => JSX.Element;
542
- renderTargetList: (props: {
543
- onCheck: (checkedValueList: (string | number)[]) => void;
544
- checkedOptions: import("../../shared/types").AnyObject[];
545
- pattern: string;
546
- }) => JSX.Element | null;
582
+ updateCheckedSourceIds: () => void;
583
+ handleSourceIdsUpdate: (value: (string | number)[], meta: {
584
+ actionType: "check" | "uncheck";
585
+ value: string | number;
586
+ }) => void;
587
+ closeTag: (id: string) => void;
588
+ renderTargetList: () => JSX.Element[] | null;
547
589
  NModal: any;
548
590
  NButton: any;
549
- NTransfer: any;
591
+ NSpace: any;
592
+ NAvatar: any;
550
593
  NIcon: any;
594
+ NTag: any;
551
595
  NInput: any;
596
+ NCheckbox: any;
597
+ NCheckboxGroup: any;
598
+ NTooltip: any;
599
+ SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
552
600
  AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
553
601
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
554
602
  title: {
@@ -564,15 +612,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
564
612
  };
565
613
  disabledIds: {
566
614
  type: import("vue").PropType<string[]>;
615
+ default: () => never[];
567
616
  };
568
617
  defaultValue: {
569
- type: import("vue").PropType<string[]>;
618
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
570
619
  };
571
620
  }>> & {
572
621
  onComfirm?: ((...args: any[]) => any) | undefined;
573
622
  }, {
574
623
  mode: string;
575
624
  title: string;
625
+ disabledIds: string[];
576
626
  }>;
577
627
  PersonAddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
578
628
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -582,7 +632,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
582
632
  setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
583
633
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
584
634
  isGroupChat: import("vue").ComputedRef<boolean>;
635
+ contextmenuRef: import("vue").Ref<any>;
585
636
  showMenu: import("vue").Ref<boolean>;
637
+ menuPosition: any;
638
+ menuMsgId: import("vue").Ref<any>;
586
639
  pageInfo: {
587
640
  page: number;
588
641
  hasMore: boolean;
@@ -593,6 +646,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
593
646
  '--c-tip-gap': string;
594
647
  }>;
595
648
  getHistoryRecord: () => Promise<void>;
649
+ handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
650
+ setMenuPosition: (event: MouseEvent) => Promise<void>;
596
651
  showMessage: (item: import("../../shared/types").AnyObject) => boolean;
597
652
  showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
598
653
  isTemplate3: (content: import("../../shared/types").AnyObject) => boolean;
@@ -600,12 +655,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
600
655
  setScrollToButtom: () => Promise<void>;
601
656
  resetInfo: () => void;
602
657
  setReferenceMsg: (msgItem: import("../../shared/types").AnyObject) => void;
658
+ handleSelect: (key: string, msgItem: import("../../shared/types").AnyObject) => void;
603
659
  NAvatar: any;
604
660
  NImageGroup: any;
605
661
  NImage: any;
606
662
  NIcon: any;
607
663
  NButtonGroup: any;
608
664
  NButton: any;
665
+ NSpace: any;
609
666
  PersonProfile: import("vue").DefineComponent<{
610
667
  userId: {
611
668
  type: StringConstructor;
@@ -763,18 +820,29 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
763
820
  type: BooleanConstructor;
764
821
  default: boolean;
765
822
  };
766
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickMenu" | "update:show")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
823
+ position: {
824
+ type: import("vue").PropType<import("vue").CSSProperties>;
825
+ };
826
+ msgId: {
827
+ type: StringConstructor;
828
+ };
829
+ }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show")[], "select" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
767
830
  show: {
768
831
  type: BooleanConstructor;
769
832
  default: boolean;
770
833
  };
834
+ position: {
835
+ type: import("vue").PropType<import("vue").CSSProperties>;
836
+ };
837
+ msgId: {
838
+ type: StringConstructor;
839
+ };
771
840
  }>> & {
772
- onClickMenu?: ((...args: any[]) => any) | undefined;
841
+ onSelect?: ((...args: any[]) => any) | undefined;
773
842
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
774
843
  }, {
775
844
  show: boolean;
776
845
  }>;
777
- downloadFile: typeof import("./src/utils").downloadFile;
778
846
  simplifyMessage: typeof import("./src/utils").simplifyMessage;
779
847
  isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
780
848
  getAVTime: typeof import("./src/utils").getAVTime;
@@ -783,10 +851,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
783
851
  EllipsisHorizontal: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
784
852
  CallOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
785
853
  VideocamOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
854
+ DocumentSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
786
855
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
787
856
  ChatFooter: import("vue").DefineComponent<{}, {
788
857
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
789
- content: import("vue").Ref<string>;
790
858
  state: import("./src/types").IState;
791
859
  sendMessage: (message: {
792
860
  chatType?: string | undefined;
@@ -795,6 +863,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
795
863
  }) => Promise<void>;
796
864
  isGroupChat: import("vue").ComputedRef<boolean>;
797
865
  showEmoji: import("vue").Ref<boolean>;
866
+ content: import("vue").Ref<string>;
867
+ chatAddProps: import("vue").ComputedRef<{
868
+ options: import("../../shared/types").AnyObject[];
869
+ defaultValue: import("../../shared/types").AnyObject[];
870
+ }>;
871
+ btnDisabled: import("vue").ComputedRef<boolean>;
798
872
  handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
799
873
  handleKeyDown: (event: KeyboardEvent) => void;
800
874
  isWrap: (event: KeyboardEvent) => boolean;
@@ -826,9 +900,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
826
900
  };
827
901
  disabledIds: {
828
902
  type: import("vue").PropType<string[]>;
903
+ default: () => never[];
829
904
  };
830
905
  defaultValue: {
831
- type: import("vue").PropType<string[]>;
906
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
832
907
  };
833
908
  }, {
834
909
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -845,34 +920,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
845
920
  };
846
921
  disabledIds: {
847
922
  type: import("vue").PropType<string[]>;
923
+ default: () => never[];
848
924
  };
849
925
  defaultValue: {
850
- type: import("vue").PropType<string[]>;
926
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
851
927
  };
852
928
  }>> & {
853
929
  onComfirm?: ((...args: any[]) => any) | undefined;
854
930
  }>>;
855
931
  emit: (event: "comfirm", ...args: any[]) => void;
856
932
  state: import("./src/types").IState;
933
+ listRef: import("vue").Ref<any>;
934
+ keyword: import("vue").Ref<any>;
857
935
  showModal: import("vue").Ref<boolean>;
858
- checkedIds: import("vue").Ref<(string | number)[]>;
936
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
859
937
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
860
938
  groupName: import("vue").Ref<string>;
939
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
940
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
941
+ handleInput: () => void;
942
+ _disabledIds: import("vue").ComputedRef<any[]>;
943
+ defaultOptions: import("vue").ComputedRef<{
944
+ id: any;
945
+ name: any;
946
+ avatar: any;
947
+ }[]>;
948
+ checkedIds: import("vue").ComputedRef<any[]>;
861
949
  btnDisabled: import("vue").ComputedRef<boolean>;
950
+ allChecked: import("vue").WritableComputedRef<boolean>;
862
951
  handlePositiveClick: () => Promise<void>;
863
- renderSourceLabel: ({ option }: {
864
- option: import("../../shared/types").AnyObject;
865
- }) => JSX.Element;
866
- renderTargetList: (props: {
867
- onCheck: (checkedValueList: (string | number)[]) => void;
868
- checkedOptions: import("../../shared/types").AnyObject[];
869
- pattern: string;
870
- }) => JSX.Element | null;
952
+ updateCheckedSourceIds: () => void;
953
+ handleSourceIdsUpdate: (value: (string | number)[], meta: {
954
+ actionType: "check" | "uncheck";
955
+ value: string | number;
956
+ }) => void;
957
+ closeTag: (id: string) => void;
958
+ renderTargetList: () => JSX.Element[] | null;
871
959
  NModal: any;
872
960
  NButton: any;
873
- NTransfer: any;
961
+ NSpace: any;
962
+ NAvatar: any;
874
963
  NIcon: any;
964
+ NTag: any;
875
965
  NInput: any;
966
+ NCheckbox: any;
967
+ NCheckboxGroup: any;
968
+ NTooltip: any;
969
+ SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
876
970
  AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
877
971
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
878
972
  title: {
@@ -888,15 +982,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
888
982
  };
889
983
  disabledIds: {
890
984
  type: import("vue").PropType<string[]>;
985
+ default: () => never[];
891
986
  };
892
987
  defaultValue: {
893
- type: import("vue").PropType<string[]>;
988
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
894
989
  };
895
990
  }>> & {
896
991
  onComfirm?: ((...args: any[]) => any) | undefined;
897
992
  }, {
898
993
  mode: string;
899
994
  title: string;
995
+ disabledIds: string[];
900
996
  }>;
901
997
  emojis: {
902
998
  default: string[][];
@@ -913,17 +1009,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
913
1009
  listRef: import("vue").Ref<any>;
914
1010
  inputRef: import("vue").Ref<any>;
915
1011
  showSearch: import("vue").Ref<boolean>;
916
- keyword: import("vue").Ref<any>;
917
- userList: import("vue").Ref<any>;
1012
+ keyword: import("vue").Ref<string>;
918
1013
  state: import("./src/types").IState;
919
1014
  openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
920
- pageInfo: {
921
- page: number;
922
- hasMore: boolean;
923
- };
1015
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
924
1016
  handleInput: () => void;
925
- handleSearch: () => Promise<void>;
926
- resetAndSearch: () => void;
1017
+ showNoData: import("vue").ComputedRef<boolean>;
927
1018
  addSession: (userId: string) => Promise<void>;
928
1019
  NPopover: any;
929
1020
  NButton: any;
@@ -931,6 +1022,61 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
931
1022
  NInput: any;
932
1023
  NIcon: any;
933
1024
  SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1025
+ DefaultPage: SFCWithInstall<import("vue").DefineComponent<{
1026
+ type: {
1027
+ type: StringConstructor;
1028
+ default: string;
1029
+ };
1030
+ config: {
1031
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1032
+ default: () => {
1033
+ title: string;
1034
+ content: string;
1035
+ };
1036
+ };
1037
+ }, {
1038
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1039
+ type: {
1040
+ type: StringConstructor;
1041
+ default: string;
1042
+ };
1043
+ config: {
1044
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1045
+ default: () => {
1046
+ title: string;
1047
+ content: string;
1048
+ };
1049
+ };
1050
+ }>> & {
1051
+ onReloadPage?: ((...args: any[]) => any) | undefined;
1052
+ }>>;
1053
+ emit: (event: "reloadPage", ...args: any[]) => void;
1054
+ configResult: import("vue").ComputedRef<{
1055
+ title: string;
1056
+ content: string;
1057
+ img: string;
1058
+ }>;
1059
+ reloadPage: () => void;
1060
+ NIcon: any;
1061
+ Refresh: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1062
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "reloadPage"[], "reloadPage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1063
+ type: {
1064
+ type: StringConstructor;
1065
+ default: string;
1066
+ };
1067
+ config: {
1068
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
1069
+ default: () => {
1070
+ title: string;
1071
+ content: string;
1072
+ };
1073
+ };
1074
+ }>> & {
1075
+ onReloadPage?: ((...args: any[]) => any) | undefined;
1076
+ }, {
1077
+ type: string;
1078
+ config: import("../../shared/types").AnyObject;
1079
+ }>>;
934
1080
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
935
1081
  ChatAdd: import("vue").DefineComponent<{
936
1082
  title: {
@@ -946,9 +1092,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
946
1092
  };
947
1093
  disabledIds: {
948
1094
  type: import("vue").PropType<string[]>;
1095
+ default: () => never[];
949
1096
  };
950
1097
  defaultValue: {
951
- type: import("vue").PropType<string[]>;
1098
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
952
1099
  };
953
1100
  }, {
954
1101
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -965,34 +1112,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
965
1112
  };
966
1113
  disabledIds: {
967
1114
  type: import("vue").PropType<string[]>;
1115
+ default: () => never[];
968
1116
  };
969
1117
  defaultValue: {
970
- type: import("vue").PropType<string[]>;
1118
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
971
1119
  };
972
1120
  }>> & {
973
1121
  onComfirm?: ((...args: any[]) => any) | undefined;
974
1122
  }>>;
975
1123
  emit: (event: "comfirm", ...args: any[]) => void;
976
1124
  state: import("./src/types").IState;
1125
+ listRef: import("vue").Ref<any>;
1126
+ keyword: import("vue").Ref<any>;
977
1127
  showModal: import("vue").Ref<boolean>;
978
- checkedIds: import("vue").Ref<(string | number)[]>;
1128
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
979
1129
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
980
1130
  groupName: import("vue").Ref<string>;
1131
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
1132
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1133
+ handleInput: () => void;
1134
+ _disabledIds: import("vue").ComputedRef<any[]>;
1135
+ defaultOptions: import("vue").ComputedRef<{
1136
+ id: any;
1137
+ name: any;
1138
+ avatar: any;
1139
+ }[]>;
1140
+ checkedIds: import("vue").ComputedRef<any[]>;
981
1141
  btnDisabled: import("vue").ComputedRef<boolean>;
1142
+ allChecked: import("vue").WritableComputedRef<boolean>;
982
1143
  handlePositiveClick: () => Promise<void>;
983
- renderSourceLabel: ({ option }: {
984
- option: import("../../shared/types").AnyObject;
985
- }) => JSX.Element;
986
- renderTargetList: (props: {
987
- onCheck: (checkedValueList: (string | number)[]) => void;
988
- checkedOptions: import("../../shared/types").AnyObject[];
989
- pattern: string;
990
- }) => JSX.Element | null;
1144
+ updateCheckedSourceIds: () => void;
1145
+ handleSourceIdsUpdate: (value: (string | number)[], meta: {
1146
+ actionType: "check" | "uncheck";
1147
+ value: string | number;
1148
+ }) => void;
1149
+ closeTag: (id: string) => void;
1150
+ renderTargetList: () => JSX.Element[] | null;
991
1151
  NModal: any;
992
1152
  NButton: any;
993
- NTransfer: any;
1153
+ NSpace: any;
1154
+ NAvatar: any;
994
1155
  NIcon: any;
1156
+ NTag: any;
995
1157
  NInput: any;
1158
+ NCheckbox: any;
1159
+ NCheckboxGroup: any;
1160
+ NTooltip: any;
1161
+ SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
996
1162
  AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
997
1163
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
998
1164
  title: {
@@ -1008,15 +1174,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1008
1174
  };
1009
1175
  disabledIds: {
1010
1176
  type: import("vue").PropType<string[]>;
1177
+ default: () => never[];
1011
1178
  };
1012
1179
  defaultValue: {
1013
- type: import("vue").PropType<string[]>;
1180
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1014
1181
  };
1015
1182
  }>> & {
1016
1183
  onComfirm?: ((...args: any[]) => any) | undefined;
1017
1184
  }, {
1018
1185
  mode: string;
1019
1186
  title: string;
1187
+ disabledIds: string[];
1020
1188
  }>;
1021
1189
  Video: import("vue").DefineComponent<{}, {
1022
1190
  sendMessage: (message: {
@@ -1038,6 +1206,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1038
1206
  timer: any;
1039
1207
  seconds: number;
1040
1208
  };
1209
+ installEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
1210
+ handleError: import("../../shared/types").AnyFn;
1211
+ handleRemoteUserEnter: import("../../shared/types").AnyFn;
1212
+ handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
1213
+ handleRemoteUserExit: import("../../shared/types").AnyFn;
1214
+ handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
1215
+ }) => void;
1216
+ uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
1217
+ handleError: import("../../shared/types").AnyFn;
1218
+ handleRemoteUserEnter: import("../../shared/types").AnyFn;
1219
+ handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
1220
+ handleRemoteUserExit: import("../../shared/types").AnyFn;
1221
+ handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
1222
+ }) => void;
1041
1223
  videoRef: import("vue").Ref<any>;
1042
1224
  selfVideoRef: import("vue").Ref<any>;
1043
1225
  isConnect: import("vue").Ref<boolean>;
@@ -1054,8 +1236,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1054
1236
  handleEnter: () => Promise<void>;
1055
1237
  handleFinish: () => void;
1056
1238
  handleExit: () => Promise<void>;
1057
- installEventHandlers: () => void;
1058
- uninstallEventHandlers: () => void;
1059
1239
  handleRemoteVideoAvailable: (event: any) => Promise<void>;
1060
1240
  handleRemoteAudioAvailable: (event: any) => void;
1061
1241
  handleRemoteUserEnter: () => void;
@@ -1071,7 +1251,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1071
1251
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1072
1252
  MultipleVideo: import("vue").DefineComponent<{}, {
1073
1253
  selfVideoRef: import("vue").Ref<any>;
1074
- remoteUsers: import("vue").Ref<string[]>;
1254
+ remoteUsers: import("vue").Ref<{
1255
+ id: string;
1256
+ name: string;
1257
+ }[]>;
1075
1258
  state: import("./src/types").IState;
1076
1259
  sendMessage: (message: {
1077
1260
  chatType?: string | undefined;
@@ -1089,6 +1272,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1089
1272
  timing: import("vue").Ref<string>;
1090
1273
  toggleVideo: () => Promise<void>;
1091
1274
  videocamOpen: import("vue").Ref<boolean>;
1275
+ installEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
1276
+ handleError: import("../../shared/types").AnyFn;
1277
+ handleRemoteUserEnter: import("../../shared/types").AnyFn;
1278
+ handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
1279
+ handleRemoteUserExit: import("../../shared/types").AnyFn;
1280
+ handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
1281
+ }) => void;
1282
+ uninstallEventHandlers: ({ handleError, handleRemoteUserEnter, handleRemoteAudioAvailable, handleRemoteUserExit, handleRemoteVideoAvailable }: {
1283
+ handleError: import("../../shared/types").AnyFn;
1284
+ handleRemoteUserEnter: import("../../shared/types").AnyFn;
1285
+ handleRemoteAudioAvailable: import("../../shared/types").AnyFn;
1286
+ handleRemoteUserExit: import("../../shared/types").AnyFn;
1287
+ handleRemoteVideoAvailable: import("../../shared/types").AnyFn;
1288
+ }) => void;
1092
1289
  isConnect: import("vue").Ref<boolean>;
1093
1290
  callUser: import("vue").ComputedRef<any>;
1094
1291
  title: import("vue").ComputedRef<string>;
@@ -1096,14 +1293,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1096
1293
  handleCall: () => void;
1097
1294
  handleEnter: () => Promise<void>;
1098
1295
  handleExit: () => Promise<void>;
1099
- installEventHandlers: () => void;
1100
- uninstallEventHandlers: () => void;
1101
1296
  handleRemoteVideoAvailable: (event: any) => Promise<void>;
1102
- handleRemoteAudioAvailable: (event: any) => void;
1103
- handleRemoteUserEnter: (event: any) => void;
1297
+ handleRemoteAudioAvailable: (event: any) => Promise<void>;
1298
+ handleRemoteUserEnter: (event: any) => Promise<void>;
1299
+ getUserName: (userId: string) => Promise<any>;
1104
1300
  handleRemoteUserExit: (event: any) => void;
1105
1301
  handleError: (error: any) => void;
1106
- getName: (id: string) => any;
1107
1302
  NButton: any;
1108
1303
  NIcon: any;
1109
1304
  ChatAdd: import("vue").DefineComponent<{
@@ -1120,9 +1315,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1120
1315
  };
1121
1316
  disabledIds: {
1122
1317
  type: import("vue").PropType<string[]>;
1318
+ default: () => never[];
1123
1319
  };
1124
1320
  defaultValue: {
1125
- type: import("vue").PropType<string[]>;
1321
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1126
1322
  };
1127
1323
  }, {
1128
1324
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1139,34 +1335,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1139
1335
  };
1140
1336
  disabledIds: {
1141
1337
  type: import("vue").PropType<string[]>;
1338
+ default: () => never[];
1142
1339
  };
1143
1340
  defaultValue: {
1144
- type: import("vue").PropType<string[]>;
1341
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1145
1342
  };
1146
1343
  }>> & {
1147
1344
  onComfirm?: ((...args: any[]) => any) | undefined;
1148
1345
  }>>;
1149
1346
  emit: (event: "comfirm", ...args: any[]) => void;
1150
1347
  state: import("./src/types").IState;
1348
+ listRef: import("vue").Ref<any>;
1349
+ keyword: import("vue").Ref<any>;
1151
1350
  showModal: import("vue").Ref<boolean>;
1152
- checkedIds: import("vue").Ref<(string | number)[]>;
1351
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1153
1352
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1154
1353
  groupName: import("vue").Ref<string>;
1354
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
1355
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1356
+ handleInput: () => void;
1357
+ _disabledIds: import("vue").ComputedRef<any[]>;
1358
+ defaultOptions: import("vue").ComputedRef<{
1359
+ id: any;
1360
+ name: any;
1361
+ avatar: any;
1362
+ }[]>;
1363
+ checkedIds: import("vue").ComputedRef<any[]>;
1155
1364
  btnDisabled: import("vue").ComputedRef<boolean>;
1365
+ allChecked: import("vue").WritableComputedRef<boolean>;
1156
1366
  handlePositiveClick: () => Promise<void>;
1157
- renderSourceLabel: ({ option }: {
1158
- option: import("../../shared/types").AnyObject;
1159
- }) => JSX.Element;
1160
- renderTargetList: (props: {
1161
- onCheck: (checkedValueList: (string | number)[]) => void;
1162
- checkedOptions: import("../../shared/types").AnyObject[];
1163
- pattern: string;
1164
- }) => JSX.Element | null;
1367
+ updateCheckedSourceIds: () => void;
1368
+ handleSourceIdsUpdate: (value: (string | number)[], meta: {
1369
+ actionType: "check" | "uncheck";
1370
+ value: string | number;
1371
+ }) => void;
1372
+ closeTag: (id: string) => void;
1373
+ renderTargetList: () => JSX.Element[] | null;
1165
1374
  NModal: any;
1166
1375
  NButton: any;
1167
- NTransfer: any;
1376
+ NSpace: any;
1377
+ NAvatar: any;
1168
1378
  NIcon: any;
1379
+ NTag: any;
1169
1380
  NInput: any;
1381
+ NCheckbox: any;
1382
+ NCheckboxGroup: any;
1383
+ NTooltip: any;
1384
+ SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1170
1385
  AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1171
1386
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1172
1387
  title: {
@@ -1182,15 +1397,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1182
1397
  };
1183
1398
  disabledIds: {
1184
1399
  type: import("vue").PropType<string[]>;
1400
+ default: () => never[];
1185
1401
  };
1186
1402
  defaultValue: {
1187
- type: import("vue").PropType<string[]>;
1403
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1188
1404
  };
1189
1405
  }>> & {
1190
1406
  onComfirm?: ((...args: any[]) => any) | undefined;
1191
1407
  }, {
1192
1408
  mode: string;
1193
1409
  title: string;
1410
+ disabledIds: string[];
1194
1411
  }>;
1195
1412
  Call: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1196
1413
  Videocam: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -1217,10 +1434,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1217
1434
  type: StringConstructor;
1218
1435
  default: string;
1219
1436
  };
1437
+ chatBox: {
1438
+ type: BooleanConstructor;
1439
+ default: boolean;
1440
+ };
1441
+ defaultSessionKey: {
1442
+ type: StringConstructor;
1443
+ };
1220
1444
  }>> & {
1221
1445
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
1222
1446
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
1223
1447
  }, {
1224
1448
  baseURL: string;
1449
+ chatBox: boolean;
1225
1450
  }>>;
1226
1451
  export default IhoChat;