cnhis-design-vue 3.4.0-beta.9 → 3.4.0-release.7

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 (239) hide show
  1. package/es/_virtual/_virtual_i18n-methods.js +5 -1
  2. package/es/components/audio-sdk/index.d.ts +4 -4
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
  4. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
  5. package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
  6. package/es/components/base-search/index.d.ts +34 -0
  7. package/es/components/base-search/src/index.vue.d.ts +34 -0
  8. package/es/components/base-search/src/index.vue2.js +9 -1
  9. package/es/components/button-print/index.d.ts +32 -0
  10. package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
  11. package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
  12. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
  13. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +77 -50
  14. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
  15. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
  16. package/es/components/button-print/src/utils/print.d.ts +2 -1
  17. package/es/components/button-print/src/utils/print.js +13 -8
  18. package/es/components/callback/src/components/render/popupMaps.d.ts +110 -222
  19. package/es/components/classification/index.d.ts +123 -0
  20. package/es/components/classification/src/components/search-filter/index.vue.d.ts +123 -0
  21. package/es/components/classification/src/components/set-classification/index.vue.d.ts +123 -0
  22. package/es/components/classification/src/index.vue.d.ts +123 -0
  23. package/es/components/classification/src/index.vue2.js +7 -0
  24. package/es/components/date-picker/index.d.ts +41 -0
  25. package/es/components/date-picker/src/DatePicker.vue.d.ts +41 -0
  26. package/es/components/date-picker/src/DatePicker.vue2.js +34 -4
  27. package/es/components/expand-field/index.d.ts +31 -0
  28. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
  29. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
  30. package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
  31. package/es/components/expand-field/src/index.vue.d.ts +31 -0
  32. package/es/components/fabric-chart/index.d.ts +3 -3
  33. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
  34. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
  35. package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
  36. package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
  37. package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
  38. package/es/components/fabric-chart/src/constants/index.js +26 -11
  39. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
  40. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
  41. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
  42. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -12
  43. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
  44. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +61 -33
  45. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
  46. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -120
  47. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
  48. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
  49. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
  50. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
  51. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
  52. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
  53. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +21 -14
  54. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
  55. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
  56. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
  57. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
  58. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
  59. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
  60. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +16 -14
  61. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
  62. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
  63. package/es/components/fabric-chart/src/interface.d.ts +15 -1
  64. package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
  65. package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
  66. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  67. package/es/components/fabric-chart/src/utils/index.js +2 -10
  68. package/es/components/fabric-chart/style/index.css +1 -1
  69. package/es/components/field-editor/index.d.ts +1 -0
  70. package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
  71. package/es/components/field-set/src/FieldColor.vue.d.ts +83 -1
  72. package/es/components/field-set/src/FieldColor.vue2.js +2 -1
  73. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  74. package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
  75. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  76. package/es/components/field-set/src/FieldSet.vue2.js +4 -1
  77. package/es/components/field-set/src/components/condition.vue.d.ts +41 -0
  78. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +82 -0
  79. package/es/components/field-set/src/components/edit-filter.vue.d.ts +41 -0
  80. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  81. package/es/components/field-set/src/components/table-row.vue2.js +1 -0
  82. package/es/components/form-config/index.d.ts +24 -0
  83. package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
  84. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
  85. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
  86. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
  87. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
  88. package/es/components/form-config/src/constants/index.d.ts +2 -0
  89. package/es/components/form-config/src/constants/index.js +2 -0
  90. package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
  91. package/es/components/form-render/index.d.ts +1 -0
  92. package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
  93. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
  94. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  95. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
  96. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  97. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  98. package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
  99. package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
  100. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  101. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  102. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  103. package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
  104. package/es/components/form-render/src/types/index.d.ts +1 -0
  105. package/es/components/form-render/src/utils/index.d.ts +1 -1
  106. package/es/components/form-render/src/utils/index.js +5 -2
  107. package/es/components/iho-chat/index.d.ts +2785 -302
  108. package/es/components/iho-chat/src/Index.vue.d.ts +2785 -302
  109. package/es/components/iho-chat/src/Index.vue2.js +5 -3
  110. package/es/components/iho-chat/src/api/index.d.ts +89 -16
  111. package/es/components/iho-chat/src/api/index.js +8 -1
  112. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
  113. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
  114. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
  115. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
  116. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +796 -101
  117. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
  118. package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
  119. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +217 -14
  120. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
  121. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
  122. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
  123. package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
  124. package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
  125. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
  126. package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
  127. package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
  128. package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
  129. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
  130. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
  131. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
  132. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
  133. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +134 -11
  134. package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
  135. package/es/components/iho-chat/src/components/userItemRender.js +2 -1
  136. package/es/components/iho-chat/src/constants/index.d.ts +2 -1
  137. package/es/components/iho-chat/src/constants/index.js +1 -0
  138. package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
  139. package/es/components/iho-chat/src/hooks/useData.js +31 -10
  140. package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
  141. package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
  142. package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
  143. package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
  144. package/es/components/iho-chat/src/types/index.d.ts +39 -7
  145. package/es/components/iho-chat/src/utils/index.d.ts +2 -1
  146. package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
  147. package/es/components/iho-chat/src/utils/sseClient.js +97 -0
  148. package/es/components/iho-chat/style/index.css +1 -1
  149. package/es/components/iho-table/index.d.ts +109 -222
  150. package/es/components/iho-table/src/IhoTable.vue.d.ts +109 -222
  151. package/es/components/iho-table/src/IhoTable.vue2.js +23 -14
  152. package/es/components/iho-table/src/constants/index.d.ts +3 -3
  153. package/es/components/iho-table/src/constants/index.js +0 -21
  154. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
  155. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  156. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
  157. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +43 -4
  158. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
  159. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
  160. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
  161. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +41 -0
  162. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  163. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +25 -0
  164. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  165. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  166. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
  167. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  168. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  169. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
  170. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  171. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  172. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
  173. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
  174. package/es/components/iho-table/src/types/index.d.ts +3 -1
  175. package/es/components/index.css +1 -1
  176. package/es/components/info-header/index.d.ts +46 -2
  177. package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
  178. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
  179. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
  180. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
  181. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
  182. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
  183. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
  184. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
  185. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
  186. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
  187. package/es/components/scale-view/index.d.ts +1 -1
  188. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  189. package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
  190. package/es/components/scale-view/src/hooks/use-event.js +56 -22
  191. package/es/components/select-person/index.d.ts +31 -0
  192. package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
  193. package/es/components/select-person/src/SelectPerson.vue2.js +38 -9
  194. package/es/components/select-person/src/index.vue.d.ts +31 -0
  195. package/es/components/select-person/src/index.vue2.js +4 -0
  196. package/es/components/select-person/src/utils/index.js +11 -9
  197. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
  198. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
  199. package/es/components/shortcut-setter/index.d.ts +2 -0
  200. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
  201. package/es/components/table-export-field/index.d.ts +6 -0
  202. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  203. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
  204. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
  205. package/es/components/table-export-field/src/index.vue.d.ts +6 -0
  206. package/es/components/table-export-field/src/types/index.d.ts +1 -0
  207. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +41 -0
  208. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +41 -0
  209. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +41 -0
  210. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +41 -0
  211. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +82 -0
  212. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +41 -0
  213. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +41 -0
  214. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +82 -0
  215. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +82 -0
  216. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +41 -0
  217. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +43 -0
  218. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
  219. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +41 -0
  220. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +43 -0
  221. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
  222. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +168 -0
  223. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
  224. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +168 -0
  225. package/es/components/table-filter/src/constants/index.d.ts +1 -0
  226. package/es/components/table-filter/src/constants/index.js +4 -1
  227. package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
  228. package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
  229. package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
  230. package/es/shared/components/Ellipsis/index.d.ts +2 -0
  231. package/es/shared/components/Ellipsis/index.js +2 -0
  232. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
  233. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
  234. package/es/shared/package.json.js +1 -1
  235. package/es/shared/types/business.d.ts +3 -2
  236. package/es/shared/utils/business.js +16 -0
  237. package/es/shared/utils/ho-edge.d.ts +12 -0
  238. package/es/shared/utils/ho-edge.js +58 -0
  239. package/package.json +3 -3
@@ -116,7 +116,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  }, {
117
117
  default: withCtx(() => [loading.value ? (openBlock(), createBlock(unref(NSpin), {
118
118
  key: 0,
119
- stroke: "#5585f5"
119
+ style: {
120
+ "margin": "auto"
121
+ }
120
122
  })) : (openBlock(), createElementBlock(Fragment, {
121
123
  key: 1
122
124
  }, [__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(ChatSearch), createVNode(ChatAdd, {
@@ -130,8 +132,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
130
132
  default: withCtx(() => [createVNode(SiderList), createVNode(unref(NLayoutContent), {
131
133
  class: "chat-content",
132
134
  style: normalizeStyle({
133
- "--c-pointer-events": unref(isEnded) ? "none" : "unset",
134
- "--c-cursor": unref(isEnded) ? "not-allowed" : "unset"
135
+ "--c-pointer-events": unref(isEnded) || unref(state).loading ? "none" : "unset",
136
+ "--c-cursor": unref(isEnded) || unref(state).loading ? "not-allowed" : "unset"
135
137
  })
136
138
  }, {
137
139
  default: withCtx(() => [createVNode(ChatHeader, null, {
@@ -1,20 +1,93 @@
1
- import { AnyObject } from '../../../../shared/types';
1
+ import { CHAT_TYPE, STATUS } from '../constants';
2
2
  export declare const instanceAxios: import("axios").AxiosInstance;
3
- export declare function openSessionApi(params: AnyObject): import("axios").AxiosPromise<any>;
4
- export declare function getHistoryRecordApi(params: AnyObject): import("axios").AxiosPromise<any>;
5
- export declare function toppingSessionApi(params: AnyObject): import("axios").AxiosPromise<any>;
3
+ export declare function openSessionApi(params: {
4
+ chatType: CHAT_TYPE;
5
+ receiver: string;
6
+ sender: string;
7
+ }): import("axios").AxiosPromise<any>;
8
+ export declare function getHistoryRecordApi(params: {
9
+ sessionKey: string;
10
+ page: number;
11
+ lastSendTime: string;
12
+ }): import("axios").AxiosPromise<any>;
13
+ export declare function toppingSessionApi(params: {
14
+ id: string;
15
+ topping: boolean;
16
+ }): import("axios").AxiosPromise<any>;
6
17
  export declare function uploadFileApi(params: FormData): import("axios").AxiosPromise<any>;
7
- export declare function listUserApi(params: AnyObject): import("axios").AxiosPromise<any>;
8
- export declare function listPatientApi(params: AnyObject): import("axios").AxiosPromise<any>;
9
- export declare function getUserDetailApi(params: AnyObject): import("axios").AxiosPromise<any>;
10
- export declare function readMessageApi(params: AnyObject): import("axios").AxiosPromise<any>;
11
- export declare function recallMessageApi(params: AnyObject): import("axios").AxiosPromise<any>;
12
- export declare function searchChatRecordApi(params: AnyObject): import("axios").AxiosPromise<any>;
13
- export declare function groupCreateApi(params: AnyObject): import("axios").AxiosPromise<any>;
14
- export declare function groupUserApi(params: AnyObject): import("axios").AxiosPromise<any>;
15
- export declare function groupJoinApi(params: AnyObject): import("axios").AxiosPromise<any>;
16
- export declare function groupLeaveApi(params: AnyObject): import("axios").AxiosPromise<any>;
17
- export declare function avFinishApi(params: AnyObject): import("axios").AxiosPromise<any>;
18
+ export declare function listUserApi(params: {
19
+ orgId: string;
20
+ keyword: string;
21
+ page: number;
22
+ pageSize: number;
23
+ }): import("axios").AxiosPromise<any>;
24
+ export declare function listPatientApi(params: {
25
+ orgId: string;
26
+ keyword: string;
27
+ page: number;
28
+ pageSize: number;
29
+ }): import("axios").AxiosPromise<any>;
30
+ export declare function getUserDetailApi(params: {
31
+ userId: string;
32
+ }): import("axios").AxiosPromise<any>;
33
+ export declare function readMessageApi(params: {
34
+ chatType: string;
35
+ messageIdSet: string[];
36
+ receiver: string;
37
+ sender: string;
38
+ }): import("axios").AxiosPromise<any>;
39
+ export declare function recallMessageApi(params: {
40
+ chatType: string;
41
+ messageIdSet: string[];
42
+ receiver: string;
43
+ sender: string;
44
+ isLastMessage: boolean;
45
+ }): import("axios").AxiosPromise<any>;
46
+ export declare function searchChatRecordApi(params: {
47
+ orgId: string;
48
+ keyword: string;
49
+ endTime: string;
50
+ startTime: string;
51
+ lastSendTime: string;
52
+ memberIdSet: string[];
53
+ page: number;
54
+ recordType: 'ALL' | 'IMAGE' | 'FILE';
55
+ receiver: string;
56
+ userId: string;
57
+ }): import("axios").AxiosPromise<any>;
58
+ export declare function groupCreateApi(params: {
59
+ creator: string;
60
+ memberIdSet: string[];
61
+ name: string;
62
+ orgId: string;
63
+ }): import("axios").AxiosPromise<any>;
64
+ export declare function groupUserApi(params: {
65
+ id: string;
66
+ }): import("axios").AxiosPromise<any>;
67
+ export declare function groupJoinApi(params: {
68
+ groupId: string;
69
+ operator: string;
70
+ memberIdSet: string[];
71
+ }): import("axios").AxiosPromise<any>;
72
+ export declare function groupLeaveApi(params: {
73
+ dissolution: boolean;
74
+ groupId: string;
75
+ operator: string;
76
+ memberIdSet: string[];
77
+ }): import("axios").AxiosPromise<any>;
78
+ export declare function avFinishApi(params: {
79
+ recordId: string;
80
+ status: string;
81
+ duration: number;
82
+ }): import("axios").AxiosPromise<any>;
18
83
  export declare function groupUpdateApi(params: FormData): import("axios").AxiosPromise<any>;
19
- export declare function updateStatusApi(params: AnyObject): import("axios").AxiosPromise<any>;
84
+ export declare function updateStatusApi(params: {
85
+ id: string;
86
+ status: STATUS;
87
+ }): import("axios").AxiosPromise<any>;
20
88
  export declare function getOrgUserTreeApi(): import("axios").AxiosPromise<any>;
89
+ export declare function messageSummaryApi(params: {
90
+ id: string;
91
+ sender: string;
92
+ summaryMessage: string;
93
+ }): import("axios").AxiosPromise<any>;
@@ -170,5 +170,12 @@ function getOrgUserTreeApi() {
170
170
  url: "/user/getOrgUserTree"
171
171
  });
172
172
  }
173
+ function messageSummaryApi(params) {
174
+ return instanceAxios({
175
+ method: "post",
176
+ url: "/group/messageSummary",
177
+ data: params
178
+ });
179
+ }
173
180
 
174
- export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
181
+ export { avFinishApi, getHistoryRecordApi, getOrgUserTreeApi, getUserDetailApi, groupCreateApi, groupJoinApi, groupLeaveApi, groupUpdateApi, groupUserApi, instanceAxios, listPatientApi, listUserApi, messageSummaryApi, openSessionApi, readMessageApi, recallMessageApi, searchChatRecordApi, toppingSessionApi, updateStatusApi, uploadFileApi };
@@ -1,6 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { AnyObject } from '../../../../shared/types';
3
3
  import { isDoctorRole, getRoleName } from '../utils';
4
+ import { CHAT_TYPE } from '../constants';
4
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
6
  title: {
6
7
  type: StringConstructor;
@@ -61,8 +62,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
61
62
  }> & {}>;
62
63
  emit: (event: "comfirm", ...args: any[]) => void;
63
64
  state: {
64
- orgId: string | number;
65
- currentSessionItem: AnyObject;
65
+ [x: string]: any;
66
+ orgId: string;
67
+ currentSessionItem: {
68
+ id: string;
69
+ sessionKey: string;
70
+ receiver: string;
71
+ createdTime: string;
72
+ avatar: string;
73
+ name: string;
74
+ defaultName: string;
75
+ chatType: CHAT_TYPE;
76
+ roleInfo: import("../constants").ROLE_TYPE;
77
+ status: import("../constants").STATUS;
78
+ sortTime: string;
79
+ topping: boolean;
80
+ unreadNum: number;
81
+ updatedTime: string;
82
+ lastMessageContent: string;
83
+ sender?: string | undefined;
84
+ lastMessageId?: string | undefined;
85
+ lastMessage?: {
86
+ [x: string]: any;
87
+ chatMessageType: import("../constants").MESSAGE_TYPE;
88
+ msg: string;
89
+ referenceContent?: any;
90
+ forwardMessageList?: AnyObject[] | undefined;
91
+ messageTemplate?: any;
92
+ messageTemplateData?: any;
93
+ fileUrl?: string | undefined;
94
+ avStatus?: string | undefined;
95
+ } | undefined;
96
+ lastMessageSendTime?: string | undefined;
97
+ lastMessageStatus?: string | undefined;
98
+ lastSenderName?: string | undefined;
99
+ businessInfo?: {
100
+ uiSetting?: AnyObject | undefined;
101
+ topicInfo?: {
102
+ [x: string]: any;
103
+ param?: AnyObject | undefined;
104
+ } | undefined;
105
+ } | undefined;
106
+ labelList?: AnyObject[] | undefined;
107
+ notDisturb: boolean;
108
+ };
66
109
  id: string;
67
110
  userInfo: AnyObject;
68
111
  msgList: {
@@ -71,7 +114,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
114
  sessionKey: string;
72
115
  content: {
73
116
  [x: string]: any;
74
- chatMessageType: string;
117
+ chatMessageType: import("../constants").MESSAGE_TYPE;
75
118
  msg: string;
76
119
  referenceContent?: any;
77
120
  forwardMessageList?: AnyObject[] | undefined;
@@ -89,11 +132,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
132
  __time?: string | undefined;
90
133
  __sendTime?: string | undefined;
91
134
  }[];
92
- currentMsg: AnyObject;
93
- isAppendMsg: boolean;
94
- sessionList: AnyObject[];
135
+ sessionList: {
136
+ id: string;
137
+ sessionKey: string;
138
+ receiver: string;
139
+ createdTime: string;
140
+ avatar: string;
141
+ name: string;
142
+ defaultName: string;
143
+ chatType: CHAT_TYPE;
144
+ roleInfo: import("../constants").ROLE_TYPE;
145
+ status: import("../constants").STATUS;
146
+ sortTime: string;
147
+ topping: boolean;
148
+ unreadNum: number;
149
+ updatedTime: string;
150
+ lastMessageContent: string;
151
+ sender?: string | undefined;
152
+ lastMessageId?: string | undefined;
153
+ lastMessage?: {
154
+ [x: string]: any;
155
+ chatMessageType: import("../constants").MESSAGE_TYPE;
156
+ msg: string;
157
+ referenceContent?: any;
158
+ forwardMessageList?: AnyObject[] | undefined;
159
+ messageTemplate?: any;
160
+ messageTemplateData?: any;
161
+ fileUrl?: string | undefined;
162
+ avStatus?: string | undefined;
163
+ } | undefined;
164
+ lastMessageSendTime?: string | undefined;
165
+ lastMessageStatus?: string | undefined;
166
+ lastSenderName?: string | undefined;
167
+ businessInfo?: {
168
+ uiSetting?: AnyObject | undefined;
169
+ topicInfo?: {
170
+ [x: string]: any;
171
+ param?: AnyObject | undefined;
172
+ } | undefined;
173
+ } | undefined;
174
+ labelList?: AnyObject[] | undefined;
175
+ notDisturb: boolean;
176
+ }[];
95
177
  isChangeSession: boolean;
96
- updateSessionItem: AnyObject;
97
178
  isUpdateSession: boolean;
98
179
  currentReferenceMsg: AnyObject | null;
99
180
  currentReEditMsg: AnyObject | null;
@@ -111,6 +192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
192
  info: AnyObject | null;
112
193
  };
113
194
  isForward: boolean;
195
+ loading: boolean;
114
196
  };
115
197
  setCurrentSessionItem: (item: AnyObject) => void;
116
198
  listRef: import("vue").Ref<any, any>;
@@ -126,25 +208,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
126
208
  handleInput: () => void;
127
209
  _disabledIds: import("vue").ComputedRef<any[]>;
128
210
  sessionList: import("vue").ComputedRef<{
129
- id: any;
130
- name: any;
131
- avatar: any;
132
- chatType: any;
133
- roleInfo: any;
211
+ id: string;
212
+ name: string;
213
+ avatar: string;
214
+ chatType: CHAT_TYPE;
215
+ roleInfo: import("../constants").ROLE_TYPE;
134
216
  }[]>;
135
217
  friends: import("vue").ComputedRef<{
136
- id: any;
137
- name: any;
138
- avatar: any;
139
- chatType: any;
140
- roleInfo: any;
218
+ id: string;
219
+ name: string;
220
+ avatar: string;
221
+ chatType: CHAT_TYPE;
222
+ roleInfo: import("../constants").ROLE_TYPE;
141
223
  }[]>;
142
224
  groups: import("vue").ComputedRef<{
143
- id: any;
144
- name: any;
145
- avatar: any;
146
- chatType: any;
147
- roleInfo: any;
225
+ id: string;
226
+ name: string;
227
+ avatar: string;
228
+ chatType: CHAT_TYPE;
229
+ roleInfo: import("../constants").ROLE_TYPE;
148
230
  }[]>;
149
231
  checkedIds: import("vue").ComputedRef<any[]>;
150
232
  btnDisabled: import("vue").ComputedRef<boolean>;
@@ -22,8 +22,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  }>> & Readonly<{}> & {}>;
23
23
  cssVars: import("vue").ComputedRef<AnyObject>;
24
24
  state: {
25
- orgId: string | number;
26
- currentSessionItem: AnyObject;
25
+ [x: string]: any;
26
+ orgId: string;
27
+ currentSessionItem: {
28
+ id: string;
29
+ sessionKey: string;
30
+ receiver: string;
31
+ createdTime: string;
32
+ avatar: string;
33
+ name: string;
34
+ defaultName: string;
35
+ chatType: import("../constants").CHAT_TYPE;
36
+ roleInfo: import("../constants").ROLE_TYPE;
37
+ status: import("../constants").STATUS;
38
+ sortTime: string;
39
+ topping: boolean;
40
+ unreadNum: number;
41
+ updatedTime: string;
42
+ lastMessageContent: string;
43
+ sender?: string | undefined;
44
+ lastMessageId?: string | undefined;
45
+ lastMessage?: {
46
+ [x: string]: any;
47
+ chatMessageType: import("../constants").MESSAGE_TYPE;
48
+ msg: string;
49
+ referenceContent?: any;
50
+ forwardMessageList?: AnyObject[] | undefined;
51
+ messageTemplate?: any;
52
+ messageTemplateData?: any;
53
+ fileUrl?: string | undefined;
54
+ avStatus?: string | undefined;
55
+ } | undefined;
56
+ lastMessageSendTime?: string | undefined;
57
+ lastMessageStatus?: string | undefined;
58
+ lastSenderName?: string | undefined;
59
+ businessInfo?: {
60
+ uiSetting?: AnyObject | undefined;
61
+ topicInfo?: {
62
+ [x: string]: any;
63
+ param?: AnyObject | undefined;
64
+ } | undefined;
65
+ } | undefined;
66
+ labelList?: AnyObject[] | undefined;
67
+ notDisturb: boolean;
68
+ };
27
69
  id: string;
28
70
  userInfo: AnyObject;
29
71
  msgList: {
@@ -32,7 +74,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
74
  sessionKey: string;
33
75
  content: {
34
76
  [x: string]: any;
35
- chatMessageType: string;
77
+ chatMessageType: import("../constants").MESSAGE_TYPE;
36
78
  msg: string;
37
79
  referenceContent?: any;
38
80
  forwardMessageList?: AnyObject[] | undefined;
@@ -50,11 +92,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
50
92
  __time?: string | undefined;
51
93
  __sendTime?: string | undefined;
52
94
  }[];
53
- currentMsg: AnyObject;
54
- isAppendMsg: boolean;
55
- sessionList: AnyObject[];
95
+ sessionList: {
96
+ id: string;
97
+ sessionKey: string;
98
+ receiver: string;
99
+ createdTime: string;
100
+ avatar: string;
101
+ name: string;
102
+ defaultName: string;
103
+ chatType: import("../constants").CHAT_TYPE;
104
+ roleInfo: import("../constants").ROLE_TYPE;
105
+ status: import("../constants").STATUS;
106
+ sortTime: string;
107
+ topping: boolean;
108
+ unreadNum: number;
109
+ updatedTime: string;
110
+ lastMessageContent: string;
111
+ sender?: string | undefined;
112
+ lastMessageId?: string | undefined;
113
+ lastMessage?: {
114
+ [x: string]: any;
115
+ chatMessageType: import("../constants").MESSAGE_TYPE;
116
+ msg: string;
117
+ referenceContent?: any;
118
+ forwardMessageList?: AnyObject[] | undefined;
119
+ messageTemplate?: any;
120
+ messageTemplateData?: any;
121
+ fileUrl?: string | undefined;
122
+ avStatus?: string | undefined;
123
+ } | undefined;
124
+ lastMessageSendTime?: string | undefined;
125
+ lastMessageStatus?: string | undefined;
126
+ lastSenderName?: string | undefined;
127
+ businessInfo?: {
128
+ uiSetting?: AnyObject | undefined;
129
+ topicInfo?: {
130
+ [x: string]: any;
131
+ param?: AnyObject | undefined;
132
+ } | undefined;
133
+ } | undefined;
134
+ labelList?: AnyObject[] | undefined;
135
+ notDisturb: boolean;
136
+ }[];
56
137
  isChangeSession: boolean;
57
- updateSessionItem: AnyObject;
58
138
  isUpdateSession: boolean;
59
139
  currentReferenceMsg: AnyObject | null;
60
140
  currentReEditMsg: AnyObject | null;
@@ -72,6 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
72
152
  info: AnyObject | null;
73
153
  };
74
154
  isForward: boolean;
155
+ loading: boolean;
75
156
  };
76
157
  relayMessage: (param: {
77
158
  checkedIds: string[];
@@ -210,8 +291,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
210
291
  }> & {}>;
211
292
  emit: (event: "comfirm", ...args: any[]) => void;
212
293
  state: {
213
- orgId: string | number;
214
- currentSessionItem: AnyObject;
294
+ [x: string]: any;
295
+ orgId: string;
296
+ currentSessionItem: {
297
+ id: string;
298
+ sessionKey: string;
299
+ receiver: string;
300
+ createdTime: string;
301
+ avatar: string;
302
+ name: string;
303
+ defaultName: string;
304
+ chatType: import("../constants").CHAT_TYPE;
305
+ roleInfo: import("../constants").ROLE_TYPE;
306
+ status: import("../constants").STATUS;
307
+ sortTime: string;
308
+ topping: boolean;
309
+ unreadNum: number;
310
+ updatedTime: string;
311
+ lastMessageContent: string;
312
+ sender?: string | undefined;
313
+ lastMessageId?: string | undefined;
314
+ lastMessage?: {
315
+ [x: string]: any;
316
+ chatMessageType: import("../constants").MESSAGE_TYPE;
317
+ msg: string;
318
+ referenceContent?: any;
319
+ forwardMessageList?: AnyObject[] | undefined;
320
+ messageTemplate?: any;
321
+ messageTemplateData?: any;
322
+ fileUrl?: string | undefined;
323
+ avStatus?: string | undefined;
324
+ } | undefined;
325
+ lastMessageSendTime?: string | undefined;
326
+ lastMessageStatus?: string | undefined;
327
+ lastSenderName?: string | undefined;
328
+ businessInfo?: {
329
+ uiSetting?: AnyObject | undefined;
330
+ topicInfo?: {
331
+ [x: string]: any;
332
+ param?: AnyObject | undefined;
333
+ } | undefined;
334
+ } | undefined;
335
+ labelList?: AnyObject[] | undefined;
336
+ notDisturb: boolean;
337
+ };
215
338
  id: string;
216
339
  userInfo: AnyObject;
217
340
  msgList: {
@@ -220,7 +343,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
220
343
  sessionKey: string;
221
344
  content: {
222
345
  [x: string]: any;
223
- chatMessageType: string;
346
+ chatMessageType: import("../constants").MESSAGE_TYPE;
224
347
  msg: string;
225
348
  referenceContent?: any;
226
349
  forwardMessageList?: AnyObject[] | undefined;
@@ -238,11 +361,49 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
238
361
  __time?: string | undefined;
239
362
  __sendTime?: string | undefined;
240
363
  }[];
241
- currentMsg: AnyObject;
242
- isAppendMsg: boolean;
243
- sessionList: AnyObject[];
364
+ sessionList: {
365
+ id: string;
366
+ sessionKey: string;
367
+ receiver: string;
368
+ createdTime: string;
369
+ avatar: string;
370
+ name: string;
371
+ defaultName: string;
372
+ chatType: import("../constants").CHAT_TYPE;
373
+ roleInfo: import("../constants").ROLE_TYPE;
374
+ status: import("../constants").STATUS;
375
+ sortTime: string;
376
+ topping: boolean;
377
+ unreadNum: number;
378
+ updatedTime: string;
379
+ lastMessageContent: string;
380
+ sender?: string | undefined;
381
+ lastMessageId?: string | undefined;
382
+ lastMessage?: {
383
+ [x: string]: any;
384
+ chatMessageType: import("../constants").MESSAGE_TYPE;
385
+ msg: string;
386
+ referenceContent?: any;
387
+ forwardMessageList?: AnyObject[] | undefined;
388
+ messageTemplate?: any;
389
+ messageTemplateData?: any;
390
+ fileUrl?: string | undefined;
391
+ avStatus?: string | undefined;
392
+ } | undefined;
393
+ lastMessageSendTime?: string | undefined;
394
+ lastMessageStatus?: string | undefined;
395
+ lastSenderName?: string | undefined;
396
+ businessInfo?: {
397
+ uiSetting?: AnyObject | undefined;
398
+ topicInfo?: {
399
+ [x: string]: any;
400
+ param?: AnyObject | undefined;
401
+ } | undefined;
402
+ } | undefined;
403
+ labelList?: AnyObject[] | undefined;
404
+ notDisturb: boolean;
405
+ }[];
244
406
  isChangeSession: boolean;
245
- updateSessionItem: AnyObject;
246
407
  isUpdateSession: boolean;
247
408
  currentReferenceMsg: AnyObject | null;
248
409
  currentReEditMsg: AnyObject | null;
@@ -260,6 +421,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
260
421
  info: AnyObject | null;
261
422
  };
262
423
  isForward: boolean;
424
+ loading: boolean;
263
425
  };
264
426
  setCurrentSessionItem: (item: AnyObject) => void;
265
427
  listRef: import("vue").Ref<any, any>;
@@ -275,25 +437,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
275
437
  handleInput: () => void;
276
438
  _disabledIds: import("vue").ComputedRef<any[]>;
277
439
  sessionList: import("vue").ComputedRef<{
278
- id: any;
279
- name: any;
280
- avatar: any;
281
- chatType: any;
282
- roleInfo: any;
440
+ id: string;
441
+ name: string;
442
+ avatar: string;
443
+ chatType: import("../constants").CHAT_TYPE;
444
+ roleInfo: import("../constants").ROLE_TYPE;
283
445
  }[]>;
284
446
  friends: import("vue").ComputedRef<{
285
- id: any;
286
- name: any;
287
- avatar: any;
288
- chatType: any;
289
- roleInfo: any;
447
+ id: string;
448
+ name: string;
449
+ avatar: string;
450
+ chatType: import("../constants").CHAT_TYPE;
451
+ roleInfo: import("../constants").ROLE_TYPE;
290
452
  }[]>;
291
453
  groups: import("vue").ComputedRef<{
292
- id: any;
293
- name: any;
294
- avatar: any;
295
- chatType: any;
296
- roleInfo: any;
454
+ id: string;
455
+ name: string;
456
+ avatar: string;
457
+ chatType: import("../constants").CHAT_TYPE;
458
+ roleInfo: import("../constants").ROLE_TYPE;
297
459
  }[]>;
298
460
  checkedIds: import("vue").ComputedRef<any[]>;
299
461
  btnDisabled: import("vue").ComputedRef<boolean>;