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
@@ -14,7 +14,6 @@ import { CloseOutline, CloseCircleOutline, CallOutline, VideocamOutline } from '
14
14
  import { uuidGenerator } from '../../../../shared/utils/index.js';
15
15
  import { useStorage } from '@vueuse/core';
16
16
 
17
- var _a, _b;
18
17
  const _hoisted_1 = {
19
18
  key: 0,
20
19
  class: "multi-select-box"
@@ -47,7 +46,14 @@ const _hoisted_11 = {
47
46
  const _hoisted_12 = /* @__PURE__ */ createElementVNode("i", {
48
47
  class: "chat--iconfont chat--icon-face"
49
48
  }, null, -1);
50
- const _hoisted_13 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.51")) || "\u6700\u8FD1\u4F7F\u7528", -1);
49
+ const _hoisted_13 = /* @__PURE__ */ createElementVNode("span", null, function() {
50
+ var _a, _b, _c;
51
+ try {
52
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.51")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.51")) || "\u6700\u8FD1\u4F7F\u7528";
53
+ } catch (e) {
54
+ return "\u6700\u8FD1\u4F7F\u7528";
55
+ }
56
+ }(), -1);
51
57
  const _hoisted_14 = {
52
58
  class: "list-box",
53
59
  style: {
@@ -55,7 +61,14 @@ const _hoisted_14 = {
55
61
  }
56
62
  };
57
63
  const _hoisted_15 = ["src"];
58
- const _hoisted_16 = /* @__PURE__ */ createElementVNode("span", null, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.52")) || "\u9ED8\u8BA4\u8868\u60C5", -1);
64
+ const _hoisted_16 = /* @__PURE__ */ createElementVNode("span", null, function() {
65
+ var _a, _b, _c;
66
+ try {
67
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.52")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.52")) || "\u9ED8\u8BA4\u8868\u60C5";
68
+ } catch (e) {
69
+ return "\u9ED8\u8BA4\u8868\u60C5";
70
+ }
71
+ }(), -1);
59
72
  const _hoisted_17 = {
60
73
  class: "list-box"
61
74
  };
@@ -139,14 +152,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
139
152
  return event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;
140
153
  }
141
154
  function handleInput() {
142
- var _a2;
143
- content.value = ((_a2 = inputRef.value) == null ? void 0 : _a2.innerHTML) || "";
155
+ var _a;
156
+ content.value = ((_a = inputRef.value) == null ? void 0 : _a.innerHTML) || "";
144
157
  }
145
158
  function selectEmoji(name) {
146
- var _a2;
159
+ var _a;
147
160
  commonEmoticons.value.unshift(name);
148
161
  commonEmoticons.value = uniq(commonEmoticons.value).slice(0, 26);
149
- (_a2 = inputRef.value) == null ? void 0 : _a2.focus();
162
+ (_a = inputRef.value) == null ? void 0 : _a.focus();
150
163
  document.execCommand("insertHTML", false, `<img data-msg=${name} data-type=${MESSAGE_TYPE.EMOJI} class="emoji--min" src=${emojis.findEmoji(name)} />`);
151
164
  }
152
165
  async function doUpdateFile(file) {
@@ -303,9 +316,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
303
316
  state.isForward = false;
304
317
  }
305
318
  watch(() => [state.currentReferenceMsg, state.currentReEditMsg], ([currentReferenceMsg, currentReEditMsg]) => {
306
- var _a2;
319
+ var _a;
307
320
  if (currentReferenceMsg || currentReEditMsg) {
308
- (_a2 = inputRef.value) == null ? void 0 : _a2.focus();
321
+ (_a = inputRef.value) == null ? void 0 : _a.focus();
309
322
  }
310
323
  if (currentReEditMsg) {
311
324
  const {
@@ -324,14 +337,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
324
337
  }
325
338
  });
326
339
  return (_ctx, _cache) => {
327
- var _a2, _b2;
328
340
  return withDirectives((openBlock(), createElementBlock("section", {
329
341
  class: "chat-footer",
330
342
  style: normalizeStyle({
331
343
  cursor: unref(state).id ? "default" : "not-allowed"
332
344
  })
333
345
  }, [unref(state).isForward ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(ChatAdd, {
334
- title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
346
+ title: function() {
347
+ var _a, _b, _c;
348
+ try {
349
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F";
350
+ } catch (e) {
351
+ return "\u8F6C\u53D1\u6D88\u606F";
352
+ }
353
+ }(),
335
354
  mode: "relay",
336
355
  onComfirm: _cache[0] || (_cache[0] = (params) => handleRelay(params))
337
356
  }, {
@@ -346,7 +365,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
346
365
  }, 8, ["disabled"])]),
347
366
  _: 1
348
367
  }), _hoisted_4]), createElementVNode("div", _hoisted_5, [createVNode(ChatAdd, {
349
- title: ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
368
+ title: function() {
369
+ var _a, _b, _c;
370
+ try {
371
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F";
372
+ } catch (e) {
373
+ return "\u8F6C\u53D1\u6D88\u606F";
374
+ }
375
+ }(),
350
376
  mode: "relay",
351
377
  onComfirm: _cache[1] || (_cache[1] = (params) => handleRelay(params, "\u5408\u5E76\u8F6C\u53D1"))
352
378
  }, {
@@ -438,10 +464,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
438
464
  }), 128))])]),
439
465
  _: 1
440
466
  }, 8, ["show"])]),
441
- default: withCtx(() => {
442
- var _a3;
443
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.53")) || "\u8868\u60C5")];
444
- }),
467
+ default: withCtx(() => [createTextVNode(function() {
468
+ var _a, _b, _c;
469
+ try {
470
+ 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";
471
+ } catch (e) {
472
+ return "\u8868\u60C5";
473
+ }
474
+ }())]),
445
475
  _: 1
446
476
  }), createVNode(unref(NTooltip), {
447
477
  "show-arrow": false
@@ -457,10 +487,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
457
487
  icon: withCtx(() => [_hoisted_19]),
458
488
  _: 1
459
489
  })]),
460
- default: withCtx(() => {
461
- var _a3;
462
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.54")) || "\u70B9\u8D5E")];
463
- }),
490
+ default: withCtx(() => [createTextVNode(function() {
491
+ var _a, _b, _c;
492
+ try {
493
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.54")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.54")) || "\u70B9\u8D5E";
494
+ } catch (e) {
495
+ return "\u70B9\u8D5E";
496
+ }
497
+ }())]),
464
498
  _: 1
465
499
  }), createVNode(unref(NUpload), {
466
500
  abstract: "",
@@ -484,10 +518,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
484
518
  icon: withCtx(() => [_hoisted_20]),
485
519
  _: 2
486
520
  }, 1032, ["onClick"])]),
487
- default: withCtx(() => {
488
- var _a3;
489
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.55")) || "\u4E0A\u4F20\u56FE\u7247")];
490
- }),
521
+ default: withCtx(() => [createTextVNode(function() {
522
+ var _a, _b, _c;
523
+ try {
524
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.55")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.55")) || "\u4E0A\u4F20\u56FE\u7247";
525
+ } catch (e) {
526
+ return "\u4E0A\u4F20\u56FE\u7247";
527
+ }
528
+ }())]),
491
529
  _: 2
492
530
  }, 1024)]),
493
531
  _: 1
@@ -515,10 +553,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
515
553
  icon: withCtx(() => [_hoisted_21]),
516
554
  _: 2
517
555
  }, 1032, ["onClick"])]),
518
- default: withCtx(() => {
519
- var _a3;
520
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.56")) || "\u4E0A\u4F20\u6587\u4EF6")];
521
- }),
556
+ default: withCtx(() => [createTextVNode(function() {
557
+ var _a, _b, _c;
558
+ try {
559
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.56")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.56")) || "\u4E0A\u4F20\u6587\u4EF6";
560
+ } catch (e) {
561
+ return "\u4E0A\u4F20\u6587\u4EF6";
562
+ }
563
+ }())]),
522
564
  _: 2
523
565
  }, 1024)]),
524
566
  _: 1
@@ -544,10 +586,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
544
586
  }, null, 8, ["component"])]),
545
587
  _: 1
546
588
  })]),
547
- default: withCtx(() => {
548
- var _a3;
549
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
550
- }),
589
+ default: withCtx(() => [createTextVNode(function() {
590
+ var _a, _b, _c;
591
+ try {
592
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.57")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD";
593
+ } catch (e) {
594
+ return "\u8BED\u97F3\u901A\u8BDD";
595
+ }
596
+ }())]),
551
597
  _: 1
552
598
  })]),
553
599
  _: 1
@@ -567,10 +613,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
567
613
  }, null, 8, ["component"])]),
568
614
  _: 1
569
615
  })]),
570
- default: withCtx(() => {
571
- var _a3;
572
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.58")) || "\u89C6\u9891\u4F1A\u8BAE")];
573
- }),
616
+ default: withCtx(() => [createTextVNode(function() {
617
+ var _a, _b, _c;
618
+ try {
619
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.58")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.58")) || "\u89C6\u9891\u4F1A\u8BAE";
620
+ } catch (e) {
621
+ return "\u89C6\u9891\u4F1A\u8BAE";
622
+ }
623
+ }())]),
574
624
  _: 1
575
625
  })]),
576
626
  _: 1
@@ -590,10 +640,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
590
640
  }, null, 8, ["component"])]),
591
641
  _: 1
592
642
  })]),
593
- default: withCtx(() => {
594
- var _a3;
595
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
596
- }),
643
+ default: withCtx(() => [createTextVNode(function() {
644
+ var _a, _b, _c;
645
+ try {
646
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.57")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD";
647
+ } catch (e) {
648
+ return "\u8BED\u97F3\u901A\u8BDD";
649
+ }
650
+ }())]),
597
651
  _: 1
598
652
  }), createVNode(unref(NTooltip), {
599
653
  "show-arrow": false
@@ -609,10 +663,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
609
663
  }, null, 8, ["component"])]),
610
664
  _: 1
611
665
  })]),
612
- default: withCtx(() => {
613
- var _a3;
614
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD")];
615
- }),
666
+ default: withCtx(() => [createTextVNode(function() {
667
+ var _a, _b, _c;
668
+ try {
669
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.59")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD";
670
+ } catch (e) {
671
+ return "\u89C6\u9891\u901A\u8BDD";
672
+ }
673
+ }())]),
616
674
  _: 1
617
675
  })], 64))], 64)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "footer")]), withDirectives(createElementVNode("div", {
618
676
  ref_key: "inputRef",
@@ -627,10 +685,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
627
685
  disabled: unref(btnDisabled),
628
686
  onClick: handleMsgSend
629
687
  }, {
630
- default: withCtx(() => {
631
- var _a3;
632
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.60")) || "\u53D1\u9001")];
633
- }),
688
+ default: withCtx(() => [createTextVNode(function() {
689
+ var _a, _b, _c;
690
+ try {
691
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.60")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.60")) || "\u53D1\u9001";
692
+ } catch (e) {
693
+ return "\u53D1\u9001";
694
+ }
695
+ }())]),
634
696
  _: 1
635
697
  }, 8, ["disabled"])])], 64))], 4)), [[vShow, unref(state).id]]);
636
698
  };
@@ -110,10 +110,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
110
110
  icon: withCtx(() => [_hoisted_5]),
111
111
  _: 1
112
112
  })]),
113
- default: withCtx(() => {
114
- var _a;
115
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.62")) || "\u56FE\u7247")];
116
- }),
113
+ default: withCtx(() => [createTextVNode(function() {
114
+ var _a, _b, _c;
115
+ try {
116
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.62")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.62")) || "\u56FE\u7247";
117
+ } catch (e) {
118
+ return "\u56FE\u7247";
119
+ }
120
+ }())]),
117
121
  _: 1
118
122
  }), createVNode(unref(NTooltip), {
119
123
  "show-arrow": false,
@@ -127,10 +131,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
127
131
  icon: withCtx(() => [_hoisted_6]),
128
132
  _: 1
129
133
  })]),
130
- default: withCtx(() => {
131
- var _a;
132
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.63")) || "\u6587\u4EF6")];
133
- }),
134
+ default: withCtx(() => [createTextVNode(function() {
135
+ var _a, _b, _c;
136
+ try {
137
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.63")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.63")) || "\u6587\u4EF6";
138
+ } catch (e) {
139
+ return "\u6587\u4EF6";
140
+ }
141
+ }())]),
134
142
  _: 1
135
143
  }), createVNode(ChatAdd, normalizeProps(guardReactiveProps(unref(chatAddProps))), {
136
144
  trigger: withCtx(() => [createVNode(unref(NTooltip), {
@@ -147,10 +155,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
147
155
  }, null, 8, ["component"])]),
148
156
  _: 1
149
157
  })]),
150
- default: withCtx(() => {
151
- var _a;
152
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.64")) || "\u6DFB\u52A0\u6210\u5458")];
153
- }),
158
+ default: withCtx(() => [createTextVNode(function() {
159
+ var _a, _b, _c;
160
+ try {
161
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.64")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.64")) || "\u6DFB\u52A0\u6210\u5458";
162
+ } catch (e) {
163
+ return "\u6DFB\u52A0\u6210\u5458";
164
+ }
165
+ }())]),
154
166
  _: 1
155
167
  })]),
156
168
  _: 1
@@ -166,10 +178,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
166
178
  icon: withCtx(() => [_hoisted_7]),
167
179
  _: 1
168
180
  })]),
169
- default: withCtx(() => {
170
- var _a;
171
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55")];
172
- }),
181
+ default: withCtx(() => [createTextVNode(function() {
182
+ var _a, _b, _c;
183
+ try {
184
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55";
185
+ } catch (e) {
186
+ return "\u804A\u5929\u8BB0\u5F55";
187
+ }
188
+ }())]),
173
189
  _: 1
174
190
  }), createVNode(unref(NTooltip), {
175
191
  "show-arrow": false,
@@ -183,10 +199,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
183
199
  icon: withCtx(() => [_hoisted_8]),
184
200
  _: 1
185
201
  })]),
186
- default: withCtx(() => {
187
- var _a;
188
- return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.66")) || "\u804A\u5929\u8BBE\u7F6E")];
189
- }),
202
+ default: withCtx(() => [createTextVNode(function() {
203
+ var _a, _b, _c;
204
+ try {
205
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.66")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.66")) || "\u804A\u5929\u8BBE\u7F6E";
206
+ } catch (e) {
207
+ return "\u804A\u5929\u8BBE\u7F6E";
208
+ }
209
+ }())]),
190
210
  _: 1
191
211
  }), unref(isGroupChat) && unref(isGroupLeader) ? (openBlock(), createBlock(unref(NPopconfirm), {
192
212
  key: 0,
@@ -132,10 +132,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
132
132
  "component": ArrowDownSharp,
133
133
  "onClick": () => src && downloadFile(src, "img")
134
134
  }, null),
135
- default: () => {
136
- var _a2;
137
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.102")) || "\u4E0B\u8F7D";
138
- }
135
+ default: () => function() {
136
+ var _a2, _b2, _c;
137
+ try {
138
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.102")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.102")) || "\u4E0B\u8F7D";
139
+ } catch (e) {
140
+ return "\u4E0B\u8F7D";
141
+ }
142
+ }()
139
143
  }), nodes.close];
140
144
  }
141
145
  function formatImage(obj, type) {
@@ -361,7 +365,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
361
365
  immediate: true
362
366
  });
363
367
  return (_ctx, _cache) => {
364
- var _a;
365
368
  return openBlock(), createElementBlock("div", {
366
369
  class: normalizeClass(["chat-main", {
367
370
  "home-bg": !unref(state).id,
@@ -375,7 +378,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
375
378
  "render-toolbar": renderToolbar
376
379
  }, {
377
380
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(state).msgList, (item, index) => {
378
- var _a2, _b, _c;
381
+ var _a;
379
382
  return openBlock(), createElementBlock(Fragment, {
380
383
  key: item.id
381
384
  }, [showMessage(item) ? (openBlock(), createElementBlock("div", {
@@ -383,12 +386,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
383
386
  class: normalizeClass(["message-item", {
384
387
  "message-item--mine": item.sender == unref(state).userInfo.id
385
388
  }])
386
- }, [needShowTime(item, index) ? (openBlock(), createElementBlock("p", _hoisted_1, toDisplayString(item.__sendTime), 1)) : createCommentVNode("v-if", true), showTemplateMsg(item, "system") || item.status === "WITHDRAWN" || ((_a2 = item.content) == null ? void 0 : _a2.chatMessageType) === unref(MESSAGE_TYPE).EVENT ? (openBlock(), createElementBlock(Fragment, {
389
+ }, [needShowTime(item, index) ? (openBlock(), createElementBlock("p", _hoisted_1, toDisplayString(item.__sendTime), 1)) : createCommentVNode("v-if", true), showTemplateMsg(item, "system") || item.status === "WITHDRAWN" || ((_a = item.content) == null ? void 0 : _a.chatMessageType) === unref(MESSAGE_TYPE).EVENT ? (openBlock(), createElementBlock(Fragment, {
387
390
  key: 1
388
391
  }, [showTemplateMsg(item, "system") ? (openBlock(), createBlock(MessageTemplate, {
389
392
  key: 0,
390
393
  data: item
391
- }, null, 8, ["data"])) : createCommentVNode("v-if", true), item.status === "WITHDRAWN" ? (openBlock(), createElementBlock("p", _hoisted_2, [createElementVNode("span", null, toDisplayString(item.sender == unref(state).userInfo.id ? ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.67")) || "\u4F60" : item.senderName) + (((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.68")) || "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F"), 1), showReEdit(item) ? (openBlock(), createBlock(unref(NButton), {
394
+ }, null, 8, ["data"])) : createCommentVNode("v-if", true), item.status === "WITHDRAWN" ? (openBlock(), createElementBlock("p", _hoisted_2, [createElementVNode("span", null, toDisplayString(item.sender == unref(state).userInfo.id ? function() {
395
+ var _a2, _b, _c;
396
+ try {
397
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.67")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.67")) || "\u4F60";
398
+ } catch (e) {
399
+ return "\u4F60";
400
+ }
401
+ }() : item.senderName) + function() {
402
+ var _a2, _b, _c;
403
+ try {
404
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.68")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.68")) || "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F";
405
+ } catch (e) {
406
+ return "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F";
407
+ }
408
+ }(), 1), showReEdit(item) ? (openBlock(), createBlock(unref(NButton), {
392
409
  key: 0,
393
410
  size: "tiny",
394
411
  style: {
@@ -398,10 +415,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
398
415
  text: "",
399
416
  onClick: () => reEdit(item)
400
417
  }, {
401
- default: withCtx(() => {
402
- var _a3;
403
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.69")) || "\u91CD\u65B0\u7F16\u8F91")];
404
- }),
418
+ default: withCtx(() => [createTextVNode(function() {
419
+ var _a2, _b, _c;
420
+ try {
421
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.69")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.69")) || "\u91CD\u65B0\u7F16\u8F91";
422
+ } catch (e) {
423
+ return "\u91CD\u65B0\u7F16\u8F91";
424
+ }
425
+ }())]),
405
426
  _: 2
406
427
  }, 1032, ["onClick"])) : createCommentVNode("v-if", true)])) : (openBlock(), createBlock(MessageEvent, {
407
428
  key: 2,
@@ -601,20 +622,31 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
601
622
  id: menuMsgId.value,
602
623
  onSelect: handleSelect
603
624
  }, null, 8, ["show", "position", "id"]), createVNode(ChatAdd, {
604
- title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
625
+ title: function() {
626
+ var _a, _b, _c;
627
+ try {
628
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F";
629
+ } catch (e) {
630
+ return "\u8F6C\u53D1\u6D88\u606F";
631
+ }
632
+ }(),
605
633
  mode: "relay",
606
634
  onComfirm: handleRelay
607
635
  }, {
608
- trigger: withCtx(() => {
609
- var _a2;
610
- return [createElementVNode("span", {
611
- style: {
612
- "display": "none"
613
- },
614
- ref_key: "relayTriggerRef",
615
- ref: relayTriggerRef
616
- }, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.45")) || "\u8F6C\u53D1", 512)];
617
- }),
636
+ trigger: withCtx(() => [createElementVNode("span", {
637
+ style: {
638
+ "display": "none"
639
+ },
640
+ ref_key: "relayTriggerRef",
641
+ ref: relayTriggerRef
642
+ }, function() {
643
+ var _a, _b, _c;
644
+ try {
645
+ 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";
646
+ } catch (e) {
647
+ return "\u8F6C\u53D1";
648
+ }
649
+ }(), 512)]),
618
650
  _: 1
619
651
  }), menuMsgId.value ? (openBlock(), createBlock(SelectLabel, {
620
652
  key: 0,