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

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