cnhis-design-vue 3.3.2-release.0 → 3.3.2-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 (255) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +173 -146
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  4. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  6. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  9. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  10. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  11. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  12. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  14. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  15. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  16. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  20. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  21. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  22. package/es/components/audio-sdk/src/types/index.js +10 -0
  23. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  24. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  25. package/es/components/audio-sdk/style/index.css +1 -1
  26. package/es/components/base-search/src/index.vue2.js +30 -18
  27. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  28. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  29. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  30. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  31. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  32. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  33. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  34. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  35. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  36. package/es/components/body-select/src/index.vue2.js +24 -4
  37. package/es/components/button-print/index.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  39. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  40. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  41. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  42. package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
  43. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  44. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  45. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  46. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  47. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  48. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  49. package/es/components/button-print/src/utils/dialog.js +26 -8
  50. package/es/components/button-print/src/utils/print.d.ts +5 -5
  51. package/es/components/button-print/src/utils/print.js +108 -21
  52. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  53. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  54. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  55. package/es/components/card-render/src/components/index.d.ts +23 -23
  56. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  57. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  58. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  59. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  60. package/es/components/classification/src/index.vue2.js +261 -69
  61. package/es/components/default-page/src/constants/index.js +144 -19
  62. package/es/components/default-page/src/index.vue2.js +8 -2
  63. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  64. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  65. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  66. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  67. package/es/components/expand-field/src/index.vue2.js +88 -22
  68. package/es/components/expand-field/src/utils/constant.js +88 -12
  69. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  70. package/es/components/fabric-chart/src/constants/index.js +72 -10
  71. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  72. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  73. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  74. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  75. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  76. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  77. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  78. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  79. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  80. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  81. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  82. package/es/components/fabric-chart/src/utils/index.js +2 -2
  83. package/es/components/field-editor/src/fields.js +232 -30
  84. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  85. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  86. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  87. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  88. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  89. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  90. package/es/components/field-set/src/Index.vue2.js +40 -6
  91. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  92. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  93. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  94. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  95. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  96. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  97. package/es/components/field-set/src/constants/filter.js +328 -42
  98. package/es/components/field-set/src/constants/index.js +504 -64
  99. package/es/components/field-set/src/utils/index.js +1 -1
  100. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  101. package/es/components/form-config/src/constants/index.js +80 -11
  102. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  103. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  104. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  105. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  106. package/es/components/form-render/src/components/renderer/input.js +3 -2
  107. package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
  108. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  109. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  110. package/es/components/form-render/src/components/renderer/textarea.js +5 -4
  111. package/es/components/form-render/src/utils/schema.js +26 -6
  112. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  113. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  114. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  115. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  116. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  117. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  118. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  119. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  120. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  121. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  122. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  123. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  124. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  125. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +67 -12
  126. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  127. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  128. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  129. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  130. package/es/components/iho-chat/src/utils/index.js +79 -14
  131. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  132. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  133. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  134. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  135. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  136. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  138. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  139. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  140. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +17 -3
  141. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  142. package/es/components/index.css +1 -1
  143. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  144. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  145. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  146. package/es/components/map/src/Map.vue2.js +8 -4
  147. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  148. package/es/components/quick-search/src/index.vue2.js +176 -131
  149. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  150. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  151. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  152. package/es/components/scale-view/src/ScaleView.vue2.js +17 -9
  153. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  154. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  155. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  156. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  157. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  158. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  159. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  160. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  161. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  162. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  163. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  164. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  165. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  166. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  167. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  168. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  169. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  170. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  171. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  172. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  173. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  174. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  175. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  176. package/es/components/select-person/src/index.vue2.js +20 -7
  177. package/es/components/slider-tree/src/index.vue2.js +16 -3
  178. package/es/components/table-export-field/index.d.ts +1 -0
  179. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  180. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  181. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  182. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  183. package/es/components/table-export-field/src/index.vue2.js +28 -12
  184. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  185. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  186. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  187. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  188. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  189. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  190. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  191. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  192. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  193. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  194. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  195. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  196. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  197. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  198. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  199. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  200. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  201. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  202. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  203. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  204. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  205. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  206. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  207. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  208. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  209. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  210. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  211. package/es/env.d.ts +25 -25
  212. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  214. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  215. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  216. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  217. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  218. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  219. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  220. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  221. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  222. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  223. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  224. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  225. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  226. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  227. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  228. package/es/shared/assets/img/failure.png.js +1 -1
  229. package/es/shared/assets/img/no-permission.png.js +1 -1
  230. package/es/shared/assets/img/nodata.png.js +1 -1
  231. package/es/shared/assets/img/notfound.png.js +1 -1
  232. package/es/shared/assets/img/qr.png.js +1 -1
  233. package/es/shared/assets/img/success.png.js +1 -1
  234. package/es/shared/assets/img/table_style_2.png.js +1 -1
  235. package/es/shared/assets/img/video.png.js +1 -1
  236. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  237. package/es/shared/assets/img/xb_big.png.js +1 -1
  238. package/es/shared/assets/img/xb_small.png.js +1 -1
  239. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  240. package/es/shared/package.json.js +1 -1
  241. package/package.json +2 -2
  242. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  243. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
  244. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  245. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  246. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  247. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  248. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  249. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  250. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  251. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  252. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  253. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  254. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  255. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -41,34 +41,75 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
41
41
  slots,
42
42
  emit
43
43
  }) {
44
- var _a, _b, _c, _d, _e, _f;
45
44
  const {
46
45
  state,
47
46
  setCurrentSessionItem
48
47
  } = useData();
49
48
  const defaultMenuList = [{
50
49
  icon: CopyOutline,
51
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.97")) || "\u590D\u5236",
50
+ label: function() {
51
+ var _a, _b, _c;
52
+ try {
53
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.97")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.97")) || "\u590D\u5236";
54
+ } catch (e) {
55
+ return "\u590D\u5236";
56
+ }
57
+ }(),
52
58
  key: "copy"
53
59
  }, {
54
60
  icon: OpenOutline,
55
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.45")) || "\u8F6C\u53D1",
61
+ label: function() {
62
+ var _a, _b, _c;
63
+ try {
64
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.45")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.45")) || "\u8F6C\u53D1";
65
+ } catch (e) {
66
+ return "\u8F6C\u53D1";
67
+ }
68
+ }(),
56
69
  key: "relay"
57
70
  }, {
58
71
  icon: ChatbubbleEllipsesOutline,
59
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.99")) || "\u56DE\u590D",
72
+ label: function() {
73
+ var _a, _b, _c;
74
+ try {
75
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.99")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.99")) || "\u56DE\u590D";
76
+ } catch (e) {
77
+ return "\u56DE\u590D";
78
+ }
79
+ }(),
60
80
  key: "reply"
61
81
  }, {
62
82
  icon: ReorderFourOutline,
63
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.100")) || "\u591A\u9009",
83
+ label: function() {
84
+ var _a, _b, _c;
85
+ try {
86
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.100")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.100")) || "\u591A\u9009";
87
+ } catch (e) {
88
+ return "\u591A\u9009";
89
+ }
90
+ }(),
64
91
  key: "multiSelect"
65
92
  }, {
66
93
  icon: ReturnDownBack,
67
- label: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.101")) || "\u64A4\u56DE",
94
+ label: function() {
95
+ var _a, _b, _c;
96
+ try {
97
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.101")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.101")) || "\u64A4\u56DE";
98
+ } catch (e) {
99
+ return "\u64A4\u56DE";
100
+ }
101
+ }(),
68
102
  key: "withdraw"
69
103
  }, {
70
104
  icon: DownloadOutline,
71
- label: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.102")) || "\u4E0B\u8F7D",
105
+ label: function() {
106
+ var _a, _b, _c;
107
+ try {
108
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.102")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.102")) || "\u4E0B\u8F7D";
109
+ } catch (e) {
110
+ return "\u4E0B\u8F7D";
111
+ }
112
+ }(),
72
113
  key: "download"
73
114
  }];
74
115
  const defaultSessionMenuList = [{
@@ -86,14 +127,14 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
86
127
  }) => id === props.id);
87
128
  });
88
129
  const menuList = computed(() => {
89
- var _a2;
130
+ var _a;
90
131
  if (!props.id)
91
132
  return [];
92
133
  if (!(item == null ? void 0 : item.value))
93
134
  return [];
94
135
  if (props.type === "session") {
95
136
  const _defaultSessionMenuList = [...defaultSessionMenuList];
96
- _defaultSessionMenuList[0].label = ((_a2 = item.value) == null ? void 0 : _a2.topping) ? "\u53D6\u6D88\u7F6E\u9876" : "\u7F6E\u9876\u4F1A\u8BDD";
137
+ _defaultSessionMenuList[0].label = ((_a = item.value) == null ? void 0 : _a.topping) ? "\u53D6\u6D88\u7F6E\u9876" : "\u7F6E\u9876\u4F1A\u8BDD";
97
138
  if (item.value.status === STATUS.ENDED)
98
139
  _defaultSessionMenuList.pop();
99
140
  return _defaultSessionMenuList;
@@ -102,8 +102,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
102
102
  }
103
103
  }
104
104
  return (_ctx, _cache) => {
105
- var _a;
106
- return inviter.value && invitee.value.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_1, [inviter.value.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_2, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.67")) || "\u4F60")) : (openBlock(), createBlock(unref(NButton), {
105
+ return inviter.value && invitee.value.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_1, [inviter.value.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_2, function() {
106
+ var _a, _b, _c;
107
+ try {
108
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.67")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.67")) || "\u4F60";
109
+ } catch (e) {
110
+ return "\u4F60";
111
+ }
112
+ }())) : (openBlock(), createBlock(unref(NButton), {
107
113
  key: 1,
108
114
  size: "tiny",
109
115
  text: "",
@@ -119,10 +125,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
119
125
  default: withCtx(() => [createTextVNode(toDisplayString(inviter.value.name), 1)]),
120
126
  _: 1
121
127
  })), _hoisted_3, (openBlock(true), createElementBlock(Fragment, null, renderList(invitee.value, (user, idx) => {
122
- var _a2;
123
128
  return openBlock(), createElementBlock(Fragment, {
124
129
  key: user.id
125
- }, [user.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_4, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.67")) || "\u4F60")) : (openBlock(), createBlock(unref(NButton), {
130
+ }, [user.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_4, function() {
131
+ var _a, _b, _c;
132
+ try {
133
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.67")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.67")) || "\u4F60";
134
+ } catch (e) {
135
+ return "\u4F60";
136
+ }
137
+ }())) : (openBlock(), createBlock(unref(NButton), {
126
138
  key: 1,
127
139
  size: "tiny",
128
140
  text: "",
@@ -128,7 +128,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
128
128
  emit("template-click", data, props.data);
129
129
  }
130
130
  return (_ctx, _cache) => {
131
- var _a;
132
131
  return openBlock(), createElementBlock(Fragment, null, [unref(setting).style.id == 1 ? (openBlock(), createElementBlock("div", {
133
132
  key: 0,
134
133
  class: "default-msg-template",
@@ -181,7 +180,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
181
180
  key: 0,
182
181
  class: normalizeClass(["describe-msg-template__footer", showMore.value ? "" : "hidden"]),
183
182
  onClick: _cache[3] || (_cache[3] = () => showMore.value = false)
184
- }, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.103")) || "\u5C55\u5F00\u5168\u90E8"), _hoisted_13], 2)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), unref(setting).style.id == 2 ? (openBlock(), createElementBlock("div", _hoisted_14, [createVNode(unref(NIcon), {
183
+ }, [createTextVNode(function() {
184
+ var _a, _b, _c;
185
+ try {
186
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.103")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.103")) || "\u5C55\u5F00\u5168\u90E8";
187
+ } catch (e) {
188
+ return "\u5C55\u5F00\u5168\u90E8";
189
+ }
190
+ }()), _hoisted_13], 2)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), unref(setting).style.id == 2 ? (openBlock(), createElementBlock("div", _hoisted_14, [createVNode(unref(NIcon), {
185
191
  component: unref(AlertCircleSharp),
186
192
  color: "#ffc200",
187
193
  size: 18
@@ -18,7 +18,6 @@ import 'sockjs-client/dist/sockjs.min.js';
18
18
  import { useVideo } from '../hooks/useVideo.js';
19
19
  import TRTC from 'trtc-sdk-v5';
20
20
 
21
- var _a, _b, _c, _d, _e, _f;
22
21
  const _hoisted_1 = {
23
22
  class: "video-wrapper video-wrapper--multiple"
24
23
  };
@@ -44,22 +43,50 @@ const _hoisted_8 = {
44
43
  };
45
44
  const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
46
45
  class: "text"
47
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.104")) || "\u9759\u97F3", -1);
46
+ }, function() {
47
+ var _a, _b, _c;
48
+ try {
49
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.104")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.104")) || "\u9759\u97F3";
50
+ } catch (e) {
51
+ return "\u9759\u97F3";
52
+ }
53
+ }(), -1);
48
54
  const _hoisted_10 = {
49
55
  class: "btn"
50
56
  };
51
57
  const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", {
52
58
  class: "text"
53
- }, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.105")) || "\u6444\u50CF\u5934", -1);
59
+ }, function() {
60
+ var _a, _b, _c;
61
+ try {
62
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.105")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.105")) || "\u6444\u50CF\u5934";
63
+ } catch (e) {
64
+ return "\u6444\u50CF\u5934";
65
+ }
66
+ }(), -1);
54
67
  const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", {
55
68
  class: "text"
56
- }, ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.106")) || "\u7ED3\u675F\u4F1A\u8BCA", -1);
69
+ }, function() {
70
+ var _a, _b, _c;
71
+ try {
72
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.106")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.106")) || "\u7ED3\u675F\u4F1A\u8BCA";
73
+ } catch (e) {
74
+ return "\u7ED3\u675F\u4F1A\u8BCA";
75
+ }
76
+ }(), -1);
57
77
  const _hoisted_13 = {
58
78
  class: "btn"
59
79
  };
60
80
  const _hoisted_14 = /* @__PURE__ */ createElementVNode("span", {
61
81
  class: "text"
62
- }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.107")) || "\u6DFB\u52A0\u53C2\u4F1A\u4EBA", -1);
82
+ }, function() {
83
+ var _a, _b, _c;
84
+ try {
85
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.107")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.107")) || "\u6DFB\u52A0\u53C2\u4F1A\u4EBA";
86
+ } catch (e) {
87
+ return "\u6DFB\u52A0\u53C2\u4F1A\u4EBA";
88
+ }
89
+ }(), -1);
63
90
  const _hoisted_15 = {
64
91
  class: "video-main__right"
65
92
  };
@@ -88,11 +115,25 @@ const _hoisted_22 = {
88
115
  const _hoisted_23 = {
89
116
  class: "btn"
90
117
  };
91
- const _hoisted_24 = /* @__PURE__ */ createElementVNode("span", null, ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.113")) || "\u62D2\u63A5", -1);
118
+ const _hoisted_24 = /* @__PURE__ */ createElementVNode("span", null, function() {
119
+ var _a, _b, _c;
120
+ try {
121
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.113")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.113")) || "\u62D2\u63A5";
122
+ } catch (e) {
123
+ return "\u62D2\u63A5";
124
+ }
125
+ }(), -1);
92
126
  const _hoisted_25 = {
93
127
  class: "btn"
94
128
  };
95
- const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", null, ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.114")) || "\u63A5\u542C", -1);
129
+ const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", null, function() {
130
+ var _a, _b, _c;
131
+ try {
132
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.114")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.114")) || "\u63A5\u542C";
133
+ } catch (e) {
134
+ return "\u63A5\u542C";
135
+ }
136
+ }(), -1);
96
137
  var _sfc_main = /* @__PURE__ */ defineComponent({
97
138
  __name: "MultipleVideo",
98
139
  setup(__props) {
@@ -133,8 +174,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
133
174
  handleCall();
134
175
  }
135
176
  function handleCall() {
136
- var _a2;
137
- if ((_a2 = state.currentAVMsg.checkedIds) == null ? void 0 : _a2.length) {
177
+ var _a;
178
+ if ((_a = state.currentAVMsg.checkedIds) == null ? void 0 : _a.length) {
138
179
  state.currentAVMsg.checkedIds.forEach((id) => {
139
180
  sendMessage({
140
181
  chatType: CHAT_TYPE.SINGLE,
@@ -227,11 +268,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
227
268
  }
228
269
  }
229
270
  async function handleRemoteAudioAvailable(event) {
230
- var _a2;
271
+ var _a;
231
272
  const {
232
273
  userId
233
274
  } = event;
234
- if (userId && !((_a2 = remoteUsers.value.map((user) => user.id)) == null ? void 0 : _a2.includes(userId))) {
275
+ if (userId && !((_a = remoteUsers.value.map((user) => user.id)) == null ? void 0 : _a.includes(userId))) {
235
276
  const name = await getUserName(userId);
236
277
  remoteUsers.value.push({
237
278
  id: userId,
@@ -274,7 +315,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
274
315
  handleExit();
275
316
  });
276
317
  return (_ctx, _cache) => {
277
- var _a2, _b2, _c2, _d2, _e2, _f2;
278
318
  return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [withDirectives(createElementVNode("span", {
279
319
  class: "title"
280
320
  }, toDisplayString(unref(title)), 513), [[vShow, isConnect.value]]), createVNode(unref(NButton), {
@@ -346,7 +386,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
346
386
  }, null, 8, _hoisted_16);
347
387
  }), 128))])])) : (openBlock(), createElementBlock(Fragment, {
348
388
  key: 1
349
- }, [createElementVNode("div", _hoisted_17, [createElementVNode("span", _hoisted_18, toDisplayString(unref(callUser)) + (((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.108")) || "\u53D1\u8D77\u7684") + toDisplayString(unref(messageTypeText)) + (((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.109")) || "\u4F1A\u8BAE"), 1), !unref(isCall) ? (openBlock(), createElementBlock("span", _hoisted_19, (((_c2 = window.getLanguageByCode) == null ? void 0 : _c2.call(window, "10010.1.110")) || "\u9080\u8BF7\u4F60\u52A0\u5165") + toDisplayString(unref(messageTypeText)) + (((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.109")) || "\u4F1A\u8BAE"), 1)) : createCommentVNode("v-if", true)]), unref(isCall) ? (openBlock(), createElementBlock("div", _hoisted_20, [createVNode(ChatAdd, {
389
+ }, [createElementVNode("div", _hoisted_17, [createElementVNode("span", _hoisted_18, toDisplayString(unref(callUser)) + function() {
390
+ var _a, _b, _c;
391
+ try {
392
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.108")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.108")) || "\u53D1\u8D77\u7684";
393
+ } catch (e) {
394
+ return "\u53D1\u8D77\u7684";
395
+ }
396
+ }() + toDisplayString(unref(messageTypeText)) + function() {
397
+ var _a, _b, _c;
398
+ try {
399
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.109")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.109")) || "\u4F1A\u8BAE";
400
+ } catch (e) {
401
+ return "\u4F1A\u8BAE";
402
+ }
403
+ }(), 1), !unref(isCall) ? (openBlock(), createElementBlock("span", _hoisted_19, function() {
404
+ var _a, _b, _c;
405
+ try {
406
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.110")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.110")) || "\u9080\u8BF7\u4F60\u52A0\u5165";
407
+ } catch (e) {
408
+ return "\u9080\u8BF7\u4F60\u52A0\u5165";
409
+ }
410
+ }() + toDisplayString(unref(messageTypeText)) + function() {
411
+ var _a, _b, _c;
412
+ try {
413
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.109")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.109")) || "\u4F1A\u8BAE";
414
+ } catch (e) {
415
+ return "\u4F1A\u8BAE";
416
+ }
417
+ }(), 1)) : createCommentVNode("v-if", true)]), unref(isCall) ? (openBlock(), createElementBlock("div", _hoisted_20, [createVNode(ChatAdd, {
350
418
  onComfirm: handleAddPerson,
351
419
  disabledIds: unref(state).currentAVMsg.checkedIds
352
420
  }, {
@@ -361,17 +429,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
361
429
  _: 1
362
430
  })]),
363
431
  _: 1
364
- }, 8, ["disabledIds"]), createElementVNode("p", null, (((_e2 = window.getLanguageByCode) == null ? void 0 : _e2.call(window, "10010.1.111")) || "\u5DF2\u9080\u8BF7\u5171") + toDisplayString(unref(state).currentAVMsg.checkedIds.length) + (((_f2 = window.getLanguageByCode) == null ? void 0 : _f2.call(window, "10010.1.40")) || "\u4EBA"), 1), createVNode(unref(NButton), {
432
+ }, 8, ["disabledIds"]), createElementVNode("p", null, function() {
433
+ var _a, _b, _c;
434
+ try {
435
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.111")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.111")) || "\u5DF2\u9080\u8BF7\u5171";
436
+ } catch (e) {
437
+ return "\u5DF2\u9080\u8BF7\u5171";
438
+ }
439
+ }() + toDisplayString(unref(state).currentAVMsg.checkedIds.length) + function() {
440
+ var _a, _b, _c;
441
+ try {
442
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.40")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.40")) || "\u4EBA";
443
+ } catch (e) {
444
+ return "\u4EBA";
445
+ }
446
+ }(), 1), createVNode(unref(NButton), {
365
447
  size: "large",
366
448
  strong: "",
367
449
  round: "",
368
450
  type: "primary",
369
451
  onClick: handleCall
370
452
  }, {
371
- default: withCtx(() => {
372
- var _a3;
373
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.112")) || "\u5F00\u59CB\u4F1A\u8BCA")];
374
- }),
453
+ default: withCtx(() => [createTextVNode(function() {
454
+ var _a, _b, _c;
455
+ try {
456
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.112")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.112")) || "\u5F00\u59CB\u4F1A\u8BCA";
457
+ } catch (e) {
458
+ return "\u5F00\u59CB\u4F1A\u8BCA";
459
+ }
460
+ }())]),
375
461
  _: 1
376
462
  }), createElementVNode("div", _hoisted_21, [createVNode(unref(NButton), {
377
463
  color: "#000",
@@ -40,7 +40,6 @@ const _hoisted_9 = {
40
40
  var _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  __name: "PersonProfile",
42
42
  setup(__props) {
43
- var _a, _b, _c, _d, _e, _f, _g, _h;
44
43
  const {
45
44
  state,
46
45
  openSession
@@ -49,35 +48,91 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
49
48
  const showPhone = ref(false);
50
49
  const userDetail = reactive({});
51
50
  const info = [{
52
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.115")) || "\u673A\u6784",
51
+ label: function() {
52
+ var _a, _b, _c;
53
+ try {
54
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.115")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.115")) || "\u673A\u6784";
55
+ } catch (e) {
56
+ return "\u673A\u6784";
57
+ }
58
+ }(),
53
59
  value: "",
54
60
  key: "orgName"
55
61
  }, {
56
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.116")) || "\u59D3\u540D",
62
+ label: function() {
63
+ var _a, _b, _c;
64
+ try {
65
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.116")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.116")) || "\u59D3\u540D";
66
+ } catch (e) {
67
+ return "\u59D3\u540D";
68
+ }
69
+ }(),
57
70
  value: "",
58
71
  key: "name"
59
72
  }, {
60
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.117")) || "\u5F52\u5C5E\u79D1\u5BA4",
73
+ label: function() {
74
+ var _a, _b, _c;
75
+ try {
76
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.117")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.117")) || "\u5F52\u5C5E\u79D1\u5BA4";
77
+ } catch (e) {
78
+ return "\u5F52\u5C5E\u79D1\u5BA4";
79
+ }
80
+ }(),
61
81
  value: "",
62
82
  key: "deptName"
63
83
  }, {
64
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.118")) || "\u4E1A\u52A1\u79D1\u5BA4",
84
+ label: function() {
85
+ var _a, _b, _c;
86
+ try {
87
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.118")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.118")) || "\u4E1A\u52A1\u79D1\u5BA4";
88
+ } catch (e) {
89
+ return "\u4E1A\u52A1\u79D1\u5BA4";
90
+ }
91
+ }(),
65
92
  value: "",
66
93
  key: "businessDeptNames"
67
94
  }, {
68
- label: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.119")) || "\u624B\u673A\u53F7",
95
+ label: function() {
96
+ var _a, _b, _c;
97
+ try {
98
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.119")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.119")) || "\u624B\u673A\u53F7";
99
+ } catch (e) {
100
+ return "\u624B\u673A\u53F7";
101
+ }
102
+ }(),
69
103
  value: "",
70
104
  key: "phone"
71
105
  }, {
72
- label: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.120")) || "\u5C97\u4F4D",
106
+ label: function() {
107
+ var _a, _b, _c;
108
+ try {
109
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.120")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.120")) || "\u5C97\u4F4D";
110
+ } catch (e) {
111
+ return "\u5C97\u4F4D";
112
+ }
113
+ }(),
73
114
  value: "",
74
115
  key: "post"
75
116
  }, {
76
- label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.121")) || "\u5DE5\u53F7",
117
+ label: function() {
118
+ var _a, _b, _c;
119
+ try {
120
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.121")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.121")) || "\u5DE5\u53F7";
121
+ } catch (e) {
122
+ return "\u5DE5\u53F7";
123
+ }
124
+ }(),
77
125
  value: "",
78
126
  key: "jobId"
79
127
  }, {
80
- label: ((_h = window.getLanguageByCode) == null ? void 0 : _h.call(window, "10010.1.122")) || "\u6027\u522B",
128
+ label: function() {
129
+ var _a, _b, _c;
130
+ try {
131
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.122")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.122")) || "\u6027\u522B";
132
+ } catch (e) {
133
+ return "\u6027\u522B";
134
+ }
135
+ }(),
81
136
  value: "",
82
137
  key: "orgName"
83
138
  }];
@@ -93,9 +148,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
93
148
  return info;
94
149
  });
95
150
  async function toOpenSession() {
96
- var _a2;
151
+ var _a;
97
152
  state.userDetail.show = false;
98
- const userId = state.userDetail.userId || ((_a2 = state.userDetail.info) == null ? void 0 : _a2.id);
153
+ const userId = state.userDetail.userId || ((_a = state.userDetail.info) == null ? void 0 : _a.id);
99
154
  let session = state.sessionList.find((_session) => _session.receiver === userId);
100
155
  if (!session) {
101
156
  try {
@@ -170,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
170
225
  round: "",
171
226
  size: 100,
172
227
  onClickCapture: _cache[0] || (_cache[0] = ($event) => showLargeAvatar.value = true)
173
- }, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\n <n-upload-trigger #="{ handleClick }" abstract>\n <n-button\n circle\n secondary\n class="edit-avatar"\n v-show="userDetail.id === state.userInfo.id"\n @click="handleClick"\n >\n <template #icon>\n <n-icon size="16" color="#666666" :component="Camera" />\n </template>\n </n-button>\n </n-upload-trigger>\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
228
+ }, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\r\n <n-upload-trigger #="{ handleClick }" abstract>\r\n <n-button\r\n circle\r\n secondary\r\n class="edit-avatar"\r\n v-show="userDetail.id === state.userInfo.id"\r\n @click="handleClick"\r\n >\r\n <template #icon>\r\n <n-icon size="16" color="#666666" :component="Camera" />\r\n </template>\r\n </n-button>\r\n </n-upload-trigger>\r\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
174
229
  class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(userDetail.roleInfo) ? "isDoctor" : ""])
175
230
  }, toDisplayString(unref(getRoleName)(userDetail.roleInfo)), 3), [[vShow, unref(getRoleName)(userDetail.roleInfo)]])]), createElementVNode("p", null, toDisplayString(userDetail.orgName), 1)]), createVNode(unref(NButton), {
176
231
  strong: "",
@@ -72,51 +72,55 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
72
72
  type: "card",
73
73
  "tab-class": "tab-box"
74
74
  }, {
75
- default: withCtx(() => {
76
- var _a;
77
- return [createVNode(unref(NTabPane), {
78
- name: "emoji",
79
- tab: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.53")) || "\u8868\u60C5"
80
- }, {
81
- default: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(emojis).default, ([name, emoji]) => {
82
- return openBlock(), createBlock(unref(NTooltip), {
83
- key: name,
84
- "show-arrow": false
75
+ default: withCtx(() => [createVNode(unref(NTabPane), {
76
+ name: "emoji",
77
+ tab: function() {
78
+ var _a, _b, _c;
79
+ try {
80
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.53")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.53")) || "\u8868\u60C5";
81
+ } catch (e) {
82
+ return "\u8868\u60C5";
83
+ }
84
+ }()
85
+ }, {
86
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(emojis).default, ([name, emoji]) => {
87
+ return openBlock(), createBlock(unref(NTooltip), {
88
+ key: name,
89
+ "show-arrow": false
90
+ }, {
91
+ trigger: withCtx(() => [createVNode(unref(NButton), {
92
+ quaternary: "",
93
+ size: "tiny",
94
+ onClick: () => handleMessageLabel("emoji", name)
85
95
  }, {
86
- trigger: withCtx(() => [createVNode(unref(NButton), {
87
- quaternary: "",
88
- size: "tiny",
89
- onClick: () => handleMessageLabel("emoji", name)
90
- }, {
91
- icon: withCtx(() => [createElementVNode("img", {
92
- src: emoji
93
- }, null, 8, _hoisted_2)]),
94
- _: 2
95
- }, 1032, ["onClick"])]),
96
- default: withCtx(() => [createTextVNode(" " + toDisplayString(name), 1)]),
96
+ icon: withCtx(() => [createElementVNode("img", {
97
+ src: emoji
98
+ }, null, 8, _hoisted_2)]),
97
99
  _: 2
98
- }, 1024);
99
- }), 128))])]),
100
- _: 1
101
- }), createVNode(unref(NTabPane), {
102
- name: "text",
103
- tab: "\u6587\u5B57"
104
- }, {
105
- default: withCtx(() => [createElementVNode("div", _hoisted_3, [(openBlock(), createElementBlock(Fragment, null, renderList(labelList, (item) => {
106
- return createVNode(unref(NButton), {
107
- type: item.type,
108
- secondary: "",
109
- size: "small",
110
- key: item.label,
111
- onClick: () => handleMessageLabel("text", item)
112
- }, {
113
- default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
114
- _: 2
115
- }, 1032, ["type", "onClick"]);
116
- }), 64))])]),
117
- _: 1
118
- })];
119
- }),
100
+ }, 1032, ["onClick"])]),
101
+ default: withCtx(() => [createTextVNode(" " + toDisplayString(name), 1)]),
102
+ _: 2
103
+ }, 1024);
104
+ }), 128))])]),
105
+ _: 1
106
+ }), createVNode(unref(NTabPane), {
107
+ name: "text",
108
+ tab: "\u6587\u5B57"
109
+ }, {
110
+ default: withCtx(() => [createElementVNode("div", _hoisted_3, [(openBlock(), createElementBlock(Fragment, null, renderList(labelList, (item) => {
111
+ return createVNode(unref(NButton), {
112
+ type: item.type,
113
+ secondary: "",
114
+ size: "small",
115
+ key: item.label,
116
+ onClick: () => handleMessageLabel("text", item)
117
+ }, {
118
+ default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
119
+ _: 2
120
+ }, 1032, ["type", "onClick"]);
121
+ }), 64))])]),
122
+ _: 1
123
+ })]),
120
124
  _: 1
121
125
  })]),
122
126
  _: 1