cnhis-design-vue 3.2.7-release.1 → 3.2.7-release.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) 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/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  5. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  6. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  7. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  8. package/es/components/button-print/index.d.ts +27 -0
  9. package/es/components/button-print/src/ButtonPrint.vue.d.ts +27 -0
  10. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  11. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
  12. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  13. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
  14. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  15. package/es/components/button-print/style/index.css +1 -1
  16. package/es/components/callback/src/components/render/popupMaps.d.ts +27 -0
  17. package/es/components/classification/index.d.ts +60 -5
  18. package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
  19. package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
  20. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  21. package/es/components/classification/src/index.vue.d.ts +60 -5
  22. package/es/components/date-picker/index.d.ts +13 -0
  23. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  24. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  25. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  26. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  27. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  29. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  30. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  31. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  32. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  33. package/es/components/form-config/index.d.ts +37 -0
  34. package/es/components/form-config/src/FormConfig.vue.d.ts +37 -0
  35. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -0
  36. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +20 -0
  37. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  38. package/es/components/form-render/index.d.ts +14 -0
  39. package/es/components/form-render/src/FormRender.vue.d.ts +14 -0
  40. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  41. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -0
  42. package/es/components/form-render/src/components/renderer/formItem.d.ts +9 -0
  43. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  44. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  45. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  46. package/es/components/form-render/src/components/tooltipMessage.vue2.js +1 -1
  47. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  48. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  49. package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
  50. package/es/components/form-render/src/types/index.d.ts +2 -1
  51. package/es/components/form-render/src/utils/business.js +1 -1
  52. package/es/components/form-render/src/utils/schema.d.ts +1 -1
  53. package/es/components/form-render/src/utils/schema.js +1 -1
  54. package/es/components/iho-chat/index.d.ts +269 -94
  55. package/es/components/iho-chat/src/Index.vue.d.ts +269 -94
  56. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  57. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +35 -13
  58. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  59. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +41 -14
  60. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  61. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +50 -14
  62. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  63. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +13 -20
  64. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  65. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  66. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  67. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +60 -11
  68. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  69. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
  70. package/es/components/iho-chat/src/components/ContextMenu.d.ts +5 -5
  71. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  72. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +62 -24
  73. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  74. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  75. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +3 -3
  76. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  77. package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -2
  78. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  79. package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
  80. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
  81. package/es/components/iho-chat/src/hooks/useSession.d.ts +1 -1
  82. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  83. package/es/components/iho-chat/src/hooks/useState.js +1 -1
  84. package/es/components/iho-chat/src/hooks/useVideo.d.ts +11 -0
  85. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  86. package/es/components/iho-chat/src/types/index.d.ts +0 -1
  87. package/es/components/iho-chat/src/utils/index.js +1 -1
  88. package/es/components/iho-chat/style/index.css +1 -1
  89. package/es/components/iho-table/index.d.ts +13 -0
  90. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -0
  91. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  92. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  93. package/es/components/iho-table/src/plugins/headerPlugin/index.d.ts +1 -0
  94. package/es/components/iho-table/src/plugins/headerPlugin/index.js +1 -0
  95. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.d.ts +13 -0
  96. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.js +1 -0
  97. package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue2.js +1 -0
  98. package/es/components/iho-table/src/plugins/index.js +1 -1
  99. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  100. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  101. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
  102. package/es/components/iho-table/src/types/index.d.ts +3 -0
  103. package/es/components/iho-table/src/utils/index.d.ts +0 -1
  104. package/es/components/iho-table/src/utils/index.js +1 -1
  105. package/es/components/index.css +1 -1
  106. package/es/components/info-header/index.d.ts +34 -0
  107. package/es/components/info-header/src/InfoHeader.vue.d.ts +34 -0
  108. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
  109. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +1 -1
  110. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
  111. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +16 -0
  112. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
  113. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -0
  114. package/es/components/quick-search/src/index.vue2.js +1 -1
  115. package/es/components/scale-view/index.d.ts +23 -1
  116. package/es/components/scale-view/src/ScaleView.vue.d.ts +23 -1
  117. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  118. package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +21 -1
  119. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +1 -1
  120. package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
  121. package/es/components/scale-view/src/directive/drag-move.d.ts +3 -0
  122. package/es/components/scale-view/src/directive/drag-move.js +1 -0
  123. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
  124. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  125. package/es/components/scale-view/style/index.css +1 -1
  126. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  127. package/es/components/shortcut-setter/index.d.ts +15 -0
  128. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +15 -0
  129. package/es/components/steps-wheel/index.d.ts +1 -1
  130. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  131. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  132. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  133. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  134. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  135. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
  136. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  137. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  138. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
  139. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  140. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
  141. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  142. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
  143. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  144. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  145. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  146. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  147. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
  148. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  149. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
  150. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  151. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
  152. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
  153. package/es/components/table-filter/src/tool/transformData.js +1 -1
  154. package/es/components/table-filter/src/types/index.d.ts +3 -0
  155. package/es/components/time-line/index.d.ts +4 -4
  156. package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
  157. package/es/components/time-line/src/TimeLine.vue2.js +1 -1
  158. package/es/components/time-picker/index.d.ts +20 -2
  159. package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
  160. package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
  161. package/es/env.d.ts +25 -25
  162. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  163. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  164. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  165. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  166. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  167. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  168. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  169. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  170. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  171. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  172. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  173. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  174. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  175. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  176. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  177. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  178. package/es/shared/assets/img/failure.png.js +1 -1
  179. package/es/shared/assets/img/no-permission.png.js +1 -1
  180. package/es/shared/assets/img/nodata.png.js +1 -1
  181. package/es/shared/assets/img/notfound.png.js +1 -1
  182. package/es/shared/assets/img/qr.png.js +1 -1
  183. package/es/shared/assets/img/success.png.js +1 -1
  184. package/es/shared/assets/img/table_style_2.png.js +1 -1
  185. package/es/shared/assets/img/video.png.js +1 -1
  186. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  187. package/es/shared/assets/img/xb_big.png.js +1 -1
  188. package/es/shared/assets/img/xb_small.png.js +1 -1
  189. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  190. package/es/shared/package.json.js +1 -1
  191. package/es/shared/utils/business.js +1 -1
  192. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  193. package/es/shared/utils/tapable/index.d.ts +139 -0
  194. package/package.json +2 -2
  195. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +0 -1
  196. package/es/components/iho-table/src/plugins/headerPlugin.js +0 -1
@@ -71,7 +71,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
71
71
  currentReferenceMsg: import("../../shared/types").AnyObject | null;
72
72
  showVideo: boolean;
73
73
  currentAVMsg: import("../../shared/types").AnyObject;
74
- userList: import("../../shared/types").AnyObject[];
75
74
  currentGroupUser: import("../../shared/types").AnyObject[];
76
75
  showMultipleVideo: boolean;
77
76
  };
@@ -84,7 +83,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
84
83
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
85
84
  groupSessionList: import("../../shared/types").AnyObject[];
86
85
  init: () => Promise<void>;
87
- handleUserSearch: () => Promise<void>;
88
86
  initWebSocket: () => void;
89
87
  subscribeSessionList: () => void;
90
88
  handleDefaultSession: () => void;
@@ -105,6 +103,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
105
103
  all: string;
106
104
  unread: string;
107
105
  };
106
+ unreadSessionKeys: string[];
108
107
  flexWidth: import("vue").Ref<number>;
109
108
  listBoxRef: import("vue").Ref<HTMLElement | undefined>;
110
109
  loading: import("vue").Ref<boolean>;
@@ -116,11 +115,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
116
115
  state: import("./src/types").IState;
117
116
  emit: (event: string, ...args: any[]) => void;
118
117
  openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
119
- unreadTotal: import("vue").ComputedRef<number>;
120
- setSessionList: (list: import("../../shared/types").AnyObject[]) => void;
118
+ updateSessionList: (sessionItem: import("../../shared/types").AnyObject) => void;
121
119
  currentWidth: import("vue").ComputedRef<number>;
122
120
  sessionList: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
123
- sessionChange: (sessionItem: import("../../shared/types").AnyObject) => void;
121
+ unreadTotal: import("vue").ComputedRef<number>;
124
122
  changeWidth: ({ distance }: import("../../shared/types").AnyObject) => void;
125
123
  handleFilter: (key: string) => void;
126
124
  showSession: (item: import("../../shared/types").AnyObject, currentKey?: string) => boolean | undefined;
@@ -147,13 +145,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
147
145
  defaultValue?: undefined;
148
146
  } | {
149
147
  mode: string;
150
- defaultValue: any[];
148
+ defaultValue: import("../../shared/types").AnyObject[];
151
149
  disabledIds?: undefined;
152
150
  }>;
153
151
  handleOpenChatFile: (type: string) => void;
154
152
  NAvatar: any;
155
153
  NIcon: any;
156
154
  NButton: any;
155
+ NTooltip: any;
157
156
  PersonProfile: import("vue").DefineComponent<{
158
157
  userId: {
159
158
  type: StringConstructor;
@@ -429,6 +428,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
429
428
  allowedInvalidValue: {
430
429
  type: StringConstructor;
431
430
  };
431
+ to: {
432
+ type: import("vue").PropType<string | false | HTMLElement>;
433
+ default: string;
434
+ };
432
435
  }, {
433
436
  attrs: {
434
437
  [x: string]: unknown;
@@ -449,6 +452,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
449
452
  allowedInvalidValue: {
450
453
  type: StringConstructor;
451
454
  };
455
+ to: {
456
+ type: import("vue").PropType<string | false | HTMLElement>;
457
+ default: string;
458
+ };
452
459
  }>> & {
453
460
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
454
461
  }>>;
@@ -485,10 +492,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
485
492
  allowedInvalidValue: {
486
493
  type: StringConstructor;
487
494
  };
495
+ to: {
496
+ type: import("vue").PropType<string | false | HTMLElement>;
497
+ default: string;
498
+ };
488
499
  }>> & {
489
500
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
490
501
  }, {
491
502
  updateUnchangedValue: boolean;
503
+ to: string | false | HTMLElement;
492
504
  }>>;
493
505
  formatTime: typeof import("./src/utils").formatTime;
494
506
  MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
@@ -517,9 +529,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
517
529
  };
518
530
  disabledIds: {
519
531
  type: import("vue").PropType<string[]>;
532
+ default: () => never[];
520
533
  };
521
534
  defaultValue: {
522
- type: import("vue").PropType<string[]>;
535
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
523
536
  };
524
537
  }, {
525
538
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -536,34 +549,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
536
549
  };
537
550
  disabledIds: {
538
551
  type: import("vue").PropType<string[]>;
552
+ default: () => never[];
539
553
  };
540
554
  defaultValue: {
541
- type: import("vue").PropType<string[]>;
555
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
542
556
  };
543
557
  }>> & {
544
558
  onComfirm?: ((...args: any[]) => any) | undefined;
545
559
  }>>;
546
560
  emit: (event: "comfirm", ...args: any[]) => void;
547
561
  state: import("./src/types").IState;
562
+ listRef: import("vue").Ref<any>;
563
+ keyword: import("vue").Ref<any>;
548
564
  showModal: import("vue").Ref<boolean>;
549
- checkedIds: import("vue").Ref<(string | number)[]>;
565
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
550
566
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
551
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[]>;
552
578
  btnDisabled: import("vue").ComputedRef<boolean>;
579
+ allChecked: import("vue").WritableComputedRef<boolean>;
553
580
  handlePositiveClick: () => Promise<void>;
554
- renderSourceLabel: ({ option }: {
555
- option: import("../../shared/types").AnyObject;
556
- }) => JSX.Element;
557
- renderTargetList: (props: {
558
- onCheck: (checkedValueList: (string | number)[]) => void;
559
- checkedOptions: import("../../shared/types").AnyObject[];
560
- pattern: string;
561
- }) => 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;
562
588
  NModal: any;
563
589
  NButton: any;
564
- NTransfer: any;
590
+ NSpace: any;
591
+ NAvatar: any;
565
592
  NIcon: any;
593
+ NTag: any;
566
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<{}>>, {}>;
567
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<{}>>, {}>;
568
600
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
569
601
  title: {
@@ -579,15 +611,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
579
611
  };
580
612
  disabledIds: {
581
613
  type: import("vue").PropType<string[]>;
614
+ default: () => never[];
582
615
  };
583
616
  defaultValue: {
584
- type: import("vue").PropType<string[]>;
617
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
585
618
  };
586
619
  }>> & {
587
620
  onComfirm?: ((...args: any[]) => any) | undefined;
588
621
  }, {
589
622
  mode: string;
590
623
  title: string;
624
+ disabledIds: string[];
591
625
  }>;
592
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<{}>>, {}>;
593
627
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -599,7 +633,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
599
633
  isGroupChat: import("vue").ComputedRef<boolean>;
600
634
  contextmenuRef: import("vue").Ref<any>;
601
635
  showMenu: import("vue").Ref<boolean>;
602
- contextmenuPosition: any;
636
+ menuPosition: any;
637
+ menuMsgId: import("vue").Ref<any>;
603
638
  pageInfo: {
604
639
  page: number;
605
640
  hasMore: boolean;
@@ -609,19 +644,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
609
644
  '--c-tip-top': string;
610
645
  '--c-tip-gap': string;
611
646
  }>;
612
- chatMainBounding: import("vue").ComputedRef<{
613
- height: import("vue").Ref<number>;
614
- bottom: import("vue").Ref<number>;
615
- left: import("vue").Ref<number>;
616
- right: import("vue").Ref<number>;
617
- top: import("vue").Ref<number>;
618
- width: import("vue").Ref<number>;
619
- x: import("vue").Ref<number>;
620
- y: import("vue").Ref<number>;
621
- update: () => void;
622
- }>;
623
647
  getHistoryRecord: () => Promise<void>;
624
- handleContextmenu: (event: MouseEvent) => Promise<void>;
648
+ handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
649
+ setMenuPosition: (event: MouseEvent) => Promise<void>;
625
650
  showMessage: (item: import("../../shared/types").AnyObject) => boolean;
626
651
  showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
627
652
  isTemplate3: (content: import("../../shared/types").AnyObject) => boolean;
@@ -629,12 +654,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
629
654
  setScrollToButtom: () => Promise<void>;
630
655
  resetInfo: () => void;
631
656
  setReferenceMsg: (msgItem: import("../../shared/types").AnyObject) => void;
657
+ handleSelect: (key: string, msgItem: import("../../shared/types").AnyObject) => void;
632
658
  NAvatar: any;
633
659
  NImageGroup: any;
634
660
  NImage: any;
635
661
  NIcon: any;
636
662
  NButtonGroup: any;
637
663
  NButton: any;
664
+ NSpace: any;
638
665
  PersonProfile: import("vue").DefineComponent<{
639
666
  userId: {
640
667
  type: StringConstructor;
@@ -795,10 +822,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
795
822
  position: {
796
823
  type: import("vue").PropType<import("vue").CSSProperties>;
797
824
  };
798
- exclude: {
799
- type: import("vue").PropType<string[]>;
825
+ msgId: {
826
+ type: StringConstructor;
800
827
  };
801
- }, () => JSX.Element, 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<{
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<{
802
829
  show: {
803
830
  type: BooleanConstructor;
804
831
  default: boolean;
@@ -806,8 +833,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
806
833
  position: {
807
834
  type: import("vue").PropType<import("vue").CSSProperties>;
808
835
  };
809
- exclude: {
810
- type: import("vue").PropType<string[]>;
836
+ msgId: {
837
+ type: StringConstructor;
811
838
  };
812
839
  }>> & {
813
840
  onSelect?: ((...args: any[]) => any) | undefined;
@@ -815,7 +842,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
815
842
  }, {
816
843
  show: boolean;
817
844
  }>;
818
- downloadFile: typeof import("./src/utils").downloadFile;
819
845
  simplifyMessage: typeof import("./src/utils").simplifyMessage;
820
846
  isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
821
847
  getAVTime: typeof import("./src/utils").getAVTime;
@@ -824,10 +850,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
824
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<{}>>, {}>;
825
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<{}>>, {}>;
826
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<{}>>, {}>;
827
854
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
828
855
  ChatFooter: import("vue").DefineComponent<{}, {
829
856
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
830
- content: import("vue").Ref<string>;
831
857
  state: import("./src/types").IState;
832
858
  sendMessage: (message: {
833
859
  chatType?: string | undefined;
@@ -836,6 +862,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
836
862
  }) => Promise<void>;
837
863
  isGroupChat: import("vue").ComputedRef<boolean>;
838
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>;
839
871
  handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
840
872
  handleKeyDown: (event: KeyboardEvent) => void;
841
873
  isWrap: (event: KeyboardEvent) => boolean;
@@ -867,9 +899,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
867
899
  };
868
900
  disabledIds: {
869
901
  type: import("vue").PropType<string[]>;
902
+ default: () => never[];
870
903
  };
871
904
  defaultValue: {
872
- type: import("vue").PropType<string[]>;
905
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
873
906
  };
874
907
  }, {
875
908
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -886,34 +919,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
886
919
  };
887
920
  disabledIds: {
888
921
  type: import("vue").PropType<string[]>;
922
+ default: () => never[];
889
923
  };
890
924
  defaultValue: {
891
- type: import("vue").PropType<string[]>;
925
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
892
926
  };
893
927
  }>> & {
894
928
  onComfirm?: ((...args: any[]) => any) | undefined;
895
929
  }>>;
896
930
  emit: (event: "comfirm", ...args: any[]) => void;
897
931
  state: import("./src/types").IState;
932
+ listRef: import("vue").Ref<any>;
933
+ keyword: import("vue").Ref<any>;
898
934
  showModal: import("vue").Ref<boolean>;
899
- checkedIds: import("vue").Ref<(string | number)[]>;
935
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
900
936
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
901
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[]>;
902
948
  btnDisabled: import("vue").ComputedRef<boolean>;
949
+ allChecked: import("vue").WritableComputedRef<boolean>;
903
950
  handlePositiveClick: () => Promise<void>;
904
- renderSourceLabel: ({ option }: {
905
- option: import("../../shared/types").AnyObject;
906
- }) => JSX.Element;
907
- renderTargetList: (props: {
908
- onCheck: (checkedValueList: (string | number)[]) => void;
909
- checkedOptions: import("../../shared/types").AnyObject[];
910
- pattern: string;
911
- }) => 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;
912
958
  NModal: any;
913
959
  NButton: any;
914
- NTransfer: any;
960
+ NSpace: any;
961
+ NAvatar: any;
915
962
  NIcon: any;
963
+ NTag: any;
916
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<{}>>, {}>;
917
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<{}>>, {}>;
918
970
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
919
971
  title: {
@@ -929,15 +981,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
929
981
  };
930
982
  disabledIds: {
931
983
  type: import("vue").PropType<string[]>;
984
+ default: () => never[];
932
985
  };
933
986
  defaultValue: {
934
- type: import("vue").PropType<string[]>;
987
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
935
988
  };
936
989
  }>> & {
937
990
  onComfirm?: ((...args: any[]) => any) | undefined;
938
991
  }, {
939
992
  mode: string;
940
993
  title: string;
994
+ disabledIds: string[];
941
995
  }>;
942
996
  emojis: {
943
997
  default: string[][];
@@ -954,17 +1008,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
954
1008
  listRef: import("vue").Ref<any>;
955
1009
  inputRef: import("vue").Ref<any>;
956
1010
  showSearch: import("vue").Ref<boolean>;
957
- keyword: import("vue").Ref<any>;
958
- userList: import("vue").Ref<any>;
1011
+ keyword: import("vue").Ref<string>;
959
1012
  state: import("./src/types").IState;
960
1013
  openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
961
- pageInfo: {
962
- page: number;
963
- hasMore: boolean;
964
- };
1014
+ userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
965
1015
  handleInput: () => void;
966
- handleSearch: () => Promise<void>;
967
- resetAndSearch: () => void;
1016
+ showNoData: import("vue").ComputedRef<boolean>;
968
1017
  addSession: (userId: string) => Promise<void>;
969
1018
  NPopover: any;
970
1019
  NButton: any;
@@ -972,6 +1021,61 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
972
1021
  NInput: any;
973
1022
  NIcon: any;
974
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
+ }>>;
975
1079
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
976
1080
  ChatAdd: import("vue").DefineComponent<{
977
1081
  title: {
@@ -987,9 +1091,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
987
1091
  };
988
1092
  disabledIds: {
989
1093
  type: import("vue").PropType<string[]>;
1094
+ default: () => never[];
990
1095
  };
991
1096
  defaultValue: {
992
- type: import("vue").PropType<string[]>;
1097
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
993
1098
  };
994
1099
  }, {
995
1100
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1006,34 +1111,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1006
1111
  };
1007
1112
  disabledIds: {
1008
1113
  type: import("vue").PropType<string[]>;
1114
+ default: () => never[];
1009
1115
  };
1010
1116
  defaultValue: {
1011
- type: import("vue").PropType<string[]>;
1117
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1012
1118
  };
1013
1119
  }>> & {
1014
1120
  onComfirm?: ((...args: any[]) => any) | undefined;
1015
1121
  }>>;
1016
1122
  emit: (event: "comfirm", ...args: any[]) => void;
1017
1123
  state: import("./src/types").IState;
1124
+ listRef: import("vue").Ref<any>;
1125
+ keyword: import("vue").Ref<any>;
1018
1126
  showModal: import("vue").Ref<boolean>;
1019
- checkedIds: import("vue").Ref<(string | number)[]>;
1127
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1020
1128
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1021
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[]>;
1022
1140
  btnDisabled: import("vue").ComputedRef<boolean>;
1141
+ allChecked: import("vue").WritableComputedRef<boolean>;
1023
1142
  handlePositiveClick: () => Promise<void>;
1024
- renderSourceLabel: ({ option }: {
1025
- option: import("../../shared/types").AnyObject;
1026
- }) => JSX.Element;
1027
- renderTargetList: (props: {
1028
- onCheck: (checkedValueList: (string | number)[]) => void;
1029
- checkedOptions: import("../../shared/types").AnyObject[];
1030
- pattern: string;
1031
- }) => 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;
1032
1150
  NModal: any;
1033
1151
  NButton: any;
1034
- NTransfer: any;
1152
+ NSpace: any;
1153
+ NAvatar: any;
1035
1154
  NIcon: any;
1155
+ NTag: any;
1036
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<{}>>, {}>;
1037
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<{}>>, {}>;
1038
1162
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1039
1163
  title: {
@@ -1049,15 +1173,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1049
1173
  };
1050
1174
  disabledIds: {
1051
1175
  type: import("vue").PropType<string[]>;
1176
+ default: () => never[];
1052
1177
  };
1053
1178
  defaultValue: {
1054
- type: import("vue").PropType<string[]>;
1179
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1055
1180
  };
1056
1181
  }>> & {
1057
1182
  onComfirm?: ((...args: any[]) => any) | undefined;
1058
1183
  }, {
1059
1184
  mode: string;
1060
1185
  title: string;
1186
+ disabledIds: string[];
1061
1187
  }>;
1062
1188
  Video: import("vue").DefineComponent<{}, {
1063
1189
  sendMessage: (message: {
@@ -1079,6 +1205,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1079
1205
  timer: any;
1080
1206
  seconds: number;
1081
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;
1082
1222
  videoRef: import("vue").Ref<any>;
1083
1223
  selfVideoRef: import("vue").Ref<any>;
1084
1224
  isConnect: import("vue").Ref<boolean>;
@@ -1095,8 +1235,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1095
1235
  handleEnter: () => Promise<void>;
1096
1236
  handleFinish: () => void;
1097
1237
  handleExit: () => Promise<void>;
1098
- installEventHandlers: () => void;
1099
- uninstallEventHandlers: () => void;
1100
1238
  handleRemoteVideoAvailable: (event: any) => Promise<void>;
1101
1239
  handleRemoteAudioAvailable: (event: any) => void;
1102
1240
  handleRemoteUserEnter: () => void;
@@ -1112,7 +1250,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1112
1250
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1113
1251
  MultipleVideo: import("vue").DefineComponent<{}, {
1114
1252
  selfVideoRef: import("vue").Ref<any>;
1115
- remoteUsers: import("vue").Ref<string[]>;
1253
+ remoteUsers: import("vue").Ref<{
1254
+ id: string;
1255
+ name: string;
1256
+ }[]>;
1116
1257
  state: import("./src/types").IState;
1117
1258
  sendMessage: (message: {
1118
1259
  chatType?: string | undefined;
@@ -1130,6 +1271,20 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1130
1271
  timing: import("vue").Ref<string>;
1131
1272
  toggleVideo: () => Promise<void>;
1132
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;
1133
1288
  isConnect: import("vue").Ref<boolean>;
1134
1289
  callUser: import("vue").ComputedRef<any>;
1135
1290
  title: import("vue").ComputedRef<string>;
@@ -1137,14 +1292,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1137
1292
  handleCall: () => void;
1138
1293
  handleEnter: () => Promise<void>;
1139
1294
  handleExit: () => Promise<void>;
1140
- installEventHandlers: () => void;
1141
- uninstallEventHandlers: () => void;
1142
1295
  handleRemoteVideoAvailable: (event: any) => Promise<void>;
1143
- handleRemoteAudioAvailable: (event: any) => void;
1144
- handleRemoteUserEnter: (event: any) => void;
1296
+ handleRemoteAudioAvailable: (event: any) => Promise<void>;
1297
+ handleRemoteUserEnter: (event: any) => Promise<void>;
1298
+ getUserName: (userId: string) => Promise<any>;
1145
1299
  handleRemoteUserExit: (event: any) => void;
1146
1300
  handleError: (error: any) => void;
1147
- getName: (id: string) => any;
1148
1301
  NButton: any;
1149
1302
  NIcon: any;
1150
1303
  ChatAdd: import("vue").DefineComponent<{
@@ -1161,9 +1314,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1161
1314
  };
1162
1315
  disabledIds: {
1163
1316
  type: import("vue").PropType<string[]>;
1317
+ default: () => never[];
1164
1318
  };
1165
1319
  defaultValue: {
1166
- type: import("vue").PropType<string[]>;
1320
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1167
1321
  };
1168
1322
  }, {
1169
1323
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1180,34 +1334,53 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1180
1334
  };
1181
1335
  disabledIds: {
1182
1336
  type: import("vue").PropType<string[]>;
1337
+ default: () => never[];
1183
1338
  };
1184
1339
  defaultValue: {
1185
- type: import("vue").PropType<string[]>;
1340
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1186
1341
  };
1187
1342
  }>> & {
1188
1343
  onComfirm?: ((...args: any[]) => any) | undefined;
1189
1344
  }>>;
1190
1345
  emit: (event: "comfirm", ...args: any[]) => void;
1191
1346
  state: import("./src/types").IState;
1347
+ listRef: import("vue").Ref<any>;
1348
+ keyword: import("vue").Ref<any>;
1192
1349
  showModal: import("vue").Ref<boolean>;
1193
- checkedIds: import("vue").Ref<(string | number)[]>;
1350
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1194
1351
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1195
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[]>;
1196
1363
  btnDisabled: import("vue").ComputedRef<boolean>;
1364
+ allChecked: import("vue").WritableComputedRef<boolean>;
1197
1365
  handlePositiveClick: () => Promise<void>;
1198
- renderSourceLabel: ({ option }: {
1199
- option: import("../../shared/types").AnyObject;
1200
- }) => JSX.Element;
1201
- renderTargetList: (props: {
1202
- onCheck: (checkedValueList: (string | number)[]) => void;
1203
- checkedOptions: import("../../shared/types").AnyObject[];
1204
- pattern: string;
1205
- }) => 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;
1206
1373
  NModal: any;
1207
1374
  NButton: any;
1208
- NTransfer: any;
1375
+ NSpace: any;
1376
+ NAvatar: any;
1209
1377
  NIcon: any;
1378
+ NTag: any;
1210
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<{}>>, {}>;
1211
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<{}>>, {}>;
1212
1385
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1213
1386
  title: {
@@ -1223,15 +1396,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1223
1396
  };
1224
1397
  disabledIds: {
1225
1398
  type: import("vue").PropType<string[]>;
1399
+ default: () => never[];
1226
1400
  };
1227
1401
  defaultValue: {
1228
- type: import("vue").PropType<string[]>;
1402
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1229
1403
  };
1230
1404
  }>> & {
1231
1405
  onComfirm?: ((...args: any[]) => any) | undefined;
1232
1406
  }, {
1233
1407
  mode: string;
1234
1408
  title: string;
1409
+ disabledIds: string[];
1235
1410
  }>;
1236
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<{}>>, {}>;
1237
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<{}>>, {}>;