cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/es/components/audio-sdk/index.d.ts +173 -146
  2. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  3. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  5. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  6. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  9. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  10. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  11. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  12. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  14. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  15. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  16. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  20. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  21. package/es/components/audio-sdk/src/types/index.js +10 -0
  22. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  23. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  24. package/es/components/audio-sdk/style/index.css +1 -1
  25. package/es/components/base-search/src/index.vue2.js +30 -18
  26. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  27. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  28. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  29. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  30. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  31. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  32. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  33. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  34. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  35. package/es/components/body-select/src/index.vue2.js +24 -4
  36. package/es/components/button-print/index.d.ts +12 -4
  37. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  39. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  40. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  41. package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
  42. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  43. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  44. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  45. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  46. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  47. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  48. package/es/components/button-print/src/utils/dialog.js +26 -8
  49. package/es/components/button-print/src/utils/print.d.ts +5 -5
  50. package/es/components/button-print/src/utils/print.js +108 -21
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  52. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  53. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  54. package/es/components/card-render/src/components/index.d.ts +23 -23
  55. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  56. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  57. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  58. package/es/components/classification/src/index.vue2.js +261 -69
  59. package/es/components/default-page/src/constants/index.js +144 -19
  60. package/es/components/default-page/src/index.vue2.js +8 -2
  61. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  62. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  63. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  64. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  65. package/es/components/expand-field/src/index.vue2.js +88 -22
  66. package/es/components/expand-field/src/utils/constant.js +88 -12
  67. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  68. package/es/components/fabric-chart/src/constants/index.js +72 -10
  69. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  70. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  71. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  72. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  73. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  74. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  75. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  76. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  77. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  78. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  79. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  80. package/es/components/fabric-chart/src/utils/index.js +2 -2
  81. package/es/components/field-editor/src/fields.js +232 -30
  82. package/es/components/field-set/src/FieldColor.vue.d.ts +2 -2
  83. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  84. package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -2
  85. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  86. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  87. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  88. package/es/components/field-set/src/Index.vue2.js +40 -6
  89. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  90. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  91. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  92. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  93. package/es/components/field-set/src/components/table-row.vue.d.ts +2 -2
  94. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  95. package/es/components/field-set/src/constants/filter.js +328 -42
  96. package/es/components/field-set/src/constants/index.js +504 -64
  97. package/es/components/field-set/src/utils/index.js +1 -1
  98. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  99. package/es/components/form-config/src/constants/index.js +80 -11
  100. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  101. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  102. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  103. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  104. package/es/components/form-render/src/components/renderer/input.js +3 -2
  105. package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
  106. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  107. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  108. package/es/components/form-render/src/components/renderer/textarea.js +5 -4
  109. package/es/components/form-render/src/utils/schema.js +26 -6
  110. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  111. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  112. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  113. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  114. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  115. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  116. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  117. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  118. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  119. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  120. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  121. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  122. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  123. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
  124. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  125. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  126. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  127. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  128. package/es/components/iho-chat/src/utils/index.js +79 -14
  129. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  130. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  131. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  132. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  133. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  134. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  135. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  136. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  138. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  139. package/es/components/index.css +1 -1
  140. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  141. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  142. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  143. package/es/components/map/src/Map.vue2.js +8 -4
  144. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  145. package/es/components/quick-search/src/index.vue2.js +176 -131
  146. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  147. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  148. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  149. package/es/components/scale-view/src/ScaleView.vue2.js +16 -8
  150. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  151. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  152. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  153. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  154. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  155. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  156. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  157. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  158. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  159. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  160. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  161. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  162. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  163. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  164. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  165. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  166. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  167. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  168. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  169. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  170. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  171. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  172. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  173. package/es/components/select-person/src/index.vue2.js +20 -7
  174. package/es/components/slider-tree/src/index.vue2.js +16 -3
  175. package/es/components/table-export-field/index.d.ts +1 -0
  176. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  177. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  178. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  179. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  180. package/es/components/table-export-field/src/index.vue2.js +28 -12
  181. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  182. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  183. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  184. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  185. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  186. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  187. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  188. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  189. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  190. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  191. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  192. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  193. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  194. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  195. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  196. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  197. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  198. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  199. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  200. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  201. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  202. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  203. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  204. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  205. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  206. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  207. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  208. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  209. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  210. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  211. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  212. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  214. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  215. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  216. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  217. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  218. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  219. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  220. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  221. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  222. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  223. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  224. package/es/shared/assets/img/failure.png.js +1 -1
  225. package/es/shared/assets/img/no-permission.png.js +1 -1
  226. package/es/shared/assets/img/nodata.png.js +1 -1
  227. package/es/shared/assets/img/notfound.png.js +1 -1
  228. package/es/shared/assets/img/qr.png.js +1 -1
  229. package/es/shared/assets/img/success.png.js +1 -1
  230. package/es/shared/assets/img/table_style_2.png.js +1 -1
  231. package/es/shared/assets/img/video.png.js +1 -1
  232. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  233. package/es/shared/assets/img/xb_big.png.js +1 -1
  234. package/es/shared/assets/img/xb_small.png.js +1 -1
  235. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  236. package/es/shared/package.json.js +1 -1
  237. package/package.json +2 -2
  238. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  239. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
  240. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  241. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  242. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  243. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  244. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  245. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  246. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  247. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  248. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  249. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  250. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  251. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -62,7 +62,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
62
62
  setup(__props, {
63
63
  emit: emits
64
64
  }) {
65
- var _a, _b, _c, _d, _e, _f;
66
65
  const props = __props;
67
66
  const $message = useMessage();
68
67
  const {
@@ -70,23 +69,58 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
70
69
  } = useAsyncData();
71
70
  provide(InjectionExpandFieldApiConfig, props.expandFieldApiConfig);
72
71
  const filedList = [{
73
- title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898",
72
+ title: function() {
73
+ var _a, _b, _c;
74
+ try {
75
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.529")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898";
76
+ } catch (e) {
77
+ return "\u5B57\u6BB5\u6807\u9898";
78
+ }
79
+ }(),
74
80
  columnName: "name",
75
81
  span: 3
76
82
  }, {
77
- title: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D",
83
+ title: function() {
84
+ var _a, _b, _c;
85
+ try {
86
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.530")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D";
87
+ } catch (e) {
88
+ return "\u5B57\u6BB5\u952E\u540D";
89
+ }
90
+ }(),
78
91
  columnName: "code",
79
92
  span: 3
80
93
  }, {
81
- title: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B",
94
+ title: function() {
95
+ var _a, _b, _c;
96
+ try {
97
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.532")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B";
98
+ } catch (e) {
99
+ return "\u5B57\u6BB5\u7C7B\u578B";
100
+ }
101
+ }(),
82
102
  columnName: "html_type",
83
103
  span: 3
84
104
  }, {
85
- title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A",
105
+ title: function() {
106
+ var _a, _b, _c;
107
+ try {
108
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.15")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A";
109
+ } catch (e) {
110
+ return "\u95EE\u53F7\u63D0\u793A";
111
+ }
112
+ }(),
86
113
  columnName: "remark",
87
114
  span: 4
88
115
  }, {
89
- title: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.236")) || "\u521B\u5EFA\u65F6\u95F4",
116
+ title: function() {
117
+ var _a, _b, _c;
118
+ try {
119
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.236")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.236")) || "\u521B\u5EFA\u65F6\u95F4";
120
+ } catch (e) {
121
+ return "\u521B\u5EFA\u65F6\u95F4";
122
+ }
123
+ }(),
90
124
  columnName: "createdDate",
91
125
  span: 4
92
126
  }, {
@@ -94,7 +128,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
94
128
  columnName: "updatedDate",
95
129
  span: 4
96
130
  }, {
97
- title: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.241")) || "\u64CD\u4F5C",
131
+ title: function() {
132
+ var _a, _b, _c;
133
+ try {
134
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C";
135
+ } catch (e) {
136
+ return "\u64CD\u4F5C";
137
+ }
138
+ }(),
98
139
  columnName: "operator",
99
140
  span: 3
100
141
  }];
@@ -120,14 +161,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
120
161
  };
121
162
  }
122
163
  async function handleDelItem(row) {
123
- var _a2, _b2;
124
164
  try {
125
165
  const res = await deleteExtendFieldById(row, props.expandFieldApiConfig);
126
166
  if ((res == null ? void 0 : res.result) !== "SUCCESS") {
127
- $message.error((res == null ? void 0 : res.resultMsg) || ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
167
+ $message.error((res == null ? void 0 : res.resultMsg) || function() {
168
+ var _a, _b, _c;
169
+ try {
170
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.521")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.521")) || "\u5220\u9664\u5931\u8D25";
171
+ } catch (e) {
172
+ return "\u5220\u9664\u5931\u8D25";
173
+ }
174
+ }());
128
175
  return;
129
176
  }
130
- $message.success(((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.411")) || "\u5220\u9664\u6210\u529F");
177
+ $message.success(function() {
178
+ var _a, _b, _c;
179
+ try {
180
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.411")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.411")) || "\u5220\u9664\u6210\u529F";
181
+ } catch (e) {
182
+ return "\u5220\u9664\u6210\u529F";
183
+ }
184
+ }());
131
185
  } catch (error) {
132
186
  $message.error(error);
133
187
  }
@@ -206,10 +260,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
206
260
  component: unref(Brush),
207
261
  onClick: withModifiers(($event) => handleEditItem(contentItem), ["prevent", "stop"])
208
262
  }, null, 8, ["component", "onClick"])]),
209
- default: withCtx(() => {
210
- var _a2;
211
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.284")) || "\u7F16\u8F91")];
212
- }),
263
+ default: withCtx(() => [createTextVNode(function() {
264
+ var _a, _b, _c;
265
+ try {
266
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
267
+ } catch (e) {
268
+ return "\u7F16\u8F91";
269
+ }
270
+ }())]),
213
271
  _: 2
214
272
  }, 1024), createVNode(unref(NTooltip), {
215
273
  duration: 0
@@ -224,10 +282,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
224
282
  default: withCtx(() => [createTextVNode(" \u786E\u8BA4\u8981\u5220\u9664-" + toDisplayString(contentItem.name) + "\u5417\uFF1F ", 1)]),
225
283
  _: 2
226
284
  }, 1032, ["onPositiveClick"])]),
227
- default: withCtx(() => {
228
- var _a2;
229
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.215")) || "\u5220\u9664")];
230
- }),
285
+ default: withCtx(() => [createTextVNode(function() {
286
+ var _a, _b, _c;
287
+ try {
288
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
289
+ } catch (e) {
290
+ return "\u5220\u9664";
291
+ }
292
+ }())]),
231
293
  _: 2
232
294
  }, 1024)]),
233
295
  _: 2
@@ -237,10 +299,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
237
299
  }), 128))])]), createElementVNode("div", _hoisted_6, [createVNode(unref(NButton), {
238
300
  onClick: closeModal
239
301
  }, {
240
- default: withCtx(() => {
241
- var _a2;
242
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
243
- }),
302
+ default: withCtx(() => [createTextVNode(function() {
303
+ var _a, _b, _c;
304
+ try {
305
+ 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";
306
+ } catch (e) {
307
+ return "\u53D6\u6D88";
308
+ }
309
+ }())]),
244
310
  _: 1
245
311
  }), createVNode(unref(NButton), {
246
312
  type: "info",
@@ -1,4 +1,3 @@
1
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
2
1
  const HtmlType = {
3
2
  INPUT: "INPUT",
4
3
  TEXTAREA: "TEXTAREA",
@@ -14,37 +13,114 @@ const HtmlType = {
14
13
  };
15
14
  const HtmlTypeList = [{
16
15
  value: HtmlType.INPUT,
17
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || "\u6587\u672C\u6846"
16
+ label: function() {
17
+ var _a, _b, _c;
18
+ try {
19
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
20
+ } catch (e) {
21
+ return "\u6587\u672C\u6846";
22
+ }
23
+ }()
18
24
  }, {
19
25
  value: HtmlType.TEXTAREA,
20
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.564")) || "\u6587\u672C\u57DF"
26
+ label: function() {
27
+ var _a, _b, _c;
28
+ try {
29
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.564")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.564")) || "\u6587\u672C\u57DF";
30
+ } catch (e) {
31
+ return "\u6587\u672C\u57DF";
32
+ }
33
+ }()
21
34
  }, {
22
35
  value: HtmlType.DIGITAL,
23
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.292")) || "\u6570\u5B57\u6846"
36
+ label: function() {
37
+ var _a, _b, _c;
38
+ try {
39
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
40
+ } catch (e) {
41
+ return "\u6570\u5B57\u6846";
42
+ }
43
+ }()
24
44
  }, {
25
45
  value: HtmlType.DATE,
26
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.74")) || "\u65E5\u671F"
46
+ label: function() {
47
+ var _a, _b, _c;
48
+ try {
49
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.74")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.74")) || "\u65E5\u671F";
50
+ } catch (e) {
51
+ return "\u65E5\u671F";
52
+ }
53
+ }()
27
54
  }, {
28
55
  value: HtmlType.RADIO,
29
- label: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009"
56
+ label: function() {
57
+ var _a, _b, _c;
58
+ try {
59
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.565")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009";
60
+ } catch (e) {
61
+ return "\u6A2A\u5411\u5355\u9009";
62
+ }
63
+ }()
30
64
  }, {
31
65
  value: HtmlType.RADIO_BLOCK,
32
- label: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009"
66
+ label: function() {
67
+ var _a, _b, _c;
68
+ try {
69
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.566")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009";
70
+ } catch (e) {
71
+ return "\u7EB5\u5411\u5355\u9009";
72
+ }
73
+ }()
33
74
  }, {
34
75
  value: HtmlType.CHECKBOX,
35
- label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009"
76
+ label: function() {
77
+ var _a, _b, _c;
78
+ try {
79
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.567")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009";
80
+ } catch (e) {
81
+ return "\u6A2A\u5411\u591A\u9009";
82
+ }
83
+ }()
36
84
  }, {
37
85
  value: HtmlType.CHECKBOX_BLOCK,
38
- label: ((_h = window.getLanguageByCode) == null ? void 0 : _h.call(window, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009"
86
+ label: function() {
87
+ var _a, _b, _c;
88
+ try {
89
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.568")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009";
90
+ } catch (e) {
91
+ return "\u7EB5\u5411\u591A\u9009";
92
+ }
93
+ }()
39
94
  }, {
40
95
  value: HtmlType.SELECT,
41
- label: ((_i = window.getLanguageByCode) == null ? void 0 : _i.call(window, "10010.1.294")) || "\u4E0B\u62C9\u6846"
96
+ label: function() {
97
+ var _a, _b, _c;
98
+ try {
99
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.294")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.294")) || "\u4E0B\u62C9\u6846";
100
+ } catch (e) {
101
+ return "\u4E0B\u62C9\u6846";
102
+ }
103
+ }()
42
104
  }, {
43
105
  value: HtmlType.MULTI_SELECT,
44
- label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846"
106
+ label: function() {
107
+ var _a, _b, _c;
108
+ try {
109
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.569")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846";
110
+ } catch (e) {
111
+ return "\u4E0B\u62C9\u591A\u9009\u6846";
112
+ }
113
+ }()
45
114
  }, {
46
115
  value: HtmlType.CANDIDATE_COMPONENTS,
47
- label: ((_k = window.getLanguageByCode) == null ? void 0 : _k.call(window, "10010.1.570")) || "\u9009\u4EBA\u7EC4\u4EF6"
116
+ label: function() {
117
+ var _a, _b, _c;
118
+ try {
119
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.570")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.570")) || "\u9009\u4EBA\u7EC4\u4EF6";
120
+ } catch (e) {
121
+ return "\u9009\u4EBA\u7EC4\u4EF6";
122
+ }
123
+ }()
48
124
  }];
49
125
 
50
126
  export { HtmlType, HtmlTypeList };
@@ -42,8 +42,21 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
42
42
  props.propItems;
43
43
  const pointStyle = useStyle(props);
44
44
  function setNoClick(item) {
45
- var _a, _b;
46
- if (typeof item === "string" && (item.startsWith(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || "\u65B0\u589E") || item.startsWith(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.215")) || "\u5220\u9664"))) {
45
+ if (typeof item === "string" && (item.startsWith(function() {
46
+ var _a, _b, _c;
47
+ try {
48
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
49
+ } catch (e) {
50
+ return "\u65B0\u589E";
51
+ }
52
+ }()) || item.startsWith(function() {
53
+ var _a, _b, _c;
54
+ try {
55
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
56
+ } catch (e) {
57
+ return "\u5220\u9664";
58
+ }
59
+ }()))) {
47
60
  return true;
48
61
  }
49
62
  }
@@ -58,19 +71,23 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
58
71
  "inline": true,
59
72
  "align": "center"
60
73
  }, {
61
- default: () => {
62
- var _a;
63
- return [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
64
- "style": "width: 110px",
65
- "size": "small",
66
- "value": item.value,
67
- "onUpdate:value": ($event) => item.value = $event,
68
- "clearable": true,
69
- "placeholder": ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.207")) || "\u8BF7\u8F93\u5165\u6570\u503C",
70
- "showButton": false,
71
- "onFocus": () => emit("update:show", true)
72
- }, null)];
73
- }
74
+ default: () => [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
75
+ "style": "width: 110px",
76
+ "size": "small",
77
+ "value": item.value,
78
+ "onUpdate:value": ($event) => item.value = $event,
79
+ "clearable": true,
80
+ "placeholder": function() {
81
+ var _a, _b, _c;
82
+ try {
83
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.207")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.207")) || "\u8BF7\u8F93\u5165\u6570\u503C";
84
+ } catch (e) {
85
+ return "\u8BF7\u8F93\u5165\u6570\u503C";
86
+ }
87
+ }(),
88
+ "showButton": false,
89
+ "onFocus": () => emit("update:show", true)
90
+ }, null)]
74
91
  });
75
92
  }
76
93
  function clickItem(event, item) {
@@ -1,38 +1,100 @@
1
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
2
1
  const TEMPERATURE_MENU = [{
3
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.208")) || "\u5347\u6E29",
2
+ label: function() {
3
+ var _a, _b, _c;
4
+ try {
5
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.208")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.208")) || "\u5347\u6E29";
6
+ } catch (e) {
7
+ return "\u5347\u6E29";
8
+ }
9
+ }(),
4
10
  value: true,
5
11
  type: "rise"
6
12
  }, {
7
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.209")) || "\u836F\u7269\u964D\u6E29",
13
+ label: function() {
14
+ var _a, _b, _c;
15
+ try {
16
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.209")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.209")) || "\u836F\u7269\u964D\u6E29";
17
+ } catch (e) {
18
+ return "\u836F\u7269\u964D\u6E29";
19
+ }
20
+ }(),
8
21
  value: void 0,
9
22
  type: "drugReduce"
10
23
  }, {
11
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.210")) || "\u7269\u7406\u964D\u6E29",
24
+ label: function() {
25
+ var _a, _b, _c;
26
+ try {
27
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.210")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.210")) || "\u7269\u7406\u964D\u6E29";
28
+ } catch (e) {
29
+ return "\u7269\u7406\u964D\u6E29";
30
+ }
31
+ }(),
12
32
  value: void 0,
13
33
  type: "physicsReduce"
14
34
  }, {
15
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.211")) || "\u4E0D\u5347",
35
+ label: function() {
36
+ var _a, _b, _c;
37
+ try {
38
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.211")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.211")) || "\u4E0D\u5347";
39
+ } catch (e) {
40
+ return "\u4E0D\u5347";
41
+ }
42
+ }(),
16
43
  value: true,
17
44
  type: "noRise"
18
45
  }];
19
46
  const PAIN_MENU = [{
20
- label: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.212")) || "\u836F\u7269\u964D\u75DB",
47
+ label: function() {
48
+ var _a, _b, _c;
49
+ try {
50
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.212")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.212")) || "\u836F\u7269\u964D\u75DB";
51
+ } catch (e) {
52
+ return "\u836F\u7269\u964D\u75DB";
53
+ }
54
+ }(),
21
55
  value: void 0,
22
56
  type: "drugReduce"
23
57
  }, {
24
- label: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.213")) || "\u7269\u7406\u964D\u75DB",
58
+ label: function() {
59
+ var _a, _b, _c;
60
+ try {
61
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.213")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.213")) || "\u7269\u7406\u964D\u75DB";
62
+ } catch (e) {
63
+ return "\u7269\u7406\u964D\u75DB";
64
+ }
65
+ }(),
25
66
  value: void 0,
26
67
  type: "physicsReduce"
27
68
  }];
28
69
  const OTHER_MENU = Object.freeze([{
29
- label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.279")) || "\u65B0\u589E",
70
+ label: function() {
71
+ var _a, _b, _c;
72
+ try {
73
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
74
+ } catch (e) {
75
+ return "\u65B0\u589E";
76
+ }
77
+ }(),
30
78
  type: "add"
31
79
  }, {
32
- label: ((_h = window.getLanguageByCode) == null ? void 0 : _h.call(window, "10010.1.214")) || "\u4FEE\u6539",
80
+ label: function() {
81
+ var _a, _b, _c;
82
+ try {
83
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.214")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.214")) || "\u4FEE\u6539";
84
+ } catch (e) {
85
+ return "\u4FEE\u6539";
86
+ }
87
+ }(),
33
88
  type: "edit"
34
89
  }, {
35
- label: ((_i = window.getLanguageByCode) == null ? void 0 : _i.call(window, "10010.1.215")) || "\u5220\u9664",
90
+ label: function() {
91
+ var _a, _b, _c;
92
+ try {
93
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
94
+ } catch (e) {
95
+ return "\u5220\u9664";
96
+ }
97
+ }(),
36
98
  type: "remove"
37
99
  }]);
38
100
  const BLUE = "#2563F4";
@@ -22,7 +22,8 @@ function getCurrentTime(lastTime, range2) {
22
22
  return lastTime + 1 > range2[1] ? range2[0] : lastTime + 1;
23
23
  }
24
24
  function isStartTimeHalfOrLater(startTime) {
25
- return getMinutes(startTime) >= 30;
25
+ const startTimeDate = new Date(startTime);
26
+ return getMinutes(startTimeDate) >= 30;
26
27
  }
27
28
  function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps) {
28
29
  const {
@@ -448,7 +449,6 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
448
449
  if (!propItems.event.evented)
449
450
  return;
450
451
  canvas.value.on("mouse:up", (event2) => {
451
- var _a, _b;
452
452
  if (event2.button === 3) {
453
453
  const {
454
454
  x = 0,
@@ -462,7 +462,14 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
462
462
  pointMenuProps.show = true;
463
463
  if (!event2.target) {
464
464
  pointMenuProps.target = null;
465
- pointMenuProps.list = [((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9"];
465
+ pointMenuProps.list = [function() {
466
+ var _a, _b, _c;
467
+ try {
468
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9";
469
+ } catch (e) {
470
+ return "\u65B0\u589E\u8282\u70B9";
471
+ }
472
+ }()];
466
473
  yScaleValue.filter((item) => item.show).forEach((item) => {
467
474
  if (!getEqualXTypes([...gridPoints], x, "key").includes(item.key)) {
468
475
  if (["cervix", "fetalPresentation"].includes(item.key) && y < originYCervix)
@@ -477,7 +484,14 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
477
484
  }
478
485
  } else {
479
486
  pointMenuProps.target = event2.target;
480
- pointMenuProps.list = [((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.220")) || "\u5220\u9664\u8282\u70B9"];
487
+ pointMenuProps.list = [function() {
488
+ var _a, _b, _c;
489
+ try {
490
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.220")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.220")) || "\u5220\u9664\u8282\u70B9";
491
+ } catch (e) {
492
+ return "\u5220\u9664\u8282\u70B9";
493
+ }
494
+ }()];
481
495
  [...gridPoints].forEach((obj) => {
482
496
  if (obj.origin && obj.left === event2.target.left && obj.top === event2.target.top) {
483
497
  pointMenuProps.list.push({
@@ -221,10 +221,16 @@ function useNewBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuPr
221
221
  return _time >= startTime && _time <= maxTime;
222
222
  }
223
223
  function drawOther() {
224
- var _a;
225
224
  const {
226
225
  alertLineList = [],
227
- alertLineTitle = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.227")) || "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5"
226
+ alertLineTitle = function() {
227
+ var _a, _b, _c;
228
+ try {
229
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.227")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.227")) || "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5";
230
+ } catch (e) {
231
+ return "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5";
232
+ }
233
+ }()
228
234
  } = other;
229
235
  if (alertLineList.length < 1)
230
236
  return;
@@ -211,14 +211,41 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
211
211
  return newGridPoints.filter((point) => point.left >= x1 && point.left <= x2 && point.top >= y1 && point.top <= y2);
212
212
  }
213
213
  function showDialog(callback) {
214
- var _a, _b, _c, _d;
215
214
  dialog.warning({
216
215
  maskClosable: false,
217
216
  closeOnEsc: false,
218
- title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || "\u8B66\u544A",
219
- content: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.229")) || "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F",
220
- positiveText: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.27")) || "\u786E\u5B9A",
221
- negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || "\u53D6\u6D88",
217
+ title: function() {
218
+ var _a, _b, _c;
219
+ try {
220
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A";
221
+ } catch (e) {
222
+ return "\u8B66\u544A";
223
+ }
224
+ }(),
225
+ content: function() {
226
+ var _a, _b, _c;
227
+ try {
228
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.229")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.229")) || "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F";
229
+ } catch (e) {
230
+ return "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F";
231
+ }
232
+ }(),
233
+ positiveText: function() {
234
+ var _a, _b, _c;
235
+ try {
236
+ 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";
237
+ } catch (e) {
238
+ return "\u786E\u5B9A";
239
+ }
240
+ }(),
241
+ negativeText: function() {
242
+ var _a, _b, _c;
243
+ try {
244
+ 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";
245
+ } catch (e) {
246
+ return "\u53D6\u6D88";
247
+ }
248
+ }(),
222
249
  onPositiveClick: () => {
223
250
  callback();
224
251
  removeCurrentSelection();
@@ -119,7 +119,6 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
119
119
  canvas.value.add(group);
120
120
  }
121
121
  function drawXAxis() {
122
- var _a;
123
122
  const {
124
123
  height,
125
124
  list,
@@ -159,7 +158,14 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
159
158
  canvas.value.add(rect);
160
159
  if (!hasScale()) {
161
160
  const {
162
- title = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.234")) || "\u603B\u91CF",
161
+ title = function() {
162
+ var _a, _b, _c;
163
+ try {
164
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.234")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.234")) || "\u603B\u91CF";
165
+ } catch (e) {
166
+ return "\u603B\u91CF";
167
+ }
168
+ }(),
163
169
  style: style2
164
170
  } = (top == null ? void 0 : top.total) || {};
165
171
  const totalText = drawText([endX + (canvasWidth - endX) / 2, y], {