@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,28 @@
1
+ import React from 'react';
2
+ import { NamePath } from 'antd/lib/form/interface';
3
+ interface Props {
4
+ type: string;
5
+ component: React.ReactElement;
6
+ value: any;
7
+ onChange: any;
8
+ disabled: any;
9
+ confirm: any;
10
+ fieldProps: any;
11
+ contextProps: any;
12
+ before?: React.ReactNode;
13
+ after?: React.ReactNode;
14
+ name?: NamePath;
15
+ valueType: string;
16
+ valuePropName?: string;
17
+ isView?: boolean;
18
+ getValueProps?: (value: any) => Record<string, unknown>;
19
+ viewRender?: (props: any) => any;
20
+ formItemClassName?: string;
21
+ formItemStyle?: React.CSSProperties;
22
+ dependencies?: NamePath[];
23
+ required?: boolean;
24
+ rules?: any[];
25
+ }
26
+ /** 渲染组件 */
27
+ declare const ComRender: React.FC<Props>;
28
+ export default ComRender;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { GroupType, FlexibleGroupColumnType } from '../propsType';
3
+ interface FlexibleGroupProps extends Omit<GroupType, 'children'> {
4
+ children: FlexibleGroupColumnType[];
5
+ }
6
+ /**
7
+ * FlexibleGroup主组件
8
+ */
9
+ declare const FlexibleGroup: React.FC<FlexibleGroupProps>;
10
+ export default FlexibleGroup;
@@ -0,0 +1,34 @@
1
+ import { InternalNamePath, NamePath } from 'antd/lib/form/interface';
2
+ import { FormInstance } from 'antd';
3
+ import type { GroupColumnType, GroupType, FlexibleGroupColumnType } from '../propsType';
4
+ export type EventArgs = any[];
5
+ interface ColumnsTransformerParams {
6
+ columns: GroupColumnType[];
7
+ name?: NamePath;
8
+ names?: NamePath[];
9
+ value?: any[];
10
+ onChange: any;
11
+ namePath?: InternalNamePath;
12
+ form: FormInstance;
13
+ index?: number;
14
+ formDisabled?: boolean;
15
+ groupProps: GroupType;
16
+ }
17
+ /** 转换columns */
18
+ export declare const useTransformColumns: (params: ColumnsTransformerParams) => any[];
19
+ /**
20
+ * 检查子项是否应该显示(纯函数,不执行副作用)
21
+ */
22
+ export declare const checkShouldShow: (child: FlexibleGroupColumnType, form: FormInstance, namePath?: NamePath, index?: number) => boolean;
23
+ interface UseResetProEditTableParams {
24
+ children: FlexibleGroupColumnType[];
25
+ form: FormInstance;
26
+ namePath?: NamePath;
27
+ source?: 'FormList' | 'ProEditTable';
28
+ }
29
+ /**
30
+ * ProEditTable 场景下,当字段的 show 从 true 变为 false 时,自动重置字段值
31
+ * 使用 useEffect 在副作用中执行重置,避免在渲染过程中调用 setState
32
+ */
33
+ export declare const useResetProEditTable: (params: UseResetProEditTableParams) => void;
34
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { GroupType } from './propsType';
3
+ /**
4
+ * Group组件 - 支持传统模式和灵活模式
5
+ * - 有names属性 → 传统数组模式(保持向后兼容)
6
+ * - 无names属性 → 新的灵活模式(子组件必须配置name)
7
+ */
8
+ declare const Group: React.FC<GroupType>;
9
+ export default Group;
@@ -0,0 +1,99 @@
1
+ import React from 'react';
2
+ import { FormItemProps, ModalFuncProps, SpaceProps } from 'antd';
3
+ import type { RuleObject } from 'antd/es/form';
4
+ import { FormInstance } from 'antd/es/form/Form';
5
+ import { NamePath } from 'antd/lib/form/interface';
6
+ import type { ColumnTypeMap, FunctionArgs, ProFormValueType, ReactiveFunction, ViewType } from '../../render/propsType';
7
+ export interface SpaceType extends SpaceProps {
8
+ /**
9
+ * 是否紧凑合并
10
+ */
11
+ compact?: Boolean;
12
+ /**
13
+ * 分隔符
14
+ */
15
+ separator?: string | React.ReactNode;
16
+ /** 分隔符插入位置 */
17
+ separatorIndex?: number | number[];
18
+ /** 间隔距离 */
19
+ size?: number;
20
+ }
21
+ export interface GroupType {
22
+ children?: GroupColumnType[] | FlexibleGroupColumnType[];
23
+ /** 传统模式:字段名称数组(与children索引对应) */
24
+ names?: NamePath[];
25
+ space?: SpaceType;
26
+ className?: string;
27
+ id?: string;
28
+ disabled?: boolean;
29
+ isView?: boolean;
30
+ value?: any[];
31
+ onChange?: (value: any[] | null, options?: any[]) => void;
32
+ otherProps?: any;
33
+ /** 分隔符 */
34
+ separator?: string | React.ReactNode;
35
+ /**
36
+ * @deprecated 已弃用,请使用 separator 替代
37
+ */
38
+ split?: string | React.ReactNode;
39
+ }
40
+ export type GroupColumnType<Values = any> = {
41
+ component?: React.ReactNode | ReactiveFunction<Values, React.ReactNode>;
42
+ names?: NamePath[];
43
+ show?: boolean | ReactiveFunction<Values, boolean>;
44
+ valueType?: ProFormValueType;
45
+ switchValue?: [any, any];
46
+ isView?: boolean;
47
+ viewRender?: (value: any, record: Values, { form, index, namePath, }: {
48
+ form: FormInstance<Values>;
49
+ index?: number | undefined;
50
+ [key: string]: any;
51
+ }) => React.ReactElement<any, any> | string | undefined | null;
52
+ viewType?: ViewType;
53
+ disabled?: boolean | ReactiveFunction<Values, boolean>;
54
+ trim?: boolean;
55
+ upperCase?: boolean;
56
+ toISOString?: boolean;
57
+ toCSTString?: boolean;
58
+ clearNotShow?: boolean;
59
+ confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps>;
60
+ valuePropName?: string;
61
+ getValueProps?: (value: any) => Record<string, unknown>;
62
+ desensitization?: [number, number] | ReactiveFunction<Values, [number, number]>;
63
+ } & ColumnTypeMap & FormItemProps;
64
+ /**
65
+ * 灵活模式子组件类型定义(新模式)
66
+ */
67
+ export interface FlexibleGroupColumnType<Values = any> extends Omit<GroupColumnType<Values>, 'names' | 'tooltip' | 'rules'> {
68
+ /** 字段名称,新模式下必须 */
69
+ name: NamePath;
70
+ /** 字段标签 */
71
+ label?: React.ReactNode;
72
+ /** 校验规则,支持函数化 */
73
+ rules?: RuleObject[] | ReactiveFunction<Values, RuleObject[]>;
74
+ /** 是否必填 */
75
+ required?: boolean;
76
+ /** 字段依赖 */
77
+ dependencies?: NamePath[];
78
+ /** 提示信息 */
79
+ tooltip?: string | {
80
+ title: string;
81
+ icon?: React.ReactNode;
82
+ };
83
+ /** 额外信息 */
84
+ extra?: React.ReactNode;
85
+ /** 前置内容 */
86
+ before?: React.ReactNode;
87
+ /** 后置内容 */
88
+ after?: React.ReactNode;
89
+ /** 确认操作 */
90
+ confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps>;
91
+ /** 显示控制,支持函数化 */
92
+ show?: boolean | ReactiveFunction<Values, boolean>;
93
+ /** 禁用状态,支持函数化 */
94
+ disabled?: boolean | ReactiveFunction<Values, boolean>;
95
+ /** 自定义组件,支持函数化 */
96
+ component?: React.ReactNode | ReactiveFunction<Values, React.ReactNode>;
97
+ /** 字段属性,支持函数化 */
98
+ fieldProps?: any | ReactiveFunction<Values, any>;
99
+ }
@@ -0,0 +1,153 @@
1
+ import { InternalNamePath, NamePath } from 'antd/lib/form/interface';
2
+ import { FormInstance } from 'antd';
3
+ import React from 'react';
4
+ import type { GroupColumnType, SpaceType, FlexibleGroupColumnType } from '../propsType';
5
+ import type { ProFormColumnType, ReactiveFunction } from '../../../render/propsType';
6
+ export type EventArgs = any[];
7
+ /**
8
+ * 插入间隔符
9
+ * @param columns 表单配置数组
10
+ * @returns
11
+ */
12
+ export declare const insertSeparator: (columns: GroupColumnType[], space?: SpaceType) => any[];
13
+ /** 带出event的组件默认取值方法 */
14
+ export declare function defaultGetValueFromEvent(valuePropName: string, ...args: EventArgs): any;
15
+ /** 转换names */
16
+ export declare const transformNamesString: (arr: (string | string[])[]) => (string | string[])[];
17
+ /**
18
+ * Input TextArea 小写自动转大写
19
+ * @param type 组件类型
20
+ * @param upperCase 是否小写转大写
21
+ * @returns {}
22
+ */
23
+ export declare const isUpperCase: (type: string, upperCase: boolean) => any;
24
+ interface Params {
25
+ form?: FormInstance;
26
+ index?: number;
27
+ type?: string;
28
+ namePath?: InternalNamePath;
29
+ disabled?: boolean | ReactiveFunction<any, boolean>;
30
+ show?: boolean | ReactiveFunction<any, boolean>;
31
+ component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
32
+ fieldProps?: boolean | ReactiveFunction<any, boolean>;
33
+ name?: NamePath;
34
+ desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
35
+ }
36
+ /** 计算响应式参数的值 */
37
+ export declare const getReactiveProps: (params: Params) => {
38
+ disabled: boolean;
39
+ show: boolean;
40
+ component: React.ReactNode;
41
+ fieldProps: boolean;
42
+ desensitization: [number, number];
43
+ };
44
+ type ValueTypeGetterParams = Pick<ProFormColumnType, 'valueType' | 'switchValue' | 'toISOString' | 'toCSTString' | 'disabled' | 'desensitization'> & {
45
+ type?: any;
46
+ mode?: string;
47
+ };
48
+ /** 获取当前字段的转换函数 */
49
+ export declare const getValueTypeTrans: (params: ValueTypeGetterParams) => any;
50
+ /** 执行所有中间件 返回处理后的值 */
51
+ export declare const getValueMiddleware: (value: any, callbacks?: any[]) => any;
52
+ /** 获取中间件处理后的value */
53
+ export declare const valueFromEventWrapper: (column: any, args: any) => any;
54
+ interface ContextProps {
55
+ form: FormInstance;
56
+ namePath?: InternalNamePath;
57
+ isView?: boolean;
58
+ names?: NamePath[];
59
+ index?: number;
60
+ }
61
+ interface GroupProps {
62
+ disabled?: boolean;
63
+ formDisabled?: boolean;
64
+ }
65
+ /**
66
+ * 创建FormItem属性(Hook版本)
67
+ */
68
+ export declare const useFormItemProps: (column: FlexibleGroupColumnType, contextProps: ContextProps, groupProps: GroupProps) => {
69
+ rules: any[];
70
+ required: boolean;
71
+ label: string;
72
+ before?: React.ReactNode;
73
+ after?: React.ReactNode;
74
+ confirm?: boolean | import("antd").ModalFuncProps | import("../../../render/propsType").FunctionArgs<any, boolean | import("antd").ModalFuncProps>;
75
+ show?: boolean | ReactiveFunction<any, boolean>;
76
+ component?: React.ReactNode | ReactiveFunction<any, React.ReactNode>;
77
+ className?: string;
78
+ hidden?: boolean;
79
+ id?: string;
80
+ style?: React.CSSProperties;
81
+ children?: React.ReactNode | ((form: FormInstance<any>) => React.ReactNode);
82
+ onReset?: () => void;
83
+ prefixCls?: string;
84
+ isView?: boolean;
85
+ desensitization?: [number, number] | ReactiveFunction<any, [number, number]>;
86
+ rootClassName?: string;
87
+ status?: import("antd/es/form/FormItem").ValidateStatus;
88
+ vertical?: boolean;
89
+ getValueProps?: ((value: any) => Record<string, unknown>) & ((value: import("@rc-component/form/lib/interface").StoreValue) => Record<string, unknown>);
90
+ colon?: boolean;
91
+ htmlFor?: string;
92
+ labelAlign?: import("antd/es/form/interface").FormLabelAlign;
93
+ labelCol?: import("antd").ColProps;
94
+ getValueFromEvent?: (...args: import("@rc-component/form/lib/interface").EventArgs) => import("@rc-component/form/lib/interface").StoreValue;
95
+ normalize?: (value: import("@rc-component/form/lib/interface").StoreValue, prevValue: import("@rc-component/form/lib/interface").StoreValue, allValues: import("@rc-component/form/lib/interface").Store) => import("@rc-component/form/lib/interface").StoreValue;
96
+ shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<any>;
97
+ trigger?: string;
98
+ validateTrigger?: string | string[] | false;
99
+ validateDebounce?: number;
100
+ valuePropName?: string;
101
+ messageVariables?: Record<string, string>;
102
+ initialValue?: any;
103
+ onMetaChange?: (meta: import("@rc-component/form/lib/Field").MetaEvent) => void;
104
+ preserve?: boolean;
105
+ isListField?: boolean;
106
+ isList?: boolean;
107
+ noStyle?: boolean;
108
+ hasFeedback?: boolean | {
109
+ icons: import("antd/es/form/FormItem").FeedbackIcons;
110
+ };
111
+ validateStatus?: import("antd/es/form/FormItem").ValidateStatus;
112
+ layout?: import("antd/es/form/Form").FormItemLayout;
113
+ wrapperCol?: import("antd").ColProps;
114
+ help?: React.ReactNode;
115
+ fieldId?: string;
116
+ valueType?: import("../../../render/propsType").ProFormValueType;
117
+ toISOString?: boolean;
118
+ toCSTString?: boolean;
119
+ switchValue?: [any, any];
120
+ clearNotShow?: boolean;
121
+ trim?: boolean;
122
+ upperCase?: boolean;
123
+ viewRender?: (value: any, record: any, { form, index, namePath, }: {
124
+ [key: string]: any;
125
+ form: FormInstance<any>;
126
+ index?: number | undefined;
127
+ }) => React.ReactElement<any, any> | string | undefined | null;
128
+ viewType?: import("../../../render/propsType").ViewType;
129
+ name: any;
130
+ dependencies: any[];
131
+ tooltip: string | {
132
+ title: string;
133
+ icon?: React.ReactNode;
134
+ };
135
+ extra: React.ReactNode;
136
+ validateFirst: boolean | "parallel";
137
+ disabled: any;
138
+ };
139
+ /**
140
+ * 创建组件属性
141
+ */
142
+ export declare const createComponentProps: (column: FlexibleGroupColumnType, formItemProps: any) => {
143
+ componentProps: import("lodash").Omit<any, "precision" | "valueType" | "toISOString" | "toCSTString" | "switchValue" | "format" | "clearNotShow" | "dependNames">;
144
+ formItemTransform: {
145
+ getValueProps: any;
146
+ normalize: any;
147
+ };
148
+ };
149
+ /**
150
+ * 配置验证组件
151
+ */
152
+ export declare const validateChildren: (children: FlexibleGroupColumnType[]) => boolean;
153
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { ProCascaderType } from './propsType';
2
+ declare const _default: import("react").MemoExoticComponent<(props: ProCascaderType) => import("react/jsx-runtime").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { ReactNode } from 'react';
2
+ import { DefaultOptionType } from '@rc-component/select/es/Select';
3
+ import { Service, Options } from 'ahooks/lib/useRequest/src/types';
4
+ export interface FieldNamesType {
5
+ label: string;
6
+ value: string;
7
+ children?: string;
8
+ [key: string]: string;
9
+ }
10
+ export interface ProCascaderType {
11
+ className?: string;
12
+ mode?: 'address' | 'default';
13
+ isView?: boolean;
14
+ value?: string[];
15
+ disabled?: boolean;
16
+ hasDetail?: boolean;
17
+ tooltip?: boolean | ReactNode;
18
+ detailMaxLength?: number;
19
+ fieldNames?: FieldNamesType;
20
+ dataSource?: DefaultOptionType[];
21
+ useRequest?: {
22
+ /**
23
+ * @description 请求服务函数
24
+ */
25
+ service?: Service<any, any>;
26
+ /**
27
+ * @description 请求选项
28
+ */
29
+ options?: Options<any, any>;
30
+ /**
31
+ * @deprecated 保留向后兼容性,使用 options.defaultParams 替代
32
+ */
33
+ defaultParams?: any;
34
+ };
35
+ onChange?: (value: string[], selectedOptions?: any[]) => void;
36
+ transformResponse?: (data: any[]) => any[];
37
+ level?: number;
38
+ enumCode?: string;
39
+ code?: string | string[];
40
+ otherProps?: any;
41
+ /** 查看分隔符 */
42
+ separator?: string;
43
+ /** 详情框占位符 */
44
+ detailPlaceholder?: string;
45
+ /** 浮窗是否跟随父级 */
46
+ scrollFollowParent?: boolean;
47
+ desensitization?: [number, number];
48
+ }
@@ -0,0 +1,14 @@
1
+ interface DataNode {
2
+ label: string;
3
+ value: string;
4
+ children?: DataNode[];
5
+ [key: string]: any;
6
+ }
7
+ interface FieldNames {
8
+ label: string;
9
+ value: string;
10
+ children?: string;
11
+ [key: string]: string;
12
+ }
13
+ export declare const transformDataName: (dataSource: any[], fieldNames: FieldNames) => DataNode[];
14
+ export {};
@@ -0,0 +1,33 @@
1
+ import { useRequest } from 'ahooks';
2
+ declare interface PaginationProp {
3
+ pageNum: number;
4
+ pageSize: number;
5
+ }
6
+ declare interface IListReq<T = any> extends PaginationProp {
7
+ defaultParams?: T;
8
+ [key: string]: any;
9
+ }
10
+ declare interface IRes<T = any> {
11
+ data: T;
12
+ status: number;
13
+ message: string;
14
+ }
15
+ declare interface IListProp<T> {
16
+ pageNum: number;
17
+ pageSize: number;
18
+ total: number;
19
+ list: T[];
20
+ }
21
+ declare type IResList<T> = IRes<IListProp<T>>;
22
+ declare type IListService<Req, Res> = (params?: IListReq<Req>) => Promise<IResList<Res>>;
23
+ export interface RequestListOptions<T, R> {
24
+ defaultParams?: Partial<T>;
25
+ page?: PaginationProp;
26
+ customizePage?: PaginationProp;
27
+ withPagination?: boolean;
28
+ onPageChange?: (page: PaginationProp) => any;
29
+ transformParams?: (params: Object) => Object;
30
+ transformResponse?: (data: Object[]) => Object[];
31
+ }
32
+ export declare function useRequestList<I, R extends Record<string, any>, S extends IListService<I, R>>(service: S, options?: RequestListOptions<I, R>, useRequestOptions?: Parameters<typeof useRequest>[1]): any;
33
+ export default useRequestList;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ProModalSelectType } from './propsType';
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<ProModalSelectType>, "ref"> & React.RefAttributes<unknown>>;
4
+ export default _default;
@@ -0,0 +1,106 @@
1
+ import { FormInstance, InputProps, SelectProps, ModalProps } from 'antd';
2
+ import { Service, Options } from 'ahooks/lib/useRequest/src/types';
3
+ import React from 'react';
4
+ import type { ProFormColumnType } from '../../render/propsType';
5
+ import type { ProFormOtherType } from '../../../propsType';
6
+ /**
7
+ * 模态框确认按钮回调函数类型
8
+ * @param list 选中的数据列表
9
+ * @returns 返回布尔值或Promise<布尔值>,用于控制模态框是否关闭
10
+ */
11
+ type OnOkFunction = (list?: Record<string, any>[]) => boolean | void | Promise<boolean | void>;
12
+ /**
13
+ * 配置选项接口
14
+ */
15
+ interface ConfigOption {
16
+ /** ahooks的useRequest参数配置 */
17
+ useRequest?: {
18
+ /** 请求服务 */
19
+ service?: Service<any, any>;
20
+ /** useRequest选项配置 */
21
+ options?: Options<any, any> & {
22
+ page?: any;
23
+ defaultParams?: any;
24
+ initParams?: any;
25
+ };
26
+ /** 初始化参数 */
27
+ initParams?: any;
28
+ };
29
+ /** 表单列配置项 */
30
+ formColumns?: ProFormColumnType[];
31
+ /** 选择模式:单选(radio)或多选(checkbox) */
32
+ type?: 'radio' | 'checkbox';
33
+ /** 是否开启分页功能 */
34
+ withPagination?: boolean;
35
+ /** 转换请求参数 */
36
+ transformParams?: (params: any) => any;
37
+ /** 转换响应数据 */
38
+ transformResponse?: (data: any[]) => any[];
39
+ /** 模态框属性配置 */
40
+ modalProps?: ModalProps & {
41
+ onOk?: OnOkFunction;
42
+ };
43
+ /** 表格属性配置 */
44
+ tableProps?: Record<string, any>;
45
+ }
46
+ /**
47
+ * 模态框选择器属性接口
48
+ */
49
+ interface ProModalPropsType {
50
+ /** 配置选项 */
51
+ configOption: ConfigOption;
52
+ /** 值变更回调 */
53
+ onChange?: (value: number | string | undefined, option?: any) => void;
54
+ /** 弹框标题 */
55
+ title: ModalProps['title'];
56
+ /** 组件引用 */
57
+ ref?: React.MutableRefObject<any>;
58
+ /** 自定义格式化显示值 */
59
+ onFormat?: (value: any) => string;
60
+ /** 自定义选项渲染函数 */
61
+ optionRender?: (value: any) => string;
62
+ /** 自定义字段名映射 */
63
+ fieldNames?: any;
64
+ /** 是否为查看模式 */
65
+ isView?: boolean;
66
+ /** 自定义组件渲染 */
67
+ customRender?: React.ReactNode;
68
+ /** 自定义空数据展示组件 */
69
+ viewEmpty?: React.ReactNode;
70
+ /** ProForm中传递的其他参数 */
71
+ otherProps?: ProFormOtherType;
72
+ /**
73
+ * 是否将选项的label包装到value中
74
+ * 会将Select的value类型从string变为{value: string, label: ReactNode}格式
75
+ */
76
+ labelInValue?: boolean;
77
+ /** 是否默认选择列表第一项 */
78
+ defaultOne?: boolean;
79
+ /** 打开弹框前的校验函数 */
80
+ beforeOpen?: any;
81
+ /** 打开弹框后的回调函数 */
82
+ afterOpen?: any;
83
+ /** 废弃 是否启用tooltip提示 */
84
+ isTooltip?: boolean;
85
+ /** 是否启用tooltip提示 */
86
+ tooltip?: boolean;
87
+ /** 是否以"值-名称"形式展示 */
88
+ showCodeName?: boolean;
89
+ /** 查询表单实例,用于获取查询表单数据 */
90
+ searchForm?: FormInstance;
91
+ /** 模糊查询的字段名 */
92
+ searchKey?: string;
93
+ /** 展示形式 */
94
+ mode?: 'input' | 'select';
95
+ }
96
+ /** 模态框选择器属性类型(结合Select和Input属性) */
97
+ export declare type ProModalSelectPropsType = Omit<SelectProps & InputProps, 'mode'> & ProModalPropsType;
98
+ /** 配置选项类型 */
99
+ export type ProModalSelectConfigType = ConfigOption;
100
+ /** 模态框属性类型 */
101
+ export type ProModalType = Omit<ProModalPropsType, 'configOption'> & {
102
+ configOption: ProModalSelectConfigType;
103
+ };
104
+ /** 模态框选择器类型(结合Select和Input属性) */
105
+ export type ProModalSelectType = Omit<SelectProps & InputProps, 'mode'> & ProModalType;
106
+ export {};
@@ -0,0 +1,15 @@
1
+ export declare const hideTooltipIfOpen: (dom: HTMLElement, open: boolean) => void;
2
+ /**
3
+ * 合并跨页/筛选场景下的多选行数据
4
+ *
5
+ * antd Table 开启 preserveSelectedRowKeys 后,onChange 回传的 rowKeys 是全量(含不在当前页的 key),
6
+ * 但 rows 中不在当前 dataSource 的行对象会是 undefined。此函数用历史已选行(prevRows)补全这些缺失的行对象,
7
+ * 保证返回的 rows 与 rowKeys 全量对齐,从而避免翻页/精准筛选后丢失已选数据。
8
+ *
9
+ * @param prevRows 历史已选行(累积缓存)
10
+ * @param nextRowKeys antd 回传的全量选中 key
11
+ * @param nextRows antd 回传的行对象(不在当前页的为 undefined)
12
+ * @param getRowKey 取行 key 的方法
13
+ * @returns 与 nextRowKeys 对齐的全量行对象(无法找到行对象的 key 会被过滤)
14
+ */
15
+ export declare const mergeSelectedRows: (prevRows: Record<string, any>[], nextRowKeys: any[], nextRows: (Record<string, any> | undefined)[], getRowKey: (record: Record<string, any>) => any) => Record<string, any>[];
@@ -0,0 +1,3 @@
1
+ import type { ProNumberRangeType } from './propsType';
2
+ declare const _default: import("react").MemoExoticComponent<(props: ProNumberRangeType) => any>;
3
+ export default _default;
@@ -0,0 +1,85 @@
1
+ import React from 'react';
2
+ import type { ProFormOtherType } from '../../../propsType';
3
+ export interface ProNumberRangeType {
4
+ /**
5
+ * @description 组件的值,[最小值,最大值]
6
+ * @default []
7
+ */
8
+ value?: number[];
9
+ /**
10
+ * @description onChange
11
+ * @default ()=>{}
12
+ */
13
+ onChange?: (values: number[]) => void;
14
+ /**
15
+ * @description 最小值
16
+ * @default -
17
+ */
18
+ min?: number;
19
+ /**
20
+ * @description 最大值
21
+ * @default -
22
+ */
23
+ max?: number;
24
+ /**
25
+ * @description 禁用状态
26
+ * @default false
27
+ */
28
+ disabled?: boolean | boolean[];
29
+ /**
30
+ * @description 精度
31
+ * @default '2'
32
+ */
33
+ precision?: number;
34
+ /**
35
+ * @description class类名
36
+ * @default -
37
+ */
38
+ className?: string;
39
+ /**
40
+ * @description 是否查看模式
41
+ * @default 'false'
42
+ */
43
+ isView?: boolean;
44
+ /**
45
+ * @description 值类型,回显时区分金额与百分比
46
+ * @default '-'
47
+ */
48
+ valueType?: 'percentage' | 'permillage' | 'thousandth';
49
+ /**
50
+ * @description 空值查看时默认展示内容
51
+ * @default '-'
52
+ */
53
+ viewEmpty?: React.ReactNode;
54
+ /**
55
+ * @description 保留小数点几位
56
+ * @default '2'
57
+ */
58
+ decimal?: number;
59
+ /**
60
+ * @description 带标签的 input,设置前置标签
61
+ * @default '-'
62
+ */
63
+ addonBefore?: React.ReactNode | string;
64
+ /**
65
+ * @description 带标签的 input,设置后置标签
66
+ * @default '-'
67
+ */
68
+ addonAfter?: React.ReactNode | string;
69
+ /**
70
+ * @description InputNumber属性
71
+ * @default '-'
72
+ */
73
+ /**
74
+ * @description 查看分割符
75
+ * @default '-'
76
+ */
77
+ separator?: React.ReactNode | string;
78
+ /**
79
+ * @deprecated 已弃用,请使用 separator 替代
80
+ */
81
+ split?: React.ReactNode | string;
82
+ childProps?: any[];
83
+ otherProps?: ProFormOtherType;
84
+ id?: string;
85
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { ProRangeLimitType } from './propsType';
3
+ declare const ProRangeLimit: React.FC<ProRangeLimitType>;
4
+ export default ProRangeLimit;