@zat-design/sisyphus-react 4.2.0-beta.2 → 4.2.0-beta.3
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/dist/index.esm.css +1 -1
- package/dist/less.esm.css +1 -1
- package/es/FormsProvider/index.js +7 -7
- package/es/ProAction/components/CheckModalContent/index.js +5 -5
- package/es/ProAction/index.js +98 -164
- package/es/ProConfigProvider/index.js +71 -60
- package/es/ProDownload/index.js +97 -184
- package/es/ProDownload/utils.js +98 -149
- package/es/ProDrawerForm/components/ProDrawer/index.js +100 -177
- package/es/ProDrawerForm/components/ProModal/index.js +73 -140
- package/es/ProDrawerForm/index.js +36 -54
- package/es/ProDrawerForm/utils/index.js +1 -1
- package/es/ProEditLabel/components/RenderProForm.js +29 -35
- package/es/ProEditLabel/index.js +97 -167
- package/es/ProEditLabel/utils/index.js +1 -1
- package/es/ProEditTable/components/ActionButton/index.js +61 -56
- package/es/ProEditTable/components/RcTable/BaseTable.js +51 -65
- package/es/ProEditTable/components/RcTable/DraggableTable.js +112 -106
- package/es/ProEditTable/components/RenderField/ListChangedWrapper.js +107 -98
- package/es/ProEditTable/components/RenderField/index.js +465 -598
- package/es/ProEditTable/components/RenderToolbar/index.js +71 -90
- package/es/ProEditTable/components/Summary/index.js +40 -35
- package/es/ProEditTable/components/Validator/index.js +7 -6
- package/es/ProEditTable/index.js +256 -307
- package/es/ProEditTable/utils/config.js +158 -184
- package/es/ProEditTable/utils/diffOriginal.js +45 -37
- package/es/ProEditTable/utils/getDefaultProps.js +23 -19
- package/es/ProEditTable/utils/index.js +189 -215
- package/es/ProEditTable/utils/tools.js +213 -344
- package/es/ProEditTable/utils/transform.js +10 -14
- package/es/ProEditTable/utils/useEditTableError.js +18 -29
- package/es/ProEditTable/utils/useShouldUpdateForTable.js +55 -63
- package/es/ProEnum/components/Group.js +17 -25
- package/es/ProEnum/components/Tag.js +12 -19
- package/es/ProEnum/hooks/useEnum.js +54 -72
- package/es/ProEnum/hooks/useEnumRequest.js +226 -341
- package/es/ProEnum/hooks/useFrequentEnumRequest.js +49 -69
- package/es/ProEnum/index.js +127 -137
- package/es/ProEnum/utils/eventCenter.js +2 -2
- package/es/ProEnum/utils/frequentEnum.js +55 -74
- package/es/ProEnum/utils/getEnumLabel.js +29 -29
- package/es/ProEnum/utils/index.js +107 -239
- package/es/ProForm/components/Container.js +10 -8
- package/es/ProForm/components/FormFooter/index.js +42 -44
- package/es/ProForm/components/base/Checkbox/index.js +29 -34
- package/es/ProForm/components/base/DatePicker/index.js +41 -39
- package/es/ProForm/components/base/DatePicker/useDateLimit.js +2 -11
- package/es/ProForm/components/base/Input/index.js +54 -55
- package/es/ProForm/components/base/InputNumber/index.js +115 -136
- package/es/ProForm/components/base/Radio/index.js +26 -32
- package/es/ProForm/components/base/RangePicker/index.js +63 -57
- package/es/ProForm/components/base/RangePicker/useDateRange.js +11 -19
- package/es/ProForm/components/base/Select/index.js +44 -50
- package/es/ProForm/components/base/Switch/index.js +21 -24
- package/es/ProForm/components/base/SwitchCheckbox/index.js +26 -29
- package/es/ProForm/components/base/TextArea/index.js +25 -29
- package/es/ProForm/components/base/TimePicker/index.js +24 -28
- package/es/ProForm/components/combination/Container/index.js +34 -33
- package/es/ProForm/components/combination/FormList/components/ActionButton.js +181 -207
- package/es/ProForm/components/combination/FormList/components/BlockFields.js +30 -29
- package/es/ProForm/components/combination/FormList/components/BlockTitle.js +12 -10
- package/es/ProForm/components/combination/FormList/components/Empty.js +32 -60
- package/es/ProForm/components/combination/FormList/components/LineFields.js +42 -42
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +98 -120
- package/es/ProForm/components/combination/FormList/index.js +78 -70
- package/es/ProForm/components/combination/FormList/utils.js +13 -13
- package/es/ProForm/components/combination/Group/component/AddonWrapper/index.js +6 -4
- package/es/ProForm/components/combination/Group/component/ComRender.js +77 -69
- package/es/ProForm/components/combination/Group/component/FlexibleGroup.js +101 -105
- package/es/ProForm/components/combination/Group/hooks/index.js +101 -99
- package/es/ProForm/components/combination/Group/index.js +83 -80
- package/es/ProForm/components/combination/Group/utils/index.js +155 -163
- package/es/ProForm/components/combination/ProCascader/index.js +145 -169
- package/es/ProForm/components/combination/ProCascader/utils/index.js +15 -18
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +65 -90
- package/es/ProForm/components/combination/ProModalSelect/index.js +384 -502
- package/es/ProForm/components/combination/ProModalSelect/utils/index.js +11 -11
- package/es/ProForm/components/combination/ProNumberRange/index.js +64 -72
- package/es/ProForm/components/combination/ProRangeLimit/index.js +82 -109
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +10 -18
- package/es/ProForm/components/combination/ProTimeLimit/index.js +78 -88
- package/es/ProForm/components/render/ChangedWrapper.js +71 -64
- package/es/ProForm/components/render/ConfirmWrapper.js +52 -113
- package/es/ProForm/components/render/CustomComponentViewWrapper.js +42 -45
- package/es/ProForm/components/render/Render.js +202 -220
- package/es/ProForm/components/render/RenderFields.js +99 -93
- package/es/ProForm/components/render/propsType.js +1 -1
- package/es/ProForm/index.js +128 -143
- package/es/ProForm/propsType.js +1 -1
- package/es/ProForm/utils/diffOriginal.js +39 -33
- package/es/ProForm/utils/getDefaultProps.js +24 -19
- package/es/ProForm/utils/index.js +115 -132
- package/es/ProForm/utils/processDependencies.js +7 -3
- package/es/ProForm/utils/rulesCreator.js +28 -36
- package/es/ProForm/utils/transformNames.js +18 -19
- package/es/ProForm/utils/transformValue.js +16 -25
- package/es/ProForm/utils/useDeepCompareMemo.js +7 -7
- package/es/ProForm/utils/useFieldProps.js +3 -3
- package/es/ProForm/utils/useForm.js +106 -190
- package/es/ProForm/utils/useRules.js +23 -20
- package/es/ProForm/utils/useShouldUpdate.js +107 -110
- package/es/ProForm/utils/useWatch.js +30 -37
- package/es/ProForm/utils/valueType.js +122 -143
- package/es/ProIcon/config/index.js +3 -3
- package/es/ProIcon/index.js +152 -167
- package/es/ProIcon/utils/index.js +28 -27
- package/es/ProLayout/components/Layout/Header/index.js +28 -36
- package/es/ProLayout/components/Layout/Icon/Icon.js +10 -9
- package/es/ProLayout/components/Layout/Menu/FoldMenu/index.js +61 -55
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +57 -66
- package/es/ProLayout/components/Layout/Menu/SideMenu/index.js +18 -14
- package/es/ProLayout/components/Layout/Menu/index.js +30 -40
- package/es/ProLayout/components/Layout/Notice/index.js +6 -4
- package/es/ProLayout/components/ProCollapse/index.js +63 -68
- package/es/ProLayout/components/ProFooter/index.js +16 -22
- package/es/ProLayout/components/ProHeader/components/Copy/index.js +6 -3
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/index.js +5 -5
- package/es/ProLayout/components/ProHeader/index.js +132 -149
- package/es/ProLayout/components/ProHeader/utils/index.js +5 -5
- package/es/ProLayout/components/TabsManager/components/TabContextMenu.js +20 -31
- package/es/ProLayout/components/TabsManager/components/TabItem.js +18 -18
- package/es/ProLayout/components/TabsManager/components/TabsContext.js +1 -1
- package/es/ProLayout/components/TabsManager/components/TabsHeader.js +9 -17
- package/es/ProLayout/components/TabsManager/hooks/useActiveTab.js +2 -2
- package/es/ProLayout/components/TabsManager/hooks/useProLayoutTabs.js +1 -1
- package/es/ProLayout/components/TabsManager/hooks/useTabsCache.js +15 -15
- package/es/ProLayout/components/TabsManager/hooks/useTabsState.js +103 -119
- package/es/ProLayout/components/TabsManager/index.js +51 -60
- package/es/ProLayout/components/TabsManager/propTypes.js +1 -1
- package/es/ProLayout/components/TabsManager/utils/index.js +20 -21
- package/es/ProLayout/index.js +84 -98
- package/es/ProLayout/propTypes.js +2 -4
- package/es/ProLayout/utils/index.js +66 -85
- package/es/ProSelect/components/AdaptiveTooltip.js +8 -16
- package/es/ProSelect/index.js +168 -186
- package/es/ProSelect/utils/index.js +49 -77
- package/es/ProStep/components/Anchor/index.js +21 -19
- package/es/ProStep/components/Item/index.js +32 -39
- package/es/ProStep/components/Listener/index.js +36 -60
- package/es/ProStep/components/Step/index.js +26 -40
- package/es/ProStep/index.js +104 -192
- package/es/ProStep/utils/index.js +20 -23
- package/es/ProStepTab/index.js +117 -235
- package/es/ProTable/components/FormatColumn/index.js +246 -219
- package/es/ProTable/components/RcTable/components/BaseTable/index.js +21 -25
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +111 -143
- package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +52 -60
- package/es/ProTable/components/RcTable/components/DraggableTable/index.js +28 -30
- package/es/ProTable/components/RenderColumn/index.js +58 -66
- package/es/ProTable/components/RenderEmptyText/index.js +7 -7
- package/es/ProTable/components/RenderFooter/index.js +10 -8
- package/es/ProTable/components/RenderSummary/index.js +31 -30
- package/es/ProTable/components/RenderTableHeader/index.js +19 -17
- package/es/ProTable/components/RenderTabs/index.js +31 -45
- package/es/ProTable/components/TableResizable/index.js +33 -50
- package/es/ProTable/components/TooltipTitle/index.js +10 -7
- package/es/ProTable/hooks/useAntdTable.js +214 -267
- package/es/ProTable/index.js +192 -234
- package/es/ProTable/utils/index.js +23 -31
- package/es/ProTabs/components/Card/index.js +10 -8
- package/es/ProTabs/index.js +51 -61
- package/es/ProThemeTools/component/ProTools/index.js +65 -71
- package/es/ProThemeTools/context/ThemeContext.js +97 -93
- package/es/ProThemeTools/index.js +79 -91
- package/es/ProThemeTools/utils/index.js +49 -71
- package/es/ProTooltip/index.js +110 -120
- package/es/ProTree/components/AdaptiveTooltip.js +3 -2
- package/es/ProTree/components/CloseIcon.js +3 -7
- package/es/ProTree/components/List.js +21 -27
- package/es/ProTree/components/ProTree.js +162 -204
- package/es/ProTree/components/ProTreeSelect/index.js +250 -265
- package/es/ProTree/components/SearchTitle.js +18 -17
- package/es/ProTree/components/Tree.js +109 -148
- package/es/ProTree/index.js +15 -15
- package/es/ProTree/utils.js +48 -83
- package/es/ProTreeModal/components/Cascader.js +28 -41
- package/es/ProTreeModal/components/CloseIcon.js +3 -7
- package/es/ProTreeModal/components/List.js +90 -96
- package/es/ProTreeModal/components/SearchTitle.js +9 -8
- package/es/ProTreeModal/components/SortableItem.js +40 -37
- package/es/ProTreeModal/components/Tree.js +53 -69
- package/es/ProTreeModal/components/Trigger.js +55 -67
- package/es/ProTreeModal/index.js +203 -217
- package/es/ProTreeModal/utils.js +61 -101
- package/es/ProUpload/components/ButtonRender.js +31 -58
- package/es/ProUpload/components/DragRender.js +41 -42
- package/es/ProUpload/components/DraggableUploadListItem.js +19 -21
- package/es/ProUpload/components/Example.js +14 -25
- package/es/ProUpload/components/FileItem.js +39 -38
- package/es/ProUpload/components/ImageRender.js +59 -100
- package/es/ProUpload/index.js +129 -131
- package/es/ProUpload/uitls.js +3 -3
- package/es/ProUtils/utils/index.js +6 -10
- package/es/ProViewer/index.js +66 -102
- package/es/ProWaterMark/index.js +8 -10
- package/es/locale/index.js +5 -5
- package/es/tokens.js +1 -1
- package/es/utils/index.js +11 -20
- package/package.json +10 -10
- package/.claudeignore +0 -40
- package/lib/FormsProvider/index.d.ts +0 -18
- package/lib/FormsProvider/index.js +0 -44
- package/lib/ProAction/components/CheckModalContent/index.css +0 -22
- package/lib/ProAction/components/CheckModalContent/index.d.ts +0 -8
- package/lib/ProAction/components/CheckModalContent/index.js +0 -34
- package/lib/ProAction/components/CheckModalContent/index.less +0 -28
- package/lib/ProAction/index.d.ts +0 -7
- package/lib/ProAction/index.js +0 -232
- package/lib/ProAction/index.less +0 -8
- package/lib/ProAction/propsType.d.ts +0 -45
- package/lib/ProAction/propsType.js +0 -5
- package/lib/ProConfigProvider/index.d.ts +0 -9
- package/lib/ProConfigProvider/index.js +0 -158
- package/lib/ProConfigProvider/propsType.d.ts +0 -55
- package/lib/ProConfigProvider/propsType.js +0 -5
- package/lib/ProDownload/index.d.ts +0 -6
- package/lib/ProDownload/index.js +0 -208
- package/lib/ProDownload/propsType.d.ts +0 -71
- package/lib/ProDownload/propsType.js +0 -5
- package/lib/ProDownload/style/index.less +0 -9
- package/lib/ProDownload/utils.d.ts +0 -60
- package/lib/ProDownload/utils.js +0 -213
- package/lib/ProDrawerForm/components/ProDrawer/index.d.ts +0 -7
- package/lib/ProDrawerForm/components/ProDrawer/index.js +0 -287
- package/lib/ProDrawerForm/components/ProModal/index.d.ts +0 -7
- package/lib/ProDrawerForm/components/ProModal/index.js +0 -222
- package/lib/ProDrawerForm/components/index.d.ts +0 -2
- package/lib/ProDrawerForm/components/index.js +0 -20
- package/lib/ProDrawerForm/index.d.ts +0 -6
- package/lib/ProDrawerForm/index.js +0 -106
- package/lib/ProDrawerForm/propsType.d.ts +0 -100
- package/lib/ProDrawerForm/propsType.js +0 -5
- package/lib/ProDrawerForm/style/index.less +0 -172
- package/lib/ProDrawerForm/utils/index.d.ts +0 -6
- package/lib/ProDrawerForm/utils/index.js +0 -23
- package/lib/ProEditLabel/components/RenderProForm.d.ts +0 -4
- package/lib/ProEditLabel/components/RenderProForm.js +0 -87
- package/lib/ProEditLabel/index.d.ts +0 -4
- package/lib/ProEditLabel/index.js +0 -361
- package/lib/ProEditLabel/propsType.d.ts +0 -163
- package/lib/ProEditLabel/propsType.js +0 -5
- package/lib/ProEditLabel/style/index.less +0 -135
- package/lib/ProEditLabel/utils/index.d.ts +0 -7
- package/lib/ProEditLabel/utils/index.js +0 -24
- package/lib/ProEditTable/components/ActionButton/index.d.ts +0 -2
- package/lib/ProEditTable/components/ActionButton/index.js +0 -189
- package/lib/ProEditTable/components/RcTable/BaseTable.d.ts +0 -6
- package/lib/ProEditTable/components/RcTable/BaseTable.js +0 -125
- package/lib/ProEditTable/components/RcTable/DraggableTable.d.ts +0 -7
- package/lib/ProEditTable/components/RcTable/DraggableTable.js +0 -219
- package/lib/ProEditTable/components/RcTable/index.d.ts +0 -4
- package/lib/ProEditTable/components/RcTable/index.js +0 -20
- package/lib/ProEditTable/components/RenderField/ListChangedWrapper.d.ts +0 -17
- package/lib/ProEditTable/components/RenderField/ListChangedWrapper.js +0 -244
- package/lib/ProEditTable/components/RenderField/index.d.ts +0 -3
- package/lib/ProEditTable/components/RenderField/index.js +0 -1169
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +0 -2
- package/lib/ProEditTable/components/RenderToolbar/index.js +0 -148
- package/lib/ProEditTable/components/Summary/index.d.ts +0 -12
- package/lib/ProEditTable/components/Summary/index.js +0 -89
- package/lib/ProEditTable/components/Validator/index.d.ts +0 -10
- package/lib/ProEditTable/components/Validator/index.js +0 -34
- package/lib/ProEditTable/components/index.d.ts +0 -5
- package/lib/ProEditTable/components/index.js +0 -41
- package/lib/ProEditTable/index.d.ts +0 -4
- package/lib/ProEditTable/index.js +0 -535
- package/lib/ProEditTable/propsType.d.ts +0 -439
- package/lib/ProEditTable/propsType.js +0 -5
- package/lib/ProEditTable/style/index.less +0 -448
- package/lib/ProEditTable/utils/config.d.ts +0 -25
- package/lib/ProEditTable/utils/config.js +0 -293
- package/lib/ProEditTable/utils/diffOriginal.d.ts +0 -22
- package/lib/ProEditTable/utils/diffOriginal.js +0 -142
- package/lib/ProEditTable/utils/getDefaultProps.d.ts +0 -1
- package/lib/ProEditTable/utils/getDefaultProps.js +0 -39
- package/lib/ProEditTable/utils/index.d.ts +0 -9
- package/lib/ProEditTable/utils/index.js +0 -473
- package/lib/ProEditTable/utils/tools.d.ts +0 -93
- package/lib/ProEditTable/utils/tools.js +0 -572
- package/lib/ProEditTable/utils/transform.d.ts +0 -13
- package/lib/ProEditTable/utils/transform.js +0 -50
- package/lib/ProEditTable/utils/useEditTableError.d.ts +0 -7
- package/lib/ProEditTable/utils/useEditTableError.js +0 -108
- package/lib/ProEditTable/utils/useShouldUpdateForTable.d.ts +0 -16
- package/lib/ProEditTable/utils/useShouldUpdateForTable.js +0 -174
- package/lib/ProEnum/components/Group.d.ts +0 -10
- package/lib/ProEnum/components/Group.js +0 -76
- package/lib/ProEnum/components/Tag.d.ts +0 -7
- package/lib/ProEnum/components/Tag.js +0 -52
- package/lib/ProEnum/hooks/useEnum.d.ts +0 -29
- package/lib/ProEnum/hooks/useEnum.js +0 -282
- package/lib/ProEnum/hooks/useEnumRequest.d.ts +0 -4
- package/lib/ProEnum/hooks/useEnumRequest.js +0 -422
- package/lib/ProEnum/hooks/useFrequentEnumRequest.d.ts +0 -14
- package/lib/ProEnum/hooks/useFrequentEnumRequest.js +0 -91
- package/lib/ProEnum/index.d.ts +0 -8
- package/lib/ProEnum/index.js +0 -304
- package/lib/ProEnum/propsType.d.ts +0 -310
- package/lib/ProEnum/propsType.js +0 -5
- package/lib/ProEnum/style/index.less +0 -109
- package/lib/ProEnum/utils/eventCenter.d.ts +0 -1
- package/lib/ProEnum/utils/eventCenter.js +0 -33
- package/lib/ProEnum/utils/frequentEnum.d.ts +0 -40
- package/lib/ProEnum/utils/frequentEnum.js +0 -165
- package/lib/ProEnum/utils/getEnumLabel.d.ts +0 -2
- package/lib/ProEnum/utils/getEnumLabel.js +0 -83
- package/lib/ProEnum/utils/index.d.ts +0 -69
- package/lib/ProEnum/utils/index.js +0 -406
- package/lib/ProForm/components/Container.d.ts +0 -9
- package/lib/ProForm/components/Container.js +0 -40
- package/lib/ProForm/components/FormFooter/index.d.ts +0 -5
- package/lib/ProForm/components/FormFooter/index.js +0 -98
- package/lib/ProForm/components/FormFooter/propsType.d.ts +0 -22
- package/lib/ProForm/components/FormFooter/propsType.js +0 -5
- package/lib/ProForm/components/base/Checkbox/index.d.ts +0 -14
- package/lib/ProForm/components/base/Checkbox/index.js +0 -88
- package/lib/ProForm/components/base/DatePicker/index.d.ts +0 -11
- package/lib/ProForm/components/base/DatePicker/index.js +0 -110
- package/lib/ProForm/components/base/DatePicker/useDateLimit.d.ts +0 -3
- package/lib/ProForm/components/base/DatePicker/useDateLimit.js +0 -23
- package/lib/ProForm/components/base/Input/index.d.ts +0 -3
- package/lib/ProForm/components/base/Input/index.js +0 -137
- package/lib/ProForm/components/base/Input/propsType.d.ts +0 -21
- package/lib/ProForm/components/base/Input/propsType.js +0 -5
- package/lib/ProForm/components/base/InputNumber/index.d.ts +0 -11
- package/lib/ProForm/components/base/InputNumber/index.js +0 -317
- package/lib/ProForm/components/base/Radio/index.d.ts +0 -15
- package/lib/ProForm/components/base/Radio/index.js +0 -78
- package/lib/ProForm/components/base/RangePicker/index.d.ts +0 -19
- package/lib/ProForm/components/base/RangePicker/index.js +0 -201
- package/lib/ProForm/components/base/RangePicker/useDateRange.d.ts +0 -15
- package/lib/ProForm/components/base/RangePicker/useDateRange.js +0 -45
- package/lib/ProForm/components/base/Select/index.d.ts +0 -11
- package/lib/ProForm/components/base/Select/index.js +0 -122
- package/lib/ProForm/components/base/Switch/index.d.ts +0 -10
- package/lib/ProForm/components/base/Switch/index.js +0 -53
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +0 -10
- package/lib/ProForm/components/base/SwitchCheckbox/index.js +0 -78
- package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +0 -13
- package/lib/ProForm/components/base/TextArea/index.d.ts +0 -11
- package/lib/ProForm/components/base/TextArea/index.js +0 -63
- package/lib/ProForm/components/base/TextArea/index.less +0 -28
- package/lib/ProForm/components/base/TimePicker/index.d.ts +0 -13
- package/lib/ProForm/components/base/TimePicker/index.js +0 -56
- package/lib/ProForm/components/base/TimePicker/style/index.less +0 -6
- package/lib/ProForm/components/combination/Container/index.d.ts +0 -4
- package/lib/ProForm/components/combination/Container/index.js +0 -79
- package/lib/ProForm/components/combination/Container/propsType.d.ts +0 -13
- package/lib/ProForm/components/combination/Container/propsType.js +0 -5
- package/lib/ProForm/components/combination/Container/style/index.less +0 -47
- package/lib/ProForm/components/combination/FormList/components/ActionButton.d.ts +0 -24
- package/lib/ProForm/components/combination/FormList/components/ActionButton.js +0 -378
- package/lib/ProForm/components/combination/FormList/components/BlockFields.d.ts +0 -23
- package/lib/ProForm/components/combination/FormList/components/BlockFields.js +0 -148
- package/lib/ProForm/components/combination/FormList/components/BlockTitle.d.ts +0 -13
- package/lib/ProForm/components/combination/FormList/components/BlockTitle.js +0 -36
- package/lib/ProForm/components/combination/FormList/components/Empty.d.ts +0 -13
- package/lib/ProForm/components/combination/FormList/components/Empty.js +0 -105
- package/lib/ProForm/components/combination/FormList/components/LineFields.d.ts +0 -20
- package/lib/ProForm/components/combination/FormList/components/LineFields.js +0 -108
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +0 -12
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +0 -186
- package/lib/ProForm/components/combination/FormList/index.d.ts +0 -4
- package/lib/ProForm/components/combination/FormList/index.js +0 -204
- package/lib/ProForm/components/combination/FormList/propsType.d.ts +0 -69
- package/lib/ProForm/components/combination/FormList/propsType.js +0 -5
- package/lib/ProForm/components/combination/FormList/style/index.less +0 -175
- package/lib/ProForm/components/combination/FormList/utils.d.ts +0 -18
- package/lib/ProForm/components/combination/FormList/utils.js +0 -60
- package/lib/ProForm/components/combination/Group/component/AddonWrapper/index.d.ts +0 -9
- package/lib/ProForm/components/combination/Group/component/AddonWrapper/index.js +0 -26
- package/lib/ProForm/components/combination/Group/component/AddonWrapper/index.less +0 -10
- package/lib/ProForm/components/combination/Group/component/ComRender.d.ts +0 -28
- package/lib/ProForm/components/combination/Group/component/ComRender.js +0 -165
- package/lib/ProForm/components/combination/Group/component/FlexibleGroup.d.ts +0 -10
- package/lib/ProForm/components/combination/Group/component/FlexibleGroup.js +0 -414
- package/lib/ProForm/components/combination/Group/hooks/index.d.ts +0 -34
- package/lib/ProForm/components/combination/Group/hooks/index.js +0 -284
- package/lib/ProForm/components/combination/Group/index.d.ts +0 -9
- package/lib/ProForm/components/combination/Group/index.js +0 -202
- package/lib/ProForm/components/combination/Group/propsType.d.ts +0 -99
- package/lib/ProForm/components/combination/Group/propsType.js +0 -5
- package/lib/ProForm/components/combination/Group/style/index.less +0 -525
- package/lib/ProForm/components/combination/Group/utils/index.d.ts +0 -154
- package/lib/ProForm/components/combination/Group/utils/index.js +0 -444
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +0 -4
- package/lib/ProForm/components/combination/ProCascader/index.js +0 -373
- package/lib/ProForm/components/combination/ProCascader/propsType.d.ts +0 -48
- package/lib/ProForm/components/combination/ProCascader/propsType.js +0 -5
- package/lib/ProForm/components/combination/ProCascader/style/index.less +0 -28
- package/lib/ProForm/components/combination/ProCascader/utils/index.d.ts +0 -14
- package/lib/ProForm/components/combination/ProCascader/utils/index.js +0 -43
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.d.ts +0 -33
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +0 -167
- package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +0 -4
- package/lib/ProForm/components/combination/ProModalSelect/index.js +0 -885
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +0 -106
- package/lib/ProForm/components/combination/ProModalSelect/propsType.js +0 -5
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +0 -182
- package/lib/ProForm/components/combination/ProModalSelect/utils/index.d.ts +0 -1
- package/lib/ProForm/components/combination/ProModalSelect/utils/index.js +0 -32
- package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +0 -4
- package/lib/ProForm/components/combination/ProNumberRange/index.js +0 -270
- package/lib/ProForm/components/combination/ProNumberRange/propsType.d.ts +0 -85
- package/lib/ProForm/components/combination/ProNumberRange/propsType.js +0 -5
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +0 -50
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +0 -4
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +0 -228
- package/lib/ProForm/components/combination/ProRangeLimit/propsType.d.ts +0 -23
- package/lib/ProForm/components/combination/ProRangeLimit/propsType.js +0 -5
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +0 -9
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +0 -49
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +0 -33
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +0 -189
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +0 -99
- package/lib/ProForm/components/index.d.ts +0 -29
- package/lib/ProForm/components/index.js +0 -194
- package/lib/ProForm/components/render/ChangedWrapper.d.ts +0 -17
- package/lib/ProForm/components/render/ChangedWrapper.js +0 -152
- package/lib/ProForm/components/render/ConfirmWrapper.d.ts +0 -10
- package/lib/ProForm/components/render/ConfirmWrapper.js +0 -135
- package/lib/ProForm/components/render/CustomComponentViewWrapper.d.ts +0 -30
- package/lib/ProForm/components/render/CustomComponentViewWrapper.js +0 -127
- package/lib/ProForm/components/render/Render.d.ts +0 -4
- package/lib/ProForm/components/render/Render.js +0 -590
- package/lib/ProForm/components/render/RenderFields.d.ts +0 -26
- package/lib/ProForm/components/render/RenderFields.js +0 -265
- package/lib/ProForm/components/render/propsType.d.ts +0 -296
- package/lib/ProForm/components/render/propsType.js +0 -31
- package/lib/ProForm/index.d.ts +0 -6
- package/lib/ProForm/index.js +0 -334
- package/lib/ProForm/propsType.d.ts +0 -131
- package/lib/ProForm/propsType.js +0 -13
- package/lib/ProForm/style/index.less +0 -567
- package/lib/ProForm/utils/diffOriginal.d.ts +0 -10
- package/lib/ProForm/utils/diffOriginal.js +0 -129
- package/lib/ProForm/utils/getDefaultProps.d.ts +0 -1
- package/lib/ProForm/utils/getDefaultProps.js +0 -39
- package/lib/ProForm/utils/index.d.ts +0 -119
- package/lib/ProForm/utils/index.js +0 -544
- package/lib/ProForm/utils/processDependencies.d.ts +0 -29
- package/lib/ProForm/utils/processDependencies.js +0 -72
- package/lib/ProForm/utils/rulesCreator.d.ts +0 -7
- package/lib/ProForm/utils/rulesCreator.js +0 -96
- package/lib/ProForm/utils/transformNames.d.ts +0 -10
- package/lib/ProForm/utils/transformNames.js +0 -39
- package/lib/ProForm/utils/transformValue.d.ts +0 -6
- package/lib/ProForm/utils/transformValue.js +0 -73
- package/lib/ProForm/utils/useDeepCompareMemo.d.ts +0 -2
- package/lib/ProForm/utils/useDeepCompareMemo.js +0 -23
- package/lib/ProForm/utils/useFieldProps.d.ts +0 -4
- package/lib/ProForm/utils/useFieldProps.js +0 -13
- package/lib/ProForm/utils/useForm.d.ts +0 -22
- package/lib/ProForm/utils/useForm.js +0 -276
- package/lib/ProForm/utils/useRules.d.ts +0 -16
- package/lib/ProForm/utils/useRules.js +0 -86
- package/lib/ProForm/utils/useShouldUpdate.d.ts +0 -27
- package/lib/ProForm/utils/useShouldUpdate.js +0 -399
- package/lib/ProForm/utils/useWatch.d.ts +0 -12
- package/lib/ProForm/utils/useWatch.js +0 -196
- package/lib/ProForm/utils/valueType.d.ts +0 -70
- package/lib/ProForm/utils/valueType.js +0 -323
- package/lib/ProIcon/config/index.d.ts +0 -19
- package/lib/ProIcon/config/index.js +0 -281
- package/lib/ProIcon/index.d.ts +0 -4
- package/lib/ProIcon/index.js +0 -405
- package/lib/ProIcon/propsTypes.d.ts +0 -181
- package/lib/ProIcon/propsTypes.js +0 -5
- package/lib/ProIcon/style/index.less +0 -27
- package/lib/ProIcon/utils/index.d.ts +0 -6
- package/lib/ProIcon/utils/index.js +0 -95
- package/lib/ProLayout/components/Layout/Header/index.d.ts +0 -4
- package/lib/ProLayout/components/Layout/Header/index.js +0 -188
- package/lib/ProLayout/components/Layout/Header/style/index.less +0 -277
- package/lib/ProLayout/components/Layout/Icon/Icon.d.ts +0 -10
- package/lib/ProLayout/components/Layout/Icon/Icon.js +0 -41
- package/lib/ProLayout/components/Layout/Icon/index.d.ts +0 -2
- package/lib/ProLayout/components/Layout/Icon/index.js +0 -9
- package/lib/ProLayout/components/Layout/Icon/style/index.less +0 -7
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/index.d.ts +0 -3
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/index.js +0 -212
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +0 -111
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +0 -3
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +0 -214
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/propsType.d.ts +0 -15
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/propsType.js +0 -5
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +0 -177
- package/lib/ProLayout/components/Layout/Menu/SideMenu/index.d.ts +0 -3
- package/lib/ProLayout/components/Layout/Menu/SideMenu/index.js +0 -47
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +0 -124
- package/lib/ProLayout/components/Layout/Menu/index.d.ts +0 -4
- package/lib/ProLayout/components/Layout/Menu/index.js +0 -178
- package/lib/ProLayout/components/Layout/Menu/style/index.less +0 -136
- package/lib/ProLayout/components/Layout/Notice/index.d.ts +0 -4
- package/lib/ProLayout/components/Layout/Notice/index.js +0 -37
- package/lib/ProLayout/components/Layout/Notice/style/index.less +0 -37
- package/lib/ProLayout/components/Layout/index.d.ts +0 -4
- package/lib/ProLayout/components/Layout/index.js +0 -34
- package/lib/ProLayout/components/Layout/index.less +0 -4
- package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +0 -98
- package/lib/ProLayout/components/ProCollapse/PropTypes.js +0 -5
- package/lib/ProLayout/components/ProCollapse/index.d.ts +0 -3
- package/lib/ProLayout/components/ProCollapse/index.js +0 -200
- package/lib/ProLayout/components/ProCollapse/style/index.less +0 -357
- package/lib/ProLayout/components/ProFooter/PropTypes.d.ts +0 -27
- package/lib/ProLayout/components/ProFooter/PropTypes.js +0 -5
- package/lib/ProLayout/components/ProFooter/index.d.ts +0 -4
- package/lib/ProLayout/components/ProFooter/index.js +0 -59
- package/lib/ProLayout/components/ProFooter/style/index.less +0 -12
- package/lib/ProLayout/components/ProHeader/PropTypes.d.ts +0 -206
- package/lib/ProLayout/components/ProHeader/PropTypes.js +0 -5
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +0 -4
- package/lib/ProLayout/components/ProHeader/components/Copy/index.js +0 -29
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/index.d.ts +0 -9
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/index.js +0 -35
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/propsType.d.ts +0 -4
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/propsType.js +0 -5
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +0 -23
- package/lib/ProLayout/components/ProHeader/components/index.d.ts +0 -2
- package/lib/ProLayout/components/ProHeader/components/index.js +0 -20
- package/lib/ProLayout/components/ProHeader/index.d.ts +0 -4
- package/lib/ProLayout/components/ProHeader/index.js +0 -559
- package/lib/ProLayout/components/ProHeader/style/index.less +0 -416
- package/lib/ProLayout/components/ProHeader/utils/index.d.ts +0 -5
- package/lib/ProLayout/components/ProHeader/utils/index.js +0 -21
- package/lib/ProLayout/components/TabsManager/components/TabContextMenu.d.ts +0 -7
- package/lib/ProLayout/components/TabsManager/components/TabContextMenu.js +0 -106
- package/lib/ProLayout/components/TabsManager/components/TabItem.d.ts +0 -26
- package/lib/ProLayout/components/TabsManager/components/TabItem.js +0 -75
- package/lib/ProLayout/components/TabsManager/components/TabsContext.d.ts +0 -6
- package/lib/ProLayout/components/TabsManager/components/TabsContext.js +0 -11
- package/lib/ProLayout/components/TabsManager/components/TabsHeader.d.ts +0 -12
- package/lib/ProLayout/components/TabsManager/components/TabsHeader.js +0 -58
- package/lib/ProLayout/components/TabsManager/hooks/useActiveTab.d.ts +0 -6
- package/lib/ProLayout/components/TabsManager/hooks/useActiveTab.js +0 -20
- package/lib/ProLayout/components/TabsManager/hooks/useProLayoutTabs.d.ts +0 -18
- package/lib/ProLayout/components/TabsManager/hooks/useProLayoutTabs.js +0 -31
- package/lib/ProLayout/components/TabsManager/hooks/useTabsCache.d.ts +0 -31
- package/lib/ProLayout/components/TabsManager/hooks/useTabsCache.js +0 -103
- package/lib/ProLayout/components/TabsManager/hooks/useTabsState.d.ts +0 -5
- package/lib/ProLayout/components/TabsManager/hooks/useTabsState.js +0 -417
- package/lib/ProLayout/components/TabsManager/index.d.ts +0 -7
- package/lib/ProLayout/components/TabsManager/index.js +0 -196
- package/lib/ProLayout/components/TabsManager/propTypes.d.ts +0 -75
- package/lib/ProLayout/components/TabsManager/propTypes.js +0 -21
- package/lib/ProLayout/components/TabsManager/style/index.less +0 -310
- package/lib/ProLayout/components/TabsManager/utils/index.d.ts +0 -41
- package/lib/ProLayout/components/TabsManager/utils/index.js +0 -126
- package/lib/ProLayout/components/index.d.ts +0 -3
- package/lib/ProLayout/components/index.js +0 -27
- package/lib/ProLayout/images/close.png +0 -0
- package/lib/ProLayout/images/logoImg.png +0 -0
- package/lib/ProLayout/images/tipMsg.png +0 -0
- package/lib/ProLayout/index.d.ts +0 -20
- package/lib/ProLayout/index.js +0 -285
- package/lib/ProLayout/propTypes.d.ts +0 -435
- package/lib/ProLayout/propTypes.js +0 -46
- package/lib/ProLayout/style/index.less +0 -344
- package/lib/ProLayout/utils/index.d.ts +0 -43
- package/lib/ProLayout/utils/index.js +0 -278
- package/lib/ProSelect/components/AdaptiveTooltip.d.ts +0 -4
- package/lib/ProSelect/components/AdaptiveTooltip.js +0 -54
- package/lib/ProSelect/index.d.ts +0 -5
- package/lib/ProSelect/index.js +0 -524
- package/lib/ProSelect/propsType.d.ts +0 -160
- package/lib/ProSelect/propsType.js +0 -5
- package/lib/ProSelect/style/index.less +0 -21
- package/lib/ProSelect/utils/index.d.ts +0 -4
- package/lib/ProSelect/utils/index.js +0 -146
- package/lib/ProStep/components/Anchor/index.d.ts +0 -4
- package/lib/ProStep/components/Anchor/index.js +0 -117
- package/lib/ProStep/components/Item/index.d.ts +0 -3
- package/lib/ProStep/components/Item/index.js +0 -104
- package/lib/ProStep/components/Listener/index.d.ts +0 -4
- package/lib/ProStep/components/Listener/index.js +0 -80
- package/lib/ProStep/components/Step/index.d.ts +0 -5
- package/lib/ProStep/components/Step/index.js +0 -99
- package/lib/ProStep/index.d.ts +0 -11
- package/lib/ProStep/index.js +0 -266
- package/lib/ProStep/propsType.d.ts +0 -222
- package/lib/ProStep/propsType.js +0 -5
- package/lib/ProStep/style/index.less +0 -220
- package/lib/ProStep/utils/index.d.ts +0 -22
- package/lib/ProStep/utils/index.js +0 -78
- package/lib/ProStepTab/index.d.ts +0 -22
- package/lib/ProStepTab/index.js +0 -384
- package/lib/ProStepTab/propsType.d.ts +0 -114
- package/lib/ProStepTab/propsType.js +0 -5
- package/lib/ProTable/components/FormatColumn/index.d.ts +0 -20
- package/lib/ProTable/components/FormatColumn/index.js +0 -699
- package/lib/ProTable/components/FormatColumn/propsType.d.ts +0 -29
- package/lib/ProTable/components/FormatColumn/propsType.js +0 -5
- package/lib/ProTable/components/RcTable/components/BaseTable/index.d.ts +0 -10
- package/lib/ProTable/components/RcTable/components/BaseTable/index.js +0 -49
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +0 -18
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.js +0 -205
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.d.ts +0 -8
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/index.js +0 -182
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/propsType.d.ts +0 -61
- package/lib/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/utils/propsType.js +0 -5
- package/lib/ProTable/components/RcTable/components/DraggableTable/index.d.ts +0 -10
- package/lib/ProTable/components/RcTable/components/DraggableTable/index.js +0 -65
- package/lib/ProTable/components/RcTable/index.d.ts +0 -4
- package/lib/ProTable/components/RcTable/index.js +0 -20
- package/lib/ProTable/components/RenderColumn/index.d.ts +0 -22
- package/lib/ProTable/components/RenderColumn/index.js +0 -278
- package/lib/ProTable/components/RenderEmptyText/index.d.ts +0 -3
- package/lib/ProTable/components/RenderEmptyText/index.js +0 -28
- package/lib/ProTable/components/RenderFooter/index.d.ts +0 -2
- package/lib/ProTable/components/RenderFooter/index.js +0 -20
- package/lib/ProTable/components/RenderSummary/index.d.ts +0 -3
- package/lib/ProTable/components/RenderSummary/index.js +0 -60
- package/lib/ProTable/components/RenderTableHeader/index.d.ts +0 -2
- package/lib/ProTable/components/RenderTableHeader/index.js +0 -67
- package/lib/ProTable/components/RenderTabs/index.d.ts +0 -4
- package/lib/ProTable/components/RenderTabs/index.js +0 -97
- package/lib/ProTable/components/TableResizable/index.d.ts +0 -13
- package/lib/ProTable/components/TableResizable/index.js +0 -109
- package/lib/ProTable/components/TooltipTitle/index.d.ts +0 -11
- package/lib/ProTable/components/TooltipTitle/index.js +0 -26
- package/lib/ProTable/components/index.d.ts +0 -30
- package/lib/ProTable/components/index.js +0 -48
- package/lib/ProTable/hooks/useAntdTable.d.ts +0 -7
- package/lib/ProTable/hooks/useAntdTable.js +0 -581
- package/lib/ProTable/index.d.ts +0 -16
- package/lib/ProTable/index.js +0 -476
- package/lib/ProTable/propsType.d.ts +0 -757
- package/lib/ProTable/propsType.js +0 -5
- package/lib/ProTable/style/index.less +0 -644
- package/lib/ProTable/utils/index.d.ts +0 -38
- package/lib/ProTable/utils/index.js +0 -142
- package/lib/ProTabs/components/Card/index.d.ts +0 -3
- package/lib/ProTabs/components/Card/index.js +0 -54
- package/lib/ProTabs/components/index.d.ts +0 -1
- package/lib/ProTabs/components/index.js +0 -13
- package/lib/ProTabs/index.d.ts +0 -4
- package/lib/ProTabs/index.js +0 -138
- package/lib/ProTabs/propType.d.ts +0 -94
- package/lib/ProTabs/propType.js +0 -5
- package/lib/ProTabs/style/index.less +0 -157
- package/lib/ProThemeTools/component/ProTools/index.d.ts +0 -3
- package/lib/ProThemeTools/component/ProTools/index.js +0 -301
- package/lib/ProThemeTools/component/ProTools/style/index.less +0 -178
- package/lib/ProThemeTools/component/index.d.ts +0 -1
- package/lib/ProThemeTools/component/index.js +0 -13
- package/lib/ProThemeTools/context/ThemeContext.d.ts +0 -43
- package/lib/ProThemeTools/context/ThemeContext.js +0 -291
- package/lib/ProThemeTools/index.d.ts +0 -9
- package/lib/ProThemeTools/index.js +0 -302
- package/lib/ProThemeTools/propsType.d.ts +0 -170
- package/lib/ProThemeTools/propsType.js +0 -5
- package/lib/ProThemeTools/style/index.less +0 -74
- package/lib/ProThemeTools/utils/index.d.ts +0 -51
- package/lib/ProThemeTools/utils/index.js +0 -261
- package/lib/ProTooltip/index.d.ts +0 -3
- package/lib/ProTooltip/index.js +0 -309
- package/lib/ProTooltip/propsType.d.ts +0 -57
- package/lib/ProTooltip/propsType.js +0 -5
- package/lib/ProTooltip/style/index.less +0 -34
- package/lib/ProTree/components/AdaptiveTooltip.d.ts +0 -4
- package/lib/ProTree/components/AdaptiveTooltip.js +0 -23
- package/lib/ProTree/components/CloseIcon.d.ts +0 -2
- package/lib/ProTree/components/CloseIcon.js +0 -38
- package/lib/ProTree/components/List.d.ts +0 -17
- package/lib/ProTree/components/List.js +0 -79
- package/lib/ProTree/components/ProTree.d.ts +0 -3
- package/lib/ProTree/components/ProTree.js +0 -505
- package/lib/ProTree/components/ProTreeSelect/index.d.ts +0 -5
- package/lib/ProTree/components/ProTreeSelect/index.js +0 -770
- package/lib/ProTree/components/ProTreeSelect/propsType.d.ts +0 -439
- package/lib/ProTree/components/ProTreeSelect/propsType.js +0 -5
- package/lib/ProTree/components/ProTreeSelect/style/index.less +0 -119
- package/lib/ProTree/components/SearchTitle.d.ts +0 -11
- package/lib/ProTree/components/SearchTitle.js +0 -60
- package/lib/ProTree/components/Tree.d.ts +0 -27
- package/lib/ProTree/components/Tree.js +0 -393
- package/lib/ProTree/components/index.d.ts +0 -4
- package/lib/ProTree/components/index.js +0 -34
- package/lib/ProTree/index.d.ts +0 -3
- package/lib/ProTree/index.js +0 -30
- package/lib/ProTree/propsType.d.ts +0 -812
- package/lib/ProTree/propsType.js +0 -5
- package/lib/ProTree/style/index.less +0 -393
- package/lib/ProTree/utils.d.ts +0 -43
- package/lib/ProTree/utils.js +0 -221
- package/lib/ProTreeModal/components/Cascader.d.ts +0 -14
- package/lib/ProTreeModal/components/Cascader.js +0 -110
- package/lib/ProTreeModal/components/CloseIcon.d.ts +0 -2
- package/lib/ProTreeModal/components/CloseIcon.js +0 -38
- package/lib/ProTreeModal/components/List.d.ts +0 -21
- package/lib/ProTreeModal/components/List.js +0 -294
- package/lib/ProTreeModal/components/SearchTitle.d.ts +0 -7
- package/lib/ProTreeModal/components/SearchTitle.js +0 -27
- package/lib/ProTreeModal/components/SortableItem.d.ts +0 -12
- package/lib/ProTreeModal/components/SortableItem.js +0 -80
- package/lib/ProTreeModal/components/Tree.d.ts +0 -25
- package/lib/ProTreeModal/components/Tree.js +0 -241
- package/lib/ProTreeModal/components/Trigger.d.ts +0 -21
- package/lib/ProTreeModal/components/Trigger.js +0 -195
- package/lib/ProTreeModal/components/index.d.ts +0 -6
- package/lib/ProTreeModal/components/index.js +0 -48
- package/lib/ProTreeModal/index.d.ts +0 -4
- package/lib/ProTreeModal/index.js +0 -837
- package/lib/ProTreeModal/propsType.d.ts +0 -298
- package/lib/ProTreeModal/propsType.js +0 -5
- package/lib/ProTreeModal/style/index.less +0 -414
- package/lib/ProTreeModal/utils.d.ts +0 -39
- package/lib/ProTreeModal/utils.js +0 -243
- package/lib/ProUpload/components/ButtonRender.d.ts +0 -20
- package/lib/ProUpload/components/ButtonRender.js +0 -114
- package/lib/ProUpload/components/DragRender.d.ts +0 -21
- package/lib/ProUpload/components/DragRender.js +0 -196
- package/lib/ProUpload/components/DraggableUploadListItem.d.ts +0 -2
- package/lib/ProUpload/components/DraggableUploadListItem.js +0 -42
- package/lib/ProUpload/components/Example.d.ts +0 -10
- package/lib/ProUpload/components/Example.js +0 -61
- package/lib/ProUpload/components/FileItem.d.ts +0 -33
- package/lib/ProUpload/components/FileItem.js +0 -238
- package/lib/ProUpload/components/ImageRender.d.ts +0 -19
- package/lib/ProUpload/components/ImageRender.js +0 -279
- package/lib/ProUpload/index.d.ts +0 -4
- package/lib/ProUpload/index.js +0 -311
- package/lib/ProUpload/propsType.d.ts +0 -264
- package/lib/ProUpload/propsType.js +0 -5
- 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 +0 -480
- package/lib/ProUpload/uitls.d.ts +0 -3
- package/lib/ProUpload/uitls.js +0 -22
- package/lib/ProUtils/utils/index.d.ts +0 -6
- package/lib/ProUtils/utils/index.js +0 -26
- package/lib/ProViewer/index.d.ts +0 -4
- package/lib/ProViewer/index.js +0 -229
- package/lib/ProViewer/propsType.d.ts +0 -35
- package/lib/ProViewer/propsType.js +0 -3
- package/lib/ProViewer/style/index.less +0 -10
- package/lib/ProWaterMark/index.d.ts +0 -4
- package/lib/ProWaterMark/index.js +0 -26
- package/lib/ProWaterMark/propsType.d.ts +0 -6
- package/lib/ProWaterMark/propsType.js +0 -5
- package/lib/assets/apps.svg +0 -23
- package/lib/assets/arrow.svg +0 -1
- package/lib/assets/catalog.svg +0 -30
- package/lib/assets/close.svg +0 -1
- package/lib/assets/close2.svg +0 -1
- package/lib/assets/copy.svg +0 -1
- package/lib/assets/customColumn.svg +0 -2
- package/lib/assets/delete.svg +0 -1
- package/lib/assets/disabled.svg +0 -18
- package/lib/assets/download.svg +0 -1
- package/lib/assets/drag.svg +0 -1
- package/lib/assets/empty.png +0 -0
- package/lib/assets/fold.svg +0 -27
- package/lib/assets/header_bg.png +0 -0
- package/lib/assets/input-search.svg +0 -11
- package/lib/assets/look.svg +0 -1
- package/lib/assets/reset.svg +0 -11
- package/lib/assets/search.svg +0 -1
- package/lib/assets/setting.svg +0 -14
- package/lib/assets/view.svg +0 -20
- package/lib/global.less +0 -57
- package/lib/index.d.ts +0 -47
- package/lib/index.js +0 -276
- package/lib/locale/en_US.d.ts +0 -176
- package/lib/locale/en_US.js +0 -181
- package/lib/locale/index.d.ts +0 -15
- package/lib/locale/index.js +0 -65
- package/lib/locale/zh_CN.d.ts +0 -176
- package/lib/locale/zh_CN.js +0 -181
- package/lib/style/components.less +0 -27
- package/lib/style/core/compatible.less +0 -5
- package/lib/style/core/index.less +0 -3
- package/lib/style/core/mixins.less +0 -77
- package/lib/style/core/normalize.less +0 -251
- package/lib/style/index.less +0 -2
- package/lib/style/less.less +0 -2
- package/lib/style/theme/antd.less +0 -743
- package/lib/style/theme/base.less +0 -90
- package/lib/style/theme/index.less +0 -2
- package/lib/style/theme/tokens.less +0 -90
- package/lib/style/variables.less +0 -2
- package/lib/tokens.d.ts +0 -83
- package/lib/tokens.js +0 -91
- package/lib/utils/index.d.ts +0 -21
- package/lib/utils/index.js +0 -116
- package/typings.d.ts +0 -17
|
@@ -1,812 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Service, Options, Result } from 'ahooks/lib/useRequest/src/types';
|
|
3
|
-
import type { TreeSelectProps } from 'antd';
|
|
4
|
-
import type { ProFormOtherType } from '../ProForm/propsType';
|
|
5
|
-
/**
|
|
6
|
-
* 树数据结构
|
|
7
|
-
* @description 定义树节点的数据结构
|
|
8
|
-
*/
|
|
9
|
-
export interface ProTreeDataType {
|
|
10
|
-
/**
|
|
11
|
-
* 节点标签
|
|
12
|
-
* @description 显示的节点文本
|
|
13
|
-
* @default undefined
|
|
14
|
-
*/
|
|
15
|
-
label?: string;
|
|
16
|
-
/**
|
|
17
|
-
* 节点值
|
|
18
|
-
* @description 节点的唯一标识
|
|
19
|
-
* @default undefined
|
|
20
|
-
*/
|
|
21
|
-
value?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 子节点
|
|
24
|
-
* @description 当前节点的子节点数组
|
|
25
|
-
* @default undefined
|
|
26
|
-
*/
|
|
27
|
-
children?: ProTreeDataType[];
|
|
28
|
-
/**
|
|
29
|
-
* 自定义属性
|
|
30
|
-
* @description 可添加任意其他属性
|
|
31
|
-
* @default undefined
|
|
32
|
-
*/
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}
|
|
35
|
-
type ProTreeValueType = string | number;
|
|
36
|
-
type ProTreeKeyType = string | number;
|
|
37
|
-
/**
|
|
38
|
-
* 字段名称映射
|
|
39
|
-
* @description 定义树节点字段的映射关系
|
|
40
|
-
*/
|
|
41
|
-
export interface ProTreeFieldNamesType {
|
|
42
|
-
/**
|
|
43
|
-
* 标签字段名
|
|
44
|
-
* @description 指定节点标签的属性名
|
|
45
|
-
* @default 'label'
|
|
46
|
-
*/
|
|
47
|
-
label?: string;
|
|
48
|
-
/**
|
|
49
|
-
* 值字段名
|
|
50
|
-
* @description 指定节点值的属性名
|
|
51
|
-
* @default 'value'
|
|
52
|
-
*/
|
|
53
|
-
value: string;
|
|
54
|
-
/**
|
|
55
|
-
* 子节点字段名
|
|
56
|
-
* @description 指定子节点的属性名
|
|
57
|
-
* @default 'children'
|
|
58
|
-
*/
|
|
59
|
-
children?: string;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* ProTree组件属性
|
|
63
|
-
* @description ProTree组件的主要配置属性
|
|
64
|
-
*/
|
|
65
|
-
export interface ProTreeType extends ProTreeSelectType {
|
|
66
|
-
/**
|
|
67
|
-
* 树标题
|
|
68
|
-
* @description 树组件的标题
|
|
69
|
-
* @default undefined
|
|
70
|
-
*/
|
|
71
|
-
title?: string;
|
|
72
|
-
/**
|
|
73
|
-
* 选中值
|
|
74
|
-
* @description 当前选中的节点值
|
|
75
|
-
* @default undefined
|
|
76
|
-
*/
|
|
77
|
-
value?: ProTreeValueType | string[];
|
|
78
|
-
/**
|
|
79
|
-
* 选中值
|
|
80
|
-
* @description 选中的树节点value
|
|
81
|
-
* @default undefined
|
|
82
|
-
*/
|
|
83
|
-
checkedValues?: any;
|
|
84
|
-
/**
|
|
85
|
-
* 是否展示展开全部按钮
|
|
86
|
-
* @description 是否展示展开全部按钮,控制展开功能的显示
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
showExpand?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* 字段名称映射
|
|
92
|
-
* @description 自定义节点的字段名称映射
|
|
93
|
-
* @default { label: 'label', value: 'value', children: 'children' }
|
|
94
|
-
*/
|
|
95
|
-
fieldNames?: ProTreeFieldNamesType;
|
|
96
|
-
/**
|
|
97
|
-
* 是否展开下拉菜单
|
|
98
|
-
* @description 控制下拉菜单是否展开
|
|
99
|
-
* @default undefined
|
|
100
|
-
*/
|
|
101
|
-
open?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* 展示类型
|
|
104
|
-
* @description 组件的展示模式
|
|
105
|
-
* @default 'treeSelect'
|
|
106
|
-
*/
|
|
107
|
-
mode?: 'tree' | 'list' | 'treeSelect';
|
|
108
|
-
/**
|
|
109
|
-
* 值包含标签
|
|
110
|
-
* @description 开启后提交给后端的格式为 [{ label:xx, value: ""}]
|
|
111
|
-
* @default false
|
|
112
|
-
*/
|
|
113
|
-
labelInValue?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* 查看模式
|
|
116
|
-
* @description 是否为查看模式,与 disabled 效果相同
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
isView?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* 枚举代码
|
|
122
|
-
* @description 使用 ProEnum 的数据源
|
|
123
|
-
* @default undefined
|
|
124
|
-
*/
|
|
125
|
-
code?: string;
|
|
126
|
-
/**
|
|
127
|
-
* 显示代码名称
|
|
128
|
-
* @description 是否展示 code-label 形式
|
|
129
|
-
* @default false
|
|
130
|
-
*/
|
|
131
|
-
showCodeName?: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* 显示搜索框
|
|
134
|
-
* @description 是否展示搜索输入框
|
|
135
|
-
* @default false
|
|
136
|
-
*/
|
|
137
|
-
showSearch?: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* 数据源
|
|
140
|
-
* @description 静态数据源
|
|
141
|
-
* @default []
|
|
142
|
-
*/
|
|
143
|
-
dataSource?: ProTreeDataType[];
|
|
144
|
-
/**
|
|
145
|
-
* 是否禁用
|
|
146
|
-
* @description 禁用整个组件
|
|
147
|
-
* @default false
|
|
148
|
-
*/
|
|
149
|
-
disabled?: boolean;
|
|
150
|
-
/**
|
|
151
|
-
* 禁用模式
|
|
152
|
-
* @description 复选模式下只读是否全显示节点,hide--隐藏未勾选
|
|
153
|
-
* @default undefined
|
|
154
|
-
*/
|
|
155
|
-
disabledMode?: string;
|
|
156
|
-
/**
|
|
157
|
-
* 全选值
|
|
158
|
-
* @description 全选时传给后端的标识
|
|
159
|
-
* @default undefined
|
|
160
|
-
*/
|
|
161
|
-
allValue?: string | number;
|
|
162
|
-
/**
|
|
163
|
-
* 占位提示
|
|
164
|
-
* @description 提示语,treeSelect时使用
|
|
165
|
-
* @default undefined
|
|
166
|
-
*/
|
|
167
|
-
placeholder?: string;
|
|
168
|
-
/**
|
|
169
|
-
* 严格选择
|
|
170
|
-
* @description 父子节点选中状态不再关联
|
|
171
|
-
* @default false
|
|
172
|
-
*/
|
|
173
|
-
checkStrictly?: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* 页脚
|
|
176
|
-
* @description 树底部操作项
|
|
177
|
-
* @default undefined
|
|
178
|
-
*/
|
|
179
|
-
footer?: ReactNode;
|
|
180
|
-
/**
|
|
181
|
-
* 树高度
|
|
182
|
-
* @description 树容器高度
|
|
183
|
-
* @default undefined
|
|
184
|
-
*/
|
|
185
|
-
height?: string;
|
|
186
|
-
/**
|
|
187
|
-
* 显示省略号
|
|
188
|
-
* @description 树节点文本超长是否展示省略号
|
|
189
|
-
* @default false
|
|
190
|
-
*/
|
|
191
|
-
showEllipse?: boolean;
|
|
192
|
-
/**
|
|
193
|
-
* 省略宽度
|
|
194
|
-
* @description 树节点文本宽度
|
|
195
|
-
* @default undefined
|
|
196
|
-
*/
|
|
197
|
-
ellipseWidth?: string;
|
|
198
|
-
/**
|
|
199
|
-
* 值变化回调
|
|
200
|
-
* @description value 改变的回调
|
|
201
|
-
* @default undefined
|
|
202
|
-
*/
|
|
203
|
-
onChange?: (value: any, labelList?: ReactNode[], extra?: any) => void;
|
|
204
|
-
/**
|
|
205
|
-
* 选择回调
|
|
206
|
-
* @description 点击树节点触发
|
|
207
|
-
* @default undefined
|
|
208
|
-
*/
|
|
209
|
-
onSelect?: (values: string[] | ProTreeValueType, info?: any) => any;
|
|
210
|
-
/**
|
|
211
|
-
* 勾选回调
|
|
212
|
-
* @description 复选情况下点击checkbox触发,参照antd
|
|
213
|
-
* @default undefined
|
|
214
|
-
*/
|
|
215
|
-
onCheck?: (values: string[] | ProTreeValueType, info?: any) => any;
|
|
216
|
-
/**
|
|
217
|
-
* 展开回调
|
|
218
|
-
* @description 展开/收起节点时触发
|
|
219
|
-
* @default undefined
|
|
220
|
-
*/
|
|
221
|
-
onExpand?: (newExpandedKeys: React.Key[], nextPara: {
|
|
222
|
-
expanded: boolean;
|
|
223
|
-
node: ProTreeDataOptionType;
|
|
224
|
-
nativeEvent: PointerEvent;
|
|
225
|
-
}) => void;
|
|
226
|
-
/**
|
|
227
|
-
* 自定义渲染
|
|
228
|
-
* @description 自定义展示内容
|
|
229
|
-
* @default undefined
|
|
230
|
-
*/
|
|
231
|
-
optionRender?: (item: any, searchStr: string) => string | ReactNode;
|
|
232
|
-
/**
|
|
233
|
-
* 响应数据转换
|
|
234
|
-
* @description 对后台返回数据进行格式化
|
|
235
|
-
* @default undefined
|
|
236
|
-
*/
|
|
237
|
-
transformResponse?: (data: any) => ProTreeDataType[];
|
|
238
|
-
/**
|
|
239
|
-
* 标签集合
|
|
240
|
-
* @description 标签集合
|
|
241
|
-
* @default undefined
|
|
242
|
-
*/
|
|
243
|
-
tags?: string[];
|
|
244
|
-
/**
|
|
245
|
-
* 其他属性
|
|
246
|
-
* @description 表单其他配置属性
|
|
247
|
-
* @default undefined
|
|
248
|
-
*/
|
|
249
|
-
otherProps?: ProFormOtherType;
|
|
250
|
-
/**
|
|
251
|
-
* 远程请求
|
|
252
|
-
* @description 远程请求接口配置
|
|
253
|
-
* @default undefined
|
|
254
|
-
*/
|
|
255
|
-
useRequest?: {
|
|
256
|
-
service: Service<any, any>;
|
|
257
|
-
options?: Options<any, any>;
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* 菜单配置
|
|
261
|
-
* @description 自定义配置操作按钮函数,返回react node节点
|
|
262
|
-
* @default undefined
|
|
263
|
-
*/
|
|
264
|
-
menu?: (key: ProTreeKeyType, item?: any) => ReactNode[];
|
|
265
|
-
/**
|
|
266
|
-
* 是否加载中
|
|
267
|
-
* @description 点击树节点是否开启loading遮罩
|
|
268
|
-
* @default false
|
|
269
|
-
*/
|
|
270
|
-
loading?: boolean;
|
|
271
|
-
/**
|
|
272
|
-
* 显示连接线
|
|
273
|
-
* @description 是否显示连接线
|
|
274
|
-
* @default false
|
|
275
|
-
*/
|
|
276
|
-
showLine?: boolean;
|
|
277
|
-
/**
|
|
278
|
-
* 自定义类名
|
|
279
|
-
* @description 自定义CSS类名
|
|
280
|
-
* @default undefined
|
|
281
|
-
*/
|
|
282
|
-
className?: string;
|
|
283
|
-
/**
|
|
284
|
-
* 是否多选
|
|
285
|
-
* @description 是否支持多选
|
|
286
|
-
* @default false
|
|
287
|
-
*/
|
|
288
|
-
multiple?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* 自动展开父节点
|
|
291
|
-
* @description 是否自动展开父节点
|
|
292
|
-
* @default true
|
|
293
|
-
*/
|
|
294
|
-
autoExpandParent?: boolean;
|
|
295
|
-
/**
|
|
296
|
-
* 可勾选
|
|
297
|
-
* @description 节点前添加 Checkbox 复选框
|
|
298
|
-
* @default false
|
|
299
|
-
*/
|
|
300
|
-
checkable?: boolean;
|
|
301
|
-
/**
|
|
302
|
-
* 可勾选
|
|
303
|
-
* @description 是否显示 checkbox
|
|
304
|
-
* @default false
|
|
305
|
-
*/
|
|
306
|
-
treeCheckable?: boolean;
|
|
307
|
-
/**
|
|
308
|
-
* 默认展开所有
|
|
309
|
-
* @description 默认展开所有树节点
|
|
310
|
-
* @default false
|
|
311
|
-
*/
|
|
312
|
-
defaultExpandAll?: boolean;
|
|
313
|
-
/**
|
|
314
|
-
* 默认展开父节点
|
|
315
|
-
* @description 默认展开父节点
|
|
316
|
-
* @default true
|
|
317
|
-
*/
|
|
318
|
-
defaultExpandParent?: boolean;
|
|
319
|
-
/**
|
|
320
|
-
* 默认展开的节点
|
|
321
|
-
* @description 默认展开指定的树节点
|
|
322
|
-
* @default []
|
|
323
|
-
*/
|
|
324
|
-
defaultExpandedKeys?: ProTreeKeyType[];
|
|
325
|
-
/**
|
|
326
|
-
* 展开的节点
|
|
327
|
-
* @description (受控)展开指定的树节点
|
|
328
|
-
* @default undefined
|
|
329
|
-
*/
|
|
330
|
-
expandedKeys?: ProTreeKeyType[];
|
|
331
|
-
/**
|
|
332
|
-
* 选中的节点
|
|
333
|
-
* @description (受控)选中复选框的树节点
|
|
334
|
-
* @default undefined
|
|
335
|
-
*/
|
|
336
|
-
checkedKeys?: ProTreeKeyType[] | {
|
|
337
|
-
checked: ProTreeKeyType[];
|
|
338
|
-
halfChecked: ProTreeKeyType[];
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* 默认选中的节点
|
|
342
|
-
* @description 默认选中复选框的树节点
|
|
343
|
-
* @default []
|
|
344
|
-
*/
|
|
345
|
-
defaultCheckedKeys?: ProTreeKeyType[];
|
|
346
|
-
/**
|
|
347
|
-
* 选中的节点
|
|
348
|
-
* @description (受控)设置选中的树节点
|
|
349
|
-
* @default undefined
|
|
350
|
-
*/
|
|
351
|
-
selectedKeys?: ProTreeKeyType[];
|
|
352
|
-
/**
|
|
353
|
-
* 默认选中的节点
|
|
354
|
-
* @description 默认选中的树节点
|
|
355
|
-
* @default []
|
|
356
|
-
*/
|
|
357
|
-
defaultSelectedKeys?: ProTreeKeyType[];
|
|
358
|
-
/**
|
|
359
|
-
* 可选中
|
|
360
|
-
* @description 是否可以选中
|
|
361
|
-
* @default true
|
|
362
|
-
*/
|
|
363
|
-
selectable?: boolean;
|
|
364
|
-
/**
|
|
365
|
-
* 已加载的节点
|
|
366
|
-
* @description 已经加载的节点,配合 loadData 使用
|
|
367
|
-
* @default []
|
|
368
|
-
*/
|
|
369
|
-
loadedKeys?: ProTreeKeyType[];
|
|
370
|
-
/**
|
|
371
|
-
* 自定义样式
|
|
372
|
-
* @description 自定义内联样式
|
|
373
|
-
* @default undefined
|
|
374
|
-
*/
|
|
375
|
-
style?: any;
|
|
376
|
-
/**
|
|
377
|
-
* 显示图标
|
|
378
|
-
* @description 是否显示节点图标
|
|
379
|
-
* @default false
|
|
380
|
-
*/
|
|
381
|
-
showIcon?: boolean;
|
|
382
|
-
/**
|
|
383
|
-
* 前缀类名
|
|
384
|
-
* @description 自定义类名前缀
|
|
385
|
-
* @default undefined
|
|
386
|
-
*/
|
|
387
|
-
prefixCls?: string;
|
|
388
|
-
/**
|
|
389
|
-
* 子节点
|
|
390
|
-
* @description 子元素内容
|
|
391
|
-
* @default undefined
|
|
392
|
-
*/
|
|
393
|
-
children?: any;
|
|
394
|
-
/**
|
|
395
|
-
* 节点占满一行
|
|
396
|
-
* @description 是否节点占据一行
|
|
397
|
-
* @default false
|
|
398
|
-
*/
|
|
399
|
-
blockNode?: boolean;
|
|
400
|
-
/**
|
|
401
|
-
* 选中节点键值
|
|
402
|
-
* @description 点中的树节点key,表单模式下value有值该配置优先级降低
|
|
403
|
-
* @default undefined
|
|
404
|
-
*/
|
|
405
|
-
selectedKey?: string | number | undefined;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* 数据属性
|
|
409
|
-
* @description 定义节点的基本数据属性
|
|
410
|
-
*/
|
|
411
|
-
export interface ProTreeDataPropsType {
|
|
412
|
-
/**
|
|
413
|
-
* 节点标签
|
|
414
|
-
* @description 显示的节点文本
|
|
415
|
-
* @default undefined
|
|
416
|
-
*/
|
|
417
|
-
label?: string;
|
|
418
|
-
/**
|
|
419
|
-
* 节点值
|
|
420
|
-
* @description 节点的唯一标识
|
|
421
|
-
* @default undefined
|
|
422
|
-
*/
|
|
423
|
-
value?: string;
|
|
424
|
-
/**
|
|
425
|
-
* 是否禁用
|
|
426
|
-
* @description 是否禁用节点
|
|
427
|
-
* @default false
|
|
428
|
-
*/
|
|
429
|
-
disabled?: boolean;
|
|
430
|
-
/**
|
|
431
|
-
* 禁用复选框
|
|
432
|
-
* @description 是否禁用复选框
|
|
433
|
-
* @default false
|
|
434
|
-
*/
|
|
435
|
-
disableCheckbox?: boolean;
|
|
436
|
-
/**
|
|
437
|
-
* 是否可选
|
|
438
|
-
* @description 是否可以选中
|
|
439
|
-
* @default true
|
|
440
|
-
*/
|
|
441
|
-
selectable?: boolean;
|
|
442
|
-
/**
|
|
443
|
-
* 是否可勾选
|
|
444
|
-
* @description 是否可以勾选
|
|
445
|
-
* @default undefined
|
|
446
|
-
*/
|
|
447
|
-
checkable?: boolean;
|
|
448
|
-
/**
|
|
449
|
-
* 标题
|
|
450
|
-
* @description 节点标题
|
|
451
|
-
* @default undefined
|
|
452
|
-
*/
|
|
453
|
-
title?: string;
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* 数据选项
|
|
457
|
-
* @description 扩展的数据选项接口
|
|
458
|
-
*/
|
|
459
|
-
export interface ProTreeDataOptionType {
|
|
460
|
-
/**
|
|
461
|
-
* 节点标签
|
|
462
|
-
* @description 显示的节点文本
|
|
463
|
-
* @default undefined
|
|
464
|
-
*/
|
|
465
|
-
label?: string;
|
|
466
|
-
/**
|
|
467
|
-
* 节点值
|
|
468
|
-
* @description 节点的唯一标识
|
|
469
|
-
* @default undefined
|
|
470
|
-
*/
|
|
471
|
-
value?: string;
|
|
472
|
-
/**
|
|
473
|
-
* 是否禁用
|
|
474
|
-
* @description 是否禁用节点
|
|
475
|
-
* @default false
|
|
476
|
-
*/
|
|
477
|
-
disabled?: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* 禁用复选框
|
|
480
|
-
* @description 是否禁用复选框
|
|
481
|
-
* @default false
|
|
482
|
-
*/
|
|
483
|
-
disableCheckbox?: boolean;
|
|
484
|
-
/**
|
|
485
|
-
* 是否可选
|
|
486
|
-
* @description 是否可以选中
|
|
487
|
-
* @default true
|
|
488
|
-
*/
|
|
489
|
-
selectable?: boolean;
|
|
490
|
-
/**
|
|
491
|
-
* 是否可勾选
|
|
492
|
-
* @description 是否可以勾选
|
|
493
|
-
* @default undefined
|
|
494
|
-
*/
|
|
495
|
-
checkable?: boolean;
|
|
496
|
-
/**
|
|
497
|
-
* 子节点
|
|
498
|
-
* @description 当前节点的子节点数组
|
|
499
|
-
* @default undefined
|
|
500
|
-
*/
|
|
501
|
-
children?: ProTreeDataPropsType[];
|
|
502
|
-
/**
|
|
503
|
-
* 标题
|
|
504
|
-
* @description 节点标题
|
|
505
|
-
* @default undefined
|
|
506
|
-
*/
|
|
507
|
-
title?: string;
|
|
508
|
-
/**
|
|
509
|
-
* 自定义属性
|
|
510
|
-
* @description 可添加任意其他属性
|
|
511
|
-
* @default undefined
|
|
512
|
-
*/
|
|
513
|
-
[key: string]: any;
|
|
514
|
-
}
|
|
515
|
-
/**
|
|
516
|
-
* 基础选项类型
|
|
517
|
-
* @description 基础选项类型定义
|
|
518
|
-
*/
|
|
519
|
-
export interface ProTreeBaseOptionType {
|
|
520
|
-
/**
|
|
521
|
-
* 是否禁用
|
|
522
|
-
* @description 是否禁用节点
|
|
523
|
-
* @default false
|
|
524
|
-
*/
|
|
525
|
-
disabled?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* 是否可勾选
|
|
528
|
-
* @description 是否可以勾选
|
|
529
|
-
* @default undefined
|
|
530
|
-
*/
|
|
531
|
-
checkable?: boolean;
|
|
532
|
-
/**
|
|
533
|
-
* 禁用复选框
|
|
534
|
-
* @description 是否禁用复选框
|
|
535
|
-
* @default false
|
|
536
|
-
*/
|
|
537
|
-
disableCheckbox?: boolean;
|
|
538
|
-
/**
|
|
539
|
-
* 子节点
|
|
540
|
-
* @description 当前节点的子节点数组
|
|
541
|
-
* @default undefined
|
|
542
|
-
*/
|
|
543
|
-
children?: ProTreeBaseOptionType[];
|
|
544
|
-
/**
|
|
545
|
-
* 自定义属性
|
|
546
|
-
* @description 可添加任意其他属性
|
|
547
|
-
* @default undefined
|
|
548
|
-
*/
|
|
549
|
-
[name: string]: any;
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
* 默认选项类型
|
|
553
|
-
* @description 扩展基础选项类型的默认选项类型
|
|
554
|
-
*/
|
|
555
|
-
export interface ProTreeDefaultOptionType extends ProTreeBaseOptionType {
|
|
556
|
-
/**
|
|
557
|
-
* 节点值
|
|
558
|
-
* @description 节点的值
|
|
559
|
-
* @default undefined
|
|
560
|
-
*/
|
|
561
|
-
value?: any;
|
|
562
|
-
/**
|
|
563
|
-
* 标题
|
|
564
|
-
* @description 节点的标题
|
|
565
|
-
* @default undefined
|
|
566
|
-
*/
|
|
567
|
-
title?: ReactNode;
|
|
568
|
-
/**
|
|
569
|
-
* 标签
|
|
570
|
-
* @description 节点的显示标签
|
|
571
|
-
* @default undefined
|
|
572
|
-
*/
|
|
573
|
-
label?: ReactNode;
|
|
574
|
-
/**
|
|
575
|
-
* 键值
|
|
576
|
-
* @description 节点的键值
|
|
577
|
-
* @default undefined
|
|
578
|
-
*/
|
|
579
|
-
key?: ProTreeKeyType;
|
|
580
|
-
/**
|
|
581
|
-
* 子节点
|
|
582
|
-
* @description 子节点数组
|
|
583
|
-
* @default undefined
|
|
584
|
-
*/
|
|
585
|
-
children?: ProTreeDefaultOptionType[];
|
|
586
|
-
}
|
|
587
|
-
/**
|
|
588
|
-
* 树选择属性
|
|
589
|
-
* @description 树选择组件的配置属性
|
|
590
|
-
*/
|
|
591
|
-
export interface ProTreeSelectType extends Omit<TreeSelectProps, 'onSearch'> {
|
|
592
|
-
/**
|
|
593
|
-
* 是否查看模式
|
|
594
|
-
* @description 是否为查看模式
|
|
595
|
-
* @default false
|
|
596
|
-
*/
|
|
597
|
-
isView?: boolean;
|
|
598
|
-
/**
|
|
599
|
-
* 过滤树节点
|
|
600
|
-
* @description 是否根据输入项进行筛选
|
|
601
|
-
* @default true
|
|
602
|
-
*/
|
|
603
|
-
filterTreeNode?: boolean;
|
|
604
|
-
/**
|
|
605
|
-
* 树节点过滤属性
|
|
606
|
-
* @description 输入项过滤对应的 treeNode 属性
|
|
607
|
-
* @default 'label'
|
|
608
|
-
*/
|
|
609
|
-
treeNodeFilterProp?: string;
|
|
610
|
-
/**
|
|
611
|
-
* 默认展开所有
|
|
612
|
-
* @description 是否展开所有树
|
|
613
|
-
* @default false
|
|
614
|
-
*/
|
|
615
|
-
treeDefaultExpandAll?: boolean;
|
|
616
|
-
/**
|
|
617
|
-
* 树可选择
|
|
618
|
-
* @description 是否支持复选、多选
|
|
619
|
-
* @default true
|
|
620
|
-
*/
|
|
621
|
-
treeCheckable?: boolean;
|
|
622
|
-
/**
|
|
623
|
-
* 宽度
|
|
624
|
-
* @description 输入框宽度
|
|
625
|
-
* @default '100%'
|
|
626
|
-
*/
|
|
627
|
-
width?: any;
|
|
628
|
-
/**
|
|
629
|
-
* 枚举代码
|
|
630
|
-
* @description 从localStorage里面根据此code取枚举值
|
|
631
|
-
* @default undefined
|
|
632
|
-
*/
|
|
633
|
-
code?: string;
|
|
634
|
-
/**
|
|
635
|
-
* 数据源
|
|
636
|
-
* @description 选择项数据源
|
|
637
|
-
* @default []
|
|
638
|
-
*/
|
|
639
|
-
dataSource?: ProTreeDataOptionType[];
|
|
640
|
-
/**
|
|
641
|
-
* 默认禁用值
|
|
642
|
-
* @description 兼容2.0版本、3.0使用view模式,查看模式值
|
|
643
|
-
* @default undefined
|
|
644
|
-
*/
|
|
645
|
-
defaultDisableValue?: string;
|
|
646
|
-
/**
|
|
647
|
-
* 响应数据转换
|
|
648
|
-
* @description 格式化接口响应数据
|
|
649
|
-
* @default undefined
|
|
650
|
-
*/
|
|
651
|
-
transformResponse?: (data: any) => ProTreeDataOptionType[];
|
|
652
|
-
/**
|
|
653
|
-
* 是否显示提示
|
|
654
|
-
* @description 是否展示tooltip,当label特别长的时候使用
|
|
655
|
-
* @default false
|
|
656
|
-
*/
|
|
657
|
-
tooltip?: boolean;
|
|
658
|
-
/**
|
|
659
|
-
* 显示代码名称
|
|
660
|
-
* @description 是否展示code-label形式
|
|
661
|
-
* @default false
|
|
662
|
-
*/
|
|
663
|
-
showCodeName?: boolean;
|
|
664
|
-
/**
|
|
665
|
-
* 其他属性
|
|
666
|
-
* @description 集成表单form的属性
|
|
667
|
-
* @default undefined
|
|
668
|
-
*/
|
|
669
|
-
otherProps?: ProFormOtherType;
|
|
670
|
-
/**
|
|
671
|
-
* 搜索回调
|
|
672
|
-
* @description 搜索时的回调函数
|
|
673
|
-
* @default undefined
|
|
674
|
-
*/
|
|
675
|
-
onSearch?: (value: string, useRequest: Result<any, any>) => void;
|
|
676
|
-
/**
|
|
677
|
-
* 远程请求
|
|
678
|
-
* @description 远程请求接口配置
|
|
679
|
-
* @default undefined
|
|
680
|
-
*/
|
|
681
|
-
useRequest?: {
|
|
682
|
-
service: Service<any, any>;
|
|
683
|
-
options?: Options<any, any>;
|
|
684
|
-
};
|
|
685
|
-
/**
|
|
686
|
-
* 可勾选
|
|
687
|
-
* @description 是否可以勾选
|
|
688
|
-
* @default undefined
|
|
689
|
-
*/
|
|
690
|
-
checkable?: boolean;
|
|
691
|
-
}
|
|
692
|
-
/**
|
|
693
|
-
* ProSelect操作
|
|
694
|
-
* @description ProSelect组件的操作接口
|
|
695
|
-
*/
|
|
696
|
-
export interface ProTreeSelectActionType {
|
|
697
|
-
/**
|
|
698
|
-
* useRequest引用
|
|
699
|
-
* @description 获取发生请求的useRequest的ref
|
|
700
|
-
* @default undefined
|
|
701
|
-
*/
|
|
702
|
-
useRequestRef: Result<any, any>;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* 树节点数据
|
|
706
|
-
* @description 树节点的数据结构
|
|
707
|
-
*/
|
|
708
|
-
export interface ProTreeNodeDataType extends ProTreeDataOptionType {
|
|
709
|
-
/**
|
|
710
|
-
* 标题
|
|
711
|
-
* @description 节点的标题
|
|
712
|
-
* @default undefined
|
|
713
|
-
*/
|
|
714
|
-
title: string;
|
|
715
|
-
/**
|
|
716
|
-
* 值
|
|
717
|
-
* @description 节点的值
|
|
718
|
-
* @default undefined
|
|
719
|
-
*/
|
|
720
|
-
value: string;
|
|
721
|
-
/**
|
|
722
|
-
* 子节点
|
|
723
|
-
* @description 子节点数组
|
|
724
|
-
* @default undefined
|
|
725
|
-
*/
|
|
726
|
-
children?: ProTreeNodeDataType[];
|
|
727
|
-
/**
|
|
728
|
-
* 图标
|
|
729
|
-
* @description 节点的图标
|
|
730
|
-
* @default undefined
|
|
731
|
-
*/
|
|
732
|
-
icon?: ReactNode;
|
|
733
|
-
/**
|
|
734
|
-
* 隐藏节点类名
|
|
735
|
-
* @description 隐藏节点的类名
|
|
736
|
-
* @default undefined
|
|
737
|
-
*/
|
|
738
|
-
hideNodeClass?: string;
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* 树选择表单属性
|
|
742
|
-
* @description 树选择表单的配置属性
|
|
743
|
-
*/
|
|
744
|
-
export interface ProTreeSelectFormType {
|
|
745
|
-
/**
|
|
746
|
-
* 类型
|
|
747
|
-
* @description 表单项类型
|
|
748
|
-
* @default undefined
|
|
749
|
-
*/
|
|
750
|
-
type?: string;
|
|
751
|
-
/**
|
|
752
|
-
* 标签
|
|
753
|
-
* @description 表单项标签
|
|
754
|
-
* @default undefined
|
|
755
|
-
*/
|
|
756
|
-
label?: string;
|
|
757
|
-
/**
|
|
758
|
-
* 名称
|
|
759
|
-
* @description 表单项字段名
|
|
760
|
-
* @default undefined
|
|
761
|
-
*/
|
|
762
|
-
name?: string;
|
|
763
|
-
/**
|
|
764
|
-
* 字段属性
|
|
765
|
-
* @description 树选择组件的属性配置
|
|
766
|
-
* @default undefined
|
|
767
|
-
*/
|
|
768
|
-
fieldProps?: ProTreeSelectType;
|
|
769
|
-
/**
|
|
770
|
-
* 自定义属性
|
|
771
|
-
* @description 其他自定义属性
|
|
772
|
-
* @default undefined
|
|
773
|
-
*/
|
|
774
|
-
[key: string]: any;
|
|
775
|
-
}
|
|
776
|
-
/**
|
|
777
|
-
* 响应数据
|
|
778
|
-
* @description API响应数据结构
|
|
779
|
-
*/
|
|
780
|
-
export interface ProTreeResponseDataType {
|
|
781
|
-
/**
|
|
782
|
-
* 状态码
|
|
783
|
-
* @description 接口返回的状态码
|
|
784
|
-
* @default undefined
|
|
785
|
-
*/
|
|
786
|
-
status: number;
|
|
787
|
-
/**
|
|
788
|
-
* 消息
|
|
789
|
-
* @description 接口返回的消息
|
|
790
|
-
* @default undefined
|
|
791
|
-
*/
|
|
792
|
-
message: string;
|
|
793
|
-
/**
|
|
794
|
-
* 数据
|
|
795
|
-
* @description 接口返回的数据
|
|
796
|
-
* @default undefined
|
|
797
|
-
*/
|
|
798
|
-
data: any;
|
|
799
|
-
/**
|
|
800
|
-
* 是否成功
|
|
801
|
-
* @description 请求是否成功
|
|
802
|
-
* @default undefined
|
|
803
|
-
*/
|
|
804
|
-
success?: boolean;
|
|
805
|
-
/**
|
|
806
|
-
* 代码
|
|
807
|
-
* @description 业务代码
|
|
808
|
-
* @default undefined
|
|
809
|
-
*/
|
|
810
|
-
code?: number;
|
|
811
|
-
}
|
|
812
|
-
export {};
|