cnhis-design-vue 3.1.55-release.1 → 3.1.56-beta.7

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 (374) hide show
  1. package/es/components/annotation-edit/index.d.ts +19 -1
  2. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +19 -1
  3. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  4. package/es/components/annotation-edit/src/type.d.ts +4 -0
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +21 -7
  6. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  7. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +14 -0
  8. package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
  9. package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +5 -2
  10. package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -1
  11. package/es/components/audio-sdk/style/index.css +1 -1
  12. package/es/components/base-search/index.d.ts +15 -1
  13. package/es/components/base-search/src/index.vue.d.ts +18 -4
  14. package/es/components/base-search/src/index.vue2.js +1 -1
  15. package/es/components/base-search/style/index.css +1 -1
  16. package/es/components/big-table/index.d.ts +22 -22
  17. package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
  18. package/es/components/big-table/src/bigTableProps.d.ts +1 -1
  19. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
  20. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
  21. package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
  22. package/es/components/big-table/src/constants/index.d.ts +1 -1
  23. package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
  24. package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
  25. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  26. package/es/components/big-table/src/utils.d.ts +1 -1
  27. package/es/components/biunique-chat/index.d.ts +14 -14
  28. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
  29. package/es/components/biunique-chat/src/api/index.d.ts +1 -1
  30. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
  31. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
  32. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
  33. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
  34. package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
  35. package/es/components/body-select/index.d.ts +5 -5
  36. package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
  37. package/es/components/body-select/src/index.vue.d.ts +1 -1
  38. package/es/components/bpmn-workflow/index.d.ts +1 -1
  39. package/es/components/button-print/index.d.ts +21 -21
  40. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  41. package/es/components/button-print/src/api.d.ts +1 -1
  42. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
  43. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  44. package/es/components/button-print/src/utils/print.d.ts +5 -2
  45. package/es/components/button-print/src/utils/print.js +1 -1
  46. package/es/components/callback/index.d.ts +1 -1
  47. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
  48. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  49. package/es/components/callback/src/components/render/popupMaps.d.ts +74 -166
  50. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
  52. package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
  53. package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
  54. package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
  55. package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
  56. package/es/components/classification/index.d.ts +40 -42
  57. package/es/components/classification/src/components/search-filter/index.vue.d.ts +14 -0
  58. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  59. package/es/components/classification/src/components/set-classification/index.vue.d.ts +33 -35
  60. package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
  61. package/es/components/classification/src/components/table-modal/index.vue.d.ts +10 -21
  62. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  63. package/es/components/classification/src/index.vue.d.ts +33 -35
  64. package/es/components/classification/src/index.vue2.js +1 -1
  65. package/es/components/config-provider/index.d.ts +1 -1
  66. package/es/components/date-picker/index.d.ts +2 -2
  67. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  68. package/es/components/editor/index.d.ts +1 -1
  69. package/es/components/expand-field/index.d.ts +29 -29
  70. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
  71. package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
  72. package/es/components/expand-field/src/constants/index.d.ts +1 -1
  73. package/es/components/expand-field/src/index.vue.d.ts +2 -2
  74. package/es/components/fabric-chart/index.d.ts +10 -8
  75. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -3
  76. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  77. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  78. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
  79. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  80. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
  81. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  82. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
  83. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
  84. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  85. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
  86. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  87. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
  88. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  89. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
  90. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  91. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
  92. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
  93. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  94. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
  95. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  96. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
  97. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
  98. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
  99. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  100. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
  101. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
  102. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
  103. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  104. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
  105. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  106. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
  107. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  108. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
  109. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
  110. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
  111. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  112. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  113. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
  114. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  115. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  116. package/es/components/field-set/index.d.ts +15 -15
  117. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  118. package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
  119. package/es/components/field-set/src/types/index.d.ts +1 -1
  120. package/es/components/field-set/src/utils/index.d.ts +3 -3
  121. package/es/components/form-config/index.d.ts +322 -475
  122. package/es/components/form-config/src/FormConfig.vue.d.ts +448 -601
  123. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +40 -132
  124. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  125. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +214 -291
  126. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  127. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
  128. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
  129. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
  130. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
  131. package/es/components/form-config/src/constants/index.d.ts +2 -2
  132. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
  133. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  134. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
  135. package/es/components/form-config/src/types/index.d.ts +2 -2
  136. package/es/components/form-config/src/utils/index.d.ts +3 -3
  137. package/es/components/form-render/index.d.ts +69 -161
  138. package/es/components/form-render/src/FormRender.vue.d.ts +39 -131
  139. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  140. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +92 -184
  141. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
  142. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  143. package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
  144. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
  145. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
  146. package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
  147. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  148. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
  149. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
  150. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  151. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  152. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  153. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
  154. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  155. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  156. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
  157. package/es/components/form-render/src/constants/index.d.ts +6 -5
  158. package/es/components/form-render/src/constants/index.js +1 -1
  159. package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
  160. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  161. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
  162. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +3 -3
  163. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  164. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  165. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +27 -19
  166. package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
  167. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  168. package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
  169. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  170. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +3 -3
  171. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  172. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
  173. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
  174. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  175. package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
  176. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  177. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
  178. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
  179. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  180. package/es/components/form-render/src/types/index.d.ts +18 -16
  181. package/es/components/form-render/src/utils/business.d.ts +2 -2
  182. package/es/components/form-render/src/utils/dom.d.ts +1 -1
  183. package/es/components/form-render/src/utils/index.d.ts +1 -1
  184. package/es/components/form-render/src/utils/schema.d.ts +3 -3
  185. package/es/components/form-render/src/utils/schema.js +1 -1
  186. package/es/components/grid/index.d.ts +1 -1
  187. package/es/components/guide/src/renderer.d.ts +1 -1
  188. package/es/components/guide/src/types/index.d.ts +1 -1
  189. package/es/components/guide/src/useGuide.d.ts +1 -1
  190. package/es/components/guide/src/utils/index.d.ts +1 -1
  191. package/es/components/iho-table/index.d.ts +39 -39
  192. package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
  193. package/es/components/iho-table/src/constants/index.d.ts +5 -5
  194. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
  195. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
  196. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
  197. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
  198. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
  199. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
  200. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
  201. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
  202. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  203. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
  204. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
  205. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
  206. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
  207. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
  208. package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
  209. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
  210. package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
  211. package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
  212. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  213. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
  214. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
  215. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
  216. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
  217. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
  218. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  219. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
  220. package/es/components/iho-table/src/plugins/index.d.ts +1 -1
  221. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
  222. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
  223. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
  224. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
  225. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
  226. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
  227. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
  228. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
  229. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
  230. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
  231. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
  232. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
  233. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  234. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
  235. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
  236. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  237. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
  238. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  239. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
  240. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
  241. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
  242. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
  243. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
  244. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
  245. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
  246. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
  247. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
  248. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
  249. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
  250. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
  251. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
  252. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
  253. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
  254. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
  255. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
  256. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
  257. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
  258. package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
  259. package/es/components/iho-table/src/types/index.d.ts +3 -3
  260. package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
  261. package/es/components/iho-table/src/utils/index.d.ts +3 -3
  262. package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
  263. package/es/components/index.css +1 -1
  264. package/es/components/index.d.ts +3 -3
  265. package/es/components/info-header/index.d.ts +213 -377
  266. package/es/components/info-header/src/InfoHeader.vue.d.ts +242 -406
  267. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +11 -7
  268. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +13 -9
  269. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +119 -207
  270. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +41 -133
  271. package/es/components/info-header/src/constants/index.d.ts +1 -1
  272. package/es/components/info-header/src/types/index.d.ts +1 -1
  273. package/es/components/keyboard/index.d.ts +1 -1
  274. package/es/components/map/index.d.ts +1 -1
  275. package/es/components/map/src/Map.vue.d.ts +1 -1
  276. package/es/components/picture-clipper/index.d.ts +1 -1
  277. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
  278. package/es/components/quick-search/index.d.ts +1 -1
  279. package/es/components/quick-search/src/index.vue.d.ts +4 -4
  280. package/es/components/recommend-search/index.d.ts +33 -33
  281. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -15
  282. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  283. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +6 -6
  284. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +5 -5
  285. package/es/components/scale-view/index.d.ts +1 -1
  286. package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
  287. package/es/components/scale-view/src/types/index.d.ts +1 -1
  288. package/es/components/search-cascader/index.d.ts +34 -34
  289. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
  290. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  291. package/es/components/search-cascader/src/constants/index.d.ts +1 -1
  292. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  293. package/es/components/select-label/index.d.ts +1 -1
  294. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  295. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  296. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
  297. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
  298. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
  299. package/es/components/select-label/src/index.vue.d.ts +19 -19
  300. package/es/components/select-person/index.d.ts +22 -22
  301. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  302. package/es/components/shortcut-provider/index.d.ts +1 -1
  303. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
  304. package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
  305. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
  306. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  307. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  308. package/es/components/shortcut-setter/index.d.ts +85 -176
  309. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +118 -209
  310. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
  311. package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
  312. package/es/components/slider-tree/index.d.ts +1 -1
  313. package/es/components/steps-wheel/index.d.ts +1 -1
  314. package/es/components/table-export-field/index.d.ts +3 -3
  315. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -1
  316. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
  317. package/es/components/table-export-field/src/constants/index.d.ts +1 -1
  318. package/es/components/table-export-field/src/index.vue.d.ts +1 -1
  319. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
  320. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  321. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -0
  322. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +14 -0
  323. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -0
  324. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
  325. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
  326. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -2
  327. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  328. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  329. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
  330. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  331. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  332. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
  333. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
  334. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
  335. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
  336. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +19 -0
  337. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  338. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +15 -1
  339. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  340. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +19 -0
  341. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
  342. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +28 -9
  343. package/es/components/table-filter/src/constants/index.d.ts +1 -1
  344. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  345. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  346. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  347. package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
  348. package/es/components/table-filter/src/types/index.d.ts +1 -0
  349. package/es/components/time-line/index.d.ts +1 -1
  350. package/es/components/time-picker/index.d.ts +2 -2
  351. package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
  352. package/es/components/vod-chunk-upload/index.d.ts +1 -1
  353. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
  354. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  355. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
  356. package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
  357. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
  358. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  359. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  360. package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
  361. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +2 -2
  362. package/es/shared/hooks/selectHooks/useSelectRenders.js +1 -1
  363. package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
  364. package/es/shared/hooks/useDateTime.d.ts +1 -1
  365. package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
  366. package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
  367. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  368. package/es/shared/hooks/useTheme.d.ts +1 -1
  369. package/es/shared/package.json.js +1 -1
  370. package/es/shared/types/business.d.ts +1 -1
  371. package/es/shared/utils/business.d.ts +1 -1
  372. package/es/shared/utils/business.js +1 -1
  373. package/es/shared/utils/index.d.ts +1 -1
  374. package/package.json +2 -2
@@ -1,17 +1,35 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const Annotation: SFCWithInstall<import("vue").DefineComponent<{
3
3
  modelValue: {
4
4
  type: import("vue").PropType<import("./src/type").AnnotationItem>;
5
5
  default: string;
6
6
  };
7
+ shortcuts: {
8
+ type: import("vue").PropType<(string | {
9
+ label: string;
10
+ value: string;
11
+ })[] | undefined>;
12
+ default: () => never[];
13
+ };
7
14
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
15
  modelValue: {
9
16
  type: import("vue").PropType<import("./src/type").AnnotationItem>;
10
17
  default: string;
11
18
  };
19
+ shortcuts: {
20
+ type: import("vue").PropType<(string | {
21
+ label: string;
22
+ value: string;
23
+ })[] | undefined>;
24
+ default: () => never[];
25
+ };
12
26
  }>> & {
13
27
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
28
  }, {
15
29
  modelValue: import("./src/type").AnnotationItem;
30
+ shortcuts: (string | {
31
+ label: string;
32
+ value: string;
33
+ })[] | undefined;
16
34
  }>>;
17
35
  export default Annotation;
@@ -1,18 +1,36 @@
1
1
  import { PropType } from 'vue';
2
- import { AnnotationItem } from '../../../../es/components/annotation-edit/src/type';
2
+ import { AnnotationItem } from '../../../components/annotation-edit/src/type';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  modelValue: {
5
5
  type: PropType<AnnotationItem>;
6
6
  default: string;
7
7
  };
8
+ shortcuts: {
9
+ type: PropType<(string | {
10
+ label: string;
11
+ value: string;
12
+ })[] | undefined>;
13
+ default: () => never[];
14
+ };
8
15
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
16
  modelValue: {
10
17
  type: PropType<AnnotationItem>;
11
18
  default: string;
12
19
  };
20
+ shortcuts: {
21
+ type: PropType<(string | {
22
+ label: string;
23
+ value: string;
24
+ })[] | undefined>;
25
+ default: () => never[];
26
+ };
13
27
  }>> & {
14
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
29
  }, {
16
30
  modelValue: AnnotationItem;
31
+ shortcuts: (string | {
32
+ label: string;
33
+ value: string;
34
+ })[] | undefined;
17
35
  }>;
18
36
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,computed as o,ref as t,onDeactivated as a,createVNode as l,unref as u,createTextVNode as n}from"vue";import{useTheme as i}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as r,isObject as s,isFunction as m}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import{FileTrayFull as d,FileTray as v}from"@vicons/ionicons5";import{NPopover as c,NDivider as p,NEllipsis as f,NIcon as h,NInput as V}from"naive-ui";var g=e({props:{modelValue:{type:[String,Object],default:""}},emits:["update:modelValue"],setup(e,{emit:g}){const k=i(),w=o({get:()=>r(e.modelValue)?e.modelValue:s(e.modelValue)&&e.modelValue.content||"",set(o){let t=o;s(e.modelValue)&&(t={...e.modelValue,content:o}),g("update:modelValue",t)}}),x=t(!1),T=o({get:()=>x.value,async set(e){x.value=e,!e&&b.value&&(await new Promise((e=>setTimeout(e,200))),b.value=!1)}}),b=t(!1);let y,_;function P(e){e.stopPropagation(),clearTimeout(y),T.value&&b.value?T.value=!1:u(w)||(y=setTimeout((()=>{b.value=T.value=!0}),200))}function j(e){e.stopPropagation(),clearTimeout(y),u(w)&&(T.value=!0,b.value=!0)}function M(e){e.stopPropagation(),clearTimeout(_),u(w)&&(T.value=!0)}function R(e){e.stopPropagation(),clearTimeout(_),u(w)&&!b.value&&(_=setTimeout((()=>{T.value=!1}),300))}return a((()=>{T.value=!1})),function(){return l("section",{class:["annotation-edit",{"is-active":!!u(w)}],style:{"--icon-right":"-5",...k.value},"annotation-hover-show":!u(w)&&!b.value},[l(c,{"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:T.value,"onUpdate:show":e=>T.value=e,trigger:"manual",duration:100,onClickoutside:P},{default:function(){return l("section",{onMouseleave:R,onMouseenter:M},[l("div",null,[b.value?l(V,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:w.value,"onUpdate:value":e=>w.value=e},null):l("span",null,[u(w)])]),s(e.modelValue)?[l(p,{style:{margin:"4px 0",minWidth:"360px"}},null),l("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return l("div",{class:"annotation-edit__icon",onMouseleave:R,onMouseenter:M,onDblclick:j,onClick:P},[l(h,{component:u(w)?d:v},null)])}})])}}});export{g as default};
1
+ import{defineComponent as e,computed as o,ref as l,onDeactivated as t,createVNode as a,unref as u,createTextVNode as n}from"vue";import{useTheme as r}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as s,isObject as i,isArray as d,isFunction as m}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import{promiseTimeout as v}from"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import{FileTrayFull as c,FileTray as p}from"@vicons/ionicons5";import{NPopover as f,NDivider as h,NEllipsis as V,NIcon as g,NPopselect as y,NButton as w,NInput as x}from"naive-ui";var b=e({props:{modelValue:{type:[String,Object],default:""},shortcuts:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(e,{emit:b}){const k=r(),T=o({get:()=>s(e.modelValue)?e.modelValue:i(e.modelValue)&&e.modelValue.content||"",set(o){let l=o;i(e.modelValue)&&(l={...e.modelValue,content:o}),b("update:modelValue",l)}}),P=l(!1),R=o({get:()=>P.value,async set(e){P.value=e,!e&&M.value&&(await new Promise((e=>setTimeout(e,200))),M.value=!1)}}),_=o((()=>{let o=e.shortcuts||[];return i(e.modelValue)&&(d(e.modelValue.shortcuts)?o=e.modelValue.shortcuts:Reflect.has(e.modelValue,"shortcuts")&&(o=[])),o.map((e=>s(e)?{label:e,value:e}:e))})),j=l(),M=l(!1);let C,U;async function z(){var e,o;await v(50),null==(o=null==(e=j.value)?void 0:e.syncPosition)||o.call(e)}function L(e){e.stopPropagation(),clearTimeout(C),R.value&&M.value?R.value=!1:u(T)||(C=setTimeout((()=>(M.value=R.value=!0,z())),200))}function S(e){if(e.stopPropagation(),clearTimeout(C),u(T))return M.value=R.value=!0,z()}function W(e){e.stopPropagation(),clearTimeout(U),u(T)&&(R.value=!0)}function A(e){e.stopPropagation(),clearTimeout(U),u(T)&&!M.value&&(U=setTimeout((()=>{R.value=!1}),300))}return t((()=>{R.value=!1})),function(){return a("section",{class:["annotation-edit",{"is-active":!!u(T)}],style:{"--icon-right":"-5",...k.value},"annotation-hover-show":!u(T)&&!M.value},[a(f,{ref:j,"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:R.value,"onUpdate:show":e=>R.value=e,trigger:"manual",duration:100,onClickoutside:L},{default:function(){return a("section",{onMouseleave:A,onMouseenter:W},[a("div",null,[M.value?[_.value.length?a(y,{options:_.value,"onUpdate:value":e=>T.value+=e,scrollable:!0},{default:()=>a(w,{style:"margin-bottom: 8px;"},{default:()=>"短语"})}):null,a(x,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:T.value,"onUpdate:value":e=>T.value=e},null)]:a("span",null,[u(T)])]),i(e.modelValue)&&(m(e.modelValue.footerRender)||e.modelValue.author||e.modelValue.date)?[a(h,{style:{margin:"4px 0",minWidth:"360px"}},null),a("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return a("div",{class:"annotation-edit__icon",onMouseleave:A,onMouseenter:W,onDblclick:S,onClick:L},[a(g,{component:u(T)?c:p},null)])}})])}}});export{b as default};
@@ -5,4 +5,8 @@ export declare type AnnotationItem = string | Partial<{
5
5
  date: string;
6
6
  dateLabel: string;
7
7
  footerRender: (item: Exclude<AnnotationItem, string>) => any;
8
+ shortcuts: (string | {
9
+ label: string;
10
+ value: string;
11
+ })[];
8
12
  }> | null | undefined;
@@ -1,24 +1,38 @@
1
1
  import { ComponentInternalInstance } from 'vue';
2
2
  import 'recorder-core/src/engine/mp3';
3
3
  import 'recorder-core/src/engine/mp3-engine';
4
- import { AnyObject } from '../../../../es/shared/types';
4
+ import { AnyObject } from '../../../shared/types';
5
5
  export default class AudioSDK {
6
6
  private recorder;
7
7
  private recordingDialog;
8
- private onProcess;
8
+ private contentRef;
9
+ private realTimeRecognition;
10
+ private allowPunctuationMark;
11
+ private timed;
12
+ private timer;
13
+ private realTimeSendStartTime;
14
+ private realTimeSendBytesChunks;
15
+ private realTimeSendClearPrevBufferIdx;
9
16
  static instance: AudioSDK | null;
10
17
  static serverUrl: string;
18
+ static sendInterval: number;
11
19
  constructor();
12
20
  static create(option?: AnyObject): AudioSDK;
13
21
  private initRecorder;
22
+ private takeoffEncodeChunk;
23
+ private onProcess;
14
24
  private recorderOpen;
15
- recorderStart(instance: ComponentInternalInstance, afterLeave: Function): Promise<{
25
+ recorderStart(instance: ComponentInternalInstance, { onStop, allowPunctuationMark, realTimeRecognition, timed }: {
26
+ onStop: () => any;
27
+ realTimeRecognition?: boolean;
28
+ allowPunctuationMark?: boolean;
29
+ timed?: number;
30
+ }): Promise<{
16
31
  result: string;
17
32
  }>;
18
- recorderStop({ isRecognition, allowPunctuationMark }: {
19
- isRecognition?: boolean | undefined;
20
- allowPunctuationMark?: boolean | undefined;
21
- }): Promise<AnyObject>;
33
+ recorderStop(): Promise<AnyObject>;
34
+ private toAudioRecognition;
35
+ private reset;
22
36
  destroy(): void;
23
37
  static audioRecognition(params: FormData): Promise<import("axios").AxiosResponse<any, any>>;
24
38
  static audioRevise(params: {
@@ -1 +1 @@
1
- import r from"axios";import e from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{uuidGenerator as t}from"../../../shared/utils/index.js";import{useThrottleFn as s}from"@vueuse/core";import{RecordingDialog as i}from"./utils/recordingDialog.js";const o=class{constructor(){if(this.recorder=null,this.recordingDialog=new i,this.onProcess=s(((r,e)=>{if(!this.recordingDialog.target)return;const t=this.recordingDialog.target.querySelector(".animation");if(t){const r="translateX(-50%) translateY(-50%)";if(e>.5){const s=1+.01*e;t.style.transform=r+" scale("+s+")"}else t.style.transform=r+" scale(1)"}}),200),o.instance)return o.instance;this.initRecorder(),o.instance=this}static create(r){return(null==r?void 0:r.serverUrl)&&(this.serverUrl=r.serverUrl),new o}initRecorder(){this.recorder=e({type:"mp3",sampleRate:16e3,bitRate:16,onProcess:this.onProcess})}async recorderOpen(){return this.recorder||this.initRecorder(),new Promise(((r,e)=>{this.recorder.open((()=>{r({})}),((r,t)=>{e({result:"fail",msg:r,isUserNotAllow:t})}))}))}async recorderStart(r,e){try{return await this.recorderOpen(),this.recorder.start(),await this.recordingDialog.show(r,e),Promise.resolve({result:"success"})}catch(r){return Promise.reject(r)}}recorderStop({isRecognition:r=!0,allowPunctuationMark:e=!0}){return this.recorder?(this.recordingDialog.hide(),new Promise(((s,i)=>{this.recorder.stop((async(a,n)=>{var c;const l=new File([a],`${t()}.mp3`,{type:a.type});try{let t;if(r){const r=new FormData;r.append("audio",l);const{data:s}=await o.audioRecognition(r);t=s,!e&&"success"===t.msg&&(null==(c=t.data)?void 0:c.text)&&(t.data.text=t.data.text.replace(/[??,。,.\s]/g,""))}s({result:"success",file:l,duration:n,...t?{data:t}:{}})}catch(r){i({result:"fail",msg:r})}}),(r=>{i({result:"fail",msg:r})}))}))):Promise.reject({result:"fail",msg:"请先打开麦克风录音"})}destroy(){var r;null==(r=this.recorder)||r.close(),this.recorder=null}static async audioRecognition(e){return await r.post(`${this.serverUrl}/audio/recognition`,e,{headers:{"Content-Type":"multipart/form-data"}})}static async audioRevise(e){return await r.post(`${this.serverUrl}/audio/revise`,e)}};let a=o;a.serverUrl="";export{a as default};
1
+ import{ref as e}from"vue";import t from"axios";import r from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{uuidGenerator as i}from"../../../shared/utils/index.js";import{RecordingDialog as s}from"./utils/recordingDialog.js";const n=class{constructor(){if(this.recorder=null,this.recordingDialog=new s,this.contentRef=e(""),this.realTimeRecognition=!1,this.allowPunctuationMark=!0,this.timed=0,this.timer=null,this.realTimeSendStartTime=0,this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0,n.instance)return n.instance;n.instance=this}static create(e){return(null==e?void 0:e.serverUrl)&&(this.serverUrl=e.serverUrl),new n}initRecorder(){this.recorder=r({type:"mp3",sampleRate:16e3,bitRate:16,...this.realTimeRecognition?{onProcess:this.onProcess.bind(this),takeoffEncodeChunk:this.takeoffEncodeChunk.bind(this)}:{}})}async takeoffEncodeChunk(e){e&&this.realTimeSendBytesChunks.push(e);const t=Date.now();if(t-this.realTimeSendStartTime<n.sendInterval)return;this.realTimeSendStartTime=t;let r=0;for(let e=0;e<this.realTimeSendBytesChunks.length;e++)r+=this.realTimeSendBytesChunks[e].length;const i=new Uint8Array(r);for(let e=0,t=0;e<this.realTimeSendBytesChunks.length;e++){const r=this.realTimeSendBytesChunks[e];i.set(r,t),t+=r.length}if(this.realTimeSendBytesChunks=[],i.length>0){const e=new Blob([i],{type:"audio/mp3"}),{text:t}=await this.toAudioRecognition(e);this.contentRef.value+=t}}async onProcess(e,t,r,i,s){0===this.realTimeSendStartTime&&(this.realTimeSendStartTime=Date.now(),this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0);for(let t=this.realTimeSendClearPrevBufferIdx;t<s;t++)e[t]=null;this.realTimeSendClearPrevBufferIdx=s}async recorderOpen(){return this.recorder||this.initRecorder(),new Promise(((e,t)=>{this.recorder.open((()=>{e({})}),((e,r)=>{t({result:"fail",msg:e,isUserNotAllow:r})}))}))}async recorderStart(e,{onStop:t,allowPunctuationMark:r=!0,realTimeRecognition:i=!1,timed:s=0}){this.realTimeRecognition=i,this.allowPunctuationMark=r,this.timed=1e3*s,this.timed&&(this.timer=setTimeout((()=>{t()}),this.timed));try{return await this.recorderOpen(),this.recorder.start(),this.recordingDialog.show(e,{contentRef:this.contentRef,after:()=>t()}),Promise.resolve({result:"success"})}catch(e){return Promise.reject(e)}}recorderStop(){return this.recorder?(this.recordingDialog.hide(),new Promise(((e,t)=>{if(this.realTimeRecognition){const t={file_id:"",text:this.contentRef.value};return e({result:"success",data:t}),void this.destroy()}this.recorder.stop((async(t,r)=>{const i=await this.toAudioRecognition(t);e({result:"success",duration:r,data:i}),this.destroy()}),(e=>{t({result:"fail",msg:e}),this.destroy()}))}))):Promise.reject({result:"fail",msg:"请先打开麦克风录音"})}async toAudioRecognition(e){var t;const r=new File([e],`${i()}.mp3`,{type:e.type}),s=new FormData;s.append("audio",r);const o={file_id:"",text:""};try{const{data:e}=await n.audioRecognition(s);!this.allowPunctuationMark&&"success"===e.msg&&(null==(t=e.data)?void 0:t.text)&&(e.data.text=e.data.text.replace(/[??,。,.\s]/g,""),Object.assign(o,e.data))}catch(e){console.log(e)}return o}reset(){this.realTimeSendStartTime=0,this.contentRef.value="",this.timer&&(clearTimeout(this.timer),this.timer=null),this.timed=0}destroy(){var e;null==(e=this.recorder)||e.close(),this.recorder=null,this.reset()}static async audioRecognition(e){return await t.post(`${this.serverUrl}/audio/recognition`,e,{headers:{"Content-Type":"multipart/form-data"}})}static async audioRevise(e){return await t.post(`${this.serverUrl}/audio/revise`,e)}};let o=n;o.serverUrl="",o.sendInterval=1500;export{o as default};
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ content: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  }, {
7
11
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
8
12
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -10,8 +14,13 @@ declare const _default: import("vue").DefineComponent<{
10
14
  type: BooleanConstructor;
11
15
  default: boolean;
12
16
  };
17
+ content: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
13
21
  }>> & {}>>;
14
22
  showModal: import("vue").Ref<boolean>;
23
+ handleKeydown: (event: KeyboardEvent) => void;
15
24
  close: () => void;
16
25
  NModal: any;
17
26
  NIcon: any;
@@ -21,7 +30,12 @@ declare const _default: import("vue").DefineComponent<{
21
30
  type: BooleanConstructor;
22
31
  default: boolean;
23
32
  };
33
+ content: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
24
37
  }>>, {
25
38
  visible: boolean;
39
+ content: string;
26
40
  }>;
27
41
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as o,ref as e,watch as s,openBlock as i,createBlock as r,unref as t,withCtx as a,createElementVNode as n,normalizeStyle as l,createVNode as u}from"vue";import{NModal as p,NIcon as m}from"naive-ui";import{Mic as c}from"@vicons/ionicons5";import{useTheme as d}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";const v=n("div",{class:"animation"},null,-1);var h=o({__name:"recordingDialog",props:{visible:{type:Boolean,default:!1}},setup(o){const h=o,f=d(),k=e(!0);function w(){k.value=!1}return s((()=>h.visible),(o=>{k.value=o})),(o,e)=>(i(),r(t(p),{show:k.value,"onUpdate:show":e[0]||(e[0]=o=>k.value=o)},{default:a((()=>[n("div",{class:"c-recording-wrapper",style:l(t(f))},[v,n("div",{class:"icon-box",onClick:w},[u(t(m),{size:"60",color:"#fff",component:t(c)},null,8,["component"])])],4)])),_:1},8,["show"]))}});export{h as default};
1
+ import{defineComponent as e,ref as o,onMounted as t,watch as s,openBlock as n,createBlock as i,unref as r,normalizeStyle as a,withCtx as c,createElementVNode as l,toDisplayString as p,createVNode as u}from"vue";import{NModal as d,NIcon as m}from"naive-ui";import{Mic as v}from"@vicons/ionicons5";import{useTheme as f}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";const h={class:"c-recording-wrapper"},k={class:"content"},y=l("div",{class:"animation"},null,-1),w=l("p",{class:"tip"},"按下空格键停止录音",-1);var g=e({__name:"recordingDialog",props:{visible:{type:Boolean,default:!1},content:{type:String,default:""}},setup(e){const g=e,b=f(),j=o(!0);function x(e){" "!==e.key&&"Space"!==e.code||(e.preventDefault(),C())}function C(){j.value=!1,document.removeEventListener("keydown",x)}return t((()=>{document.addEventListener("keydown",x)})),s((()=>g.visible),(e=>{j.value=e})),(o,t)=>(n(),i(r(d),{show:j.value,"onUpdate:show":t[0]||(t[0]=e=>j.value=e),style:a(r(b)),onEsc:C,onMaskClick:C},{default:c((()=>[l("div",h,[l("p",k,p(e.content||"正在聆听..."),1),y,l("div",{class:"icon-box",onClick:C},[u(r(m),{size:"60",color:"#fff",component:r(v)},null,8,["component"])]),w])])),_:1},8,["show","style"]))}});export{g as default};
@@ -1,8 +1,11 @@
1
- import { ComponentInternalInstance } from 'vue';
1
+ import { ComponentInternalInstance, Ref } from 'vue';
2
2
  export declare class RecordingDialog {
3
3
  rendered: boolean;
4
4
  target: HTMLElement | null;
5
5
  static createMsg(message: string): string;
6
- show(instance: ComponentInternalInstance, afterLeave: Function): Promise<string>;
6
+ show(instance: ComponentInternalInstance, { contentRef, after }: {
7
+ contentRef: Ref<string>;
8
+ after: () => void;
9
+ }): Promise<string>;
7
10
  hide(): void;
8
11
  }
@@ -1 +1 @@
1
- import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,d){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,u)=>{this.rendered=!0;const c=document.createElement("div"),m=e(!1),h=s(l);t(r(h,null,{default:n((()=>r(o,{to:c,visible:m.value,onAfterLeave:()=>function(e){if(!e.parentElement)return;v.rendered=!1,v.hide(),d(),a("success")}(c)},null)),l)}),c);const v=this;var g;g=c,document.body.appendChild(g),v.target=g,i((()=>m.value=!0))}))}hide(){var e;(null==(e=this.target)?void 0:e.parentElement)&&(this.target.parentElement.removeChild(this.target),this.target=null)}}export{a as RecordingDialog};
1
+ import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,{contentRef:d,after:u}){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,c)=>{this.rendered=!0;const h=document.createElement("div"),m=e(!1),v=s(l);t(r(v,null,{default:n((()=>r(o,{to:h,content:d.value,visible:m.value,onAfterLeave:()=>function(e){if(!e.parentElement)return;g.hide(),u(),a("success")}(h)},null)),l)}),h);const g=this;var p;p=h,document.body.appendChild(p),g.target=p,i((()=>m.value=!0))}))}hide(){var e;(null==(e=this.target)?void 0:e.parentElement)&&(this.rendered=!1,this.target.parentElement.removeChild(this.target),this.target=null)}}export{a as RecordingDialog};
@@ -1 +1 @@
1
- .c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}.c-recording-wrapper .animation{background-color:var(--c-primary-color-opacity2);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:var(--c-primary-color);cursor:pointer}
1
+ .c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{font-size:18px;position:absolute;text-align:center;top:20px}.c-recording-wrapper .animation{animation:toScale 1s infinite;background-color:#5585f54d;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer}.c-recording-wrapper .tip{bottom:20px;position:absolute}
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
3
3
  showSettings: {
4
4
  type: import("vue").PropType<import("..").IsettingsType>;
@@ -22,6 +22,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
22
22
  type: ObjectConstructor;
23
23
  default: () => {};
24
24
  };
25
+ isShowTitle: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
25
29
  }, {
26
30
  outQuickSearchFn: {
27
31
  handlerInitSearchItem(arr: import("..").ISearchType[]): void;
@@ -91,6 +95,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
91
95
  type: ObjectConstructor;
92
96
  default: () => {};
93
97
  };
98
+ isShowTitle: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
94
102
  }>> & {
95
103
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
96
104
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -140,6 +148,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
140
148
  filterChangeFnList: import("vue").Ref<any[]>;
141
149
  showQuickSearch: import("vue").ComputedRef<boolean>;
142
150
  showResetBtn: import("vue").ComputedRef<boolean>;
151
+ handleName: (item: import("..").ISearchType, key?: string) => any;
143
152
  initOutSearchFieldList: () => void;
144
153
  isShowSetting: (v: string) => boolean;
145
154
  foldQuickSearch: () => void;
@@ -219,6 +228,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
219
228
  type: ObjectConstructor;
220
229
  default: () => {};
221
230
  };
231
+ isShowTitle: {
232
+ type: BooleanConstructor;
233
+ default: boolean;
234
+ };
222
235
  }>> & {
223
236
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
224
237
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -229,5 +242,6 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
229
242
  searchFieldList: import("..").IApiServerType[];
230
243
  qqConObjCount: number;
231
244
  appendValueConfig: Record<string, any>;
245
+ isShowTitle: boolean;
232
246
  }>>;
233
247
  export default CBaseSearch;
@@ -1,4 +1,4 @@
1
- import { ISearchType, IsettingsType, IApiServerType, ISearchParamsType } from '../../../../es/components/table-filter/src/types';
1
+ import { ISearchType, IsettingsType, IApiServerType, ISearchParamsType } from '../../../components/table-filter/src/types';
2
2
  import { PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  showSettings: {
@@ -23,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: ObjectConstructor;
24
24
  default: () => {};
25
25
  };
26
+ isShowTitle: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
26
30
  }, {
27
31
  outQuickSearchFn: {
28
32
  handlerInitSearchItem(arr: ISearchType[]): void;
@@ -31,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
31
35
  getRenderSearchConObj: (cfg: ISearchType) => any;
32
36
  isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
33
37
  resetRenderWidgetValue: (cfg: ISearchType) => any;
34
- transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType) => {
38
+ transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType) => {
35
39
  fieldType: string;
36
40
  columnName: string;
37
41
  settingObj: {};
@@ -50,14 +54,14 @@ declare const _default: import("vue").DefineComponent<{
50
54
  multiple: boolean;
51
55
  manualMapping: boolean | null | undefined;
52
56
  showWholeOption: boolean | undefined;
53
- dynamicOptionInfo: import("../../../../es/components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
57
+ dynamicOptionInfo: import("../../../components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
54
58
  classifyStr: string | undefined;
55
59
  linkageFieldKeys: string[];
56
60
  };
57
61
  rangeFilter: boolean | undefined;
58
62
  unit: any;
59
63
  isAccurateSearchVal: boolean;
60
- _extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType;
64
+ _extendData: import("../../../components/table-filter/src/types").IExtendConfigurationType;
61
65
  title: string;
62
66
  alias: string | undefined;
63
67
  isShowSearch: number;
@@ -92,6 +96,10 @@ declare const _default: import("vue").DefineComponent<{
92
96
  type: ObjectConstructor;
93
97
  default: () => {};
94
98
  };
99
+ isShowTitle: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
95
103
  }>> & {
96
104
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
97
105
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -141,6 +149,7 @@ declare const _default: import("vue").DefineComponent<{
141
149
  filterChangeFnList: import("vue").Ref<any[]>;
142
150
  showQuickSearch: import("vue").ComputedRef<boolean>;
143
151
  showResetBtn: import("vue").ComputedRef<boolean>;
152
+ handleName: (item: ISearchType, key?: string) => any;
144
153
  initOutSearchFieldList: () => void;
145
154
  isShowSetting: (v: string) => boolean;
146
155
  foldQuickSearch: () => void;
@@ -220,6 +229,10 @@ declare const _default: import("vue").DefineComponent<{
220
229
  type: ObjectConstructor;
221
230
  default: () => {};
222
231
  };
232
+ isShowTitle: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
223
236
  }>> & {
224
237
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
225
238
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -230,5 +243,6 @@ declare const _default: import("vue").DefineComponent<{
230
243
  searchFieldList: IApiServerType[];
231
244
  qqConObjCount: number;
232
245
  appendValueConfig: Record<string, any>;
246
+ isShowTitle: boolean;
233
247
  }>;
234
248
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,provide as a,computed as i,watch as l,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as c,unref as u,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as h,Fragment as p,renderList as v}from"vue";import g from"../../table-filter/src/components/render-widget/index.vue.js";import b from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as j}from"naive-ui";import{Search as A}from"@vicons/ionicons5";import{isObject as S,cloneDeep as O}from"lodash-es";import{InjectionFilterApiConfig as x,InjectionFilterSearchConfig as F}from"../../table-filter/src/constants/index.js";const q={class:"base-search-block"},R={class:"base-container"},V={class:"bease-left"},Q={class:"base-ul"},N={key:0,class:"baseli showQuickBtn"},_=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),w={key:0,class:"qqConObjCount"},E={class:"baseli"},I={key:1,class:"baseli"},P={key:2,class:"baseli"},B=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var L=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object},appendValueConfig:{type:Object,default:()=>({})}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:L,emit:U}){const D=e,{outQuickSearchFn:W}=b(),{isRender:$,getRenderSearchConObj:z,isExistDefValByRenderWidget:M,resetRenderWidgetValue:T}=C(),{transformData:G,transformParams:H}=y(),J=t([]),K=t(!1),X=t([]),Y=t([]);a(x,D.filterApiConfig),a(F,X);const Z=i((()=>te("hideQuickSearch"))),ee=i((()=>te("hideResetBtn")));function te(e){return 0==D.showSettings[e]}function ae(){U("foldQuickSearch",!0)}function ie(e={}){const t=le()||[];!function(e,t,a=!1,i={}){let l=[];X.value.length>0&&(l=O(X.value));U("onFilterSearch",e,t,a,l,i)}(t,H(t),!0,e)}function le(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let a=0;a<e.length;a++){let i=e[a];const l=z(i);l&&t.push(l)}return t.filter((e=>e.value||Object.keys(e).includes("isAccurateSearch")))}(X.value)}function ne(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{T(e)})),W.handlerInitSearchItem(e)}(X.value),U("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>D.searchFieldList),(e=>{e&&e.length>0&&function(){X.value=[];let e=O(G(D.searchFieldList,{_filterApiConfig:D.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));X.value=e,W.handlerInitSearchItem(X.value),X.value.some((e=>$(e)?M(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>D.qqConObjCount),(e=>{const t=J.value.length||0;K.value=t+Number(e)>0&&ee.value}),{immediate:!0}),l((()=>X),(()=>{J.value=le()||[];const e=H(J.value);K.value=J.value.length+Number(D.qqConObjCount)>0&&ee.value,U("getFilterParam",J.value,e),Y.value.forEach((t=>t(e)))}),{immediate:!0,deep:!0}),l((()=>D.appendValueConfig),(e=>{if(S(e)&&Object.keys(e).length>0){const t=Object.keys(e);X.value.forEach((a=>{t.includes(a.columnName)&&(a.value=e[a.columnName])}))}}),{immediate:!0,deep:!0}),L({handleReset:ne,getFilterParams:function(){const e=le()||[];return H(e)},setFilterParams:function(e){const t=e?Object.keys(e):[];t.length>0&&X.value.forEach((a=>{var i;if($(a)&&t.includes(a.columnName)){const t=e[a.columnName];a.value=Array.isArray(t)&&!1===(null==(i=a.widgetCfg)?void 0:i.multiple)?t[0]:t}}))},getOriginalConfig:function(){return D.searchFieldList},onFilterChange:function(e){Y.value.push(e)}}),(t,a)=>(n(),r("div",q,[s("div",R,[s("div",V,[s("ul",Q,[o(" 筛选分类插槽 "),c(t.$slots,"classification"),u(Z)?(n(),r("li",N,[f(u(k),{class:"search-default",type:"default",onClick:ae},{default:d((()=>[_,m(" 筛选"),e.qqConObjCount?(n(),r("span",w,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(X.value,(e=>(n(),r(p,null,[e.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:e._frontId},[f(g,{cfg:e,modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,isAccurate:e.isAccurateSearchVal,"onUpdate:isAccurate":t=>e.isAccurateSearchVal=t,onOutFilterChange:ie},null,8,["cfg","modelValue","onUpdate:modelValue","isAccurate","onUpdate:isAccurate"])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),s("div",E,[o(" 业务组件插槽 "),c(t.$slots,"modules")]),o(" 查询按钮 "),X.value&&X.value.length>0?(n(),r("li",I,[f(u(k),{type:"primary",onClick:ie},{default:d((()=>[f(u(j),{component:u(A),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),K.value?(n(),r("li",P,[f(u(k),{onClick:ne},{default:d((()=>[B,m(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),c(t.$slots,"buttons")])])])]))}});export{L as default};
1
+ import{defineComponent as e,ref as t,provide as i,computed as a,watch as l,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as c,unref as u,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as h,Fragment as p,renderList as v}from"vue";import g from"../../table-filter/src/components/render-widget/index.vue.js";import b from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as S}from"naive-ui";import{Search as j}from"@vicons/ionicons5";import{isObject as A,cloneDeep as O}from"lodash-es";import{InjectionFilterApiConfig as x,InjectionFilterSearchConfig as F}from"../../table-filter/src/constants/index.js";const q={class:"base-search-block"},R={class:"base-container"},V={class:"bease-left"},w={class:"base-ul"},Q={key:0,class:"baseli showQuickBtn"},N=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),_={key:0,class:"qqConObjCount"},E={class:"base-row"},B={key:0,class:"title"},I={class:"baseli"},P={key:1,class:"baseli"},L={key:2,class:"baseli"},U=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var D=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object},appendValueConfig:{type:Object,default:()=>({})},isShowTitle:{type:Boolean,default:!1}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:D,emit:T}){const W=e,{outQuickSearchFn:$}=b(),{isRender:z,getRenderSearchConObj:M,isExistDefValByRenderWidget:G,resetRenderWidgetValue:H}=C(),{transformData:J,transformParams:K}=y(),X=t([]),Y=t(!1),Z=t([]),ee=t([]);i(x,W.filterApiConfig),i(F,Z);const te=a((()=>le("hideQuickSearch"))),ie=a((()=>le("hideResetBtn")));function ae(e,t="name"){return e.alias||e[t]}function le(e){return 0==W.showSettings[e]}function ne(){T("foldQuickSearch",!0)}function re(e={}){const t=se()||[];!function(e,t,i=!1,a={}){let l=[];Z.value.length>0&&(l=O(Z.value));T("onFilterSearch",e,t,i,l,a)}(t,K(t),!0,e)}function se(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let i=0;i<e.length;i++){let a=e[i];const l=M(a);l&&t.push(l)}return t.filter((e=>e.value||Object.keys(e).includes("isAccurateSearch")))}(Z.value)}function oe(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{H(e)})),$.handlerInitSearchItem(e)}(Z.value),T("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>W.searchFieldList),(e=>{e&&e.length>0&&function(){Z.value=[];let e=O(J(W.searchFieldList,{_filterApiConfig:W.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));Z.value=e,$.handlerInitSearchItem(Z.value),Z.value.some((e=>z(e)?G(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>W.qqConObjCount),(e=>{const t=X.value.length||0;Y.value=t+Number(e)>0&&ie.value}),{immediate:!0}),l((()=>Z),(()=>{X.value=se()||[];const e=K(X.value);Y.value=X.value.length+Number(W.qqConObjCount)>0&&ie.value,T("getFilterParam",X.value,e),ee.value.forEach((t=>t(e)))}),{immediate:!0,deep:!0}),l((()=>W.appendValueConfig),(e=>{if(A(e)&&Object.keys(e).length>0){const t=Object.keys(e);Z.value.forEach((i=>{t.includes(i.columnName)&&(i.value=e[i.columnName])}))}}),{immediate:!0,deep:!0}),D({handleReset:oe,getFilterParams:function(){const e=se()||[];return K(e)},setFilterParams:function(e){const t=e?Object.keys(e):[];t.length>0&&Z.value.forEach((i=>{var a;if(z(i)&&t.includes(i.columnName)){const t=e[i.columnName];i.value=Array.isArray(t)&&!1===(null==(a=i.widgetCfg)?void 0:a.multiple)?t[0]:t}}))},getOriginalConfig:function(){return W.searchFieldList},onFilterChange:function(e){ee.value.push(e)}}),(t,i)=>(n(),r("div",q,[s("div",R,[s("div",V,[s("ul",w,[o(" 筛选分类插槽 "),c(t.$slots,"classification"),u(te)?(n(),r("li",Q,[f(u(k),{class:"search-default",type:"default",onClick:ne},{default:d((()=>[N,m(" 筛选"),e.qqConObjCount?(n(),r("span",_,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(Z.value,(t=>(n(),r(p,null,[t.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:t._frontId},[s("div",E,[e.isShowTitle&&ae(t,"title")?(n(),r("span",B,h(ae(t,"title"))+":",1)):o("v-if",!0),f(g,{cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,isAccurate:t.isAccurateSearchVal,"onUpdate:isAccurate":e=>t.isAccurateSearchVal=e,onOutFilterChange:re},null,8,["cfg","modelValue","onUpdate:modelValue","isAccurate","onUpdate:isAccurate"])])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),s("div",I,[o(" 业务组件插槽 "),c(t.$slots,"modules")]),o(" 查询按钮 "),Z.value&&Z.value.length>0?(n(),r("li",P,[f(u(k),{type:"primary",onClick:re},{default:d((()=>[f(u(S),{component:u(j),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),Y.value?(n(),r("li",L,[f(u(k),{onClick:oe},{default:d((()=>[U,m(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),c(t.$slots,"buttons")])])])]))}});export{D as default};
@@ -1 +1 @@
1
- @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
1
+ @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .base-row{align-items:center;display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .base-row .title{padding-left:4px;white-space:nowrap}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
3
3
  data: {
4
4
  type: ArrayConstructor;
@@ -9,7 +9,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
9
9
  default: number;
10
10
  };
11
11
  annotation: {
12
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
12
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
13
13
  };
14
14
  showFooter: BooleanConstructor;
15
15
  sumData: {
@@ -199,11 +199,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
199
199
  resetInlineBatchEdit: FunctionConstructor;
200
200
  resetBatchEditRowStatus: FunctionConstructor;
201
201
  anchor: {
202
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
202
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
203
203
  default: () => never[];
204
204
  };
205
205
  totalList: {
206
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
206
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
207
207
  default: () => never[];
208
208
  };
209
209
  }, {
@@ -282,7 +282,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
282
282
  default: number;
283
283
  };
284
284
  annotation: {
285
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
285
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
286
286
  };
287
287
  showFooter: BooleanConstructor;
288
288
  sumData: {
@@ -472,17 +472,17 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
472
472
  resetInlineBatchEdit: FunctionConstructor;
473
473
  resetBatchEditRowStatus: FunctionConstructor;
474
474
  anchor: {
475
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
475
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
476
476
  default: () => never[];
477
477
  };
478
478
  totalList: {
479
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
479
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
480
480
  default: () => never[];
481
481
  };
482
482
  }>> & {
483
483
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
484
484
  }>>;
485
- attr: import("../../../es/shared/types").AnyObject;
485
+ attr: import("../../shared/types").AnyObject;
486
486
  formatData: (data?: {
487
487
  tableList: any[];
488
488
  fieldList: any[];
@@ -566,14 +566,14 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
566
566
  unBindDocumentClick: () => void;
567
567
  removeInsert: () => Promise<false | undefined>;
568
568
  loadColumn: (config: any) => void;
569
- separate: (data: import("../../../es/shared/types").AnyObject[], rawData: import("../../../es/shared/types").AnyObject[]) => Promise<import("../../../es/shared/types").AnyObject[]>;
569
+ separate: (data: import("../../shared/types").AnyObject[], rawData: import("../../shared/types").AnyObject[]) => Promise<import("../../shared/types").AnyObject[]>;
570
570
  onColumnResize: import("vxe-table").VxeTableEvents.ResizableChange;
571
571
  separateHandle: import("./src/hooks").SeparateHandle;
572
- separateDataMap: import("vue").Ref<WeakMap<import("../../../es/shared/types").AnyObject, {
572
+ separateDataMap: import("vue").Ref<WeakMap<import("../../shared/types").AnyObject, {
573
573
  separateData: Record<string, string>;
574
574
  index: number;
575
- rawRow: import("../../../es/shared/types").AnyObject;
576
- row: import("../../../es/shared/types").AnyObject;
575
+ rawRow: import("../../shared/types").AnyObject;
576
+ row: import("../../shared/types").AnyObject;
577
577
  colspans?: Record<string, number> | undefined;
578
578
  }>>;
579
579
  onResizableChange: import("vxe-table").VxeTableEvents.ResizableChange;
@@ -582,11 +582,11 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
582
582
  setCurrentPageRowChecked: () => void;
583
583
  setCurrentCheckedLength: () => void;
584
584
  formatColumns: (map: any) => any[];
585
- getRowData: (row: import("../../../es/shared/types").AnyObject) => {
585
+ getRowData: (row: import("../../shared/types").AnyObject) => {
586
586
  separateData: Record<string, string>;
587
587
  index: number;
588
- rawRow: import("../../../es/shared/types").AnyObject;
589
- row: import("../../../es/shared/types").AnyObject;
588
+ rawRow: import("../../shared/types").AnyObject;
589
+ row: import("../../shared/types").AnyObject;
590
590
  colspans?: Record<string, number> | undefined;
591
591
  } | undefined;
592
592
  formatterEdit: (params: any, col: any) => any;
@@ -600,7 +600,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
600
600
  handleFilterSearchChange: (value: any, columnName: any, field: any) => void;
601
601
  handleFilterClearAll: (columnName: string) => false | undefined;
602
602
  handleCancelFilter: () => void;
603
- mergeQuickSearchConfig: (filterFields: Record<string, import("../../../es/shared/types").AnyObject>, props: import("../../../es/shared/types").AnyObject) => void;
603
+ mergeQuickSearchConfig: (filterFields: Record<string, import("../../shared/types").AnyObject>, props: import("../../shared/types").AnyObject) => void;
604
604
  handleFilter: (field: any) => void;
605
605
  onmousedownFunc: (e: any) => void;
606
606
  maskInsert: () => void;
@@ -609,7 +609,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
609
609
  maskUp: (e: any) => void;
610
610
  setGroupTreeExpand: () => void;
611
611
  resetTableInlineEditStatus: () => false | undefined;
612
- renderAnnotation: (columnConfig: import("../../../es/shared/types").AnyObject) => JSX.Element | null;
612
+ renderAnnotation: (columnConfig: import("../../shared/types").AnyObject) => JSX.Element | null;
613
613
  toolTipTitle: (item: any, type?: any) => (() => any) | (JSX.Element | null)[];
614
614
  triggerExpand: (e: any, isExpand: any) => void;
615
615
  getOtherConfigInit: () => any;
@@ -814,7 +814,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
814
814
  default: number;
815
815
  };
816
816
  annotation: {
817
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
817
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
818
818
  };
819
819
  showFooter: BooleanConstructor;
820
820
  sumData: {
@@ -1004,17 +1004,17 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
1004
1004
  resetInlineBatchEdit: FunctionConstructor;
1005
1005
  resetBatchEditRowStatus: FunctionConstructor;
1006
1006
  anchor: {
1007
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1007
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1008
1008
  default: () => never[];
1009
1009
  };
1010
1010
  totalList: {
1011
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1011
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1012
1012
  default: () => never[];
1013
1013
  };
1014
1014
  }>> & {
1015
1015
  [x: `on${string}`]: ((...args: any[]) => any) | undefined;
1016
1016
  }, {
1017
- anchor: import("../../../es/shared/types").AnyObject[];
1017
+ anchor: import("../../shared/types").AnyObject[];
1018
1018
  data: unknown[];
1019
1019
  showFooter: boolean;
1020
1020
  columnConfig: Record<string, any>;
@@ -1071,6 +1071,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
1071
1071
  batchEditDoneNumber: Record<string, any>;
1072
1072
  batchError: boolean;
1073
1073
  batchFormData: Record<string, any>;
1074
- totalList: import("../../../es/shared/types").AnyObject[];
1074
+ totalList: import("../../shared/types").AnyObject[];
1075
1075
  }>>;
1076
1076
  export default BigTable;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  import { VxeTablePropTypes } from 'vxe-table/types/table';
3
3
  import { VxeTableEvents } from 'vxe-table';
4
4
  declare const _default: import("vue").DefineComponent<{
@@ -788,7 +788,7 @@ declare const _default: import("vue").DefineComponent<{
788
788
  readonly displayDirective: "if" | "show" | "show:lazy";
789
789
  }>;
790
790
  NIcon: any;
791
- CGrid: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{}, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
791
+ CGrid: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
792
792
  checkMethod: ({ row }: {
793
793
  row: any;
794
794
  }) => boolean;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  import { PropType } from 'vue';
3
3
  declare const bigTableProps: {
4
4
  data: {