cnhis-design-vue 3.3.2-beta.12 → 3.3.2-beta.6

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 (179) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/src/Index.vue2.js +1 -1
  3. package/es/components/audio-sdk/style/index.css +1 -1
  4. package/es/components/base-search/src/index.vue2.js +15 -27
  5. package/es/components/big-table/src/BigTable.vue2.js +131 -189
  6. package/es/components/big-table/src/components/NoData.vue2.js +4 -16
  7. package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
  8. package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
  9. package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
  10. package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
  11. package/es/components/big-table/src/components/input-button.vue2.js +3 -7
  12. package/es/components/big-table/src/hooks/useNestTable.js +4 -18
  13. package/es/components/big-table/src/hooks/useTableParse.js +3 -16
  14. package/es/components/body-select/src/index.vue2.js +4 -24
  15. package/es/components/button-print/index.d.ts +0 -1
  16. package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
  17. package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
  18. package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
  19. package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
  20. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
  21. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
  22. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
  23. package/es/components/button-print/src/components/Preview.vue2.js +2 -8
  24. package/es/components/button-print/src/utils/dialog.js +6 -24
  25. package/es/components/button-print/src/utils/print.d.ts +5 -5
  26. package/es/components/button-print/src/utils/print.js +21 -108
  27. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
  28. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
  29. package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
  30. package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
  31. package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
  32. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  33. package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
  34. package/es/components/classification/src/index.vue2.js +69 -261
  35. package/es/components/default-page/src/constants/index.js +19 -144
  36. package/es/components/default-page/src/index.vue2.js +2 -8
  37. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
  38. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
  39. package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
  40. package/es/components/expand-field/src/components/form.vue2.js +412 -783
  41. package/es/components/expand-field/src/index.vue2.js +22 -88
  42. package/es/components/expand-field/src/utils/constant.js +12 -88
  43. package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
  44. package/es/components/fabric-chart/src/constants/index.js +10 -72
  45. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
  46. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
  48. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
  50. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
  52. package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
  53. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  54. package/es/components/fabric-chart/src/utils/index.js +2 -2
  55. package/es/components/field-editor/src/fields.js +30 -232
  56. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  57. package/es/components/field-set/src/FieldColor.vue2.js +21 -88
  58. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  59. package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
  60. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  61. package/es/components/field-set/src/FieldSet.vue2.js +57 -210
  62. package/es/components/field-set/src/Index.vue2.js +6 -40
  63. package/es/components/field-set/src/TableStyle.vue2.js +13 -48
  64. package/es/components/field-set/src/components/condition.vue2.js +11 -27
  65. package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
  66. package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
  67. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  68. package/es/components/field-set/src/components/table-row.vue2.js +42 -123
  69. package/es/components/field-set/src/constants/filter.js +42 -328
  70. package/es/components/field-set/src/constants/index.js +64 -504
  71. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
  72. package/es/components/form-config/src/constants/index.js +11 -80
  73. package/es/components/form-config/src/hooks/useLocale.js +31 -240
  74. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
  75. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
  76. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
  78. package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
  79. package/es/components/form-render/src/components/renderer/switch.js +4 -24
  80. package/es/components/form-render/src/utils/schema.js +6 -26
  81. package/es/components/iho-chat/src/Index.vue2.js +38 -42
  82. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
  83. package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
  84. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
  85. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
  86. package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
  87. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
  88. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
  89. package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
  90. package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
  91. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
  92. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
  93. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
  94. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
  95. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
  96. package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
  97. package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
  98. package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
  99. package/es/components/iho-chat/src/utils/index.js +14 -79
  100. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
  101. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
  102. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
  103. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  104. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +20 -50
  105. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +14 -20
  110. package/es/components/index.css +1 -1
  111. package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
  112. package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
  113. package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
  114. package/es/components/map/src/Map.vue2.js +3 -7
  115. package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
  116. package/es/components/quick-search/src/index.vue2.js +132 -177
  117. package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
  118. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
  119. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
  120. package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
  121. package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
  122. package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
  123. package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
  124. package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
  125. package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
  126. package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
  127. package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
  128. package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
  129. package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
  130. package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
  131. package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
  132. package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
  133. package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
  134. package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
  135. package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
  136. package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
  137. package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
  138. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
  139. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
  140. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
  141. package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
  142. package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
  143. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
  144. package/es/components/select-person/src/index.vue2.js +7 -20
  145. package/es/components/slider-tree/src/index.vue2.js +3 -16
  146. package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
  147. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
  148. package/es/components/table-export-field/src/index.vue2.js +12 -28
  149. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
  150. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
  151. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
  152. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
  153. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
  154. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
  155. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
  156. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
  157. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
  158. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
  159. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
  160. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
  161. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
  162. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
  163. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
  164. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
  165. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
  166. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
  167. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
  168. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
  169. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
  170. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
  171. package/es/components/table-filter/src/tool/baseOptions.js +19 -144
  172. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
  173. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
  174. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
  175. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
  176. package/es/env.d.ts +25 -25
  177. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  178. package/es/shared/package.json.js +1 -1
  179. package/package.json +2 -2
@@ -11,6 +11,7 @@ import { union, unionBy, remove, intersection, last, isArray, uniqBy, cloneDeep,
11
11
  import 'trtc-sdk-v5';
12
12
  import { useSearchUserList } from '../hooks/useSearchUserList.js';
13
13
 
14
+ var _a, _b, _c, _d, _e, _f;
14
15
  const _hoisted_1 = {
15
16
  class: "iho-chat-dialog__content iho-chat-add-wrapper"
16
17
  };
@@ -18,14 +19,7 @@ const _hoisted_2 = {
18
19
  key: 0,
19
20
  class: "input-box"
20
21
  };
21
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
22
- var _a, _b, _c;
23
- try {
24
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.34")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.34")) || "\u7FA4\u540D\u79F0\uFF1A";
25
- } catch (e) {
26
- return "\u7FA4\u540D\u79F0\uFF1A";
27
- }
28
- }(), -1);
22
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.34")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.34")) || "\u7FA4\u540D\u79F0\uFF1A", -1);
29
23
  const _hoisted_4 = {
30
24
  class: "transfer-box"
31
25
  };
@@ -96,14 +90,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
96
90
  props: {
97
91
  title: {
98
92
  type: String,
99
- default: function() {
100
- var _a, _b, _c;
101
- try {
102
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.42")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.42")) || "\u6DFB\u52A0\u65B0\u6210\u5458";
103
- } catch (e) {
104
- return "\u6DFB\u52A0\u65B0\u6210\u5458";
105
- }
106
- }()
93
+ default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.42")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.42")) || "\u6DFB\u52A0\u65B0\u6210\u5458"
107
94
  },
108
95
  mode: {
109
96
  type: String,
@@ -169,8 +156,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
169
156
  });
170
157
  const _disabledIds = computed(() => props.mode === "relay" ? [] : union(props.disabledIds, [state.userInfo.id]));
171
158
  const sessionList = computed(() => {
172
- var _a;
173
- if (!((_a = state.sessionList) == null ? void 0 : _a.length))
159
+ var _a2;
160
+ if (!((_a2 = state.sessionList) == null ? void 0 : _a2.length))
174
161
  return [];
175
162
  return listSort(state.sessionList).map((session) => {
176
163
  return {
@@ -201,8 +188,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
201
188
  set(value) {
202
189
  const noDisabledOptions = [];
203
190
  userList.value.forEach((option) => {
204
- var _a;
205
- if (option.type == 1 && ((_a = option.children) == null ? void 0 : _a.length)) {
191
+ var _a2;
192
+ if (option.type == 1 && ((_a2 = option.children) == null ? void 0 : _a2.length)) {
206
193
  const users = getAllUser(option.children || []).filter((option2) => !getDisabled(option2.id));
207
194
  console.log("users", users.length);
208
195
  noDisabledOptions.push(...users);
@@ -224,22 +211,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
224
211
  });
225
212
  const checkedSourceIds = computed({
226
213
  get() {
227
- var _a, _b, _c;
228
- return (_c = (_b = (_a = userList.value) == null ? void 0 : _a.filter((user) => {
229
- var _a2;
230
- if (user.type == 1 && ((_a2 = user.children) == null ? void 0 : _a2.length)) {
214
+ var _a2, _b2, _c2;
215
+ return (_c2 = (_b2 = (_a2 = userList.value) == null ? void 0 : _a2.filter((user) => {
216
+ var _a3;
217
+ if (user.type == 1 && ((_a3 = user.children) == null ? void 0 : _a3.length)) {
231
218
  const ids = getAllUser(user.children || []).map((user2) => user2.id).filter((id) => !getDisabled(id));
232
219
  return intersection(ids, checkedIds.value).length === ids.length;
233
220
  } else {
234
221
  return checkedIds.value.includes(user.id);
235
222
  }
236
- })) == null ? void 0 : _b.map((user) => user.id)) != null ? _c : [];
223
+ })) == null ? void 0 : _b2.map((user) => user.id)) != null ? _c2 : [];
237
224
  },
238
225
  set(value) {
239
226
  userList.value.forEach((user) => {
240
- var _a;
227
+ var _a2;
241
228
  const currentUsers = [];
242
- if (user.type == 1 && ((_a = user.children) == null ? void 0 : _a.length)) {
229
+ if (user.type == 1 && ((_a2 = user.children) == null ? void 0 : _a2.length)) {
243
230
  currentUsers.push(...getAllUser(user.children || []).filter((option) => !getDisabled(option.id)));
244
231
  } else {
245
232
  currentUsers.push(user);
@@ -256,8 +243,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
256
243
  }
257
244
  });
258
245
  const currentTabKey = computed(() => {
259
- var _a;
260
- return currentTab.value.length > 0 ? (_a = last(currentTab.value)) == null ? void 0 : _a.key : "";
246
+ var _a2;
247
+ return currentTab.value.length > 0 ? (_a2 = last(currentTab.value)) == null ? void 0 : _a2.key : "";
261
248
  });
262
249
  const showAllCheckbox = computed(() => !(props.mode !== "relay" && ["group", "org"].includes(currentTabKey.value) && currentTab.value.length === 1));
263
250
  getOrgList();
@@ -279,8 +266,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
279
266
  }
280
267
  function setUserTotal(tree) {
281
268
  tree.forEach((item) => {
282
- var _a;
283
- if (item.type == 1 && ((_a = item.children) == null ? void 0 : _a.length)) {
269
+ var _a2;
270
+ if (item.type == 1 && ((_a2 = item.children) == null ? void 0 : _a2.length)) {
284
271
  item.total = getAllUser(item.children).length;
285
272
  setUserTotal(item.children);
286
273
  } else if (item.type == 2) {
@@ -289,15 +276,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
289
276
  });
290
277
  }
291
278
  function getDisabled(id) {
292
- var _a, _b;
279
+ var _a2, _b2;
293
280
  if (currentTabKey.value === "group") {
294
281
  if (props.mode === "relay")
295
282
  return false;
296
283
  if (currentTab.value.length === 1)
297
284
  return true;
298
- return (_a = _disabledIds.value) == null ? void 0 : _a.includes(id);
285
+ return (_a2 = _disabledIds.value) == null ? void 0 : _a2.includes(id);
299
286
  }
300
- return (_b = _disabledIds.value) == null ? void 0 : _b.includes(id);
287
+ return (_b2 = _disabledIds.value) == null ? void 0 : _b2.includes(id);
301
288
  }
302
289
  async function handleClickCheckbox(option) {
303
290
  const _currentTabKey = unref(currentTabKey);
@@ -402,8 +389,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
402
389
  function getAllUser(tree) {
403
390
  const users = [];
404
391
  tree.forEach((item) => {
405
- var _a;
406
- if (item.type == 1 && ((_a = item.children) == null ? void 0 : _a.length)) {
392
+ var _a2;
393
+ if (item.type == 1 && ((_a2 = item.children) == null ? void 0 : _a2.length)) {
407
394
  users.push(...getAllUser(item.children));
408
395
  } else if (item.type == 2) {
409
396
  users.push(item);
@@ -481,6 +468,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
481
468
  checkedOptions.value = isArray(props.defaultValue) && props.defaultValue.length ? cloneDeep(props.defaultValue) : [];
482
469
  });
483
470
  return (_ctx, _cache) => {
471
+ var _a2, _b2, _c2, _d2, _e2, _f2;
484
472
  return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(NModal), {
485
473
  preset: "dialog",
486
474
  title: __props.title,
@@ -490,22 +478,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
490
478
  class: "iho-chat-dialog",
491
479
  show: showModal.value,
492
480
  "onUpdate:show": _cache[5] || (_cache[5] = ($event) => showModal.value = $event),
493
- "negative-text": function() {
494
- var _a, _b, _c;
495
- try {
496
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
497
- } catch (e) {
498
- return "\u53D6\u6D88";
499
- }
500
- }(),
501
- "positive-text": function() {
502
- var _a, _b, _c;
503
- try {
504
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A";
505
- } catch (e) {
506
- return "\u786E\u5B9A";
507
- }
508
- }(),
481
+ "negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88",
482
+ "positive-text": ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.27")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.27")) || "\u786E\u5B9A",
509
483
  "display-directive": "show",
510
484
  "positive-button-props": {
511
485
  disabled: unref(btnDisabled)
@@ -513,31 +487,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
513
487
  onPositiveClick: handlePositiveClick
514
488
  }, {
515
489
  default: withCtx(() => {
516
- var _a, _b;
490
+ var _a3, _b3, _c3, _d3, _e3, _f3, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
517
491
  return [createElementVNode("div", _hoisted_1, [__props.mode === "create" ? (openBlock(), createElementBlock("div", _hoisted_2, [_hoisted_3, createVNode(unref(NInput), {
518
492
  clearable: "",
519
- placeholder: function() {
520
- var _a2, _b2, _c;
521
- try {
522
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.35")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.35")) || "\u53D6\u4E2A\u7FA4\u540D\u79F0\u65B9\u4FBF\u540E\u7EED\u641C\u7D22";
523
- } catch (e) {
524
- return "\u53D6\u4E2A\u7FA4\u540D\u79F0\u65B9\u4FBF\u540E\u7EED\u641C\u7D22";
525
- }
526
- }(),
493
+ placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.35")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.35")) || "\u53D6\u4E2A\u7FA4\u540D\u79F0\u65B9\u4FBF\u540E\u7EED\u641C\u7D22",
527
494
  value: groupName.value,
528
495
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => groupName.value = $event),
529
496
  valueModifiers: {
530
497
  trim: true
531
498
  }
532
499
  }, null, 8, ["value"])])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(unref(NInput), {
533
- placeholder: function() {
534
- var _a2, _b2, _c;
535
- try {
536
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.36")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.36")) || "\u641C\u7D22";
537
- } catch (e) {
538
- return "\u641C\u7D22";
539
- }
540
- }(),
500
+ placeholder: ((_d3 = window.getLanguageByCode) == null ? void 0 : _d3.call(window, "10010.1.36")) || ((_f3 = (_e3 = window.top) == null ? void 0 : _e3.getLanguageByCode) == null ? void 0 : _f3.call(_e3, "10010.1.36")) || "\u641C\u7D22",
541
501
  clearable: "",
542
502
  value: keyword.value,
543
503
  "onUpdate:value": [_cache[1] || (_cache[1] = ($event) => keyword.value = $event), handleSearchInput],
@@ -583,7 +543,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
583
543
  component: unref(ChevronBackOutline)
584
544
  }, null, 8, ["component"])]),
585
545
  _: 1
586
- }), createElementVNode("h4", null, toDisplayString((_a = unref(last)(currentTab.value)) == null ? void 0 : _a.label), 1)])) : createCommentVNode("v-if", true), currentTab.value.length > 0 && ((_b = unref(last)(currentTab.value)) == null ? void 0 : _b.key) === "org" && breadcrumbList.value.length > 0 ? (openBlock(), createBlock(unref(NBreadcrumb), {
546
+ }), createElementVNode("h4", null, toDisplayString((_g = unref(last)(currentTab.value)) == null ? void 0 : _g.label), 1)])) : createCommentVNode("v-if", true), currentTab.value.length > 0 && ((_h = unref(last)(currentTab.value)) == null ? void 0 : _h.key) === "org" && breadcrumbList.value.length > 0 ? (openBlock(), createBlock(unref(NBreadcrumb), {
587
547
  key: 2,
588
548
  ref_key: "breadcrumbRef",
589
549
  ref: breadcrumbRef,
@@ -602,14 +562,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
602
562
  }, 512)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_10, [unref(userList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
603
563
  key: 0
604
564
  }, [withDirectives(createVNode(unref(NCheckbox), {
605
- label: function() {
606
- var _a2, _b2, _c;
607
- try {
608
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.37")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.37")) || "\u5168\u9009";
609
- } catch (e) {
610
- return "\u5168\u9009";
611
- }
612
- }(),
565
+ label: ((_i = window.getLanguageByCode) == null ? void 0 : _i.call(window, "10010.1.37")) || ((_k = (_j = window.top) == null ? void 0 : _j.getLanguageByCode) == null ? void 0 : _k.call(_j, "10010.1.37")) || "\u5168\u9009",
613
566
  checked: unref(allChecked),
614
567
  "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => isRef(allChecked) ? allChecked.value = $event : null)
615
568
  }, null, 8, ["checked"]), [[vShow, unref(showAllCheckbox)]]), unref(currentTabKey) === "org" && currentTab.value.length === 1 ? (openBlock(), createElementBlock("div", _hoisted_11, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (option) => {
@@ -670,28 +623,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
670
623
  }, 1032, ["value", "disabled", "onClick"]);
671
624
  }), 128))]),
672
625
  _: 1
673
- }, 8, ["value"]))], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, function() {
674
- var _a2, _b2, _c;
675
- try {
676
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.38")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.38")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7ED3\u679C";
677
- } catch (e) {
678
- return "\u627E\u4E0D\u5230\u76F8\u5173\u7ED3\u679C";
679
- }
680
- }()))])]), createElementVNode("div", _hoisted_16, [createElementVNode("span", null, function() {
681
- var _a2, _b2, _c;
682
- try {
683
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.39")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.39")) || "\u5DF2\u9009\u62E9";
684
- } catch (e) {
685
- return "\u5DF2\u9009\u62E9";
686
- }
687
- }() + toDisplayString(unref(checkedIds).length) + function() {
688
- var _a2, _b2, _c;
689
- try {
690
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.40")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.40")) || "\u4EBA";
691
- } catch (e) {
692
- return "\u4EBA";
693
- }
694
- }(), 1), createElementVNode("div", _hoisted_17, [(openBlock(true), createElementBlock(Fragment, null, renderList(checkedOptions.value, (option) => {
626
+ }, 8, ["value"]))], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, ((_l = window.getLanguageByCode) == null ? void 0 : _l.call(window, "10010.1.38")) || ((_n = (_m = window.top) == null ? void 0 : _m.getLanguageByCode) == null ? void 0 : _n.call(_m, "10010.1.38")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7ED3\u679C"))])]), createElementVNode("div", _hoisted_16, [createElementVNode("span", null, (((_o = window.getLanguageByCode) == null ? void 0 : _o.call(window, "10010.1.39")) || ((_q = (_p = window.top) == null ? void 0 : _p.getLanguageByCode) == null ? void 0 : _q.call(_p, "10010.1.39")) || "\u5DF2\u9009\u62E9") + toDisplayString(unref(checkedIds).length) + (((_r = window.getLanguageByCode) == null ? void 0 : _r.call(window, "10010.1.40")) || ((_t = (_s = window.top) == null ? void 0 : _s.getLanguageByCode) == null ? void 0 : _t.call(_s, "10010.1.40")) || "\u4EBA"), 1), createElementVNode("div", _hoisted_17, [(openBlock(true), createElementBlock(Fragment, null, renderList(checkedOptions.value, (option) => {
695
627
  return openBlock(), createBlock(unref(NTag), {
696
628
  key: option.id,
697
629
  bordered: false,
@@ -713,14 +645,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
713
645
  value: remark.value,
714
646
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => remark.value = $event),
715
647
  type: "textarea",
716
- placeholder: function() {
717
- var _a2, _b2, _c;
718
- try {
719
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.41")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.41")) || "\u7559\u8A00";
720
- } catch (e) {
721
- return "\u7559\u8A00";
722
- }
723
- }(),
648
+ placeholder: ((_u = window.getLanguageByCode) == null ? void 0 : _u.call(window, "10010.1.41")) || ((_w = (_v = window.top) == null ? void 0 : _v.getLanguageByCode) == null ? void 0 : _w.call(_v, "10010.1.41")) || "\u7559\u8A00",
724
649
  autosize: {
725
650
  minRows: 2,
726
651
  maxRows: 2
@@ -122,26 +122,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
122
122
  function formatImageList(data) {
123
123
  const result = {};
124
124
  data.forEach((item) => {
125
+ var _a, _b, _c, _d, _e, _f;
125
126
  const date = new Date(item.sendTime);
126
127
  let label = format(date, "yyyy\u5E74MM\u6708");
127
128
  if (isSameWeek(date, new Date())) {
128
- label = function() {
129
- var _a, _b, _c;
130
- try {
131
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.47")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.47")) || "\u672C\u5468";
132
- } catch (e) {
133
- return "\u672C\u5468";
134
- }
135
- }();
129
+ label = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.47")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.47")) || "\u672C\u5468";
136
130
  } else if (isSameMonth(date, new Date())) {
137
- label = function() {
138
- var _a, _b, _c;
139
- try {
140
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.404")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.404")) || "\u672C\u6708";
141
- } catch (e) {
142
- return "\u672C\u6708";
143
- }
144
- }();
131
+ label = ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.404")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.404")) || "\u672C\u6708";
145
132
  }
146
133
  if (!result[label]) {
147
134
  result[label] = [];
@@ -162,21 +149,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
162
149
  });
163
150
  handleSearch();
164
151
  }
165
- const title = computed(() => props.type === "image" ? function() {
166
- var _a, _b, _c;
167
- try {
168
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.49")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.49")) || "\u804A\u5929\u56FE\u7247";
169
- } catch (e) {
170
- return "\u804A\u5929\u56FE\u7247";
171
- }
172
- }() : function() {
173
- var _a, _b, _c;
174
- try {
175
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.50")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.50")) || "\u804A\u5929\u6587\u4EF6";
176
- } catch (e) {
177
- return "\u804A\u5929\u6587\u4EF6";
178
- }
179
- }());
152
+ const title = computed(() => {
153
+ var _a, _b, _c, _d, _e, _f;
154
+ return props.type === "image" ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.49")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.49")) || "\u804A\u5929\u56FE\u7247" : ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.50")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.50")) || "\u804A\u5929\u6587\u4EF6";
155
+ });
180
156
  watch(() => props.visible, (value) => {
181
157
  if (!value) {
182
158
  keyword.value = "";
@@ -193,112 +169,94 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
193
169
  "trap-focus": false,
194
170
  class: "iho-chat-dialog"
195
171
  }, {
196
- default: withCtx(() => [withDirectives(createElementVNode("div", {
197
- class: "iho-chat-dialog__content iho-chat-image-wrapper",
198
- ref_key: "imageRef",
199
- ref: imageRef
200
- }, [createVNode(unref(NImageGroup), {
201
- "show-toolbar-tooltip": ""
202
- }, {
203
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(imageList.value, (item) => {
204
- return openBlock(), createElementBlock("div", {
205
- class: "image-item",
206
- key: item.label
207
- }, [createElementVNode("span", _hoisted_1, toDisplayString(item.label), 1), createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (image) => {
208
- return openBlock(), createBlock(unref(NImage), {
209
- key: image,
210
- width: "80",
211
- height: "80",
212
- src: unref(getFileDetails)(image, "fileUrl")
213
- }, null, 8, ["src"]);
214
- }), 128))])]);
215
- }), 128))]),
216
- _: 1
217
- })], 512), [[vShow, __props.type === "image"]]), withDirectives(createElementVNode("div", {
218
- class: "iho-chat-dialog__content iho-chat-file-wrapper",
219
- style: normalizeStyle(unref(cssVars))
220
- }, [createVNode(unref(NInput), {
221
- clearable: "",
222
- placeholder: function() {
223
- var _a, _b, _c;
224
- try {
225
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.43")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.43")) || "\u641C\u7D22\u6587\u4EF6";
226
- } catch (e) {
227
- return "\u641C\u7D22\u6587\u4EF6";
228
- }
229
- }(),
230
- value: keyword.value,
231
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
232
- valueModifiers: {
233
- trim: true
234
- },
235
- onInput: unref(handleInput)
236
- }, {
237
- prefix: withCtx(() => [createVNode(unref(NIcon), {
238
- component: unref(SearchOutline)
239
- }, null, 8, ["component"])]),
240
- _: 1
241
- }, 8, ["value", "onInput"]), createElementVNode("div", {
242
- class: "file-list-box",
243
- ref_key: "fileRef",
244
- ref: fileRef
245
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(fileList.value, (item, i) => {
246
- return openBlock(), createElementBlock("div", {
247
- class: "file-item",
248
- key: i
249
- }, [createElementVNode("span", _hoisted_3, toDisplayString(unref(getFileType)(item.content.msg)), 1), createElementVNode("div", _hoisted_4, [createElementVNode("span", _hoisted_5, toDisplayString(unref(getFileDetails)(item.content.msg, "fileName")), 1), createElementVNode("span", _hoisted_6, toDisplayString(unref(getDetail)(item, true)), 1)]), createElementVNode("div", _hoisted_7, [createVNode(ChatAdd, {
250
- title: function() {
251
- var _a, _b, _c;
252
- try {
253
- 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";
254
- } catch (e) {
255
- return "\u8F6C\u53D1\u6D88\u606F";
256
- }
257
- }(),
258
- mode: "relay",
259
- onComfirm: (params) => unref(relayMessage)({
260
- contents: [item.content],
261
- checkedIds: params.checkedIds,
262
- remark: params.remark
263
- })
172
+ default: withCtx(() => {
173
+ var _a, _b, _c;
174
+ return [withDirectives(createElementVNode("div", {
175
+ class: "iho-chat-dialog__content iho-chat-image-wrapper",
176
+ ref_key: "imageRef",
177
+ ref: imageRef
178
+ }, [createVNode(unref(NImageGroup), {
179
+ "show-toolbar-tooltip": ""
180
+ }, {
181
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(imageList.value, (item) => {
182
+ return openBlock(), createElementBlock("div", {
183
+ class: "image-item",
184
+ key: item.label
185
+ }, [createElementVNode("span", _hoisted_1, toDisplayString(item.label), 1), createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (image) => {
186
+ return openBlock(), createBlock(unref(NImage), {
187
+ key: image,
188
+ width: "80",
189
+ height: "80",
190
+ src: unref(getFileDetails)(image, "fileUrl")
191
+ }, null, 8, ["src"]);
192
+ }), 128))])]);
193
+ }), 128))]),
194
+ _: 1
195
+ })], 512), [[vShow, __props.type === "image"]]), withDirectives(createElementVNode("div", {
196
+ class: "iho-chat-dialog__content iho-chat-file-wrapper",
197
+ style: normalizeStyle(unref(cssVars))
198
+ }, [createVNode(unref(NInput), {
199
+ clearable: "",
200
+ placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.43")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.43")) || "\u641C\u7D22\u6587\u4EF6",
201
+ value: keyword.value,
202
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
203
+ valueModifiers: {
204
+ trim: true
205
+ },
206
+ onInput: unref(handleInput)
264
207
  }, {
265
- trigger: withCtx(() => [createVNode(unref(NTooltip), {
208
+ prefix: withCtx(() => [createVNode(unref(NIcon), {
209
+ component: unref(SearchOutline)
210
+ }, null, 8, ["component"])]),
211
+ _: 1
212
+ }, 8, ["value", "onInput"]), createElementVNode("div", {
213
+ class: "file-list-box",
214
+ ref_key: "fileRef",
215
+ ref: fileRef
216
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(fileList.value, (item, i) => {
217
+ var _a2, _b2, _c2;
218
+ return openBlock(), createElementBlock("div", {
219
+ class: "file-item",
220
+ key: i
221
+ }, [createElementVNode("span", _hoisted_3, toDisplayString(unref(getFileType)(item.content.msg)), 1), createElementVNode("div", _hoisted_4, [createElementVNode("span", _hoisted_5, toDisplayString(unref(getFileDetails)(item.content.msg, "fileName")), 1), createElementVNode("span", _hoisted_6, toDisplayString(unref(getDetail)(item, true)), 1)]), createElementVNode("div", _hoisted_7, [createVNode(ChatAdd, {
222
+ title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
223
+ mode: "relay",
224
+ onComfirm: (params) => unref(relayMessage)({
225
+ contents: [item.content],
226
+ checkedIds: params.checkedIds,
227
+ remark: params.remark
228
+ })
229
+ }, {
230
+ trigger: withCtx(() => [createVNode(unref(NTooltip), {
231
+ "show-arrow": false
232
+ }, {
233
+ trigger: withCtx(() => [createVNode(unref(NIcon), {
234
+ size: 16,
235
+ component: unref(OpenOutline)
236
+ }, null, 8, ["component"])]),
237
+ default: withCtx(() => {
238
+ var _a3, _b3, _c3;
239
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.45")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.45")) || "\u8F6C\u53D1")];
240
+ }),
241
+ _: 1
242
+ })]),
243
+ _: 2
244
+ }, 1032, ["onComfirm"]), createVNode(unref(NTooltip), {
266
245
  "show-arrow": false
267
246
  }, {
268
247
  trigger: withCtx(() => [createVNode(unref(NIcon), {
269
248
  size: 16,
270
- component: unref(OpenOutline)
271
- }, null, 8, ["component"])]),
272
- default: withCtx(() => [createTextVNode(function() {
273
- var _a, _b, _c;
274
- try {
275
- 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";
276
- } catch (e) {
277
- return "\u8F6C\u53D1";
278
- }
279
- }())]),
280
- _: 1
281
- })]),
282
- _: 2
283
- }, 1032, ["onComfirm"]), createVNode(unref(NTooltip), {
284
- "show-arrow": false
285
- }, {
286
- trigger: withCtx(() => [createVNode(unref(NIcon), {
287
- size: 16,
288
- component: unref(DownloadOutline),
289
- onClick: () => unref(downloadFile)(item.content.fileUr, item.content.msg)
290
- }, null, 8, ["component", "onClick"])]),
291
- default: withCtx(() => [createTextVNode(function() {
292
- var _a, _b, _c;
293
- try {
294
- 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";
295
- } catch (e) {
296
- return "\u4E0B\u8F7D";
297
- }
298
- }())]),
299
- _: 2
300
- }, 1024)])]);
301
- }), 128))], 512)], 4), [[vShow, __props.type !== "image"]])]),
249
+ component: unref(DownloadOutline),
250
+ onClick: () => unref(downloadFile)(item.content.fileUr, item.content.msg)
251
+ }, null, 8, ["component", "onClick"])]),
252
+ default: withCtx(() => {
253
+ var _a3, _b3, _c3;
254
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.102")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.102")) || "\u4E0B\u8F7D")];
255
+ }),
256
+ _: 2
257
+ }, 1024)])]);
258
+ }), 128))], 512)], 4), [[vShow, __props.type !== "image"]])];
259
+ }),
302
260
  _: 1
303
261
  }, 8, ["title"]);
304
262
  };