@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,222 @@
|
|
|
1
|
+
import "antd/es/table/style";
|
|
2
|
+
import _Table from "antd/es/table";
|
|
3
|
+
import "antd/es/modal/style";
|
|
4
|
+
import _Modal from "antd/es/modal";
|
|
5
|
+
import "antd/es/button/style";
|
|
6
|
+
import _Button from "antd/es/button";
|
|
7
|
+
import "antd/es/input/style";
|
|
8
|
+
import _Input from "antd/es/input";
|
|
9
|
+
import "antd/es/message/style";
|
|
10
|
+
import _message from "antd/es/message";
|
|
11
|
+
import "antd/es/form/style";
|
|
12
|
+
import _Form from "antd/es/form";
|
|
13
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
14
|
+
import { CloseCircleOutlined } from '@ant-design/icons';
|
|
15
|
+
import { cloneDeep } from 'lodash';
|
|
16
|
+
import React, { forwardRef, useEffect, useState } from 'react';
|
|
17
|
+
import { ProForm } from '../../index';
|
|
18
|
+
import useRequestList from './hooks/useRequestList';
|
|
19
|
+
/**
|
|
20
|
+
* 枚举选择弹框
|
|
21
|
+
* @param title 弹窗标题
|
|
22
|
+
* @param placeholder 提示语
|
|
23
|
+
* @param columns 提示语
|
|
24
|
+
* @param service 数据请求
|
|
25
|
+
* @param queryConditionColumns 查询条件表单配置
|
|
26
|
+
*/
|
|
27
|
+
var ProEnumSelectModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
28
|
+
var value = _ref.value,
|
|
29
|
+
onChange = _ref.onChange,
|
|
30
|
+
_ref$readOnly = _ref.readOnly,
|
|
31
|
+
readOnly = _ref$readOnly === void 0 ? true : _ref$readOnly,
|
|
32
|
+
disabled = _ref.disabled,
|
|
33
|
+
placeholder = _ref.placeholder,
|
|
34
|
+
formatter = _ref.formatter,
|
|
35
|
+
modalProps = _ref.modalProps;
|
|
36
|
+
var _useState = useState(false),
|
|
37
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
38
|
+
onOff = _useState2[0],
|
|
39
|
+
setOnOff = _useState2[1];
|
|
40
|
+
var _useState3 = useState(false),
|
|
41
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
42
|
+
visible = _useState4[0],
|
|
43
|
+
setVisible = _useState4[1];
|
|
44
|
+
var _useState5 = useState([]),
|
|
45
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
46
|
+
selectedRows = _useState6[0],
|
|
47
|
+
setSelectedRows = _useState6[1];
|
|
48
|
+
var _useState7 = useState([]),
|
|
49
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
50
|
+
selectedRowKeys = _useState8[0],
|
|
51
|
+
setSelectedRowKeys = _useState8[1];
|
|
52
|
+
var title = modalProps.title,
|
|
53
|
+
_modalProps$rowKey = modalProps.rowKey,
|
|
54
|
+
rowKey = _modalProps$rowKey === void 0 ? 'id' : _modalProps$rowKey,
|
|
55
|
+
_modalProps$rowSelect = modalProps.rowSelectionType,
|
|
56
|
+
rowSelectionType = _modalProps$rowSelect === void 0 ? 'radio' : _modalProps$rowSelect,
|
|
57
|
+
_modalProps$checkedRo = modalProps.checkedRows,
|
|
58
|
+
checkedRows = _modalProps$checkedRo === void 0 ? [] : _modalProps$checkedRo,
|
|
59
|
+
columns = modalProps.columns,
|
|
60
|
+
service = modalProps.service,
|
|
61
|
+
onFinish = modalProps.onFinish,
|
|
62
|
+
queryConditionColumns = modalProps.queryConditionColumns,
|
|
63
|
+
otherServiceParams = modalProps.otherServiceParams,
|
|
64
|
+
transformDataSource = modalProps.transformDataSource,
|
|
65
|
+
withPagination = modalProps.withPagination;
|
|
66
|
+
var _Form$useForm = _Form.useForm(),
|
|
67
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
68
|
+
form = _Form$useForm2[0];
|
|
69
|
+
var _useRequestList = useRequestList(service, {
|
|
70
|
+
withPagination: withPagination,
|
|
71
|
+
transformDataSource: transformDataSource,
|
|
72
|
+
condition: otherServiceParams
|
|
73
|
+
}),
|
|
74
|
+
data = _useRequestList.data,
|
|
75
|
+
loading = _useRequestList.loading,
|
|
76
|
+
pagination = _useRequestList.pagination,
|
|
77
|
+
onSearch = _useRequestList.onSearch,
|
|
78
|
+
onReset = _useRequestList.onReset;
|
|
79
|
+
// 是否多选
|
|
80
|
+
var isMultiple = rowSelectionType === 'checkbox';
|
|
81
|
+
var handleChangeValue = function handleChangeValue(e) {
|
|
82
|
+
onChange(e.target.value);
|
|
83
|
+
};
|
|
84
|
+
// 清空表单项
|
|
85
|
+
var handleClearValue = function handleClearValue() {
|
|
86
|
+
onChange('');
|
|
87
|
+
};
|
|
88
|
+
var handleClick = function handleClick() {
|
|
89
|
+
if (disabled) return null;
|
|
90
|
+
setOnOff(true);
|
|
91
|
+
};
|
|
92
|
+
var handleClose = function handleClose() {
|
|
93
|
+
setOnOff(false);
|
|
94
|
+
setVisible(false);
|
|
95
|
+
// 重置已勾选选项
|
|
96
|
+
// setSelectedRows([]);
|
|
97
|
+
// setSelectedRowKeys([]);
|
|
98
|
+
form.resetFields();
|
|
99
|
+
};
|
|
100
|
+
var handleFinish = function handleFinish() {
|
|
101
|
+
if (!selectedRows.length) {
|
|
102
|
+
_message.error('请先勾选');
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
// @ts-ignore
|
|
106
|
+
var formatterValueArr = selectedRows.map(function (row) {
|
|
107
|
+
return formatter(row);
|
|
108
|
+
});
|
|
109
|
+
(formatterValueArr === null || formatterValueArr === void 0 ? void 0 : formatterValueArr.length) && onChange(formatterValueArr.join(','));
|
|
110
|
+
onFinish === null || onFinish === void 0 ? void 0 : onFinish(selectedRows);
|
|
111
|
+
handleClose();
|
|
112
|
+
};
|
|
113
|
+
var handleSearch = function handleSearch(values) {
|
|
114
|
+
onSearch(values);
|
|
115
|
+
};
|
|
116
|
+
// 点击行进行勾选
|
|
117
|
+
var handleClickRow = function handleClickRow(record) {
|
|
118
|
+
var selectedValue = record[rowKey];
|
|
119
|
+
var tempSelectedRows = cloneDeep(selectedRows);
|
|
120
|
+
var tempSelectedRowKeys = cloneDeep(selectedRowKeys);
|
|
121
|
+
if (isMultiple) {
|
|
122
|
+
var rowIndex = tempSelectedRows.findIndex(function (item) {
|
|
123
|
+
return item[rowKey] === selectedValue;
|
|
124
|
+
});
|
|
125
|
+
var rowKeyIndex = tempSelectedRowKeys.findIndex(function (item) {
|
|
126
|
+
return item === selectedValue;
|
|
127
|
+
});
|
|
128
|
+
if (rowKeyIndex > -1) {
|
|
129
|
+
tempSelectedRows.splice(rowIndex, 1);
|
|
130
|
+
tempSelectedRowKeys.splice(rowKeyIndex, 1);
|
|
131
|
+
} else {
|
|
132
|
+
tempSelectedRows.push(record);
|
|
133
|
+
tempSelectedRowKeys.push(selectedValue);
|
|
134
|
+
}
|
|
135
|
+
} else {
|
|
136
|
+
tempSelectedRows = [record];
|
|
137
|
+
tempSelectedRowKeys = [selectedValue];
|
|
138
|
+
}
|
|
139
|
+
setSelectedRows(tempSelectedRows);
|
|
140
|
+
setSelectedRowKeys(tempSelectedRowKeys);
|
|
141
|
+
};
|
|
142
|
+
var rowSelection = {
|
|
143
|
+
type: rowSelectionType,
|
|
144
|
+
selectedRowKeys: selectedRowKeys,
|
|
145
|
+
onChange: function onChange(rowKeys, rows) {
|
|
146
|
+
setSelectedRows(rows);
|
|
147
|
+
setSelectedRowKeys(rowKeys);
|
|
148
|
+
},
|
|
149
|
+
getCheckboxProps: function getCheckboxProps() {
|
|
150
|
+
return {
|
|
151
|
+
disabled: false
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
useEffect(function () {
|
|
156
|
+
if (checkedRows === null || checkedRows === void 0 ? void 0 : checkedRows.length) {
|
|
157
|
+
setSelectedRows(checkedRows);
|
|
158
|
+
setSelectedRowKeys(checkedRows.map(function (item) {
|
|
159
|
+
return item[rowKey];
|
|
160
|
+
}));
|
|
161
|
+
}
|
|
162
|
+
}, [checkedRows]);
|
|
163
|
+
useEffect(function () {
|
|
164
|
+
if (onOff) {
|
|
165
|
+
onReset();
|
|
166
|
+
setVisible(true);
|
|
167
|
+
}
|
|
168
|
+
}, [onOff]);
|
|
169
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Input, {
|
|
170
|
+
value: value,
|
|
171
|
+
readOnly: readOnly,
|
|
172
|
+
disabled: disabled,
|
|
173
|
+
placeholder: placeholder,
|
|
174
|
+
onClick: handleClick,
|
|
175
|
+
onChange: handleChangeValue,
|
|
176
|
+
className: "pro-enum-input",
|
|
177
|
+
suffix: /*#__PURE__*/React.createElement(React.Fragment, null, value && !disabled && /*#__PURE__*/React.createElement(CloseCircleOutlined, {
|
|
178
|
+
className: "close-icon",
|
|
179
|
+
onClick: handleClearValue
|
|
180
|
+
}), /*#__PURE__*/React.createElement(_Button, {
|
|
181
|
+
type: "link",
|
|
182
|
+
onClick: handleClick,
|
|
183
|
+
disabled: disabled,
|
|
184
|
+
style: {
|
|
185
|
+
padding: 0,
|
|
186
|
+
height: 'auto'
|
|
187
|
+
}
|
|
188
|
+
}, "\u9009\u62E9"))
|
|
189
|
+
}), onOff && /*#__PURE__*/React.createElement(_Modal, {
|
|
190
|
+
title: title,
|
|
191
|
+
width: "50%",
|
|
192
|
+
onOk: handleFinish,
|
|
193
|
+
onCancel: handleClose,
|
|
194
|
+
visible: visible,
|
|
195
|
+
className: "pro-enum-select"
|
|
196
|
+
}, /*#__PURE__*/React.createElement(ProForm, {
|
|
197
|
+
className: "pro-enum-select-modal-form",
|
|
198
|
+
form: form,
|
|
199
|
+
columns: queryConditionColumns,
|
|
200
|
+
onFinish: handleSearch
|
|
201
|
+
}), /*#__PURE__*/React.createElement(_Table, {
|
|
202
|
+
onRow: function onRow(record) {
|
|
203
|
+
return {
|
|
204
|
+
onClick: function onClick() {
|
|
205
|
+
return handleClickRow(record);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
rowKey: rowKey,
|
|
210
|
+
loading: loading,
|
|
211
|
+
scroll: {
|
|
212
|
+
y: '250px'
|
|
213
|
+
},
|
|
214
|
+
// @ts-ignore
|
|
215
|
+
rowSelection: rowSelection,
|
|
216
|
+
columns: columns,
|
|
217
|
+
dataSource: data,
|
|
218
|
+
// @ts-ignore
|
|
219
|
+
pagination: pagination
|
|
220
|
+
})));
|
|
221
|
+
});
|
|
222
|
+
export default ProEnumSelectModal;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface IPropsType {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string | undefined) => void;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
formatter?: (value: object) => string;
|
|
9
|
+
modalProps: {
|
|
10
|
+
title: string | ReactNode;
|
|
11
|
+
rowKey: string;
|
|
12
|
+
rowSelectionType: string;
|
|
13
|
+
columns: any[];
|
|
14
|
+
service: any;
|
|
15
|
+
onFinish: (value: any) => void;
|
|
16
|
+
queryConditionColumns: any[];
|
|
17
|
+
otherServiceParams: any;
|
|
18
|
+
withPagination: boolean;
|
|
19
|
+
transformDataSource: (list: any[]) => any[];
|
|
20
|
+
checkedRows: any[];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.pro-enum-input {
|
|
2
|
+
.close-icon {
|
|
3
|
+
margin : 0 5px;
|
|
4
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
5
|
+
color : white;
|
|
6
|
+
font-size : var(--zaui-font-size-lg);
|
|
7
|
+
border : none;
|
|
8
|
+
border-radius : 50%;
|
|
9
|
+
|
|
10
|
+
&:hover {
|
|
11
|
+
transform: scale(1.2);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pro-enum-select {
|
|
17
|
+
.pro-form {
|
|
18
|
+
.ant-form-item-label {
|
|
19
|
+
width : var(--zaui-form-label-width, 112px);
|
|
20
|
+
max-width : var(--zaui-form-label-width, 112px);
|
|
21
|
+
text-align : left;
|
|
22
|
+
text-align : var(--zaui-form-align, left);
|
|
23
|
+
white-space : pre-wrap;
|
|
24
|
+
line-height : 1;
|
|
25
|
+
overflow : initial;
|
|
26
|
+
margin-right: 16px;
|
|
27
|
+
margin-right: calc(var(--zaui-height-size-md, 16px)*var(--zaui-size, 1))
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:global {
|
|
32
|
+
.ant-table.ant-table-bordered>.ant-table-container {
|
|
33
|
+
border: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ant-table-thead>tr>th {
|
|
37
|
+
border : 0;
|
|
38
|
+
white-space : nowrap;
|
|
39
|
+
background-color: #F6F7F8;
|
|
40
|
+
padding : var(--zaui-space-size-md);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
|
|
44
|
+
height: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ant-table-tbody>tr:not(.ant-table-placeholder)>td {
|
|
48
|
+
border-bottom: 0;
|
|
49
|
+
border-right : 0;
|
|
50
|
+
border-top : 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ant-table-tbody>tr:not(.ant-table-measure-row)>td {
|
|
54
|
+
border-bottom : 0;
|
|
55
|
+
vertical-align: top;
|
|
56
|
+
padding : var(--zaui-space-size-md);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ant-table-tbody tr:nth-child(n)>td {
|
|
60
|
+
background-color: var(--zaui-base-bg);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ant-table-tbody tr:nth-child(2n)>td {
|
|
64
|
+
background-color: #FAFAFA;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ant-table-tbody>.ant-table-placeholder>td {
|
|
68
|
+
background-color: var(--zaui-base-bg);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ant-table-tbody {
|
|
72
|
+
|
|
73
|
+
>tr:hover:not(.ant-table-expanded-row, .ant-table-placeholder)>td,
|
|
74
|
+
.ant-table-row-hover,
|
|
75
|
+
.ant-table-row-hover>td {
|
|
76
|
+
background: #FAFAFA;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ant-table-fixed {
|
|
81
|
+
|
|
82
|
+
.ant-table-row-hover,
|
|
83
|
+
.ant-table-row-hover>td {
|
|
84
|
+
background: #FAFAFA;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ant-table-fixed-header {
|
|
89
|
+
.ant-table-tbody tr:nth-child(n)>td {
|
|
90
|
+
background-color: #FAFAFA;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ant-table-tbody tr:nth-child(2n)>td {
|
|
94
|
+
background-color: var(--zaui-base-bg);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import '../ProDrawerForm/style/index';
|
|
2
|
+
@import '../ProEditTable/style/index';
|
|
3
|
+
@import '../ProEditLabel/style/index';
|
|
4
|
+
@import '../ProForm/style/index';
|
|
5
|
+
@import '../ProTable/style/index';
|
|
6
|
+
@import '../ProTooltip/style/index';
|
|
7
|
+
@import '../ProViewer/style/index';
|
|
8
|
+
@import '../ProLayout/style/index';
|
|
9
|
+
@import '../ProIcon/style/index';
|
|
10
|
+
@import '../ProStep/style/index';
|
|
11
|
+
@import '../ProTransferModal/style/index';
|
|
12
|
+
@import '../Proform/components/base/FormList/style/index';
|
|
13
|
+
@import '../ProForm/components/combination/ProTimeLimit/style/index';
|
|
14
|
+
// old 待废弃
|
|
15
|
+
@import '../old/ProEnumSelectModal/style/index';
|
|
16
|
+
@import '../old/ProBackBtn/style/index';
|
|
17
|
+
@import '../old/ProCustomColumn/style/index';
|
|
18
|
+
@import '../old/ProEditableTable/style/index';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.ant-tabs-nav-list {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
// 兼容IE11
|
|
6
|
+
@media screen and(-ms-high-contrast: active),
|
|
7
|
+
(-ms-high-contrast: none) {
|
|
8
|
+
.ant-form-item-control-input-content {
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// 解决popover表单压缩
|
|
13
|
+
.ant-popover {
|
|
14
|
+
.ant-form-item-control {
|
|
15
|
+
flex: auto;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ant-tabs-tab {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* IE兼容 */
|
|
24
|
+
.ant-space {
|
|
25
|
+
width: 100% !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* IE兼容 */
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// 清除浮动
|
|
2
|
+
.clearfix() {
|
|
3
|
+
&:before,
|
|
4
|
+
&:after {
|
|
5
|
+
content: ' ';
|
|
6
|
+
display: table;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:after {
|
|
10
|
+
clear: both;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 水平居中
|
|
15
|
+
.center-block() {
|
|
16
|
+
display: block;
|
|
17
|
+
margin-left: auto;
|
|
18
|
+
margin-right: auto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// 尺码助手
|
|
22
|
+
.size(@width, @height) {
|
|
23
|
+
width: @width;
|
|
24
|
+
height: @height;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.square(@size) {
|
|
28
|
+
.size(@size, @size);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// 可调整大小的文本区域
|
|
32
|
+
.resizable(@direction: both) {
|
|
33
|
+
// Options: horizontal, vertical, both
|
|
34
|
+
resize: @direction;
|
|
35
|
+
// Safari fix
|
|
36
|
+
overflow: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 截断文本
|
|
40
|
+
.text-truncate() {
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// mixins函数
|
|
47
|
+
.set-text-color() {
|
|
48
|
+
color: @zaui-text;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.set-brand-color() {
|
|
52
|
+
color: @zaui-brand;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.set-disabled-color() {
|
|
56
|
+
color: @zaui-disabled-text !important;
|
|
57
|
+
background: @zaui-disabled-bg !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.set-text-size() {
|
|
61
|
+
font-size: @zaui-font-size;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.set-lg-text-size() {
|
|
65
|
+
font-size: calc(@zaui-font-size + 2px);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.set-sm-text-size() {
|
|
69
|
+
font-size: calc(@zaui-font-size - 2px);
|
|
70
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body,
|
|
3
|
+
body div,
|
|
4
|
+
span,
|
|
5
|
+
object,
|
|
6
|
+
iframe,
|
|
7
|
+
h1,
|
|
8
|
+
h2,
|
|
9
|
+
h3,
|
|
10
|
+
h4,
|
|
11
|
+
h5,
|
|
12
|
+
h6,
|
|
13
|
+
p,
|
|
14
|
+
blockquote,
|
|
15
|
+
pre,
|
|
16
|
+
abbr,
|
|
17
|
+
address,
|
|
18
|
+
cite,
|
|
19
|
+
code,
|
|
20
|
+
del,
|
|
21
|
+
dfn,
|
|
22
|
+
em,
|
|
23
|
+
img,
|
|
24
|
+
ins,
|
|
25
|
+
kbd,
|
|
26
|
+
q,
|
|
27
|
+
samp,
|
|
28
|
+
small,
|
|
29
|
+
strong,
|
|
30
|
+
sub,
|
|
31
|
+
sup,
|
|
32
|
+
var,
|
|
33
|
+
b,
|
|
34
|
+
i,
|
|
35
|
+
dl,
|
|
36
|
+
dt,
|
|
37
|
+
dd,
|
|
38
|
+
ol,
|
|
39
|
+
ul,
|
|
40
|
+
li,
|
|
41
|
+
fieldset,
|
|
42
|
+
form,
|
|
43
|
+
label,
|
|
44
|
+
legend,
|
|
45
|
+
table,
|
|
46
|
+
caption,
|
|
47
|
+
tbody,
|
|
48
|
+
tfoot,
|
|
49
|
+
thead,
|
|
50
|
+
tr,
|
|
51
|
+
th,
|
|
52
|
+
td,
|
|
53
|
+
article,
|
|
54
|
+
aside,
|
|
55
|
+
figure,
|
|
56
|
+
footer,
|
|
57
|
+
header,
|
|
58
|
+
menu,
|
|
59
|
+
nav,
|
|
60
|
+
section,
|
|
61
|
+
time,
|
|
62
|
+
mark,
|
|
63
|
+
audio,
|
|
64
|
+
video,
|
|
65
|
+
details,
|
|
66
|
+
summary {
|
|
67
|
+
margin : 0;
|
|
68
|
+
padding : 0;
|
|
69
|
+
font-family : -apple-system, PingFang SC, "Helvetica Neue", Helvetica, "Hiragino Sans GB", "STHeitiSC-Light", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
|
|
70
|
+
vertical-align: baseline;
|
|
71
|
+
background : transparent;
|
|
72
|
+
border : 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
tbody {
|
|
76
|
+
vertical-align: middle;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
tr,
|
|
80
|
+
th,
|
|
81
|
+
td {
|
|
82
|
+
vertical-align: inherit;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
main,
|
|
86
|
+
article,
|
|
87
|
+
aside,
|
|
88
|
+
figure,
|
|
89
|
+
footer,
|
|
90
|
+
header,
|
|
91
|
+
nav,
|
|
92
|
+
section,
|
|
93
|
+
details,
|
|
94
|
+
summary {
|
|
95
|
+
display: block;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
html {
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
*,
|
|
103
|
+
*:before,
|
|
104
|
+
*:after {
|
|
105
|
+
box-sizing: inherit;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
img,
|
|
109
|
+
object,
|
|
110
|
+
embed {
|
|
111
|
+
max-width: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
ul {
|
|
115
|
+
list-style: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
blockquote,
|
|
119
|
+
q {
|
|
120
|
+
quotes: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
blockquote:before,
|
|
124
|
+
blockquote:after,
|
|
125
|
+
q:before,
|
|
126
|
+
q:after {
|
|
127
|
+
content: '';
|
|
128
|
+
content: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
a {
|
|
132
|
+
margin : 0;
|
|
133
|
+
padding : 0;
|
|
134
|
+
font-size : 100%;
|
|
135
|
+
vertical-align: baseline;
|
|
136
|
+
background : transparent;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
del {
|
|
140
|
+
text-decoration: line-through;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
abbr[title],
|
|
144
|
+
dfn[title] {
|
|
145
|
+
border-bottom: 1px dotted #000;
|
|
146
|
+
cursor : help;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
hr {
|
|
150
|
+
display : block;
|
|
151
|
+
height : 1px;
|
|
152
|
+
margin : 1em 0;
|
|
153
|
+
padding : 0;
|
|
154
|
+
border : 0;
|
|
155
|
+
border-top: 1px solid #ccc;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
input,
|
|
159
|
+
select {
|
|
160
|
+
vertical-align: middle;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
pre {
|
|
164
|
+
white-space: pre;
|
|
165
|
+
/* CSS2 */
|
|
166
|
+
white-space: pre-wrap;
|
|
167
|
+
/* CSS 2.1 */
|
|
168
|
+
white-space: pre-line;
|
|
169
|
+
/* CSS 3 (and 2.1 as well, actually) */
|
|
170
|
+
word-wrap : break-word;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
input[type='radio'] {
|
|
174
|
+
vertical-align: text-bottom;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
input[type='checkbox'] {
|
|
178
|
+
vertical-align: bottom;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ie7 input[type='checkbox'] {
|
|
182
|
+
vertical-align: baseline;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ie6 input {
|
|
186
|
+
vertical-align: text-bottom;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
select,
|
|
190
|
+
input,
|
|
191
|
+
textarea {
|
|
192
|
+
font: 99% sans-serif;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
small {
|
|
196
|
+
font-size: 85%;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
strong {
|
|
200
|
+
font-weight: bold;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
sub,
|
|
204
|
+
sup {
|
|
205
|
+
position : relative;
|
|
206
|
+
font-size : 75%;
|
|
207
|
+
line-height: 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
sup {
|
|
211
|
+
top: -0.5em;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
sub {
|
|
215
|
+
bottom: -0.25em;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
pre,
|
|
219
|
+
code,
|
|
220
|
+
kbd,
|
|
221
|
+
samp {
|
|
222
|
+
font-family: monospace, sans-serif;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.clickable,
|
|
226
|
+
label,
|
|
227
|
+
input[type='button'],
|
|
228
|
+
input[type='submit'],
|
|
229
|
+
input[type='file'],
|
|
230
|
+
button {
|
|
231
|
+
cursor: pointer;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
button,
|
|
235
|
+
input,
|
|
236
|
+
select,
|
|
237
|
+
textarea {
|
|
238
|
+
margin: 0;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* make buttons play nice in IE */
|
|
242
|
+
button,
|
|
243
|
+
input[type='button'] {
|
|
244
|
+
width : auto;
|
|
245
|
+
overflow: visible;
|
|
246
|
+
}
|