@zat-design/sisyphus-react 3.4.2 → 3.4.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 +286 -240
- package/dist/less.esm.css +5022 -0
- package/dist/less.esm.js +3 -0
- package/es/ProConfigProvider/index.js +2 -1
- package/es/ProEditLabel/style/index.less +1 -1
- package/es/ProEditTable/components/RenderField/index.js +28 -20
- package/es/ProEditTable/index.js +3 -3
- package/es/ProEditTable/propsType.d.ts +1 -1
- package/es/ProEditTable/style/index.less +1 -1
- package/es/ProEditTable/utils/config.js +5 -5
- package/es/ProEditTable/utils/index.js +67 -30
- package/es/ProEditTable/utils/tools.js +3 -1
- package/es/ProEnum/components/Group.d.ts +2 -0
- package/es/ProEnum/components/Group.js +26 -8
- package/es/ProEnum/index.js +4 -3
- package/es/ProEnum/style/index.less +12 -3
- package/es/ProForm/components/base/DatePicker/index.js +2 -2
- package/es/ProForm/components/combination/FormList/index.js +6 -3
- package/es/ProForm/components/combination/FormList/utils.d.ts +2 -1
- package/es/ProForm/components/combination/FormList/utils.js +5 -3
- package/es/ProForm/components/combination/Group/index.js +28 -15
- package/es/ProForm/components/combination/Group/propsType.d.ts +6 -0
- package/es/ProForm/components/combination/Group/style/index.less +4 -4
- package/es/ProForm/components/combination/Group/utils.d.ts +2 -0
- package/es/ProForm/components/combination/Group/utils.js +10 -0
- package/es/ProForm/components/combination/ProTimeLimit/index.js +8 -2
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
- package/es/ProForm/components/index.d.ts +0 -1
- package/es/ProForm/components/index.js +1 -1
- package/es/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/es/ProForm/components/render/Render.js +21 -13
- package/es/ProForm/components/render/RenderFields.d.ts +2 -1
- package/es/ProForm/components/render/RenderFields.js +7 -3
- package/es/ProForm/components/render/propsType.d.ts +1 -4
- package/es/ProForm/index.js +8 -6
- package/es/ProForm/propsType.d.ts +5 -1
- package/es/ProForm/style/index.less +17 -13
- package/es/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
- package/es/ProForm/utils/diffOriginal.js +61 -0
- package/es/ProForm/utils/index.d.ts +1 -1
- package/es/ProForm/utils/index.js +1 -1
- package/es/ProForm/utils/transformNames.d.ts +1 -1
- package/es/ProForm/utils/transformNames.js +11 -4
- package/es/ProForm/utils/transformValue.js +2 -2
- package/es/ProForm/utils/useChanged.js +4 -3
- package/es/ProForm/utils/useListChanged.d.ts +1 -1
- package/es/ProForm/utils/useListChanged.js +5 -3
- package/es/ProForm/utils/valueType.d.ts +10 -5
- package/es/ProForm/utils/valueType.js +20 -10
- package/es/ProIcon/config/index.d.ts +2 -1
- package/es/ProIcon/config/index.js +191 -133
- package/es/ProIcon/index.d.ts +0 -1
- package/es/ProIcon/index.js +21 -36
- package/es/ProIcon/propsTypes.d.ts +2 -1
- package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
- package/es/ProLayout/components/Layout/Menu/style/index.less +52 -56
- package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
- package/es/ProLayout/components/ProCollapse/index.js +22 -3
- package/es/ProLayout/components/ProCollapse/style/index.less +29 -11
- package/es/ProLayout/components/ProFooter/index.js +1 -1
- package/es/ProLayout/components/ProFooter/style/index.less +1 -1
- package/es/ProLayout/components/ProHeader/style/index.less +6 -5
- package/es/ProLayout/style/index.less +176 -88
- package/es/ProStep/components/Item/index.js +2 -1
- package/es/ProStep/style/index.less +71 -70
- package/es/ProTable/components/RenderColumn/index.d.ts +1 -1
- package/es/ProTable/components/RenderColumn/index.js +3 -3
- package/es/ProTable/propsType.d.ts +1 -1
- package/es/ProTable/style/index.less +2 -2
- package/es/ProTable/utils.js +9 -9
- package/es/ProTabs/style/index.less +3 -1
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.js +2 -2
- package/es/ProThemeTools/component/PrdTools/style/index.less +1 -1
- package/es/ProThemeTools/index.js +21 -28
- package/es/ProThemeTools/propsType.d.ts +1 -1
- package/es/ProThemeTools/style/index.less +25 -8
- package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +7 -11
- package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.d.ts +1 -1
- package/es/ProTree/index.js +1 -1
- package/es/ProTreeModal/style/index.less +2 -2
- package/es/ProUpload/style/fileItem.less +2 -2
- package/es/ProUpload/style/index.less +2 -2
- package/es/assets/catalog.svg +30 -1
- package/es/assets/fold.svg +27 -0
- package/es/assets/setting.svg +14 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +3 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_CN.js +3 -0
- package/es/style/components.less +0 -1
- package/es/style/less.less +2 -0
- package/es/style/theme/antd.less +1 -2
- package/es/style/theme/index.less +2 -2
- package/es/style/theme/tokens.less +2 -2
- package/es/tokens.js +2 -2
- package/lib/ProConfigProvider/index.js +2 -1
- package/lib/ProEditLabel/style/index.less +1 -1
- package/lib/ProEditTable/components/RenderField/index.js +27 -19
- package/lib/ProEditTable/index.js +3 -3
- package/lib/ProEditTable/propsType.d.ts +1 -1
- package/lib/ProEditTable/style/index.less +1 -1
- package/lib/ProEditTable/utils/config.js +5 -5
- package/lib/ProEditTable/utils/index.js +67 -30
- package/lib/ProEditTable/utils/tools.js +3 -1
- package/lib/ProEnum/components/Group.d.ts +2 -0
- package/lib/ProEnum/components/Group.js +26 -8
- package/lib/ProEnum/index.js +4 -3
- package/lib/ProEnum/style/index.less +12 -3
- package/lib/ProForm/components/base/DatePicker/index.js +1 -1
- package/lib/ProForm/components/combination/FormList/index.js +6 -3
- package/lib/ProForm/components/combination/FormList/utils.d.ts +2 -1
- package/lib/ProForm/components/combination/FormList/utils.js +5 -3
- package/lib/ProForm/components/combination/Group/index.js +25 -12
- package/lib/ProForm/components/combination/Group/propsType.d.ts +6 -0
- package/lib/ProForm/components/combination/Group/style/index.less +4 -4
- package/lib/ProForm/components/combination/Group/utils.d.ts +2 -0
- package/lib/ProForm/components/combination/Group/utils.js +11 -1
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +7 -1
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
- package/lib/ProForm/components/index.d.ts +0 -1
- package/lib/ProForm/components/index.js +0 -7
- package/lib/ProForm/components/render/ConfirmWrapper.js +1 -1
- package/lib/ProForm/components/render/Render.js +21 -13
- package/lib/ProForm/components/render/RenderFields.d.ts +2 -1
- package/lib/ProForm/components/render/RenderFields.js +7 -3
- package/lib/ProForm/components/render/propsType.d.ts +1 -4
- package/lib/ProForm/index.js +7 -5
- package/lib/ProForm/propsType.d.ts +5 -1
- package/lib/ProForm/style/index.less +17 -13
- package/lib/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
- package/lib/ProForm/utils/diffOriginal.js +68 -0
- package/lib/ProForm/utils/index.d.ts +1 -1
- package/lib/ProForm/utils/index.js +2 -2
- package/lib/ProForm/utils/transformNames.d.ts +1 -1
- package/lib/ProForm/utils/transformNames.js +10 -3
- package/lib/ProForm/utils/transformValue.js +1 -1
- package/lib/ProForm/utils/useChanged.js +4 -3
- package/lib/ProForm/utils/useListChanged.d.ts +1 -1
- package/lib/ProForm/utils/useListChanged.js +5 -3
- package/lib/ProForm/utils/valueType.d.ts +10 -5
- package/lib/ProForm/utils/valueType.js +20 -10
- package/lib/ProIcon/config/index.d.ts +2 -1
- package/lib/ProIcon/config/index.js +191 -133
- package/lib/ProIcon/index.d.ts +0 -1
- package/lib/ProIcon/index.js +21 -37
- package/lib/ProIcon/propsTypes.d.ts +2 -1
- package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
- package/lib/ProLayout/components/Layout/Menu/style/index.less +52 -56
- package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
- package/lib/ProLayout/components/ProCollapse/index.js +20 -3
- package/lib/ProLayout/components/ProCollapse/style/index.less +29 -11
- package/lib/ProLayout/components/ProFooter/index.js +1 -1
- package/lib/ProLayout/components/ProFooter/style/index.less +1 -1
- package/lib/ProLayout/components/ProHeader/style/index.less +6 -5
- package/lib/ProLayout/style/index.less +176 -88
- package/lib/ProStep/components/Item/index.js +2 -1
- package/lib/ProStep/style/index.less +71 -70
- package/lib/ProTable/components/RenderColumn/index.d.ts +1 -1
- package/lib/ProTable/components/RenderColumn/index.js +3 -3
- package/lib/ProTable/propsType.d.ts +1 -1
- package/lib/ProTable/style/index.less +2 -2
- package/lib/ProTable/utils.js +9 -9
- package/lib/ProTabs/style/index.less +3 -1
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.js +2 -2
- package/lib/ProThemeTools/component/PrdTools/style/index.less +1 -1
- package/lib/ProThemeTools/index.js +19 -27
- package/lib/ProThemeTools/propsType.d.ts +1 -1
- package/lib/ProThemeTools/style/index.less +25 -8
- package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +7 -11
- package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.d.ts +1 -1
- package/lib/ProTree/index.js +1 -1
- package/lib/ProTreeModal/style/index.less +2 -2
- package/lib/ProUpload/style/fileItem.less +2 -2
- package/lib/ProUpload/style/index.less +2 -2
- package/lib/assets/catalog.svg +30 -1
- package/lib/assets/fold.svg +27 -0
- package/lib/assets/setting.svg +14 -0
- package/lib/locale/en_US.d.ts +3 -0
- package/lib/locale/en_US.js +3 -0
- package/lib/locale/zh_CN.d.ts +3 -0
- package/lib/locale/zh_CN.js +3 -0
- package/lib/style/components.less +0 -1
- package/lib/style/less.less +2 -0
- package/lib/style/theme/antd.less +1 -2
- package/lib/style/theme/index.less +2 -2
- package/lib/style/theme/tokens.less +2 -2
- package/lib/tokens.js +2 -2
- package/package.json +1 -1
- package/es/ProForm/utils/contrastOriginal.js +0 -24
- package/es/ProIcon/symbolIcon.js +0 -43
- package/lib/ProForm/utils/contrastOriginal.js +0 -30
- package/lib/ProIcon/symbolIcon.js +0 -45
- /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
- /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
- /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
- /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
- /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
- /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
.pro-header {
|
|
6
6
|
padding: 16px 0 0 0 !important;
|
|
7
7
|
background-color: var(--zaui-base-bg, #ffffff);
|
|
8
|
+
box-shadow: 2px 3px 8px 0px rgba(0, 55, 93, 0.1);
|
|
8
9
|
|
|
9
10
|
&.pro-header-no-back.pro-header-has-describe {
|
|
10
11
|
.pro-header-top {
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
line-height: 16px;
|
|
89
90
|
white-space: pre;
|
|
90
91
|
background: var(--ant-primary-1, #e6f4ff);
|
|
91
|
-
border-radius: var(--zaui-border-radius-card,
|
|
92
|
+
border-radius: var(--zaui-border-radius-card, 4px);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
.pro-header-title {
|
|
@@ -101,11 +102,11 @@
|
|
|
101
102
|
&.pro-header-fixed {
|
|
102
103
|
position: sticky;
|
|
103
104
|
z-index: 101;
|
|
104
|
-
box-shadow: 0px
|
|
105
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 55, 93, 0.2);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
&.pro-header-shadow {
|
|
108
|
-
box-shadow: 0px
|
|
109
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 55, 93, 0.2);
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
.@{ant-prefix}-breadcrumb {
|
|
@@ -184,7 +185,7 @@
|
|
|
184
185
|
font-style: initial;
|
|
185
186
|
line-height: 24px;
|
|
186
187
|
background: var(--ant-primary-1, #e6f4ff);
|
|
187
|
-
border-radius: var(--zaui-border-radius,
|
|
188
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
&.hidden {
|
|
@@ -216,7 +217,7 @@
|
|
|
216
217
|
.pro-header-nav {
|
|
217
218
|
position: relative;
|
|
218
219
|
display: flex;
|
|
219
|
-
background: #
|
|
220
|
+
background: #fafafa;
|
|
220
221
|
border-top: 1px solid #f2f2f2;
|
|
221
222
|
|
|
222
223
|
&.pro-header-nav-open {
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
@root-entry-name: 'default';
|
|
2
2
|
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
3
|
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import
|
|
8
|
-
|
|
4
|
+
@import '../components/Layout/index.less';
|
|
5
|
+
@import '../components/ProCollapse/style/index.less';
|
|
6
|
+
@import '../components/ProFooter/style/index.less';
|
|
7
|
+
@import '../components/ProHeader/style/index.less';
|
|
9
8
|
|
|
10
9
|
.pro-layout {
|
|
11
|
-
display
|
|
10
|
+
display: flex;
|
|
12
11
|
flex-direction: column;
|
|
13
|
-
background
|
|
12
|
+
background: var(--zaui-base-bg, #ffffff);
|
|
14
13
|
|
|
15
14
|
.pro-layout-menu-open {
|
|
16
15
|
.pro-layout-open-menu-lv1 {
|
|
@@ -23,6 +22,76 @@
|
|
|
23
22
|
// light模式
|
|
24
23
|
&.pro-layout-light {
|
|
25
24
|
|
|
25
|
+
// pro-collapse折叠调整
|
|
26
|
+
.pro-collapse {
|
|
27
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
28
|
+
&.@{ant-prefix}-collapse-borderless{
|
|
29
|
+
background: #fff;
|
|
30
|
+
}
|
|
31
|
+
&.pro-collapse-no-title{
|
|
32
|
+
.pro-collapse-content{
|
|
33
|
+
border-radius: var(--zaui-border-radius, 8px) !important;
|
|
34
|
+
padding: var(--zaui-space-size-md, 16px);
|
|
35
|
+
}
|
|
36
|
+
.pro-header-no-describe{
|
|
37
|
+
padding: 0 !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.@{ant-prefix}-collapse-item-active{
|
|
41
|
+
&.pro-collapse-panel{
|
|
42
|
+
.@{ant-prefix}-collapse-header{
|
|
43
|
+
border-radius: var(--zaui-border-radius, 8px) var(--zaui-border-radius, 8px) 0 0 !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.pro-collapse-content{
|
|
49
|
+
border-radius: 0 0 var(--zaui-border-radius, 8px) var(--zaui-border-radius, 8px);
|
|
50
|
+
padding: var(--zaui-space-size-md, 16px);
|
|
51
|
+
|
|
52
|
+
.pro-form{
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.pro-collapse-level2{
|
|
57
|
+
.pro-collapse-panel .@{ant-prefix}-collapse-header{
|
|
58
|
+
background: #fff;
|
|
59
|
+
}
|
|
60
|
+
.pro-collapse-content{
|
|
61
|
+
padding-bottom: var(--zaui-space-size-sm, 8px);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.pro-collapse-panel{
|
|
66
|
+
.@{ant-prefix}-collapse-header{
|
|
67
|
+
border-radius: var(--zaui-border-radius, 8px) !important;
|
|
68
|
+
background: #E4F2FE;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// pro-header调整
|
|
75
|
+
.pro-header{
|
|
76
|
+
&.pro-header-no-describe{
|
|
77
|
+
padding: var(--zaui-space-size-md, 16px) !important;
|
|
78
|
+
.pro-header-top{
|
|
79
|
+
padding-bottom: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
&.pro-header-has-describe{
|
|
83
|
+
.pro-header-nav-open{
|
|
84
|
+
border-radius: 0 0 var(--zaui-border-radius, 8px) var(--zaui-border-radius, 8px);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
border-radius: 0 0 var(--zaui-border-radius, 8px) var(--zaui-border-radius, 8px);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
.pro-layout-content {
|
|
92
|
+
padding: 0 var(--zaui-space-size-md, 16px);
|
|
93
|
+
background: #f3f5f8;
|
|
94
|
+
}
|
|
26
95
|
|
|
27
96
|
.pro-layout-menu-open,
|
|
28
97
|
.pro-layout-menu {
|
|
@@ -30,80 +99,92 @@
|
|
|
30
99
|
}
|
|
31
100
|
|
|
32
101
|
.pro-layout-open-menu .@{ant-prefix}-menu-title-content div .pro-layout-icon {
|
|
33
|
-
color : var(--zaui-text, #343434);
|
|
34
102
|
position: relative;
|
|
35
|
-
z-index
|
|
103
|
+
z-index: 1;
|
|
104
|
+
color: var(--zaui-text, #343434);
|
|
36
105
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
&>div {
|
|
106
|
+
.pro-layout-menu-fold {
|
|
107
|
+
.pro-layout-menu-fold-list {
|
|
108
|
+
border-right: 1px solid #f0f0f0;
|
|
109
|
+
li {
|
|
43
110
|
position: relative;
|
|
44
|
-
z-index : 1;
|
|
45
|
-
}
|
|
46
111
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
div .pro-layout-icon {
|
|
51
|
-
color: #fff;
|
|
112
|
+
& > div {
|
|
113
|
+
position: relative;
|
|
114
|
+
z-index: 1;
|
|
52
115
|
}
|
|
53
116
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
border-radius
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
117
|
+
&.active {
|
|
118
|
+
background: transparent;
|
|
119
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
120
|
+
|
|
121
|
+
div .pro-layout-icon {
|
|
122
|
+
color: #fff;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&::before {
|
|
126
|
+
position: absolute;
|
|
127
|
+
top: 4px;
|
|
128
|
+
left: 5px;
|
|
129
|
+
width: calc(100% - 10px);
|
|
130
|
+
height: 38px;
|
|
131
|
+
background-color: var(--zaui-brand, #006aff);
|
|
132
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
133
|
+
opacity: 1 !important;
|
|
134
|
+
content: '';
|
|
135
|
+
}
|
|
64
136
|
}
|
|
65
|
-
}
|
|
66
137
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
138
|
+
&:hover {
|
|
139
|
+
background: transparent;
|
|
140
|
+
|
|
141
|
+
&::before {
|
|
142
|
+
position: absolute;
|
|
143
|
+
top: 4px;
|
|
144
|
+
left: 5px;
|
|
145
|
+
width: calc(100% - 10px);
|
|
146
|
+
height: 38px;
|
|
147
|
+
background-color: var(--zaui-brand, #006aff);
|
|
148
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
149
|
+
opacity: 0.08;
|
|
150
|
+
content: '';
|
|
151
|
+
}
|
|
80
152
|
}
|
|
81
153
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
color: var(--zaui-text, #343434);
|
|
154
|
+
div .pro-layout-icon {
|
|
155
|
+
color: var(--zaui-text, #343434);
|
|
156
|
+
}
|
|
86
157
|
}
|
|
87
158
|
}
|
|
88
159
|
}
|
|
89
160
|
|
|
90
|
-
|
|
91
|
-
.pro-layout-menu-fold-list li.active {
|
|
92
|
-
border-radius: var(--zaui-border-radius, 4px);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
161
|
.pro-layout-menu-collapsed {
|
|
96
162
|
position: relative;
|
|
163
|
+
background: var(--zaui-base-bg, #fff);
|
|
164
|
+
border-right: 1px solid #f0f0f0;
|
|
165
|
+
&:hover {
|
|
166
|
+
background: transparent !important;
|
|
167
|
+
}
|
|
168
|
+
&:hover::after {
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 5px;
|
|
171
|
+
left: 5px;
|
|
172
|
+
width: calc(100% - 10px);
|
|
173
|
+
height: 40px;
|
|
174
|
+
background-color: var(--zaui-brand, #006aff);
|
|
175
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
176
|
+
opacity: 0.08;
|
|
177
|
+
content: '';
|
|
178
|
+
}
|
|
97
179
|
|
|
98
180
|
&::before {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
width
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
181
|
+
position: absolute;
|
|
182
|
+
top: 0;
|
|
183
|
+
left: var(--zaui-space-size-sm, 8px);
|
|
184
|
+
width: calc(100% - 16px);
|
|
185
|
+
height: 1px;
|
|
186
|
+
background: #dee0e3;
|
|
187
|
+
content: '';
|
|
107
188
|
}
|
|
108
189
|
}
|
|
109
190
|
|
|
@@ -112,49 +193,56 @@
|
|
|
112
193
|
border-color: var(--zaui-text, #343434);
|
|
113
194
|
}
|
|
114
195
|
}
|
|
115
|
-
|
|
116
|
-
.pro-layout-menu-collapsed {
|
|
117
|
-
background: var(--zaui-base-bg, #fff);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
196
|
.@{ant-prefix}-menu-root {
|
|
121
197
|
overflow-x: hidden !important;
|
|
122
198
|
}
|
|
123
199
|
|
|
124
200
|
.anticon-caret-down {
|
|
125
|
-
color: #
|
|
201
|
+
color: #999 !important;
|
|
126
202
|
}
|
|
127
203
|
|
|
128
204
|
.pro-layout-row .pro-layout-menu {
|
|
129
205
|
background: var(--zaui-base-bg, #ffffff);
|
|
130
206
|
}
|
|
131
207
|
|
|
132
|
-
.pro-layout-open-menu
|
|
208
|
+
.pro-layout-open-menu
|
|
209
|
+
.@{ant-prefix}-menu-root
|
|
210
|
+
> .@{ant-prefix}-menu-submenu
|
|
211
|
+
.@{ant-prefix}-menu-sub {
|
|
133
212
|
background: var(--zaui-base-bg, #ffffff);
|
|
134
213
|
}
|
|
135
214
|
|
|
136
215
|
.pro-layout-open-menu .@{ant-prefix}-menu-title-content div h2 {
|
|
137
216
|
color: var(--zaui-text, #343434);
|
|
217
|
+
padding-right: 26px;
|
|
218
|
+
}
|
|
219
|
+
.@{ant-prefix}-menu-item-only-child{
|
|
220
|
+
.@{ant-prefix}-menu-title-content div h2{
|
|
221
|
+
padding-right: 16px;
|
|
222
|
+
}
|
|
138
223
|
}
|
|
139
224
|
|
|
140
225
|
.pro-layout-open-menu .@{ant-prefix}-menu-item:hover,
|
|
141
|
-
.pro-layout-open-menu .@{ant-prefix}-menu-submenu-title:hover
|
|
226
|
+
.pro-layout-open-menu .@{ant-prefix}-menu-submenu-title:hover,
|
|
227
|
+
.pro-layout-open-menu .@{ant-prefix}-menu-item-selected{
|
|
228
|
+
position: relative;
|
|
142
229
|
background: transparent;
|
|
143
|
-
position : relative;
|
|
144
230
|
|
|
145
231
|
&:before {
|
|
146
|
-
|
|
147
|
-
|
|
232
|
+
position: absolute;
|
|
233
|
+
left: var(--zaui-space-size-sm, 8px);
|
|
234
|
+
width: calc(100% - 16px);
|
|
235
|
+
min-height: 38px;
|
|
236
|
+
height: 80%;
|
|
148
237
|
background-color: var(--zaui-brand, #006aff);
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
left : var(--zaui-space-size-sm, 8px);
|
|
153
|
-
width : calc(100% - 16px);
|
|
238
|
+
border-radius: var(--zaui-border-radius, 8px);
|
|
239
|
+
opacity: 0.08;
|
|
240
|
+
content: '';
|
|
154
241
|
}
|
|
155
242
|
}
|
|
156
243
|
|
|
157
244
|
.pro-layout-open-menu .@{ant-prefix}-menu-item-selected {
|
|
245
|
+
padding-right: 16px;
|
|
158
246
|
&::after {
|
|
159
247
|
display: none;
|
|
160
248
|
}
|
|
@@ -175,18 +263,18 @@
|
|
|
175
263
|
|
|
176
264
|
/** 内容区 */
|
|
177
265
|
.pro-layout-content {
|
|
178
|
-
|
|
266
|
+
z-index: 1;
|
|
267
|
+
flex: auto;
|
|
268
|
+
flex: auto;
|
|
269
|
+
min-height: calc(100vh - 48px);
|
|
270
|
+
margin-top: 48px;
|
|
179
271
|
margin-left: 48px;
|
|
180
|
-
padding
|
|
181
|
-
transition
|
|
182
|
-
z-index : 1;
|
|
183
|
-
flex : auto;
|
|
184
|
-
min-height : calc(100vh - 48px);
|
|
185
|
-
margin-top : 48px;
|
|
272
|
+
padding: 0 var(--zaui-space-size-lg, 32px);
|
|
273
|
+
transition: all 0.24s ease;
|
|
186
274
|
|
|
187
275
|
&.pro-layout-has-notice {
|
|
188
|
-
margin-top: 80px;
|
|
189
276
|
min-height: calc(100vh - 80px);
|
|
277
|
+
margin-top: 80px;
|
|
190
278
|
}
|
|
191
279
|
}
|
|
192
280
|
|
|
@@ -208,7 +296,7 @@
|
|
|
208
296
|
}
|
|
209
297
|
}
|
|
210
298
|
|
|
211
|
-
.pro-layout-header-pure
|
|
299
|
+
.pro-layout-header-pure + .pro-layout-row {
|
|
212
300
|
.pro-layout-sider-new-nav {
|
|
213
301
|
top: 0 !important;
|
|
214
302
|
}
|
|
@@ -30,7 +30,8 @@ var _default = exports.default = function _default(_ref) {
|
|
|
30
30
|
id: id,
|
|
31
31
|
children: !register || collapse && collapseItem && title ? (0, _jsxRuntime.jsx)(_ProCollapse.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
32
32
|
id: id,
|
|
33
|
-
title: title
|
|
33
|
+
title: title,
|
|
34
|
+
icon: true
|
|
34
35
|
}, restProps), {}, {
|
|
35
36
|
children: children
|
|
36
37
|
})) : children
|
|
@@ -6,37 +6,38 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.pro-step {
|
|
9
|
-
position
|
|
10
|
-
right
|
|
11
|
-
z-index
|
|
12
|
-
min-width
|
|
13
|
-
min-height
|
|
14
|
-
text-align : center;
|
|
15
|
-
background-color: var(--zaui-global-bg, #fff);
|
|
16
|
-
cursor : pointer;
|
|
17
|
-
box-shadow : -1px 0px 5px 0px var(--zaui-shadow, rgba(56,56,56,0.15));
|
|
18
|
-
transition : width .2s;
|
|
9
|
+
position: fixed;
|
|
10
|
+
right: 0;
|
|
11
|
+
z-index: 101;
|
|
12
|
+
min-width: 48px;
|
|
13
|
+
min-height: 48px;
|
|
19
14
|
overflow-x: hidden;
|
|
20
15
|
overflow-y: auto;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
text-align: center;
|
|
17
|
+
background-color: var(--zaui-global-bg, #fff);
|
|
18
|
+
border-radius: 0 0 var(--zaui-border-radius) var(--zaui-border-radius);
|
|
19
|
+
box-shadow: -1px 0px 5px 0px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: width 0.2s;
|
|
22
|
+
|
|
23
|
+
> .step-menu {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 48px;
|
|
28
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
|
28
29
|
border-bottom: 1px solid var(--zaui-line, #dddddd);
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
> .menu-icon {
|
|
31
32
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
32
|
-
fill
|
|
33
|
+
fill: var(--zaui-brand, #006aff);
|
|
33
34
|
|
|
34
|
-
>div {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
display : flex;
|
|
38
|
-
align-items : center;
|
|
35
|
+
> div {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
39
38
|
justify-content: center;
|
|
39
|
+
width: 48px;
|
|
40
|
+
height: 24px;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
}
|
|
@@ -50,12 +51,12 @@
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.com-menu-item {
|
|
53
|
-
display
|
|
54
|
-
align-items
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
55
56
|
justify-content: space-between;
|
|
56
|
-
width
|
|
57
|
-
height
|
|
58
|
-
padding-right
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: 48px;
|
|
59
|
+
padding-right: var(--zaui-space-size-md, 24px);
|
|
59
60
|
|
|
60
61
|
&:hover {
|
|
61
62
|
background-color: rgba(185, 185, 189, 0.1);
|
|
@@ -69,63 +70,63 @@
|
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
display
|
|
73
|
+
> .menu-item {
|
|
74
|
+
display: flex;
|
|
74
75
|
align-items: center;
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
display
|
|
78
|
-
align-items
|
|
77
|
+
> .menu-icon {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
79
80
|
justify-content: center;
|
|
80
|
-
width
|
|
81
|
-
height
|
|
81
|
+
width: 48px;
|
|
82
|
+
height: 100%;
|
|
82
83
|
|
|
83
|
-
>svg {
|
|
84
|
-
fill: var(--zaui-brand, #
|
|
84
|
+
> svg {
|
|
85
|
+
fill: var(--zaui-brand, #006aff);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
|
-
|
|
88
|
-
width
|
|
89
|
-
height
|
|
90
|
-
background
|
|
88
|
+
> .dot {
|
|
89
|
+
width: 6px;
|
|
90
|
+
height: 6px;
|
|
91
|
+
background: var(--zaui-brand, #006aff);
|
|
91
92
|
border-radius: 3px;
|
|
92
93
|
|
|
93
94
|
&.errored {
|
|
94
95
|
background: #ff5050;
|
|
95
|
-
fill
|
|
96
|
+
fill: #ff5050;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&.disabled {
|
|
99
100
|
background: #939599;
|
|
100
|
-
fill
|
|
101
|
+
fill: #939599;
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
.dot-icon {
|
|
105
|
-
display
|
|
106
|
-
align-items
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
107
108
|
justify-content: center;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
background
|
|
113
|
-
border-radius
|
|
109
|
+
width: 18px;
|
|
110
|
+
height: 18px;
|
|
111
|
+
color: #ffffff;
|
|
112
|
+
font-size: var(--zaui-font-size-sm, 12px);
|
|
113
|
+
background: var(--zaui-brand, #006aff);
|
|
114
|
+
border-radius: 9px;
|
|
114
115
|
|
|
115
116
|
&.errored {
|
|
116
117
|
background: #ff5050;
|
|
117
|
-
fill
|
|
118
|
+
fill: #ff5050;
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
&.disabled {
|
|
121
122
|
background: #939599;
|
|
122
|
-
fill
|
|
123
|
+
fill: #939599;
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
|
|
127
|
-
|
|
128
|
-
color: #
|
|
128
|
+
> .menu-name {
|
|
129
|
+
color: #0a0a0a;
|
|
129
130
|
|
|
130
131
|
&.disabled {
|
|
131
132
|
color: #626366;
|
|
@@ -133,26 +134,26 @@
|
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
|
|
136
|
-
|
|
137
|
+
> .checked-status {
|
|
137
138
|
height: 18px;
|
|
138
139
|
|
|
139
|
-
>svg {
|
|
140
|
-
fill: var(--zaui-brand, #
|
|
140
|
+
> svg {
|
|
141
|
+
fill: var(--zaui-brand, #006aff);
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
.errorDot {
|
|
144
|
-
display
|
|
145
|
-
align-items
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
146
147
|
justify-content: center;
|
|
147
|
-
width
|
|
148
|
-
height
|
|
149
|
-
background
|
|
150
|
-
border-radius
|
|
151
|
-
|
|
152
|
-
>span {
|
|
153
|
-
color
|
|
154
|
-
font-weight
|
|
155
|
-
font-size
|
|
148
|
+
width: 16px;
|
|
149
|
+
height: 16px;
|
|
150
|
+
background: rgba(255, 80, 80, 0.2);
|
|
151
|
+
border-radius: 8px;
|
|
152
|
+
|
|
153
|
+
> span {
|
|
154
|
+
color: #ff5050;
|
|
155
|
+
font-weight: 600;
|
|
156
|
+
font-size: var(--aui-font-size-sm, 12px);
|
|
156
157
|
border-radius: 8px;
|
|
157
158
|
}
|
|
158
159
|
}
|
|
@@ -22,10 +22,10 @@ var RenderColumn = function RenderColumn(props) {
|
|
|
22
22
|
ellipsis = props.ellipsis,
|
|
23
23
|
width = props.width,
|
|
24
24
|
originalValue = props.originalValue,
|
|
25
|
-
|
|
25
|
+
originalDiffTip = props.originalDiffTip;
|
|
26
26
|
if (originalValue !== undefined) {
|
|
27
27
|
var renderNode = value ? node : '-';
|
|
28
|
-
if (ellipsis ||
|
|
28
|
+
if (ellipsis || originalDiffTip) {
|
|
29
29
|
if (ellipsis) {
|
|
30
30
|
renderNode = (0, _jsxRuntime.jsx)(Text, {
|
|
31
31
|
style: {
|
|
@@ -42,7 +42,7 @@ var RenderColumn = function RenderColumn(props) {
|
|
|
42
42
|
style: {
|
|
43
43
|
width: width
|
|
44
44
|
},
|
|
45
|
-
title:
|
|
45
|
+
title: originalDiffTip ? (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
46
46
|
children: ["\u521D\u59CB\u503C\uFF1A", originalValue, (0, _jsxRuntime.jsx)("br", {}), ellipsis ? "\u5F53\u524D\u503C\uFF1A".concat(currentValue) : undefined]
|
|
47
47
|
}) : node,
|
|
48
48
|
children: renderNode
|
|
@@ -26,7 +26,7 @@ export interface ProTableColumn extends Omit<ColumnType<any>, 'dataIndex'> {
|
|
|
26
26
|
precision?: number;
|
|
27
27
|
code?: string | string[] | ((text: any, record: any) => string);
|
|
28
28
|
copyable?: boolean;
|
|
29
|
-
|
|
29
|
+
originalDiffTip?: boolean;
|
|
30
30
|
prefix?: string | ReactNode | ((value: any, record?: any, index?: number) => any);
|
|
31
31
|
suffix?: string | ReactNode | ((value: any, record?: any, index?: number) => any);
|
|
32
32
|
tooltip?: ReactNode | {
|