@zat-design/sisyphus-react 3.0.13
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.
- package/LICENSE +21 -0
- package/README.md +93 -0
- package/commitlint.config.js +6 -0
- package/dist/index.esm.css +4002 -0
- package/dist/index.esm.js +3 -0
- package/es/ProConfigProvider/index.d.ts +22 -0
- package/es/ProConfigProvider/index.js +52 -0
- package/es/ProDownload/DownloadHelper.d.ts +32 -0
- package/es/ProDownload/DownloadHelper.js +170 -0
- package/es/ProDownload/index.d.ts +4 -0
- package/es/ProDownload/index.js +176 -0
- package/es/ProDownload/propsType.d.ts +54 -0
- package/es/ProDownload/propsType.js +1 -0
- package/es/ProDrawerForm/components/ProDrawer/index.d.ts +7 -0
- package/es/ProDrawerForm/components/ProDrawer/index.js +204 -0
- package/es/ProDrawerForm/components/ProModal/index.d.ts +7 -0
- package/es/ProDrawerForm/components/ProModal/index.js +161 -0
- package/es/ProDrawerForm/components/index.d.ts +2 -0
- package/es/ProDrawerForm/components/index.js +2 -0
- package/es/ProDrawerForm/index.d.ts +5 -0
- package/es/ProDrawerForm/index.js +65 -0
- package/es/ProDrawerForm/propsType.d.ts +88 -0
- package/es/ProDrawerForm/propsType.js +1 -0
- package/es/ProDrawerForm/style/index.less +125 -0
- package/es/ProDrawerForm/utils/index.d.ts +6 -0
- package/es/ProDrawerForm/utils/index.js +16 -0
- package/es/ProEditLabel/components/RenderForm.d.ts +3 -0
- package/es/ProEditLabel/components/RenderForm.js +65 -0
- package/es/ProEditLabel/index.d.ts +4 -0
- package/es/ProEditLabel/index.js +324 -0
- package/es/ProEditLabel/propsType.d.ts +43 -0
- package/es/ProEditLabel/propsType.js +1 -0
- package/es/ProEditLabel/style/index.less +105 -0
- package/es/ProEditLabel/utils/index.d.ts +9 -0
- package/es/ProEditLabel/utils/index.js +32 -0
- package/es/ProEditTable/components/ActionButton/index.d.ts +2 -0
- package/es/ProEditTable/components/ActionButton/index.js +70 -0
- package/es/ProEditTable/components/DndWrapper/index.d.ts +14 -0
- package/es/ProEditTable/components/DndWrapper/index.js +82 -0
- package/es/ProEditTable/components/RenderField/index.d.ts +2 -0
- package/es/ProEditTable/components/RenderField/index.js +467 -0
- package/es/ProEditTable/components/RenderToolbar/index.d.ts +2 -0
- package/es/ProEditTable/components/RenderToolbar/index.js +136 -0
- package/es/ProEditTable/components/Summary/index.d.ts +12 -0
- package/es/ProEditTable/components/Summary/index.js +79 -0
- package/es/ProEditTable/components/Validator/index.d.ts +10 -0
- package/es/ProEditTable/components/Validator/index.js +27 -0
- package/es/ProEditTable/components/index.d.ts +6 -0
- package/es/ProEditTable/components/index.js +6 -0
- package/es/ProEditTable/index.d.ts +4 -0
- package/es/ProEditTable/index.js +272 -0
- package/es/ProEditTable/propsType.d.ts +201 -0
- package/es/ProEditTable/propsType.js +1 -0
- package/es/ProEditTable/style/index.less +227 -0
- package/es/ProEditTable/utils/config.d.ts +25 -0
- package/es/ProEditTable/utils/config.js +214 -0
- package/es/ProEditTable/utils/index.d.ts +10 -0
- package/es/ProEditTable/utils/index.js +396 -0
- package/es/ProEditTable/utils/tools.d.ts +16 -0
- package/es/ProEditTable/utils/tools.js +75 -0
- package/es/ProEditTable/utils/transform.d.ts +5 -0
- package/es/ProEditTable/utils/transform.js +15 -0
- package/es/ProEnum/getEnumLabel.d.ts +2 -0
- package/es/ProEnum/getEnumLabel.js +62 -0
- package/es/ProEnum/index.d.ts +8 -0
- package/es/ProEnum/index.js +223 -0
- package/es/ProEnum/propsType.d.ts +80 -0
- package/es/ProEnum/propsType.js +1 -0
- package/es/ProEnum/useEnum.d.ts +14 -0
- package/es/ProEnum/useEnum.js +75 -0
- package/es/ProEnum/useEnumRequest.d.ts +3 -0
- package/es/ProEnum/useEnumRequest.js +232 -0
- package/es/ProEnum/utils.d.ts +30 -0
- package/es/ProEnum/utils.js +79 -0
- package/es/ProForm/components/Container.d.ts +8 -0
- package/es/ProForm/components/Container.js +27 -0
- package/es/ProForm/components/FormFooter/index.d.ts +4 -0
- package/es/ProForm/components/FormFooter/index.js +37 -0
- package/es/ProForm/components/FormFooter/propsType.d.ts +17 -0
- package/es/ProForm/components/FormFooter/propsType.js +1 -0
- package/es/ProForm/components/base/Checkbox/index.d.ts +13 -0
- package/es/ProForm/components/base/Checkbox/index.js +67 -0
- package/es/ProForm/components/base/DatePicker/index.d.ts +12 -0
- package/es/ProForm/components/base/DatePicker/index.js +64 -0
- package/es/ProForm/components/base/FormList/components/ActionButton.d.ts +19 -0
- package/es/ProForm/components/base/FormList/components/ActionButton.js +170 -0
- package/es/ProForm/components/base/FormList/components/BlockFields.d.ts +16 -0
- package/es/ProForm/components/base/FormList/components/BlockFields.js +69 -0
- package/es/ProForm/components/base/FormList/components/BlockTitle.d.ts +15 -0
- package/es/ProForm/components/base/FormList/components/BlockTitle.js +27 -0
- package/es/ProForm/components/base/FormList/components/LineFields.d.ts +14 -0
- package/es/ProForm/components/base/FormList/components/LineFields.js +46 -0
- package/es/ProForm/components/base/FormList/components/ToolbarButton.d.ts +12 -0
- package/es/ProForm/components/base/FormList/components/ToolbarButton.js +79 -0
- package/es/ProForm/components/base/FormList/index.d.ts +43 -0
- package/es/ProForm/components/base/FormList/index.js +94 -0
- package/es/ProForm/components/base/FormList/style/index.less +36 -0
- package/es/ProForm/components/base/FormList/utils.d.ts +10 -0
- package/es/ProForm/components/base/FormList/utils.js +19 -0
- package/es/ProForm/components/base/Input/index.d.ts +3 -0
- package/es/ProForm/components/base/Input/index.js +33 -0
- package/es/ProForm/components/base/Input/propsType.d.ts +14 -0
- package/es/ProForm/components/base/Input/propsType.js +1 -0
- package/es/ProForm/components/base/InputNumber/index.d.ts +10 -0
- package/es/ProForm/components/base/InputNumber/index.js +177 -0
- package/es/ProForm/components/base/Radio/index.d.ts +14 -0
- package/es/ProForm/components/base/Radio/index.js +63 -0
- package/es/ProForm/components/base/RangePicker/index.d.ts +9 -0
- package/es/ProForm/components/base/RangePicker/index.js +57 -0
- package/es/ProForm/components/base/Select/index.d.ts +9 -0
- package/es/ProForm/components/base/Select/index.js +66 -0
- package/es/ProForm/components/base/Switch/index.d.ts +9 -0
- package/es/ProForm/components/base/Switch/index.js +33 -0
- package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +9 -0
- package/es/ProForm/components/base/SwitchCheckbox/index.js +46 -0
- package/es/ProForm/components/base/SwitchCheckbox/style/index.less +13 -0
- package/es/ProForm/components/base/TextArea/index.d.ts +8 -0
- package/es/ProForm/components/base/TextArea/index.js +35 -0
- package/es/ProForm/components/combination/ProAddressBar/index.d.ts +4 -0
- package/es/ProForm/components/combination/ProAddressBar/index.js +397 -0
- package/es/ProForm/components/combination/ProAddressBar/propsType.d.ts +28 -0
- package/es/ProForm/components/combination/ProAddressBar/propsType.js +1 -0
- package/es/ProForm/components/combination/ProAddressBar/style/index.less +26 -0
- package/es/ProForm/components/combination/ProCombination/index.d.ts +6 -0
- package/es/ProForm/components/combination/ProCombination/index.js +197 -0
- package/es/ProForm/components/combination/ProCombination/propsType.d.ts +62 -0
- package/es/ProForm/components/combination/ProCombination/propsType.js +1 -0
- package/es/ProForm/components/combination/ProCombination/style/index.less +15 -0
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.d.ts +33 -0
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +136 -0
- package/es/ProForm/components/combination/ProModalSelect/index.d.ts +4 -0
- package/es/ProForm/components/combination/ProModalSelect/index.js +644 -0
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +45 -0
- package/es/ProForm/components/combination/ProModalSelect/propsType.js +1 -0
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +57 -0
- package/es/ProForm/components/combination/ProNumberRange/index.d.ts +4 -0
- package/es/ProForm/components/combination/ProNumberRange/index.js +182 -0
- package/es/ProForm/components/combination/ProNumberRange/propsType.d.ts +76 -0
- package/es/ProForm/components/combination/ProNumberRange/propsType.js +1 -0
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +79 -0
- package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +17 -0
- package/es/ProForm/components/combination/ProRangeLimit/index.js +142 -0
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +8 -0
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +25 -0
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useTransformDate.d.ts +12 -0
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useTransformDate.js +36 -0
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +19 -0
- package/es/ProForm/components/combination/ProTimeLimit/index.js +126 -0
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +12 -0
- package/es/ProForm/components/index.d.ts +30 -0
- package/es/ProForm/components/index.js +34 -0
- package/es/ProForm/components/old/CertNo/index.d.ts +18 -0
- package/es/ProForm/components/old/CertNo/index.js +63 -0
- package/es/ProForm/components/old/CertNo/propsType.d.ts +13 -0
- package/es/ProForm/components/old/CertNo/propsType.js +1 -0
- package/es/ProForm/components/old/EnumSelect/hooks/useRequestList.d.ts +33 -0
- package/es/ProForm/components/old/EnumSelect/hooks/useRequestList.js +108 -0
- package/es/ProForm/components/old/EnumSelect/index.d.ts +4 -0
- package/es/ProForm/components/old/EnumSelect/index.js +264 -0
- package/es/ProForm/components/old/EnumSelect/interface.d.ts +29 -0
- package/es/ProForm/components/old/EnumSelect/interface.js +1 -0
- package/es/ProForm/components/old/EnumSelect/style/index.less +114 -0
- package/es/ProForm/components/old/InputRange/index.d.ts +16 -0
- package/es/ProForm/components/old/InputRange/index.js +99 -0
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +3 -0
- package/es/ProForm/components/old/InputWithSuffix/index.js +44 -0
- package/es/ProForm/components/old/InputWithSuffix/propsTypes.d.ts +11 -0
- package/es/ProForm/components/old/InputWithSuffix/propsTypes.js +1 -0
- package/es/ProForm/components/old/ProAddress/index.d.ts +27 -0
- package/es/ProForm/components/old/ProAddress/index.js +286 -0
- package/es/ProForm/components/old/ProAddress/propsTypes.d.ts +16 -0
- package/es/ProForm/components/old/ProAddress/propsTypes.js +1 -0
- package/es/ProForm/components/old/ProCertNo/index.d.ts +14 -0
- package/es/ProForm/components/old/ProCertNo/index.js +61 -0
- package/es/ProForm/components/old/ProCertNo/propsType.d.ts +18 -0
- package/es/ProForm/components/old/ProCertNo/propsType.js +1 -0
- package/es/ProForm/components/old/ProCertValidity/index.d.ts +9 -0
- package/es/ProForm/components/old/ProCertValidity/index.js +182 -0
- package/es/ProForm/components/old/ProCertValidity/propsType.d.ts +19 -0
- package/es/ProForm/components/old/ProCertValidity/propsType.js +1 -0
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -0
- package/es/ProForm/components/old/ProRangeBox/index.js +89 -0
- package/es/ProForm/components/old/ProRangeBox/propsType.d.ts +3 -0
- package/es/ProForm/components/old/ProRangeBox/propsType.js +1 -0
- package/es/ProForm/components/render/Render.d.ts +4 -0
- package/es/ProForm/components/render/Render.js +369 -0
- package/es/ProForm/components/render/RenderFields.d.ts +20 -0
- package/es/ProForm/components/render/RenderFields.js +176 -0
- package/es/ProForm/components/render/propsType.d.ts +210 -0
- package/es/ProForm/components/render/propsType.js +7 -0
- package/es/ProForm/index.d.ts +10 -0
- package/es/ProForm/index.js +249 -0
- package/es/ProForm/propsType.d.ts +69 -0
- package/es/ProForm/propsType.js +2 -0
- package/es/ProForm/style/index.less +410 -0
- package/es/ProForm/utils/contrastOriginal.d.ts +1 -0
- package/es/ProForm/utils/contrastOriginal.js +28 -0
- package/es/ProForm/utils/index.d.ts +59 -0
- package/es/ProForm/utils/index.js +298 -0
- package/es/ProForm/utils/rulesCreator.d.ts +1 -0
- package/es/ProForm/utils/rulesCreator.js +26 -0
- package/es/ProForm/utils/transformNames.d.ts +10 -0
- package/es/ProForm/utils/transformNames.js +32 -0
- package/es/ProForm/utils/transformValue.d.ts +6 -0
- package/es/ProForm/utils/transformValue.js +49 -0
- package/es/ProForm/utils/useChanged.d.ts +1 -0
- package/es/ProForm/utils/useChanged.js +10 -0
- package/es/ProForm/utils/useForm.d.ts +2 -0
- package/es/ProForm/utils/useForm.js +96 -0
- package/es/ProForm/utils/useShouldUpdate.d.ts +24 -0
- package/es/ProForm/utils/useShouldUpdate.js +184 -0
- package/es/ProForm/utils/valueType.d.ts +64 -0
- package/es/ProForm/utils/valueType.js +194 -0
- package/es/ProIcon/index.d.ts +5 -0
- package/es/ProIcon/index.js +60 -0
- package/es/ProIcon/propsTypes.d.ts +56 -0
- package/es/ProIcon/propsTypes.js +1 -0
- package/es/ProIcon/style/index.less +12 -0
- package/es/ProLayout/components/Layout/Header/index.d.ts +4 -0
- package/es/ProLayout/components/Layout/Header/index.js +33 -0
- package/es/ProLayout/components/Layout/Header/style/index.less +127 -0
- package/es/ProLayout/components/Layout/Icon/Icon.d.ts +10 -0
- package/es/ProLayout/components/Layout/Icon/Icon.js +31 -0
- package/es/ProLayout/components/Layout/Icon/index.d.ts +2 -0
- package/es/ProLayout/components/Layout/Icon/index.js +2 -0
- package/es/ProLayout/components/Layout/Icon/style/index.less +7 -0
- package/es/ProLayout/components/Layout/Menu/FoldMenu/index.d.ts +3 -0
- package/es/ProLayout/components/Layout/Menu/FoldMenu/index.js +98 -0
- package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +100 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +3 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +144 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +14 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/propsType.js +1 -0
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +177 -0
- package/es/ProLayout/components/Layout/Menu/SideMenu/index.d.ts +3 -0
- package/es/ProLayout/components/Layout/Menu/SideMenu/index.js +34 -0
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +97 -0
- package/es/ProLayout/components/Layout/Menu/index.d.ts +4 -0
- package/es/ProLayout/components/Layout/Menu/index.js +62 -0
- package/es/ProLayout/components/Layout/Menu/style/index.less +131 -0
- package/es/ProLayout/components/Layout/Notice/index.d.ts +4 -0
- package/es/ProLayout/components/Layout/Notice/index.js +27 -0
- package/es/ProLayout/components/Layout/Notice/style/index.less +34 -0
- package/es/ProLayout/components/Layout/index.d.ts +4 -0
- package/es/ProLayout/components/Layout/index.js +4 -0
- package/es/ProLayout/components/Layout/index.less +4 -0
- package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +73 -0
- package/es/ProLayout/components/ProCollapse/PropTypes.js +1 -0
- package/es/ProLayout/components/ProCollapse/index.d.ts +3 -0
- package/es/ProLayout/components/ProCollapse/index.js +95 -0
- package/es/ProLayout/components/ProCollapse/style/index.less +153 -0
- package/es/ProLayout/components/ProFooter/PropTypes.d.ts +11 -0
- package/es/ProLayout/components/ProFooter/PropTypes.js +1 -0
- package/es/ProLayout/components/ProFooter/index.d.ts +4 -0
- package/es/ProLayout/components/ProFooter/index.js +47 -0
- package/es/ProLayout/components/ProFooter/style/index.less +10 -0
- package/es/ProLayout/components/ProHeader/PropTypes.d.ts +72 -0
- package/es/ProLayout/components/ProHeader/PropTypes.js +1 -0
- package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +4 -0
- package/es/ProLayout/components/ProHeader/components/Copy/index.js +25 -0
- package/es/ProLayout/components/ProHeader/components/index.d.ts +1 -0
- package/es/ProLayout/components/ProHeader/components/index.js +1 -0
- package/es/ProLayout/components/ProHeader/index.d.ts +4 -0
- package/es/ProLayout/components/ProHeader/index.js +367 -0
- package/es/ProLayout/components/ProHeader/style/index.less +337 -0
- package/es/ProLayout/components/index.d.ts +3 -0
- package/es/ProLayout/components/index.js +3 -0
- package/es/ProLayout/images/close.png +0 -0
- package/es/ProLayout/images/logoImg.png +0 -0
- package/es/ProLayout/images/pack.png +0 -0
- package/es/ProLayout/images/tipMsg.png +0 -0
- package/es/ProLayout/index.d.ts +20 -0
- package/es/ProLayout/index.js +108 -0
- package/es/ProLayout/propTypes.d.ts +60 -0
- package/es/ProLayout/propTypes.js +1 -0
- package/es/ProLayout/style/index.less +52 -0
- package/es/ProLayout/utils/index.d.ts +36 -0
- package/es/ProLayout/utils/index.js +159 -0
- package/es/ProSelect/index.d.ts +5 -0
- package/es/ProSelect/index.js +278 -0
- package/es/ProSelect/propsType.d.ts +41 -0
- package/es/ProSelect/propsType.js +1 -0
- package/es/ProStep/components/Anchor/index.d.ts +2 -0
- package/es/ProStep/components/Anchor/index.js +94 -0
- package/es/ProStep/components/Item/index.d.ts +6 -0
- package/es/ProStep/components/Item/index.js +18 -0
- package/es/ProStep/components/Listener/index.d.ts +5 -0
- package/es/ProStep/components/Listener/index.js +35 -0
- package/es/ProStep/components/Step/index.d.ts +5 -0
- package/es/ProStep/components/Step/index.js +68 -0
- package/es/ProStep/index.d.ts +18 -0
- package/es/ProStep/index.js +130 -0
- package/es/ProStep/propsType.d.ts +19 -0
- package/es/ProStep/propsType.js +1 -0
- package/es/ProStep/style/index.less +181 -0
- package/es/ProStep/utils/index.d.ts +2 -0
- package/es/ProStep/utils/index.js +16 -0
- package/es/ProTable/components/ResizableLine/index.d.ts +2 -0
- package/es/ProTable/components/ResizableLine/index.js +10 -0
- package/es/ProTable/components/TableResizable/index.d.ts +13 -0
- package/es/ProTable/components/TableResizable/index.js +98 -0
- package/es/ProTable/components/index.d.ts +2 -0
- package/es/ProTable/components/index.js +2 -0
- package/es/ProTable/index.d.ts +16 -0
- package/es/ProTable/index.js +316 -0
- package/es/ProTable/propsType.d.ts +87 -0
- package/es/ProTable/propsType.js +1 -0
- package/es/ProTable/style/index.less +299 -0
- package/es/ProTable/useAntdTable.d.ts +82 -0
- package/es/ProTable/useAntdTable.js +374 -0
- package/es/ProTable/utils.d.ts +12 -0
- package/es/ProTable/utils.js +234 -0
- package/es/ProTooltip/index.d.ts +4 -0
- package/es/ProTooltip/index.js +93 -0
- package/es/ProTooltip/propsType.d.ts +13 -0
- package/es/ProTooltip/propsType.js +1 -0
- package/es/ProTooltip/style/index.less +22 -0
- package/es/ProTransferModal/components/SortableItem/index.d.ts +10 -0
- package/es/ProTransferModal/components/SortableItem/index.js +56 -0
- package/es/ProTransferModal/index.d.ts +4 -0
- package/es/ProTransferModal/index.js +338 -0
- package/es/ProTransferModal/propsType.d.ts +34 -0
- package/es/ProTransferModal/propsType.js +1 -0
- package/es/ProTransferModal/style/index.less +161 -0
- package/es/ProUpload/Example.d.ts +7 -0
- package/es/ProUpload/Example.js +40 -0
- package/es/ProUpload/FileItem.d.ts +33 -0
- package/es/ProUpload/FileItem.js +207 -0
- package/es/ProUpload/index.d.ts +5 -0
- package/es/ProUpload/index.js +404 -0
- package/es/ProUpload/propsType.d.ts +132 -0
- package/es/ProUpload/propsType.js +1 -0
- package/es/ProUpload/style/delete.svg +1 -0
- package/es/ProUpload/style/download.svg +1 -0
- package/es/ProUpload/style/fileItem.less +158 -0
- package/es/ProUpload/style/icon-PDF.png +0 -0
- package/es/ProUpload/style/icon-TXT.png +0 -0
- package/es/ProUpload/style/icon-excel.png +0 -0
- package/es/ProUpload/style/icon-pic.png +0 -0
- package/es/ProUpload/style/icon-word.png +0 -0
- package/es/ProUpload/style/index.less +242 -0
- package/es/ProUpload/style/look.svg +1 -0
- package/es/ProUtils/utils/index.d.ts +6 -0
- package/es/ProUtils/utils/index.js +24 -0
- package/es/ProViewer/index.d.ts +4 -0
- package/es/ProViewer/index.js +209 -0
- package/es/ProViewer/propsType.d.ts +35 -0
- package/es/ProViewer/propsType.js +1 -0
- package/es/ProViewer/style/index.less +8 -0
- package/es/ProWaterMark/index.d.ts +4 -0
- package/es/ProWaterMark/index.js +13 -0
- package/es/ProWaterMark/propsType.d.ts +82 -0
- package/es/ProWaterMark/propsType.js +1 -0
- package/es/assets/arrow.svg +1 -0
- package/es/assets/catalog.svg +1 -0
- package/es/assets/copy.svg +1 -0
- package/es/assets/customColumn.svg +2 -0
- package/es/assets/delete.svg +1 -0
- package/es/assets/disabled.svg +18 -0
- package/es/assets/drag.svg +25 -0
- package/es/assets/empty.png +0 -0
- package/es/assets/reset.svg +11 -0
- package/es/assets/search.svg +1 -0
- package/es/assets/tip.svg +1 -0
- package/es/assets/view.svg +1 -0
- package/es/global.less +5 -0
- package/es/index.d.ts +30 -0
- package/es/index.js +44 -0
- package/es/old/ProBackBtn/index.d.ts +9 -0
- package/es/old/ProBackBtn/index.js +28 -0
- package/es/old/ProBackBtn/propsType.d.ts +4 -0
- package/es/old/ProBackBtn/propsType.js +1 -0
- package/es/old/ProBackBtn/style/index.less +19 -0
- package/es/old/ProCertValidity/index.d.ts +9 -0
- package/es/old/ProCertValidity/index.js +183 -0
- package/es/old/ProCertValidity/propsType.d.ts +19 -0
- package/es/old/ProCertValidity/propsType.js +1 -0
- package/es/old/ProCustomColumn/LeftBody.d.ts +4 -0
- package/es/old/ProCustomColumn/LeftBody.js +206 -0
- package/es/old/ProCustomColumn/RightBody.d.ts +9 -0
- package/es/old/ProCustomColumn/RightBody.js +145 -0
- package/es/old/ProCustomColumn/index.d.ts +4 -0
- package/es/old/ProCustomColumn/index.js +165 -0
- package/es/old/ProCustomColumn/propsType.d.ts +39 -0
- package/es/old/ProCustomColumn/propsType.js +1 -0
- package/es/old/ProCustomColumn/style/LeftBody.less +74 -0
- package/es/old/ProCustomColumn/style/RightBody.less +25 -0
- package/es/old/ProCustomColumn/style/index.less +88 -0
- package/es/old/ProEditableTable/index.d.ts +4 -0
- package/es/old/ProEditableTable/index.js +572 -0
- package/es/old/ProEditableTable/propsType.d.ts +68 -0
- package/es/old/ProEditableTable/propsType.js +1 -0
- package/es/old/ProEditableTable/style/index.less +76 -0
- package/es/old/ProEditableTable/utils.d.ts +29 -0
- package/es/old/ProEditableTable/utils.js +307 -0
- package/es/old/ProEnumSelectModal/hooks/useRequestList.d.ts +32 -0
- package/es/old/ProEnumSelectModal/hooks/useRequestList.js +110 -0
- package/es/old/ProEnumSelectModal/index.d.ts +12 -0
- package/es/old/ProEnumSelectModal/index.js +222 -0
- package/es/old/ProEnumSelectModal/propsType.d.ts +22 -0
- package/es/old/ProEnumSelectModal/propsType.js +1 -0
- package/es/old/ProEnumSelectModal/style/index.less +98 -0
- package/es/style/components.less +18 -0
- package/es/style/core/compatible.less +30 -0
- package/es/style/core/index.less +3 -0
- package/es/style/core/mixins.less +70 -0
- package/es/style/core/normalize.less +246 -0
- package/es/style/index.less +2 -0
- package/es/style/theme/antd.less +647 -0
- package/es/style/theme/index.less +190 -0
- package/lib/ProConfigProvider/index.d.ts +22 -0
- package/lib/ProConfigProvider/index.js +64 -0
- package/lib/ProDownload/DownloadHelper.d.ts +32 -0
- package/lib/ProDownload/DownloadHelper.js +183 -0
- package/lib/ProDownload/index.d.ts +4 -0
- package/lib/ProDownload/index.js +183 -0
- package/lib/ProDownload/propsType.d.ts +54 -0
- package/lib/ProDownload/propsType.js +5 -0
- package/lib/ProDrawerForm/components/ProDrawer/index.d.ts +7 -0
- package/lib/ProDrawerForm/components/ProDrawer/index.js +208 -0
- package/lib/ProDrawerForm/components/ProModal/index.d.ts +7 -0
- package/lib/ProDrawerForm/components/ProModal/index.js +167 -0
- package/lib/ProDrawerForm/components/index.d.ts +2 -0
- package/lib/ProDrawerForm/components/index.js +20 -0
- package/lib/ProDrawerForm/index.d.ts +5 -0
- package/lib/ProDrawerForm/index.js +73 -0
- package/lib/ProDrawerForm/propsType.d.ts +88 -0
- package/lib/ProDrawerForm/propsType.js +5 -0
- package/lib/ProDrawerForm/style/index.less +125 -0
- package/lib/ProDrawerForm/utils/index.d.ts +6 -0
- package/lib/ProDrawerForm/utils/index.js +23 -0
- package/lib/ProEditLabel/components/RenderForm.d.ts +3 -0
- package/lib/ProEditLabel/components/RenderForm.js +75 -0
- package/lib/ProEditLabel/index.d.ts +4 -0
- package/lib/ProEditLabel/index.js +324 -0
- package/lib/ProEditLabel/propsType.d.ts +43 -0
- package/lib/ProEditLabel/propsType.js +5 -0
- package/lib/ProEditLabel/style/index.less +105 -0
- package/lib/ProEditLabel/utils/index.d.ts +9 -0
- package/lib/ProEditLabel/utils/index.js +41 -0
- package/lib/ProEditTable/components/ActionButton/index.d.ts +2 -0
- package/lib/ProEditTable/components/ActionButton/index.js +75 -0
- package/lib/ProEditTable/components/DndWrapper/index.d.ts +14 -0
- package/lib/ProEditTable/components/DndWrapper/index.js +91 -0
- package/lib/ProEditTable/components/RenderField/index.d.ts +2 -0
- package/lib/ProEditTable/components/RenderField/index.js +473 -0
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +2 -0
- package/lib/ProEditTable/components/RenderToolbar/index.js +143 -0
- package/lib/ProEditTable/components/Summary/index.d.ts +12 -0
- package/lib/ProEditTable/components/Summary/index.js +84 -0
- package/lib/ProEditTable/components/Validator/index.d.ts +10 -0
- package/lib/ProEditTable/components/Validator/index.js +32 -0
- package/lib/ProEditTable/components/index.d.ts +6 -0
- package/lib/ProEditTable/components/index.js +55 -0
- package/lib/ProEditTable/index.d.ts +4 -0
- package/lib/ProEditTable/index.js +278 -0
- package/lib/ProEditTable/propsType.d.ts +201 -0
- package/lib/ProEditTable/propsType.js +5 -0
- package/lib/ProEditTable/style/index.less +227 -0
- package/lib/ProEditTable/utils/config.d.ts +25 -0
- package/lib/ProEditTable/utils/config.js +227 -0
- package/lib/ProEditTable/utils/index.d.ts +10 -0
- package/lib/ProEditTable/utils/index.js +401 -0
- package/lib/ProEditTable/utils/tools.d.ts +16 -0
- package/lib/ProEditTable/utils/tools.js +87 -0
- package/lib/ProEditTable/utils/transform.d.ts +5 -0
- package/lib/ProEditTable/utils/transform.js +22 -0
- package/lib/ProEnum/getEnumLabel.d.ts +2 -0
- package/lib/ProEnum/getEnumLabel.js +70 -0
- package/lib/ProEnum/index.d.ts +8 -0
- package/lib/ProEnum/index.js +225 -0
- package/lib/ProEnum/propsType.d.ts +80 -0
- package/lib/ProEnum/propsType.js +5 -0
- package/lib/ProEnum/useEnum.d.ts +14 -0
- package/lib/ProEnum/useEnum.js +84 -0
- package/lib/ProEnum/useEnumRequest.d.ts +3 -0
- package/lib/ProEnum/useEnumRequest.js +241 -0
- package/lib/ProEnum/utils.d.ts +30 -0
- package/lib/ProEnum/utils.js +92 -0
- package/lib/ProForm/components/Container.d.ts +8 -0
- package/lib/ProForm/components/Container.js +34 -0
- package/lib/ProForm/components/FormFooter/index.d.ts +4 -0
- package/lib/ProForm/components/FormFooter/index.js +42 -0
- package/lib/ProForm/components/FormFooter/propsType.d.ts +17 -0
- package/lib/ProForm/components/FormFooter/propsType.js +5 -0
- package/lib/ProForm/components/base/Checkbox/index.d.ts +13 -0
- package/lib/ProForm/components/base/Checkbox/index.js +74 -0
- package/lib/ProForm/components/base/DatePicker/index.d.ts +12 -0
- package/lib/ProForm/components/base/DatePicker/index.js +71 -0
- package/lib/ProForm/components/base/FormList/components/ActionButton.d.ts +19 -0
- package/lib/ProForm/components/base/FormList/components/ActionButton.js +174 -0
- package/lib/ProForm/components/base/FormList/components/BlockFields.d.ts +16 -0
- package/lib/ProForm/components/base/FormList/components/BlockFields.js +75 -0
- package/lib/ProForm/components/base/FormList/components/BlockTitle.d.ts +15 -0
- package/lib/ProForm/components/base/FormList/components/BlockTitle.js +35 -0
- package/lib/ProForm/components/base/FormList/components/LineFields.d.ts +14 -0
- package/lib/ProForm/components/base/FormList/components/LineFields.js +53 -0
- package/lib/ProForm/components/base/FormList/components/ToolbarButton.d.ts +12 -0
- package/lib/ProForm/components/base/FormList/components/ToolbarButton.js +85 -0
- package/lib/ProForm/components/base/FormList/index.d.ts +43 -0
- package/lib/ProForm/components/base/FormList/index.js +102 -0
- package/lib/ProForm/components/base/FormList/style/index.less +36 -0
- package/lib/ProForm/components/base/FormList/utils.d.ts +10 -0
- package/lib/ProForm/components/base/FormList/utils.js +26 -0
- package/lib/ProForm/components/base/Input/index.d.ts +3 -0
- package/lib/ProForm/components/base/Input/index.js +40 -0
- package/lib/ProForm/components/base/Input/propsType.d.ts +14 -0
- package/lib/ProForm/components/base/Input/propsType.js +5 -0
- package/lib/ProForm/components/base/InputNumber/index.d.ts +10 -0
- package/lib/ProForm/components/base/InputNumber/index.js +183 -0
- package/lib/ProForm/components/base/Radio/index.d.ts +14 -0
- package/lib/ProForm/components/base/Radio/index.js +70 -0
- package/lib/ProForm/components/base/RangePicker/index.d.ts +9 -0
- package/lib/ProForm/components/base/RangePicker/index.js +64 -0
- package/lib/ProForm/components/base/Select/index.d.ts +9 -0
- package/lib/ProForm/components/base/Select/index.js +73 -0
- package/lib/ProForm/components/base/Switch/index.d.ts +9 -0
- package/lib/ProForm/components/base/Switch/index.js +40 -0
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +9 -0
- package/lib/ProForm/components/base/SwitchCheckbox/index.js +54 -0
- package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +13 -0
- package/lib/ProForm/components/base/TextArea/index.d.ts +8 -0
- package/lib/ProForm/components/base/TextArea/index.js +42 -0
- package/lib/ProForm/components/combination/ProAddressBar/index.d.ts +4 -0
- package/lib/ProForm/components/combination/ProAddressBar/index.js +401 -0
- package/lib/ProForm/components/combination/ProAddressBar/propsType.d.ts +28 -0
- package/lib/ProForm/components/combination/ProAddressBar/propsType.js +5 -0
- package/lib/ProForm/components/combination/ProAddressBar/style/index.less +26 -0
- package/lib/ProForm/components/combination/ProCombination/index.d.ts +6 -0
- package/lib/ProForm/components/combination/ProCombination/index.js +204 -0
- package/lib/ProForm/components/combination/ProCombination/propsType.d.ts +62 -0
- package/lib/ProForm/components/combination/ProCombination/propsType.js +5 -0
- package/lib/ProForm/components/combination/ProCombination/style/index.less +15 -0
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.d.ts +33 -0
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +145 -0
- package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +4 -0
- package/lib/ProForm/components/combination/ProModalSelect/index.js +646 -0
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +45 -0
- package/lib/ProForm/components/combination/ProModalSelect/propsType.js +5 -0
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +57 -0
- package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +4 -0
- package/lib/ProForm/components/combination/ProNumberRange/index.js +187 -0
- package/lib/ProForm/components/combination/ProNumberRange/propsType.d.ts +76 -0
- package/lib/ProForm/components/combination/ProNumberRange/propsType.js +5 -0
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +79 -0
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +17 -0
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +146 -0
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +8 -0
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +33 -0
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useTransformDate.d.ts +12 -0
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useTransformDate.js +44 -0
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +19 -0
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +131 -0
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +12 -0
- package/lib/ProForm/components/index.d.ts +30 -0
- package/lib/ProForm/components/index.js +223 -0
- package/lib/ProForm/components/old/CertNo/index.d.ts +18 -0
- package/lib/ProForm/components/old/CertNo/index.js +69 -0
- package/lib/ProForm/components/old/CertNo/propsType.d.ts +13 -0
- package/lib/ProForm/components/old/CertNo/propsType.js +5 -0
- package/lib/ProForm/components/old/EnumSelect/hooks/useRequestList.d.ts +33 -0
- package/lib/ProForm/components/old/EnumSelect/hooks/useRequestList.js +115 -0
- package/lib/ProForm/components/old/EnumSelect/index.d.ts +4 -0
- package/lib/ProForm/components/old/EnumSelect/index.js +266 -0
- package/lib/ProForm/components/old/EnumSelect/interface.d.ts +29 -0
- package/lib/ProForm/components/old/EnumSelect/interface.js +5 -0
- package/lib/ProForm/components/old/EnumSelect/style/index.less +114 -0
- package/lib/ProForm/components/old/InputRange/index.d.ts +16 -0
- package/lib/ProForm/components/old/InputRange/index.js +105 -0
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +3 -0
- package/lib/ProForm/components/old/InputWithSuffix/index.js +51 -0
- package/lib/ProForm/components/old/InputWithSuffix/propsTypes.d.ts +11 -0
- package/lib/ProForm/components/old/InputWithSuffix/propsTypes.js +5 -0
- package/lib/ProForm/components/old/ProAddress/index.d.ts +27 -0
- package/lib/ProForm/components/old/ProAddress/index.js +290 -0
- package/lib/ProForm/components/old/ProAddress/propsTypes.d.ts +16 -0
- package/lib/ProForm/components/old/ProAddress/propsTypes.js +5 -0
- package/lib/ProForm/components/old/ProCertNo/index.d.ts +14 -0
- package/lib/ProForm/components/old/ProCertNo/index.js +66 -0
- package/lib/ProForm/components/old/ProCertNo/propsType.d.ts +18 -0
- package/lib/ProForm/components/old/ProCertNo/propsType.js +5 -0
- package/lib/ProForm/components/old/ProCertValidity/index.d.ts +9 -0
- package/lib/ProForm/components/old/ProCertValidity/index.js +187 -0
- package/lib/ProForm/components/old/ProCertValidity/propsType.d.ts +19 -0
- package/lib/ProForm/components/old/ProCertValidity/propsType.js +5 -0
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -0
- package/lib/ProForm/components/old/ProRangeBox/index.js +88 -0
- package/lib/ProForm/components/old/ProRangeBox/propsType.d.ts +3 -0
- package/lib/ProForm/components/old/ProRangeBox/propsType.js +5 -0
- package/lib/ProForm/components/render/Render.d.ts +4 -0
- package/lib/ProForm/components/render/Render.js +373 -0
- package/lib/ProForm/components/render/RenderFields.d.ts +20 -0
- package/lib/ProForm/components/render/RenderFields.js +185 -0
- package/lib/ProForm/components/render/propsType.d.ts +210 -0
- package/lib/ProForm/components/render/propsType.js +11 -0
- package/lib/ProForm/index.d.ts +10 -0
- package/lib/ProForm/index.js +251 -0
- package/lib/ProForm/propsType.d.ts +69 -0
- package/lib/ProForm/propsType.js +23 -0
- package/lib/ProForm/style/index.less +410 -0
- package/lib/ProForm/utils/contrastOriginal.d.ts +1 -0
- package/lib/ProForm/utils/contrastOriginal.js +35 -0
- package/lib/ProForm/utils/index.d.ts +59 -0
- package/lib/ProForm/utils/index.js +328 -0
- package/lib/ProForm/utils/rulesCreator.d.ts +1 -0
- package/lib/ProForm/utils/rulesCreator.js +33 -0
- package/lib/ProForm/utils/transformNames.d.ts +10 -0
- package/lib/ProForm/utils/transformNames.js +39 -0
- package/lib/ProForm/utils/transformValue.d.ts +6 -0
- package/lib/ProForm/utils/transformValue.js +58 -0
- package/lib/ProForm/utils/useChanged.d.ts +1 -0
- package/lib/ProForm/utils/useChanged.js +16 -0
- package/lib/ProForm/utils/useForm.d.ts +2 -0
- package/lib/ProForm/utils/useForm.js +103 -0
- package/lib/ProForm/utils/useShouldUpdate.d.ts +24 -0
- package/lib/ProForm/utils/useShouldUpdate.js +192 -0
- package/lib/ProForm/utils/valueType.d.ts +64 -0
- package/lib/ProForm/utils/valueType.js +202 -0
- package/lib/ProIcon/index.d.ts +5 -0
- package/lib/ProIcon/index.js +68 -0
- package/lib/ProIcon/propsTypes.d.ts +56 -0
- package/lib/ProIcon/propsTypes.js +5 -0
- package/lib/ProIcon/style/index.less +12 -0
- package/lib/ProLayout/components/Layout/Header/index.d.ts +4 -0
- package/lib/ProLayout/components/Layout/Header/index.js +41 -0
- package/lib/ProLayout/components/Layout/Header/style/index.less +127 -0
- package/lib/ProLayout/components/Layout/Icon/Icon.d.ts +10 -0
- package/lib/ProLayout/components/Layout/Icon/Icon.js +39 -0
- package/lib/ProLayout/components/Layout/Icon/index.d.ts +2 -0
- package/lib/ProLayout/components/Layout/Icon/index.js +10 -0
- package/lib/ProLayout/components/Layout/Icon/style/index.less +7 -0
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/index.d.ts +3 -0
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/index.js +103 -0
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +100 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +3 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +152 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +14 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/propsType.js +5 -0
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +177 -0
- package/lib/ProLayout/components/Layout/Menu/SideMenu/index.d.ts +3 -0
- package/lib/ProLayout/components/Layout/Menu/SideMenu/index.js +43 -0
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +97 -0
- package/lib/ProLayout/components/Layout/Menu/index.d.ts +4 -0
- package/lib/ProLayout/components/Layout/Menu/index.js +71 -0
- package/lib/ProLayout/components/Layout/Menu/style/index.less +131 -0
- package/lib/ProLayout/components/Layout/Notice/index.d.ts +4 -0
- package/lib/ProLayout/components/Layout/Notice/index.js +35 -0
- package/lib/ProLayout/components/Layout/Notice/style/index.less +34 -0
- package/lib/ProLayout/components/Layout/index.d.ts +4 -0
- package/lib/ProLayout/components/Layout/index.js +34 -0
- package/lib/ProLayout/components/Layout/index.less +4 -0
- package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +73 -0
- package/lib/ProLayout/components/ProCollapse/PropTypes.js +5 -0
- package/lib/ProLayout/components/ProCollapse/index.d.ts +3 -0
- package/lib/ProLayout/components/ProCollapse/index.js +100 -0
- package/lib/ProLayout/components/ProCollapse/style/index.less +153 -0
- package/lib/ProLayout/components/ProFooter/PropTypes.d.ts +11 -0
- package/lib/ProLayout/components/ProFooter/PropTypes.js +5 -0
- package/lib/ProLayout/components/ProFooter/index.d.ts +4 -0
- package/lib/ProLayout/components/ProFooter/index.js +55 -0
- package/lib/ProLayout/components/ProFooter/style/index.less +10 -0
- package/lib/ProLayout/components/ProHeader/PropTypes.d.ts +72 -0
- package/lib/ProLayout/components/ProHeader/PropTypes.js +5 -0
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +4 -0
- package/lib/ProLayout/components/ProHeader/components/Copy/index.js +32 -0
- package/lib/ProLayout/components/ProHeader/components/index.d.ts +1 -0
- package/lib/ProLayout/components/ProHeader/components/index.js +13 -0
- package/lib/ProLayout/components/ProHeader/index.d.ts +4 -0
- package/lib/ProLayout/components/ProHeader/index.js +371 -0
- package/lib/ProLayout/components/ProHeader/style/index.less +337 -0
- package/lib/ProLayout/components/index.d.ts +3 -0
- package/lib/ProLayout/components/index.js +27 -0
- package/lib/ProLayout/images/close.png +0 -0
- package/lib/ProLayout/images/logoImg.png +0 -0
- package/lib/ProLayout/images/pack.png +0 -0
- package/lib/ProLayout/images/tipMsg.png +0 -0
- package/lib/ProLayout/index.d.ts +20 -0
- package/lib/ProLayout/index.js +117 -0
- package/lib/ProLayout/propTypes.d.ts +60 -0
- package/lib/ProLayout/propTypes.js +5 -0
- package/lib/ProLayout/style/index.less +52 -0
- package/lib/ProLayout/utils/index.d.ts +36 -0
- package/lib/ProLayout/utils/index.js +173 -0
- package/lib/ProSelect/index.d.ts +5 -0
- package/lib/ProSelect/index.js +279 -0
- package/lib/ProSelect/propsType.d.ts +41 -0
- package/lib/ProSelect/propsType.js +5 -0
- package/lib/ProStep/components/Anchor/index.d.ts +2 -0
- package/lib/ProStep/components/Anchor/index.js +103 -0
- package/lib/ProStep/components/Item/index.d.ts +6 -0
- package/lib/ProStep/components/Item/index.js +26 -0
- package/lib/ProStep/components/Listener/index.d.ts +5 -0
- package/lib/ProStep/components/Listener/index.js +43 -0
- package/lib/ProStep/components/Step/index.d.ts +5 -0
- package/lib/ProStep/components/Step/index.js +78 -0
- package/lib/ProStep/index.d.ts +18 -0
- package/lib/ProStep/index.js +141 -0
- package/lib/ProStep/propsType.d.ts +19 -0
- package/lib/ProStep/propsType.js +5 -0
- package/lib/ProStep/style/index.less +181 -0
- package/lib/ProStep/utils/index.d.ts +2 -0
- package/lib/ProStep/utils/index.js +24 -0
- package/lib/ProTable/components/ResizableLine/index.d.ts +2 -0
- package/lib/ProTable/components/ResizableLine/index.js +18 -0
- package/lib/ProTable/components/TableResizable/index.d.ts +13 -0
- package/lib/ProTable/components/TableResizable/index.js +99 -0
- package/lib/ProTable/components/index.d.ts +2 -0
- package/lib/ProTable/components/index.js +20 -0
- package/lib/ProTable/index.d.ts +16 -0
- package/lib/ProTable/index.js +324 -0
- package/lib/ProTable/propsType.d.ts +87 -0
- package/lib/ProTable/propsType.js +5 -0
- package/lib/ProTable/style/index.less +299 -0
- package/lib/ProTable/useAntdTable.d.ts +82 -0
- package/lib/ProTable/useAntdTable.js +382 -0
- package/lib/ProTable/utils.d.ts +12 -0
- package/lib/ProTable/utils.js +242 -0
- package/lib/ProTooltip/index.d.ts +4 -0
- package/lib/ProTooltip/index.js +101 -0
- package/lib/ProTooltip/propsType.d.ts +13 -0
- package/lib/ProTooltip/propsType.js +5 -0
- package/lib/ProTooltip/style/index.less +22 -0
- package/lib/ProTransferModal/components/SortableItem/index.d.ts +10 -0
- package/lib/ProTransferModal/components/SortableItem/index.js +63 -0
- package/lib/ProTransferModal/index.d.ts +4 -0
- package/lib/ProTransferModal/index.js +334 -0
- package/lib/ProTransferModal/propsType.d.ts +34 -0
- package/lib/ProTransferModal/propsType.js +5 -0
- package/lib/ProTransferModal/style/index.less +161 -0
- package/lib/ProUpload/Example.d.ts +7 -0
- package/lib/ProUpload/Example.js +50 -0
- package/lib/ProUpload/FileItem.d.ts +33 -0
- package/lib/ProUpload/FileItem.js +216 -0
- package/lib/ProUpload/index.d.ts +5 -0
- package/lib/ProUpload/index.js +406 -0
- package/lib/ProUpload/propsType.d.ts +132 -0
- package/lib/ProUpload/propsType.js +5 -0
- package/lib/ProUpload/style/delete.svg +1 -0
- package/lib/ProUpload/style/download.svg +1 -0
- package/lib/ProUpload/style/fileItem.less +158 -0
- package/lib/ProUpload/style/icon-PDF.png +0 -0
- package/lib/ProUpload/style/icon-TXT.png +0 -0
- package/lib/ProUpload/style/icon-excel.png +0 -0
- package/lib/ProUpload/style/icon-pic.png +0 -0
- package/lib/ProUpload/style/icon-word.png +0 -0
- package/lib/ProUpload/style/index.less +242 -0
- package/lib/ProUpload/style/look.svg +1 -0
- package/lib/ProUtils/utils/index.d.ts +6 -0
- package/lib/ProUtils/utils/index.js +31 -0
- package/lib/ProViewer/index.d.ts +4 -0
- package/lib/ProViewer/index.js +214 -0
- package/lib/ProViewer/propsType.d.ts +35 -0
- package/lib/ProViewer/propsType.js +5 -0
- package/lib/ProViewer/style/index.less +8 -0
- package/lib/ProWaterMark/index.d.ts +4 -0
- package/lib/ProWaterMark/index.js +21 -0
- package/lib/ProWaterMark/propsType.d.ts +82 -0
- package/lib/ProWaterMark/propsType.js +5 -0
- package/lib/assets/arrow.svg +1 -0
- package/lib/assets/catalog.svg +1 -0
- package/lib/assets/copy.svg +1 -0
- package/lib/assets/customColumn.svg +2 -0
- package/lib/assets/delete.svg +1 -0
- package/lib/assets/disabled.svg +18 -0
- package/lib/assets/drag.svg +25 -0
- package/lib/assets/empty.png +0 -0
- package/lib/assets/reset.svg +11 -0
- package/lib/assets/search.svg +1 -0
- package/lib/assets/tip.svg +1 -0
- package/lib/assets/view.svg +1 -0
- package/lib/global.less +5 -0
- package/lib/index.d.ts +30 -0
- package/lib/index.js +267 -0
- package/lib/old/ProBackBtn/index.d.ts +9 -0
- package/lib/old/ProBackBtn/index.js +35 -0
- package/lib/old/ProBackBtn/propsType.d.ts +4 -0
- package/lib/old/ProBackBtn/propsType.js +5 -0
- package/lib/old/ProBackBtn/style/index.less +19 -0
- package/lib/old/ProCertValidity/index.d.ts +9 -0
- package/lib/old/ProCertValidity/index.js +188 -0
- package/lib/old/ProCertValidity/propsType.d.ts +19 -0
- package/lib/old/ProCertValidity/propsType.js +5 -0
- package/lib/old/ProCustomColumn/LeftBody.d.ts +4 -0
- package/lib/old/ProCustomColumn/LeftBody.js +212 -0
- package/lib/old/ProCustomColumn/RightBody.d.ts +9 -0
- package/lib/old/ProCustomColumn/RightBody.js +150 -0
- package/lib/old/ProCustomColumn/index.d.ts +4 -0
- package/lib/old/ProCustomColumn/index.js +171 -0
- package/lib/old/ProCustomColumn/propsType.d.ts +39 -0
- package/lib/old/ProCustomColumn/propsType.js +5 -0
- package/lib/old/ProCustomColumn/style/LeftBody.less +74 -0
- package/lib/old/ProCustomColumn/style/RightBody.less +25 -0
- package/lib/old/ProCustomColumn/style/index.less +88 -0
- package/lib/old/ProEditableTable/index.d.ts +4 -0
- package/lib/old/ProEditableTable/index.js +568 -0
- package/lib/old/ProEditableTable/propsType.d.ts +68 -0
- package/lib/old/ProEditableTable/propsType.js +5 -0
- package/lib/old/ProEditableTable/style/index.less +76 -0
- package/lib/old/ProEditableTable/utils.d.ts +29 -0
- package/lib/old/ProEditableTable/utils.js +302 -0
- package/lib/old/ProEnumSelectModal/hooks/useRequestList.d.ts +32 -0
- package/lib/old/ProEnumSelectModal/hooks/useRequestList.js +117 -0
- package/lib/old/ProEnumSelectModal/index.d.ts +12 -0
- package/lib/old/ProEnumSelectModal/index.js +220 -0
- package/lib/old/ProEnumSelectModal/propsType.d.ts +22 -0
- package/lib/old/ProEnumSelectModal/propsType.js +5 -0
- package/lib/old/ProEnumSelectModal/style/index.less +98 -0
- package/lib/style/components.less +18 -0
- package/lib/style/core/compatible.less +30 -0
- package/lib/style/core/index.less +3 -0
- package/lib/style/core/mixins.less +70 -0
- package/lib/style/core/normalize.less +246 -0
- package/lib/style/index.less +2 -0
- package/lib/style/theme/antd.less +647 -0
- package/lib/style/theme/index.less +190 -0
- package/package.json +121 -0
- package/source-code/package.json +16 -0
- package/typings.d.ts +6 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
|
+
var _react = _interopRequireDefault(require("react"));
|
|
12
|
+
var _lodash = require("lodash");
|
|
13
|
+
var _Render = _interopRequireDefault(require("./Render"));
|
|
14
|
+
var _index = require("../../utils/index");
|
|
15
|
+
var componentMap = _interopRequireWildcard(require("../index"));
|
|
16
|
+
var _utils = require("../../utils");
|
|
17
|
+
var _excluded = ["show", "type", "viewRender", "viewType", "valueType", "formItemProps", "colProps", "formItemChildProps", "fieldProps", "disabled", "equalWith", "clearNotShow"];
|
|
18
|
+
var RenderFields = function RenderFields(props) {
|
|
19
|
+
var isView = props.isView,
|
|
20
|
+
_props$columns = props.columns,
|
|
21
|
+
columns = _props$columns === void 0 ? [] : _props$columns,
|
|
22
|
+
formDisabled = props.disabled,
|
|
23
|
+
form = props.form,
|
|
24
|
+
expand = props.expand,
|
|
25
|
+
defaultColProps = props.colProps,
|
|
26
|
+
_props$viewEmpty = props.viewEmpty,
|
|
27
|
+
viewEmpty = _props$viewEmpty === void 0 ? '-' : _props$viewEmpty,
|
|
28
|
+
openState = props.openState,
|
|
29
|
+
labelWidth = props.labelWidth,
|
|
30
|
+
originalValues = props.originalValues,
|
|
31
|
+
outerClearNotShow = props.clearNotShow;
|
|
32
|
+
// 是否包含隐藏字段
|
|
33
|
+
var hiddenData = columns.filter(function (item) {
|
|
34
|
+
return Array.isArray(item.hiddenNames);
|
|
35
|
+
}) || [];
|
|
36
|
+
// 创建hidden字段供表单收集
|
|
37
|
+
if (hiddenData.length) {
|
|
38
|
+
var hiddenArray = [];
|
|
39
|
+
hiddenData.forEach(function (item) {
|
|
40
|
+
hiddenArray = hiddenArray.concat(item.hiddenNames);
|
|
41
|
+
});
|
|
42
|
+
hiddenArray.forEach(function (item) {
|
|
43
|
+
columns.push({
|
|
44
|
+
name: Array.isArray(item) ? item : "".concat(item),
|
|
45
|
+
hidden: true
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
var comList = columns.flatMap(function (column, index) {
|
|
50
|
+
if (!!expand && !openState && index >= expand) {
|
|
51
|
+
return [];
|
|
52
|
+
}
|
|
53
|
+
var show = column.show,
|
|
54
|
+
type = column.type,
|
|
55
|
+
viewRender = column.viewRender,
|
|
56
|
+
viewType = column.viewType,
|
|
57
|
+
valueType = column.valueType,
|
|
58
|
+
_column$formItemProps = column.formItemProps,
|
|
59
|
+
formItemProps = _column$formItemProps === void 0 ? {} : _column$formItemProps,
|
|
60
|
+
_column$colProps = column.colProps,
|
|
61
|
+
colProps = _column$colProps === void 0 ? {} : _column$colProps,
|
|
62
|
+
_column$formItemChild = column.formItemChildProps,
|
|
63
|
+
formItemChildProps = _column$formItemChild === void 0 ? {} : _column$formItemChild,
|
|
64
|
+
_column$fieldProps = column.fieldProps,
|
|
65
|
+
fieldProps = _column$fieldProps === void 0 ? {} : _column$fieldProps,
|
|
66
|
+
_column$disabled = column.disabled,
|
|
67
|
+
disabled = _column$disabled === void 0 ? false : _column$disabled,
|
|
68
|
+
equalWith = column.equalWith,
|
|
69
|
+
_column$clearNotShow = column.clearNotShow,
|
|
70
|
+
clearNotShow = _column$clearNotShow === void 0 ? outerClearNotShow : _column$clearNotShow,
|
|
71
|
+
otherFormItemProps = (0, _objectWithoutProperties2.default)(column, _excluded);
|
|
72
|
+
var component = column.component;
|
|
73
|
+
// 允许formItem的属性放在column最外层 并优先级高于 formItemProps 内部参数
|
|
74
|
+
var _formItemProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, formItemProps), otherFormItemProps), {}, {
|
|
75
|
+
clearNotShow: clearNotShow
|
|
76
|
+
});
|
|
77
|
+
_formItemProps.labelWidth = _formItemProps.labelWidth || labelWidth; // 接收Form中的labelWidth
|
|
78
|
+
if (type && component) {
|
|
79
|
+
console.error('Warning: type and component are mutually exclusive. type will not take effect');
|
|
80
|
+
}
|
|
81
|
+
var _type = type || 'Input';
|
|
82
|
+
var TargetComponent;
|
|
83
|
+
// 查看高阶函数
|
|
84
|
+
var viewRenderHandle = function viewRenderHandle() {
|
|
85
|
+
var _column$namePath;
|
|
86
|
+
var value = form.getFieldValue(column.name);
|
|
87
|
+
var record = form.getFieldsValue();
|
|
88
|
+
var index;
|
|
89
|
+
// FormList场景
|
|
90
|
+
if (Array.isArray(column === null || column === void 0 ? void 0 : column.namePath) && (column === null || column === void 0 ? void 0 : (_column$namePath = column.namePath) === null || _column$namePath === void 0 ? void 0 : _column$namePath.length)) {
|
|
91
|
+
value = form.getFieldValue((0, _lodash.union)(column.namePath, (column === null || column === void 0 ? void 0 : column.name) || []));
|
|
92
|
+
record = (0, _index.filterInternalFields)((0, _lodash.cloneDeep)(form.getFieldValue(column.namePath)));
|
|
93
|
+
index = column === null || column === void 0 ? void 0 : column.index;
|
|
94
|
+
}
|
|
95
|
+
return viewRender ? viewRender(value, record, {
|
|
96
|
+
form: form,
|
|
97
|
+
index: index,
|
|
98
|
+
namePath: column === null || column === void 0 ? void 0 : column.namePath
|
|
99
|
+
}) || null : null;
|
|
100
|
+
};
|
|
101
|
+
if (typeof _type === 'string') {
|
|
102
|
+
TargetComponent = isView && viewRender ? viewRenderHandle : componentMap[_type];
|
|
103
|
+
}
|
|
104
|
+
if (component && /*#__PURE__*/_react.default.isValidElement(component)) {
|
|
105
|
+
var _newComponent$props;
|
|
106
|
+
var newComponent = component;
|
|
107
|
+
var isProEditTable = (newComponent === null || newComponent === void 0 ? void 0 : (_newComponent$props = newComponent.props) === null || _newComponent$props === void 0 ? void 0 : _newComponent$props.onlyOneLineMsg) === '请先保存数据';
|
|
108
|
+
TargetComponent = isView ? viewRenderHandle || '' : component;
|
|
109
|
+
// 可编辑表格内部支持
|
|
110
|
+
if (isProEditTable) {
|
|
111
|
+
TargetComponent = isView ? viewRenderHandle || component : component;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
var label = formItemChildProps.label,
|
|
115
|
+
comDisabled = formItemChildProps.disabled,
|
|
116
|
+
placeholder = formItemChildProps.placeholder,
|
|
117
|
+
dataSource = formItemChildProps.dataSource;
|
|
118
|
+
var formLabel = _formItemProps.label;
|
|
119
|
+
var _disabled = comDisabled === undefined ? formDisabled : comDisabled;
|
|
120
|
+
// 当前组件是不是一个选择组件
|
|
121
|
+
var _isSelect = (0, _utils.isSelect)({
|
|
122
|
+
dataSource: dataSource,
|
|
123
|
+
type: _type
|
|
124
|
+
});
|
|
125
|
+
var _placeholder = placeholder || "".concat(_isSelect ? '请选择' : '请输入').concat(label || formLabel || '');
|
|
126
|
+
// 表单组件Props 兼容2.0版本
|
|
127
|
+
var _fieldProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
128
|
+
disabled: disabled
|
|
129
|
+
}, formItemChildProps), fieldProps);
|
|
130
|
+
if (formDisabled) {
|
|
131
|
+
_fieldProps.disabled = formDisabled;
|
|
132
|
+
// _disabled = formDisabled;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
var componentProps = (0, _objectSpread2.default)({
|
|
136
|
+
disabled: _disabled,
|
|
137
|
+
placeholder: _placeholder,
|
|
138
|
+
disabledStrictly: true
|
|
139
|
+
}, _fieldProps);
|
|
140
|
+
// switch与SwitchCheckbox单独添加valuePropName
|
|
141
|
+
if (['Switch', 'SwitchCheckbox'].includes(_type)) {
|
|
142
|
+
_formItemProps.valuePropName = 'checked';
|
|
143
|
+
}
|
|
144
|
+
// 没有找到对应组件 不渲染
|
|
145
|
+
if (!TargetComponent) {
|
|
146
|
+
return [];
|
|
147
|
+
}
|
|
148
|
+
var _colProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, defaultColProps), colProps);
|
|
149
|
+
// 其余参数收进对象里传给子组件 componentProps只包含子组件参数
|
|
150
|
+
var otherProps = {
|
|
151
|
+
label: _formItemProps.label,
|
|
152
|
+
name: _formItemProps.name,
|
|
153
|
+
disabled: formDisabled,
|
|
154
|
+
isView: isView || column.isView,
|
|
155
|
+
viewEmpty: viewEmpty,
|
|
156
|
+
valueType: valueType,
|
|
157
|
+
viewType: viewType,
|
|
158
|
+
names: _formItemProps.names,
|
|
159
|
+
form: form,
|
|
160
|
+
type: _type,
|
|
161
|
+
hiddenNames: column.hiddenNames,
|
|
162
|
+
colProps: _colProps
|
|
163
|
+
};
|
|
164
|
+
return /*#__PURE__*/_react.default.createElement(_Render.default, {
|
|
165
|
+
key: "".concat(_formItemProps.name || _formItemProps.label).concat(index),
|
|
166
|
+
show: show,
|
|
167
|
+
disabled: formDisabled,
|
|
168
|
+
form: form,
|
|
169
|
+
type: _type,
|
|
170
|
+
originComponent: component,
|
|
171
|
+
component: TargetComponent,
|
|
172
|
+
formItemProps: _formItemProps,
|
|
173
|
+
colProps: _colProps,
|
|
174
|
+
componentProps: componentProps,
|
|
175
|
+
otherProps: otherProps,
|
|
176
|
+
fieldProps: (0, _lodash.isFunction)(fieldProps) ? fieldProps : null,
|
|
177
|
+
isSelect: _isSelect,
|
|
178
|
+
originalValues: originalValues,
|
|
179
|
+
equalWith: equalWith
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, comList);
|
|
183
|
+
};
|
|
184
|
+
var _default = RenderFields;
|
|
185
|
+
exports.default = _default;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { ColProps, FormInstance, FormItemProps } from 'antd';
|
|
2
|
+
import { NamePath } from 'antd/lib/form/interface';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { validate, regExp } from '@zat-design-pro-component/utils';
|
|
5
|
+
import { Rule } from 'antd/lib/form';
|
|
6
|
+
import * as componentMap from '../index';
|
|
7
|
+
import { IProps as InputProps } from '../base/Input/propsType';
|
|
8
|
+
import { Props as InputNumberProps } from '../base/InputNumber';
|
|
9
|
+
import { Props as RadioProps } from '../base/Radio';
|
|
10
|
+
import { Props as CheckboxProps } from '../base/Checkbox';
|
|
11
|
+
import { Props as DatePickerProps } from '../base/DatePicker';
|
|
12
|
+
import { Props as RangePickerProps } from '../base/RangePicker';
|
|
13
|
+
import { Props as FormListProps } from '../base/FormList';
|
|
14
|
+
import { Props as SelectProps } from '../base/Select';
|
|
15
|
+
import { Props as SwitchProps } from '../base/Switch';
|
|
16
|
+
import { Props as SwitchCheckboxProps } from '../base/SwitchCheckbox';
|
|
17
|
+
import { Props as TextAreaProps } from '../base/TextArea';
|
|
18
|
+
import { AddressProps } from '../combination/ProAddressBar/propsType';
|
|
19
|
+
import { ProCombinationProps } from '../combination/ProCombination/propsType';
|
|
20
|
+
import { ProModalSelectPropsType as ProModalSelectProps } from '../combination/ProModalSelect/propsType';
|
|
21
|
+
import { ProNumberRangeProps } from '../combination/ProNumberRange/propsType';
|
|
22
|
+
import { Props as ProTimeLimitProps } from '../combination/ProTimeLimit';
|
|
23
|
+
import { CheckboxPropsMap, ProEnum, PropProSelectsMap, PropRadioPropsMap } from '../../../ProEnum/propsType';
|
|
24
|
+
import { PropSelectProps as ProSelectProps } from '../../../ProSelect/propsType';
|
|
25
|
+
import { ProEditTableProps } from '../../../ProEditTable/propsType';
|
|
26
|
+
export type ComponentMap = keyof typeof componentMap;
|
|
27
|
+
type ValidateKey = keyof typeof validate;
|
|
28
|
+
type RegExpKey = keyof typeof regExp;
|
|
29
|
+
interface ExtendType {
|
|
30
|
+
type?: ValidateKey | RegExpKey;
|
|
31
|
+
}
|
|
32
|
+
export type ProRule = Rule | ExtendType;
|
|
33
|
+
/**
|
|
34
|
+
* percent 百分比 permillage 千分比 amount 金额
|
|
35
|
+
*/
|
|
36
|
+
export type ViewType = 'percent' | 'permillage' | 'amount' | 'thousandth';
|
|
37
|
+
export type PartialOf<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
38
|
+
interface ControlProps {
|
|
39
|
+
value?: unknown;
|
|
40
|
+
onChange?: (...args: any[]) => void;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 扩展函数的参数
|
|
44
|
+
*/
|
|
45
|
+
type FunctionArgs<Values> = (value: any, record: any, { form, index, namePath, option, selectedOptions, dateString, }: {
|
|
46
|
+
form: FormInstance<Values>;
|
|
47
|
+
index?: number;
|
|
48
|
+
namePath?: NamePath;
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}) => any;
|
|
51
|
+
type TransformToFormField<T extends ControlProps, Values> = Omit<T, 'onChange' | 'value'> & {
|
|
52
|
+
value?: T['value'];
|
|
53
|
+
onChange?: (value: Parameters<T['onChange']>[0], options: Parameters<T['onChange']>[1], form: FormInstance<Values>) => void;
|
|
54
|
+
onFieldChange?: FunctionArgs<Values>;
|
|
55
|
+
dataSource?: any[];
|
|
56
|
+
/** ProForm disable时,是否完全受控 */
|
|
57
|
+
disabledStrictly?: boolean;
|
|
58
|
+
};
|
|
59
|
+
type TransformToTableField<T extends ControlProps, Values> = Omit<T, 'onChange' | 'value' | 'onBlur'> & {
|
|
60
|
+
value?: T['value'];
|
|
61
|
+
onChange?: (value: Parameters<T['onChange']>[0], options: Parameters<T['onChange']>[1], record: any, index: number, form: FormInstance<Values>) => void;
|
|
62
|
+
onFieldChange?: FunctionArgs<Values>;
|
|
63
|
+
onBlur?: FunctionArgs<Values>;
|
|
64
|
+
};
|
|
65
|
+
export type ReactiveFunction<Values, R> = (values: Values, { form, index, namePath, }: {
|
|
66
|
+
form: FormInstance<Values>;
|
|
67
|
+
index?: number;
|
|
68
|
+
namePath?: NamePath;
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}) => R;
|
|
71
|
+
type FieldProps<T extends {
|
|
72
|
+
onChange?: (...args: any[]) => void;
|
|
73
|
+
}, Values, TT> = TT extends 'ProForm' ? TransformToFormField<T, Values> | ReactiveFunction<Values, TransformToFormField<T, Values>> : TT extends 'ProEditTable' ? TransformToTableField<T, Values> | ((text: any, values: Values, index: number) => TransformToTableField<T, Values>) : any;
|
|
74
|
+
/**
|
|
75
|
+
* 值转换
|
|
76
|
+
*/
|
|
77
|
+
export type ProFormValueType = 'percentage' | 'permillage' | 'thousandth' | 'datePicker' | 'enumName' | 'enumCodeName' | 'address' | 'thousandthCNY' | 'date' | 'dateTime' | 'dateStartTime' | 'dateEndTime' | 'dateStartEndTime' | 'switch';
|
|
78
|
+
export type ColumnPropsMap<Values = any, T = 'ProForm'> = {
|
|
79
|
+
type?: 'Input';
|
|
80
|
+
fieldProps?: FieldProps<InputProps, Values, T>;
|
|
81
|
+
} | {
|
|
82
|
+
type?: 'InputNumber';
|
|
83
|
+
fieldProps?: FieldProps<InputNumberProps, Values, T>;
|
|
84
|
+
} | {
|
|
85
|
+
type?: 'Radio';
|
|
86
|
+
fieldProps?: FieldProps<RadioProps, Values, T>;
|
|
87
|
+
} | {
|
|
88
|
+
type?: 'Checkbox';
|
|
89
|
+
fieldProps?: FieldProps<CheckboxProps, Values, T>;
|
|
90
|
+
} | {
|
|
91
|
+
type?: 'DatePicker';
|
|
92
|
+
fieldProps?: FieldProps<DatePickerProps, Values, T>;
|
|
93
|
+
} | {
|
|
94
|
+
type?: 'RangePicker';
|
|
95
|
+
fieldProps?: FieldProps<RangePickerProps, Values, T>;
|
|
96
|
+
} | {
|
|
97
|
+
type?: 'FormList';
|
|
98
|
+
fieldProps?: FieldProps<Omit<FormListProps, 'fields' | 'operation' | 'meta'>, Values, T>;
|
|
99
|
+
} | {
|
|
100
|
+
type?: 'Select';
|
|
101
|
+
fieldProps?: FieldProps<SelectProps, Values, T>;
|
|
102
|
+
} | {
|
|
103
|
+
type?: 'Switch';
|
|
104
|
+
fieldProps?: FieldProps<SwitchProps, Values, T>;
|
|
105
|
+
} | {
|
|
106
|
+
type?: 'SwitchCheckbox';
|
|
107
|
+
fieldProps?: FieldProps<SwitchCheckboxProps, Values, T>;
|
|
108
|
+
} | {
|
|
109
|
+
type?: 'TextArea';
|
|
110
|
+
fieldProps?: FieldProps<TextAreaProps, Values, T>;
|
|
111
|
+
} | {
|
|
112
|
+
type?: 'ProAddressBar';
|
|
113
|
+
fieldProps?: FieldProps<AddressProps, Values, T>;
|
|
114
|
+
} | {
|
|
115
|
+
type?: 'ProCombination';
|
|
116
|
+
fieldProps?: FieldProps<ProCombinationProps, Values, T>;
|
|
117
|
+
} | {
|
|
118
|
+
type?: 'ProModalSelect';
|
|
119
|
+
fieldProps?: FieldProps<ProModalSelectProps, Values, T>;
|
|
120
|
+
} | {
|
|
121
|
+
type?: 'ProNumberRange';
|
|
122
|
+
fieldProps?: FieldProps<ProNumberRangeProps, Values, T>;
|
|
123
|
+
} | {
|
|
124
|
+
type?: 'ProRangeLimit';
|
|
125
|
+
fieldProps?: FieldProps<ProNumberRangeProps, Values, T>;
|
|
126
|
+
} | {
|
|
127
|
+
type?: 'ProTimeLimit';
|
|
128
|
+
fieldProps?: FieldProps<ProTimeLimitProps, Values, T>;
|
|
129
|
+
} | {
|
|
130
|
+
type?: 'ProEnum';
|
|
131
|
+
fieldProps?: FieldProps<ProEnum, Values, T> & (PropProSelectsMap | PropRadioPropsMap | CheckboxPropsMap);
|
|
132
|
+
} | {
|
|
133
|
+
type?: 'ProSelect';
|
|
134
|
+
fieldProps?: FieldProps<ProSelectProps, Values, T>;
|
|
135
|
+
} | {
|
|
136
|
+
type?: 'ProEditTable';
|
|
137
|
+
fieldProps?: FieldProps<ProEditTableProps, Values, T>;
|
|
138
|
+
};
|
|
139
|
+
interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Values>, 'rules' | 'required'> {
|
|
140
|
+
component?: React.ReactNode | ReactiveFunction<Values, React.ReactNode>;
|
|
141
|
+
names?: NamePath[];
|
|
142
|
+
show?: boolean | ReactiveFunction<Values, boolean>;
|
|
143
|
+
valueType?: ProFormValueType;
|
|
144
|
+
viewRender?: (value: any, record: Values, { form, index, namePath, }: {
|
|
145
|
+
form: FormInstance<Values>;
|
|
146
|
+
index?: number | undefined;
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
}) => React.ReactElement<any, any> | string | undefined | null;
|
|
149
|
+
viewType?: ViewType;
|
|
150
|
+
colProps?: ColProps;
|
|
151
|
+
/**
|
|
152
|
+
* @description 表单item的props属性
|
|
153
|
+
* @deprecated 将于下个版本 4.0.0 被弃用
|
|
154
|
+
* @default -
|
|
155
|
+
*/
|
|
156
|
+
formItemProps?: FormItemProps<Values> & {
|
|
157
|
+
index?: number;
|
|
158
|
+
namePath?: NamePath;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @description 表单props属性
|
|
162
|
+
* @deprecated 将于下个版本 4.0.0 被弃用, 请使用fieldProps进行替换
|
|
163
|
+
* @default -
|
|
164
|
+
*/
|
|
165
|
+
labelWidth?: string | number;
|
|
166
|
+
disabled?: boolean | ReactiveFunction<Values, boolean>;
|
|
167
|
+
hiddenNames?: string[] | any[];
|
|
168
|
+
rules?: ProRule[] | ReactiveFunction<Values, ProRule[]>;
|
|
169
|
+
equalWith?: (originValue: any, currentValue: any) => boolean;
|
|
170
|
+
required?: boolean | ReactiveFunction<Values, boolean>;
|
|
171
|
+
labelRequired?: boolean;
|
|
172
|
+
toISOString?: boolean;
|
|
173
|
+
clearNotShow?: boolean;
|
|
174
|
+
index?: number;
|
|
175
|
+
namePath?: NamePath;
|
|
176
|
+
}
|
|
177
|
+
export type ProColumnProps<T = any> = ProFormColumnProps<T> & ColumnPropsMap<T, 'ProForm'>;
|
|
178
|
+
/**
|
|
179
|
+
* 表单渲染类型
|
|
180
|
+
*/
|
|
181
|
+
export interface RenderProps<Values = any> {
|
|
182
|
+
component: any;
|
|
183
|
+
formItemProps: FormItemProps<Values> & {
|
|
184
|
+
labelWidth?: string | number;
|
|
185
|
+
disabled?: boolean;
|
|
186
|
+
hiddenNames?: string[];
|
|
187
|
+
trim?: boolean;
|
|
188
|
+
rules?: ProRule[];
|
|
189
|
+
labelRequired?: boolean;
|
|
190
|
+
tooltip?: any;
|
|
191
|
+
disabledStrictly?: boolean;
|
|
192
|
+
};
|
|
193
|
+
colProps: ColProps;
|
|
194
|
+
componentProps: {
|
|
195
|
+
disabledStrictly?: boolean;
|
|
196
|
+
[name: string]: any;
|
|
197
|
+
};
|
|
198
|
+
show?: boolean | ((values: Values, { form, index, namePath, }: {
|
|
199
|
+
form: FormInstance<Values>;
|
|
200
|
+
index?: number;
|
|
201
|
+
namePath?: NamePath;
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
}) => boolean);
|
|
204
|
+
form: FormInstance<Values>;
|
|
205
|
+
fieldProps?: ReactiveFunction<Values, React.ReactNode>;
|
|
206
|
+
isSelect: boolean;
|
|
207
|
+
originalValues?: Values;
|
|
208
|
+
[name: string]: any;
|
|
209
|
+
}
|
|
210
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Form, FormInstance } from 'antd';
|
|
2
|
+
import { ForwardRefRenderFunction } from 'react';
|
|
3
|
+
import { ProFormProps } from './propsType';
|
|
4
|
+
interface IProForm<T = any> extends ForwardRefRenderFunction<FormInstance<T>, ProFormProps<T>> {
|
|
5
|
+
useForm: typeof Form.useForm;
|
|
6
|
+
useWatch: typeof Form.useWatch;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
declare const ProFormForward: IProForm;
|
|
10
|
+
export default ProFormForward;
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
var _toArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toArray"));
|
|
10
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _icons = require("@ant-design/icons");
|
|
16
|
+
var _antd = require("antd");
|
|
17
|
+
var _classnames2 = _interopRequireDefault(require("classnames"));
|
|
18
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
+
var _lodash = require("lodash");
|
|
20
|
+
var _zatDesignProComponent = require("zat-design-pro-component");
|
|
21
|
+
var _components = require("./components");
|
|
22
|
+
var _RenderFields = _interopRequireDefault(require("./components/render/RenderFields"));
|
|
23
|
+
var _index = require("./utils/index");
|
|
24
|
+
var _useForm3 = require("./utils/useForm");
|
|
25
|
+
var _excluded = ["mode", "span", "disabled", "isView", "columns", "footer", "onOk", "okText", "onCancel", "confirmLoading", "cancelText", "form", "children", "rowProps", "className", "expand", "expandOpen", "expandOpenChange", "viewEmpty", "labelAlign", "labelWidth", "onValuesChange", "onFinish", "originalValues", "submitOnEnter", "clearNotShow"];
|
|
26
|
+
var ProForm = function ProForm(props, ref) {
|
|
27
|
+
var _props$mode = props.mode,
|
|
28
|
+
mode = _props$mode === void 0 ? 'search' : _props$mode,
|
|
29
|
+
span = props.span,
|
|
30
|
+
disabled = props.disabled,
|
|
31
|
+
isView = props.isView,
|
|
32
|
+
_props$columns = props.columns,
|
|
33
|
+
columns = _props$columns === void 0 ? [] : _props$columns,
|
|
34
|
+
footer = props.footer,
|
|
35
|
+
onOk = props.onOk,
|
|
36
|
+
okText = props.okText,
|
|
37
|
+
onCancel = props.onCancel,
|
|
38
|
+
confirmLoading = props.confirmLoading,
|
|
39
|
+
cancelText = props.cancelText,
|
|
40
|
+
originForm = props.form,
|
|
41
|
+
children = props.children,
|
|
42
|
+
rowProps = props.rowProps,
|
|
43
|
+
className = props.className,
|
|
44
|
+
expand = props.expand,
|
|
45
|
+
expandOpen = props.expandOpen,
|
|
46
|
+
expandOpenChange = props.expandOpenChange,
|
|
47
|
+
_props$viewEmpty = props.viewEmpty,
|
|
48
|
+
viewEmpty = _props$viewEmpty === void 0 ? '-' : _props$viewEmpty,
|
|
49
|
+
_props$labelAlign = props.labelAlign,
|
|
50
|
+
labelAlign = _props$labelAlign === void 0 ? 'left' : _props$labelAlign,
|
|
51
|
+
labelWidth = props.labelWidth,
|
|
52
|
+
onValuesChange = props.onValuesChange,
|
|
53
|
+
onFinish = props.onFinish,
|
|
54
|
+
originalValues = props.originalValues,
|
|
55
|
+
submitOnEnter = props.submitOnEnter,
|
|
56
|
+
_props$clearNotShow = props.clearNotShow,
|
|
57
|
+
clearNotShow = _props$clearNotShow === void 0 ? true : _props$clearNotShow,
|
|
58
|
+
otherProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
59
|
+
var _useForm = (0, _useForm3.useForm)(originForm),
|
|
60
|
+
_useForm2 = (0, _slicedToArray2.default)(_useForm, 1),
|
|
61
|
+
form = _useForm2[0];
|
|
62
|
+
var _useControlled = (0, _index.useControlled)({
|
|
63
|
+
value: expandOpen,
|
|
64
|
+
onChange: expandOpenChange
|
|
65
|
+
}),
|
|
66
|
+
_useControlled2 = (0, _slicedToArray2.default)(_useControlled, 2),
|
|
67
|
+
openState = _useControlled2[0],
|
|
68
|
+
setOpenState = _useControlled2[1];
|
|
69
|
+
var config = (0, _zatDesignProComponent.useProConfig)('ProForm');
|
|
70
|
+
var cls = (0, _classnames2.default)((0, _defineProperty2.default)({
|
|
71
|
+
'pro-form': true,
|
|
72
|
+
'pro-form-view': isView
|
|
73
|
+
}, className, className));
|
|
74
|
+
var _getLayout = (0, _index.getLayout)({
|
|
75
|
+
span: span,
|
|
76
|
+
mode: mode,
|
|
77
|
+
form: form
|
|
78
|
+
}),
|
|
79
|
+
formProps = _getLayout.formProps,
|
|
80
|
+
colProps = _getLayout.colProps,
|
|
81
|
+
modeFooter = _getLayout.modeFooter,
|
|
82
|
+
_onOk = _getLayout.onOk,
|
|
83
|
+
_onCancel = _getLayout.onCancel;
|
|
84
|
+
var _footer = footer !== null && footer !== void 0 ? footer : modeFooter;
|
|
85
|
+
(0, _react.useEffect)(function () {
|
|
86
|
+
// 初始化处理initialValues中包含names的场景
|
|
87
|
+
if ((0, _lodash.isObject)(otherProps === null || otherProps === void 0 ? void 0 : otherProps.initialValues) && Object.keys(otherProps === null || otherProps === void 0 ? void 0 : otherProps.initialValues).length) {
|
|
88
|
+
var values = (0, _index.initialValuesToNames)(otherProps === null || otherProps === void 0 ? void 0 : otherProps.initialValues, columns);
|
|
89
|
+
var formValues = form.getFieldsValue();
|
|
90
|
+
form.setFieldsValue((0, _lodash.merge)(values, formValues));
|
|
91
|
+
}
|
|
92
|
+
}, []);
|
|
93
|
+
/**
|
|
94
|
+
* 展开&收起函数
|
|
95
|
+
*/
|
|
96
|
+
var expandHandle = function expandHandle() {
|
|
97
|
+
setOpenState === null || setOpenState === void 0 ? void 0 : setOpenState(!openState);
|
|
98
|
+
};
|
|
99
|
+
var expandRender = function expandRender() {
|
|
100
|
+
return !!expand && columns.length > Number(expand) && /*#__PURE__*/_react.default.createElement("div", {
|
|
101
|
+
className: "expand-button",
|
|
102
|
+
onClick: expandHandle
|
|
103
|
+
}, !openState ? /*#__PURE__*/_react.default.createElement(_antd.Space, null, "\u5C55\u5F00", /*#__PURE__*/_react.default.createElement(_icons.DoubleLeftOutlined, {
|
|
104
|
+
className: "rotate-to-bottom"
|
|
105
|
+
})) : /*#__PURE__*/_react.default.createElement(_antd.Space, null, "\u6536\u8D77", /*#__PURE__*/_react.default.createElement(_icons.DoubleLeftOutlined, {
|
|
106
|
+
className: "rotate-to-top"
|
|
107
|
+
})));
|
|
108
|
+
};
|
|
109
|
+
var defaultFooter = function defaultFooter() {
|
|
110
|
+
// 查看和disabled状态,footer不可见
|
|
111
|
+
if (isView || disabled) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
if (_footer !== false) {
|
|
115
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Col, (0, _objectSpread2.default)({}, colProps), /*#__PURE__*/_react.default.createElement(_components.FormFooter, {
|
|
116
|
+
onOk: onOk || _onOk,
|
|
117
|
+
okText: okText,
|
|
118
|
+
confirmLoading: confirmLoading,
|
|
119
|
+
onCancel: onCancel || _onCancel,
|
|
120
|
+
cancelText: cancelText,
|
|
121
|
+
footer: _footer === true ? {} : _footer
|
|
122
|
+
}, expandRender()));
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
// 暴露form出去给类组件使用
|
|
126
|
+
(0, _react.useImperativeHandle)(ref, function () {
|
|
127
|
+
return form;
|
|
128
|
+
});
|
|
129
|
+
// 解决平铺后的值拿不到的问题
|
|
130
|
+
var handleValuesChange = function handleValuesChange(changedValue) {
|
|
131
|
+
// 暂时通过'-'区分组合组件字段和普通字段
|
|
132
|
+
var keys = Object.keys(changedValue);
|
|
133
|
+
if (!keys.length) {
|
|
134
|
+
onValuesChange === null || onValuesChange === void 0 ? void 0 : onValuesChange(changedValue, form.getFieldsValue());
|
|
135
|
+
} else {
|
|
136
|
+
var values = keys.map(function (key) {
|
|
137
|
+
if (key.includes('-')) {
|
|
138
|
+
var comKeys = [];
|
|
139
|
+
comKeys = key.split('-').map(function (keyStr) {
|
|
140
|
+
return keyStr.split('_');
|
|
141
|
+
});
|
|
142
|
+
return form.getFieldsValue(comKeys);
|
|
143
|
+
}
|
|
144
|
+
return {};
|
|
145
|
+
});
|
|
146
|
+
onValuesChange === null || onValuesChange === void 0 ? void 0 : onValuesChange(_lodash.merge.apply(void 0, [changedValue].concat((0, _toConsumableArray2.default)(values))), form.getFieldsValue());
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
// 包装一层兼容 names 改变
|
|
150
|
+
var handleFinish = function handleFinish() {
|
|
151
|
+
onFinish === null || onFinish === void 0 ? void 0 : onFinish(form.getFieldsValue());
|
|
152
|
+
};
|
|
153
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Form, (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
154
|
+
onKeyPress: function onKeyPress(event) {
|
|
155
|
+
if (!submitOnEnter) return;
|
|
156
|
+
if (event.key === 'Enter') {
|
|
157
|
+
form.submit();
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
className: cls,
|
|
161
|
+
form: form,
|
|
162
|
+
labelAlign: labelAlign
|
|
163
|
+
}, formProps), config), otherProps), {}, {
|
|
164
|
+
onValuesChange: handleValuesChange,
|
|
165
|
+
onFinish: handleFinish
|
|
166
|
+
}), /*#__PURE__*/_react.default.createElement(_antd.Row, (0, _objectSpread2.default)({
|
|
167
|
+
gutter: 24
|
|
168
|
+
}, rowProps), /*#__PURE__*/_react.default.createElement(_RenderFields.default, {
|
|
169
|
+
form: form,
|
|
170
|
+
isView: isView,
|
|
171
|
+
columns: columns,
|
|
172
|
+
disabled: disabled,
|
|
173
|
+
expand: expand,
|
|
174
|
+
openState: openState,
|
|
175
|
+
colProps: colProps,
|
|
176
|
+
viewEmpty: viewEmpty,
|
|
177
|
+
labelWidth: labelWidth,
|
|
178
|
+
originalValues: originalValues,
|
|
179
|
+
clearNotShow: clearNotShow
|
|
180
|
+
}), children, /*#__PURE__*/_react.default.isValidElement(_footer) ? expand ? /*#__PURE__*/_react.default.createElement(_antd.Space, {
|
|
181
|
+
className: "pro-form-custom-footer"
|
|
182
|
+
}, _footer, expandRender()) : _footer : defaultFooter(), _footer === false || disabled || isView ? /*#__PURE__*/_react.default.createElement(_antd.Col, (0, _objectSpread2.default)({}, colProps), expandRender()) : null));
|
|
183
|
+
};
|
|
184
|
+
// @ts-ignore
|
|
185
|
+
var ProFormForward = /*#__PURE__*/(0, _react.forwardRef)(ProForm);
|
|
186
|
+
ProFormForward.useForm = _useForm3.useForm;
|
|
187
|
+
ProFormForward.useWatch = function (watchValue, form) {
|
|
188
|
+
if ((0, _lodash.isString)(watchValue)) {
|
|
189
|
+
var watchValues = [watchValue];
|
|
190
|
+
watchValues.forEach(function (item) {
|
|
191
|
+
_antd.Form.useWatch(item, form);
|
|
192
|
+
});
|
|
193
|
+
return form.getFieldsValue(watchValues);
|
|
194
|
+
}
|
|
195
|
+
if (watchValue.length) {
|
|
196
|
+
watchValue.forEach(function (item) {
|
|
197
|
+
_antd.Form.useWatch(item, form);
|
|
198
|
+
});
|
|
199
|
+
return form.getFieldsValue(watchValue);
|
|
200
|
+
}
|
|
201
|
+
return _antd.Form.useWatch([], form);
|
|
202
|
+
};
|
|
203
|
+
var ProFormProvider = function ProFormProvider(props) {
|
|
204
|
+
var onFormChange = props.onFormChange,
|
|
205
|
+
onFormFinish = props.onFormFinish,
|
|
206
|
+
children = props.children;
|
|
207
|
+
var handleFormChange = function handleFormChange(name, info) {
|
|
208
|
+
var changedFields = info.changedFields;
|
|
209
|
+
var _changedFields = changedFields.flatMap(function (item) {
|
|
210
|
+
var name = item.name,
|
|
211
|
+
_item$value = item.value,
|
|
212
|
+
value = _item$value === void 0 ? [] : _item$value;
|
|
213
|
+
var _name = (0, _toArray2.default)(name),
|
|
214
|
+
firstName = _name[0],
|
|
215
|
+
names = _name.slice(1);
|
|
216
|
+
var _namePath = [].concat((0, _toConsumableArray2.default)((0, _index.splitNameStr)(String(firstName))), (0, _toConsumableArray2.default)(names));
|
|
217
|
+
return _namePath.map(function (name, index) {
|
|
218
|
+
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
|
|
219
|
+
name: name,
|
|
220
|
+
value: value[index]
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
info.changedFields = _changedFields;
|
|
225
|
+
onFormChange(name, info);
|
|
226
|
+
};
|
|
227
|
+
return /*#__PURE__*/_react.default.createElement(_antd.Form.Provider, {
|
|
228
|
+
onFormChange: onFormChange ? handleFormChange : undefined,
|
|
229
|
+
onFormFinish: onFormFinish
|
|
230
|
+
}, children);
|
|
231
|
+
};
|
|
232
|
+
ProFormForward.Provider = ProFormProvider; // 包装Provider
|
|
233
|
+
// 内置组合
|
|
234
|
+
ProFormForward.ProAddressBar = _components.ProAddressBar;
|
|
235
|
+
ProFormForward.ProCombination = _components.ProCombination;
|
|
236
|
+
ProFormForward.ProNumberRange = _components.ProNumberRange;
|
|
237
|
+
ProFormForward.ProModalSelect = _components.ProModalSelect;
|
|
238
|
+
ProFormForward.ProTimeLimit = _components.ProTimeLimit;
|
|
239
|
+
ProFormForward.ProUpload = _components.ProUpload;
|
|
240
|
+
// 待废弃
|
|
241
|
+
ProFormForward.EnumSelect = _components.EnumSelect;
|
|
242
|
+
ProFormForward.ProAddress = _components.ProAddress;
|
|
243
|
+
ProFormForward.InputRange = _components.InputRange;
|
|
244
|
+
ProFormForward.InputWithSuffix = _components.InputWithSuffix;
|
|
245
|
+
ProFormForward.ProRangeBox = _components.ProRangeBox;
|
|
246
|
+
ProFormForward.CertNo = _components.CertNo;
|
|
247
|
+
ProFormForward.ProCertValidity = _components.ProCertValidity;
|
|
248
|
+
ProFormForward.ProCertNo = _components.ProCertNo;
|
|
249
|
+
ProFormForward.transferAddressInfoToRegion = _components.transferAddressInfoToRegion;
|
|
250
|
+
var _default = ProFormForward;
|
|
251
|
+
exports.default = _default;
|