cnhis-design-vue 3.3.2-beta.6 → 3.3.2-release.2

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 (208) hide show
  1. package/es/components/audio-sdk/index.d.ts +173 -146
  2. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  3. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  5. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  6. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  9. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  10. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  11. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  12. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  14. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  15. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  16. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  20. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  21. package/es/components/audio-sdk/src/types/index.js +10 -0
  22. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  23. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  24. package/es/components/audio-sdk/style/index.css +1 -1
  25. package/es/components/base-search/src/index.vue2.js +27 -15
  26. package/es/components/big-table/src/BigTable.vue2.js +189 -131
  27. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  28. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  29. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  30. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  31. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  32. package/es/components/big-table/src/components/input-button.vue2.js +7 -3
  33. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  34. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  35. package/es/components/body-select/src/index.vue2.js +24 -4
  36. package/es/components/button-print/index.d.ts +12 -4
  37. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  39. package/es/components/button-print/src/components/EditFormat.vue2.js +14 -6
  40. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  41. package/es/components/button-print/src/components/IdentityVerification.vue2.js +100 -45
  42. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  43. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  44. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  45. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  46. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  47. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  48. package/es/components/button-print/src/utils/dialog.js +26 -8
  49. package/es/components/button-print/src/utils/print.d.ts +5 -5
  50. package/es/components/button-print/src/utils/print.js +108 -21
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  52. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  53. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  54. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  55. package/es/components/classification/src/components/set-classification/index.vue2.js +23 -6
  56. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  57. package/es/components/classification/src/index.vue2.js +261 -69
  58. package/es/components/default-page/src/constants/index.js +144 -19
  59. package/es/components/default-page/src/index.vue2.js +8 -2
  60. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  61. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  62. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  63. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  64. package/es/components/expand-field/src/index.vue2.js +88 -22
  65. package/es/components/expand-field/src/utils/constant.js +88 -12
  66. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  67. package/es/components/fabric-chart/src/constants/index.js +72 -10
  68. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  69. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  70. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  71. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  72. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  73. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  74. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  75. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  76. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  77. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  78. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  79. package/es/components/fabric-chart/src/utils/index.js +2 -2
  80. package/es/components/field-editor/src/fields.js +232 -30
  81. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  82. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  83. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  84. package/es/components/field-set/src/FieldFilter.vue2.js +28 -12
  85. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  86. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  87. package/es/components/field-set/src/Index.vue2.js +40 -6
  88. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  89. package/es/components/field-set/src/components/condition.vue2.js +27 -11
  90. package/es/components/field-set/src/components/edit-dialog.vue2.js +149 -69
  91. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  92. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  93. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  94. package/es/components/field-set/src/constants/filter.js +328 -42
  95. package/es/components/field-set/src/constants/index.js +504 -64
  96. package/es/components/field-set/src/utils/index.js +1 -1
  97. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  98. package/es/components/form-config/src/constants/index.js +80 -11
  99. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  100. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +7 -3
  101. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +7 -3
  102. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  103. package/es/components/form-render/src/components/renderer/input.js +2 -1
  104. package/es/components/form-render/src/components/renderer/radio_checkbox.js +7 -3
  105. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  106. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  107. package/es/components/form-render/src/components/renderer/textarea.js +4 -3
  108. package/es/components/form-render/src/utils/schema.js +26 -6
  109. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  110. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  111. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  112. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  113. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +35 -15
  114. package/es/components/iho-chat/src/components/ChatMain.vue2.js +54 -22
  115. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  116. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  117. package/es/components/iho-chat/src/components/ChatSet.vue2.js +309 -211
  118. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  119. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  120. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  121. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  122. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
  123. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  124. package/es/components/iho-chat/src/components/SiderList.vue2.js +70 -40
  125. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  126. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  127. package/es/components/iho-chat/src/utils/index.js +79 -14
  128. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  129. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  130. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  131. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  132. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  133. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +14 -6
  134. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  135. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +45 -18
  136. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +20 -14
  138. package/es/components/index.css +1 -1
  139. package/es/components/info-header/src/components/patientInfo/index.vue2.js +142 -23
  140. package/es/components/keyboard/src/Keyboard.vue2.js +21 -9
  141. package/es/components/keyboard/src/components/NumberPanel.vue2.js +49 -35
  142. package/es/components/map/src/Map.vue2.js +7 -3
  143. package/es/components/picture-clipper/src/PictureClipper.vue2.js +14 -6
  144. package/es/components/quick-search/src/index.vue2.js +177 -132
  145. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  146. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  147. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  148. package/es/components/scale-view/src/ScaleView.vue2.js +14 -6
  149. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  150. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  151. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  152. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  153. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  154. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  155. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  156. package/es/components/scale-view/src/components/formitem/r-sign.js +30 -9
  157. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  158. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  159. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  160. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  161. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  162. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  163. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  164. package/es/components/select-label/src/SelectLabel.vue2.js +85 -55
  165. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  166. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  167. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  168. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  169. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  170. package/es/components/select-person/src/SelectPersonType.vue2.js +130 -105
  171. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  172. package/es/components/select-person/src/index.vue2.js +20 -7
  173. package/es/components/slider-tree/src/index.vue2.js +16 -3
  174. package/es/components/table-export-field/src/components/ExportModal.vue2.js +186 -112
  175. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  176. package/es/components/table-export-field/src/index.vue2.js +28 -12
  177. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  178. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  179. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  180. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  181. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  182. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  183. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  184. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  185. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  186. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  187. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  188. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  189. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +13 -7
  190. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  191. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  192. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +7 -3
  193. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  194. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  195. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  196. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  197. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  198. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  199. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  200. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +28 -12
  201. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  202. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +7 -3
  203. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +14 -6
  204. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  205. package/es/shared/package.json.js +1 -1
  206. package/package.json +2 -2
  207. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  208. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
@@ -41,34 +41,75 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
41
41
  slots,
42
42
  emit
43
43
  }) {
44
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.45")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "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: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.99")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "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: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.100")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "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: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.101")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "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: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.102")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "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, _b, _c;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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, _b2, _c2;
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")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "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, _b, _c;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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
- }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.105")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "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
- }, ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.106")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "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
- }, ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.107")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "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, ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.113")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "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, ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.114")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "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, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n2, _o2, _p2, _q2, _r2;
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")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.108")) || "\u53D1\u8D77\u7684") + toDisplayString(unref(messageTypeText)) + (((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.109")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.109")) || "\u4F1A\u8BAE"), 1), !unref(isCall) ? (openBlock(), createElementBlock("span", _hoisted_19, (((_g2 = window.getLanguageByCode) == null ? void 0 : _g2.call(window, "10010.1.110")) || ((_i2 = (_h2 = window.top) == null ? void 0 : _h2.getLanguageByCode) == null ? void 0 : _i2.call(_h2, "10010.1.110")) || "\u9080\u8BF7\u4F60\u52A0\u5165") + toDisplayString(unref(messageTypeText)) + (((_j2 = window.getLanguageByCode) == null ? void 0 : _j2.call(window, "10010.1.109")) || ((_l2 = (_k2 = window.top) == null ? void 0 : _k2.getLanguageByCode) == null ? void 0 : _l2.call(_k2, "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, (((_m2 = window.getLanguageByCode) == null ? void 0 : _m2.call(window, "10010.1.111")) || ((_o2 = (_n2 = window.top) == null ? void 0 : _n2.getLanguageByCode) == null ? void 0 : _o2.call(_n2, "10010.1.111")) || "\u5DF2\u9080\u8BF7\u5171") + toDisplayString(unref(state).currentAVMsg.checkedIds.length) + (((_p2 = window.getLanguageByCode) == null ? void 0 : _p2.call(window, "10010.1.40")) || ((_r2 = (_q2 = window.top) == null ? void 0 : _q2.getLanguageByCode) == null ? void 0 : _r2.call(_q2, "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, _b3, _c3;
373
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.112")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "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, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
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")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "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: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.116")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "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: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.117")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "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: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.118")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "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: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.119")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "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: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.120")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "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: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.121")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "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: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.122")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "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 {
@@ -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, _b, _c;
77
- return [createVNode(unref(NTabPane), {
78
- name: "emoji",
79
- tab: ((_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"
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