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
@@ -7,7 +7,6 @@ import { useDisplayCategory } from '../classify-filter/hooks/useDisplayCategory.
7
7
  import { useBiConditions } from './hooks/useBiConditions.js';
8
8
  import { InjectionClassifyFilterList } from '../../constants/index.js';
9
9
 
10
- var _a, _b;
11
10
  const _hoisted_1 = {
12
11
  class: "searchConditionByApi_wrapper"
13
12
  };
@@ -40,7 +39,14 @@ const _hoisted_10 = {
40
39
  const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", {
41
40
  class: "label"
42
41
  }, " \u8FC7\u6EE4\u6761\u4EF6\uFF1A ", -1);
43
- const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.86")) || "\u6DFB\u52A0", -1);
42
+ const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", null, function() {
43
+ var _a, _b, _c;
44
+ try {
45
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.86")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.86")) || "\u6DFB\u52A0";
46
+ } catch (e) {
47
+ return "\u6DFB\u52A0";
48
+ }
49
+ }(), -1);
44
50
  const _hoisted_13 = {
45
51
  class: "select-item-list"
46
52
  };
@@ -51,7 +57,14 @@ const _hoisted_15 = ["onClick"];
51
57
  const _hoisted_16 = {
52
58
  class: "filter-expression"
53
59
  };
54
- const _hoisted_17 = /* @__PURE__ */ createElementVNode("span", null, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND", -1);
60
+ const _hoisted_17 = /* @__PURE__ */ createElementVNode("span", null, function() {
61
+ var _a, _b, _c;
62
+ try {
63
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.272")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
64
+ } catch (e) {
65
+ return "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
66
+ }
67
+ }(), -1);
55
68
  const _hoisted_18 = /* @__PURE__ */ createElementVNode("span", null, "\u4F8B\u5B50 (1 AND 2) OR 3", -1);
56
69
  var _sfc_main = /* @__PURE__ */ defineComponent({
57
70
  __name: "index",
@@ -160,14 +173,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
160
173
  FormState.filterConditions = [];
161
174
  }
162
175
  async function handleInitConditions() {
163
- var _a2;
176
+ var _a;
164
177
  try {
165
178
  clearFormData();
166
179
  loading.value = true;
167
180
  initDisplayCategories($attrs.displayCategoryList, props.actionList_prop.displayCategory || void 0);
168
181
  if (props.actionList_prop) {
169
182
  FormState.className = props.actionList_prop.name;
170
- await initFilterConditions(props.tableId, (_a2 = props.actionList_prop.conObj) != null ? _a2 : []);
183
+ await initFilterConditions(props.tableId, (_a = props.actionList_prop.conObj) != null ? _a : []);
171
184
  const isAdd = FormState.filterConditions.length < 1;
172
185
  if (isAdd && paramOptions.value && paramOptions.value.length > 0) {
173
186
  addFilterCondition();
@@ -179,13 +192,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
179
192
  }
180
193
  function validate() {
181
194
  return new Promise((resolve) => {
182
- var _a2, _b2, _c;
183
195
  if (!FormState.className && props.showItemName) {
184
- $message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0");
196
+ $message.warning(function() {
197
+ var _a, _b, _c;
198
+ try {
199
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
200
+ } catch (e) {
201
+ return "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
202
+ }
203
+ }());
185
204
  return;
186
205
  }
187
206
  if (FormState.filterConditions.length === 0) {
188
- $message.warning(((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.364")) || "\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6761\u4EF6");
207
+ $message.warning(function() {
208
+ var _a, _b, _c;
209
+ try {
210
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.364")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.364")) || "\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6761\u4EF6";
211
+ } catch (e) {
212
+ return "\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6761\u4EF6";
213
+ }
214
+ }());
189
215
  return;
190
216
  }
191
217
  const isEmpty = FormState.filterConditions.some(({
@@ -198,7 +224,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
198
224
  return !fieldId || !con || isShowValueCfg(con) && !value && !values.length;
199
225
  });
200
226
  if (isEmpty) {
201
- $message.warning(((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.365")) || "\u8BF7\u8865\u5145\u5B8C\u6574\u6761\u4EF6\u5185\u5BB9");
227
+ $message.warning(function() {
228
+ var _a, _b, _c;
229
+ try {
230
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.365")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.365")) || "\u8BF7\u8865\u5145\u5B8C\u6574\u6761\u4EF6\u5185\u5BB9";
231
+ } catch (e) {
232
+ return "\u8BF7\u8865\u5145\u5B8C\u6574\u6761\u4EF6\u5185\u5BB9";
233
+ }
234
+ }());
202
235
  return;
203
236
  }
204
237
  resolve(true);
@@ -244,138 +277,184 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
244
277
  return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(NSpin), {
245
278
  show: loading.value
246
279
  }, {
247
- default: withCtx(() => {
248
- var _a2, _b2;
249
- return [createElementVNode("div", _hoisted_2, [__props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_3, [_hoisted_4, createVNode(unref(NInput), {
250
- value: FormState.className,
251
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => FormState.className = $event),
252
- placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0",
253
- style: {
254
- "width": "250px"
255
- },
256
- maxlength: "10"
257
- }, null, 8, ["value"])])) : createCommentVNode("v-if", true), __props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_5, [_hoisted_6, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DisplayCategoryState).displayCategories, (item, index) => {
258
- return openBlock(), createElementBlock("div", {
259
- class: "parent-name",
260
- key: index,
261
- onClick: ($event) => handleDisplayCategorySelectProxy(item)
262
- }, [item.disabled ? (openBlock(), createElementBlock("div", {
263
- key: 0,
264
- class: normalizeClass(["edit-tag", {
265
- "edit-tag-select": item.value === FormState.displayCategory && item.disabled
266
- }]),
267
- onDblclick: ($event) => handleEditDisplayCategory(item)
268
- }, [createElementVNode("div", _hoisted_9, toDisplayString(item.value), 1), createVNode(unref(NIcon), {
269
- component: unref(CloseOutline),
270
- class: "anticon-close",
271
- size: "20",
272
- onClick: ($event) => unref(handleDisplayCategoryRemove)(index, item)
273
- }, null, 8, ["component", "onClick"])], 42, _hoisted_8)) : (openBlock(), createBlock(unref(NInput), {
274
- key: 1,
275
- ref_for: true,
276
- ref_key: "parentInputRef",
277
- ref: parentInputRef,
278
- class: "parent-input",
279
- style: {
280
- "width": "100px"
281
- },
282
- disabled: item.disabled,
283
- onBlur: () => item.disabled = true,
284
- value: item.value,
285
- "onUpdate:value": ($event) => item.value = $event,
286
- maxlength: 20
287
- }, null, 8, ["disabled", "onBlur", "value", "onUpdate:value"]))], 8, _hoisted_7);
288
- }), 128)), unref(isEnableAddDisplayCategory) ? (openBlock(), createElementBlock(Fragment, {
289
- key: 0
290
- }, [withDirectives(createVNode(unref(NButton), {
291
- class: "ant-btn",
292
- icon: "plus",
293
- dashed: "",
294
- onClick: handleDisplayCategoryAddState
295
- }, {
296
- default: withCtx(() => {
297
- var _a3;
298
- return [createVNode(unref(NIcon), {
299
- component: unref(AddOutline),
300
- size: "20"
301
- }, null, 8, ["component"]), createTextVNode(" " + toDisplayString(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.362")) || "\u6DFB\u52A0\u7236\u7C7B"))];
302
- }),
303
- _: 1
304
- }, 512), [[vShow, !unref(DisplayCategoryState).showAdd]]), withDirectives(createVNode(unref(NInput), {
305
- ref_key: "parentInputAddRef",
306
- ref: parentInputAddRef,
280
+ default: withCtx(() => [createElementVNode("div", _hoisted_2, [__props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_3, [_hoisted_4, createVNode(unref(NInput), {
281
+ value: FormState.className,
282
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => FormState.className = $event),
283
+ placeholder: function() {
284
+ var _a, _b, _c;
285
+ try {
286
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
287
+ } catch (e) {
288
+ return "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
289
+ }
290
+ }(),
291
+ style: {
292
+ "width": "250px"
293
+ },
294
+ maxlength: "10"
295
+ }, null, 8, ["value"])])) : createCommentVNode("v-if", true), __props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_5, [_hoisted_6, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DisplayCategoryState).displayCategories, (item, index) => {
296
+ return openBlock(), createElementBlock("div", {
297
+ class: "parent-name",
298
+ key: index,
299
+ onClick: ($event) => handleDisplayCategorySelectProxy(item)
300
+ }, [item.disabled ? (openBlock(), createElementBlock("div", {
301
+ key: 0,
302
+ class: normalizeClass(["edit-tag", {
303
+ "edit-tag-select": item.value === FormState.displayCategory && item.disabled
304
+ }]),
305
+ onDblclick: ($event) => handleEditDisplayCategory(item)
306
+ }, [createElementVNode("div", _hoisted_9, toDisplayString(item.value), 1), createVNode(unref(NIcon), {
307
+ component: unref(CloseOutline),
308
+ class: "anticon-close",
309
+ size: "20",
310
+ onClick: ($event) => unref(handleDisplayCategoryRemove)(index, item)
311
+ }, null, 8, ["component", "onClick"])], 42, _hoisted_8)) : (openBlock(), createBlock(unref(NInput), {
312
+ key: 1,
313
+ ref_for: true,
314
+ ref_key: "parentInputRef",
315
+ ref: parentInputRef,
307
316
  class: "parent-input",
308
- value: unref(DisplayCategoryState).addDisplayCategory,
309
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(DisplayCategoryState).addDisplayCategory = $event),
310
- valueModifiers: {
311
- trim: true
312
- },
313
317
  style: {
314
318
  "width": "100px"
315
319
  },
316
- onBlur: unref(handlerBlur),
320
+ disabled: item.disabled,
321
+ onBlur: () => item.disabled = true,
322
+ value: item.value,
323
+ "onUpdate:value": ($event) => item.value = $event,
317
324
  maxlength: 20
318
- }, null, 8, ["value", "onBlur"]), [[vShow, unref(DisplayCategoryState).showAdd]])], 64)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !__props.hideAddBtn ? (openBlock(), createElementBlock("div", _hoisted_10, [_hoisted_11, createElementVNode("span", {
319
- class: "addAction",
320
- onClick: _cache[2] || (_cache[2] = (...args) => unref(addFilterCondition) && unref(addFilterCondition)(...args)),
321
- style: {
322
- "cursor": "pointer"
325
+ }, null, 8, ["disabled", "onBlur", "value", "onUpdate:value"]))], 8, _hoisted_7);
326
+ }), 128)), unref(isEnableAddDisplayCategory) ? (openBlock(), createElementBlock(Fragment, {
327
+ key: 0
328
+ }, [withDirectives(createVNode(unref(NButton), {
329
+ class: "ant-btn",
330
+ icon: "plus",
331
+ dashed: "",
332
+ onClick: handleDisplayCategoryAddState
333
+ }, {
334
+ default: withCtx(() => [createVNode(unref(NIcon), {
335
+ component: unref(AddOutline),
336
+ size: "20"
337
+ }, null, 8, ["component"]), createTextVNode(" " + toDisplayString(function() {
338
+ var _a, _b, _c;
339
+ try {
340
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.362")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.362")) || "\u6DFB\u52A0\u7236\u7C7B";
341
+ } catch (e) {
342
+ return "\u6DFB\u52A0\u7236\u7C7B";
343
+ }
344
+ }()))]),
345
+ _: 1
346
+ }, 512), [[vShow, !unref(DisplayCategoryState).showAdd]]), withDirectives(createVNode(unref(NInput), {
347
+ ref_key: "parentInputAddRef",
348
+ ref: parentInputAddRef,
349
+ class: "parent-input",
350
+ value: unref(DisplayCategoryState).addDisplayCategory,
351
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(DisplayCategoryState).addDisplayCategory = $event),
352
+ valueModifiers: {
353
+ trim: true
354
+ },
355
+ style: {
356
+ "width": "100px"
357
+ },
358
+ onBlur: unref(handlerBlur),
359
+ maxlength: 20
360
+ }, null, 8, ["value", "onBlur"]), [[vShow, unref(DisplayCategoryState).showAdd]])], 64)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !__props.hideAddBtn ? (openBlock(), createElementBlock("div", _hoisted_10, [_hoisted_11, createElementVNode("span", {
361
+ class: "addAction",
362
+ onClick: _cache[2] || (_cache[2] = (...args) => unref(addFilterCondition) && unref(addFilterCondition)(...args)),
363
+ style: {
364
+ "cursor": "pointer"
365
+ }
366
+ }, [createVNode(unref(NIcon), {
367
+ component: unref(AddCircleSharp),
368
+ class: "blue",
369
+ size: "18"
370
+ }, null, 8, ["component"]), _hoisted_12])])) : createCommentVNode("v-if", true), createElementVNode("ul", _hoisted_13, [(openBlock(true), createElementBlock(Fragment, null, renderList(FormState.filterConditions, (item, index) => {
371
+ return openBlock(), createElementBlock("li", {
372
+ key: index
373
+ }, [createElementVNode("span", _hoisted_14, toDisplayString(index + 1), 1), createCommentVNode(" \u9009\u62E9 field_key "), createVNode(unref(NSelect), {
374
+ class: "form-item",
375
+ placeholder: function() {
376
+ var _a, _b, _c;
377
+ try {
378
+ 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";
379
+ } catch (e) {
380
+ return "\u8BF7\u9009\u62E9";
381
+ }
382
+ }(),
383
+ value: item.fieldId,
384
+ "menu-props": menuProps,
385
+ to: "body",
386
+ filterable: "",
387
+ options: unref(paramOptions),
388
+ "onUpdate:value": ($event) => unref(updateKey)(index, $event)
389
+ }, null, 8, ["value", "options", "onUpdate:value"]), createCommentVNode(" \u9009\u62E9 \u5173\u7CFB "), item.fieldId ? (openBlock(), createBlock(unref(NSelect), {
390
+ key: 0,
391
+ class: "form-item",
392
+ placeholder: function() {
393
+ var _a, _b, _c;
394
+ try {
395
+ 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";
396
+ } catch (e) {
397
+ return "\u8BF7\u9009\u62E9";
398
+ }
399
+ }(),
400
+ value: item.con,
401
+ to: "body",
402
+ filterable: "",
403
+ options: item.biTypeOptions,
404
+ "onUpdate:value": ($event) => unref(updateCondition)(index, $event)
405
+ }, null, 8, ["value", "options", "onUpdate:value"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
406
+ var _a, _b, _c;
407
+ try {
408
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.376")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.376")) || "\u81EA\u5B9A\u4E49";
409
+ } catch (e) {
410
+ return "\u81EA\u5B9A\u4E49";
411
+ }
412
+ }()), item.fieldId && item.con && isShowValueCfg(item.con) ? (openBlock(), createBlock(ValueCfg, {
413
+ key: 1,
414
+ modelValue: item.value,
415
+ "onUpdate:modelValue": ($event) => item.value = $event,
416
+ modelValues: item.values,
417
+ "onUpdate:modelValues": ($event) => item.values = $event,
418
+ "param-cfg": unref(getParamCfg)(item.fieldId)
419
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "modelValues", "onUpdate:modelValues", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
420
+ title: function() {
421
+ var _a, _b, _c;
422
+ try {
423
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
424
+ } catch (e) {
425
+ return "\u5220\u9664";
426
+ }
427
+ }(),
428
+ trigger: "hover"
429
+ }, {
430
+ trigger: withCtx(() => [createElementVNode("i", {
431
+ onClick: ($event) => unref(delFilterCondition)(index),
432
+ class: "iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"
433
+ }, null, 8, _hoisted_15)]),
434
+ default: withCtx(() => [createTextVNode(function() {
435
+ var _a, _b, _c;
436
+ try {
437
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
438
+ } catch (e) {
439
+ return "\u5220\u9664";
440
+ }
441
+ }())]),
442
+ _: 2
443
+ }, 1024)]);
444
+ }), 128))]), createElementVNode("div", _hoisted_16, [_hoisted_17, _hoisted_18, createVNode(unref(NInput), {
445
+ class: "textarea",
446
+ value: sqlExpression.value,
447
+ "onUpdate:value": _cache[3] || (_cache[3] = ($event) => sqlExpression.value = $event),
448
+ type: "textarea",
449
+ placeholder: function() {
450
+ var _a, _b, _c;
451
+ try {
452
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.363")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.363")) || "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F";
453
+ } catch (e) {
454
+ return "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F";
323
455
  }
324
- }, [createVNode(unref(NIcon), {
325
- component: unref(AddCircleSharp),
326
- class: "blue",
327
- size: "18"
328
- }, null, 8, ["component"]), _hoisted_12])])) : createCommentVNode("v-if", true), createElementVNode("ul", _hoisted_13, [(openBlock(true), createElementBlock(Fragment, null, renderList(FormState.filterConditions, (item, index) => {
329
- var _a3, _b3, _c, _d;
330
- return openBlock(), createElementBlock("li", {
331
- key: index
332
- }, [createElementVNode("span", _hoisted_14, toDisplayString(index + 1), 1), createCommentVNode(" \u9009\u62E9 field_key "), createVNode(unref(NSelect), {
333
- class: "form-item",
334
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
335
- value: item.fieldId,
336
- "menu-props": menuProps,
337
- to: "body",
338
- filterable: "",
339
- options: unref(paramOptions),
340
- "onUpdate:value": ($event) => unref(updateKey)(index, $event)
341
- }, null, 8, ["value", "options", "onUpdate:value"]), createCommentVNode(" \u9009\u62E9 \u5173\u7CFB "), item.fieldId ? (openBlock(), createBlock(unref(NSelect), {
342
- key: 0,
343
- class: "form-item",
344
- placeholder: ((_b3 = window.getLanguageByCode) == null ? void 0 : _b3.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
345
- value: item.con,
346
- to: "body",
347
- filterable: "",
348
- options: item.biTypeOptions,
349
- "onUpdate:value": ($event) => unref(updateCondition)(index, $event)
350
- }, null, 8, ["value", "options", "onUpdate:value"])) : createCommentVNode("v-if", true), createCommentVNode(((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.376")) || "\u81EA\u5B9A\u4E49"), item.fieldId && item.con && isShowValueCfg(item.con) ? (openBlock(), createBlock(ValueCfg, {
351
- key: 1,
352
- modelValue: item.value,
353
- "onUpdate:modelValue": ($event) => item.value = $event,
354
- modelValues: item.values,
355
- "onUpdate:modelValues": ($event) => item.values = $event,
356
- "param-cfg": unref(getParamCfg)(item.fieldId)
357
- }, null, 8, ["modelValue", "onUpdate:modelValue", "modelValues", "onUpdate:modelValues", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
358
- title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.215")) || "\u5220\u9664",
359
- trigger: "hover"
360
- }, {
361
- trigger: withCtx(() => [createElementVNode("i", {
362
- onClick: ($event) => unref(delFilterCondition)(index),
363
- class: "iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"
364
- }, null, 8, _hoisted_15)]),
365
- default: withCtx(() => {
366
- var _a4;
367
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.215")) || "\u5220\u9664")];
368
- }),
369
- _: 2
370
- }, 1024)]);
371
- }), 128))]), createElementVNode("div", _hoisted_16, [_hoisted_17, _hoisted_18, createVNode(unref(NInput), {
372
- class: "textarea",
373
- value: sqlExpression.value,
374
- "onUpdate:value": _cache[3] || (_cache[3] = ($event) => sqlExpression.value = $event),
375
- type: "textarea",
376
- placeholder: ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.363")) || "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F"
377
- }, null, 8, ["value"])])])];
378
- }),
456
+ }()
457
+ }, null, 8, ["value"])])])]),
379
458
  _: 1
380
459
  }, 8, ["show"])]);
381
460
  };
@@ -58,13 +58,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  return (_a = props.paramCfg) == null ? void 0 : _a.type;
59
59
  });
60
60
  return (_ctx, _cache) => {
61
- var _a, _b;
62
- return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || "\u6570\u5B57\u6846"), unref(widgetType) === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
61
+ return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(function() {
62
+ var _a, _b, _c;
63
+ try {
64
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
65
+ } catch (e) {
66
+ return "\u6570\u5B57\u6846";
67
+ }
68
+ }()), unref(widgetType) === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
63
69
  key: 0,
64
70
  paramCfg: __props.paramCfg,
65
71
  modelValue: unref(valueCp),
66
72
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
67
- }, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.293")) || "\u6587\u672C\u6846"), unref(widgetType) === unref(WidgetTypeEnums).INPUT ? (openBlock(), createBlock(unref(InputFilter), {
73
+ }, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
74
+ var _a, _b, _c;
75
+ try {
76
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
77
+ } catch (e) {
78
+ return "\u6587\u672C\u6846";
79
+ }
80
+ }()), unref(widgetType) === unref(WidgetTypeEnums).INPUT ? (openBlock(), createBlock(unref(InputFilter), {
68
81
  key: 1,
69
82
  paramCfg: __props.paramCfg,
70
83
  modelValue: unref(valueCp),
@@ -72,7 +72,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
72
72
  return (_b = (_a = props.paramCfg) == null ? void 0 : _a._rawData) == null ? void 0 : _b.optionType;
73
73
  });
74
74
  const widgetOptions = computed(() => {
75
- var _a, _b;
75
+ var _a;
76
76
  const optSetting = optionSetting.value || WidgetOptionEnums.ALL;
77
77
  if (compType.value && optSetting) {
78
78
  const typeStr = `${compType.value}_${optSetting}`;
@@ -85,7 +85,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
85
85
  };
86
86
  });
87
87
  options.unshift({
88
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165",
88
+ label: function() {
89
+ var _a2, _b, _c;
90
+ try {
91
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
92
+ } catch (e) {
93
+ return "\u81EA\u5B9A\u4E49\u8F93\u5165";
94
+ }
95
+ }(),
89
96
  value: WidgetValEnums.CUSTOM
90
97
  });
91
98
  return options;
@@ -80,12 +80,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  const isPastTime = computed(() => optionSetting.value === WidgetOptionEnums.PAST_TIME);
81
81
  const isFutureTime = computed(() => optionSetting.value === WidgetOptionEnums.FUTURE_TIME);
82
82
  const startPlaceholder = computed(() => {
83
- var _a, _b;
84
- return compType.value === WidgetTypeEnums.DATE ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.366")) || "\u521D\u59CB\u65E5\u671F" : ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.367")) || "\u521D\u59CB\u65F6\u95F4";
83
+ return compType.value === WidgetTypeEnums.DATE ? function() {
84
+ var _a, _b, _c;
85
+ try {
86
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.366")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.366")) || "\u521D\u59CB\u65E5\u671F";
87
+ } catch (e) {
88
+ return "\u521D\u59CB\u65E5\u671F";
89
+ }
90
+ }() : function() {
91
+ var _a, _b, _c;
92
+ try {
93
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.367")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.367")) || "\u521D\u59CB\u65F6\u95F4";
94
+ } catch (e) {
95
+ return "\u521D\u59CB\u65F6\u95F4";
96
+ }
97
+ }();
85
98
  });
86
99
  const endPlaceholder = computed(() => {
87
- var _a, _b;
88
- return compType.value === WidgetTypeEnums.DATE ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.368")) || "\u622A\u6B62\u65E5\u671F" : ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.369")) || "\u622A\u6B62\u65F6\u95F4";
100
+ return compType.value === WidgetTypeEnums.DATE ? function() {
101
+ var _a, _b, _c;
102
+ try {
103
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.368")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.368")) || "\u622A\u6B62\u65E5\u671F";
104
+ } catch (e) {
105
+ return "\u622A\u6B62\u65E5\u671F";
106
+ }
107
+ }() : function() {
108
+ var _a, _b, _c;
109
+ try {
110
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.369")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.369")) || "\u622A\u6B62\u65F6\u95F4";
111
+ } catch (e) {
112
+ return "\u622A\u6B62\u65F6\u95F4";
113
+ }
114
+ }();
89
115
  });
90
116
  const startDefault = computed(() => {
91
117
  if (isFutureTime.value)
@@ -107,7 +133,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
107
133
  return compType.value.toLowerCase() || WidgetTypeEnums.DATE.toLowerCase();
108
134
  });
109
135
  const widgetOptions = computed(() => {
110
- var _a, _b;
136
+ var _a;
111
137
  const optSetting = optionSetting.value || WidgetOptionEnums.ALL;
112
138
  if (compType.value && optSetting) {
113
139
  const typeStr = `${compType.value}_${optSetting}_RANGE`;
@@ -120,7 +146,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
120
146
  };
121
147
  });
122
148
  options.unshift({
123
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165",
149
+ label: function() {
150
+ var _a2, _b, _c;
151
+ try {
152
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
153
+ } catch (e) {
154
+ return "\u81EA\u5B9A\u4E49\u8F93\u5165";
155
+ }
156
+ }(),
124
157
  value: WidgetValEnums.CUSTOM
125
158
  });
126
159
  return options;
@@ -26,13 +26,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  setup(__props, {
27
27
  emit
28
28
  }) {
29
- var _a, _b;
30
29
  const props = __props;
31
30
  const optionList = ref([{
32
- label: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2",
31
+ label: function() {
32
+ var _a, _b, _c;
33
+ try {
34
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2";
35
+ } catch (e) {
36
+ return "\u7CBE\u786E\u67E5\u8BE2";
37
+ }
38
+ }(),
33
39
  value: 1
34
40
  }, {
35
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.371")) || "\u6A21\u7CCA\u67E5\u8BE2",
41
+ label: function() {
42
+ var _a, _b, _c;
43
+ try {
44
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.371")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.371")) || "\u6A21\u7CCA\u67E5\u8BE2";
45
+ } catch (e) {
46
+ return "\u6A21\u7CCA\u67E5\u8BE2";
47
+ }
48
+ }(),
36
49
  value: 0
37
50
  }]);
38
51
  const valueCp = computed({
@@ -52,8 +65,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
52
65
  }
53
66
  });
54
67
  const isShowSearch = computed(() => {
55
- var _a2, _b2, _c;
56
- return ((_a2 = props.paramCfg._rawData) == null ? void 0 : _a2.filterExplicit) && ((_c = (_b2 = props.paramCfg._rawData) == null ? void 0 : _b2.accurateSearch) == null ? void 0 : _c.switchEnable);
68
+ var _a, _b, _c;
69
+ return ((_a = props.paramCfg._rawData) == null ? void 0 : _a.filterExplicit) && ((_c = (_b = props.paramCfg._rawData) == null ? void 0 : _b.accurateSearch) == null ? void 0 : _c.switchEnable);
57
70
  });
58
71
  return (_ctx, _cache) => {
59
72
  return openBlock(), createElementBlock("div", _hoisted_1, [unref(isShowSearch) ? (openBlock(), createBlock(unref(NSelect), {
@@ -57,24 +57,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
57
57
  return openBlock(), createBlock(unref(NInputGroup), {
58
58
  class: "render-widget-input-number-group"
59
59
  }, {
60
- default: withCtx(() => {
61
- var _a, _b;
62
- return [createVNode(unref(NInputNumber), {
63
- style: {
64
- "width": "106px"
65
- },
66
- placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.372")) || "\u6700\u5C0F\u503C",
67
- value: startNumber.value,
68
- "onUpdate:value": _cache[0] || (_cache[0] = (e) => handleChange(e, "startNumber"))
69
- }, null, 8, ["value"]), _hoisted_1, createVNode(unref(NInputNumber), {
70
- style: {
71
- "width": "106px"
72
- },
73
- placeholder: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.373")) || "\u6700\u5927\u503C",
74
- value: endNumber.value,
75
- "onUpdate:value": _cache[1] || (_cache[1] = (e) => handleChange(e, "endNumber"))
76
- }, null, 8, ["value"])];
77
- }),
60
+ default: withCtx(() => [createVNode(unref(NInputNumber), {
61
+ style: {
62
+ "width": "106px"
63
+ },
64
+ placeholder: function() {
65
+ var _a, _b, _c;
66
+ try {
67
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.372")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.372")) || "\u6700\u5C0F\u503C";
68
+ } catch (e) {
69
+ return "\u6700\u5C0F\u503C";
70
+ }
71
+ }(),
72
+ value: startNumber.value,
73
+ "onUpdate:value": _cache[0] || (_cache[0] = (e) => handleChange(e, "startNumber"))
74
+ }, null, 8, ["value"]), _hoisted_1, createVNode(unref(NInputNumber), {
75
+ style: {
76
+ "width": "106px"
77
+ },
78
+ placeholder: function() {
79
+ var _a, _b, _c;
80
+ try {
81
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.373")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.373")) || "\u6700\u5927\u503C";
82
+ } catch (e) {
83
+ return "\u6700\u5927\u503C";
84
+ }
85
+ }(),
86
+ value: endNumber.value,
87
+ "onUpdate:value": _cache[1] || (_cache[1] = (e) => handleChange(e, "endNumber"))
88
+ }, null, 8, ["value"])]),
78
89
  _: 1
79
90
  });
80
91
  };