cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5

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 (187) hide show
  1. package/es/components/base-search/src/index.vue2.js +6 -6
  2. package/es/components/big-table/src/BigTable.vue2.js +21 -21
  3. package/es/components/big-table/src/components/NoData.vue2.js +4 -4
  4. package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
  5. package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
  6. package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
  7. package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
  8. package/es/components/big-table/src/components/input-button.vue2.js +2 -2
  9. package/es/components/big-table/src/hooks/useNestTable.js +4 -4
  10. package/es/components/big-table/src/hooks/useTableParse.js +3 -3
  11. package/es/components/body-select/src/index.vue2.js +4 -4
  12. package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
  13. package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
  14. package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
  15. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
  16. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
  17. package/es/components/button-print/src/components/Preview.vue2.js +2 -2
  18. package/es/components/button-print/src/utils/dialog.js +6 -6
  19. package/es/components/button-print/src/utils/print.js +21 -21
  20. package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
  21. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
  22. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
  23. package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
  24. package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
  25. package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
  26. package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
  27. package/es/components/classification/src/index.vue2.js +42 -42
  28. package/es/components/default-page/src/constants/index.js +19 -19
  29. package/es/components/default-page/src/index.vue2.js +2 -2
  30. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
  31. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
  32. package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
  33. package/es/components/expand-field/src/components/form.vue2.js +87 -87
  34. package/es/components/expand-field/src/index.vue2.js +16 -16
  35. package/es/components/expand-field/src/utils/constant.js +12 -12
  36. package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
  37. package/es/components/fabric-chart/src/constants/index.js +10 -10
  38. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
  39. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
  40. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
  41. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
  42. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
  43. package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
  44. package/es/components/field-editor/index.d.ts +1 -1
  45. package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
  46. package/es/components/field-editor/src/fields.js +30 -30
  47. package/es/components/field-set/src/FieldColor.vue2.js +15 -15
  48. package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
  49. package/es/components/field-set/src/FieldSet.vue2.js +37 -37
  50. package/es/components/field-set/src/Index.vue2.js +6 -6
  51. package/es/components/field-set/src/TableStyle.vue2.js +9 -9
  52. package/es/components/field-set/src/components/condition.vue2.js +8 -8
  53. package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
  54. package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
  55. package/es/components/field-set/src/components/table-row.vue2.js +25 -25
  56. package/es/components/field-set/src/constants/filter.js +42 -42
  57. package/es/components/field-set/src/constants/index.js +64 -64
  58. package/es/components/form-config/index.d.ts +9 -9
  59. package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
  60. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
  61. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
  62. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
  63. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
  64. package/es/components/form-config/src/constants/index.js +11 -11
  65. package/es/components/form-config/src/hooks/useLocale.js +31 -31
  66. package/es/components/form-render/index.d.ts +1 -1
  67. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  68. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
  69. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
  70. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
  71. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
  72. package/es/components/form-render/src/components/renderer/input.js +1 -1
  73. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  74. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  75. package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
  76. package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
  77. package/es/components/form-render/src/components/renderer/switch.js +4 -4
  78. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  79. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
  80. package/es/components/form-render/src/types/index.d.ts +2 -2
  81. package/es/components/form-render/src/utils/schema.js +4 -4
  82. package/es/components/iho-chat/src/Index.vue2.js +2 -2
  83. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
  84. package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
  85. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
  86. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
  87. package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
  88. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
  89. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
  90. package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
  91. package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
  92. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
  93. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
  94. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
  95. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
  96. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
  97. package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
  98. package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
  99. package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
  100. package/es/components/iho-chat/src/utils/index.js +14 -14
  101. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
  102. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
  103. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
  104. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
  105. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
  109. package/es/components/info-header/index.d.ts +7 -7
  110. package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
  111. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
  112. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
  113. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
  114. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
  115. package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
  116. package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
  117. package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
  118. package/es/components/map/src/Map.vue2.js +2 -2
  119. package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
  120. package/es/components/quick-search/src/index.vue2.js +21 -21
  121. package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
  122. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
  123. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
  124. package/es/components/scale-view/index.d.ts +1 -1
  125. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  126. package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
  127. package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
  128. package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
  129. package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
  130. package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
  131. package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
  132. package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
  133. package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
  134. package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
  135. package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
  136. package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
  137. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
  138. package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
  139. package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
  140. package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
  141. package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
  142. package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
  143. package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
  144. package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
  145. package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
  146. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
  147. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
  148. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
  149. package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
  150. package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
  151. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
  152. package/es/components/select-person/src/index.vue2.js +3 -3
  153. package/es/components/shortcut-setter/index.d.ts +1 -1
  154. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  155. package/es/components/slider-tree/src/index.vue2.js +3 -3
  156. package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
  157. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
  158. package/es/components/table-export-field/src/index.vue2.js +6 -6
  159. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
  160. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
  161. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
  162. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
  163. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
  164. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
  165. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
  166. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
  167. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
  168. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
  169. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
  170. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
  171. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
  172. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
  173. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
  174. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
  175. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
  176. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
  177. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
  178. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
  179. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
  180. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
  181. package/es/components/table-filter/src/tool/baseOptions.js +19 -19
  182. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
  183. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
  184. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
  185. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
  186. package/es/shared/package.json.js +1 -1
  187. package/package.json +2 -2
@@ -50,7 +50,7 @@ const _hoisted_11 = ["innerHTML"];
50
50
  var _sfc_main = /* @__PURE__ */ defineComponent({
51
51
  __name: "SiderList",
52
52
  setup(__props) {
53
- var _a, _b, _c;
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
54
54
  const filterKey = {
55
55
  all: "all",
56
56
  unread: "unread",
@@ -60,13 +60,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  const flexWidth = ref(300);
61
61
  const listBoxRef = ref();
62
62
  const filterListByTag = ref([{
63
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.123")) || "\u5168\u90E8",
63
+ label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.123")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.123")) || "\u5168\u90E8",
64
64
  key: filterKey.all
65
65
  }, {
66
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.124")) || "\u672A\u8BFB",
66
+ label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.124")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.124")) || "\u672A\u8BFB",
67
67
  key: filterKey.unread
68
68
  }, {
69
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.77")) || "\u7ED3\u675F",
69
+ label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.77")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.77")) || "\u7ED3\u675F",
70
70
  key: filterKey.ended
71
71
  }]);
72
72
  const contextmenuRef = ref();
@@ -123,7 +123,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
123
123
  return item.status === STATUS.ENDED;
124
124
  }
125
125
  async function handleContextmenu(event, id) {
126
- var _a2, _b2, _c2, _d, _e;
126
+ var _a2, _b2, _c2, _d2, _e2;
127
127
  sessionId.value = id;
128
128
  showMenu.value = true;
129
129
  await nextTick();
@@ -141,7 +141,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
141
141
  width: contextmenuWidth = 100,
142
142
  height: contextmenuHeight = 80
143
143
  } = ((_c2 = (_b2 = contextmenuRef.value) == null ? void 0 : _b2.$el) == null ? void 0 : _c2.getBoundingClientRect()) || {};
144
- const scrollTop = (_e = (_d = listBoxRef.value) == null ? void 0 : _d.scrollTop) != null ? _e : 0;
144
+ const scrollTop = (_e2 = (_d2 = listBoxRef.value) == null ? void 0 : _d2.scrollTop) != null ? _e2 : 0;
145
145
  const offset = 5;
146
146
  const style = {};
147
147
  if (clientX < left + width - (contextmenuWidth + 2) - offset) {
@@ -203,9 +203,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
203
203
  }
204
204
  }
205
205
  function handleClickoutside(e) {
206
- var _a2, _b2, _c2, _d, _e;
206
+ var _a2, _b2, _c2, _d2, _e2;
207
207
  const panelInstEl = (_c2 = (_b2 = (_a2 = datePickerRef.value) == null ? void 0 : _a2.$datePicker) == null ? void 0 : _b2.panelInstRef) == null ? void 0 : _c2.$el;
208
- const show = !!(e.target && (panelInstEl && panelInstEl.contains(e.target) || ((_d = inputRef.value) == null ? void 0 : _d.$el) && ((_e = inputRef.value) == null ? void 0 : _e.$el.contains(e.target))));
208
+ const show = !!(e.target && (panelInstEl && panelInstEl.contains(e.target) || ((_d2 = inputRef.value) == null ? void 0 : _d2.$el) && ((_e2 = inputRef.value) == null ? void 0 : _e2.$el.contains(e.target))));
209
209
  handleUpdateShow(show);
210
210
  }
211
211
  function handleUpdateDate(value) {
@@ -259,7 +259,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
259
259
  _: 1
260
260
  }, 8, ["value", "onInput"])]),
261
261
  default: withCtx(() => {
262
- var _a2;
262
+ var _a2, _b2, _c2;
263
263
  return [createVNode(unref(DatePicker), {
264
264
  ref_key: "datePickerRef",
265
265
  ref: datePickerRef,
@@ -276,7 +276,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
276
276
  }), 128)), withDirectives(createVNode(unref(DefaultPage), {
277
277
  config: {
278
278
  title: " ",
279
- content: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
279
+ content: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.81")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
280
280
  },
281
281
  type: "5"
282
282
  }, null, 512), [[vShow, filterList.value.length < 1]])])];
@@ -298,7 +298,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
298
298
  ref_key: "listBoxRef",
299
299
  ref: listBoxRef
300
300
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(sessionList), (item) => {
301
- var _a2;
301
+ var _a2, _b2, _c2;
302
302
  return openBlock(), createElementBlock(Fragment, {
303
303
  key: item.id
304
304
  }, [item.status !== unref(STATUS).REMOVED ? withDirectives((openBlock(), createElementBlock("div", {
@@ -314,7 +314,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
314
314
  src: item.avatar
315
315
  }, null, 8, ["src"]), createElementVNode("div", _hoisted_5, [createElementVNode("div", _hoisted_6, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_7, toDisplayString(item.name), 1), withDirectives(createElementVNode("label", {
316
316
  class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(item.roleInfo) ? "isDoctor" : ""])
317
- }, toDisplayString(unref(getRoleName)(item.roleInfo)), 3), [[vShow, unref(getRoleName)(item.roleInfo)]])]), createElementVNode("span", null, toDisplayString(item.lastMessage ? unref(formatTime)(item.lastMessageSendTime).siderMsgTime : ""), 1)]), createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [item.lastMessageStatus === "WITHDRAWN" ? (openBlock(), createElementBlock("div", _hoisted_10, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.68")) || "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F")) : (openBlock(), createElementBlock("div", {
317
+ }, toDisplayString(unref(getRoleName)(item.roleInfo)), 3), [[vShow, unref(getRoleName)(item.roleInfo)]])]), createElementVNode("span", null, toDisplayString(item.lastMessage ? unref(formatTime)(item.lastMessageSendTime).siderMsgTime : ""), 1)]), createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [item.lastMessageStatus === "WITHDRAWN" ? (openBlock(), createElementBlock("div", _hoisted_10, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.68")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.68")) || "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F")) : (openBlock(), createElementBlock("div", {
318
318
  key: 1,
319
319
  innerHTML: item.lastMessageContent
320
320
  }, null, 8, _hoisted_11))]), createVNode(unref(NBadge), {
@@ -17,7 +17,7 @@ import 'sockjs-client/dist/sockjs.min.js';
17
17
  import { useVideo } from '../hooks/useVideo.js';
18
18
  import TRTC from 'trtc-sdk-v5';
19
19
 
20
- var _a, _b, _c, _d;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
21
21
  const _hoisted_1 = {
22
22
  class: "video-wrapper"
23
23
  };
@@ -36,13 +36,13 @@ const _hoisted_5 = {
36
36
  const _hoisted_6 = {
37
37
  class: "btn"
38
38
  };
39
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.104")) || "\u9759\u97F3", -1);
40
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", null, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.113")) || "\u62D2\u63A5", -1);
39
+ const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((_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);
40
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.113")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.113")) || "\u62D2\u63A5", -1);
41
41
  const _hoisted_9 = {
42
42
  class: "btn"
43
43
  };
44
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.125")) || "\u6302\u65AD", -1);
45
- const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.114")) || "\u63A5\u542C", -1);
44
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.125")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.125")) || "\u6302\u65AD", -1);
45
+ const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", null, ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.114")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.114")) || "\u63A5\u542C", -1);
46
46
  var _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  __name: "Video",
48
48
  setup(__props) {
@@ -24,8 +24,8 @@ function useVideo() {
24
24
  const isAudio = computed(() => state.currentAVMsg.chatMessageType === MESSAGE_TYPE.AUDIO);
25
25
  const isCall = computed(() => state.currentAVMsg.callMode === "call");
26
26
  const messageTypeText = computed(() => {
27
- var _a, _b;
28
- return isAudio.value ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.130")) || "\u8BED\u97F3" : ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.131")) || "\u89C6\u9891";
27
+ var _a, _b, _c, _d, _e, _f;
28
+ return isAudio.value ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.130")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.130")) || "\u8BED\u97F3" : ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.131")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.131")) || "\u89C6\u9891";
29
29
  });
30
30
  const trtc = TRTC.create();
31
31
  function startTimer() {
@@ -9,19 +9,19 @@ const {
9
9
  message: $message
10
10
  } = createDiscreteApi(["message"]);
11
11
  function formatTime(dateStr) {
12
- var _a;
12
+ var _a, _b, _c;
13
13
  const date = new Date(dateStr);
14
14
  let siderMsgTime, msgTime;
15
15
  if (isToday(date)) {
16
16
  siderMsgTime = msgTime = format(date, "HH:mm");
17
17
  } else {
18
- siderMsgTime = isYesterday(date) ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.132")) || "\u6628\u5929" : format(date, "MM-dd");
18
+ siderMsgTime = isYesterday(date) ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.132")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.132")) || "\u6628\u5929" : format(date, "MM-dd");
19
19
  const dateYear = date.getFullYear();
20
20
  const currentYear = new Date().getFullYear();
21
21
  msgTime = format(date, dateYear < currentYear ? "yyyy\u5E74M\u6708d\u65E5 HH:mm" : "M\u6708d\u65E5 HH:mm");
22
22
  }
23
23
  function formatRecordTime(time) {
24
- var _a2, _b, _c, _d;
24
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l;
25
25
  const currentTime = new Date(time);
26
26
  const nowTimeStamp = Date.now();
27
27
  const currentTimeStamp = currentTime.getTime();
@@ -29,13 +29,13 @@ function formatTime(dateStr) {
29
29
  const oneMinuteAgo = 60 * 1e3;
30
30
  const oneHourAgo = 60 * 60 * 1e3;
31
31
  if (distance < oneMinuteAgo) {
32
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.133")) || "\u521A\u521A";
32
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.133")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.133")) || "\u521A\u521A";
33
33
  } else if (distance < oneHourAgo) {
34
- return Math.ceil(distance / 1e3 / 60) + (((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.136")) || "\u5206\u949F\u524D");
34
+ return Math.ceil(distance / 1e3 / 60) + (((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.136")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.136")) || "\u5206\u949F\u524D");
35
35
  } else if (isToday(currentTime)) {
36
- return (((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.134")) || "\u4ECA\u5929") + format(currentTime, "HH:mm");
36
+ return (((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.134")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.134")) || "\u4ECA\u5929") + format(currentTime, "HH:mm");
37
37
  } else if (isYesterday(currentTime)) {
38
- return (((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.132")) || "\u6628\u5929") + format(currentTime, "HH:mm");
38
+ return (((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.132")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.132")) || "\u6628\u5929") + format(currentTime, "HH:mm");
39
39
  } else {
40
40
  const dateYear = currentTime.getFullYear();
41
41
  const currentYear = new Date().getFullYear();
@@ -90,7 +90,7 @@ function transformMessage(content) {
90
90
  return msg;
91
91
  }
92
92
  function getAVTime(msg) {
93
- var _a, _b;
93
+ var _a, _b, _c, _d, _e, _f;
94
94
  if (msg && isNumber(+msg) && !isNaN(+msg)) {
95
95
  const time = formatSeconds(+msg);
96
96
  const timeArray = time.split(":");
@@ -98,9 +98,9 @@ function getAVTime(msg) {
98
98
  if (timeArray.length === 3 && timeArray[0] === "00") {
99
99
  _timeStr = `${timeArray[1]}:${timeArray[2]}`;
100
100
  }
101
- return (((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.137")) || "\u901A\u8BDD\u65F6\u957F") + _timeStr;
101
+ return (((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.137")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.137")) || "\u901A\u8BDD\u65F6\u957F") + _timeStr;
102
102
  }
103
- return ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.138")) || "\u5DF2\u53D6\u6D88";
103
+ return ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.138")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.138")) || "\u5DF2\u53D6\u6D88";
104
104
  }
105
105
  function simplifyMessage(lastMessage) {
106
106
  var _a;
@@ -206,7 +206,7 @@ function isDoctorRole(type) {
206
206
  return type === ROLE_TYPE.DOCTOR;
207
207
  }
208
208
  function getRoleName(type) {
209
- var _a;
209
+ var _a, _b, _c;
210
210
  let roleName = "";
211
211
  switch (type) {
212
212
  case ROLE_TYPE.DOCTOR: {
@@ -214,7 +214,7 @@ function getRoleName(type) {
214
214
  break;
215
215
  }
216
216
  case ROLE_TYPE.PATIENT: {
217
- roleName = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.200")) || "\u60A3\u8005";
217
+ roleName = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.200")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.200")) || "\u60A3\u8005";
218
218
  break;
219
219
  }
220
220
  }
@@ -252,8 +252,8 @@ function getDetail(item, isShowSize) {
252
252
  return details;
253
253
  }
254
254
  function showAudioAndVideoRecord(chatMessageType) {
255
- var _a, _b;
256
- return chatMessageType === MESSAGE_TYPE.AUDIO ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD" : ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD";
255
+ var _a, _b, _c, _d, _e, _f;
256
+ return chatMessageType === MESSAGE_TYPE.AUDIO ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.57")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD" : ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.59")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD";
257
257
  }
258
258
 
259
259
  export { $message, base64ToFile, downloadFile, formatSeconds, formatTime, getAVTime, getDetail, getFileDetails, getFileSize, getFileType, getForwardTitle, getRoleName, isAudioOrVideoMessage, isDoctorRole, isGroup, listSort, showAudioAndVideoRecord, simplifyMessage, transformMessage };
@@ -20,13 +20,13 @@ function useColumnConfigAdaptor() {
20
20
  const isEditValueMap = /* @__PURE__ */ new Map([["0", 0], ["1", 1]]);
21
21
  const htmlTypeValueMap = new Map([...["RADIO", "RADIO_BLOCK", "CHECKBOX", "CHECKBOX_BLOCK", "SELECT", "SEARCH", "SEARCH_MORE", "SWITCH_COMPONENT"].map((type) => [type, "select"]), ...["DATE"].map((type) => [type, "date"]), ...["INPUT"].map((type) => [type, "input"]), ...["DIGITAL"].map((type) => [type, "number"])]);
22
22
  const isNullHandler = (value, result, _fieldItem, _editRules) => {
23
- var _a;
23
+ var _a, _b, _c;
24
24
  if (value === "1")
25
25
  return;
26
26
  if (value === "0")
27
27
  _editRules[_fieldItem.val_key] = [{
28
28
  required: true,
29
- message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || "\u5FC5\u586B"
29
+ message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B"
30
30
  }];
31
31
  };
32
32
  const validateHandler = (value, result) => {
@@ -231,7 +231,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
231
231
  }
232
232
  onMounted(fetchOption);
233
233
  return (_ctx, _cache) => {
234
- var _a2, _b2;
234
+ var _a2, _b2, _c, _d, _e, _f;
235
235
  const _component_vxe_grid = resolveComponent("vxe-grid");
236
236
  return openBlock(), createElementBlock("section", _hoisted_1, [createVNode(unref(NInput), {
237
237
  value: searchFilterText.value,
@@ -282,27 +282,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
282
282
  size: "small"
283
283
  }, null, 8, ["page", "page-size", "item-count"])) : createCommentVNode("v-if", true)]),
284
284
  _: 1
285
- }, 8, ["show"]), createElementVNode("footer", _hoisted_2, [createElementVNode("section", null, [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
285
+ }, 8, ["show"]), createElementVNode("footer", _hoisted_2, [createElementVNode("section", null, [createTextVNode(((_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"), createElementVNode("span", {
286
286
  style: normalizeStyle({
287
287
  color: "var(--c-primary-color)"
288
288
  })
289
- }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
289
+ }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.417")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
290
290
  size: "small"
291
291
  }, {
292
292
  default: withCtx(() => [createVNode(unref(NButton), {
293
293
  onClick: reset
294
294
  }, {
295
295
  default: withCtx(() => {
296
- var _a3;
297
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
296
+ var _a3, _b3, _c2;
297
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.509")) || "\u6E05\u7A7A")];
298
298
  }),
299
299
  _: 1
300
300
  }), createVNode(unref(NButton), {
301
301
  onClick: close
302
302
  }, {
303
303
  default: withCtx(() => {
304
- var _a3;
305
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.28")) || "\u53D6\u6D88")];
304
+ var _a3, _b3, _c2;
305
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.28")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.28")) || "\u53D6\u6D88")];
306
306
  }),
307
307
  _: 1
308
308
  }), createVNode(unref(NButton), {
@@ -310,8 +310,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
310
310
  onClick: confirm
311
311
  }, {
312
312
  default: withCtx(() => {
313
- var _a3;
314
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.27")) || "\u786E\u5B9A")];
313
+ var _a3, _b3, _c2;
314
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.27")) || ((_c2 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c2.call(_b3, "10010.1.27")) || "\u786E\u5B9A")];
315
315
  }),
316
316
  _: 1
317
317
  })]),
@@ -39,7 +39,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  function confirm() {
40
40
  }
41
41
  return (_ctx, _cache) => {
42
- var _a, _b;
42
+ var _a, _b, _c, _d, _e, _f;
43
43
  return openBlock(), createElementBlock("section", _hoisted_1, [createVNode(unref(NInput), {
44
44
  value: searchFilterText.value,
45
45
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => searchFilterText.value = $event)
@@ -77,27 +77,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
77
77
  _: 1
78
78
  }, 8, ["value"])]),
79
79
  _: 1
80
- }, 8, ["show"]), createElementVNode("footer", _hoisted_3, [createElementVNode("section", null, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
80
+ }, 8, ["show"]), createElementVNode("footer", _hoisted_3, [createElementVNode("section", null, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.39")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
81
81
  style: normalizeStyle({
82
82
  color: "var(--c-primary-color)"
83
83
  })
84
- }, toDisplayString(checkedRef.value.length), 5), createTextVNode(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
84
+ }, toDisplayString(checkedRef.value.length), 5), createTextVNode(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.417")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
85
85
  size: "small"
86
86
  }, {
87
87
  default: withCtx(() => [createVNode(unref(NButton), {
88
88
  onClick: reset
89
89
  }, {
90
90
  default: withCtx(() => {
91
- var _a2;
92
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
91
+ var _a2, _b2, _c2;
92
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.509")) || "\u6E05\u7A7A")];
93
93
  }),
94
94
  _: 1
95
95
  }), createVNode(unref(NButton), {
96
96
  onClick: close
97
97
  }, {
98
98
  default: withCtx(() => {
99
- var _a2;
100
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
99
+ var _a2, _b2, _c2;
100
+ return [createTextVNode(((_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")];
101
101
  }),
102
102
  _: 1
103
103
  }), createVNode(unref(NButton), {
@@ -105,8 +105,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
105
  onClick: confirm
106
106
  }, {
107
107
  default: withCtx(() => {
108
- var _a2;
109
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
108
+ var _a2, _b2, _c2;
109
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
110
110
  }),
111
111
  _: 1
112
112
  })]),
@@ -178,7 +178,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
178
178
  }
179
179
  });
180
180
  return (_ctx, _cache) => {
181
- var _a, _b;
181
+ var _a, _b, _c, _d, _e, _f;
182
182
  return openBlock(), createElementBlock("section", _hoisted_1, [unref(optionsRef).length > 5 ? (openBlock(), createBlock(unref(NInput), {
183
183
  key: 0,
184
184
  value: searchFilterText.value,
@@ -196,8 +196,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
196
196
  indeterminate: unref(indeterminate)
197
197
  }, {
198
198
  default: withCtx(() => {
199
- var _a2;
200
- return [createTextVNode((((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.577")) || "\u5168\u9009\u6240\u6709") + toDisplayString(unref(lowCodeField).showFilterFullNums ? `(${unref(tableFullData).length})` : ""), 1)];
199
+ var _a2, _b2, _c2;
200
+ return [createTextVNode((((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.577")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.577")) || "\u5168\u9009\u6240\u6709") + toDisplayString(unref(lowCodeField).showFilterFullNums ? `(${unref(tableFullData).length})` : ""), 1)];
201
201
  }),
202
202
  _: 1
203
203
  }, 8, ["checked", "indeterminate"])])])) : createCommentVNode("v-if", true), createVNode(unref(NSpin), {
@@ -261,27 +261,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
261
261
  _: 1
262
262
  }, 8, ["show"]), createElementVNode("footer", _hoisted_8, [createElementVNode("section", null, [unref(multipleRef) ? (openBlock(), createElementBlock(Fragment, {
263
263
  key: 0
264
- }, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
264
+ }, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.39")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
265
265
  style: normalizeStyle({
266
266
  color: "var(--c-primary-color)"
267
267
  })
268
- }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.417")) || "\u9879")], 64)) : createCommentVNode("v-if", true)]), createVNode(unref(NButtonGroup), {
268
+ }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.417")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.417")) || "\u9879")], 64)) : createCommentVNode("v-if", true)]), createVNode(unref(NButtonGroup), {
269
269
  size: "small"
270
270
  }, {
271
271
  default: withCtx(() => [createVNode(unref(NButton), {
272
272
  onClick: reset
273
273
  }, {
274
274
  default: withCtx(() => {
275
- var _a2;
276
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
275
+ var _a2, _b2, _c2;
276
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.509")) || "\u6E05\u7A7A")];
277
277
  }),
278
278
  _: 1
279
279
  }), createVNode(unref(NButton), {
280
280
  onClick: close
281
281
  }, {
282
282
  default: withCtx(() => {
283
- var _a2;
284
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
283
+ var _a2, _b2, _c2;
284
+ return [createTextVNode(((_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")];
285
285
  }),
286
286
  _: 1
287
287
  }), createVNode(unref(NButton), {
@@ -289,8 +289,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
289
289
  onClick: confirm
290
290
  }, {
291
291
  default: withCtx(() => {
292
- var _a2;
293
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
292
+ var _a2, _b2, _c2;
293
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
294
294
  }),
295
295
  _: 1
296
296
  })]),
@@ -64,8 +64,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
64
  onClick: close
65
65
  }, {
66
66
  default: withCtx(() => {
67
- var _a2;
68
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
67
+ var _a2, _b, _c;
68
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.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")];
69
69
  }),
70
70
  _: 1
71
71
  }), createVNode(unref(NButton), {
@@ -73,8 +73,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
73
73
  onClick: confirm
74
74
  }, {
75
75
  default: withCtx(() => {
76
- var _a2;
77
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
76
+ var _a2, _b, _c;
77
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.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")];
78
78
  }),
79
79
  _: 1
80
80
  })]),
@@ -50,9 +50,9 @@ function numberRendererPlugin() {
50
50
  emitFormChangeWithParams,
51
51
  $table
52
52
  }) => {
53
- var _a, _b;
53
+ var _a, _b, _c, _d;
54
54
  const {
55
- placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165"
55
+ placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165"
56
56
  } = fieldItem.componentProps || {};
57
57
  function updateValue(value) {
58
58
  const oldValue = row[column.field];
@@ -81,7 +81,7 @@ function numberRendererPlugin() {
81
81
  "whiteList": fieldItem.whiteList
82
82
  }, fieldItem.componentProps, {
83
83
  "popperProps": {
84
- ...(_b = fieldItem.componentProps) == null ? void 0 : _b.popperProps,
84
+ ...(_d = fieldItem.componentProps) == null ? void 0 : _d.popperProps,
85
85
  class: "iho-table_numberInputSlashPopper"
86
86
  }
87
87
  }), null) : createVNode(IhoTableInputNumber, mergeProps({
@@ -15,7 +15,7 @@ import { InjectionIhoTableUUID, InjectionIhoTableConfig } from '../../../../cons
15
15
  import { useIhoTableFormEvent } from '../../../../utils/index.js';
16
16
  import { getSelectOptions, selectOptionsMap } from '../hooks/useSelectOption.js';
17
17
 
18
- var _a;
18
+ var _a, _b, _c;
19
19
  var EditSelect = /* @__PURE__ */ defineComponent({
20
20
  name: "EditSelect",
21
21
  props: {
@@ -43,7 +43,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
43
43
  },
44
44
  placeholder: {
45
45
  type: String,
46
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9"
46
+ default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9"
47
47
  },
48
48
  allowModify: {
49
49
  type: Boolean
@@ -170,7 +170,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
170
170
  }
171
171
  }
172
172
  async function setFixedTableRowHeight(reset = false) {
173
- var _a2, _b, _c;
173
+ var _a2, _b2, _c2;
174
174
  if (!props.multiple)
175
175
  return;
176
176
  await nextTick();
@@ -181,14 +181,14 @@ var EditSelect = /* @__PURE__ */ defineComponent({
181
181
  const tableLeftBodyEle = (_a2 = refTableLeftBody == null ? void 0 : refTableLeftBody.value) == null ? void 0 : _a2.$el;
182
182
  if (!tableLeftBodyEle)
183
183
  return;
184
- const tableBodyEle = (_b = refTableBody == null ? void 0 : refTableBody.value) == null ? void 0 : _b.$el;
184
+ const tableBodyEle = (_b2 = refTableBody == null ? void 0 : refTableBody.value) == null ? void 0 : _b2.$el;
185
185
  const rowid = $table.getRowid(props.row);
186
- const currentTrHeight = (_c = tableBodyEle.querySelector(`.vxe-body--row[rowid="${rowid}"]`)) == null ? void 0 : _c.clientHeight;
186
+ const currentTrHeight = (_c2 = tableBodyEle.querySelector(`.vxe-body--row[rowid="${rowid}"]`)) == null ? void 0 : _c2.clientHeight;
187
187
  const leftTrEle = tableLeftBodyEle.querySelector(`.vxe-body--row[rowid="${rowid}"]`);
188
188
  leftTrEle.style.height = reset ? "unset" : currentTrHeight + "px";
189
189
  }
190
190
  async function onUpdateValue(value, option) {
191
- var _a2, _b;
191
+ var _a2, _b2;
192
192
  const oldValue = props.value;
193
193
  await modifyEvent.updateValue(value, option);
194
194
  const options = getSelectOptions(uuid, props.column.field, props.row, $table);
@@ -204,7 +204,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
204
204
  }
205
205
  const lowCodeField = (_a2 = props.column.editRender) == null ? void 0 : _a2.props;
206
206
  if (uuid && (lowCodeField == null ? void 0 : lowCodeField.connectField)) {
207
- const connectFields = (_b = lowCodeField.connectField) == null ? void 0 : _b.split(",");
207
+ const connectFields = (_b2 = lowCodeField.connectField) == null ? void 0 : _b2.split(",");
208
208
  const map = selectOptionsMap.get(uuid);
209
209
  connectFields.forEach(async (field) => {
210
210
  var _a3;
@@ -234,20 +234,20 @@ var EditSelect = /* @__PURE__ */ defineComponent({
234
234
  }
235
235
  const tableConfig = inject(InjectionIhoTableConfig);
236
236
  function isForceArrowKey() {
237
- var _a2, _b;
238
- return (_b = (_a2 = tableConfig.value) == null ? void 0 : _a2.keyboardConfig) == null ? void 0 : _b.forceArrowKey;
237
+ var _a2, _b2;
238
+ return (_b2 = (_a2 = tableConfig.value) == null ? void 0 : _a2.keyboardConfig) == null ? void 0 : _b2.forceArrowKey;
239
239
  }
240
240
  function isArrowKey(key) {
241
241
  return ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(key);
242
242
  }
243
243
  const keyboardRef = ref(true);
244
244
  function onKeydown(e) {
245
- var _a2, _b;
245
+ var _a2, _b2;
246
246
  if (!selectRef.value)
247
247
  return;
248
248
  if (e.code === "Tab" || isForceArrowKey() && isArrowKey(e.key)) {
249
249
  if (show.value) {
250
- (_b = (_a2 = selectRef.value).handleKeydown) == null ? void 0 : _b.call(_a2, {
250
+ (_b2 = (_a2 = selectRef.value).handleKeydown) == null ? void 0 : _b2.call(_a2, {
251
251
  ...e,
252
252
  key: "Enter",
253
253
  preventDefault: e.preventDefault.bind(e)
@@ -295,10 +295,10 @@ var EditSelect = /* @__PURE__ */ defineComponent({
295
295
  };
296
296
  };
297
297
  const menuProps = computed(() => {
298
- var _a2, _b;
298
+ var _a2, _b2;
299
299
  return {
300
300
  ...props.menuProps,
301
- class: `iho-table__selectMenu ${(_b = (_a2 = props.menuProps) == null ? void 0 : _a2.class) != null ? _b : ""}`
301
+ class: `iho-table__selectMenu ${(_b2 = (_a2 = props.menuProps) == null ? void 0 : _a2.class) != null ? _b2 : ""}`
302
302
  };
303
303
  });
304
304
  return () => {
@@ -33,7 +33,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  setup(__props, {
34
34
  emit
35
35
  }) {
36
- var _a;
36
+ var _a, _b, _c;
37
37
  const props = __props;
38
38
  const attr = useAttrs();
39
39
  const {
@@ -64,7 +64,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
64
  }
65
65
  });
66
66
  const {
67
- placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
67
+ placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
68
68
  valueFormat = "HH:mm"
69
69
  } = attr;
70
70
  const timeConfig = reactive({
@@ -84,14 +84,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
84
84
  newValue = value;
85
85
  }
86
86
  function isDisabled(value) {
87
- var _a2, _b, _c;
87
+ var _a2, _b2, _c2;
88
88
  const parsedTime = parse(value, timeConfig.format, new Date());
89
89
  const hours = getHours(parsedTime);
90
90
  const minutes = getMinutes(parsedTime);
91
91
  const seconds = getSeconds(parsedTime);
92
92
  const isHourDisabled = (_a2 = timeConfig.isHourDisabled) == null ? void 0 : _a2.call(timeConfig, hours);
93
- const isMinuteDisabled = (_b = timeConfig.isMinuteDisabled) == null ? void 0 : _b.call(timeConfig, minutes, hours);
94
- const isSecondDisabled = (_c = timeConfig.isSecondDisabled) == null ? void 0 : _c.call(timeConfig, seconds, minutes, hours);
93
+ const isMinuteDisabled = (_b2 = timeConfig.isMinuteDisabled) == null ? void 0 : _b2.call(timeConfig, minutes, hours);
94
+ const isSecondDisabled = (_c2 = timeConfig.isSecondDisabled) == null ? void 0 : _c2.call(timeConfig, seconds, minutes, hours);
95
95
  return isHourDisabled || isMinuteDisabled || isSecondDisabled;
96
96
  }
97
97
  function onChange() {
@@ -148,13 +148,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
148
148
  immediate: true
149
149
  });
150
150
  watch(() => isShow.value, async (value) => {
151
- var _a2, _b, _c, _d, _e;
151
+ var _a2, _b2, _c2, _d, _e;
152
152
  if (value) {
153
153
  newValue = __formattedValue.value;
154
154
  await nextTick();
155
- (_e = (_d = (_c = (_b = (_a2 = timePickerRef.value) == null ? void 0 : _a2.$timePicker) == null ? void 0 : _b.panelInstRef) == null ? void 0 : _c.$el) == null ? void 0 : _d.querySelectorAll(".n-time-picker-col")) == null ? void 0 : _e.forEach((node) => {
156
- var _a3, _b2;
157
- return (_b2 = (_a3 = node == null ? void 0 : node.querySelector) == null ? void 0 : _a3.call(node, ".n-time-picker-col__item--active")) == null ? void 0 : _b2.scrollIntoView();
155
+ (_e = (_d = (_c2 = (_b2 = (_a2 = timePickerRef.value) == null ? void 0 : _a2.$timePicker) == null ? void 0 : _b2.panelInstRef) == null ? void 0 : _c2.$el) == null ? void 0 : _d.querySelectorAll(".n-time-picker-col")) == null ? void 0 : _e.forEach((node) => {
156
+ var _a3, _b3;
157
+ return (_b3 = (_a3 = node == null ? void 0 : node.querySelector) == null ? void 0 : _a3.call(node, ".n-time-picker-col__item--active")) == null ? void 0 : _b3.scrollIntoView();
158
158
  });
159
159
  } else {
160
160
  updateFormattedValue();