cnhis-design-vue 3.3.1-release.5 → 3.3.2-beta.11

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 (317) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +20 -0
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +20 -0
  4. package/es/components/audio-sdk/src/Index.vue2.js +1 -1
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +1 -0
  6. package/es/components/audio-sdk/src/audioSDK.js +11 -3
  7. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +10 -0
  8. package/es/components/audio-sdk/src/components/recording.vue.d.ts +10 -0
  9. package/es/components/audio-sdk/src/components/recording.vue2.js +5 -0
  10. package/es/components/audio-sdk/src/constants/index.d.ts +1 -0
  11. package/es/components/audio-sdk/src/constants/index.js +3 -0
  12. package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
  13. package/es/components/audio-sdk/style/index.css +1 -1
  14. package/es/components/base-search/src/index.vue2.js +30 -18
  15. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  16. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  17. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  18. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  19. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  20. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  21. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  22. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  23. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  24. package/es/components/body-select/src/index.vue2.js +24 -4
  25. package/es/components/button-print/index.d.ts +1 -0
  26. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
  27. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  28. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  29. package/es/components/button-print/src/components/IdentityVerification.vue2.js +98 -47
  30. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +229 -94
  31. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +1 -0
  32. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  33. package/es/components/button-print/src/components/Preview.vue2.js +8 -2
  34. package/es/components/button-print/src/utils/dialog.js +24 -6
  35. package/es/components/button-print/src/utils/print.d.ts +5 -5
  36. package/es/components/button-print/src/utils/print.js +108 -21
  37. package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
  38. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  39. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  40. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  41. package/es/components/card-render/index.d.ts +4 -4
  42. package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
  43. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  44. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  45. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  46. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  47. package/es/components/classification/src/index.vue2.js +261 -69
  48. package/es/components/default-page/src/constants/index.js +144 -19
  49. package/es/components/default-page/src/index.vue2.js +8 -2
  50. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  51. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  52. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  53. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  54. package/es/components/expand-field/src/index.vue2.js +88 -22
  55. package/es/components/expand-field/src/utils/constant.js +88 -12
  56. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  57. package/es/components/fabric-chart/src/constants/index.js +72 -10
  58. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +16 -3
  59. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  60. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  61. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  62. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +45 -8
  63. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  64. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
  65. package/es/components/field-editor/index.d.ts +4 -0
  66. package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
  67. package/es/components/field-editor/src/fields.js +232 -30
  68. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  69. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  70. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  71. package/es/components/field-set/src/Index.vue2.js +40 -6
  72. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  73. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  74. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  75. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  76. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  77. package/es/components/field-set/src/constants/filter.js +328 -42
  78. package/es/components/field-set/src/constants/index.js +504 -64
  79. package/es/components/form-config/index.d.ts +80 -5
  80. package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
  81. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
  82. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
  83. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
  84. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  85. package/es/components/form-config/src/constants/index.d.ts +2 -1
  86. package/es/components/form-config/src/constants/index.js +81 -11
  87. package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
  88. package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
  89. package/es/components/form-config/src/hooks/useLocale.js +241 -31
  90. package/es/components/form-config/src/types/index.d.ts +1 -0
  91. package/es/components/form-render/index.d.ts +4 -0
  92. package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
  93. package/es/components/form-render/src/FormRender.vue2.js +3 -2
  94. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
  95. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  96. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  97. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  98. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  99. package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
  100. package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
  101. package/es/components/form-render/src/components/renderer/input.js +39 -7
  102. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -0
  103. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  104. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  105. package/es/components/form-render/src/components/renderer/radio_checkbox.js +17 -12
  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/text.js +1 -1
  109. package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
  110. package/es/components/form-render/src/components/renderer/textarea.js +36 -8
  111. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
  112. package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
  113. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
  114. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
  115. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  116. package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
  117. package/es/components/form-render/src/hooks/useFormField.js +5 -1
  118. package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
  119. package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
  120. package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
  121. package/es/components/form-render/src/types/index.d.ts +1 -0
  122. package/es/components/form-render/src/utils/index.js +1 -0
  123. package/es/components/form-render/src/utils/schema.js +80 -15
  124. package/es/components/guide/src/renderer.d.ts +2 -2
  125. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  126. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  127. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  128. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  129. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  130. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  131. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  132. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  133. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  134. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  135. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  136. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  137. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  138. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +67 -12
  139. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  140. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  141. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  142. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  143. package/es/components/iho-chat/src/utils/index.js +79 -14
  144. package/es/components/iho-table/index.d.ts +13 -1
  145. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
  146. package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
  147. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  148. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  149. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  150. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +7 -1
  151. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  152. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  153. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  154. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  155. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  156. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  157. package/es/components/index.css +1 -1
  158. package/es/components/index.d.ts +1 -2
  159. package/es/components/index.js +0 -3
  160. package/es/components/info-header/index.d.ts +13 -0
  161. package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
  162. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  163. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  164. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -0
  165. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
  166. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  167. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  168. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  169. package/es/components/map/src/Map.vue2.js +8 -4
  170. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  171. package/es/components/quick-search/src/index.vue2.js +176 -131
  172. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  173. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  174. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  175. package/es/components/scale-view/index.d.ts +1 -1
  176. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  177. package/es/components/scale-view/src/ScaleView.vue2.js +18 -10
  178. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  179. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  180. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  181. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  182. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  183. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  184. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  185. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  186. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  187. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  188. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
  189. package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
  190. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  191. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  192. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  193. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  194. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  195. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  196. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  197. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  198. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  199. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  200. package/es/components/select-person/src/SelectPerson.vue2.js +221 -145
  201. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  202. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  203. package/es/components/select-person/src/index.vue2.js +20 -7
  204. package/es/components/shortcut-setter/index.d.ts +16 -1
  205. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
  206. package/es/components/slider-tree/src/index.vue2.js +16 -3
  207. package/es/components/table-export-field/index.d.ts +1 -0
  208. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  209. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  210. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  211. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  212. package/es/components/table-export-field/src/index.vue2.js +28 -12
  213. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  214. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  215. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  216. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  217. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  218. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  219. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  220. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  221. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  222. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  223. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  224. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  225. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  226. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  227. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  228. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  229. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  230. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  231. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  232. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  233. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +11 -11
  234. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  235. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  236. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  237. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  238. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  239. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  240. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  241. package/es/env.d.ts +25 -25
  242. package/es/shared/components/CancelRadio/CancelRadio.d.ts +7 -0
  243. package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
  244. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  245. package/es/shared/package.json.js +1 -1
  246. package/package.json +76 -77
  247. package/es/components/ai-chat/index.d.ts +0 -680
  248. package/es/components/ai-chat/index.js +0 -10
  249. package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
  250. package/es/components/ai-chat/src/Index.vue.js +0 -6
  251. package/es/components/ai-chat/src/Index.vue2.js +0 -175
  252. package/es/components/ai-chat/src/api/index.d.ts +0 -8
  253. package/es/components/ai-chat/src/api/index.js +0 -87
  254. package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
  255. package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
  256. package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
  257. package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
  258. package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
  259. package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
  260. package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
  261. package/es/components/ai-chat/src/components/ChatCard.js +0 -403
  262. package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
  263. package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
  264. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
  265. package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
  266. package/es/components/ai-chat/src/components/ChatMain.js +0 -350
  267. package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
  268. package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
  269. package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
  270. package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
  271. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
  272. package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
  273. package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
  274. package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
  275. package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
  276. package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
  277. package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
  278. package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
  279. package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
  280. package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
  281. package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
  282. package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
  283. package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
  284. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
  285. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
  286. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
  287. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
  288. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
  289. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
  290. package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
  291. package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
  292. package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
  293. package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
  294. package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
  295. package/es/components/ai-chat/src/hooks/index.js +0 -2
  296. package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
  297. package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
  298. package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
  299. package/es/components/ai-chat/src/hooks/useData.js +0 -289
  300. package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
  301. package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
  302. package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
  303. package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
  304. package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
  305. package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
  306. package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
  307. package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
  308. package/es/components/ai-chat/src/types/index.d.ts +0 -45
  309. package/es/components/ai-chat/src/types/index.js +0 -1
  310. package/es/components/ai-chat/src/utils/index.d.ts +0 -7
  311. package/es/components/ai-chat/src/utils/index.js +0 -41
  312. package/es/components/ai-chat/style/index.css +0 -1
  313. package/es/shared/assets/img/ai__avatar.png.js +0 -3
  314. package/es/shared/assets/img/file-emr.png.js +0 -3
  315. package/es/shared/assets/img/file.png.js +0 -3
  316. package/es/shared/assets/img/logo.png.js +0 -3
  317. package/es/shared/assets/img/use.png.js +0 -3
@@ -231,7 +231,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
231
231
  }
232
232
  onMounted(fetchOption);
233
233
  return (_ctx, _cache) => {
234
- var _a2, _b2;
235
234
  const _component_vxe_grid = resolveComponent("vxe-grid");
236
235
  return openBlock(), createElementBlock("section", _hoisted_1, [createVNode(unref(NInput), {
237
236
  value: searchFilterText.value,
@@ -282,37 +281,63 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
282
281
  size: "small"
283
282
  }, null, 8, ["page", "page-size", "item-count"])) : createCommentVNode("v-if", true)]),
284
283
  _: 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", {
284
+ }, 8, ["show"]), createElementVNode("footer", _hoisted_2, [createElementVNode("section", null, [createTextVNode(function() {
285
+ var _a2, _b2, _c;
286
+ try {
287
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.39")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.39")) || "\u5DF2\u9009\u62E9";
288
+ } catch (e) {
289
+ return "\u5DF2\u9009\u62E9";
290
+ }
291
+ }()), createElementVNode("span", {
286
292
  style: normalizeStyle({
287
293
  color: "var(--c-primary-color)"
288
294
  })
289
- }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
295
+ }, toDisplayString(checkedCacheRef.value.length), 5), createTextVNode(function() {
296
+ var _a2, _b2, _c;
297
+ try {
298
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.417")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.417")) || "\u9879";
299
+ } catch (e) {
300
+ return "\u9879";
301
+ }
302
+ }())]), createVNode(unref(NButtonGroup), {
290
303
  size: "small"
291
304
  }, {
292
305
  default: withCtx(() => [createVNode(unref(NButton), {
293
306
  onClick: reset
294
307
  }, {
295
- default: withCtx(() => {
296
- var _a3;
297
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
298
- }),
308
+ default: withCtx(() => [createTextVNode(function() {
309
+ var _a2, _b2, _c;
310
+ try {
311
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.509")) || "\u6E05\u7A7A";
312
+ } catch (e) {
313
+ return "\u6E05\u7A7A";
314
+ }
315
+ }())]),
299
316
  _: 1
300
317
  }), createVNode(unref(NButton), {
301
318
  onClick: close
302
319
  }, {
303
- default: withCtx(() => {
304
- var _a3;
305
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.28")) || "\u53D6\u6D88")];
306
- }),
320
+ default: withCtx(() => [createTextVNode(function() {
321
+ var _a2, _b2, _c;
322
+ try {
323
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.28")) || "\u53D6\u6D88";
324
+ } catch (e) {
325
+ return "\u53D6\u6D88";
326
+ }
327
+ }())]),
307
328
  _: 1
308
329
  }), createVNode(unref(NButton), {
309
330
  type: "primary",
310
331
  onClick: confirm
311
332
  }, {
312
- default: withCtx(() => {
313
- var _a3;
314
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.27")) || "\u786E\u5B9A")];
315
- }),
333
+ default: withCtx(() => [createTextVNode(function() {
334
+ var _a2, _b2, _c;
335
+ try {
336
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.27")) || "\u786E\u5B9A";
337
+ } catch (e) {
338
+ return "\u786E\u5B9A";
339
+ }
340
+ }())]),
316
341
  _: 1
317
342
  })]),
318
343
  _: 1
@@ -39,7 +39,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  function confirm() {
40
40
  }
41
41
  return (_ctx, _cache) => {
42
- var _a, _b;
43
42
  return openBlock(), createElementBlock("section", _hoisted_1, [createVNode(unref(NInput), {
44
43
  value: searchFilterText.value,
45
44
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => searchFilterText.value = $event)
@@ -77,37 +76,63 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
77
76
  _: 1
78
77
  }, 8, ["value"])]),
79
78
  _: 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", {
79
+ }, 8, ["show"]), createElementVNode("footer", _hoisted_3, [createElementVNode("section", null, [createTextVNode(function() {
80
+ var _a, _b, _c;
81
+ try {
82
+ 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";
83
+ } catch (e) {
84
+ return "\u5DF2\u9009\u62E9";
85
+ }
86
+ }()), createElementVNode("span", {
81
87
  style: normalizeStyle({
82
88
  color: "var(--c-primary-color)"
83
89
  })
84
- }, toDisplayString(checkedRef.value.length), 5), createTextVNode(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.417")) || "\u9879")]), createVNode(unref(NButtonGroup), {
90
+ }, toDisplayString(checkedRef.value.length), 5), createTextVNode(function() {
91
+ var _a, _b, _c;
92
+ try {
93
+ 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";
94
+ } catch (e) {
95
+ return "\u9879";
96
+ }
97
+ }())]), createVNode(unref(NButtonGroup), {
85
98
  size: "small"
86
99
  }, {
87
100
  default: withCtx(() => [createVNode(unref(NButton), {
88
101
  onClick: reset
89
102
  }, {
90
- default: withCtx(() => {
91
- var _a2;
92
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
93
- }),
103
+ default: withCtx(() => [createTextVNode(function() {
104
+ var _a, _b, _c;
105
+ try {
106
+ 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";
107
+ } catch (e) {
108
+ return "\u6E05\u7A7A";
109
+ }
110
+ }())]),
94
111
  _: 1
95
112
  }), createVNode(unref(NButton), {
96
113
  onClick: close
97
114
  }, {
98
- default: withCtx(() => {
99
- var _a2;
100
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
101
- }),
115
+ default: withCtx(() => [createTextVNode(function() {
116
+ var _a, _b, _c;
117
+ try {
118
+ 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";
119
+ } catch (e) {
120
+ return "\u53D6\u6D88";
121
+ }
122
+ }())]),
102
123
  _: 1
103
124
  }), createVNode(unref(NButton), {
104
125
  type: "primary",
105
126
  onClick: confirm
106
127
  }, {
107
- default: withCtx(() => {
108
- var _a2;
109
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
110
- }),
128
+ default: withCtx(() => [createTextVNode(function() {
129
+ var _a, _b, _c;
130
+ try {
131
+ 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";
132
+ } catch (e) {
133
+ return "\u786E\u5B9A";
134
+ }
135
+ }())]),
111
136
  _: 1
112
137
  })]),
113
138
  _: 1
@@ -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>;
@@ -49,9 +49,15 @@ declare const _default: import("vue").DefineComponent<{
49
49
  CancelRadio: import("vue").DefineComponent<{
50
50
  currentValue: {};
51
51
  cancelable: BooleanConstructor;
52
+ showType: {
53
+ type: PropType<"checkbox" | "radio">;
54
+ };
52
55
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
53
56
  currentValue: {};
54
57
  cancelable: BooleanConstructor;
58
+ showType: {
59
+ type: PropType<"checkbox" | "radio">;
60
+ };
55
61
  }>>, {
56
62
  cancelable: boolean;
57
63
  }>;
@@ -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();