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
@@ -1,682 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import { QueryData, QueryRecord, CommandItem, QueryPrompt } from './types';
3
- import { AnyObject } from '../../../shared/types';
4
- declare const _default: import("vue").DefineComponent<{
5
- token: {
6
- type: StringConstructor;
7
- required: true;
8
- };
9
- userAvatar: {
10
- type: StringConstructor;
11
- };
12
- defaultShortcutList: {
13
- type: PropType<string[]>;
14
- };
15
- shortcutList: {
16
- type: PropType<(string | AnyObject)[]>;
17
- };
18
- queryData: {
19
- type: PropType<QueryData>;
20
- };
21
- queryRecord: {
22
- type: PropType<QueryRecord>;
23
- };
24
- hideInput: {
25
- type: BooleanConstructor;
26
- };
27
- uiStyle: {
28
- type: StringConstructor;
29
- default: string;
30
- };
31
- audioTimed: {
32
- type: NumberConstructor;
33
- default: number;
34
- };
35
- commandList: {
36
- type: PropType<CommandItem[]>;
37
- };
38
- queryPrompt: {
39
- type: PropType<QueryPrompt>;
40
- };
41
- patientInfo: {
42
- type: PropType<Partial<{
43
- info: AnyObject;
44
- queryPatient: (props: {
45
- keyword: string;
46
- businessType: string;
47
- }) => Promise<AnyObject[]>;
48
- }>>;
49
- };
50
- appId: {
51
- type: StringConstructor;
52
- };
53
- immediatelyRecording: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- isStreamingOutput: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- showLBtn: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- disabled: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- appCode: {
70
- type: StringConstructor;
71
- };
72
- sessionId: {
73
- type: StringConstructor;
74
- };
75
- prologue: {
76
- type: StringConstructor;
77
- };
78
- configs: {
79
- type: PropType<AnyObject>;
80
- };
81
- bpmnProcessIdAndStartToken: {
82
- type: StringConstructor;
83
- };
84
- mobile: {
85
- type: BooleanConstructor;
86
- default: boolean;
87
- };
88
- }, {
89
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
90
- token: {
91
- type: StringConstructor;
92
- required: true;
93
- };
94
- userAvatar: {
95
- type: StringConstructor;
96
- };
97
- defaultShortcutList: {
98
- type: PropType<string[]>;
99
- };
100
- shortcutList: {
101
- type: PropType<(string | AnyObject)[]>;
102
- };
103
- queryData: {
104
- type: PropType<QueryData>;
105
- };
106
- queryRecord: {
107
- type: PropType<QueryRecord>;
108
- };
109
- hideInput: {
110
- type: BooleanConstructor;
111
- };
112
- uiStyle: {
113
- type: StringConstructor;
114
- default: string;
115
- };
116
- audioTimed: {
117
- type: NumberConstructor;
118
- default: number;
119
- };
120
- commandList: {
121
- type: PropType<CommandItem[]>;
122
- };
123
- queryPrompt: {
124
- type: PropType<QueryPrompt>;
125
- };
126
- patientInfo: {
127
- type: PropType<Partial<{
128
- info: AnyObject;
129
- queryPatient: (props: {
130
- keyword: string;
131
- businessType: string;
132
- }) => Promise<AnyObject[]>;
133
- }>>;
134
- };
135
- appId: {
136
- type: StringConstructor;
137
- };
138
- immediatelyRecording: {
139
- type: BooleanConstructor;
140
- default: boolean;
141
- };
142
- isStreamingOutput: {
143
- type: BooleanConstructor;
144
- default: boolean;
145
- };
146
- showLBtn: {
147
- type: BooleanConstructor;
148
- default: boolean;
149
- };
150
- disabled: {
151
- type: BooleanConstructor;
152
- default: boolean;
153
- };
154
- appCode: {
155
- type: StringConstructor;
156
- };
157
- sessionId: {
158
- type: StringConstructor;
159
- };
160
- prologue: {
161
- type: StringConstructor;
162
- };
163
- configs: {
164
- type: PropType<AnyObject>;
165
- };
166
- bpmnProcessIdAndStartToken: {
167
- type: StringConstructor;
168
- };
169
- mobile: {
170
- type: BooleanConstructor;
171
- default: boolean;
172
- };
173
- }>> & {
174
- "onButton-click"?: ((...args: any[]) => any) | undefined;
175
- onProgram?: ((...args: any[]) => any) | undefined;
176
- }>>;
177
- emit: (event: "button-click" | "program", ...args: any[]) => void;
178
- data: {
179
- chatMainRef: import("vue").Ref<any>;
180
- patientInfo: import("vue").Ref<any>;
181
- configs: import("vue").Ref<any>;
182
- queryPrompt: import("vue").Ref<any>;
183
- queryData: import("vue").Ref<any>;
184
- queryRecord: import("vue").Ref<any>;
185
- defaultShortcutList: import("vue").Ref<any>;
186
- hideInput: import("vue").Ref<any>;
187
- shortcutList: import("vue").Ref<any>;
188
- audioTimed: import("vue").Ref<any>;
189
- commandList: import("vue").Ref<any>;
190
- appId: import("vue").Ref<any>;
191
- immediatelyRecording: import("vue").Ref<any>;
192
- isStreamingOutput: import("vue").Ref<any>;
193
- showLBtn: import("vue").Ref<any>;
194
- disabled: import("vue").Ref<any>;
195
- appCode: import("vue").Ref<any>;
196
- prologue: import("vue").Ref<any>;
197
- mobile: import("vue").Ref<any>;
198
- bpmnProcessIdAndStartToken: import("vue").Ref<any>;
199
- cssVars: import("vue").ComputedRef<AnyObject>;
200
- state: AnyObject;
201
- isSmall: import("vue").ComputedRef<boolean>;
202
- isDefault: import("vue").ComputedRef<boolean>;
203
- vaa07: import("vue").ComputedRef<any>;
204
- sessionId: import("vue").ComputedRef<any>;
205
- axiosInstance: import("axios").AxiosInstance;
206
- $dialog: import("naive-ui").DialogApi;
207
- emit: (event: "button-click" | "program", ...args: any[]) => void;
208
- appendMessage: (item: AnyObject) => Promise<void>;
209
- sendMessage: (params?: AnyObject) => Promise<void>;
210
- toFinishProgram: (bpmnProcessId: string) => void;
211
- toNext: (bpmnProcessId?: string | undefined, variables?: any) => void;
212
- toReplyAiConditions: (params?: AnyObject | undefined) => void;
213
- formatProcessInfo: (result: string) => void;
214
- };
215
- cssVars: import("vue").ComputedRef<AnyObject>;
216
- state: AnyObject;
217
- chatMainRef: import("vue").Ref<any>;
218
- sessionId: import("vue").ComputedRef<any>;
219
- onClose: () => void;
220
- NIcon: any;
221
- NButton: any;
222
- NDialogProvider: any;
223
- ChatMain: import("vue").DefineComponent<{}, () => JSX.Element[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
224
- ChatFooter: import("vue").DefineComponent<{}, {
225
- state: AnyObject;
226
- shortcutList: import("vue").Ref<any>;
227
- getShortcutName: (item: string | AnyObject) => any;
228
- isAllDisabled: import("vue").ComputedRef<any>;
229
- isStreamingOutput: import("vue").Ref<any>;
230
- handleShortcut: (item: string | AnyObject) => void;
231
- showPopover: import("vue").Ref<boolean>;
232
- handleKeyDown: (event: KeyboardEvent) => void;
233
- handleInput: (value: string) => void;
234
- btnDisabled: import("vue").ComputedRef<any>;
235
- commandList: import("vue").Ref<any>;
236
- showAudio: import("vue").Ref<boolean>;
237
- handleSend: () => void;
238
- isDefault: import("vue").ComputedRef<boolean>;
239
- breadcrumb: import("vue").Ref<{
240
- [x: string]: any;
241
- shortcutTitle: string;
242
- shortcutId: string;
243
- shortcutDescription?: string | undefined;
244
- children?: any[] | undefined;
245
- }[]>;
246
- currentShortcutId: import("vue").Ref<string>;
247
- currentCommand: import("vue").Ref<{
248
- [x: string]: any;
249
- shortcutTitle: string;
250
- shortcutId: string;
251
- shortcutDescription?: string | undefined;
252
- children?: any[] | undefined;
253
- }[]>;
254
- clickMenu: (menu: CommandItem) => void;
255
- audioTimed: import("vue").Ref<any>;
256
- showLBtn: import("vue").Ref<any>;
257
- isSmall: import("vue").ComputedRef<boolean>;
258
- cssVars: import("vue").ComputedRef<AnyObject>;
259
- railStyle: ({ focused, checked }: {
260
- focused: boolean;
261
- checked: boolean;
262
- }) => import("vue").CSSProperties;
263
- inputRef: import("vue").Ref<any>;
264
- placeholder: import("vue").ComputedRef<"请向我提问,Shift+Enter换行" | "请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
265
- audioSdk: import("../..").CAudioSDK;
266
- recorderStart: () => Promise<void>;
267
- showPrompt: import("vue").Ref<boolean>;
268
- showPatient: import("vue").Ref<boolean>;
269
- showMagicWand: import("vue").ComputedRef<boolean>;
270
- patient: import("vue").ComputedRef<string>;
271
- handleBack: () => void;
272
- updateShow: (value: boolean) => void;
273
- NButton: any;
274
- NInput: any;
275
- NIcon: any;
276
- NPopover: any;
277
- NBreadcrumb: any;
278
- NBreadcrumbItem: any;
279
- NTag: any;
280
- NSwitch: any;
281
- PaperPlane: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
282
- ChevronBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
283
- ChevronForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
284
- SparklesSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
285
- PeopleOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
286
- ChatPrompt: import("vue").DefineComponent<{
287
- show: {
288
- type: BooleanConstructor;
289
- };
290
- }, {
291
- pageInfo: {
292
- page: number;
293
- hasMore: boolean;
294
- };
295
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
296
- show: {
297
- type: BooleanConstructor;
298
- };
299
- }>> & {
300
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
301
- }>>;
302
- emit: (event: "update:show", ...args: any[]) => void;
303
- state: AnyObject;
304
- queryPrompt: import("vue").Ref<any>;
305
- listRef: import("vue").Ref<any>;
306
- keyword: import("vue").Ref<string>;
307
- list: import("vue").Ref<AnyObject[]>;
308
- showNoData: import("vue").ComputedRef<boolean>;
309
- handleInput: () => void;
310
- handleSearch: () => Promise<void>;
311
- resetAndSearch: () => void;
312
- select: (item: AnyObject) => void;
313
- NDrawer: any;
314
- NDrawerContent: any;
315
- NIcon: any;
316
- NInput: any;
317
- NButton: any;
318
- CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
319
- SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
320
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
321
- show: {
322
- type: BooleanConstructor;
323
- };
324
- }>> & {
325
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
326
- }, {
327
- show: boolean;
328
- }>;
329
- ChatPatient: import("vue").DefineComponent<{
330
- show: {
331
- type: BooleanConstructor;
332
- };
333
- }, {
334
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
335
- show: {
336
- type: BooleanConstructor;
337
- };
338
- }>> & {
339
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
340
- }>>;
341
- emit: (event: "update:show", ...args: any[]) => void;
342
- state: AnyObject;
343
- patientInfo: import("vue").Ref<any>;
344
- formValue: {
345
- businessType: string;
346
- vaa01: null;
347
- bck03a: string;
348
- };
349
- rules: {
350
- businessType: {
351
- required: boolean;
352
- trigger: string;
353
- message: string;
354
- };
355
- vaa01: {
356
- required: boolean;
357
- trigger: string[];
358
- message: string;
359
- };
360
- };
361
- options: import("vue").Ref<AnyObject[]>;
362
- formRef: import("vue").Ref<any>;
363
- renderLabel: (option: AnyObject) => string;
364
- handleUpdateValue: (value: string, option: import("naive-ui").SelectOption) => void;
365
- handleSearch: (keyword: string) => Promise<void>;
366
- handleBusinessTypeUpdate: () => void;
367
- handleValidateClick: (e: MouseEvent) => void;
368
- NDrawer: any;
369
- NDrawerContent: any;
370
- NForm: any;
371
- NFormItem: any;
372
- NButton: any;
373
- NRadioGroup: any;
374
- NRadio: any;
375
- NSelect: any;
376
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
377
- show: {
378
- type: BooleanConstructor;
379
- };
380
- }>> & {
381
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
382
- }, {
383
- show: boolean;
384
- }>;
385
- ChatAudio: import("vue").DefineComponent<{
386
- show: {
387
- type: BooleanConstructor;
388
- };
389
- }, {
390
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
391
- show: {
392
- type: BooleanConstructor;
393
- };
394
- }>> & {
395
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
396
- }>>;
397
- emit: (event: "update:show", ...args: any[]) => void;
398
- audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
399
- isWarning: import("vue").Ref<boolean>;
400
- isActive: import("vue").Ref<boolean>;
401
- handlePlay: () => void;
402
- handlePause: () => void;
403
- handleEnd: (trigger?: string | undefined) => Promise<void>;
404
- formattedTime: import("vue").ComputedRef<string>;
405
- warnTime: import("vue").Ref<number>;
406
- tip: import("vue").ComputedRef<"未识别录音" | "正在录音中..." | "录音已暂停">;
407
- NSpace: any;
408
- NButton: any;
409
- NIcon: any;
410
- StopCircleOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
411
- MicOff: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
412
- AlertCircle: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
413
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
414
- show: {
415
- type: BooleanConstructor;
416
- };
417
- }>> & {
418
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
419
- }, {
420
- show: boolean;
421
- }>;
422
- MicroPhone: any;
423
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
424
- ChatRight: import("vue").DefineComponent<{}, {
425
- medicalLabel: {
426
- key: string;
427
- title: string;
428
- }[];
429
- state: AnyObject;
430
- configs: import("vue").Ref<any>;
431
- sendMessage: (params?: AnyObject) => Promise<void>;
432
- isStreamingOutput: import("vue").Ref<any>;
433
- toolbarConfig: {
434
- toolbarKeys: never[];
435
- };
436
- content: import("vue").Ref<string>;
437
- saveDisabled: import("vue").ComputedRef<any>;
438
- handleSave: () => Promise<void>;
439
- handleDelete: () => Promise<void>;
440
- createMedicalRecord: () => void;
441
- extractContentByTitle: () => AnyObject;
442
- NSpace: any;
443
- NButton: any;
444
- Editor: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
445
- editorConfig: {
446
- type: ObjectConstructor;
447
- };
448
- toolbarConfig: {
449
- type: ObjectConstructor;
450
- };
451
- uploadImgUrl: {
452
- type: StringConstructor;
453
- };
454
- isDisabled: {
455
- type: BooleanConstructor;
456
- default: boolean;
457
- };
458
- }, {
459
- editorRef: import("vue").ShallowRef<any>;
460
- renderVN: () => JSX.Element;
461
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
462
- editorConfig: {
463
- type: ObjectConstructor;
464
- };
465
- toolbarConfig: {
466
- type: ObjectConstructor;
467
- };
468
- uploadImgUrl: {
469
- type: StringConstructor;
470
- };
471
- isDisabled: {
472
- type: BooleanConstructor;
473
- default: boolean;
474
- };
475
- }>> & {}, {
476
- isDisabled: boolean;
477
- }>>;
478
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
479
- ChatMainDefault: import("vue").DefineComponent<{}, () => JSX.Element[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
480
- CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
481
- MobileChatFooter: import("vue").DefineComponent<{}, {
482
- state: AnyObject;
483
- shortcutList: import("vue").Ref<any>;
484
- getShortcutName: (item: string | AnyObject) => any;
485
- isAllDisabled: import("vue").ComputedRef<any>;
486
- isStreamingOutput: import("vue").Ref<any>;
487
- handleShortcut: (item: string | AnyObject) => void;
488
- showPopover: import("vue").Ref<boolean>;
489
- handleKeyDown: (event: KeyboardEvent) => void;
490
- handleInput: (value: string) => void;
491
- btnDisabled: import("vue").ComputedRef<any>;
492
- showAudio: import("vue").Ref<boolean>;
493
- breadcrumb: import("vue").Ref<{
494
- [x: string]: any;
495
- shortcutTitle: string;
496
- shortcutId: string;
497
- shortcutDescription?: string | undefined;
498
- children?: any[] | undefined;
499
- }[]>;
500
- currentShortcutId: import("vue").Ref<string>;
501
- currentCommand: import("vue").Ref<{
502
- [x: string]: any;
503
- shortcutTitle: string;
504
- shortcutId: string;
505
- shortcutDescription?: string | undefined;
506
- children?: any[] | undefined;
507
- }[]>;
508
- commandList: import("vue").Ref<any>;
509
- clickMenu: (menu: CommandItem) => void;
510
- handleBack: () => void;
511
- AudioStateMap: {
512
- INPUT: string;
513
- AUDIO: string;
514
- AUDIO_DOING: string;
515
- AUDIO_CANCEL: string;
516
- };
517
- audioState: any;
518
- showState: {
519
- show: boolean;
520
- };
521
- footerRef: import("vue").Ref<HTMLDivElement | undefined>;
522
- footerRect: null;
523
- onBarTouchStart: () => void;
524
- onFooterTouchMove: (event: TouchEvent) => void;
525
- onFooterTouchEnd: () => void;
526
- onFooterTouchCancel: () => void;
527
- audioChartRef: import("vue").Ref<HTMLDivElement | undefined>;
528
- isWarning: import("vue").Ref<boolean>;
529
- isActive: import("vue").Ref<boolean>;
530
- handlePlay: () => void;
531
- handlePause: () => void;
532
- handleEnd: (trigger?: string | undefined) => Promise<void>;
533
- handleCancel: () => void;
534
- formattedTime: import("vue").ComputedRef<string>;
535
- warnTime: import("vue").Ref<number>;
536
- audioSdk: import("../..").CAudioSDK;
537
- ChevronBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
538
- ChevronForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
539
- NBreadcrumb: any;
540
- NBreadcrumbItem: any;
541
- NButton: any;
542
- NIcon: any;
543
- NInput: any;
544
- NPopover: any;
545
- MobileChatAudio: import("vue").DefineComponent<{
546
- show: {
547
- type: BooleanConstructor;
548
- };
549
- }, {
550
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
551
- show: {
552
- type: BooleanConstructor;
553
- };
554
- }>> & {
555
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
556
- }>>;
557
- emit: (event: "update:show", ...args: any[]) => void;
558
- audioChatRef: import("vue").Ref<HTMLDivElement | undefined>;
559
- isWarning: import("vue").Ref<boolean>;
560
- isActive: import("vue").Ref<boolean>;
561
- handlePlay: () => void;
562
- handlePause: () => void;
563
- handleEnd: (trigger?: string | undefined) => Promise<void>;
564
- formattedTime: import("vue").ComputedRef<string>;
565
- warnTime: import("vue").Ref<number>;
566
- audioSdk: import("../..").CAudioSDK;
567
- audioSdkContentRef: import("vue").Ref<string>;
568
- tip: import("vue").ComputedRef<"未识别录音" | "录音已暂停" | "正在听...">;
569
- stateText: import("vue").ComputedRef<"" | "已暂停">;
570
- NButton: any;
571
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
572
- show: {
573
- type: BooleanConstructor;
574
- };
575
- }>> & {
576
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
577
- }, {
578
- show: boolean;
579
- }>;
580
- AddIcon: any;
581
- MicroPhone: any;
582
- AudioIcon: any;
583
- KeyboardIcon: any;
584
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
585
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("button-click" | "program")[], "button-click" | "program", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
586
- token: {
587
- type: StringConstructor;
588
- required: true;
589
- };
590
- userAvatar: {
591
- type: StringConstructor;
592
- };
593
- defaultShortcutList: {
594
- type: PropType<string[]>;
595
- };
596
- shortcutList: {
597
- type: PropType<(string | AnyObject)[]>;
598
- };
599
- queryData: {
600
- type: PropType<QueryData>;
601
- };
602
- queryRecord: {
603
- type: PropType<QueryRecord>;
604
- };
605
- hideInput: {
606
- type: BooleanConstructor;
607
- };
608
- uiStyle: {
609
- type: StringConstructor;
610
- default: string;
611
- };
612
- audioTimed: {
613
- type: NumberConstructor;
614
- default: number;
615
- };
616
- commandList: {
617
- type: PropType<CommandItem[]>;
618
- };
619
- queryPrompt: {
620
- type: PropType<QueryPrompt>;
621
- };
622
- patientInfo: {
623
- type: PropType<Partial<{
624
- info: AnyObject;
625
- queryPatient: (props: {
626
- keyword: string;
627
- businessType: string;
628
- }) => Promise<AnyObject[]>;
629
- }>>;
630
- };
631
- appId: {
632
- type: StringConstructor;
633
- };
634
- immediatelyRecording: {
635
- type: BooleanConstructor;
636
- default: boolean;
637
- };
638
- isStreamingOutput: {
639
- type: BooleanConstructor;
640
- default: boolean;
641
- };
642
- showLBtn: {
643
- type: BooleanConstructor;
644
- default: boolean;
645
- };
646
- disabled: {
647
- type: BooleanConstructor;
648
- default: boolean;
649
- };
650
- appCode: {
651
- type: StringConstructor;
652
- };
653
- sessionId: {
654
- type: StringConstructor;
655
- };
656
- prologue: {
657
- type: StringConstructor;
658
- };
659
- configs: {
660
- type: PropType<AnyObject>;
661
- };
662
- bpmnProcessIdAndStartToken: {
663
- type: StringConstructor;
664
- };
665
- mobile: {
666
- type: BooleanConstructor;
667
- default: boolean;
668
- };
669
- }>> & {
670
- "onButton-click"?: ((...args: any[]) => any) | undefined;
671
- onProgram?: ((...args: any[]) => any) | undefined;
672
- }, {
673
- disabled: boolean;
674
- hideInput: boolean;
675
- uiStyle: string;
676
- audioTimed: number;
677
- immediatelyRecording: boolean;
678
- isStreamingOutput: boolean;
679
- showLBtn: boolean;
680
- mobile: boolean;
681
- }>;
682
- export default _default;
@@ -1,6 +0,0 @@
1
- import _sfc_main from './Index.vue2.js';
2
- import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
3
-
4
- var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "Index.vue"]]);
5
-
6
- export { script as default };