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
@@ -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)[];
@@ -1231,6 +1235,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1231
1235
  [x: string]: unknown;
1232
1236
  };
1233
1237
  emit: (event: "update:value", ...args: any[]) => void;
1238
+ selectDynamicRef: any;
1234
1239
  isLoading: import("vue").Ref<boolean>;
1235
1240
  filterApiConfig: import("../../../../..").AnyObject;
1236
1241
  searchFilterList: import("vue").Ref<import("../../../../..").AnyObject[]>;
@@ -1296,6 +1301,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1296
1301
  type: BooleanConstructor;
1297
1302
  default: boolean;
1298
1303
  };
1304
+ loading: {
1305
+ type: BooleanConstructor;
1306
+ default: boolean;
1307
+ };
1299
1308
  }, {
1300
1309
  selectMinWidth: number;
1301
1310
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1327,6 +1336,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1327
1336
  type: BooleanConstructor;
1328
1337
  default: boolean;
1329
1338
  };
1339
+ loading: {
1340
+ type: BooleanConstructor;
1341
+ default: boolean;
1342
+ };
1330
1343
  }>> & {
1331
1344
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
1332
1345
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -1335,6 +1348,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1335
1348
  dragEndWidth: import("vue").Ref<number>;
1336
1349
  showKeys: import("vue").ComputedRef<any>;
1337
1350
  titleList: import("vue").ComputedRef<string[]>;
1351
+ isOptionsNull: import("vue").ComputedRef<boolean>;
1338
1352
  handleSelect: (option: any) => void;
1339
1353
  searchByPage: (onePage: number) => void;
1340
1354
  changeWidth: ({ distance }: any) => void;
@@ -1410,10 +1424,15 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1410
1424
  type: BooleanConstructor;
1411
1425
  default: boolean;
1412
1426
  };
1427
+ loading: {
1428
+ type: BooleanConstructor;
1429
+ default: boolean;
1430
+ };
1413
1431
  }>> & {
1414
1432
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
1415
1433
  onUpdatePage?: ((...args: any[]) => any) | undefined;
1416
1434
  }, {
1435
+ loading: boolean;
1417
1436
  dynamicOptionInfo: import("../../../../..").AnyObject;
1418
1437
  fieldTitleList: import("../../../../..").AnyObject[];
1419
1438
  optionList: import("../../../../..").AnyObject[];
@@ -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)[];
@@ -169,6 +173,7 @@ export declare const WidgetCfgMaps: Map<string, {
169
173
  [x: string]: unknown;
170
174
  };
171
175
  emit: (event: "update:value", ...args: any[]) => void;
176
+ selectDynamicRef: any;
172
177
  isLoading: import("vue").Ref<boolean>;
173
178
  filterApiConfig: import("../../../..").AnyObject;
174
179
  searchFilterList: import("vue").Ref<import("../../../..").AnyObject[]>;
@@ -234,6 +239,10 @@ export declare const WidgetCfgMaps: Map<string, {
234
239
  type: BooleanConstructor;
235
240
  default: boolean;
236
241
  };
242
+ loading: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
237
246
  }, {
238
247
  selectMinWidth: number;
239
248
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -265,6 +274,10 @@ export declare const WidgetCfgMaps: Map<string, {
265
274
  type: BooleanConstructor;
266
275
  default: boolean;
267
276
  };
277
+ loading: {
278
+ type: BooleanConstructor;
279
+ default: boolean;
280
+ };
268
281
  }>> & {
269
282
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
270
283
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -273,6 +286,7 @@ export declare const WidgetCfgMaps: Map<string, {
273
286
  dragEndWidth: import("vue").Ref<number>;
274
287
  showKeys: import("vue").ComputedRef<any>;
275
288
  titleList: import("vue").ComputedRef<string[]>;
289
+ isOptionsNull: import("vue").ComputedRef<boolean>;
276
290
  handleSelect: (option: any) => void;
277
291
  searchByPage: (onePage: number) => void;
278
292
  changeWidth: ({ distance }: any) => void;
@@ -348,10 +362,15 @@ export declare const WidgetCfgMaps: Map<string, {
348
362
  type: BooleanConstructor;
349
363
  default: boolean;
350
364
  };
365
+ loading: {
366
+ type: BooleanConstructor;
367
+ default: boolean;
368
+ };
351
369
  }>> & {
352
370
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
353
371
  onUpdatePage?: ((...args: any[]) => any) | undefined;
354
372
  }, {
373
+ loading: boolean;
355
374
  dynamicOptionInfo: import("../../../..").AnyObject;
356
375
  fieldTitleList: import("../../../..").AnyObject[];
357
376
  optionList: import("../../../..").AnyObject[];
@@ -1344,7 +1363,7 @@ export declare const WidgetCfgMaps: Map<string, {
1344
1363
  } | {
1345
1364
  component: import("vue").DefineComponent<{
1346
1365
  options: {
1347
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1366
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1348
1367
  };
1349
1368
  value: {
1350
1369
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1357,7 +1376,7 @@ export declare const WidgetCfgMaps: Map<string, {
1357
1376
  }, {
1358
1377
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1359
1378
  options: {
1360
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1379
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1361
1380
  };
1362
1381
  value: {
1363
1382
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1427,7 +1446,7 @@ export declare const WidgetCfgMaps: Map<string, {
1427
1446
  NCheckbox: any;
1428
1447
  }, 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
1448
  options: {
1430
- type: import("vue").PropType<import("../../../../../../es/components/table-filter/src/types").ICheckboxType[]>;
1449
+ type: import("vue").PropType<import("../../../../../components/table-filter/src/types").ICheckboxType[]>;
1431
1450
  };
1432
1451
  value: {
1433
1452
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -1486,17 +1505,17 @@ export declare const WidgetCfgMaps: Map<string, {
1486
1505
  selectedList: import("vue").Ref<string[]>;
1487
1506
  tagList: import("vue").Ref<never[]>;
1488
1507
  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) => {
1508
+ categoryList: import("vue").ComputedRef<import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType[]>;
1509
+ onResize: (el: HTMLElement, categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1510
+ handleLabelUpfold: (categoryItem: import("../../../../../components/table-filter/src/types").IFilterCategoryLabelItemType) => void;
1511
+ formatStyle: (item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => {
1493
1512
  background: string;
1494
1513
  borderColor: string;
1495
1514
  } | {
1496
1515
  background?: undefined;
1497
1516
  borderColor?: undefined;
1498
1517
  };
1499
- handleLabelChange: (isSelect: boolean, item: import("../../../../../../es/components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
1518
+ handleLabelChange: (isSelect: boolean, item: import("../../../../../components/table-filter/src/types").IhoFilterTabLabelItemType) => void;
1500
1519
  initTagList: () => Promise<void>;
1501
1520
  NTag: any;
1502
1521
  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 l=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=>null!=r[e]&&r[e].includes(t.value))))}(r,u,l)))}}}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: {
@@ -11,7 +11,7 @@ export declare function useSelectRenders(props: {
11
11
  showKey: Ref<string | undefined>;
12
12
  valueRef: Ref;
13
13
  }): {
14
- renderLabel: (option: AnyObject) => string | JSX.Element;
14
+ renderLabel: (option: AnyObject) => "" | JSX.Element;
15
15
  renderSelectAll: (onSelectAll: (checked: boolean) => void) => JSX.Element[];
16
16
  renderTag: ({ option, handleClose }: {
17
17
  option: SelectOption;
@@ -1 +1 @@
1
- import{ref as e,createVNode as t,createTextVNode as n}from"vue";import"../../utils/index.js";import{isString as l,isArray as r}from"lodash-es";import{NTooltip as o,NIcon as a,NButton as u,NTag as i}from"naive-ui";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import{searchContentMatcher as s}from"./useSearchContent.js";import{HelpCircleSharp as c}from"@vicons/ionicons5";function p(p,{labelKey:v,valueKey:m,showKey:d,searchContent:f,valueRef:y}){const h=e("");return{renderLabel:function(e){const n=e[v.value];if(!n||!l(n))return"";const r=f.value?s(f.value,n):null,u=r?t("section",null,[r.map(((e,n)=>0!==n&&e?t("span",{style:{color:n%2==0?"var(--n-option-text-color-active)":""}},[e]):null))]):n;return e.desc?t("section",{style:{display:"flex",alignItems:"center",gap:"4px"}},[u,e.desc?t(o,null,{trigger:()=>t(a,{component:c},null),default:()=>e.desc}):null]):u},renderSelectAll:function(e){return[t(u,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!0)},{default:()=>[n("全选")]}),t(u,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!1)},{default:()=>[n("清空")]})]},renderTag:function({option:e,handleClose:n}){var l;const o=null!=(l=d.value&&e[d.value])?l:e[v.value];if(!p.multiple)return h.value=o,o;h.value="";const a=r(y.value)?y.value.findIndex((t=>t===e[m.value])):-1;return p.deletable?t(i,{closable:!0,onClose:e=>{e.stopPropagation(),n()}},{default:()=>t("span",{title:o},[o])}):`${o} ${a>=0&&a===y.value.length-1?"":";"}`},titleRef:h}}export{p as useSelectRenders};
1
+ import{ref as e,createVNode as t,createTextVNode as l}from"vue";import"../../utils/index.js";import{isString as n,isArray as r}from"lodash-es";import{NTooltip as o,NIcon as a,NButton as i,NTag as u}from"naive-ui";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import{searchContentMatcher as s}from"./useSearchContent.js";import{HelpCircleSharp as c}from"@vicons/ionicons5";function p(p,{labelKey:v,valueKey:m,showKey:d,searchContent:f,valueRef:y}){const h=e("");return{renderLabel:function(e){var l;const r=e[v.value];if(!r||!n(r))return"";const i=null!=(l=e.title)?l:r,u=f.value?s(f.value,r):null,p=u?t("section",{title:i},[u.map(((e,l)=>0!==l&&e?t("span",{style:{color:l%2==0?"var(--n-option-text-color-active)":""}},[e]):null))]):t("span",{title:i},[r]);return e.desc?t("section",{style:{display:"flex",alignItems:"center",gap:"4px"}},[p,e.desc?t(o,null,{trigger:()=>t(a,{component:c},null),default:()=>e.desc}):null]):p},renderSelectAll:function(e){return[t(i,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!0)},{default:()=>[l("全选")]}),t(i,{quaternary:!0,type:"primary",size:"tiny",onClick:()=>e(!1)},{default:()=>[l("清空")]})]},renderTag:function({option:e,handleClose:l}){var n;const o=null!=(n=d.value&&e[d.value])?n:e[v.value];if(!p.multiple)return h.value=o,o;h.value="";const a=r(y.value)?y.value.findIndex((t=>t===e[m.value])):-1;return p.deletable?t(u,{closable:!0,onClose:e=>{e.stopPropagation(),l()}},{default:()=>t("span",{title:o},[o])}):`${o} ${a>=0&&a===y.value.length-1?"":";"}`},titleRef:h}}export{p as useSelectRenders};
@@ -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;
@@ -1,5 +1,5 @@
1
1
  import { Ref, ComputedRef } from 'vue';
2
- import { AnyObject, AnyFn } from '../../../es/shared/types';
2
+ import { AnyObject, AnyFn } from '../../shared/types';
3
3
  export declare function useDateTime(datePickerRef: Ref<AnyObject | null>, { formatRef, attrs, emit, allowedInvalidValue, isPanel }: {
4
4
  formatRef: ComputedRef<string | [string, string]>;
5
5
  attrs: AnyObject;
@@ -1,7 +1,7 @@
1
1
  import { FormRequestDefine } from './types';
2
2
  import { ComputedRef } from 'vue';
3
- import { AsyncQueue, AsyncQueueDefine } from '../../../../es/shared/hooks';
4
- import { AnyObject, Nullable, UndefinedAble } from '../../../../es/shared/types';
3
+ import { AsyncQueue, AsyncQueueDefine } from '../../../shared/hooks';
4
+ import { AnyObject, Nullable, UndefinedAble } from '../../../shared/types';
5
5
  export * from './types';
6
6
  export declare function useFormRequest(): {
7
7
  getHttpInstance: () => Nullable<FormRequestDefine.RequestInstance>;
@@ -1,5 +1,5 @@
1
- import { AsyncQueue } from '../../../../es/shared/hooks';
2
- import { AnyObject, AnyFn } from '../../../../es/shared/types';
1
+ import { AsyncQueue } from '../../../shared/hooks';
2
+ import { AnyObject, AnyFn } from '../../../shared/types';
3
3
  export declare namespace FormRequestDefine {
4
4
  type RequestType = 'post' | 'get' | 'patch' | 'delete' | 'put';
5
5
  interface AsyncQueueItem {
@@ -1,5 +1,5 @@
1
- import { FormRequestDefine } from '../../../es/shared/hooks';
2
- import { AnyObject, AnyFn, LowCodeTypes } from '../../../es/shared/types';
1
+ import { FormRequestDefine } from '../../shared/hooks';
2
+ import { AnyObject, AnyFn, LowCodeTypes } from '../../shared/types';
3
3
  import { MaybeRef } from '@vueuse/core';
4
4
  import { Ref } from 'vue';
5
5
  export declare function useLevelSearchCascader(props: Partial<{
@@ -1,3 +1,3 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { CComponentThemeOverrides } from '../../../es/components/config-provider';
2
+ import { CComponentThemeOverrides } from '../../components/config-provider';
3
3
  export declare function useTheme(defaultCssVars?: CSSProperties, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<CSSProperties>;
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.1.55-release.1",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.55-release.1",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
1
+ var e="@cnhis-design-vue/shared",i="3.1.56-beta.7",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.56-beta.7",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../es/shared/types/index';
1
+ import { AnyObject } from '../../shared/types/index';
2
2
  export declare type IFlexibleType = {
3
3
  el: HTMLBaseElement;
4
4
  mode: string;
@@ -1,4 +1,4 @@
1
- import { AnyObject, LowCodeTypes } from '../../../es/shared/types';
1
+ import { AnyObject, LowCodeTypes } from '../../shared/types';
2
2
  import { MaybeRef } from '@vueuse/core';
3
3
  export declare function isMatchLowCodeCondition(value: unknown, condition: {
4
4
  con: LowCodeTypes.VALUE_RELATION;
@@ -1 +1 @@
1
- import{Path as e}from"@formily/path";import{isArray as t,isString as n,includes as r,negate as a,gt as o,gte as i,isNumber as l,lt as c,lte as f,identity as u,noop as s,isObject as d}from"lodash-es";import{unref as p}from"vue";import{add as m,differenceInMilliseconds as F}from"date-fns";function D(e){return null==e||""==e}const h={EQ:(e,t)=>`${e}`===t,NEQ:(e,t)=>`${e}`!==t,CL:(e,a)=>!(!t(e)&&!n(e))&&r(e,a),NC:(e,a)=>!t(e)&&!n(e)||!r(e,a),NULL:D,NOT_NULL:a(D),BIG:o,BIGEQ:i,LESS:(e,t)=>!!(l(e)||n(e)&&e)&&c(e,t),LESSEQ:(e,t)=>!!(l(e)||n(e)&&e)&&f(e,t)};function E(e,t,n={}){return(n[t.con]||h[t.con]||(()=>!1))(e,`${t.value}`)}function g(e,t){if(!t||!n(t))return e.every(u);try{return new Function("return "+t.replace(/OR/g,"||").replace(/AND/g,"&&").replace(/[a-zA-Z]/g,"").replace(/\d+/g,(t=>e[+t-1]?"true":"false")))()}catch(e){return console.error("表达式错误=>",t),!1}}function A(n,r){if(!t(r.conObj))return!1;return g(r.conObj.map((t=>E(e.getIn(n,t.field_key),t,r.compareMap))),r.sqlExpression)}const N=Object.freeze({SET_VALUE:function(e,{getter:t,setter:r}){if(!d(e))return;const{results:a=[],params:o=[],compareMap:i={}}=e;if(!a.length)return;function l(e){var r;if(!n(e))return e;const a=e.trim().match(/^\$\{([a-zA-Z\d\s]+)}$/);return a?t(null==(r=a[1])?void 0:r.trim()):e}o.every((e=>e&&e.p_name&&E(t(e.p_name),{con:e.p_select,value:l(e.p_value)},i)))&&a.forEach((e=>r(e.p_name,l(e.p_value))))},REPEAT_VALIDATE:s,IS_SHOW_FIELD:s,SQLSAVE:s,API:s});function L(e){return N[e]||s}function V(e,r,a){function o(e){return t(e)&&!!e.length}function i(e,t=!0){e.forEach((e=>{if(!e.operationalResult||!t&&null!=r(e.operationalResult))return;const o=e.operationFormParam.reduce(((e,t)=>(e[t=t.replace(/^table\./,"")]=+r(t),e)),{}),i=e.operationalRule.replace(/\${(.+?)}/g,"$1");let c=new Function("table",`return ${i}`)(o);n(c)&&(c=+c),c=l(c)?isNaN(c)?"":c.toFixed(+e.operationalPrecision):"",a(e.operationalResult,c)}))}return{operationalFormHandler:function(t){if(!o(p(e)))return;const n=p(e).filter((e=>e.operationFormParam.includes(`table.${t}`)));n.length&&i(n)},triggerAllOperationalFormHandler:function(){o(p(e))&&i(p(e),!1)}}}function $(e,n,r){function a(e){return t(e)&&!!e.length}function o(e,t=!0){e.forEach((e=>{e.diffValField&&e.diffValUnit&&e.scene&&(t||null==n(e.diffValField))&&("DIFF"===e.scene?function({startDateField:e,endDateField:t,diffValField:a,diffValUnit:o,precision:i="0"}){const l=n(e),c=n(t);if(l&&c){const e=F(new Date(c),new Date(l))/1e3/60,t=e/60,n=t/24;let f="";switch(o){case"DAY":f=n.toFixed(+i);break;case"HOUR":f=t.toFixed(+i);break;case"MIN":f=e.toFixed(+i);break;case"DHM":f=`${Math.floor(n)}天${Math.floor(t%24)}小时${Math.floor(e%60)}分钟`;break}r(a,f)}else r(a,null)}(e):"CALC"===e.scene&&function(e){const t=+e.diffValField;if(!l(t)||Number.isNaN(t))return;const a=n(e.endDateField);if(a){const n=m(new Date(a),{days:"DAY"===e.diffValUnit?t:0,hours:"HOUR"===e.diffValUnit?t:0,minutes:"MIN"===e.diffValUnit?t:0});r(e.startDateField,n)}else r(e.startDateField,null)}(e))}))}return{dateOperationalFormHandler:function(t){if(!a(p(e)))return;const n=p(e).filter((e=>"DIFF"===e.scene&&e.startDateField===t||e.endDateField===t));n.length&&o(n)},triggerAllDateOperationalFormHandler:function(){a(p(e))&&o(p(e),!1)}}}export{L as getBindEventSettingTrigger,$ as getDateOperationalFormHandler,V as getOperationalFormHandler,g as isConditionsMatchSqlExpression,E as isMatchLowCodeCondition,A as isMatchLowCodeConditionsWithSqlExpression};
1
+ import{Path as e}from"@formily/path";import{isArray as t,isString as n,includes as r,negate as a,isNumber as i,gt as o,gte as l,lt as c,lte as u,identity as f,noop as s,isObject as d}from"lodash-es";import{unref as p}from"vue";import{add as m,differenceInMilliseconds as F}from"date-fns";function D(e){return null==e||""==e}function N(e){return(t,r)=>(n(t)&&(t=+t),n(r)&&(r=+r),!(!i(t)||Number.isNaN(t)||!i(r)||Number.isNaN(r))&&e(t,r))}const h={EQ:(e,t)=>`${e}`===t,NEQ:(e,t)=>`${e}`!==t,CL:(e,a)=>!(!t(e)&&!n(e))&&r(e,a),NC:(e,a)=>!t(e)&&!n(e)||!r(e,a),NULL:D,NOT_NULL:a(D),BIG:N(o),BIGEQ:N(l),LESS:N(c),LESSEQ:N(u)};function E(e,t,n={}){return(n[t.con]||h[t.con]||(()=>!1))(e,`${t.value}`)}function g(e,t){if(!t||!n(t))return e.every(f);try{return new Function("return "+t.replace(/OR/g,"||").replace(/AND/g,"&&").replace(/[a-zA-Z]/g,"").replace(/\d+/g,(t=>e[+t-1]?"true":"false")))()}catch(e){return console.error("表达式错误=>",t),!1}}function A(n,r){if(!t(r.conObj))return!1;return g(r.conObj.map((t=>E(e.getIn(n,t.field_key),t,r.compareMap))),r.sqlExpression)}const b=Object.freeze({SET_VALUE:function(e,{getter:t,setter:r}){if(!d(e))return;const{results:a=[],params:i=[],compareMap:o={}}=e;if(!a.length)return;function l(e){var r;if(!n(e))return e;const a=e.trim().match(/^\$\{([a-zA-Z\d\s]+)}$/);return a?t(null==(r=a[1])?void 0:r.trim()):e}i.every((e=>e&&e.p_name&&E(t(e.p_name),{con:e.p_select,value:l(e.p_value)},o)))&&a.forEach((e=>r(e.p_name,l(e.p_value))))},REPEAT_VALIDATE:s,IS_SHOW_FIELD:s,SQLSAVE:s,API:s});function L(e){return b[e]||s}function V(e,r,a){function o(e){return t(e)&&!!e.length}function l(e,t=!0){e.forEach((e=>{if(!e.operationalResult||!t&&null!=r(e.operationalResult))return;const o=e.operationFormParam.reduce(((e,t)=>(e[t=t.replace(/^table\./,"")]=+r(t),e)),{}),l=e.operationalRule.replace(/\${(.+?)}/g,"$1");let c=new Function("table",`return ${l}`)(o);n(c)&&(c=+c),c=i(c)?isNaN(c)?"":c.toFixed(+e.operationalPrecision):"",a(e.operationalResult,c)}))}return{operationalFormHandler:function(t){if(!o(p(e)))return;const n=p(e).filter((e=>e.operationFormParam.includes(`table.${t}`)));n.length&&l(n)},triggerAllOperationalFormHandler:function(){o(p(e))&&l(p(e),!1)}}}function $(e,n,r){function a(e){return t(e)&&!!e.length}function o(e,t=!0){e.forEach((e=>{e.diffValField&&e.diffValUnit&&e.scene&&(t||null==n(e.diffValField))&&("DIFF"===e.scene?function({startDateField:e,endDateField:t,diffValField:a,diffValUnit:i,precision:o="0"}){const l=n(e),c=n(t);if(l&&c){const e=F(new Date(c),new Date(l))/1e3/60,t=e/60,n=t/24;let u="";switch(i){case"DAY":u=n.toFixed(+o);break;case"HOUR":u=t.toFixed(+o);break;case"MIN":u=e.toFixed(+o);break;case"DHM":u=`${Math.floor(n)}天${Math.floor(t%24)}小时${Math.floor(e%60)}分钟`;break}r(a,u)}else r(a,null)}(e):"CALC"===e.scene&&function(e){const t=+e.diffValField;if(!i(t)||Number.isNaN(t))return;const a=n(e.endDateField);if(a){const n=m(new Date(a),{days:"DAY"===e.diffValUnit?t:0,hours:"HOUR"===e.diffValUnit?t:0,minutes:"MIN"===e.diffValUnit?t:0});r(e.startDateField,n)}else r(e.startDateField,null)}(e))}))}return{dateOperationalFormHandler:function(t){if(!a(p(e)))return;const n=p(e).filter((e=>"DIFF"===e.scene&&e.startDateField===t||e.endDateField===t));n.length&&o(n)},triggerAllDateOperationalFormHandler:function(){a(p(e))&&o(p(e),!1)}}}export{L as getBindEventSettingTrigger,$ as getDateOperationalFormHandler,V as getOperationalFormHandler,g as isConditionsMatchSqlExpression,E as isMatchLowCodeCondition,A as isMatchLowCodeConditionsWithSqlExpression};
@@ -1,4 +1,4 @@
1
- import { AnyObject, ArrayAble } from '../../../es/shared/types';
1
+ import { AnyObject, ArrayAble } from '../../shared/types';
2
2
  import { App, Component, ComponentInternalInstance } from 'vue';
3
3
  export * from './business';
4
4
  export declare function traverse<T extends ArrayAble<AnyObject>>(target: T, handler: (item: T extends Array<infer P> ? P : T, stop: () => void, parent?: typeof item) => void, keys?: ArrayAble<string>, parent?: T): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.55-release.1",
3
+ "version": "3.1.56-beta.7",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -64,5 +64,5 @@
64
64
  "iOS 7",
65
65
  "last 3 iOS versions"
66
66
  ],
67
- "gitHead": "37688558f97d21fc24420533031b8427c85f7ea3"
67
+ "gitHead": "b9d75ccb7d8fda23e88e67bd2076eecd29bacf15"
68
68
  }