cnhis-design-vue 3.1.55-beta.2 → 3.1.55-beta.21

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 (364) hide show
  1. package/es/components/annotation-edit/index.d.ts +1 -1
  2. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +1 -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 +7 -3
  6. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  7. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -0
  8. package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
  9. package/es/components/audio-sdk/style/index.css +1 -1
  10. package/es/components/base-search/index.d.ts +1 -1
  11. package/es/components/base-search/src/index.vue.d.ts +4 -4
  12. package/es/components/base-search/src/index.vue2.js +1 -1
  13. package/es/components/big-table/index.d.ts +22 -22
  14. package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
  15. package/es/components/big-table/src/bigTableProps.d.ts +1 -1
  16. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
  17. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
  18. package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
  19. package/es/components/big-table/src/constants/index.d.ts +1 -1
  20. package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
  21. package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
  22. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  23. package/es/components/big-table/src/utils.d.ts +1 -1
  24. package/es/components/biunique-chat/index.d.ts +14 -14
  25. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
  26. package/es/components/biunique-chat/src/api/index.d.ts +1 -1
  27. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
  28. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
  29. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
  30. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
  31. package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
  32. package/es/components/body-select/index.d.ts +5 -5
  33. package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
  34. package/es/components/body-select/src/index.vue.d.ts +1 -1
  35. package/es/components/bpmn-workflow/index.d.ts +1 -1
  36. package/es/components/button-print/index.d.ts +21 -21
  37. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  38. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  39. package/es/components/button-print/src/api.d.ts +1 -1
  40. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
  41. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  42. package/es/components/button-print/src/utils/print.d.ts +2 -2
  43. package/es/components/callback/index.d.ts +1 -1
  44. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
  45. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  46. package/es/components/callback/src/components/render/popupMaps.d.ts +61 -162
  47. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
  48. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
  49. package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
  50. package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
  51. package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
  52. package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
  53. package/es/components/classification/index.d.ts +20 -20
  54. package/es/components/classification/src/components/set-classification/index.vue.d.ts +13 -13
  55. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  56. package/es/components/classification/src/index.vue.d.ts +13 -13
  57. package/es/components/config-provider/index.d.ts +1 -1
  58. package/es/components/date-picker/index.d.ts +2 -2
  59. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  60. package/es/components/editor/index.d.ts +1 -1
  61. package/es/components/expand-field/index.d.ts +29 -29
  62. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
  63. package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
  64. package/es/components/expand-field/src/constants/index.d.ts +1 -1
  65. package/es/components/expand-field/src/index.vue.d.ts +2 -2
  66. package/es/components/fabric-chart/index.d.ts +10 -8
  67. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -3
  68. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  69. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  70. package/es/components/fabric-chart/src/constants/index.d.ts +4 -1
  71. package/es/components/fabric-chart/src/constants/index.js +1 -1
  72. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
  73. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
  74. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
  75. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
  76. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  77. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -4
  78. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  79. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
  80. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
  81. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
  82. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
  83. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
  84. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
  85. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
  86. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
  87. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  88. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
  89. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
  90. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
  91. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  92. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
  93. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
  94. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
  95. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
  96. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
  97. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  98. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  99. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
  100. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  101. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  102. package/es/components/field-set/index.d.ts +15 -15
  103. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  104. package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
  105. package/es/components/field-set/src/types/index.d.ts +1 -1
  106. package/es/components/field-set/src/utils/index.d.ts +3 -3
  107. package/es/components/form-config/index.d.ts +280 -475
  108. package/es/components/form-config/src/FormConfig.vue.d.ts +406 -601
  109. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +27 -128
  110. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  111. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +193 -291
  112. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  113. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
  114. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
  115. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
  116. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
  117. package/es/components/form-config/src/constants/index.d.ts +2 -2
  118. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
  119. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  120. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
  121. package/es/components/form-config/src/types/index.d.ts +2 -2
  122. package/es/components/form-config/src/utils/index.d.ts +3 -3
  123. package/es/components/form-render/index.d.ts +60 -161
  124. package/es/components/form-render/index.js +1 -1
  125. package/es/components/form-render/src/FormRender.vue.d.ts +25 -127
  126. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  127. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +83 -184
  128. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
  129. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  130. package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
  131. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
  132. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
  133. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  134. package/es/components/form-render/src/components/renderer/date.js +1 -1
  135. package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
  136. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
  137. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
  138. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +2 -2
  139. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  140. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  141. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  142. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
  143. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  144. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  145. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  146. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  147. package/es/components/form-render/src/components/renderer/select.js +1 -1
  148. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
  149. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  150. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  151. package/es/components/form-render/src/constants/index.d.ts +5 -6
  152. package/es/components/form-render/src/constants/index.js +1 -1
  153. package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
  154. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  155. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  156. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  157. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
  158. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -2
  159. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  160. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +19 -19
  161. package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
  162. package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
  163. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  164. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +5 -5
  165. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  166. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
  167. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +16 -12
  168. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  169. package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
  170. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  171. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  172. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
  173. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  174. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
  175. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  176. package/es/components/form-render/src/types/index.d.ts +15 -15
  177. package/es/components/form-render/src/utils/business.d.ts +2 -2
  178. package/es/components/form-render/src/utils/dom.d.ts +1 -1
  179. package/es/components/form-render/src/utils/index.d.ts +4 -18
  180. package/es/components/form-render/src/utils/index.js +1 -1
  181. package/es/components/form-render/src/utils/schema.d.ts +3 -3
  182. package/es/components/form-render/src/utils/schema.js +1 -1
  183. package/es/components/grid/index.d.ts +1 -1
  184. package/es/components/guide/src/renderer.d.ts +1 -1
  185. package/es/components/guide/src/types/index.d.ts +1 -1
  186. package/es/components/guide/src/useGuide.d.ts +1 -1
  187. package/es/components/guide/src/utils/index.d.ts +1 -1
  188. package/es/components/iho-table/index.d.ts +39 -39
  189. package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
  190. package/es/components/iho-table/src/constants/index.d.ts +5 -5
  191. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
  192. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
  193. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
  194. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
  195. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
  196. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
  197. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
  198. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
  199. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  200. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
  201. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
  202. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
  203. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
  204. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
  205. package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
  206. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
  207. package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
  208. package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
  209. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  210. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
  211. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
  212. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
  213. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
  214. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
  215. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
  216. package/es/components/iho-table/src/plugins/index.d.ts +1 -1
  217. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
  218. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
  219. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
  220. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
  221. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
  222. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
  223. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
  224. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
  225. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
  226. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
  227. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
  228. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
  229. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  230. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
  231. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
  232. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  233. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
  234. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
  235. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
  236. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
  237. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
  238. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
  239. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
  240. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
  241. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
  242. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
  243. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
  244. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
  245. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
  246. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
  247. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
  248. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
  249. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
  250. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
  251. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
  252. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
  253. package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
  254. package/es/components/iho-table/src/types/index.d.ts +3 -3
  255. package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
  256. package/es/components/iho-table/src/utils/index.d.ts +3 -3
  257. package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
  258. package/es/components/index.css +1 -1
  259. package/es/components/index.d.ts +3 -3
  260. package/es/components/index.js +1 -1
  261. package/es/components/info-header/index.d.ts +175 -377
  262. package/es/components/info-header/src/InfoHeader.vue.d.ts +191 -393
  263. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
  264. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +9 -9
  265. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +106 -207
  266. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +28 -129
  267. package/es/components/info-header/src/constants/index.d.ts +1 -1
  268. package/es/components/info-header/src/types/index.d.ts +1 -1
  269. package/es/components/keyboard/index.d.ts +1 -1
  270. package/es/components/map/index.d.ts +1 -1
  271. package/es/components/map/src/Map.vue.d.ts +1 -1
  272. package/es/components/picture-clipper/index.d.ts +1 -1
  273. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
  274. package/es/components/quick-search/index.d.ts +1 -1
  275. package/es/components/quick-search/src/index.vue.d.ts +4 -4
  276. package/es/components/recommend-search/index.d.ts +25 -25
  277. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +7 -7
  278. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  279. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +2 -2
  280. package/es/components/scale-view/index.d.ts +1 -1
  281. package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
  282. package/es/components/scale-view/src/types/index.d.ts +1 -1
  283. package/es/components/search-cascader/index.d.ts +34 -34
  284. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
  285. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  286. package/es/components/search-cascader/src/constants/index.d.ts +1 -1
  287. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  288. package/es/components/select-label/index.d.ts +1 -1
  289. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  290. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  291. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
  292. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
  293. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
  294. package/es/components/select-label/src/index.vue.d.ts +19 -19
  295. package/es/components/select-person/index.d.ts +22 -22
  296. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  297. package/es/components/shortcut-provider/index.d.ts +1 -1
  298. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
  299. package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
  300. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
  301. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  302. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  303. package/es/components/shortcut-setter/index.d.ts +76 -176
  304. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +109 -209
  305. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
  306. package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
  307. package/es/components/slider-tree/index.d.ts +1 -1
  308. package/es/components/steps-wheel/index.d.ts +1 -1
  309. package/es/components/table-export-field/index.d.ts +3 -3
  310. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -1
  311. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
  312. package/es/components/table-export-field/src/constants/index.d.ts +1 -1
  313. package/es/components/table-export-field/src/index.vue.d.ts +1 -1
  314. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
  315. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  316. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
  317. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
  318. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
  319. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  320. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  321. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
  322. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  323. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  324. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
  325. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
  326. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
  327. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
  328. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +4 -0
  329. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  330. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
  331. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -0
  332. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
  333. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +13 -9
  334. package/es/components/table-filter/src/constants/index.d.ts +1 -1
  335. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  336. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  337. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  338. package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
  339. package/es/components/table-filter/src/types/index.d.ts +1 -0
  340. package/es/components/time-line/index.d.ts +1 -1
  341. package/es/components/time-picker/index.d.ts +2 -2
  342. package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
  343. package/es/components/vod-chunk-upload/index.d.ts +1 -1
  344. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
  345. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  346. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
  347. package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
  348. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
  349. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  350. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  351. package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
  352. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +1 -1
  353. package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
  354. package/es/shared/hooks/useDateTime.d.ts +1 -1
  355. package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
  356. package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
  357. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  358. package/es/shared/hooks/useTheme.d.ts +1 -1
  359. package/es/shared/package.json.js +1 -1
  360. package/es/shared/types/business.d.ts +1 -1
  361. package/es/shared/utils/business.d.ts +1 -1
  362. package/es/shared/utils/business.js +1 -1
  363. package/es/shared/utils/index.d.ts +1 -1
  364. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { AnyObject } from '../../../../es/shared/types';
2
- import { ShortcutSignatureInfo } from '../../../../es/components/shortcut-provider';
1
+ import { AnyObject } from '../../../shared/types';
2
+ import { ShortcutSignatureInfo } from '../../../components/shortcut-provider';
3
3
  declare enum ShortcutInputState {
4
4
  STATIC = 0,
5
5
  EDIT = 1
@@ -1,4 +1,4 @@
1
- import { ShortcutSignatureInfo } from '../../../../../es/components/shortcut-provider';
1
+ import { ShortcutSignatureInfo } from '../../../../components/shortcut-provider';
2
2
  export interface ShortcutSetterExpose {
3
3
  loadSignature(): void;
4
4
  getSignature(): Record<string, ShortcutSignatureInfo>;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  export * from './src/utils';
3
3
  declare const CSliderTree: SFCWithInstall<import("vue").DefineComponent<{
4
4
  sliderInitialWidth: {
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const StepsWheel: SFCWithInstall<import("vue").DefineComponent<{
3
3
  stepInfo: {
4
4
  type: ObjectConstructor;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
3
3
  visible: {
4
4
  type: BooleanConstructor;
@@ -148,7 +148,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
148
148
  isSelectAll: import("vue").Ref<boolean>;
149
149
  isIndeterminate: import("vue").Ref<boolean>;
150
150
  fieldCheckList: import("vue").Ref<any[]>;
151
- exportApiConfig: import("../../../es/shared/types").AnyObject;
151
+ exportApiConfig: import("../../shared/types").AnyObject;
152
152
  curSchemeId: import("vue").ComputedRef<string>;
153
153
  dragEnd: () => void;
154
154
  deleteExportSchemeItem: (schemeId: string) => Promise<import("naive-ui").MessageReactive | undefined>;
@@ -401,7 +401,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
401
401
  };
402
402
  selectProject: import("vue").Ref<any>;
403
403
  projectList: import("vue").Ref<any[]>;
404
- exportApiConfig: import("../../../es/shared/types").AnyObject;
404
+ exportApiConfig: import("../../shared/types").AnyObject;
405
405
  handleRadioChange: (value: string | number | boolean) => void;
406
406
  validateProjectName: () => boolean;
407
407
  getParams: () => {
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,3 +1,3 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  import { InjectionKey } from 'vue';
3
3
  export declare const InjectionExportApiConfig: InjectionKey<AnyObject>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ISearchConfigType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useBiConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
4
4
  State: any;
5
5
  paramOptions: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IClassifyListType, ICategoryItemType } from '../../../../../../es/components/table-filter/src/types';
2
+ import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  actionList_prop: {
5
5
  type: PropType<IClassifyListType>;
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
94
94
  updateKey: (index: number, val: any) => void;
95
95
  updateCondition: (index: number, val: any) => void;
96
96
  getParamCfg: (key: string) => any;
97
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
97
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
98
98
  getRawFilterConditions: () => any;
99
99
  isShowValueCfg: (con: string) => boolean;
100
100
  handleEditDisplayCategory: (item: ICategoryItemType) => void;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ICategoryItemType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ICategoryItemType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { conditionList }: any, $message: any) => {
4
4
  State: {
5
5
  addDisplayCategory: string;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ISearchConfigType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useFilterConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
4
4
  State: any;
5
5
  paramOptions: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IClassifyListType, ICategoryItemType } from '../../../../../../es/components/table-filter/src/types';
2
+ import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  actionList_prop: {
5
5
  type: PropType<IClassifyListType>;
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  updateKey: (index: number, val: any) => void;
102
102
  updateCondition: (index: number, val: any) => void;
103
103
  getParamCfg: (key: string) => any;
104
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
104
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
105
105
  getRawFilterConditions: () => any[];
106
106
  handleEditDisplayCategory: (item: ICategoryItemType) => void;
107
107
  handleDisplayCategoryAddState: () => void;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ICheckboxType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ICheckboxType } from '../../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  options: {
5
5
  type: PropType<ICheckboxType[]>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
83
83
  };
84
84
  init: () => void;
85
85
  NButton: any;
86
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
86
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
87
87
  updateUnchangedValue: {
88
88
  type: BooleanConstructor;
89
89
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
67
67
  };
68
68
  init: () => void;
69
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
69
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
70
70
  updateUnchangedValue: {
71
71
  type: BooleanConstructor;
72
72
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  };
102
102
  init: () => void;
103
103
  NButton: any;
104
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
104
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
105
105
  updateUnchangedValue: {
106
106
  type: BooleanConstructor;
107
107
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'daterange' | 'datetimerange';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  type: {
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
68
68
  isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
69
69
  };
70
70
  init: () => void;
71
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
71
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
72
72
  updateUnchangedValue: {
73
73
  type: BooleanConstructor;
74
74
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  componentCfg: {
5
5
  type: PropType<AnyObject>;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
- import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '../../../../../../../es/components/table-filter/src/types';
3
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '../../../../../../components/table-filter/src/types';
3
+ import { AnyObject } from '../../../../../../shared/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
6
6
  type: PropType<AnyObject>;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { SelectOption } from 'naive-ui';
3
- import { AnyObject } from '../../../../../../../es/shared/types';
3
+ import { AnyObject } from '../../../../../../shared/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
6
6
  type: PropType<AnyObject>;
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
7
7
  };
8
8
  }, {
9
9
  message: import("naive-ui").MessageApi;
10
+ tableType: {
11
+ SQL: string;
12
+ API: string;
13
+ };
10
14
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
11
15
  value: {
12
16
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as n,nextTick as u,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as c,withCtx as v,createVNode as p,h as f}from"vue";import{useMessage as m,NSelect as d,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as S}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import C from"./SelectDynamicOption/index.vue.js";import{isEqual as N,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const P=e,k=m(),{getDynamicSelectData:x}=h(),D=a(),J=l(!1),E=t(b),I=t(j),K=l(1),$=l(),T=l([JSON.parse(JSON.stringify(O))]),U=l([]),W=l(),M=l(0),_={class:"select-dynamic-popover"},F=n((()=>D.multiple)),H=n((()=>{const{widgetCfg:e}=P.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),V=n((()=>{const{widgetCfg:e}=P.componentCfg,{showWholeOption:a=!1}=e;return a&&1===K.value})),q=n((()=>M.value>0&&K.value>=M.value)),z=n((()=>{var e;if(Array.isArray(P.value)&&P.value.length>0){const e=P.value;if(G(e),!F.value&&1==e.length){const a=T.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=T.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return G([]),null!=(e=P.value)?e:null})),B=n((()=>{if(Object.keys(H.value).length>0){const{defaultParams:e=[]}=H.value;return w(e)&&!P.value}return!1}));function G(e){T.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Q(e){const{widgetCfg:a}=P.componentCfg,{linkageFieldKeys:l=[]}=a;N(P.value,e)||(l.forEach((e=>{const a=I.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("update:value",e))}async function R(e){K.value=e,await X(W.value,K.value)}async function X(e,a){try{if(Object.keys(H.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:n,filterKeys:u,defaultParams:o=[],showKeys:i,valueKey:s}=H.value;let r={wordbookId:t,autograph:l,wordbookType:n,fieldKeys:u,page:a};u.length>0&&(r[u[0]]=e),J.value=!0;if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=I.value.find((a=>a.columnName===e));a&&a.value&&a.value!==S.WHOLE&&(r[e]=a.value)}))}let c=await x(r,E);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),n=A(t);V.value&&t.unshift(JSON.parse(JSON.stringify(O))),$.value=null!=e?e:[],T.value=null!=t?t:[],U.value=n,M.value=l}}}catch(e){k.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{J.value=!1}}const Y=g((async e=>{await async function(e){W.value=e.trim(),K.value=1,await X(W.value,K.value)}(e)}),300);async function Z(){Object.keys(H.value).length>0&&E&&await X("",K.value)}async function ee(){L("update:value",null),await Z()}function ae(e){e&&Z()}function le({option:e,handleClose:a}){if(F.value){const l=e.value;return f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(P.value)&&P.value.length>0){const e=P.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);L("update:value",l.length>0?l:null)}}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return u((()=>{B.value||Z()})),(e,a)=>(o(),i(s(d),r(s(D),{value:s(z),"onUpdate:value":a[0]||(a[0]=e=>c(z)?z.value=e:null),remote:"",loading:J.value,"render-tag":le,"menu-props":_,onSearch:s(Y),onClear:ee,"onUpdate:show":ae}),{empty:v((()=>[p(C,r(s(D),{dynamicOptionInfo:s(H),fieldTitleList:$.value,optionList:T.value,isMultiple:s(F),curPage:K.value,isLastPage:s(q),isShowWhole:s(V),onUpdateSelect:Q,onUpdatePage:R}),null,16,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{L as default};
1
+ import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as n,nextTick as u,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as c,withCtx as v,createVNode as p,h as f}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as S}from"../helpers/selectExtraMap.js";import{WidgetValEnums as O}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import C from"./SelectDynamicOption/index.vue.js";import{isEqual as k,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const N=e,P=d(),D="SQL",x="API",{getDynamicSelectData:I}=h(),J=a(),E=l(!1),K=t(b),T=t(j),$=l(1),U=l(),W=l([JSON.parse(JSON.stringify(S))]),M=l([]),_=l(),F=l(0),H={class:"select-dynamic-popover"},Q=n((()=>J.multiple)),V=n((()=>{const{widgetCfg:e}=N.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=n((()=>{const{widgetCfg:e}=N.componentCfg,{showWholeOption:a=!1}=e;return a&&1===$.value})),z=n((()=>F.value>0&&$.value>=F.value)),B=n((()=>{var e;if(Array.isArray(N.value)&&N.value.length>0){const e=N.value;if(R(e),!Q.value&&1==e.length){const a=W.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=W.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return R([]),null!=(e=N.value)?e:null})),G=n((()=>{if(Object.keys(V.value).length>0){const{defaultParams:e=[]}=V.value;return w(e)&&!N.value}return!1}));function R(e){W.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function X(e){const{widgetCfg:a}=N.componentCfg,{linkageFieldKeys:l=[]}=a;k(N.value,e)||(l.forEach((e=>{const a=T.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("update:value",e))}async function Y(e){$.value=e,await Z(_.value,$.value)}async function Z(e,a){try{if(Object.keys(V.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:n,filterKeys:u,defaultParams:o=[],showKeys:i,valueKey:s,tableDataType:r}=V.value;let c={wordbookId:t,autograph:l,wordbookType:n,fieldKeys:u,page:a};switch(r){case D:c.keyword=e;break;case x:u.length>0&&(c[u[0]]=e)}E.value=!0;if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=T.value.find((a=>a.columnName===e));a&&a.value&&a.value!==O.WHOLE&&(c[e]=a.value)}))}let v=await I(c,K);if(v){const{fieldList:e=[],rows:a=[],total:l=0}=v.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),n=A(t);q.value&&t.unshift(JSON.parse(JSON.stringify(S))),U.value=null!=e?e:[],W.value=null!=t?t:[],M.value=n,F.value=l}}}catch(e){P.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{E.value=!1}}const ee=g((async e=>{await async function(e){_.value=e.trim(),$.value=1,await Z(_.value,$.value)}(e)}),300);async function ae(){Object.keys(V.value).length>0&&K&&await Z("",$.value)}async function le(){L("update:value",null),await ae()}function te(e){e&&ae()}function ne({option:e,handleClose:a}){if(Q.value){const l=e.value;return f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(N.value)&&N.value.length>0){const e=N.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);L("update:value",l.length>0?l:null)}}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return u((()=>{G.value||ae()})),(e,a)=>(o(),i(s(m),r(s(J),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>c(B)?B.value=e:null),remote:"",loading:E.value,"render-tag":ne,"menu-props":H,onSearch:s(ee),onClear:le,"onUpdate:show":te}),{empty:v((()=>[p(C,r(s(J),{dynamicOptionInfo:s(V),fieldTitleList:U.value,optionList:W.value,isMultiple:s(Q),curPage:$.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:X,onUpdatePage:Y}),null,16,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{L as default};
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  dynamicOptionInfo: {
5
5
  type: PropType<AnyObject>;
@@ -1216,6 +1216,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1216
1216
  };
1217
1217
  }, {
1218
1218
  message: import("naive-ui").MessageApi;
1219
+ tableType: {
1220
+ SQL: string;
1221
+ API: string;
1222
+ };
1219
1223
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1220
1224
  value: {
1221
1225
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1,4 +1,4 @@
1
- import { ISearchType } from '../../../../../../../es/components/table-filter/src/types';
1
+ import { ISearchType } from '../../../../../../components/table-filter/src/types';
2
2
  export declare const judgmentVariable: (defaultParams: any[]) => boolean;
3
3
  export declare const setSelectDynamicValue: (cfg: ISearchType) => Promise<any[] | null>;
4
4
  export declare const selectDynamicDefaultValue: (defValueUnit: string, options: any[]) => any[];
@@ -1,4 +1,4 @@
1
- import { funcVoid } from '../../../../../../es/components/table-filter/src/types';
1
+ import { funcVoid } from '../../../../../components/table-filter/src/types';
2
2
  export declare const WidgetCfgMaps: Map<string, {
3
3
  component: any;
4
4
  props: {
@@ -154,6 +154,10 @@ export declare const WidgetCfgMaps: Map<string, {
154
154
  };
155
155
  }, {
156
156
  message: import("naive-ui").MessageApi;
157
+ tableType: {
158
+ SQL: string;
159
+ API: string;
160
+ };
157
161
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
158
162
  value: {
159
163
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1344,7 +1348,7 @@ export declare const WidgetCfgMaps: Map<string, {
1344
1348
  } | {
1345
1349
  component: import("vue").DefineComponent<{
1346
1350
  options: {
1347
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1351
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1348
1352
  };
1349
1353
  value: {
1350
1354
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1357,7 +1361,7 @@ export declare const WidgetCfgMaps: Map<string, {
1357
1361
  }, {
1358
1362
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1359
1363
  options: {
1360
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1364
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1361
1365
  };
1362
1366
  value: {
1363
1367
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1427,7 +1431,7 @@ export declare const WidgetCfgMaps: Map<string, {
1427
1431
  NCheckbox: any;
1428
1432
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1429
1433
  options: {
1430
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1434
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1431
1435
  };
1432
1436
  value: {
1433
1437
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1486,17 +1490,17 @@ export declare const WidgetCfgMaps: Map<string, {
1486
1490
  selectedList: import("vue").Ref<string[]>;
1487
1491
  tagList: import("vue").Ref<never[]>;
1488
1492
  filterApiConfig: import("../../../..").AnyObject;
1489
- categoryList: import("vue").ComputedRef<import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
1490
- onResize: (el: HTMLElement, categoryItem: import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1491
- handleLabelUpfold: (categoryItem: import("../../../../../../es/components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1492
- formatStyle: (item: import("../../../../../../es/components/table-filter/src/types").IhoFilterTabLabelItemType) => {
1493
+ categoryList: import("vue").ComputedRef<import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
1494
+ onResize: (el: HTMLElement, categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1495
+ handleLabelUpfold: (categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1496
+ formatStyle: (item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => {
1493
1497
  background: string;
1494
1498
  borderColor: string;
1495
1499
  } | {
1496
1500
  background?: undefined;
1497
1501
  borderColor?: undefined;
1498
1502
  };
1499
- handleLabelChange: (isSelect: boolean, item: import("../../../../../../es/components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
1503
+ handleLabelChange: (isSelect: boolean, item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
1500
1504
  initTagList: () => Promise<void>;
1501
1505
  NTag: any;
1502
1506
  NTooltip: any;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  import { InjectionKey, Ref } from 'vue';
3
3
  export declare const InjectionFilterApiConfig: InjectionKey<AnyObject>;
4
4
  export declare const InjectionFilterSearchConfig: InjectionKey<Ref<AnyObject[]>>;
@@ -1,4 +1,4 @@
1
- import { IApiServerType, ISearchType, IExtendConfigurationType } from '../../../../../es/components/table-filter/src/types';
1
+ import { IApiServerType, ISearchType, IExtendConfigurationType } from '../../../../components/table-filter/src/types';
2
2
  export default function useAdvanced(): {
3
3
  transformData: (advancedFilterData: IApiServerType[], extendData: IExtendConfigurationType) => {
4
4
  fieldType: string;
@@ -19,7 +19,7 @@ export default function useAdvanced(): {
19
19
  multiple: boolean;
20
20
  manualMapping: boolean | null | undefined;
21
21
  showWholeOption: boolean | undefined;
22
- dynamicOptionInfo: import("../../../../../es/components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
22
+ dynamicOptionInfo: import("../../../../components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
23
23
  classifyStr: string | undefined;
24
24
  linkageFieldKeys: string[];
25
25
  };
@@ -1,4 +1,4 @@
1
- import { ISearchType } from '../../../../../es/components/table-filter/src/types';
1
+ import { ISearchType } from '../../../../components/table-filter/src/types';
2
2
  export default function (): {
3
3
  filterApiConfig: import("vue").Ref<{}>;
4
4
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
@@ -1,4 +1,4 @@
1
- import { ISearchType, ISearchConfigType } from '../../../../../es/components/table-filter/src/types';
1
+ import { ISearchType, ISearchConfigType } from '../../../../components/table-filter/src/types';
2
2
  export default function (): {
3
3
  isRender: (cfg: ISearchType) => any;
4
4
  getDefValByRenderWidget: (cfg: ISearchType) => Promise<any>;
@@ -1,4 +1,4 @@
1
- import { IFilterConditionType } from '../../../../../es/components/table-filter/src/types';
1
+ import { IFilterConditionType } from '../../../../components/table-filter/src/types';
2
2
  /**
3
3
  * 高级筛选数据转换
4
4
  */
@@ -148,6 +148,7 @@ export declare type dynamicOptionInfoType = {
148
148
  dataSourceId: string;
149
149
  dataSourceType: string;
150
150
  autograph: string;
151
+ tableDataType: string;
151
152
  };
152
153
  export declare type ICategoryItemType = {
153
154
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
3
3
  items: {
4
4
  type: import("vue").PropType<{
@@ -1,9 +1,9 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
3
3
  attrs: {
4
4
  [x: string]: unknown;
5
5
  };
6
- timePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
6
+ timePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
7
7
  formatRef: import("vue").ComputedRef<string>;
8
8
  focus: () => any;
9
9
  blur: () => any;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
3
  attrs: {
4
4
  [x: string]: unknown;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  import 'vue-simple-uploader/dist/style.css';
3
3
  declare const VodChunkUpload: SFCWithInstall<import("vue").DefineComponent<{
4
4
  formData: {
@@ -1,4 +1,4 @@
1
- import { AnyObject, AnyFn } from '../../../../es/shared/types';
1
+ import { AnyObject, AnyFn } from '../../../shared/types';
2
2
  import { PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  value: {
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  type: StringConstructor;
31
31
  default: string;
32
32
  };
33
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
34
  value: {
35
35
  type: (NumberConstructor | StringConstructor)[];
36
36
  };
@@ -60,7 +60,9 @@ declare const _default: import("vue").DefineComponent<{
60
60
  type: StringConstructor;
61
61
  default: string;
62
62
  };
63
- }>>, {
63
+ }>> & {
64
+ onSelect?: ((...args: any[]) => any) | undefined;
65
+ }, {
64
66
  onChange: AnyFn<any[], any>;
65
67
  slashSymbol: string;
66
68
  }>;
@@ -1 +1 @@
1
- import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as p,NDropdown as c}from"naive-ui";import"../../../components/form-render/index.js";import{createInputSlot as m}from"../../../components/form-render/src/utils/index.js";var f=e({props:{value:{type:[Number,String]},onChange:{type:Function,default:()=>({})},prefix:{type:[String,Function,Object]},suffix:{type:[String,Function,Object]},precision:{type:Number},whiteList:{type:Array},inputProps:{type:Object},popperProps:{type:Object},slashSymbol:{type:String,default:"/"}},setup(e){const f=m(e),d=l((()=>s(e.whiteList)?e.whiteList.reduce(((e,l)=>(i(l)&&e.push({label:l,value:l}),e)),[]):[]));const h=t(),b=l({get:()=>h.value,set:l=>r(l)?h.value=l+"":i(l)?l.endsWith(e.slashSymbol)?h.value=e.slashSymbol:void(h.value=d.value.some((e=>e.label!==l&&e.label.includes(l)))?"":l):void 0});function g(e=-1){const l=r(+e)&&e>=0?+e:null;return new RegExp(`^-?(0|[1-9][0-9]*)?${0===l?"":`(\\.[0-9]${r(l)?`{0,${l}}`:"*"})?`}$`)}u((()=>e.value),(e=>b.value=e),{immediate:!0});const y=g();function S(){if(b.value===e.slashSymbol||function(e,l=!1){return d.value.length&&d.value.some((({value:t})=>l?t.includes(e):t===e))}(b.value))e.onChange(b.value);else if(i(b.value)&&"-"!==b.value)if(y.test(b.value)){const l=b.value.endsWith(".")?b.value.slice(0,-1):b.value;e.onChange(b.value=l)}else b.value=e.value;else b.value=e.value}const j=t(!1),w=t();function x(){j.value=!0}function $(e){var l;if(!e.target)return;const t=e.target;(null==(l=w.value)?void 0:l.$el)&&a(t,(e=>e===w.value.$el))||(j.value=!1)}function C(e,l){var t,u;v(l)&&(b.value=l.value,null==(u=null==(t=w.value)?void 0:t.focus)||u.call(t))}const F=l((()=>g(e.precision)));function O(l){return!(null!=l&&""!==l&&l!==e.slashSymbol&&i(l)&&!l.endsWith(e.slashSymbol))||(!(!d.value.length||!d.value.some((e=>e.label.includes(l))))||F.value.test(l)&&"-."!==l&&!l.startsWith("."))}return()=>{const l=n(p,o({ref:w,value:b.value,"onUpdate:value":e=>b.value=e,"allow-input":O,onBlur:S,onClick:x,onFocus:x},e.inputProps),f.value);return d.value.length?n(c,o({onSelect:C,options:d.value,show:j.value,width:"trigger",onClickoutside:$},e.popperProps),{default:()=>l}):l}}});export{f as default};
1
+ import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as c,NDropdown as p}from"naive-ui";import"../../../components/form-render/index.js";import{createInputSlot as m}from"../../../components/form-render/src/utils/index.js";var f=e({props:{value:{type:[Number,String]},onChange:{type:Function,default:()=>({})},prefix:{type:[String,Function,Object]},suffix:{type:[String,Function,Object]},precision:{type:Number},whiteList:{type:Array},inputProps:{type:Object},popperProps:{type:Object},slashSymbol:{type:String,default:"/"}},emits:["select"],setup(e,{emit:f}){const d=m(e),h=l((()=>s(e.whiteList)?e.whiteList.reduce(((e,l)=>(i(l)&&e.push({label:l,value:l}),e)),[]):[]));const b=t(),g=l({get:()=>b.value,set:l=>r(l)?b.value=l+"":i(l)?l.endsWith(e.slashSymbol)?b.value=e.slashSymbol:void(b.value=h.value.some((e=>e.label!==l&&e.label.includes(l)))?"":l):void 0});function y(e=-1){const l=r(+e)&&e>=0?+e:null;return new RegExp(`^-?(0|[1-9][0-9]*)?${0===l?"":`(\\.[0-9]${r(l)?`{0,${l}}`:"*"})?`}$`)}u((()=>e.value),(e=>g.value=e),{immediate:!0});const S=y();function j(){if(g.value===e.slashSymbol||function(e,l=!1){return h.value.length&&h.value.some((({value:t})=>l?t.includes(e):t===e))}(g.value))e.onChange(g.value);else if(i(g.value)&&"-"!==g.value)if(S.test(g.value)){const l=g.value.endsWith(".")?g.value.slice(0,-1):g.value;e.onChange(g.value=l)}else g.value=e.value;else g.value=e.value}const w=t(!1),x=t();function $(){w.value=!0}function C(e){var l;if(!e.target)return;const t=e.target;(null==(l=x.value)?void 0:l.$el)&&a(t,(e=>e===x.value.$el))||(w.value=!1)}function F(e,l){var t,u;v(l)&&(g.value=l.value,null==(u=null==(t=x.value)?void 0:t.focus)||u.call(t),f("select",l))}const O=l((()=>y(e.precision)));function P(l){return!(null!=l&&""!==l&&l!==e.slashSymbol&&i(l)&&!l.endsWith(e.slashSymbol))||(!(!h.value.length||!h.value.some((e=>e.label.includes(l))))||O.value.test(l)&&"-."!==l&&!l.startsWith("."))}return()=>{const l=n(c,o({ref:x,value:g.value,"onUpdate:value":e=>g.value=e,"allow-input":P,onBlur:j,onClick:$,onFocus:$},e.inputProps),d.value);return h.value.length?n(p,o({onSelect:F,options:h.value,show:w.value,width:"trigger",onClickoutside:C},e.popperProps),{default:()=>l}):l}}});export{f as default};
@@ -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 _default: import("vue").DefineComponent<{
4
4
  searchPageConfig: {
@@ -1,4 +1,4 @@
1
- import { AnyFn } from '../../../../es/shared/types';
1
+ import { AnyFn } from '../../../shared/types';
2
2
  import { Component, PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  renderer: {
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  import { Ref } from 'vue';
3
3
  export declare function useOptionFiltered(props: Partial<{
4
4
  options: AnyObject[];
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  export declare const searchContentMatcher: (searchContent: string, label: string) => RegExpMatchArray | null;
3
3
  export declare function useSearchContent(): {
4
4
  searchContent: import("vue").Ref<string | undefined>;
@@ -1 +1 @@
1
- import{keywordMatcher as e}from"../../utils/index.js";import{useMemoize as t}from"@vueuse/core";import{identity as r,isArray as n,isString as o}from"lodash-es";import{ref as u}from"vue";const i=(()=>{const e=t((e=>new RegExp(`(.*)${e.split("").map((e=>`(${function(e){return e.match(/[()\[\]{}$^\/]/)?"\\"+e:e}(e)})`)).join("(.*)")}(.*)`)),{getKey:r});return(t,r)=>r.match(e(t))})();function c(){const t=u();return{searchContent:t,optionSearchFilter:function(r,u,c){if(!t.value)return r;const s=n(c)?c.filter((e=>e&&o(e))):[];return r.filter((r=>function(r,n,u){if(!t.value)return!0;const c=r?r[n]:"";return!!o(c)&&(!!i(t.value,c)||!!e(t.value,r.keyword)||!!u.length&&u.some((e=>o(r[e])&&r[e].includes(t.value))))}(r,u,s)))}}}export{i as searchContentMatcher,c as useSearchContent};
1
+ import{keywordMatcher as t}from"../../utils/index.js";import{useMemoize as e}from"@vueuse/core";import{identity as r,isArray as n,isString as o,overSome as u,isNumber as i}from"lodash-es";import{ref as c}from"vue";const s=(()=>{const t=e((t=>new RegExp(`(.*)${t.split("").map((t=>`(${function(t){return t.match(/[()\[\]{}$^\/]/)?"\\"+t:t}(t)})`)).join("(.*)")}(.*)`)),{getKey:r});return(e,r)=>r.match(t(e))})();function l(){const e=c();return{searchContent:e,optionSearchFilter:function(r,c,l){if(!e.value)return r;const f=n(l)?l.filter((t=>t&&o(t))):[];return r.filter((r=>function(r,n,c){if(!e.value)return!0;const l=r?r[n]:"";return!!o(l)&&(!!s(e.value,l)||!!t(e.value,r.keyword)||!!c.length&&c.some((t=>u([i,o])(r[t])&&String(r[t]).includes(e.value))))}(r,c,f)))}}}export{s as searchContentMatcher,l as useSearchContent};
@@ -1,4 +1,4 @@
1
- import { AnyObject, ArrayAble } from '../../../../es/shared/types';
1
+ import { AnyObject, ArrayAble } from '../../../shared/types';
2
2
  import { Ref } from 'vue';
3
3
  export declare function useSelectAllowModify(props: Partial<{
4
4
  allowCreate: boolean;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../es/shared/types';
1
+ import { AnyObject } from '../../../shared/types';
2
2
  import { SelectOption } from 'naive-ui';
3
3
  import { Ref } from 'vue';
4
4
  export declare function useSelectRenders(props: {
@@ -1,4 +1,4 @@
1
- import { AnyObject, UndefinedAble } from '../../../../es/shared/types';
1
+ import { AnyObject, UndefinedAble } from '../../../shared/types';
2
2
  export declare namespace AsyncQueueDefine {
3
3
  interface EntryCallback {
4
4
  (err?: any, result?: any): void;