@zat-design/sisyphus-react 3.0.13 → 3.0.16-beta.4
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 +2729 -1876
- package/es/ProDownload/DownloadHelper.js +2 -0
- package/es/ProDrawerForm/components/ProDrawer/index.js +5 -3
- package/es/ProDrawerForm/components/ProModal/index.js +15 -5
- package/es/ProDrawerForm/index.js +1 -1
- package/es/ProDrawerForm/propsType.d.ts +4 -0
- package/es/ProDrawerForm/style/index.less +88 -55
- package/es/ProEditLabel/components/RenderProForm.d.ts +4 -0
- package/es/ProEditLabel/components/RenderProForm.js +70 -0
- package/es/ProEditLabel/index.js +104 -141
- package/es/ProEditLabel/propsType.d.ts +7 -4
- package/es/ProEditLabel/style/index.less +33 -2
- package/es/ProEditLabel/utils/index.d.ts +5 -7
- package/es/ProEditLabel/utils/index.js +11 -27
- package/es/ProEditTable/components/ActionButton/index.d.ts +2 -1
- package/es/ProEditTable/components/ActionButton/index.js +20 -4
- package/es/ProEditTable/components/RenderField/index.d.ts +2 -1
- package/es/ProEditTable/components/RenderField/index.js +1 -2
- package/es/ProEditTable/components/RenderToolbar/index.d.ts +2 -1
- package/es/ProEditTable/components/Summary/index.d.ts +2 -1
- package/es/ProEditTable/propsType.d.ts +5 -0
- package/es/ProEditTable/style/index.less +16 -13
- package/es/ProEditTable/utils/config.d.ts +2 -1
- package/es/ProEditTable/utils/config.js +25 -14
- package/es/ProEditTable/utils/index.js +5 -3
- package/es/ProEnum/getEnumLabel.d.ts +2 -1
- package/es/ProEnum/getEnumLabel.js +1 -1
- package/es/ProEnum/index.d.ts +3 -2
- package/es/ProEnum/index.js +1 -1
- package/es/ProEnum/useEnum.js +1 -1
- package/es/ProEnum/useEnumRequest.js +6 -11
- package/es/ProForm/components/FormFooter/index.js +1 -1
- package/es/ProForm/components/base/DatePicker/index.js +2 -2
- package/es/ProForm/components/base/FormList/components/ActionButton.js +4 -5
- package/es/ProForm/components/base/FormList/index.d.ts +1 -0
- package/es/ProForm/components/base/FormList/index.js +10 -5
- package/es/ProForm/components/base/FormList/style/index.less +3 -0
- package/es/ProForm/components/base/Input/index.d.ts +2 -1
- package/es/ProForm/components/base/Input/index.js +1 -1
- package/es/ProForm/components/base/InputNumber/index.js +25 -1
- package/es/ProForm/components/base/RangePicker/index.js +2 -2
- package/es/ProForm/components/base/Select/index.js +1 -1
- package/es/ProForm/components/base/Switch/index.js +1 -1
- package/es/ProForm/components/base/TextArea/index.js +1 -1
- package/es/ProForm/components/combination/ProAddressBar/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProAddressBar/index.js +3 -2
- package/es/ProForm/components/combination/ProCombination/index.js +3 -3
- package/es/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProModalSelect/index.js +4 -3
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +7 -6
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +45 -36
- package/es/ProForm/components/combination/ProRangeLimit/index.js +14 -16
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -1
- package/es/ProForm/components/index.d.ts +2 -0
- package/es/ProForm/components/index.js +2 -0
- package/es/ProForm/components/old/CertNo/index.d.ts +2 -1
- package/es/ProForm/components/old/EnumSelect/index.js +1 -1
- package/es/ProForm/components/old/InputRange/index.d.ts +2 -1
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +2 -1
- package/es/ProForm/components/old/ProAddress/index.d.ts +2 -1
- package/es/ProForm/components/old/ProCertValidity/index.js +1 -1
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
- package/es/ProForm/components/render/Render.js +6 -22
- package/es/ProForm/components/render/propsType.d.ts +4 -0
- package/es/ProForm/index.js +4 -2
- package/es/ProForm/style/index.less +12 -5
- package/es/ProForm/utils/index.d.ts +5 -2
- package/es/ProForm/utils/index.js +7 -12
- package/es/ProForm/utils/transformValue.js +4 -2
- package/es/ProForm/utils/useShouldUpdate.js +1 -0
- package/es/ProForm/utils/valueType.d.ts +4 -4
- package/es/ProIcon/index.d.ts +1 -0
- package/es/ProIcon/index.js +35 -5
- package/es/ProIcon/propsTypes.d.ts +9 -9
- package/es/ProIcon/symbolIcon.js +43 -0
- package/es/ProLayout/components/Layout/Header/style/index.less +1 -2
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +2 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +3 -0
- package/es/ProLayout/components/ProCollapse/index.d.ts +2 -1
- package/es/ProLayout/components/ProCollapse/style/index.less +1 -0
- package/es/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/components/Copy/index.d.ts +2 -1
- package/es/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/es/ProLayout/components/ProHeader/index.js +2 -4
- package/es/ProLayout/components/ProHeader/style/index.less +3 -3
- package/es/ProLayout/index.d.ts +4 -4
- package/es/ProLayout/index.js +5 -6
- package/es/ProLayout/propTypes.d.ts +2 -5
- package/es/ProLayout/style/index.less +7 -1
- package/es/ProSelect/index.d.ts +1 -1
- package/es/ProSelect/index.js +2 -2
- package/es/ProSelect/propsType.d.ts +7 -0
- package/es/ProStep/components/Anchor/index.d.ts +2 -1
- package/es/ProStep/components/Item/index.d.ts +2 -1
- package/es/ProStep/components/Step/index.d.ts +2 -1
- package/es/ProStep/components/Step/index.js +12 -10
- package/es/ProStep/index.d.ts +2 -2
- package/es/ProStep/style/index.less +1 -1
- package/es/ProTable/components/ResizableLine/index.d.ts +2 -1
- package/es/ProTable/components/TableResizable/index.d.ts +2 -1
- package/es/ProTable/index.d.ts +1 -1
- package/es/ProTable/index.js +2 -2
- package/es/ProTable/propsType.d.ts +4 -3
- package/es/ProTable/style/index.less +12 -17
- package/es/ProTable/useAntdTable.d.ts +4 -4
- package/es/ProTable/useAntdTable.js +64 -37
- package/es/ProTable/utils.js +25 -6
- package/es/ProTabs/components/Card/index.d.ts +4 -0
- package/es/ProTabs/components/Card/index.js +24 -0
- package/es/ProTabs/components/index.d.ts +1 -0
- package/es/ProTabs/components/index.js +1 -0
- package/es/ProTabs/index.d.ts +4 -0
- package/es/ProTabs/index.js +98 -0
- package/es/ProTabs/propType.d.ts +31 -0
- package/es/ProTabs/propType.js +1 -0
- package/es/ProTabs/style/index.less +68 -0
- package/es/ProThemeTools/component/PrdTools/index.d.ts +4 -0
- package/es/ProThemeTools/component/PrdTools/index.js +219 -0
- package/es/ProThemeTools/component/PrdTools/style/index.less +168 -0
- package/es/ProThemeTools/component/index.d.ts +2 -0
- package/es/ProThemeTools/component/index.js +2 -0
- package/es/ProThemeTools/index.d.ts +14 -0
- package/es/ProThemeTools/index.js +196 -0
- package/es/ProThemeTools/propsType.d.ts +35 -0
- package/es/ProThemeTools/propsType.js +1 -0
- package/es/ProThemeTools/style/index.less +55 -0
- package/es/ProThemeTools/utils/index.d.ts +19 -0
- package/es/ProThemeTools/utils/index.js +72 -0
- package/es/ProTooltip/index.d.ts +2 -1
- package/es/ProTransferModal/components/SortableItem/index.js +2 -2
- package/es/ProTransferModal/style/index.less +9 -1
- package/es/ProTreeModal/components/CloseIcon.d.ts +3 -0
- package/es/ProTreeModal/components/CloseIcon.js +25 -0
- package/es/ProTreeModal/components/List.d.ts +13 -0
- package/es/ProTreeModal/components/List.js +52 -0
- package/es/ProTreeModal/components/SearchTitle.d.ts +7 -0
- package/es/ProTreeModal/components/SearchTitle.js +14 -0
- package/es/ProTreeModal/components/Tree.d.ts +15 -0
- package/es/ProTreeModal/components/Tree.js +149 -0
- package/es/ProTreeModal/components/Trigger.d.ts +10 -0
- package/es/ProTreeModal/components/Trigger.js +32 -0
- package/es/ProTreeModal/components/index.d.ts +5 -0
- package/es/ProTreeModal/components/index.js +5 -0
- package/es/ProTreeModal/data/datasource.d.ts +5 -0
- package/es/ProTreeModal/data/datasource.js +17 -0
- package/es/ProTreeModal/data/mock.d.ts +9 -0
- package/es/ProTreeModal/data/mock.js +39 -0
- package/es/ProTreeModal/index.d.ts +5 -0
- package/es/ProTreeModal/index.js +333 -0
- package/es/ProTreeModal/propsType.d.ts +26 -0
- package/es/ProTreeModal/propsType.js +1 -0
- package/es/ProTreeModal/style/index.less +105 -0
- package/es/ProTreeModal/utils.d.ts +26 -0
- package/es/ProTreeModal/utils.js +136 -0
- package/es/ProTreeSelect/index.d.ts +5 -0
- package/es/ProTreeSelect/index.js +426 -0
- package/es/ProTreeSelect/propsType.d.ts +95 -0
- package/es/ProTreeSelect/propsType.js +1 -0
- package/es/ProTreeSelect/style/index.less +109 -0
- package/es/ProUpload/Example.js +1 -1
- package/es/ProUpload/index.d.ts +0 -1
- package/es/ProUpload/index.js +8 -2
- package/es/ProUpload/style/fileItem.less +3 -1
- package/es/ProUpload/style/index.less +8 -1
- package/es/ProWaterMark/index.js +1 -1
- package/es/assets/close.svg +1 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -8
- package/es/old/ProCertValidity/index.js +1 -1
- package/es/style/components.less +25 -9
- package/es/style/theme/antd.less +60 -29
- package/es/style/theme/index.less +154 -176
- package/es/tokens.js +85 -0
- package/lib/ProDrawerForm/components/ProDrawer/index.js +5 -3
- package/lib/ProDrawerForm/components/ProModal/index.js +13 -5
- package/lib/ProDrawerForm/index.js +1 -1
- package/lib/ProDrawerForm/propsType.d.ts +4 -0
- package/lib/ProDrawerForm/style/index.less +88 -55
- package/lib/ProEditLabel/components/RenderProForm.d.ts +4 -0
- package/lib/ProEditLabel/components/RenderProForm.js +78 -0
- package/lib/ProEditLabel/index.js +102 -137
- package/lib/ProEditLabel/propsType.d.ts +7 -4
- package/lib/ProEditLabel/style/index.less +33 -2
- package/lib/ProEditLabel/utils/index.d.ts +5 -7
- package/lib/ProEditLabel/utils/index.js +14 -31
- package/lib/ProEditTable/components/ActionButton/index.d.ts +2 -1
- package/lib/ProEditTable/components/ActionButton/index.js +20 -4
- package/lib/ProEditTable/components/RenderField/index.d.ts +2 -1
- package/lib/ProEditTable/components/RenderField/index.js +3 -2
- package/lib/ProEditTable/components/RenderToolbar/index.d.ts +2 -1
- package/lib/ProEditTable/components/Summary/index.d.ts +2 -1
- package/lib/ProEditTable/propsType.d.ts +5 -0
- package/lib/ProEditTable/style/index.less +16 -13
- package/lib/ProEditTable/utils/config.d.ts +2 -1
- package/lib/ProEditTable/utils/config.js +24 -13
- package/lib/ProEditTable/utils/index.js +5 -3
- package/lib/ProEnum/getEnumLabel.d.ts +2 -1
- package/lib/ProEnum/getEnumLabel.js +3 -3
- package/lib/ProEnum/index.d.ts +3 -2
- package/lib/ProEnum/index.js +4 -4
- package/lib/ProEnum/useEnum.js +3 -3
- package/lib/ProEnum/useEnumRequest.js +6 -11
- package/lib/ProForm/components/FormFooter/index.js +2 -2
- package/lib/ProForm/components/base/DatePicker/index.js +3 -3
- package/lib/ProForm/components/base/FormList/components/ActionButton.js +4 -5
- package/lib/ProForm/components/base/FormList/index.d.ts +1 -0
- package/lib/ProForm/components/base/FormList/index.js +10 -5
- package/lib/ProForm/components/base/FormList/style/index.less +3 -0
- package/lib/ProForm/components/base/Input/index.d.ts +2 -1
- package/lib/ProForm/components/base/Input/index.js +2 -2
- package/lib/ProForm/components/base/InputNumber/index.js +26 -2
- package/lib/ProForm/components/base/RangePicker/index.js +2 -2
- package/lib/ProForm/components/base/Select/index.js +2 -2
- package/lib/ProForm/components/base/Switch/index.js +2 -2
- package/lib/ProForm/components/base/TextArea/index.js +2 -2
- package/lib/ProForm/components/combination/ProAddressBar/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProAddressBar/index.js +4 -3
- package/lib/ProForm/components/combination/ProCombination/index.js +3 -3
- package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.js +8 -7
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +7 -6
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +45 -36
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +15 -17
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +1 -1
- package/lib/ProForm/components/index.d.ts +2 -0
- package/lib/ProForm/components/index.js +14 -0
- package/lib/ProForm/components/old/CertNo/index.d.ts +2 -1
- package/lib/ProForm/components/old/EnumSelect/index.js +2 -2
- package/lib/ProForm/components/old/InputRange/index.d.ts +2 -1
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +2 -1
- package/lib/ProForm/components/old/ProAddress/index.d.ts +2 -1
- package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +2 -1
- package/lib/ProForm/components/render/Render.js +4 -20
- package/lib/ProForm/components/render/propsType.d.ts +4 -0
- package/lib/ProForm/index.js +4 -2
- package/lib/ProForm/style/index.less +12 -5
- package/lib/ProForm/utils/index.d.ts +5 -2
- package/lib/ProForm/utils/index.js +10 -14
- package/lib/ProForm/utils/transformValue.js +4 -2
- package/lib/ProForm/utils/useShouldUpdate.js +1 -0
- package/lib/ProForm/utils/valueType.d.ts +4 -4
- package/lib/ProIcon/index.d.ts +1 -0
- package/lib/ProIcon/index.js +36 -5
- package/lib/ProIcon/propsTypes.d.ts +9 -9
- package/lib/ProIcon/symbolIcon.js +45 -0
- package/lib/ProLayout/components/Layout/Header/style/index.less +1 -2
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.d.ts +2 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +1 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +3 -0
- package/lib/ProLayout/components/ProCollapse/index.d.ts +2 -1
- package/lib/ProLayout/components/ProCollapse/style/index.less +1 -0
- package/lib/ProLayout/components/ProFooter/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/components/Copy/index.d.ts +2 -1
- package/lib/ProLayout/components/ProHeader/index.d.ts +1 -1
- package/lib/ProLayout/components/ProHeader/index.js +1 -4
- package/lib/ProLayout/components/ProHeader/style/index.less +3 -3
- package/lib/ProLayout/index.d.ts +4 -4
- package/lib/ProLayout/index.js +5 -6
- package/lib/ProLayout/propTypes.d.ts +2 -5
- package/lib/ProLayout/style/index.less +7 -1
- package/lib/ProSelect/index.d.ts +1 -1
- package/lib/ProSelect/index.js +3 -3
- package/lib/ProSelect/propsType.d.ts +7 -0
- package/lib/ProStep/components/Anchor/index.d.ts +2 -1
- package/lib/ProStep/components/Item/index.d.ts +2 -1
- package/lib/ProStep/components/Step/index.d.ts +2 -1
- package/lib/ProStep/components/Step/index.js +11 -9
- package/lib/ProStep/index.d.ts +2 -2
- package/lib/ProStep/style/index.less +1 -1
- package/lib/ProTable/components/ResizableLine/index.d.ts +2 -1
- package/lib/ProTable/components/TableResizable/index.d.ts +2 -1
- package/lib/ProTable/components/TableResizable/index.js +8 -0
- package/lib/ProTable/index.d.ts +1 -1
- package/lib/ProTable/index.js +5 -5
- package/lib/ProTable/propsType.d.ts +4 -3
- package/lib/ProTable/style/index.less +12 -17
- package/lib/ProTable/useAntdTable.d.ts +4 -4
- package/lib/ProTable/useAntdTable.js +63 -36
- package/lib/ProTable/utils.js +26 -7
- package/lib/ProTabs/components/Card/index.d.ts +4 -0
- package/lib/ProTabs/components/Card/index.js +31 -0
- package/lib/ProTabs/components/index.d.ts +1 -0
- package/lib/ProTabs/components/index.js +13 -0
- package/lib/ProTabs/index.d.ts +4 -0
- package/lib/ProTabs/index.js +106 -0
- package/lib/ProTabs/propType.d.ts +31 -0
- package/lib/ProTabs/propType.js +5 -0
- package/lib/ProTabs/style/index.less +68 -0
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +4 -0
- package/lib/ProThemeTools/component/PrdTools/index.js +221 -0
- package/lib/ProThemeTools/component/PrdTools/style/index.less +168 -0
- package/lib/ProThemeTools/component/index.d.ts +2 -0
- package/lib/ProThemeTools/component/index.js +13 -0
- package/lib/ProThemeTools/index.d.ts +14 -0
- package/lib/ProThemeTools/index.js +202 -0
- package/lib/ProThemeTools/propsType.d.ts +35 -0
- package/lib/ProThemeTools/propsType.js +5 -0
- package/lib/ProThemeTools/style/index.less +55 -0
- package/lib/ProThemeTools/utils/index.d.ts +19 -0
- package/lib/ProThemeTools/utils/index.js +82 -0
- package/lib/ProTooltip/index.d.ts +2 -1
- package/lib/ProTransferModal/components/SortableItem/index.js +2 -2
- package/lib/ProTransferModal/style/index.less +9 -1
- package/lib/ProTreeModal/components/CloseIcon.d.ts +3 -0
- package/lib/ProTreeModal/components/CloseIcon.js +33 -0
- package/lib/ProTreeModal/components/List.d.ts +13 -0
- package/lib/ProTreeModal/components/List.js +59 -0
- package/lib/ProTreeModal/components/SearchTitle.d.ts +7 -0
- package/lib/ProTreeModal/components/SearchTitle.js +22 -0
- package/lib/ProTreeModal/components/Tree.d.ts +15 -0
- package/lib/ProTreeModal/components/Tree.js +157 -0
- package/lib/ProTreeModal/components/Trigger.d.ts +10 -0
- package/lib/ProTreeModal/components/Trigger.js +39 -0
- package/lib/ProTreeModal/components/index.d.ts +5 -0
- package/lib/ProTreeModal/components/index.js +41 -0
- package/lib/ProTreeModal/data/datasource.d.ts +5 -0
- package/lib/ProTreeModal/data/datasource.js +24 -0
- package/lib/ProTreeModal/data/mock.d.ts +9 -0
- package/lib/ProTreeModal/data/mock.js +47 -0
- package/lib/ProTreeModal/index.d.ts +5 -0
- package/lib/ProTreeModal/index.js +340 -0
- package/lib/ProTreeModal/propsType.d.ts +26 -0
- package/lib/ProTreeModal/propsType.js +5 -0
- package/lib/ProTreeModal/style/index.less +105 -0
- package/lib/ProTreeModal/utils.d.ts +26 -0
- package/lib/ProTreeModal/utils.js +148 -0
- package/lib/ProTreeSelect/index.d.ts +5 -0
- package/lib/ProTreeSelect/index.js +433 -0
- package/lib/ProTreeSelect/propsType.d.ts +95 -0
- package/lib/ProTreeSelect/propsType.js +5 -0
- package/lib/ProTreeSelect/style/index.less +109 -0
- package/lib/ProUpload/Example.js +2 -2
- package/lib/ProUpload/index.d.ts +0 -1
- package/lib/ProUpload/index.js +8 -2
- package/lib/ProUpload/style/fileItem.less +3 -1
- package/lib/ProUpload/style/index.less +8 -1
- package/lib/ProWaterMark/index.js +1 -1
- package/lib/assets/close.svg +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +28 -0
- package/lib/old/ProCertValidity/index.js +1 -1
- package/lib/style/components.less +25 -9
- package/lib/style/theme/antd.less +60 -29
- package/lib/style/theme/index.less +154 -176
- package/lib/tokens.js +87 -0
- package/package.json +7 -8
- package/typings.d.ts +6 -2
- package/es/ProEditLabel/components/RenderForm.d.ts +0 -3
- package/es/ProEditLabel/components/RenderForm.js +0 -65
- package/lib/ProEditLabel/components/RenderForm.d.ts +0 -3
- package/lib/ProEditLabel/components/RenderForm.js +0 -75
- package/source-code/package.json +0 -16
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
font-weight: 400;
|
|
52
52
|
color: #939599;
|
|
53
53
|
line-height: 14px;
|
|
54
|
+
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
// 单个文件展示样式
|
|
58
59
|
.dragger-single-file {
|
|
59
60
|
display: flex;
|
|
60
|
-
|
|
61
61
|
justify-content: center;
|
|
62
62
|
flex-direction: column;
|
|
63
63
|
padding: 0 32px;
|
|
@@ -83,6 +83,13 @@
|
|
|
83
83
|
overflow: hidden;
|
|
84
84
|
-webkit-line-clamp: 1;
|
|
85
85
|
-webkit-box-orient: vertical;
|
|
86
|
+
word-break: break-all;
|
|
87
|
+
}
|
|
88
|
+
.file-ext {
|
|
89
|
+
word-break: keep-all;
|
|
90
|
+
}
|
|
91
|
+
.file-size {
|
|
92
|
+
word-break: keep-all;
|
|
86
93
|
}
|
|
87
94
|
|
|
88
95
|
|
package/es/ProWaterMark/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
var ProWaterMark = function ProWaterMark(props) {
|
|
5
5
|
var content = props.content;
|
|
6
6
|
return /*#__PURE__*/React.createElement("div", {
|
|
7
|
-
className: "
|
|
7
|
+
className: "pro-water-mark"
|
|
8
8
|
}, /*#__PURE__*/React.createElement(Watermark, _objectSpread(_objectSpread({}, props), {}, {
|
|
9
9
|
text: content,
|
|
10
10
|
monitor: true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1684294538535" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2254" width="16" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M896 836.992L571.136 512 896 187.008 836.992 128 512 452.864 187.008 128 128 187.008 452.864 512 128 836.992l59.008 59.008L512 571.136 836.992 896z" p-id="2255"></path></svg>
|
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="typings" />
|
|
2
2
|
export { default as ProLayout } from './ProLayout';
|
|
3
3
|
export { default as ProStep } from './ProStep';
|
|
4
|
+
export { default as ProTabs } from './ProTabs';
|
|
4
5
|
export { default as ProTable } from './ProTable';
|
|
5
6
|
export { default as ProTooltip } from './ProTooltip';
|
|
6
7
|
export { default as ProViewer } from './ProViewer';
|
|
@@ -18,6 +19,7 @@ export { default as ProWaterMark } from './ProWaterMark';
|
|
|
18
19
|
export { default as ProConfigProvider } from './ProConfigProvider';
|
|
19
20
|
export { default as ProUpload } from './ProUpload';
|
|
20
21
|
export { default as ProTransferModal } from './ProTransferModal';
|
|
22
|
+
export { default as ProThemeTools } from './ProThemeTools';
|
|
21
23
|
export * from './ProConfigProvider';
|
|
22
24
|
export { default as ProCustomColumn } from './old/ProCustomColumn';
|
|
23
25
|
export { default as ProBackBtn } from './old/ProBackBtn';
|
|
@@ -28,3 +30,4 @@ export * from './ProForm/propsType';
|
|
|
28
30
|
export * from './ProTable/propsType';
|
|
29
31
|
export * from './ProEditTable/propsType';
|
|
30
32
|
export * from './ProUpload/propsType';
|
|
33
|
+
export * from './ProTabs/propType';
|
package/es/index.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: wangshengqiang
|
|
3
|
-
* @Date: 2023-04-25 10:00:44
|
|
4
|
-
* @LastEditTime: 2023-04-25 10:11:23
|
|
5
|
-
* @LastEditors: wangshengqiang
|
|
6
|
-
* @Description:
|
|
7
|
-
*/
|
|
8
1
|
/// <reference path="../typings.d.ts" />;
|
|
9
2
|
// 布局
|
|
10
3
|
export { default as ProLayout } from './ProLayout';
|
|
11
4
|
export { default as ProStep } from './ProStep';
|
|
5
|
+
export { default as ProTabs } from './ProTabs';
|
|
12
6
|
// 数据展示
|
|
13
7
|
export { default as ProTable } from './ProTable';
|
|
14
8
|
export { default as ProTooltip } from './ProTooltip';
|
|
@@ -30,6 +24,7 @@ export { default as ProWaterMark } from './ProWaterMark';
|
|
|
30
24
|
export { default as ProConfigProvider } from './ProConfigProvider';
|
|
31
25
|
export { default as ProUpload } from './ProUpload';
|
|
32
26
|
export { default as ProTransferModal } from './ProTransferModal';
|
|
27
|
+
export { default as ProThemeTools } from './ProThemeTools';
|
|
33
28
|
export * from './ProConfigProvider';
|
|
34
29
|
// old 待废弃
|
|
35
30
|
export { default as ProCustomColumn } from './old/ProCustomColumn';
|
|
@@ -41,4 +36,5 @@ export { default as ProEnumSelectModal } from './old/ProEnumSelectModal';
|
|
|
41
36
|
export * from './ProForm/propsType';
|
|
42
37
|
export * from './ProTable/propsType';
|
|
43
38
|
export * from './ProEditTable/propsType';
|
|
44
|
-
export * from './ProUpload/propsType';
|
|
39
|
+
export * from './ProUpload/propsType';
|
|
40
|
+
export * from './ProTabs/propType';
|
|
@@ -5,7 +5,7 @@ import "antd/es/input/style";
|
|
|
5
5
|
import _Input from "antd/es/input";
|
|
6
6
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
7
7
|
import "antd/es/date-picker/style";
|
|
8
|
-
import _DatePicker from "antd/es/date-picker";
|
|
8
|
+
import _DatePicker from "antd/es/date-picker"; // @ts-nocheck
|
|
9
9
|
var _excluded = ["value", "onChange", "disabled", "isRange", "getPopupContainer", "showForever", "proformmode"];
|
|
10
10
|
import moment from "moment";
|
|
11
11
|
import React, { forwardRef, useMemo, useRef } from "react";
|
package/es/style/components.less
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
@import '../
|
|
3
|
-
@import '../
|
|
4
|
-
@import '../
|
|
1
|
+
// 布局
|
|
2
|
+
@import '../ProLayout/style/index';
|
|
3
|
+
@import '../ProStep/style/index';
|
|
4
|
+
@import '../ProTabs/style/index';
|
|
5
|
+
|
|
6
|
+
// 数据展示
|
|
5
7
|
@import '../ProTable/style/index';
|
|
6
8
|
@import '../ProTooltip/style/index';
|
|
7
9
|
@import '../ProViewer/style/index';
|
|
8
|
-
|
|
10
|
+
|
|
11
|
+
// 表单
|
|
12
|
+
@import '../ProForm/style/index';
|
|
13
|
+
@import '../ProUpload/style/index';
|
|
14
|
+
@import '../ProTreeSelect/style/index';
|
|
15
|
+
@import '../ProTreeModal/style/index';
|
|
16
|
+
|
|
17
|
+
// 数据录入
|
|
18
|
+
@import '../ProDrawerForm/style/index';
|
|
19
|
+
@import '../ProEditTable/style/index';
|
|
20
|
+
@import '../ProEditLabel/style/index';
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// 通用
|
|
9
24
|
@import '../ProIcon/style/index';
|
|
10
|
-
@import '../ProStep/style/index';
|
|
11
25
|
@import '../ProTransferModal/style/index';
|
|
12
|
-
@import '../
|
|
13
|
-
|
|
26
|
+
@import '../ProThemeTools/style/index';
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
14
30
|
// old 待废弃
|
|
15
31
|
@import '../old/ProEnumSelectModal/style/index';
|
|
16
32
|
@import '../old/ProBackBtn/style/index';
|
|
17
33
|
@import '../old/ProCustomColumn/style/index';
|
|
18
|
-
@import '../old/ProEditableTable/style/index';
|
|
34
|
+
@import '../old/ProEditableTable/style/index';
|
package/es/style/theme/antd.less
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@import './index';
|
|
2
2
|
|
|
3
|
-
@zat-
|
|
4
|
-
@zat-disabled-color : #BCBCBC;
|
|
5
|
-
@zat-table-selected-bg: rgb(230, 244, 255);
|
|
3
|
+
@zat-disabled-color : #BCBCBC;
|
|
6
4
|
|
|
7
5
|
/* antd 默认样式重置 */
|
|
8
6
|
|
|
@@ -21,18 +19,29 @@
|
|
|
21
19
|
transition: none;
|
|
22
20
|
}
|
|
23
21
|
|
|
24
|
-
// label 超过
|
|
22
|
+
// label 超过130px换行
|
|
25
23
|
.ant-form-item-label {
|
|
26
|
-
width
|
|
27
|
-
max-width
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
width : @zaui-form-label-width;
|
|
25
|
+
max-width : @zaui-form-label-width;
|
|
26
|
+
overflow : initial;
|
|
27
|
+
line-height : 1;
|
|
28
|
+
text-align : @zaui-form-align;
|
|
29
|
+
white-space : pre-wrap;
|
|
30
|
+
padding-right: @zaui-space-size-sm;
|
|
31
|
+
|
|
32
|
+
.ant-form-item-required {
|
|
33
|
+
&::after {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
33
37
|
|
|
34
38
|
&>label {
|
|
35
39
|
word-break: break-word;
|
|
40
|
+
|
|
41
|
+
&::after {
|
|
42
|
+
margin : 0;
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
36
45
|
}
|
|
37
46
|
|
|
38
47
|
& .ant-form-item-required::before {
|
|
@@ -113,7 +122,7 @@
|
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
.ant-table-thead>tr>th {
|
|
116
|
-
background : @
|
|
125
|
+
background : @zaui-table-header-bg;
|
|
117
126
|
border-bottom: none;
|
|
118
127
|
|
|
119
128
|
.ant-dropdown-trigger {
|
|
@@ -135,11 +144,11 @@
|
|
|
135
144
|
|
|
136
145
|
.ant-table-tbody {
|
|
137
146
|
.ant-table-row:nth-child(even) {
|
|
138
|
-
background-color: @
|
|
147
|
+
background-color: @zaui-table-strip-bg;
|
|
139
148
|
}
|
|
140
149
|
|
|
141
150
|
tr.ant-table-row:hover td {
|
|
142
|
-
background-color: @
|
|
151
|
+
background-color: @zaui-table-hover-bg !important;
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
&>tr>td {
|
|
@@ -148,11 +157,11 @@
|
|
|
148
157
|
|
|
149
158
|
tr.ant-table-row-selected {
|
|
150
159
|
&:hover>td {
|
|
151
|
-
background: @
|
|
160
|
+
background: @zaui-table-selected-hover-bg;
|
|
152
161
|
}
|
|
153
162
|
|
|
154
163
|
td {
|
|
155
|
-
background: @
|
|
164
|
+
background: @zaui-table-selected-bg;
|
|
156
165
|
}
|
|
157
166
|
}
|
|
158
167
|
}
|
|
@@ -188,7 +197,7 @@
|
|
|
188
197
|
|
|
189
198
|
&.ant-table-scroll-horizontal {
|
|
190
199
|
table .ant-table-tbody .ant-table-row:nth-child(even) td {
|
|
191
|
-
background: @
|
|
200
|
+
background: @zaui-table-strip-bg;
|
|
192
201
|
}
|
|
193
202
|
}
|
|
194
203
|
|
|
@@ -204,25 +213,25 @@
|
|
|
204
213
|
// 偶数行背景色设置
|
|
205
214
|
.ant-table-tbody {
|
|
206
215
|
.ant-table-row:nth-child(even) {
|
|
207
|
-
background-color: @
|
|
216
|
+
background-color: @zaui-table-strip-bg;
|
|
208
217
|
|
|
209
218
|
& td.ant-table-cell-fix-right,
|
|
210
219
|
& td.ant-table-cell-fix-left {
|
|
211
|
-
background-color: @
|
|
220
|
+
background-color: @zaui-table-strip-bg;
|
|
212
221
|
}
|
|
213
222
|
}
|
|
214
223
|
|
|
215
224
|
.ant-table-row:hover>td {
|
|
216
|
-
background-color: @
|
|
225
|
+
background-color: @zaui-table-strip-bg;
|
|
217
226
|
}
|
|
218
227
|
|
|
219
228
|
tr.ant-table-row-selected {
|
|
220
229
|
&:hover>td {
|
|
221
|
-
background: @
|
|
230
|
+
background: @zaui-table-selected-bg !important;
|
|
222
231
|
}
|
|
223
232
|
|
|
224
233
|
td {
|
|
225
|
-
background: @
|
|
234
|
+
background: @zaui-table-selected-bg !important;
|
|
226
235
|
}
|
|
227
236
|
}
|
|
228
237
|
|
|
@@ -238,7 +247,7 @@
|
|
|
238
247
|
.ant-table-tbody {
|
|
239
248
|
.ant-table-row:nth-child(even) {
|
|
240
249
|
&:hover td {
|
|
241
|
-
background-color: @
|
|
250
|
+
background-color: @zaui-table-hover-bg;
|
|
242
251
|
}
|
|
243
252
|
|
|
244
253
|
& td,
|
|
@@ -253,10 +262,10 @@
|
|
|
253
262
|
}
|
|
254
263
|
|
|
255
264
|
.ant-table-row:nth-child(odd) {
|
|
256
|
-
background-color: @
|
|
265
|
+
background-color: @zaui-table-strip-bg;
|
|
257
266
|
|
|
258
267
|
& td {
|
|
259
|
-
background-color: @
|
|
268
|
+
background-color: @zaui-table-strip-bg;
|
|
260
269
|
}
|
|
261
270
|
}
|
|
262
271
|
}
|
|
@@ -279,7 +288,6 @@
|
|
|
279
288
|
&.ant-table-fixed-header {
|
|
280
289
|
.ant-table-tbody {
|
|
281
290
|
.ant-table-row:nth-child(even) {
|
|
282
|
-
background-color: #ffffff;
|
|
283
291
|
|
|
284
292
|
td {
|
|
285
293
|
background: #ffffff !important;
|
|
@@ -287,10 +295,10 @@
|
|
|
287
295
|
}
|
|
288
296
|
|
|
289
297
|
.ant-table-row:nth-child(odd) {
|
|
290
|
-
background-color: @
|
|
298
|
+
background-color: @zaui-table-strip-bg;
|
|
291
299
|
|
|
292
300
|
td {
|
|
293
|
-
background: @
|
|
301
|
+
background: @zaui-table-strip-bg;
|
|
294
302
|
}
|
|
295
303
|
}
|
|
296
304
|
}
|
|
@@ -318,7 +326,7 @@
|
|
|
318
326
|
}
|
|
319
327
|
|
|
320
328
|
.ant-tabs-nav {
|
|
321
|
-
margin-bottom:
|
|
329
|
+
margin-bottom: var(--zaui-space-size-md, 16px)
|
|
322
330
|
}
|
|
323
331
|
|
|
324
332
|
.ant-tabs-nav .ant-tabs-tab-btn {
|
|
@@ -644,4 +652,27 @@
|
|
|
644
652
|
height : auto;
|
|
645
653
|
max-height: 326px;
|
|
646
654
|
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.ant-select-dropdown {
|
|
658
|
+
|
|
659
|
+
// tree select 样式重置
|
|
660
|
+
.ant-select-tree .ant-select-tree-node-content-wrapper {
|
|
661
|
+
min-height : 0px;
|
|
662
|
+
line-height: initial;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.ant-select-tree .ant-select-tree-treenode {
|
|
666
|
+
padding-top : 4px;
|
|
667
|
+
padding-bottom: 4px;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.ant-select-tree .ant-select-tree-treenode {
|
|
671
|
+
align-items: center;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
// 气泡框样式
|
|
676
|
+
.ant-popover {
|
|
677
|
+
width: max-content;
|
|
647
678
|
}
|