@zat-design/sisyphus-react 4.5.5 → 4.5.6-beta.1

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 (264) hide show
  1. package/es/FormsProvider/index.d.ts +18 -0
  2. package/es/ProAction/components/CheckModalContent/index.d.ts +8 -0
  3. package/es/ProAction/index.d.ts +7 -0
  4. package/es/ProAction/propsType.d.ts +45 -0
  5. package/es/ProConfigProvider/index.d.ts +9 -0
  6. package/es/ProConfigProvider/propsType.d.ts +82 -0
  7. package/es/ProDownload/index.d.ts +6 -0
  8. package/es/ProDownload/propsType.d.ts +71 -0
  9. package/es/ProDownload/utils.d.ts +60 -0
  10. package/es/ProDrawerForm/components/ProDrawer/index.d.ts +7 -0
  11. package/es/ProDrawerForm/components/ProModal/index.d.ts +7 -0
  12. package/es/ProDrawerForm/components/index.d.ts +2 -0
  13. package/es/ProDrawerForm/hooks/useConfirmClose.d.ts +24 -0
  14. package/es/ProDrawerForm/index.d.ts +6 -0
  15. package/es/ProDrawerForm/propsType.d.ts +111 -0
  16. package/es/ProDrawerForm/utils/index.d.ts +25 -0
  17. package/es/ProEditLabel/components/RenderProForm.d.ts +4 -0
  18. package/es/ProEditLabel/index.d.ts +4 -0
  19. package/es/ProEditLabel/propsType.d.ts +163 -0
  20. package/es/ProEditLabel/utils/index.d.ts +7 -0
  21. package/es/ProEditTable/components/ActionButton/index.d.ts +2 -0
  22. package/es/ProEditTable/components/RcTable/BaseTable.d.ts +5 -0
  23. package/es/ProEditTable/components/RcTable/DraggableTable.d.ts +7 -0
  24. package/es/ProEditTable/components/RcTable/index.d.ts +4 -0
  25. package/es/ProEditTable/components/RenderField/ListChangedWrapper.d.ts +4 -0
  26. package/es/ProEditTable/components/RenderField/index.d.ts +3 -0
  27. package/es/ProEditTable/components/RenderField/propsType.d.ts +30 -0
  28. package/es/ProEditTable/components/RenderField/tools.d.ts +22 -0
  29. package/es/ProEditTable/components/RenderToolbar/index.d.ts +2 -0
  30. package/es/ProEditTable/components/Summary/index.d.ts +12 -0
  31. package/es/ProEditTable/components/Validator/index.d.ts +18 -0
  32. package/es/ProEditTable/components/index.d.ts +5 -0
  33. package/es/ProEditTable/index.d.ts +4 -0
  34. package/es/ProEditTable/propsType.d.ts +437 -0
  35. package/es/ProEditTable/utils/config.d.ts +25 -0
  36. package/es/ProEditTable/utils/diffOriginal.d.ts +22 -0
  37. package/es/ProEditTable/utils/getDefaultProps.d.ts +1 -0
  38. package/es/ProEditTable/utils/index.d.ts +23 -0
  39. package/es/ProEditTable/utils/tools.d.ts +133 -0
  40. package/es/ProEditTable/utils/transform.d.ts +13 -0
  41. package/es/ProEditTable/utils/useEditTableError.d.ts +7 -0
  42. package/es/ProEditTable/utils/useShouldUpdateForTable.d.ts +16 -0
  43. package/es/ProEditTable/utils/validateAll.d.ts +89 -0
  44. package/es/ProEnum/components/Group.d.ts +10 -0
  45. package/es/ProEnum/components/Tag.d.ts +7 -0
  46. package/es/ProEnum/hooks/useEnum.d.ts +29 -0
  47. package/es/ProEnum/hooks/useEnumRequest.d.ts +4 -0
  48. package/es/ProEnum/hooks/useFrequentEnumRequest.d.ts +14 -0
  49. package/es/ProEnum/index.d.ts +10 -0
  50. package/es/ProEnum/index.js +1 -1
  51. package/es/ProEnum/propsType.d.ts +320 -0
  52. package/es/ProEnum/utils/eventCenter.d.ts +1 -0
  53. package/es/ProEnum/utils/frequentEnum.d.ts +39 -0
  54. package/es/ProEnum/utils/getEnum.d.ts +47 -0
  55. package/es/ProEnum/utils/getEnumLabel.d.ts +2 -0
  56. package/es/ProEnum/utils/index.d.ts +98 -0
  57. package/es/ProForm/components/Container.d.ts +9 -0
  58. package/es/ProForm/components/FormFooter/index.d.ts +5 -0
  59. package/es/ProForm/components/FormFooter/propsType.d.ts +21 -0
  60. package/es/ProForm/components/base/Checkbox/index.d.ts +14 -0
  61. package/es/ProForm/components/base/DatePicker/index.d.ts +11 -0
  62. package/es/ProForm/components/base/Input/index.d.ts +3 -0
  63. package/es/ProForm/components/base/Input/propsType.d.ts +21 -0
  64. package/es/ProForm/components/base/InputNumber/index.d.ts +11 -0
  65. package/es/ProForm/components/base/Radio/index.d.ts +15 -0
  66. package/es/ProForm/components/base/RangePicker/index.d.ts +19 -0
  67. package/es/ProForm/components/base/RangePicker/useDateRange.d.ts +15 -0
  68. package/es/ProForm/components/base/Select/index.d.ts +11 -0
  69. package/es/ProForm/components/base/Switch/index.d.ts +10 -0
  70. package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +10 -0
  71. package/es/ProForm/components/base/TextArea/index.d.ts +11 -0
  72. package/es/ProForm/components/base/TimePicker/index.d.ts +13 -0
  73. package/es/ProForm/components/combination/Container/index.d.ts +4 -0
  74. package/es/ProForm/components/combination/Container/propsType.d.ts +13 -0
  75. package/es/ProForm/components/combination/FormList/components/ActionButton.d.ts +24 -0
  76. package/es/ProForm/components/combination/FormList/components/BlockFields.d.ts +23 -0
  77. package/es/ProForm/components/combination/FormList/components/Empty.d.ts +13 -0
  78. package/es/ProForm/components/combination/FormList/components/LineFields.d.ts +20 -0
  79. package/es/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +12 -0
  80. package/es/ProForm/components/combination/FormList/index.d.ts +4 -0
  81. package/es/ProForm/components/combination/FormList/propsType.d.ts +69 -0
  82. package/es/ProForm/components/combination/FormList/utils.d.ts +18 -0
  83. package/es/ProForm/components/combination/Group/component/AddonWrapper/index.d.ts +9 -0
  84. package/es/ProForm/components/combination/Group/component/ComRender.d.ts +28 -0
  85. package/es/ProForm/components/combination/Group/component/FlexibleGroup.d.ts +10 -0
  86. package/es/ProForm/components/combination/Group/hooks/index.d.ts +34 -0
  87. package/es/ProForm/components/combination/Group/index.d.ts +9 -0
  88. package/es/ProForm/components/combination/Group/propsType.d.ts +99 -0
  89. package/es/ProForm/components/combination/Group/utils/index.d.ts +153 -0
  90. package/es/ProForm/components/combination/ProCascader/index.d.ts +3 -0
  91. package/es/ProForm/components/combination/ProCascader/propsType.d.ts +48 -0
  92. package/es/ProForm/components/combination/ProCascader/utils/index.d.ts +14 -0
  93. package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.d.ts +33 -0
  94. package/es/ProForm/components/combination/ProModalSelect/index.d.ts +4 -0
  95. package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +106 -0
  96. package/es/ProForm/components/combination/ProModalSelect/utils/index.d.ts +15 -0
  97. package/es/ProForm/components/combination/ProNumberRange/index.d.ts +3 -0
  98. package/es/ProForm/components/combination/ProNumberRange/propsType.d.ts +85 -0
  99. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +4 -0
  100. package/es/ProForm/components/combination/ProRangeLimit/propsType.d.ts +23 -0
  101. package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +8 -0
  102. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +33 -0
  103. package/es/ProForm/components/index.d.ts +29 -0
  104. package/es/ProForm/components/render/ChangedWrapper.d.ts +17 -0
  105. package/es/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
  106. package/es/ProForm/components/render/CustomComponentViewWrapper.d.ts +30 -0
  107. package/es/ProForm/components/render/Render.d.ts +4 -0
  108. package/es/ProForm/components/render/RenderFields.d.ts +26 -0
  109. package/es/ProForm/components/render/propsType.d.ts +279 -0
  110. package/es/ProForm/hooks/useControlled.d.ts +1 -0
  111. package/es/ProForm/hooks/useDeepCompareMemo.d.ts +2 -0
  112. package/es/ProForm/hooks/useFieldProps.d.ts +4 -0
  113. package/es/ProForm/hooks/useForm.d.ts +8 -0
  114. package/es/ProForm/hooks/useRules.d.ts +16 -0
  115. package/es/ProForm/hooks/useShouldUpdate.d.ts +31 -0
  116. package/es/ProForm/hooks/useWatch.d.ts +22 -0
  117. package/es/ProForm/index.d.ts +6 -0
  118. package/es/ProForm/propsType.d.ts +143 -0
  119. package/es/ProForm/utils/buildFormItemProps.d.ts +25 -0
  120. package/es/ProForm/utils/diffOriginal.d.ts +10 -0
  121. package/es/ProForm/utils/getDefaultProps.d.ts +1 -0
  122. package/es/ProForm/utils/index.d.ts +109 -0
  123. package/es/ProForm/utils/processDependencies.d.ts +29 -0
  124. package/es/ProForm/utils/reactiveValues.d.ts +33 -0
  125. package/es/ProForm/utils/rulesCreator.d.ts +7 -0
  126. package/es/ProForm/utils/transformNames.d.ts +10 -0
  127. package/es/ProForm/utils/transformValue.d.ts +6 -0
  128. package/es/ProForm/utils/valueType.d.ts +70 -0
  129. package/es/ProIcon/config/index.d.ts +19 -0
  130. package/es/ProIcon/index.d.ts +4 -0
  131. package/es/ProIcon/propsTypes.d.ts +175 -0
  132. package/es/ProIcon/utils/index.d.ts +6 -0
  133. package/es/ProLayout/components/Layout/Header/index.d.ts +4 -0
  134. package/es/ProLayout/components/Layout/Menu/FoldMenu/index.d.ts +3 -0
  135. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +3 -0
  136. package/es/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +15 -0
  137. package/es/ProLayout/components/Layout/Menu/SideMenu/index.d.ts +3 -0
  138. package/es/ProLayout/components/Layout/Menu/index.d.ts +4 -0
  139. package/es/ProLayout/components/Layout/Notice/index.d.ts +4 -0
  140. package/es/ProLayout/components/Layout/index.d.ts +3 -0
  141. package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +98 -0
  142. package/es/ProLayout/components/ProCollapse/index.d.ts +3 -0
  143. package/es/ProLayout/components/ProFooter/PropTypes.d.ts +27 -0
  144. package/es/ProLayout/components/ProFooter/index.d.ts +3 -0
  145. package/es/ProLayout/components/ProHeader/PropTypes.d.ts +206 -0
  146. package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +4 -0
  147. package/es/ProLayout/components/ProHeader/components/ProBackBtn/index.d.ts +9 -0
  148. package/es/ProLayout/components/ProHeader/components/ProBackBtn/propsType.d.ts +4 -0
  149. package/es/ProLayout/components/ProHeader/components/index.d.ts +2 -0
  150. package/es/ProLayout/components/ProHeader/index.d.ts +4 -0
  151. package/es/ProLayout/components/ProHeader/utils/index.d.ts +5 -0
  152. package/es/ProLayout/components/TabsManager/components/TabContextMenu.d.ts +7 -0
  153. package/es/ProLayout/components/TabsManager/components/TabItem.d.ts +26 -0
  154. package/es/ProLayout/components/TabsManager/components/TabsContext.d.ts +5 -0
  155. package/es/ProLayout/components/TabsManager/components/TabsHeader.d.ts +10 -0
  156. package/es/ProLayout/components/TabsManager/hooks/useActiveTab.d.ts +6 -0
  157. package/es/ProLayout/components/TabsManager/hooks/useIframeRoute.d.ts +25 -0
  158. package/es/ProLayout/components/TabsManager/hooks/useProLayoutTabs.d.ts +18 -0
  159. package/es/ProLayout/components/TabsManager/hooks/useTabsCache.d.ts +31 -0
  160. package/es/ProLayout/components/TabsManager/hooks/useTabsState.d.ts +5 -0
  161. package/es/ProLayout/components/TabsManager/index.d.ts +6 -0
  162. package/es/ProLayout/components/TabsManager/propTypes.d.ts +89 -0
  163. package/es/ProLayout/components/TabsManager/utils/index.d.ts +47 -0
  164. package/es/ProLayout/components/index.d.ts +3 -0
  165. package/es/ProLayout/index.d.ts +19 -0
  166. package/es/ProLayout/propTypes.d.ts +533 -0
  167. package/es/ProLayout/utils/index.d.ts +43 -0
  168. package/es/ProSelect/components/AdaptiveTooltip.d.ts +4 -0
  169. package/es/ProSelect/index.d.ts +5 -0
  170. package/es/ProSelect/propsType.d.ts +162 -0
  171. package/es/ProSelect/utils/index.d.ts +86 -0
  172. package/es/ProStep/components/Anchor/index.d.ts +4 -0
  173. package/es/ProStep/components/Item/index.d.ts +4 -0
  174. package/es/ProStep/components/LazyLoad/index.d.ts +19 -0
  175. package/es/ProStep/components/Listener/index.d.ts +4 -0
  176. package/es/ProStep/components/Step/index.d.ts +5 -0
  177. package/es/ProStep/index.d.ts +11 -0
  178. package/es/ProStep/propsType.d.ts +224 -0
  179. package/es/ProStep/utils/index.d.ts +22 -0
  180. package/es/ProStepTab/index.d.ts +22 -0
  181. package/es/ProStepTab/propsType.d.ts +114 -0
  182. package/es/ProTable/components/EditableCell/EditIcon.d.ts +6 -0
  183. package/es/ProTable/components/EditableCell/index.d.ts +4 -0
  184. package/es/ProTable/components/EditableCell/propsType.d.ts +24 -0
  185. package/es/ProTable/components/FormatColumn/index.d.ts +22 -0
  186. package/es/ProTable/components/FormatColumn/propsType.d.ts +29 -0
  187. package/es/ProTable/components/RcTable/components/BaseTable/index.d.ts +2 -0
  188. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +18 -0
  189. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.d.ts +8 -0
  190. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/propsType.d.ts +61 -0
  191. package/es/ProTable/components/RcTable/components/DraggableTable/index.d.ts +2 -0
  192. package/es/ProTable/components/RcTable/index.d.ts +4 -0
  193. package/es/ProTable/components/RenderColumn/index.d.ts +22 -0
  194. package/es/ProTable/components/RenderEmptyText/index.d.ts +3 -0
  195. package/es/ProTable/components/RenderFooter/index.d.ts +2 -0
  196. package/es/ProTable/components/RenderSummary/index.d.ts +3 -0
  197. package/es/ProTable/components/RenderTableHeader/index.d.ts +2 -0
  198. package/es/ProTable/components/RenderTabs/index.d.ts +3 -0
  199. package/es/ProTable/components/TableResizable/index.d.ts +13 -0
  200. package/es/ProTable/components/TooltipTitle/index.d.ts +11 -0
  201. package/es/ProTable/components/index.d.ts +31 -0
  202. package/es/ProTable/hooks/useAntdTable.d.ts +7 -0
  203. package/es/ProTable/index.d.ts +17 -0
  204. package/es/ProTable/propsType.d.ts +805 -0
  205. package/es/ProTable/utils/columnStorage.d.ts +35 -0
  206. package/es/ProTable/utils/index.d.ts +52 -0
  207. package/es/ProTabs/components/Card/index.d.ts +3 -0
  208. package/es/ProTabs/components/index.d.ts +1 -0
  209. package/es/ProTabs/index.d.ts +4 -0
  210. package/es/ProTabs/propType.d.ts +94 -0
  211. package/es/ProThemeTools/component/ProTools/index.d.ts +3 -0
  212. package/es/ProThemeTools/component/index.d.ts +1 -0
  213. package/es/ProThemeTools/context/ThemeContext.d.ts +43 -0
  214. package/es/ProThemeTools/index.d.ts +9 -0
  215. package/es/ProThemeTools/propsType.d.ts +170 -0
  216. package/es/ProThemeTools/utils/index.d.ts +51 -0
  217. package/es/ProTooltip/index.d.ts +3 -0
  218. package/es/ProTooltip/propsType.d.ts +57 -0
  219. package/es/ProTree/components/AdaptiveTooltip.d.ts +4 -0
  220. package/es/ProTree/components/CloseIcon.d.ts +2 -0
  221. package/es/ProTree/components/List.d.ts +17 -0
  222. package/es/ProTree/components/ProTree.d.ts +3 -0
  223. package/es/ProTree/components/ProTreeSelect/index.d.ts +5 -0
  224. package/es/ProTree/components/ProTreeSelect/propsType.d.ts +445 -0
  225. package/es/ProTree/components/SearchTitle.d.ts +10 -0
  226. package/es/ProTree/components/Tree.d.ts +27 -0
  227. package/es/ProTree/components/index.d.ts +4 -0
  228. package/es/ProTree/index.d.ts +3 -0
  229. package/es/ProTree/propsType.d.ts +818 -0
  230. package/es/ProTree/utils.d.ts +62 -0
  231. package/es/ProTreeModal/components/Cascader.d.ts +14 -0
  232. package/es/ProTreeModal/components/CloseIcon.d.ts +2 -0
  233. package/es/ProTreeModal/components/List.d.ts +21 -0
  234. package/es/ProTreeModal/components/SearchTitle.d.ts +6 -0
  235. package/es/ProTreeModal/components/SortableItem.d.ts +12 -0
  236. package/es/ProTreeModal/components/Tree.d.ts +25 -0
  237. package/es/ProTreeModal/components/Trigger.d.ts +21 -0
  238. package/es/ProTreeModal/components/index.d.ts +6 -0
  239. package/es/ProTreeModal/index.d.ts +4 -0
  240. package/es/ProTreeModal/propsType.d.ts +298 -0
  241. package/es/ProTreeModal/utils.d.ts +39 -0
  242. package/es/ProUpload/components/ButtonRender.d.ts +20 -0
  243. package/es/ProUpload/components/DragRender.d.ts +21 -0
  244. package/es/ProUpload/components/DraggableUploadListItem.d.ts +2 -0
  245. package/es/ProUpload/components/Example.d.ts +10 -0
  246. package/es/ProUpload/components/FileItem.d.ts +33 -0
  247. package/es/ProUpload/components/ImageRender.d.ts +19 -0
  248. package/es/ProUpload/index.d.ts +4 -0
  249. package/es/ProUpload/propsType.d.ts +264 -0
  250. package/es/ProUpload/uitls.d.ts +3 -0
  251. package/es/ProUtils/utils/index.d.ts +6 -0
  252. package/es/ProViewer/index.d.ts +4 -0
  253. package/es/ProViewer/propsType.d.ts +37 -0
  254. package/es/ProWaterMark/index.d.ts +4 -0
  255. package/es/ProWaterMark/propsType.d.ts +6 -0
  256. package/es/hooks/useDraggableRow.d.ts +34 -0
  257. package/es/index.d.ts +57 -0
  258. package/es/index.js +0 -2
  259. package/es/locale/en_US.d.ts +176 -0
  260. package/es/locale/index.d.ts +15 -0
  261. package/es/locale/zh_CN.d.ts +176 -0
  262. package/es/tokens.d.ts +83 -0
  263. package/es/utils/index.d.ts +24 -0
  264. package/package.json +12 -2
@@ -0,0 +1,23 @@
1
+ import { RangePickerProps } from 'antd/es/date-picker';
2
+ import { Dayjs } from 'dayjs';
3
+ type Value = [Dayjs?, Dayjs?] | null;
4
+ type ValueStr = [string?, string?] | null;
5
+ type HandleChange = (valueStr: ValueStr | null, value: Value | null) => void;
6
+ export type ProRangeLimitType = Omit<RangePickerProps, 'value' | 'onChange' | 'format' | 'separator' | 'mode'> & {
7
+ disabled?: boolean | [boolean, boolean];
8
+ foreverText?: string;
9
+ foreverDate?: string;
10
+ otherProps?: any;
11
+ onChange?: HandleChange;
12
+ value?: ValueStr;
13
+ format?: string;
14
+ separator?: any;
15
+ isView?: boolean;
16
+ showTime?: any;
17
+ valueType?: any;
18
+ /**
19
+ * 是否限制时间范围
20
+ */
21
+ limit?: boolean;
22
+ };
23
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Dayjs } from 'dayjs';
2
+ interface Props<T = any> {
3
+ value?: T;
4
+ onChange?: (value: T, ...rest: any[]) => void;
5
+ format?: string;
6
+ }
7
+ declare const useControlled: (props: Props) => [Dayjs | undefined, (value: Dayjs | undefined) => void];
8
+ export default useControlled;
@@ -0,0 +1,33 @@
1
+ import { DatePickerProps, TimePickerProps } from 'antd';
2
+ import type { Dayjs } from 'dayjs';
3
+ import React from 'react';
4
+ import type { ProFormOtherType } from '../../../propsType';
5
+ import type { ProRangeLimitType } from '../ProRangeLimit/propsType';
6
+ import type { DistributiveOmit } from '../../../../ProForm/propsType';
7
+ export type DateType = DatePickerProps['value'];
8
+ export type ProTimeLimitType = DistributiveOmit<DatePickerProps, 'value' | 'onChange' | 'mode'> & {
9
+ value?: string;
10
+ onChange?: (value: ProTimeLimitType['value'] | null, valueData: Dayjs) => void;
11
+ disabled?: boolean;
12
+ foreverDate?: string;
13
+ foreverText?: string;
14
+ viewEmpty?: React.ReactNode;
15
+ format?: string;
16
+ valueType?: 'dayjs' | 'format' | 'ISO' | 'dateTime' | 'dateStartEndTime';
17
+ otherProps?: ProFormOtherType;
18
+ mode?: 'DatePicker';
19
+ isView?: boolean;
20
+ /**
21
+ * 是否限制时间范围
22
+ */
23
+ limit?: boolean;
24
+ } & TimePickerProps & {
25
+ showTime?: DatePickerProps['showTime'];
26
+ showNow?: boolean;
27
+ };
28
+ export declare const ProTimeLimit: React.FC<ProTimeLimitType>;
29
+ export type ProLimitType = ProTimeLimitType | (ProRangeLimitType & {
30
+ mode: 'RangePicker';
31
+ });
32
+ declare const LimitPick: React.FC<ProLimitType>;
33
+ export default LimitPick;
@@ -0,0 +1,29 @@
1
+ import * as componentMap from './index';
2
+ export { default as Select } from './base/Select';
3
+ export { default as DatePicker } from './base/DatePicker';
4
+ export { default as RangePicker } from './base/RangePicker';
5
+ export { default as TextArea } from './base/TextArea';
6
+ export { default as Switch } from './base/Switch';
7
+ export { default as Radio } from './base/Radio';
8
+ export { default as Checkbox } from './base/Checkbox';
9
+ export { default as Input } from './base/Input';
10
+ export { default as InputNumber } from './base/InputNumber';
11
+ export { default as SwitchCheckbox } from './base/SwitchCheckbox';
12
+ export { default as TimePicker } from './base/TimePicker';
13
+ export { default as FormList } from './combination/FormList';
14
+ export { default as ProEditTable } from '../../ProEditTable';
15
+ export { default as ProCascader } from './combination/ProCascader';
16
+ export { default as ProNumberRange } from './combination/ProNumberRange';
17
+ export { default as ProModalSelect } from './combination/ProModalSelect';
18
+ export { default as ProTimeLimit } from './combination/ProTimeLimit';
19
+ export { default as ProRangeLimit } from './combination/ProRangeLimit';
20
+ export { default as Group } from './combination/Group';
21
+ export { default as ProCollapse } from './combination/Container';
22
+ export { default as Container } from './combination/Container';
23
+ export { default as ProEnum } from '../../ProEnum';
24
+ export { default as ProSelect } from '../../ProSelect';
25
+ export { default as ProUpload } from '../../ProUpload';
26
+ export { default as ProTreeModal } from '../../ProTreeModal';
27
+ export { default as ProTree } from '../../ProTree';
28
+ export { default as FormFooter } from './FormFooter';
29
+ export type ProFormComponentType = keyof typeof componentMap;
@@ -0,0 +1,17 @@
1
+ import { FormInstance } from 'antd';
2
+ import { NamePath } from 'antd/lib/form/interface';
3
+ import React from 'react';
4
+ import { DiffOriginalParams } from '../../utils/diffOriginal';
5
+ import type { DiffConfigType } from '../../propsType';
6
+ interface Props {
7
+ name?: NamePath;
8
+ names?: NamePath[];
9
+ namesStr?: string;
10
+ diffConfig?: DiffConfigType;
11
+ form: FormInstance;
12
+ onDiff?: DiffOriginalParams['onDiff'];
13
+ valuePropName?: string;
14
+ [name: string]: any;
15
+ }
16
+ declare const ChangedWrapper: React.FC<Props>;
17
+ export default ChangedWrapper;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { ProFormColumnType } from '../../propsType';
3
+ interface Props<T = any> {
4
+ value?: T;
5
+ onChange?: (value: T, ...rest: any[]) => void;
6
+ confirm: ProFormColumnType['confirm'];
7
+ [K: string]: any;
8
+ }
9
+ declare const ConfirmWrapper: React.FC<Props>;
10
+ export default ConfirmWrapper;
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import type { FormItemProps, FormInstance } from 'antd';
3
+ import type { NamePath } from 'antd/es/form/interface';
4
+ interface CustomComponentViewWrapperProps {
5
+ formItemProps: FormItemProps;
6
+ internalItemRender?: any;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ filterFormItemKey?: string[];
10
+ form: FormInstance;
11
+ name?: NamePath;
12
+ isView?: boolean;
13
+ viewRender?: (value: any, record: any, options: {
14
+ form: FormInstance;
15
+ index?: any;
16
+ namePath?: any;
17
+ }) => React.ReactNode | string | null | undefined;
18
+ originComponent?: React.ReactNode;
19
+ viewEmpty?: React.ReactNode;
20
+ otherProps?: any;
21
+ component?: any;
22
+ AutoComponent?: any;
23
+ children: React.ReactNode;
24
+ }
25
+ /**
26
+ * 自定义组件视图模式包装器
27
+ * 用于处理自定义组件在 isView 模式下的渲染逻辑
28
+ */
29
+ declare const CustomComponentViewWrapper: React.FC<CustomComponentViewWrapperProps>;
30
+ export default CustomComponentViewWrapper;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { RenderType } from './propsType';
3
+ declare const Render: React.FC<RenderType>;
4
+ export default Render;
@@ -0,0 +1,26 @@
1
+ import { ColProps } from 'antd';
2
+ import { FormInstance } from 'antd/es/form/Form';
3
+ import React from 'react';
4
+ import type { ProFormColumnType } from './propsType';
5
+ import type { DiffConfigType } from '../../propsType';
6
+ interface Props<T = any> {
7
+ isView?: boolean;
8
+ columns: ProFormColumnType[];
9
+ disabled?: boolean;
10
+ form: FormInstance<T>;
11
+ expand?: boolean | number;
12
+ colProps?: ColProps;
13
+ /** 列宽占比 */
14
+ span?: number;
15
+ viewEmpty?: React.ReactNode;
16
+ openState?: boolean;
17
+ labelWidth?: string | number;
18
+ diffConfig?: DiffConfigType;
19
+ clearNotShow?: boolean;
20
+ requiredOnView?: boolean;
21
+ required?: boolean | boolean[] | (() => boolean | boolean[]);
22
+ globalControl?: boolean;
23
+ shouldUpdateDebounce?: number;
24
+ }
25
+ declare const RenderFields: React.FC<Props>;
26
+ export default RenderFields;
@@ -0,0 +1,279 @@
1
+ import type { ColProps, FormInstance, FormItemProps, ModalFuncProps } from 'antd';
2
+ import type { NamePath } from 'antd/es/form/interface';
3
+ import React from 'react';
4
+ import { validate, regExp } from '@zat-design/utils';
5
+ import type { RuleObject } from 'antd/es/form';
6
+ import type { Props as InputProps } from '../base/Input/propsType';
7
+ import type { Props as InputNumberProps } from '../base/InputNumber';
8
+ import type { Props as RadioProps } from '../base/Radio';
9
+ import type { Props as CheckboxProps } from '../base/Checkbox';
10
+ import type { Props as DatePickerProps } from '../base/DatePicker';
11
+ import type { Props as RangePickerProps } from '../base/RangePicker';
12
+ import type { TypeWithRef as FormListType } from '../combination/FormList/propsType';
13
+ import type { Props as SelectProps } from '../base/Select';
14
+ import type { Props as TimePickerProps } from '../base/TimePicker';
15
+ import type { Props as SwitchProps } from '../base/Switch';
16
+ import type { Props as SwitchCheckboxProps } from '../base/SwitchCheckbox';
17
+ import type { Props as TextAreaProps } from '../base/TextArea';
18
+ import type { ProCascaderType } from '../combination/ProCascader/propsType';
19
+ import type { ProModalSelectType } from '../combination/ProModalSelect/propsType';
20
+ import type { ProNumberRangeType } from '../combination/ProNumberRange/propsType';
21
+ import type { ProLimitType } from '../combination/ProTimeLimit';
22
+ import type { ProRangeLimitType } from '../combination/ProRangeLimit/propsType';
23
+ import type { CheckboxPropsMapType, ProEnumType, PropProSelectsMapType, PropRadioPropsMapType } from '../../../ProEnum/propsType';
24
+ import type { PropSelectType as ProSelectProps } from '../../../ProSelect/propsType';
25
+ import type { ProEditTableType } from '../../../ProEditTable/propsType';
26
+ import type { ProTreeModalType } from '../../../ProTreeModal/propsType';
27
+ import type { ProUploadType } from '../../../ProUpload/propsType';
28
+ import type { ProTreeType } from '../../../ProTree/propsType';
29
+ import type { GroupType as GroupCopyProps } from '../combination/Group/propsType';
30
+ import type { ProCollapseType } from '../../../ProLayout/components/ProCollapse/PropTypes';
31
+ import type { DistributiveOmit } from '../../propsType';
32
+ import type { DiffOriginalParams } from '../../utils/diffOriginal';
33
+ import { NamePathsDependencyType } from '../../utils/processDependencies';
34
+ type ValidateKey = keyof typeof validate;
35
+ type RegExpKey = keyof typeof regExp;
36
+ export interface ProRule extends Omit<RuleObject, 'type'> {
37
+ type?: ValidateKey | RegExpKey;
38
+ message?: string;
39
+ }
40
+ /**
41
+ * percent 百分比 permillage 千分比 amount 金额
42
+ */
43
+ export type ViewType = 'percent' | 'permillage' | 'amount' | 'thousandth';
44
+ export type PartialOf<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
45
+ interface ControlProps {
46
+ value?: unknown;
47
+ onChange?: (...args: any[]) => void;
48
+ }
49
+ /**
50
+ * 扩展函数的参数
51
+ */
52
+ export type FunctionArgs<Values, R = any> = (value: any, record: any, { form, index, namePath, option, selectedOptions, dateString, }: {
53
+ form: FormInstance<Values>;
54
+ index?: number;
55
+ namePath?: NamePath;
56
+ [key: string]: any;
57
+ }) => R;
58
+ type TransformToFormField<T extends ControlProps, Values> = DistributiveOmit<T, 'onChange' | 'value' | 'role'> & {
59
+ value?: T['value'];
60
+ onChange?: (value: Parameters<T['onChange']>[0], options: Parameters<T['onChange']>[1], form: FormInstance<Values>) => void;
61
+ onFieldChange?: FunctionArgs<Values>;
62
+ dataSource?: any[];
63
+ /** ProForm disable时,是否完全受控 */
64
+ disabledStrictly?: boolean;
65
+ };
66
+ type ProEnumFormType<Values> = TransformToFormField<ProEnumType, Values> | TransformToFormField<ProEnumType & PropProSelectsMapType, Values> | TransformToFormField<ProEnumType & PropRadioPropsMapType, Values> | TransformToFormField<ProEnumType & CheckboxPropsMapType, Values>;
67
+ type ProEnumTableType<Values> = TransformToTableField<ProEnumType, Values> | TransformToTableField<ProEnumType & PropProSelectsMapType, Values> | TransformToTableField<ProEnumType & PropRadioPropsMapType, Values> | TransformToTableField<ProEnumType & CheckboxPropsMapType, Values>;
68
+ type ProEnumFieldType<Values, TT> = TT extends 'ProForm' ? ProEnumFormType<Values> | ReactiveFunction<Values, ProEnumFormType<Values>> : ProEnumTableType<Values> | ((text: any, values: Values, index: number) => ProEnumTableType<Values>);
69
+ type TransformToTableField<T extends ControlProps, Values> = Omit<T, 'onChange' | 'value' | 'onBlur' | 'role'> & {
70
+ value?: T['value'];
71
+ onChange?: (value: Parameters<T['onChange']>[0], options: Parameters<T['onChange']>[1], record: any, index: number, form: FormInstance<Values>) => void;
72
+ onFieldChange?: FunctionArgs<Values>;
73
+ onBlur?: FunctionArgs<Values>;
74
+ };
75
+ export type ReactiveFunction<Values, R> = (values: Values, { form, index, namePath, }: {
76
+ form: FormInstance<Values>;
77
+ index?: number;
78
+ namePath?: NamePath;
79
+ [key: string]: any;
80
+ }) => R;
81
+ type FieldType<T extends ControlProps, Values, TT> = TT extends 'ProForm' ? TransformToFormField<T, Values> | ReactiveFunction<Values, TransformToFormField<T, Values>> : TransformToTableField<T, Values> | ((text: any, values: Values, index: number) => TransformToTableField<T, Values>);
82
+ /**
83
+ * 值转换
84
+ */
85
+ export type ProFormValueType = 'percentage' | 'permillage' | 'thousandth' | 'datePicker' | 'enumName' | 'enumCodeName' | 'address' | 'thousandthCNY' | 'date' | 'dateTime' | 'dateStartTime' | 'dateEndTime' | 'dateStartEndTime' | 'switch' | 'desensitization';
86
+ export type ColumnTypeMap<Values = any, T = 'ProForm'> = {
87
+ type?: 'Input';
88
+ fieldProps?: FieldType<InputProps, Values, T>;
89
+ } | {
90
+ type?: 'InputNumber';
91
+ fieldProps?: FieldType<InputNumberProps, Values, T>;
92
+ } | {
93
+ type?: 'Radio';
94
+ fieldProps?: FieldType<RadioProps, Values, T>;
95
+ } | {
96
+ type?: 'Checkbox';
97
+ fieldProps?: FieldType<CheckboxProps, Values, T>;
98
+ } | {
99
+ type?: 'DatePicker';
100
+ fieldProps?: FieldType<DatePickerProps, Values, T>;
101
+ } | {
102
+ type?: 'RangePicker';
103
+ fieldProps?: FieldType<RangePickerProps, Values, T>;
104
+ } | {
105
+ type?: 'FormList';
106
+ fieldProps?: FieldType<Omit<FormListType, 'fields' | 'operation' | 'meta'>, Values, T>;
107
+ } | {
108
+ type?: 'Select';
109
+ fieldProps?: FieldType<SelectProps, Values, T>;
110
+ } | {
111
+ type?: 'TimePicker';
112
+ fieldProps?: FieldType<TimePickerProps, Values, T>;
113
+ } | {
114
+ type?: 'Switch';
115
+ fieldProps?: FieldType<SwitchProps, Values, T>;
116
+ } | {
117
+ type?: 'SwitchCheckbox';
118
+ fieldProps?: FieldType<SwitchCheckboxProps, Values, T>;
119
+ } | {
120
+ type?: 'TextArea';
121
+ fieldProps?: FieldType<TextAreaProps, Values, T>;
122
+ } | {
123
+ type?: 'ProCascader';
124
+ fieldProps?: FieldType<ProCascaderType, Values, T>;
125
+ } | {
126
+ type?: 'ProModalSelect';
127
+ fieldProps?: FieldType<ProModalSelectType, Values, T>;
128
+ } | {
129
+ type?: 'ProNumberRange';
130
+ fieldProps?: FieldType<ProNumberRangeType, Values, T>;
131
+ } | {
132
+ type?: 'ProRangeLimit';
133
+ fieldProps?: FieldType<ProRangeLimitType, Values, T>;
134
+ } | {
135
+ type?: 'ProTimeLimit';
136
+ fieldProps?: FieldType<ProLimitType, Values, T>;
137
+ } | {
138
+ type?: 'ProEnum';
139
+ fieldProps?: ProEnumFieldType<Values, T>;
140
+ } | {
141
+ type?: 'ProSelect';
142
+ fieldProps?: FieldType<ProSelectProps, Values, T>;
143
+ } | {
144
+ type?: 'ProEditTable';
145
+ fieldProps?: FieldType<ProEditTableType, Values, T>;
146
+ } | {
147
+ type?: 'ProTreeModal';
148
+ fieldProps?: FieldType<ProTreeModalType, Values, T>;
149
+ } | {
150
+ type?: 'ProUpload';
151
+ fieldProps?: FieldType<ProUploadType, Values, T>;
152
+ } | {
153
+ type?: 'ProTree';
154
+ fieldProps?: FieldType<ProTreeType, Values, T>;
155
+ } | {
156
+ type?: 'Group';
157
+ fieldProps?: GroupCopyProps | ReactiveFunction<Values, GroupCopyProps>;
158
+ } | {
159
+ type?: 'ProCollapse';
160
+ fieldProps?: ProCollapseType | ReactiveFunction<Values, ProCollapseType>;
161
+ } | {
162
+ type?: 'Container';
163
+ fieldProps?: any;
164
+ };
165
+ export interface ProFormColumn<Values = any> extends Omit<FormItemProps<Values>, 'rules' | 'required'> {
166
+ component?: React.ReactNode | ReactiveFunction<Values, React.ReactNode>;
167
+ names?: NamePath[];
168
+ show?: boolean | ReactiveFunction<Values, boolean>;
169
+ valueType?: ProFormValueType;
170
+ switchValue?: [any, any];
171
+ isView?: boolean;
172
+ viewRender?: (value: any, record: Values, { form, index, namePath, }: {
173
+ form: FormInstance<Values>;
174
+ index?: number | undefined;
175
+ [key: string]: any;
176
+ }) => React.ReactElement<any, any> | string | undefined | null;
177
+ viewType?: ViewType;
178
+ colProps?: ColProps;
179
+ /** 列宽占比 */
180
+ span?: number;
181
+ /** 依赖刷新字段列表 */
182
+ dependNames?: NamePath[];
183
+ /**
184
+ * @description 表单props属性
185
+ * @deprecated 将于下个版本 4.0.0 被弃用, 请使用fieldProps进行替换
186
+ * @default -
187
+ */
188
+ labelWidth?: string | number;
189
+ disabled?: boolean | boolean[] | ReactiveFunction<Values, boolean | boolean[]>;
190
+ trim?: boolean;
191
+ upperCase?: boolean;
192
+ hiddenNames?: string[] | any[];
193
+ rules?: ProRule[] | ReactiveFunction<Values, ProRule[]>;
194
+ onDiff?: DiffOriginalParams['onDiff'];
195
+ required?: boolean | boolean[] | ReactiveFunction<Values, boolean | boolean[]>;
196
+ labelRequired?: boolean;
197
+ toISOString?: boolean;
198
+ toCSTString?: boolean;
199
+ clearNotShow?: boolean;
200
+ index?: number;
201
+ namePath?: NamePath;
202
+ listName?: NamePath;
203
+ /** 表单前缀信息 */
204
+ before?: string | React.ReactNode;
205
+ /** 表单后缀信息 */
206
+ after?: string | React.ReactNode;
207
+ /** 表单上方辅助信息 */
208
+ above?: string | React.ReactNode;
209
+ /** 表单下方辅助信息 */
210
+ extra?: string | React.ReactNode;
211
+ /** 是否固定字段, 不隐藏 */
212
+ fixed?: boolean;
213
+ confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void | Promise<boolean | ModalFuncProps | void>>;
214
+ /** 防抖模式 */
215
+ debounceWait?: number;
216
+ /** 脱敏数据位置下标 */
217
+ desensitization?: [number, number] | ReactiveFunction<Values, [number, number]>;
218
+ }
219
+ export interface ProFormColumnWithExtendedDeps<Values = any> extends Omit<ProFormColumn<Values>, 'dependencies'> {
220
+ /** 表单项依赖关系,扩展支持namesPaths类型 */
221
+ dependencies?: NamePath[] | (NamePath | NamePathsDependencyType)[];
222
+ }
223
+ export type ProFormColumnType<T = any> = ProFormColumnWithExtendedDeps<T> & ColumnTypeMap<T, 'ProForm'>;
224
+ /**
225
+ * 表单渲染类型
226
+ */
227
+ export interface RenderType<Values = any> {
228
+ component: any;
229
+ formItemProps: FormItemProps<Values> & {
230
+ labelWidth?: string | number;
231
+ disabled?: boolean;
232
+ hiddenNames?: string[];
233
+ trim?: boolean;
234
+ upperCase?: boolean;
235
+ rules?: ProRule[];
236
+ labelRequired?: boolean;
237
+ tooltip?: any;
238
+ isView?: boolean;
239
+ disabledStrictly?: boolean;
240
+ /** 表单前缀信息 */
241
+ before?: string | React.ReactNode;
242
+ /** 表单后缀信息 */
243
+ after?: string | React.ReactNode;
244
+ /** 表单上方辅助信息 */
245
+ above?: string | React.ReactNode;
246
+ /** 表单下方辅助信息 */
247
+ extra?: string | React.ReactNode;
248
+ parentNames?: string;
249
+ names?: NamePath[];
250
+ };
251
+ componentProps: {
252
+ disabledStrictly?: boolean;
253
+ [name: string]: any;
254
+ };
255
+ /** 列宽占比 */
256
+ span?: number;
257
+ show?: boolean | ((values: Values, { form, index, namePath, }: {
258
+ form: FormInstance<Values>;
259
+ index?: number;
260
+ namePath?: NamePath;
261
+ [key: string]: any;
262
+ }) => boolean);
263
+ fieldProps?: ReactiveFunction<Values, React.ReactNode>;
264
+ isSelect: boolean;
265
+ requiredOnView?: boolean;
266
+ confirm?: ProFormColumnType['confirm'];
267
+ [name: string]: any;
268
+ }
269
+ /**
270
+ * 兼容旧命名导出
271
+ */
272
+ export type ProEnumFormProps<Values> = ProEnumFormType<Values>;
273
+ export type ProEnumTableProps<Values> = ProEnumTableType<Values>;
274
+ export type ProEnumFieldProps<Values, TT> = ProEnumFieldType<Values, TT>;
275
+ export type FieldProps<T extends ControlProps, Values, TT> = FieldType<T, Values, TT>;
276
+ export type ColumnPropsMap<Values = any, T = 'ProForm'> = ColumnTypeMap<Values, T>;
277
+ export type ProColumnProps<Values = any> = ProFormColumnType<Values>;
278
+ export type RenderProps<Values = any> = RenderType<Values>;
279
+ export {};
@@ -0,0 +1 @@
1
+ export declare const useControlled: (props: any) => any[];
@@ -0,0 +1,2 @@
1
+ /** 深度比较依赖变化memo */
2
+ export declare const useDeepCompareMemo: (fun: () => any, changedCb: (last: any, current: any) => void, depList: any[]) => any;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ProFormOtherType } from '../propsType';
3
+ export declare const FieldProvider: React.Provider<ProFormOtherType>;
4
+ export declare const useFieldProps: () => ProFormOtherType;
@@ -0,0 +1,8 @@
1
+ import type { ModifiedFormInstanceType } from '../propsType';
2
+ export interface FormInstanceOption {
3
+ scrollToError?: boolean;
4
+ optimize?: boolean;
5
+ formKey?: string;
6
+ source?: string;
7
+ }
8
+ export declare const useForm: <T>(originForm?: ModifiedFormInstanceType<T> | FormInstanceOption, options?: FormInstanceOption) => [ModifiedFormInstanceType<T>];
@@ -0,0 +1,16 @@
1
+ import type { InternalNamePath } from 'antd/lib/form/interface';
2
+ import type { ProRule } from '../components/render/propsType';
3
+ interface Props {
4
+ rules?: ProRule[];
5
+ required?: boolean;
6
+ isSelect: boolean;
7
+ label?: string;
8
+ names?: InternalNamePath[];
9
+ labelRequired?: boolean;
10
+ type?: string;
11
+ }
12
+ declare const useRules: (props: Props) => {
13
+ rules: ProRule[];
14
+ required?: boolean;
15
+ };
16
+ export default useRules;
@@ -0,0 +1,31 @@
1
+ import { FormInstance, FormItemProps } from 'antd';
2
+ import type { ProFormColumnType, ProRule } from '../components/render/propsType';
3
+ interface Result<Values> {
4
+ shouldUpdate?: FormItemProps<Values>['shouldUpdate'];
5
+ show?: boolean;
6
+ disabled?: boolean | boolean[];
7
+ rules?: ProRule[];
8
+ required?: boolean;
9
+ [key: string]: any;
10
+ }
11
+ interface UseShouldUpdateProps<Values> {
12
+ show?: ProFormColumnType['show'];
13
+ formItemProps?: FormItemProps<Values> & {
14
+ clearNotShow?: boolean;
15
+ names?: any[];
16
+ index?: number;
17
+ namePath?: any;
18
+ dependNames?: any[];
19
+ parentNames?: any;
20
+ };
21
+ form?: FormInstance<Values>;
22
+ disabled?: boolean;
23
+ rules?: ProRule[];
24
+ required?: boolean;
25
+ type: string;
26
+ shouldUpdateDebounce?: number;
27
+ [key: string]: any;
28
+ }
29
+ type HookShouldUpdate<Values = any> = (props: UseShouldUpdateProps<Values>) => Result<Values>;
30
+ declare const useShouldUpdate: HookShouldUpdate;
31
+ export default useShouldUpdate;
@@ -0,0 +1,22 @@
1
+ import { FormInstance } from 'antd/es/form/Form';
2
+ import { NamePath } from 'antd/es/form/interface';
3
+ /**
4
+ * selector 函数:接收所有表单值,返回派生值
5
+ * 与 antd 5.12.0+ Form.useWatch selector 行为一致
6
+ */
7
+ export type WatchSelector<T = any> = (values: any) => T;
8
+ /**
9
+ * ProForm的useWatch hook,用于监听表单字段变化
10
+ * 支持三种依赖形式:
11
+ * 1. 字符串路径:useWatch('fieldName', form)
12
+ * 2. 路径数组:useWatch(['a', 'b'], form) 或 useWatch([['a', 'b'], 'c'], form)
13
+ * 3. selector 函数:useWatch((values) => values.a + values.b, form)
14
+ *
15
+ * @param dependencies 监听的字段路径或 selector 函数
16
+ * @param form 表单实例
17
+ * @param wait 防抖等待时间
18
+ * @returns 表单值或 selector 返回的派生值
19
+ */
20
+ declare function useWatch<T = any>(selector: WatchSelector<T>, form?: FormInstance, wait?: number): T;
21
+ declare function useWatch(dependencies: string | NamePath[], form?: FormInstance, wait?: number): Record<string, any>;
22
+ export default useWatch;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { FormProviderProps } from 'antd/es/form/context';
3
+ import type { ProFormInstanceType } from './propsType';
4
+ declare const ProFormForward: ProFormInstanceType;
5
+ export declare const ProFormProvider: React.FC<FormProviderProps>;
6
+ export default ProFormForward;