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
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  multipleRef: import("vue").ComputedRef<boolean>;
21
21
  optionsRef: import("vue").ComputedRef<import("vxe-table").VxeTableDefines.FilterOption[] & VxeColumnPropTypes.Filter[]>;
22
22
  checkedRef: import("vue").WritableComputedRef<string[]>;
23
- checkedCacheRef: import("vue").Ref<string[]>;
23
+ checkedCacheRef: import("vue").Ref<(string | null)[]>;
24
24
  searchFilterText: import("vue").Ref<string>;
25
25
  close: () => Promise<void>;
26
26
  customFilterMethod: import("vue").ComputedRef<any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent, inject, computed, ref, onDeactivated, onMounted, toRaw, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createVNode, isRef, withCtx, createTextVNode, createElementVNode, toDisplayString, mergeProps, normalizeProps, guardReactiveProps, Fragment, renderList, normalizeStyle } from 'vue';
1
+ import { defineComponent, inject, computed, ref, watch, onDeactivated, onMounted, toRaw, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createVNode, isRef, withCtx, createTextVNode, createElementVNode, toDisplayString, mergeProps, normalizeProps, guardReactiveProps, Fragment, renderList, normalizeStyle } from 'vue';
2
2
  import script$1 from '../../../../../shared/components/CancelRadio/CancelRadio.js';
3
3
  import script from '../../../../../shared/components/SlotRender/SlotRender.js';
4
4
  import { keywordMatcher } from '../../../../../shared/utils/index.js';
@@ -89,6 +89,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
89
89
  }
90
90
  });
91
91
  const checkedCacheRef = ref([...checkedRef.value]);
92
+ watch(optionsRef, () => checkedCacheRef.value = [...checkedRef.value]);
92
93
  const searchFilterText = ref("");
93
94
  async function close() {
94
95
  if (!$table)
@@ -178,7 +179,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
178
179
  }
179
180
  });
180
181
  return (_ctx, _cache) => {
181
- var _a, _b;
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,
@@ -195,10 +195,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
195
195
  "onUpdate:checked": _cache[2] || (_cache[2] = ($event) => isRef(checkAll) ? checkAll.value = $event : null),
196
196
  indeterminate: unref(indeterminate)
197
197
  }, {
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)];
201
- }),
198
+ default: withCtx(() => [createTextVNode(function() {
199
+ var _a, _b, _c;
200
+ try {
201
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.577")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.577")) || "\u5168\u9009\u6240\u6709";
202
+ } catch (e) {
203
+ return "\u5168\u9009\u6240\u6709";
204
+ }
205
+ }() + toDisplayString(unref(lowCodeField).showFilterFullNums ? `(${unref(tableFullData).length})` : ""), 1)]),
202
206
  _: 1
203
207
  }, 8, ["checked", "indeterminate"])])])) : createCommentVNode("v-if", true), createVNode(unref(NSpin), {
204
208
  show: loading.value
@@ -261,37 +265,63 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
261
265
  _: 1
262
266
  }, 8, ["show"]), createElementVNode("footer", _hoisted_8, [createElementVNode("section", null, [unref(multipleRef) ? (openBlock(), createElementBlock(Fragment, {
263
267
  key: 0
264
- }, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.39")) || "\u5DF2\u9009\u62E9"), createElementVNode("span", {
268
+ }, [createTextVNode(function() {
269
+ var _a, _b, _c;
270
+ try {
271
+ return ((_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";
272
+ } catch (e) {
273
+ return "\u5DF2\u9009\u62E9";
274
+ }
275
+ }()), createElementVNode("span", {
265
276
  style: normalizeStyle({
266
277
  color: "var(--c-primary-color)"
267
278
  })
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), {
279
+ }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(function() {
280
+ var _a, _b, _c;
281
+ try {
282
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.417")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.417")) || "\u9879";
283
+ } catch (e) {
284
+ return "\u9879";
285
+ }
286
+ }())], 64)) : createCommentVNode("v-if", true)]), createVNode(unref(NButtonGroup), {
269
287
  size: "small"
270
288
  }, {
271
289
  default: withCtx(() => [createVNode(unref(NButton), {
272
290
  onClick: reset
273
291
  }, {
274
- default: withCtx(() => {
275
- var _a2;
276
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
277
- }),
292
+ default: withCtx(() => [createTextVNode(function() {
293
+ var _a, _b, _c;
294
+ try {
295
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.509")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.509")) || "\u6E05\u7A7A";
296
+ } catch (e) {
297
+ return "\u6E05\u7A7A";
298
+ }
299
+ }())]),
278
300
  _: 1
279
301
  }), createVNode(unref(NButton), {
280
302
  onClick: close
281
303
  }, {
282
- default: withCtx(() => {
283
- var _a2;
284
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
285
- }),
304
+ default: withCtx(() => [createTextVNode(function() {
305
+ var _a, _b, _c;
306
+ try {
307
+ 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";
308
+ } catch (e) {
309
+ return "\u53D6\u6D88";
310
+ }
311
+ }())]),
286
312
  _: 1
287
313
  }), createVNode(unref(NButton), {
288
314
  type: "primary",
289
315
  onClick: confirm
290
316
  }, {
291
- default: withCtx(() => {
292
- var _a2;
293
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
294
- }),
317
+ default: withCtx(() => [createTextVNode(function() {
318
+ var _a, _b, _c;
319
+ try {
320
+ 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";
321
+ } catch (e) {
322
+ return "\u786E\u5B9A";
323
+ }
324
+ }())]),
295
325
  _: 1
296
326
  })]),
297
327
  _: 1
@@ -63,19 +63,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  default: withCtx(() => [createVNode(unref(NButton), {
64
64
  onClick: close
65
65
  }, {
66
- default: withCtx(() => {
67
- var _a2;
68
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
69
- }),
66
+ default: withCtx(() => [createTextVNode(function() {
67
+ var _a2, _b, _c;
68
+ try {
69
+ return ((_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";
70
+ } catch (e) {
71
+ return "\u53D6\u6D88";
72
+ }
73
+ }())]),
70
74
  _: 1
71
75
  }), createVNode(unref(NButton), {
72
76
  type: "primary",
73
77
  onClick: confirm
74
78
  }, {
75
- default: withCtx(() => {
76
- var _a2;
77
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
78
- }),
79
+ default: withCtx(() => [createTextVNode(function() {
80
+ var _a2, _b, _c;
81
+ try {
82
+ return ((_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";
83
+ } catch (e) {
84
+ return "\u786E\u5B9A";
85
+ }
86
+ }())]),
79
87
  _: 1
80
88
  })]),
81
89
  _: 1
@@ -50,9 +50,16 @@ function numberRendererPlugin() {
50
50
  emitFormChangeWithParams,
51
51
  $table
52
52
  }) => {
53
- var _a, _b;
53
+ var _a;
54
54
  const {
55
- placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165"
55
+ placeholder = function() {
56
+ var _a2, _b, _c;
57
+ try {
58
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.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";
59
+ } catch (e) {
60
+ return "\u8BF7\u8F93\u5165";
61
+ }
62
+ }()
56
63
  } = fieldItem.componentProps || {};
57
64
  function updateValue(value) {
58
65
  const oldValue = row[column.field];
@@ -81,7 +88,7 @@ function numberRendererPlugin() {
81
88
  "whiteList": fieldItem.whiteList
82
89
  }, fieldItem.componentProps, {
83
90
  "popperProps": {
84
- ...(_b = fieldItem.componentProps) == null ? void 0 : _b.popperProps,
91
+ ...(_a = fieldItem.componentProps) == null ? void 0 : _a.popperProps,
85
92
  class: "iho-table_numberInputSlashPopper"
86
93
  }
87
94
  }), null) : createVNode(IhoTableInputNumber, mergeProps({
@@ -1,4 +1,4 @@
1
- import { defineComponent, inject, ref, computed, onBeforeUnmount, nextTick, createVNode, toRaw } from 'vue';
1
+ import { defineComponent, inject, ref, computed, watch, nextTick, onBeforeUnmount, createVNode, toRaw } from 'vue';
2
2
  import { arrayed } from '../../../../../../../shared/utils/index.js';
3
3
  import { NSelect } from 'naive-ui';
4
4
  import { useVModel, useDebounceFn } from '@vueuse/core';
@@ -15,7 +15,6 @@ 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;
19
18
  var EditSelect = /* @__PURE__ */ defineComponent({
20
19
  name: "EditSelect",
21
20
  props: {
@@ -43,7 +42,14 @@ var EditSelect = /* @__PURE__ */ defineComponent({
43
42
  },
44
43
  placeholder: {
45
44
  type: String,
46
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9"
45
+ default: function() {
46
+ var _a, _b, _c;
47
+ try {
48
+ return ((_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";
49
+ } catch (e) {
50
+ return "\u8BF7\u9009\u62E9";
51
+ }
52
+ }()
47
53
  },
48
54
  allowModify: {
49
55
  type: Boolean
@@ -137,6 +143,27 @@ var EditSelect = /* @__PURE__ */ defineComponent({
137
143
  selectRef,
138
144
  options: displayOptions
139
145
  });
146
+ watch(searchContent, async () => {
147
+ var _a;
148
+ if (!modifyAbleRef.value)
149
+ return;
150
+ const hasSameCreatedOption = displayOptions.value.find((option) => option.created && option[labelKey.value] === searchContent.value);
151
+ if (!hasSameCreatedOption)
152
+ return;
153
+ await nextTick();
154
+ const menuRef = (_a = selectRef.value) == null ? void 0 : _a.menuRef;
155
+ if (!menuRef)
156
+ return;
157
+ const firstNode = menuRef.flattenedNodes[0];
158
+ if (!firstNode)
159
+ return;
160
+ const currentNode = menuRef.getPendingTmNode();
161
+ if (currentNode.isFirstChild)
162
+ return;
163
+ for (let i = currentNode.index; i > 0; i--) {
164
+ menuRef.prev();
165
+ }
166
+ });
140
167
  const loading = ref(false);
141
168
  const onSearch = useDebounceFn(async function(keyword = "") {
142
169
  searchContent.value = keyword;
@@ -170,7 +197,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
170
197
  }
171
198
  }
172
199
  async function setFixedTableRowHeight(reset = false) {
173
- var _a2, _b, _c;
200
+ var _a, _b, _c;
174
201
  if (!props.multiple)
175
202
  return;
176
203
  await nextTick();
@@ -178,7 +205,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
178
205
  refTableLeftBody,
179
206
  refTableBody
180
207
  } = $table.getRefMaps();
181
- const tableLeftBodyEle = (_a2 = refTableLeftBody == null ? void 0 : refTableLeftBody.value) == null ? void 0 : _a2.$el;
208
+ const tableLeftBodyEle = (_a = refTableLeftBody == null ? void 0 : refTableLeftBody.value) == null ? void 0 : _a.$el;
182
209
  if (!tableLeftBodyEle)
183
210
  return;
184
211
  const tableBodyEle = (_b = refTableBody == null ? void 0 : refTableBody.value) == null ? void 0 : _b.$el;
@@ -188,7 +215,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
188
215
  leftTrEle.style.height = reset ? "unset" : currentTrHeight + "px";
189
216
  }
190
217
  async function onUpdateValue(value, option) {
191
- var _a2, _b;
218
+ var _a, _b;
192
219
  const oldValue = props.value;
193
220
  await modifyEvent.updateValue(value, option);
194
221
  const options = getSelectOptions(uuid, props.column.field, props.row, $table);
@@ -202,17 +229,17 @@ var EditSelect = /* @__PURE__ */ defineComponent({
202
229
  options.push(omit(toRaw(_item), ["created", "shouldSave"]));
203
230
  });
204
231
  }
205
- const lowCodeField = (_a2 = props.column.editRender) == null ? void 0 : _a2.props;
232
+ const lowCodeField = (_a = props.column.editRender) == null ? void 0 : _a.props;
206
233
  if (uuid && (lowCodeField == null ? void 0 : lowCodeField.connectField)) {
207
234
  const connectFields = (_b = lowCodeField.connectField) == null ? void 0 : _b.split(",");
208
235
  const map = selectOptionsMap.get(uuid);
209
236
  connectFields.forEach(async (field) => {
210
- var _a3;
237
+ var _a2;
211
238
  const {
212
239
  tableColumn
213
240
  } = $table.reactData;
214
241
  const connectColumn = tableColumn.find((tableColumnItem) => tableColumnItem.field === field);
215
- const connectLowCodeField = (_a3 = connectColumn == null ? void 0 : connectColumn.editRender) == null ? void 0 : _a3.props;
242
+ const connectLowCodeField = (_a2 = connectColumn == null ? void 0 : connectColumn.editRender) == null ? void 0 : _a2.props;
216
243
  if (connectLowCodeField == null ? void 0 : connectLowCodeField.queryOptions) {
217
244
  const mapKey = value ? `${field}__${props.column.field}-${value}` : field;
218
245
  if (map[mapKey])
@@ -234,20 +261,20 @@ var EditSelect = /* @__PURE__ */ defineComponent({
234
261
  }
235
262
  const tableConfig = inject(InjectionIhoTableConfig);
236
263
  function isForceArrowKey() {
237
- var _a2, _b;
238
- return (_b = (_a2 = tableConfig.value) == null ? void 0 : _a2.keyboardConfig) == null ? void 0 : _b.forceArrowKey;
264
+ var _a, _b;
265
+ return (_b = (_a = tableConfig.value) == null ? void 0 : _a.keyboardConfig) == null ? void 0 : _b.forceArrowKey;
239
266
  }
240
267
  function isArrowKey(key) {
241
268
  return ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(key);
242
269
  }
243
270
  const keyboardRef = ref(true);
244
271
  function onKeydown(e) {
245
- var _a2, _b;
272
+ var _a, _b;
246
273
  if (!selectRef.value)
247
274
  return;
248
275
  if (e.code === "Tab" || isForceArrowKey() && isArrowKey(e.key)) {
249
276
  if (show.value) {
250
- (_b = (_a2 = selectRef.value).handleKeydown) == null ? void 0 : _b.call(_a2, {
277
+ (_b = (_a = selectRef.value).handleKeydown) == null ? void 0 : _b.call(_a, {
251
278
  ...e,
252
279
  key: "Enter",
253
280
  preventDefault: e.preventDefault.bind(e)
@@ -295,10 +322,10 @@ var EditSelect = /* @__PURE__ */ defineComponent({
295
322
  };
296
323
  };
297
324
  const menuProps = computed(() => {
298
- var _a2, _b;
325
+ var _a, _b;
299
326
  return {
300
327
  ...props.menuProps,
301
- class: `iho-table__selectMenu ${(_b = (_a2 = props.menuProps) == null ? void 0 : _a2.class) != null ? _b : ""}`
328
+ class: `iho-table__selectMenu ${(_b = (_a = props.menuProps) == null ? void 0 : _a.class) != null ? _b : ""}`
302
329
  };
303
330
  });
304
331
  return () => {
@@ -236,7 +236,7 @@ function selectRendererPlugin() {
236
236
  } = lowCodeField.componentProps || {};
237
237
  if (!cellDblclickSelectable || !isSelect(lowCodeField))
238
238
  return;
239
- const options = config.uuid && getSelectOptions(config.uuid, column.field, row, $table);
239
+ const options = config.uuid ? getSelectOptions(config.uuid, column.field, row, $table) : [];
240
240
  if ((options == null ? void 0 : options.length) !== 1)
241
241
  return;
242
242
  const value = multiple ? [options[0][valueField]] : options[0][valueField];
@@ -33,7 +33,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  setup(__props, {
34
34
  emit
35
35
  }) {
36
- var _a;
37
36
  const props = __props;
38
37
  const attr = useAttrs();
39
38
  const {
@@ -64,7 +63,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
64
63
  }
65
64
  });
66
65
  const {
67
- placeholder = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
66
+ placeholder = function() {
67
+ var _a, _b, _c;
68
+ try {
69
+ return ((_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";
70
+ } catch (e) {
71
+ return "\u8BF7\u9009\u62E9";
72
+ }
73
+ }(),
68
74
  valueFormat = "HH:mm"
69
75
  } = attr;
70
76
  const timeConfig = reactive({
@@ -84,12 +90,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
84
90
  newValue = value;
85
91
  }
86
92
  function isDisabled(value) {
87
- var _a2, _b, _c;
93
+ var _a, _b, _c;
88
94
  const parsedTime = parse(value, timeConfig.format, new Date());
89
95
  const hours = getHours(parsedTime);
90
96
  const minutes = getMinutes(parsedTime);
91
97
  const seconds = getSeconds(parsedTime);
92
- const isHourDisabled = (_a2 = timeConfig.isHourDisabled) == null ? void 0 : _a2.call(timeConfig, hours);
98
+ const isHourDisabled = (_a = timeConfig.isHourDisabled) == null ? void 0 : _a.call(timeConfig, hours);
93
99
  const isMinuteDisabled = (_b = timeConfig.isMinuteDisabled) == null ? void 0 : _b.call(timeConfig, minutes, hours);
94
100
  const isSecondDisabled = (_c = timeConfig.isSecondDisabled) == null ? void 0 : _c.call(timeConfig, seconds, minutes, hours);
95
101
  return isHourDisabled || isMinuteDisabled || isSecondDisabled;
@@ -107,24 +113,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
107
113
  });
108
114
  }
109
115
  function onKeydown(event) {
110
- var _a2;
116
+ var _a;
111
117
  const {
112
118
  key
113
119
  } = event;
114
120
  if (key === "Enter") {
115
- (_a2 = formRef.value) == null ? void 0 : _a2.blur();
121
+ (_a = formRef.value) == null ? void 0 : _a.blur();
116
122
  isShow.value = false;
117
123
  }
118
124
  }
119
125
  function formatTime(time) {
120
- var _a2;
126
+ var _a;
121
127
  const separator = timeConfig.valueFormat.match(/\W/)[0] || ":";
122
128
  const parts = time.split(separator).map(Number);
123
129
  const commonStr = `${parts[0].toString().padStart(2, "0")}${separator}${parts[1].toString().padStart(2, "0")}`;
124
130
  if (timeConfig.valueFormat === "HH:mm") {
125
131
  return commonStr;
126
132
  } else if (timeConfig.valueFormat === "HH:mm:ss") {
127
- return `${commonStr}${separator}${((_a2 = parts[2]) != null ? _a2 : 0).toString().padStart(2, "0")}`;
133
+ return `${commonStr}${separator}${((_a = parts[2]) != null ? _a : 0).toString().padStart(2, "0")}`;
128
134
  } else {
129
135
  return time;
130
136
  }
@@ -148,13 +154,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
148
154
  immediate: true
149
155
  });
150
156
  watch(() => isShow.value, async (value) => {
151
- var _a2, _b, _c, _d, _e;
157
+ var _a, _b, _c, _d, _e;
152
158
  if (value) {
153
159
  newValue = __formattedValue.value;
154
160
  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();
161
+ (_e = (_d = (_c = (_b = (_a = timePickerRef.value) == null ? void 0 : _a.$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) => {
162
+ var _a2, _b2;
163
+ return (_b2 = (_a2 = node == null ? void 0 : node.querySelector) == null ? void 0 : _a2.call(node, ".n-time-picker-col__item--active")) == null ? void 0 : _b2.scrollIntoView();
158
164
  });
159
165
  } else {
160
166
  updateFormattedValue();