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,14 +7,20 @@ import { isDisable, setStyle, isDraggableItem, isDraggable, getGroupTree } from
7
7
  import { uuidGenerator } from '../../../shared/utils/index.js';
8
8
  import { HelpCircleSharp } from '@vicons/ionicons5';
9
9
 
10
- var _a;
11
10
  const _hoisted_1 = {
12
11
  class: "main-wrapper"
13
12
  };
14
13
  const _hoisted_2 = {
15
14
  class: "main-wrapper__table-header"
16
15
  };
17
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8", -1);
16
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
17
+ var _a, _b, _c;
18
+ try {
19
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
20
+ } catch (e) {
21
+ return "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
22
+ }
23
+ }(), -1);
18
24
  const _hoisted_4 = ["tabindex"];
19
25
  const _hoisted_5 = {
20
26
  key: 1,
@@ -102,7 +108,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
102
108
  expose,
103
109
  emit
104
110
  }) {
105
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
106
111
  const props = __props;
107
112
  const fieldsMapping = {
108
113
  sid: "id",
@@ -118,93 +123,205 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
118
123
  const tableRef = ref();
119
124
  const newFields = ref([]);
120
125
  const defaultColumns = [{
121
- title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5",
126
+ title: function() {
127
+ var _a, _b, _c;
128
+ try {
129
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.247")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5";
130
+ } catch (e) {
131
+ return "\u6240\u6709\u5B57\u6BB5";
132
+ }
133
+ }(),
122
134
  type: "text",
123
135
  field: "title"
124
136
  }, {
125
- title: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.240")) || "\u663E\u793A",
137
+ title: function() {
138
+ var _a, _b, _c;
139
+ try {
140
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.240")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.240")) || "\u663E\u793A";
141
+ } catch (e) {
142
+ return "\u663E\u793A";
143
+ }
144
+ }(),
126
145
  type: "checkbox",
127
146
  checkedAll: false,
128
147
  disabledAll: !!props.fieldShowMaxValue,
129
148
  field: "show",
130
149
  fieldShowMaxValue: props.fieldShowMaxValue
131
150
  }, {
132
- title: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.284")) || "\u7F16\u8F91",
151
+ title: function() {
152
+ var _a, _b, _c;
153
+ try {
154
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
155
+ } catch (e) {
156
+ return "\u7F16\u8F91";
157
+ }
158
+ }(),
133
159
  type: "checkbox",
134
160
  checkedAll: false,
135
161
  disabledAll: false,
136
162
  field: "editable"
137
163
  }, {
138
- title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.248")) || "\u5FC5\u586B",
164
+ title: function() {
165
+ var _a, _b, _c;
166
+ try {
167
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B";
168
+ } catch (e) {
169
+ return "\u5FC5\u586B";
170
+ }
171
+ }(),
139
172
  type: "checkbox",
140
173
  checkedAll: false,
141
174
  disabledAll: false,
142
175
  field: "required"
143
176
  }, {
144
- title: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.249")) || "\u6392\u5E8F",
177
+ title: function() {
178
+ var _a, _b, _c;
179
+ try {
180
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.249")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.249")) || "\u6392\u5E8F";
181
+ } catch (e) {
182
+ return "\u6392\u5E8F";
183
+ }
184
+ }(),
145
185
  type: "checkbox",
146
186
  checkedAll: false,
147
187
  disabledAll: false,
148
188
  field: "sort"
149
189
  }, {
150
- title: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.250")) || "\u52A0\u7C97",
190
+ title: function() {
191
+ var _a, _b, _c;
192
+ try {
193
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.250")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.250")) || "\u52A0\u7C97";
194
+ } catch (e) {
195
+ return "\u52A0\u7C97";
196
+ }
197
+ }(),
151
198
  type: "checkbox",
152
199
  checkedAll: false,
153
200
  disabledAll: false,
154
201
  field: "bold"
155
202
  }, {
156
- title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F",
203
+ title: function() {
204
+ var _a, _b, _c;
205
+ try {
206
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.251")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F";
207
+ } catch (e) {
208
+ return "\u9ED8\u8BA4\u6392\u5E8F";
209
+ }
210
+ }(),
157
211
  type: "select",
158
212
  field: "sortDirection"
159
213
  }, {
160
- title: ((_h = window.getLanguageByCode) == null ? void 0 : _h.call(window, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7",
214
+ title: function() {
215
+ var _a, _b, _c;
216
+ try {
217
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.252")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7";
218
+ } catch (e) {
219
+ return "\u6392\u5E8F\u4F18\u5148\u7EA7";
220
+ }
221
+ }(),
161
222
  type: "select",
162
223
  field: "sortPriority"
163
224
  }, {
164
- title: ((_i = window.getLanguageByCode) == null ? void 0 : _i.call(window, "10010.1.253")) || "\u56FA\u5B9A",
225
+ title: function() {
226
+ var _a, _b, _c;
227
+ try {
228
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.253")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.253")) || "\u56FA\u5B9A";
229
+ } catch (e) {
230
+ return "\u56FA\u5B9A";
231
+ }
232
+ }(),
165
233
  type: "select",
166
234
  field: "fixedWay"
167
235
  }, {
168
- title: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898",
236
+ title: function() {
237
+ var _a, _b, _c;
238
+ try {
239
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.254")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898";
240
+ } catch (e) {
241
+ return "\u81EA\u5B9A\u4E49\u6807\u9898";
242
+ }
243
+ }(),
169
244
  type: "input",
170
245
  field: "alias"
171
246
  }, {
172
- title: ((_k = window.getLanguageByCode) == null ? void 0 : _k.call(window, "10010.1.255")) || "\u5217\u5BBD",
247
+ title: function() {
248
+ var _a, _b, _c;
249
+ try {
250
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.255")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.255")) || "\u5217\u5BBD";
251
+ } catch (e) {
252
+ return "\u5217\u5BBD";
253
+ }
254
+ }(),
173
255
  type: "inputNumber",
174
256
  field: "columnWidth"
175
257
  }, {
176
- title: ((_l = window.getLanguageByCode) == null ? void 0 : _l.call(window, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009",
258
+ title: function() {
259
+ var _a, _b, _c;
260
+ try {
261
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.256")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009";
262
+ } catch (e) {
263
+ return "\u8868\u5934\u7B5B\u9009";
264
+ }
265
+ }(),
177
266
  type: "checkbox",
178
267
  isHeadCheckHide: true,
179
268
  field: "isShowHeaderFilter"
180
269
  }, {
181
- title: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.36")) || "\u641C\u7D22",
270
+ title: function() {
271
+ var _a, _b, _c;
272
+ try {
273
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22";
274
+ } catch (e) {
275
+ return "\u641C\u7D22";
276
+ }
277
+ }(),
182
278
  type: "checkbox",
183
279
  isHeadCheckHide: true,
184
280
  field: "isSearch",
185
281
  hide: true
186
282
  }, {
187
- title: ((_n = window.getLanguageByCode) == null ? void 0 : _n.call(window, "10010.1.257")) || "\u6C42\u548C",
283
+ title: function() {
284
+ var _a, _b, _c;
285
+ try {
286
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.257")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.257")) || "\u6C42\u548C";
287
+ } catch (e) {
288
+ return "\u6C42\u548C";
289
+ }
290
+ }(),
188
291
  type: "checkbox",
189
292
  isHeadCheckHide: true,
190
293
  field: "isSum",
191
294
  hide: true
192
295
  }, {
193
- title: ((_o = window.getLanguageByCode) == null ? void 0 : _o.call(window, "10010.1.258")) || "\u5E73\u5747\u503C",
296
+ title: function() {
297
+ var _a, _b, _c;
298
+ try {
299
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.258")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.258")) || "\u5E73\u5747\u503C";
300
+ } catch (e) {
301
+ return "\u5E73\u5747\u503C";
302
+ }
303
+ }(),
194
304
  type: "checkbox",
195
305
  isHeadCheckHide: true,
196
306
  field: "isAvg",
197
307
  hide: true
198
308
  }, {
199
- title: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E",
309
+ title: function() {
310
+ var _a, _b, _c;
311
+ try {
312
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.259")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E";
313
+ } catch (e) {
314
+ return "\u8131\u654F\u914D\u7F6E";
315
+ }
316
+ }(),
200
317
  type: "select",
201
318
  field: "hideExpression",
202
319
  hide: true
203
320
  }];
204
321
  const columns = ref([]);
205
322
  const itemWidth = computed(() => {
206
- var _a3;
207
- return ((_a3 = tableRef.value) == null ? void 0 : _a3.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
323
+ var _a;
324
+ return ((_a = tableRef.value) == null ? void 0 : _a.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
208
325
  });
209
326
  const fieldList = computed(() => newFields.value.flat());
210
327
  const hasFieldDescribe = computed(() => fieldList.value.some((item) => item.feildDescribe));
@@ -241,10 +358,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
241
358
  emit("reset");
242
359
  }
243
360
  function getShowColumn(column) {
244
- var _a3, _b2;
245
- if (!((_a3 = props.showColumnNames) == null ? void 0 : _a3.length)) {
361
+ var _a, _b;
362
+ if (!((_a = props.showColumnNames) == null ? void 0 : _a.length)) {
246
363
  const isEdit = ["editable", "required"].includes(column.field);
247
- if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b2 = props.hideExpressionConfig) == null ? void 0 : _b2.show))
364
+ if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b = props.hideExpressionConfig) == null ? void 0 : _b.show))
248
365
  return false;
249
366
  return !column.hide;
250
367
  }
@@ -257,7 +374,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
257
374
  }));
258
375
  Object.keys(fieldsMapping).forEach((key) => {
259
376
  cloneFields.forEach((item) => {
260
- var _a3;
377
+ var _a;
261
378
  if (props.type == "old") {
262
379
  if (Reflect.has(item, key)) {
263
380
  if (key == "isFixed") {
@@ -278,7 +395,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
278
395
  item.bold = false;
279
396
  }
280
397
  item.draggable = isDraggable(item) ? true : false;
281
- if (isArray((_a3 = item.relation) == null ? void 0 : _a3.fieldList)) {
398
+ if (isArray((_a = item.relation) == null ? void 0 : _a.fieldList)) {
282
399
  item.relation.fieldList.forEach((v) => {
283
400
  if (v.isSearch == 1) {
284
401
  v.checked = true;
@@ -336,8 +453,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
336
453
  function handleSearch() {
337
454
  const keywordChanged = searchData.keyword !== keyword.value;
338
455
  let idx = !keyword.value ? 0 : fieldList.value.findIndex((field, i) => {
339
- var _a3;
340
- if ((_a3 = field.title) == null ? void 0 : _a3.includes(keyword.value)) {
456
+ var _a;
457
+ if ((_a = field.title) == null ? void 0 : _a.includes(keyword.value)) {
341
458
  if (!keywordChanged)
342
459
  return i > searchData.idx;
343
460
  return true;
@@ -354,8 +471,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
354
471
  } : {});
355
472
  }
356
473
  function isHighlight(element) {
357
- var _a3;
358
- return !!keyword.value && ((_a3 = element.title) == null ? void 0 : _a3.includes(keyword.value));
474
+ var _a;
475
+ return !!keyword.value && ((_a = element.title) == null ? void 0 : _a.includes(keyword.value));
359
476
  }
360
477
  function handleAllCheck(checked, field) {
361
478
  fieldList.value.forEach((fieldItem) => {
@@ -372,15 +489,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
372
489
  column.checkedAll = !noAllCheck;
373
490
  }
374
491
  function initColumns() {
375
- var _a3, _b2, _c2, _d2;
492
+ var _a, _b;
376
493
  columns.value = cloneDeep(defaultColumns);
377
- if ((_a3 = props.showColumnNames) == null ? void 0 : _a3.length) {
494
+ if ((_a = props.showColumnNames) == null ? void 0 : _a.length) {
378
495
  columns.value = defaultColumns.filter((column) => {
379
- var _a4, _b3;
380
- return column.field === "title" || ((_b3 = (_a4 = props.showColumnNames) == null ? void 0 : _a4.includes) == null ? void 0 : _b3.call(_a4, column.field));
496
+ var _a2, _b2;
497
+ return column.field === "title" || ((_b2 = (_a2 = props.showColumnNames) == null ? void 0 : _a2.includes) == null ? void 0 : _b2.call(_a2, column.field));
381
498
  });
382
499
  }
383
- if ((_b2 = props.customColumns) == null ? void 0 : _b2.length) {
500
+ if ((_b = props.customColumns) == null ? void 0 : _b.length) {
384
501
  props.customColumns.forEach((column) => {
385
502
  const {
386
503
  positionField
@@ -395,14 +512,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
395
512
  }
396
513
  if (props.fieldDescribeMode === "column" && hasFieldDescribe.value) {
397
514
  columns.value.push({
398
- title: ((_c2 = window.getLanguageByCode) == null ? void 0 : _c2.call(window, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0",
515
+ title: function() {
516
+ var _a2, _b2, _c;
517
+ try {
518
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.260")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0";
519
+ } catch (e) {
520
+ return "\u5B57\u6BB5\u63CF\u8FF0";
521
+ }
522
+ }(),
399
523
  type: "text",
400
524
  field: "feildDescribe"
401
525
  });
402
526
  }
403
527
  if (props.showSeq) {
404
528
  columns.value.splice(1, 0, {
405
- title: ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.249")) || "\u6392\u5E8F",
529
+ title: function() {
530
+ var _a2, _b2, _c;
531
+ try {
532
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.249")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.249")) || "\u6392\u5E8F";
533
+ } catch (e) {
534
+ return "\u6392\u5E8F";
535
+ }
536
+ }(),
406
537
  type: "text",
407
538
  field: "seq"
408
539
  });
@@ -424,8 +555,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
424
555
  return true;
425
556
  }
426
557
  watch([() => props.fields, () => {
427
- var _a3;
428
- return (_a3 = props.showColumnNames) == null ? void 0 : _a3.length;
558
+ var _a;
559
+ return (_a = props.showColumnNames) == null ? void 0 : _a.length;
429
560
  }], ([fields, showColumnNames]) => {
430
561
  if (fields.length > 0) {
431
562
  newFields.value = initFields();
@@ -439,7 +570,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
439
570
  getTableFields
440
571
  });
441
572
  return (_ctx, _cache) => {
442
- var _a3;
443
573
  return openBlock(), createElementBlock("div", _hoisted_1, [__props.showSearch ? (openBlock(), createBlock(unref(NInput), {
444
574
  key: 0,
445
575
  class: "main-wrapper__search-wrapper",
@@ -448,7 +578,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
448
578
  valueModifiers: {
449
579
  trim: true
450
580
  },
451
- placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898",
581
+ placeholder: function() {
582
+ var _a, _b, _c;
583
+ try {
584
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.245")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
585
+ } catch (e) {
586
+ return "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
587
+ }
588
+ }(),
452
589
  onKeydown: withKeys(withModifiers(handleSearch, ["prevent"]), ["enter"])
453
590
  }, null, 8, ["value", "onKeydown"])) : createCommentVNode("v-if", true), createElementVNode("div", {
454
591
  class: "main-wrapper__table",
@@ -534,16 +671,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
534
671
  "margin-right": "8px"
535
672
  }
536
673
  }, {
537
- default: withCtx(() => {
538
- var _a4;
539
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E")];
540
- }),
674
+ default: withCtx(() => [createTextVNode(function() {
675
+ var _a, _b, _c;
676
+ try {
677
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.242")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
678
+ } catch (e) {
679
+ return "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
680
+ }
681
+ }())]),
541
682
  _: 1
542
683
  })]),
543
- default: withCtx(() => {
544
- var _a4;
545
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F")];
546
- }),
684
+ default: withCtx(() => [createTextVNode(function() {
685
+ var _a, _b, _c;
686
+ try {
687
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.243")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
688
+ } catch (e) {
689
+ return "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
690
+ }
691
+ }())]),
547
692
  _: 1
548
693
  }), createVNode(unref(NButton), {
549
694
  style: {
@@ -551,19 +696,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
551
696
  },
552
697
  onClick: onCancle
553
698
  }, {
554
- default: withCtx(() => {
555
- var _a4;
556
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || "\u53D6\u6D88")];
557
- }),
699
+ default: withCtx(() => [createTextVNode(function() {
700
+ var _a, _b, _c;
701
+ try {
702
+ 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";
703
+ } catch (e) {
704
+ return "\u53D6\u6D88";
705
+ }
706
+ }())]),
558
707
  _: 1
559
708
  }), createVNode(unref(NButton), {
560
709
  type: "primary",
561
710
  onClick: handleFieldSave
562
711
  }, {
563
- default: withCtx(() => {
564
- var _a4;
565
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
566
- }),
712
+ default: withCtx(() => [createTextVNode(function() {
713
+ var _a, _b, _c;
714
+ try {
715
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
716
+ } catch (e) {
717
+ return "\u4FDD\u5B58";
718
+ }
719
+ }())]),
567
720
  _: 1
568
721
  })])])) : createCommentVNode("v-if", true)]);
569
722
  };
@@ -76,32 +76,66 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  return rest;
77
77
  });
78
78
  const tabList = computed(() => {
79
- var _a, _b, _c, _d, _e;
80
79
  const list = [{
81
80
  name: "field",
82
- tab: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E",
81
+ tab: function() {
82
+ var _a, _b, _c;
83
+ try {
84
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E";
85
+ } catch (e) {
86
+ return "\u5B57\u6BB5\u8BBE\u7F6E";
87
+ }
88
+ }(),
83
89
  render: () => h(FieldSet)
84
90
  }, {
85
91
  name: "fieldColor",
86
- tab: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272",
92
+ tab: function() {
93
+ var _a, _b, _c;
94
+ try {
95
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.262")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272";
96
+ } catch (e) {
97
+ return "\u5B57\u6BB5\u989C\u8272";
98
+ }
99
+ }(),
87
100
  render: () => h(FieldColor, {
88
101
  isFieldColor: true,
89
102
  defaultList: props.fieldColorList
90
103
  })
91
104
  }, {
92
105
  name: "highlightRow",
93
- tab: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.263")) || "\u9AD8\u4EAE\u884C",
106
+ tab: function() {
107
+ var _a, _b, _c;
108
+ try {
109
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.263")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.263")) || "\u9AD8\u4EAE\u884C";
110
+ } catch (e) {
111
+ return "\u9AD8\u4EAE\u884C";
112
+ }
113
+ }(),
94
114
  render: () => h(FieldColor, {
95
115
  isFieldColor: false,
96
116
  defaultList: props.highlightRowColorList
97
117
  })
98
118
  }, {
99
119
  name: "tableStyle",
100
- tab: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F",
120
+ tab: function() {
121
+ var _a, _b, _c;
122
+ try {
123
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.264")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F";
124
+ } catch (e) {
125
+ return "\u8868\u683C\u6837\u5F0F";
126
+ }
127
+ }(),
101
128
  render: () => h(TableStyle)
102
129
  }, {
103
130
  name: "fieldFilter",
104
- tab: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009",
131
+ tab: function() {
132
+ var _a, _b, _c;
133
+ try {
134
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.265")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009";
135
+ } catch (e) {
136
+ return "\u9AD8\u7EA7\u7B5B\u9009";
137
+ }
138
+ }(),
105
139
  render: () => h(FieldFilter, {
106
140
  defaultList: props.fieldFilterList,
107
141
  showFilterColumnNames: props.showFilterColumnNames
@@ -56,15 +56,42 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  expose,
57
57
  emit
58
58
  }) {
59
- var _a, _b, _c, _d;
60
59
  const props = __props;
61
60
  const tableDemoList = ref([{
62
- title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || "\u6837\u5F0F\u4E00",
63
- label: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF",
61
+ title: function() {
62
+ var _a, _b, _c;
63
+ try {
64
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.266")) || "\u6837\u5F0F\u4E00";
65
+ } catch (e) {
66
+ return "\u6837\u5F0F\u4E00";
67
+ }
68
+ }(),
69
+ label: function() {
70
+ var _a, _b, _c;
71
+ try {
72
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.267")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF";
73
+ } catch (e) {
74
+ return "\u65E0\u5217\u5206\u5272\u7EBF";
75
+ }
76
+ }(),
64
77
  border: false
65
78
  }, {
66
- title: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.268")) || "\u6837\u5F0F\u4E8C",
67
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF",
79
+ title: function() {
80
+ var _a, _b, _c;
81
+ try {
82
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.268")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.268")) || "\u6837\u5F0F\u4E8C";
83
+ } catch (e) {
84
+ return "\u6837\u5F0F\u4E8C";
85
+ }
86
+ }(),
87
+ label: function() {
88
+ var _a, _b, _c;
89
+ try {
90
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.269")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF";
91
+ } catch (e) {
92
+ return "\u5217\u5206\u5272\u7EBF";
93
+ }
94
+ }(),
68
95
  border: true
69
96
  }]);
70
97
  const tableStyle = reactive(props.tableStyleConfig);
@@ -127,19 +154,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
127
154
  },
128
155
  onClick: onCancle
129
156
  }, {
130
- default: withCtx(() => {
131
- var _a2;
132
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
133
- }),
157
+ default: withCtx(() => [createTextVNode(function() {
158
+ var _a, _b, _c;
159
+ try {
160
+ 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";
161
+ } catch (e) {
162
+ return "\u53D6\u6D88";
163
+ }
164
+ }())]),
134
165
  _: 1
135
166
  }), createVNode(unref(NButton), {
136
167
  type: "primary",
137
168
  onClick: onSave
138
169
  }, {
139
- default: withCtx(() => {
140
- var _a2;
141
- return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
142
- }),
170
+ default: withCtx(() => [createTextVNode(function() {
171
+ var _a, _b, _c;
172
+ try {
173
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
174
+ } catch (e) {
175
+ return "\u4FDD\u5B58";
176
+ }
177
+ }())]),
143
178
  _: 1
144
179
  })])]);
145
180
  };