@zat-design/sisyphus-react 3.4.2-beta.1 → 3.4.2-beta.11

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.
Files changed (130) hide show
  1. package/dist/index.esm.css +239 -122
  2. package/es/ProEditLabel/style/index.less +1 -1
  3. package/es/ProEditTable/components/RenderField/index.js +13 -15
  4. package/es/ProEditTable/index.js +3 -3
  5. package/es/ProEditTable/propsType.d.ts +1 -1
  6. package/es/ProEditTable/style/index.less +1 -1
  7. package/es/ProEditTable/utils/config.js +5 -5
  8. package/es/ProEditTable/utils/index.js +67 -30
  9. package/es/ProEditTable/utils/tools.js +3 -1
  10. package/es/ProEnum/components/Group.d.ts +1 -0
  11. package/es/ProEnum/components/Group.js +21 -8
  12. package/es/ProEnum/index.js +4 -2
  13. package/es/ProEnum/style/index.less +8 -2
  14. package/es/ProForm/components/base/DatePicker/index.js +2 -2
  15. package/es/ProForm/components/combination/Group/index.js +6 -9
  16. package/es/ProForm/components/combination/Group/style/index.less +4 -4
  17. package/es/ProForm/components/combination/Group/utils.d.ts +2 -0
  18. package/es/ProForm/components/combination/Group/utils.js +10 -0
  19. package/es/ProForm/components/combination/ProTimeLimit/index.js +8 -2
  20. package/es/ProForm/components/render/Render.js +2 -2
  21. package/es/ProForm/components/render/RenderFields.d.ts +1 -1
  22. package/es/ProForm/components/render/RenderFields.js +2 -2
  23. package/es/ProForm/index.js +4 -4
  24. package/es/ProForm/propsType.d.ts +1 -1
  25. package/es/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
  26. package/es/ProForm/utils/diffOriginal.js +61 -0
  27. package/es/ProForm/utils/index.d.ts +1 -1
  28. package/es/ProForm/utils/index.js +1 -1
  29. package/es/ProForm/utils/transformValue.js +2 -2
  30. package/es/ProForm/utils/useChanged.js +4 -3
  31. package/es/ProForm/utils/useListChanged.d.ts +1 -1
  32. package/es/ProForm/utils/useListChanged.js +5 -3
  33. package/es/ProIcon/index.d.ts +0 -1
  34. package/es/ProIcon/index.js +7 -29
  35. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
  36. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
  37. package/es/ProLayout/components/Layout/Menu/style/index.less +52 -56
  38. package/es/ProLayout/components/ProCollapse/style/index.less +17 -9
  39. package/es/ProLayout/components/ProFooter/index.js +1 -1
  40. package/es/ProLayout/components/ProFooter/style/index.less +1 -1
  41. package/es/ProLayout/components/ProHeader/style/index.less +4 -3
  42. package/es/ProLayout/style/index.less +173 -87
  43. package/es/ProTable/components/RenderColumn/index.d.ts +1 -1
  44. package/es/ProTable/components/RenderColumn/index.js +3 -3
  45. package/es/ProTable/propsType.d.ts +1 -1
  46. package/es/ProTable/style/index.less +2 -2
  47. package/es/ProTable/utils.js +9 -9
  48. package/es/ProTabs/style/index.less +3 -1
  49. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  50. package/es/ProThemeTools/component/PrdTools/index.js +2 -2
  51. package/es/ProThemeTools/component/PrdTools/style/index.less +1 -1
  52. package/es/ProThemeTools/index.js +21 -28
  53. package/es/ProThemeTools/propsType.d.ts +1 -1
  54. package/es/ProThemeTools/style/index.less +25 -8
  55. package/es/ProTreeModal/style/index.less +2 -2
  56. package/es/ProUpload/style/fileItem.less +2 -2
  57. package/es/ProUpload/style/index.less +2 -2
  58. package/es/assets/setting.svg +14 -0
  59. package/es/style/components.less +0 -1
  60. package/es/style/theme/antd.less +0 -1
  61. package/es/style/theme/index.less +2 -2
  62. package/es/style/theme/tokens.less +2 -2
  63. package/es/tokens.js +2 -2
  64. package/lib/ProEditLabel/style/index.less +1 -1
  65. package/lib/ProEditTable/components/RenderField/index.js +12 -14
  66. package/lib/ProEditTable/index.js +3 -3
  67. package/lib/ProEditTable/propsType.d.ts +1 -1
  68. package/lib/ProEditTable/style/index.less +1 -1
  69. package/lib/ProEditTable/utils/config.js +5 -5
  70. package/lib/ProEditTable/utils/index.js +67 -30
  71. package/lib/ProEditTable/utils/tools.js +3 -1
  72. package/lib/ProEnum/components/Group.d.ts +1 -0
  73. package/lib/ProEnum/components/Group.js +21 -8
  74. package/lib/ProEnum/index.js +4 -2
  75. package/lib/ProEnum/style/index.less +8 -2
  76. package/lib/ProForm/components/base/DatePicker/index.js +1 -1
  77. package/lib/ProForm/components/combination/Group/index.js +4 -7
  78. package/lib/ProForm/components/combination/Group/style/index.less +4 -4
  79. package/lib/ProForm/components/combination/Group/utils.d.ts +2 -0
  80. package/lib/ProForm/components/combination/Group/utils.js +11 -1
  81. package/lib/ProForm/components/combination/ProTimeLimit/index.js +7 -1
  82. package/lib/ProForm/components/render/Render.js +2 -2
  83. package/lib/ProForm/components/render/RenderFields.d.ts +1 -1
  84. package/lib/ProForm/components/render/RenderFields.js +2 -2
  85. package/lib/ProForm/index.js +4 -4
  86. package/lib/ProForm/propsType.d.ts +1 -1
  87. package/lib/ProForm/utils/{contrastOriginal.d.ts → diffOriginal.d.ts} +2 -1
  88. package/lib/ProForm/utils/diffOriginal.js +68 -0
  89. package/lib/ProForm/utils/index.d.ts +1 -1
  90. package/lib/ProForm/utils/index.js +2 -2
  91. package/lib/ProForm/utils/transformValue.js +1 -1
  92. package/lib/ProForm/utils/useChanged.js +4 -3
  93. package/lib/ProForm/utils/useListChanged.d.ts +1 -1
  94. package/lib/ProForm/utils/useListChanged.js +5 -3
  95. package/lib/ProIcon/index.d.ts +0 -1
  96. package/lib/ProIcon/index.js +7 -30
  97. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +58 -55
  98. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +25 -20
  99. package/lib/ProLayout/components/Layout/Menu/style/index.less +52 -56
  100. package/lib/ProLayout/components/ProCollapse/style/index.less +17 -9
  101. package/lib/ProLayout/components/ProFooter/index.js +1 -1
  102. package/lib/ProLayout/components/ProFooter/style/index.less +1 -1
  103. package/lib/ProLayout/components/ProHeader/style/index.less +4 -3
  104. package/lib/ProLayout/style/index.less +173 -87
  105. package/lib/ProTable/components/RenderColumn/index.d.ts +1 -1
  106. package/lib/ProTable/components/RenderColumn/index.js +3 -3
  107. package/lib/ProTable/propsType.d.ts +1 -1
  108. package/lib/ProTable/style/index.less +2 -2
  109. package/lib/ProTable/utils.js +9 -9
  110. package/lib/ProTabs/style/index.less +3 -1
  111. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  112. package/lib/ProThemeTools/component/PrdTools/index.js +2 -2
  113. package/lib/ProThemeTools/component/PrdTools/style/index.less +1 -1
  114. package/lib/ProThemeTools/index.js +19 -27
  115. package/lib/ProThemeTools/propsType.d.ts +1 -1
  116. package/lib/ProThemeTools/style/index.less +25 -8
  117. package/lib/ProTreeModal/style/index.less +2 -2
  118. package/lib/ProUpload/style/fileItem.less +2 -2
  119. package/lib/ProUpload/style/index.less +2 -2
  120. package/lib/assets/setting.svg +14 -0
  121. package/lib/style/components.less +0 -1
  122. package/lib/style/theme/antd.less +0 -1
  123. package/lib/style/theme/index.less +2 -2
  124. package/lib/style/theme/tokens.less +2 -2
  125. package/lib/tokens.js +2 -2
  126. package/package.json +1 -1
  127. package/es/ProForm/utils/contrastOriginal.js +0 -24
  128. package/es/ProIcon/symbolIcon.js +0 -43
  129. package/lib/ProForm/utils/contrastOriginal.js +0 -30
  130. package/lib/ProIcon/symbolIcon.js +0 -45
@@ -1,36 +1,35 @@
1
1
  @root-entry-name: 'default';
2
2
  @import (reference) '~antd/es/style/themes/index.less';
3
- @import "../FoldMenu/style/index.less";
4
- @import "../OpenMenu/style/index.less";
5
- @import "../SideMenu/style/index.less";
3
+ @import '../FoldMenu/style/index.less';
4
+ @import '../OpenMenu/style/index.less';
5
+ @import '../SideMenu/style/index.less';
6
6
 
7
7
  /** 侧边栏 + 内容区 */
8
8
  .pro-layout-row {
9
9
  flex-direction: column;
10
10
 
11
-
12
11
  .pro-layout-menu-open {
13
- .pro-layout-arrow {
12
+ .pro-layout-arrow {
14
13
  transform: rotate(225deg);
15
14
  }
16
15
  }
17
16
 
18
17
  .pro-layout-arrow {
19
- width : 10px;
20
- height : 10px;
18
+ width: 10px;
19
+ height: 10px;
20
+ margin-left: -5px;
21
21
  background-color: transparent;
22
22
  /* 模块背景为透明 */
23
- border-color : #fff;
24
- border-style : solid;
25
- border-width : 2px 2px 0 0;
26
- margin-left : -5px;
27
- transform : rotate(45deg);
23
+ border-color: #fff;
24
+ border-style: solid;
25
+ border-width: 2px 2px 0 0;
26
+ transform: rotate(45deg);
28
27
  }
29
28
 
30
29
  &.pro-layout-menu-no-collapsed {
31
30
  .pro-layout-menu-fold-li {
32
- display : flex;
33
- align-items : center;
31
+ display: flex;
32
+ align-items: center;
34
33
  justify-content: center;
35
34
 
36
35
  div {
@@ -42,11 +41,10 @@
42
41
  }
43
42
 
44
43
  h2 {
45
- display : inline-block;
44
+ display: inline-block;
46
45
  white-space: nowrap;
47
- opacity : 0;
48
- transition : opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
49
- color 0.5s;
46
+ opacity: 0;
47
+ transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s;
50
48
  }
51
49
  }
52
50
  }
@@ -81,18 +79,18 @@
81
79
  }
82
80
 
83
81
  .pro-layout-menu {
84
- position : fixed;
85
- top : 48px;
86
- left : 0;
87
- z-index : 1;
88
- width : 48px;
89
- height : 100vh;
90
- min-height : 100%;
91
- padding : 0;
92
- overflow-x : hidden;
93
- overflow-y : auto;
82
+ position: fixed;
83
+ top: 48px;
84
+ left: 0;
85
+ z-index: 99;
86
+ width: 48px;
87
+ height: 100vh;
88
+ min-height: 100%;
89
+ padding: 0;
90
+ overflow-x: hidden;
91
+ overflow-y: auto;
94
92
  background-color: #1a202d;
95
- transition : background .3s, width .3s cubic-bezier(.2, 0, 0, 1) 0s;
93
+ transition: background 0.3s, width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;
96
94
 
97
95
  &.pro-layout-menu-open {
98
96
  width: 220px;
@@ -101,52 +99,50 @@
101
99
 
102
100
  /** 内容区 */
103
101
  .pro-layout-content {
104
- flex : auto;
102
+ z-index: 1;
103
+ flex: auto;
104
+ flex: auto;
105
+ min-height: calc(100vh - 48px);
106
+ margin-top: 48px;
105
107
  margin-left: 48px;
106
- padding : 0 var(--zaui-space-size-md, 16px);
107
- transition : all 0.3s ease-in-out;
108
- z-index : 1;
109
- flex : auto;
110
- min-height : calc(100vh - 48px);
111
- margin-top : 48px;
108
+ padding: 0 var(--zaui-space-size-md, 16px);
109
+ transition: all 0.3s ease-in-out;
112
110
  }
113
111
 
114
-
115
-
116
112
  .pro-layout-menu.pro-layout-menu-open .pro-layout-menu-collapsed {
117
- left : 0;
118
- width: 220px
113
+ left: 0;
114
+ width: 220px;
119
115
  }
120
116
 
121
117
  .pro-layout-menu.pro-layout-menu-open .pro-layout-menu-collapsed img {
122
- transform: rotate(-180deg)
118
+ transform: rotate(-180deg);
123
119
  }
124
120
 
125
121
  .pro-layout-menu .pro-layout-menu-collapsed {
126
- position : fixed;
127
- bottom : 0;
128
- left : 0;
129
- z-index : 2;
130
- display : flex;
131
- align-items : center;
122
+ position: fixed;
123
+ bottom: 0;
124
+ left: 0;
125
+ z-index: 2;
126
+ display: flex;
127
+ align-items: center;
132
128
  justify-content: center;
133
- width : 48px;
134
- height : 48px;
135
- transition : all .25s ease;
136
- background : #292f3b
129
+ width: 48px;
130
+ height: 48px;
131
+ background: #292f3b;
132
+ transition: all 0.3s ease;
137
133
  }
138
134
 
139
135
  .pro-layout-menu .pro-layout-menu-collapsed:hover {
140
- background-color: rgba(185, 185, 189, .1)
136
+ background-color: rgba(185, 185, 189, 0.1);
141
137
  }
142
138
 
143
139
  .pro-layout-menu .pro-layout-menu-collapsed img {
144
140
  display: inline-block;
145
- width : 20px;
146
- height : 20px
141
+ width: 20px;
142
+ height: 20px;
147
143
  }
148
144
 
149
- .pro-layout-menu-open~.pro-layout-content {
150
- margin-left: 220px !important
145
+ .pro-layout-menu-open ~ .pro-layout-content {
146
+ margin-left: 220px !important;
151
147
  }
152
148
  }
@@ -2,12 +2,16 @@
2
2
  @import (reference) '~antd/es/style/themes/index.less';
3
3
 
4
4
  .pro-collapse {
5
- background: #f6f8fc;
6
5
 
7
6
  &.pro-collapse-no-title {
8
7
  .@{ant-prefix}-collapse-header {
9
8
  display: none !important;
10
9
  }
10
+ .pro-collapse-level2{
11
+ .@{ant-prefix}-collapse-header {
12
+ display: block !important;
13
+ }
14
+ }
11
15
  }
12
16
 
13
17
  &.@{ant-prefix}-collapse {
@@ -29,7 +33,7 @@
29
33
  }
30
34
 
31
35
  .@{ant-prefix}-collapse-expand-icon {
32
- color: #c5c7cd;
36
+ color: #999;
33
37
  }
34
38
 
35
39
  &.@{ant-prefix}-collapse-borderless
@@ -41,7 +45,6 @@
41
45
 
42
46
  .@{ant-prefix}-collapse-content-box {
43
47
  padding: 0;
44
- background: var(--zaui-base-bg, #ffffff);
45
48
 
46
49
  .pro-collapse-content {
47
50
  padding: var(--zaui-space-size-md, 16px);
@@ -52,9 +55,11 @@
52
55
  }
53
56
 
54
57
  &.pro-collapse-level2 {
55
- margin-bottom: 0;
58
+ margin-top: var(--zaui-space-size-md, 16px);
56
59
  background: var(--zaui-base-bg, #ffffff);
57
-
60
+ .pro-collapse-panel{
61
+ margin-bottom: 0;
62
+ }
58
63
  .@{ant-prefix}-collapse-header {
59
64
  padding: 0 !important;
60
65
  background: var(--zaui-base-bg, #ffffff);
@@ -71,7 +76,7 @@
71
76
  width: 4px;
72
77
  height: 14px;
73
78
  background: var(--zaui-brand);
74
- border-radius: var(--zaui-border-radius-card, 2px);
79
+ border-radius: var(--zaui-border-radius-card, 4px);
75
80
  transform: translateY(-50%);
76
81
  content: '';
77
82
  }
@@ -91,7 +96,7 @@
91
96
  .pro-collapse-level2-collapse {
92
97
  .@{ant-prefix}-collapse-header {
93
98
  padding: 0 8px 6px !important;
94
- border-bottom: 2px solid #dee0e3;
99
+ border-bottom: 1px solid #dee0e3;
95
100
  margin: 0 -8px;
96
101
  .@{ant-prefix}-collapse-arrow{
97
102
  right: 8px;
@@ -142,13 +147,16 @@
142
147
  }
143
148
 
144
149
  &.pro-collapse-list {
150
+ .@{ant-prefix}-descriptions-view{
151
+ margin: 0 -8px;
152
+ }
145
153
  .@{ant-prefix}-descriptions-row > th,
146
154
  .@{ant-prefix}-descriptions-row > td {
147
155
  padding: var(--zaui-space-size-sm, 8px) 0;
148
156
  background: #fafafa;
149
157
 
150
158
  &.@{ant-prefix}-descriptions-item {
151
- padding-left: var(--zaui-space-size-md, 16px);
159
+ padding-left: 20px;
152
160
  }
153
161
  }
154
162
 
@@ -163,7 +171,7 @@
163
171
  width: 4px;
164
172
  height: 14px;
165
173
  background: var(--zaui-brand);
166
- border-radius: var(--zaui-border-radius-card, 2px);
174
+ border-radius: var(--zaui-border-radius-card, 4px);
167
175
  transform: translateY(-50%);
168
176
  content: '';
169
177
  }
@@ -12,7 +12,7 @@ var ProFooter = function ProFooter(props) {
12
12
  className = props.className,
13
13
  children = props.children,
14
14
  _props$zIndex = props.zIndex,
15
- zIndex = _props$zIndex === void 0 ? 101 : _props$zIndex,
15
+ zIndex = _props$zIndex === void 0 ? 99 : _props$zIndex,
16
16
  _props$sideDom = props.sideDom,
17
17
  sideDom = _props$sideDom === void 0 ? '.pro-layout-sider-nav' : _props$sideDom,
18
18
  _props$contentDom = props.contentDom,
@@ -5,7 +5,7 @@
5
5
  position: fixed;
6
6
  right: 0;
7
7
  bottom: 0;
8
- z-index: 101;
8
+ z-index: 98;
9
9
  width: 100%;
10
10
  padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
11
11
  var(--zaui-space-size-lg, 32px);
@@ -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, 2px);
92
+ border-radius: var(--zaui-border-radius-card, 4px);
92
93
  }
93
94
 
94
95
  .pro-header-title {
@@ -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, 4px);
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: #f7f9fc;
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 "../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";
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 : flex;
10
+ display: flex;
12
11
  flex-direction: column;
13
- background : var(--zaui-base-bg, #ffffff);
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-border-radius, 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 : 1;
103
+ z-index: 1;
104
+ color: var(--zaui-text, #343434);
36
105
  }
37
-
38
- .pro-layout-menu-fold-list {
39
- li {
40
- position: relative;
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
- &.active {
48
- background: transparent;
49
-
50
- div .pro-layout-icon {
51
- color: #fff;
112
+ & > div {
113
+ position: relative;
114
+ z-index: 1;
52
115
  }
53
116
 
54
- &::before {
55
- content : '';
56
- border-radius : var(--zaui-border-radius, 4px);
57
- background-color: var(--zaui-brand, #006aff);
58
- height : 38px;
59
- position : absolute;
60
- left : 5px;
61
- top : 4px;
62
- width : calc(100% - 10px);
63
- opacity : 1 !important;
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
- &:hover {
68
- background: transparent;
69
-
70
- &::before {
71
- content : '';
72
- border-radius : var(--zaui-border-radius, 4px);
73
- background-color: var(--zaui-brand, #006aff);
74
- height : 38px;
75
- position : absolute;
76
- left : 5px;
77
- top : 4px;
78
- width : calc(100% - 10px);
79
- opacity : 0.08;
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
- div .pro-layout-icon {
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
- content : '';
100
- height : 1px;
101
- background: #DEE0E3;
102
- width : calc(100% - 16px);
103
- position : absolute;
104
- top : 0;
105
- left : var(--zaui-space-size-sm, 8px);
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,45 +193,50 @@
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: #CACACA !important;
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 .@{ant-prefix}-menu-root>.@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-sub {
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: 0;
222
+ }
138
223
  }
139
224
 
140
225
  .pro-layout-open-menu .@{ant-prefix}-menu-item:hover,
141
226
  .pro-layout-open-menu .@{ant-prefix}-menu-submenu-title:hover {
227
+ position: relative;
142
228
  background: transparent;
143
- position : relative;
144
229
 
145
230
  &:before {
146
- content : '';
147
- border-radius : var(--zaui-border-radius, 4px);
231
+ position: absolute;
232
+ left: var(--zaui-space-size-sm, 8px);
233
+ width: calc(100% - 16px);
234
+ min-height: 38px;
235
+ height: 80%;
148
236
  background-color: var(--zaui-brand, #006aff);
149
- opacity : 0.08;
150
- height : 38px;
151
- position : absolute;
152
- left : var(--zaui-space-size-sm, 8px);
153
- width : calc(100% - 16px);
237
+ border-radius: var(--zaui-border-radius, 8px);
238
+ opacity: 0.08;
239
+ content: '';
154
240
  }
155
241
  }
156
242
 
@@ -175,18 +261,18 @@
175
261
 
176
262
  /** 内容区 */
177
263
  .pro-layout-content {
178
- flex : auto;
264
+ z-index: 1;
265
+ flex: auto;
266
+ flex: auto;
267
+ min-height: calc(100vh - 48px);
268
+ margin-top: 48px;
179
269
  margin-left: 48px;
180
- padding : 0 var(--zaui-space-size-lg, 32px);
181
- transition : all 0.3s ease-in-out;
182
- z-index : 1;
183
- flex : auto;
184
- min-height : calc(100vh - 48px);
185
- margin-top : 48px;
270
+ padding: 0 var(--zaui-space-size-lg, 32px);
271
+ transition: all 0.24s ease;
186
272
 
187
273
  &.pro-layout-has-notice {
188
- margin-top: 80px;
189
274
  min-height: calc(100vh - 80px);
275
+ margin-top: 80px;
190
276
  }
191
277
  }
192
278
 
@@ -208,7 +294,7 @@
208
294
  }
209
295
  }
210
296
 
211
- .pro-layout-header-pure+.pro-layout-row {
297
+ .pro-layout-header-pure + .pro-layout-row {
212
298
  .pro-layout-sider-new-nav {
213
299
  top: 0 !important;
214
300
  }
@@ -5,7 +5,7 @@ interface Props {
5
5
  value?: any;
6
6
  currentValue?: any;
7
7
  copyable?: boolean;
8
- originalTip?: boolean;
8
+ originalDiffTip?: boolean;
9
9
  ellipsis?: any;
10
10
  width?: number | string;
11
11
  originalValue?: any;