@zat-design/sisyphus-react 3.1.4 → 3.1.5-beta.10

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 (174) hide show
  1. package/.dumi/theme/builtins/Alert.tsx +19 -0
  2. package/.dumi/theme/builtins/Previewer.tsx +232 -0
  3. package/.dumi/theme/builtins/SourceCode.tsx +64 -0
  4. package/.dumi/theme/hooks/useCodeSandbox.tsx +197 -0
  5. package/.dumi/theme/hooks/useTheme.tsx +707 -0
  6. package/.dumi/theme/layouts/BasicLayout.tsx +88 -0
  7. package/.dumi/theme/layouts/components/Dark.less +157 -0
  8. package/.dumi/theme/layouts/components/Dark.tsx +78 -0
  9. package/.dumi/theme/layouts/components/Navbar.tsx +83 -0
  10. package/.dumi/theme/layouts/components/SideMenu.tsx +61 -0
  11. package/.dumi/theme/layouts/index.tsx +26 -0
  12. package/.dumi/theme/layouts/layout.less +87 -0
  13. package/.dumi/theme/typings.d.ts +7 -0
  14. package/dist/index.esm.css +122 -249
  15. package/es/ProAction/index.less +3 -2
  16. package/es/ProConfigProvider/index.d.ts +2 -0
  17. package/es/ProConfigProvider/index.js +18 -2
  18. package/es/ProDrawerForm/index.js +5 -3
  19. package/es/ProDrawerForm/style/index.less +15 -11
  20. package/es/ProEditLabel/style/index.less +2 -2
  21. package/es/ProEditTable/style/index.less +15 -8
  22. package/es/ProEditTable/utils/config.js +11 -4
  23. package/es/ProEnum/style/index.less +1 -1
  24. package/es/ProForm/components/base/RangePicker/index.js +0 -3
  25. package/es/ProForm/components/base/TextArea/index.less +1 -1
  26. package/es/ProForm/components/combination/Container/style/index.less +0 -1
  27. package/es/ProForm/components/combination/FormList/style/index.less +20 -19
  28. package/es/ProForm/components/combination/Group/index.js +2 -2
  29. package/es/ProForm/components/combination/ProAddressBar/index.js +81 -61
  30. package/es/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
  31. package/es/ProForm/components/combination/ProModalSelect/index.js +75 -13
  32. package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
  33. package/es/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
  34. package/es/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
  35. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
  36. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
  37. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
  38. package/es/ProForm/components/old/EnumSelect/style/index.less +7 -8
  39. package/es/ProForm/components/render/RenderFields.js +10 -5
  40. package/es/ProForm/components/render/propsType.d.ts +5 -4
  41. package/es/ProForm/index.js +5 -0
  42. package/es/ProForm/style/index.less +55 -169
  43. package/es/ProForm/utils/useShouldUpdate.js +16 -16
  44. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +2 -2
  45. package/es/ProLayout/components/ProCollapse/style/index.less +4 -4
  46. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
  47. package/es/ProLayout/components/ProHeader/components/index.d.ts +1 -0
  48. package/es/ProLayout/components/ProHeader/components/index.js +2 -1
  49. package/es/ProLayout/components/ProHeader/index.js +4 -2
  50. package/es/ProLayout/components/ProHeader/style/index.less +16 -7
  51. package/es/ProStep/style/index.less +0 -1
  52. package/es/ProTable/components/RenderColumn/index.d.ts +5 -5
  53. package/es/ProTable/components/RenderColumn/index.js +41 -25
  54. package/es/ProTable/index.js +3 -2
  55. package/es/ProTable/propsType.d.ts +2 -0
  56. package/es/ProTable/style/index.less +14 -1
  57. package/es/ProTable/utils.d.ts +1 -1
  58. package/es/ProTable/utils.js +258 -201
  59. package/es/ProTabs/style/index.less +1 -1
  60. package/es/ProThemeTools/component/PrdTools/index.js +1 -1
  61. package/es/ProThemeTools/component/PrdTools/style/index.less +3 -3
  62. package/es/ProThemeTools/index.d.ts +2 -2
  63. package/es/ProThemeTools/index.js +24 -17
  64. package/es/ProThemeTools/propsType.d.ts +8 -6
  65. package/es/ProThemeTools/style/index.less +2 -2
  66. package/es/ProThemeTools/utils/index.d.ts +7 -0
  67. package/es/ProThemeTools/utils/index.js +19 -1
  68. package/es/ProTree/components/ProTree.js +1 -1
  69. package/es/ProTree/components/SearchTitle.d.ts +2 -2
  70. package/es/ProTree/components/SearchTitle.js +11 -1
  71. package/es/ProTree/components/Tree.js +6 -1
  72. package/es/ProTree/style/index.less +193 -141
  73. package/es/ProTreeModal/style/index.less +2 -6
  74. package/es/ProUpload/style/index.less +41 -39
  75. package/es/index.d.ts +2 -1
  76. package/es/index.js +2 -1
  77. package/es/locale/en_US.d.ts +69 -0
  78. package/es/locale/en_US.js +68 -0
  79. package/es/locale/index.d.ts +7 -0
  80. package/es/locale/index.js +21 -0
  81. package/es/locale/zh_CN.d.ts +69 -0
  82. package/es/locale/zh_CN.js +68 -0
  83. package/es/old/ProEditableTable/style/index.less +1 -2
  84. package/es/style/components.less +0 -1
  85. package/es/style/core/normalize.less +1 -1
  86. package/es/style/theme/antd.less +3 -4
  87. package/es/style/theme/index.less +80 -79
  88. package/es/style/theme/tokens.less +1 -0
  89. package/lib/ProAction/index.less +3 -2
  90. package/lib/ProConfigProvider/index.d.ts +2 -0
  91. package/lib/ProConfigProvider/index.js +17 -2
  92. package/lib/ProDrawerForm/index.js +5 -3
  93. package/lib/ProDrawerForm/style/index.less +15 -11
  94. package/lib/ProEditLabel/style/index.less +2 -2
  95. package/lib/ProEditTable/style/index.less +15 -8
  96. package/lib/ProEditTable/utils/config.js +11 -4
  97. package/lib/ProEnum/style/index.less +1 -1
  98. package/lib/ProForm/components/base/RangePicker/index.js +0 -3
  99. package/lib/ProForm/components/base/TextArea/index.less +1 -1
  100. package/lib/ProForm/components/combination/Container/style/index.less +0 -1
  101. package/lib/ProForm/components/combination/FormList/style/index.less +20 -19
  102. package/lib/ProForm/components/combination/Group/index.js +2 -2
  103. package/lib/ProForm/components/combination/ProAddressBar/index.js +76 -58
  104. package/lib/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
  105. package/lib/ProForm/components/combination/ProModalSelect/index.js +75 -13
  106. package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
  107. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
  108. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
  109. package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
  110. package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
  111. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
  112. package/lib/ProForm/components/old/EnumSelect/style/index.less +7 -8
  113. package/lib/ProForm/components/render/RenderFields.js +9 -4
  114. package/lib/ProForm/components/render/propsType.d.ts +5 -4
  115. package/lib/ProForm/index.js +5 -0
  116. package/lib/ProForm/style/index.less +55 -169
  117. package/lib/ProForm/utils/useShouldUpdate.js +16 -16
  118. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +2 -2
  119. package/lib/ProLayout/components/ProCollapse/style/index.less +4 -4
  120. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
  121. package/lib/ProLayout/components/ProHeader/components/index.d.ts +1 -0
  122. package/lib/ProLayout/components/ProHeader/components/index.js +8 -1
  123. package/lib/ProLayout/components/ProHeader/index.js +4 -2
  124. package/lib/ProLayout/components/ProHeader/style/index.less +16 -7
  125. package/lib/ProStep/style/index.less +0 -1
  126. package/lib/ProTable/components/RenderColumn/index.d.ts +5 -5
  127. package/lib/ProTable/components/RenderColumn/index.js +38 -24
  128. package/lib/ProTable/index.js +3 -2
  129. package/lib/ProTable/propsType.d.ts +2 -0
  130. package/lib/ProTable/style/index.less +14 -1
  131. package/lib/ProTable/utils.d.ts +1 -1
  132. package/lib/ProTable/utils.js +258 -201
  133. package/lib/ProTabs/style/index.less +1 -1
  134. package/lib/ProThemeTools/component/PrdTools/index.js +1 -1
  135. package/lib/ProThemeTools/component/PrdTools/style/index.less +3 -3
  136. package/lib/ProThemeTools/index.d.ts +2 -2
  137. package/lib/ProThemeTools/index.js +23 -16
  138. package/lib/ProThemeTools/propsType.d.ts +8 -6
  139. package/lib/ProThemeTools/style/index.less +2 -2
  140. package/lib/ProThemeTools/utils/index.d.ts +7 -0
  141. package/lib/ProThemeTools/utils/index.js +20 -2
  142. package/lib/ProTree/components/ProTree.js +1 -1
  143. package/lib/ProTree/components/SearchTitle.d.ts +2 -2
  144. package/lib/ProTree/components/SearchTitle.js +11 -1
  145. package/lib/ProTree/components/Tree.js +6 -1
  146. package/lib/ProTree/style/index.less +193 -141
  147. package/lib/ProTreeModal/style/index.less +2 -6
  148. package/lib/ProUpload/style/index.less +41 -39
  149. package/lib/index.d.ts +2 -1
  150. package/lib/index.js +13 -1
  151. package/lib/locale/en_US.d.ts +69 -0
  152. package/lib/locale/en_US.js +74 -0
  153. package/lib/locale/index.d.ts +7 -0
  154. package/lib/locale/index.js +28 -0
  155. package/lib/locale/zh_CN.d.ts +69 -0
  156. package/lib/locale/zh_CN.js +74 -0
  157. package/lib/old/ProEditableTable/style/index.less +1 -2
  158. package/lib/style/components.less +0 -1
  159. package/lib/style/core/normalize.less +1 -1
  160. package/lib/style/theme/antd.less +3 -4
  161. package/lib/style/theme/index.less +80 -79
  162. package/lib/style/theme/tokens.less +1 -0
  163. package/package.json +2 -2
  164. package/typings.d.ts +2 -0
  165. package/es/old/ProBackBtn/style/index.less +0 -19
  166. package/lib/old/ProBackBtn/style/index.less +0 -19
  167. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
  168. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +0 -0
  169. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
  170. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
  171. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
  172. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +0 -0
  173. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
  174. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
@@ -1,59 +1,73 @@
1
1
  .pro-tree {
2
2
  height: 100%; // tree auto css
3
- .ant-spin-nested-loading{
3
+
4
+ .ant-spin-nested-loading {
4
5
  height: 100%; // tree auto css
5
- .ant-spin-container{
6
+
7
+ .ant-spin-container {
6
8
  height: 100%; // tree auto css
7
9
  }
8
10
  }
11
+
9
12
  &-placeholder {
10
13
  color: #939499;
11
14
  }
12
- .pro-tree-search{
13
- margin-bottom: var(--zaui-space-size-sm);
15
+
16
+ .pro-tree-search {
17
+ margin-bottom: calc(var(--zaui-space-size-sm; 8px) * var(--zaui-size; 1));
14
18
  }
19
+
15
20
  &-content {
16
- display: flex; // tree auto css
21
+ display : flex; // tree auto css
17
22
  flex-direction: column; // tree auto css
18
- height: 100%;
23
+ height : 100%;
24
+
19
25
  // overflow-y: scroll;
20
- .pro-tree-header-box, .pro-tree-footer-box{
21
- display: inline-flex;
26
+ .pro-tree-header-box,
27
+ .pro-tree-footer-box {
28
+ display : inline-flex;
22
29
  flex-direction: column;
23
30
  }
24
- .pro-tree-tree-warp{
25
- height: 100%;
26
- flex: 1 1;
31
+
32
+ .pro-tree-tree-warp {
33
+ height : 100%;
34
+ flex : 1 1;
27
35
  overflow-y: auto;
28
36
  overflow-x: auto;
29
37
  }
30
- .tree-title-box{
31
- display: flex;
32
- padding-top: 10px;
38
+
39
+ .tree-title-box {
40
+ display : flex;
41
+ padding-top : 10px;
33
42
  justify-content: space-between;
34
- .tree-title-text{
35
- font-size: var(--zaui-font-size-lg);
43
+
44
+ .tree-title-text {
45
+ font-size : var(--zaui-font-size-lg);
36
46
  margin-bottom: var(--zaui-space-size-xs);
37
- font-weight: 500;
38
- padding-left: 2px;
47
+ font-weight : 500;
48
+ padding-left : 2px;
39
49
  }
40
- .expand-button{
50
+
51
+ .expand-button {
41
52
  padding-left: var(--zaui-space-size-sm);
42
- display: flex;
43
- align-items: baseline;
44
- &.expand{
45
- .expand-icon{
46
- .anticon-caret-down{
53
+ display : flex;
54
+ align-items : baseline;
55
+ cursor : pointer;
56
+ &.expand {
57
+ .expand-icon {
58
+ .anticon-caret-down {
47
59
  transform: rotate(180deg);
48
60
  }
49
61
  }
50
62
  }
51
- .expand-icon{
52
- font-size: 12px;
63
+
64
+ .expand-icon {
65
+ font-size : var(--zaui-font-size-sm, 12px);
53
66
  margin-right: var(--zaui-space-size-xs);
54
67
  }
55
68
  }
56
69
  }
70
+
57
71
  .ant-tree-checkbox {
58
72
  margin-top: 11px;
59
73
  }
@@ -61,37 +75,42 @@
61
75
  .ant-tree-switcher {
62
76
  line-height: 44px;
63
77
  }
64
- .ant-tree-switcher-leaf-line{
78
+
79
+ .ant-tree-switcher-leaf-line {
65
80
  display: none;
66
81
  }
67
82
 
68
83
  .ant-tree-treenode {
69
84
  align-items: flex-start;
70
- width: 100%;
71
- padding: 0;
72
- color: var(--zaui-text);
73
- font-size: var(--zaui-font-size);
85
+ width : 100%;
86
+ padding : 0;
87
+ color : var(--zaui-text);
88
+ font-size : var(--zaui-font-size);
74
89
  }
75
90
 
76
91
  .ant-tree-node-content-wrapper {
77
- min-height: var(--zaui-font-size-xxl);
92
+ min-height : var(--zaui-font-size-xxl);
78
93
  line-height: var(--zaui-font-size-xxl);
79
94
  }
80
95
 
81
96
  .ant-tree-node-content-wrapper {
82
97
  width: 100%;
83
- .ant-tree-title{
98
+
99
+ .ant-tree-title {
84
100
  display: block;
85
- width: 100%;
101
+ width : 100%;
86
102
  }
87
103
  }
104
+
88
105
  // 只读状态下,是否隐藏未勾选行
89
- .hide-disable-node{
90
- .ant-tree-treenode.ant-tree-treenode-disabled{
106
+ .hide-disable-node {
107
+ .ant-tree-treenode.ant-tree-treenode-disabled {
91
108
  display: none;
92
109
  }
93
- .ant-tree-treenode-checkbox-indeterminate, .ant-tree-treenode-checkbox-checked{
94
- &.ant-tree-treenode-disabled{
110
+
111
+ .ant-tree-treenode-checkbox-indeterminate,
112
+ .ant-tree-treenode-checkbox-checked {
113
+ &.ant-tree-treenode-disabled {
95
114
  display: flex;
96
115
  }
97
116
  }
@@ -99,173 +118,203 @@
99
118
  }
100
119
 
101
120
  &-tree-node {
102
- display: flex;
121
+ display : flex;
103
122
  flex-direction: row;
104
- padding: 9px var(--zaui-space-size-sm);
105
- margin-left: -8px;
106
- border-radius: var(--zaui-space-size-xs);
107
- &:hover{
123
+ padding : 9px var(--zaui-space-size-sm);
124
+ margin-left : -8px;
125
+ border-radius : var(--zaui-space-size-xs);
126
+
127
+ &:hover {
108
128
  background: #F7F9FC;
109
129
  }
130
+
110
131
  &:last-child {
111
132
  flex: 1;
112
133
  }
113
- &.checked{
134
+
135
+ &.checked {
114
136
  position: relative;
115
- z-index: 1;
116
- color: var(--zaui-brand);
117
- .brand-bg-opa-ten{
118
- position: absolute;
119
- width: 100%;
120
- height: 100%;
121
- top: 0px;
122
- left:0px;
137
+ z-index : 1;
138
+ color : var(--zaui-brand);
139
+
140
+ .brand-bg-opa-ten {
141
+ position : absolute;
142
+ width : 100%;
143
+ height : 100%;
144
+ top : 0px;
145
+ left : 0px;
123
146
  background-color: var(--zaui-brand);
124
- opacity: 0.1;
125
- z-index: 0;
126
- border-radius: var(--zaui-space-size-xs);
147
+ opacity : 0.1;
148
+ z-index : -1;
149
+ border-radius : var(--zaui-space-size-xs);
127
150
  }
128
151
  }
129
- .tree-node-show-text{
130
- display: flex;
152
+
153
+ .tree-node-show-text {
154
+ display : flex;
131
155
  flex-direction: row;
132
- width: 100%;
133
- .tree-node-show-text-label{
134
- flex: 1;
156
+ width : 100%;
157
+
158
+ .tree-node-show-text-label {
159
+ flex : 1;
135
160
  overflow: hidden;
136
- span{
161
+
162
+ span {
137
163
  width: 100%;
138
164
  }
139
- span.ellipse{
140
- display: block;
165
+
166
+ span.ellipse {
167
+ display : block;
141
168
  text-overflow: ellipsis;
142
- overflow: hidden;
143
- height: 20px;
144
- word-break: keep-all;
145
- white-space: nowrap;
169
+ overflow : hidden;
170
+ height : 20px;
171
+ word-break : keep-all;
172
+ white-space : nowrap;
146
173
  }
147
174
  }
148
175
  }
149
- .operate-tree-node-btns{
176
+
177
+ .operate-tree-node-btns {
150
178
  display: flex;
151
179
  z-index: 3;
152
- .icon-item{
180
+
181
+ .icon-item {
153
182
  transition-delay: 10s;
154
- width: 100%;
155
- margin-left: var(--zaui-space-size-xs);
183
+ width : 100%;
184
+ margin-left : var(--zaui-space-size-xs);
156
185
  }
157
- .icon-add{
158
- font-size: 12px;
186
+
187
+ .icon-add {
188
+ font-size: var(--zaui-font-size-sm, 12px);
159
189
  }
160
- .svg-icon-expand{
190
+
191
+ .svg-icon-expand {
161
192
  margin-bottom: -2px;
162
193
  }
163
194
  }
164
- .operate-tree-node-btns-absolute{
165
- visibility:visible;
166
- position: absolute;
167
- right: 0px;
195
+
196
+ .operate-tree-node-btns-absolute {
197
+ visibility: visible;
198
+ position : absolute;
199
+ right : 0px;
168
200
  }
169
201
  }
202
+
170
203
  &-tree-node-tag {
171
- display: flex;
172
- align-items: center;
204
+ display : flex;
205
+ align-items : center;
173
206
  justify-content: center;
174
- height: 20px;
175
- margin-right: var(--zaui-space-size-sm);
176
- padding: 0 var(--zaui-space-size-xs);
177
- font-weight: 400;
178
- line-height: 24px;
179
- white-space: nowrap;
180
- border-radius: 2px;
207
+ height : 20px;
208
+ margin-right : var(--zaui-space-size-sm);
209
+ padding : 0 var(--zaui-space-size-xs);
210
+ font-weight : 400;
211
+ line-height : 24px;
212
+ white-space : nowrap;
213
+ border-radius : var(--zaui-border-radius-card);
181
214
 
182
215
  span {
183
- font-size: 12px;
216
+ font-size : var(--zaui-font-size-sm, 12px);
184
217
  line-height: 20px;
185
- text-align: center;
186
- transform: scale(0.83, 0.83);
218
+ text-align : center;
219
+ transform : scale(0.83, 0.83);
187
220
  }
188
221
  }
222
+
189
223
  // 连接线、箭头宽度
190
- .ant-tree-show-line .ant-tree-indent-unit{
224
+ .ant-tree-show-line .ant-tree-indent-unit {
191
225
  width: 20px;
192
226
  }
193
- .ant-tree-switcher{
194
- width: 20px;
227
+
228
+ .ant-tree-switcher {
229
+ width : 20px;
195
230
  align-self: flex-start;
196
231
  margin-top: -4px;
197
232
  }
198
- .ant-tree-show-line .ant-tree-indent-unit::before{
233
+
234
+ .ant-tree-show-line .ant-tree-indent-unit::before {
199
235
  right: 9px;
200
236
  }
237
+
201
238
  // 底部样式
202
- .pro-tree-footer-box{
203
- z-index: 4;
204
- padding: var(--zaui-space-size-md) var(--zaui-space-size-md) var(--zaui-space-size-md) var(--zaui-space-size-sm);
205
- position: relative;
206
- box-shadow:0 -20px 5px -21px rgba(151,151,151,0.32);
239
+ .pro-tree-footer-box {
240
+ z-index : 4;
241
+ padding : var(--zaui-space-size-md) var(--zaui-space-size-md) var(--zaui-space-size-md) var(--zaui-space-size-sm);
242
+ position : relative;
243
+ box-shadow: 0 -20px 5px -21px rgba(151, 151, 151, 0.32);
207
244
  }
245
+
208
246
  // 去除antd白色背景
209
- .ant-tree-show-line .ant-tree-switcher, .ant-tree{
247
+ .ant-tree-show-line .ant-tree-switcher,
248
+ .ant-tree {
210
249
  background-color: transparent;
211
250
  }
212
- .empty-tree{
213
- color: #939599;
214
- height: 100%;
215
- text-align: center;
216
- display: flex;
217
- align-items: center;
251
+
252
+ .empty-tree {
253
+ color : #939599;
254
+ height : 100%;
255
+ text-align : center;
256
+ display : flex;
257
+ align-items : center;
218
258
  justify-content: center;
219
259
  }
220
260
  }
261
+
221
262
  // 操作按钮样式
222
- .pro-tree-operate-container{
263
+ .pro-tree-operate-container {
223
264
  padding-top: 0px;
224
- min-width: 120px;
225
- .ant-popover-inner-content{
265
+ min-width : 120px;
266
+
267
+ .ant-popover-inner-content {
226
268
  padding: 0px;
227
- width: 100%;
269
+ width : 100%;
228
270
  }
229
- .ant-popover-arrow{
271
+
272
+ .ant-popover-arrow {
230
273
  display: none;
231
274
  }
232
- .pro-tree-operate-btn-popover{
233
- .icon-item{
234
- position: relative;
235
- z-index: 1;
236
- cursor: pointer;
275
+
276
+ .pro-tree-operate-btn-popover {
277
+ .icon-item {
278
+ position : relative;
279
+ z-index : 1;
280
+ cursor : pointer;
237
281
  padding-left: var(--zaui-space-size-md);
238
- width: 100%;
239
- height: 32px;
240
- line-height: 32px;
282
+ width : 100%;
283
+ height : 32px;
284
+ line-height : 32px;
241
285
  }
242
- .icon-item:hover{
243
- &:after{
244
- position: absolute;
245
- display: block;
246
- z-index: 0;
247
- left:0;
248
- top:0;
249
- content: '';
250
- width: 120px;
251
- height: 32px;
286
+
287
+ .icon-item:hover {
288
+ &:after {
289
+ position : absolute;
290
+ display : block;
291
+ z-index : 0;
292
+ left : 0;
293
+ top : 0;
294
+ content : '';
295
+ width : 120px;
296
+ height : 32px;
252
297
  background-color: var(--zaui-brand);
253
- opacity: 0.08;
298
+ opacity : 0.08;
254
299
  }
255
300
  }
256
301
  }
257
302
  }
258
- .ant-tree .ant-tree-treenode-disabled{
259
- .ant-tree-node-content-wrapper{
303
+
304
+ .ant-tree .ant-tree-treenode-disabled {
305
+ .ant-tree-node-content-wrapper {
260
306
  color: var(--zaui-text);
261
307
  }
262
- .pro-tree-tree-node.checked{
308
+
309
+ .pro-tree-tree-node.checked {
263
310
  color: var(--zaui-text);
264
311
  }
265
- .pro-tree-tree-node.checked .brand-bg-opa-ten{
312
+
313
+ .pro-tree-tree-node.checked .brand-bg-opa-ten {
266
314
  background-color: inherit;
267
315
  }
268
316
  }
317
+
269
318
  // 中意全局样式覆盖
270
319
  // .pro-form.pro-form-view .ant-form-item * {
271
320
  // line-height: 1!important;
@@ -274,16 +323,19 @@
274
323
  // }
275
324
  // 重置ant-form view模式样式ant-tree样式
276
325
  .pro-form.pro-form-view .ant-form-item .pro-tree * {
277
- line-height: 1!important;
278
- height: auto!important;
279
- min-height: auto!important;
326
+ line-height: 1 !important;
327
+ height : auto !important;
328
+ min-height : auto !important;
280
329
  }
281
- .pro-form.pro-form-view .ant-form-item .pro-tree .ant-tree-checkbox{
330
+
331
+ .pro-form.pro-form-view .ant-form-item .pro-tree .ant-tree-checkbox {
282
332
  margin-top: var(--zaui-space-size-sm);
283
333
  }
284
- .pro-form.pro-form-view .ant-form-item .pro-tree .ant-tree-switcher{
334
+
335
+ .pro-form.pro-form-view .ant-form-item .pro-tree .ant-tree-switcher {
285
336
  padding-top: var(--zaui-font-size-sm);
286
337
  }
338
+
287
339
  .pro-form.pro-form-view .ant-form-item .pro-tree .ant-tree-checkbox * {
288
- height: 16px!important;
289
- }
340
+ height: 16px !important;
341
+ }
@@ -11,7 +11,7 @@
11
11
  display : flex;
12
12
  flex-direction: row;
13
13
  height : 482px;
14
- margin-bottom : var(--zaui-space-size-md, 16px);
14
+ margin-bottom : calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
15
15
 
16
16
  .ant-tree-checkbox {
17
17
  margin-top: 2px;
@@ -28,7 +28,6 @@
28
28
  padding-bottom: var(--zaui-font-size-sm, 12px);
29
29
  color : var(--zaui-text);
30
30
  font-size : var(--zaui-font-size, 14px);
31
- font-family : PingFangSC-Regular, PingFang SC;
32
31
  line-height : var(--zaui-font-size-xxl, 20px);
33
32
  }
34
33
 
@@ -49,7 +48,6 @@
49
48
  height : 100%;
50
49
  color : var(--zaui-text);
51
50
  font-size : var(--zaui-font-size, 14px);
52
- font-family : PingFangSC-Regular, PingFang SC;
53
51
  line-height : var(--zaui-font-size-xxl, 20px);
54
52
  border : 1px solid #e6e6e6;
55
53
  border-radius : var(--zaui-border-radius, 4px);
@@ -132,7 +130,7 @@
132
130
  flex-direction : row;
133
131
  align-items : center;
134
132
  justify-content: space-between;
135
- margin-bottom : var(--zaui-font-size-sm, 12px);
133
+ margin-bottom : calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
136
134
  line-height : var(--zaui-font-size-xxl, 20px);
137
135
  cursor : pointer;
138
136
 
@@ -194,7 +192,6 @@
194
192
  margin-right : var(--zaui-space-size-sm, 8px);
195
193
  padding : 0 var(--zaui-space-size-xs);
196
194
  font-weight : 400;
197
- font-family : PingFangSC-Regular, PingFang SC;
198
195
  line-height : var(--zaui-font-size-lg-title);
199
196
  white-space : nowrap;
200
197
  border-radius : var(--zaui-border-radius-card);
@@ -216,7 +213,6 @@
216
213
  color : #939599;
217
214
  font-weight : 400;
218
215
  font-size : var(--zaui-font-size, 14px);
219
- font-family : PingFangSC-Regular, PingFang SC;
220
216
  }
221
217
 
222
218
  .pro-transfer-right {
@@ -7,6 +7,7 @@
7
7
  background : #F8F9FA;
8
8
  border-radius: var(--zaui-border-radius, 4px);
9
9
  padding : var(--zaui-space-size-sm, 8px);
10
+
10
11
  .ant-upload.ant-upload-drag {
11
12
  background-color: var(--zaui-base-bg, #fff);
12
13
  }
@@ -27,17 +28,14 @@
27
28
  align-items: center;
28
29
 
29
30
  .icon-upload {
30
- display : inline-block;
31
- // width: 34px;
32
- // height: 26px;
33
- font-size : 30px;
34
- color : #C5C7CD;
35
- // background: #c5c7cd;
31
+ display : inline-block;
32
+ font-size: 30px;
33
+ color : #C5C7CD;
36
34
  }
37
35
 
38
36
  .dragger-txt {
39
37
  margin-left: 9px;
40
- font-size : 14px;
38
+ font-size : var(--zaui-font-size, 14px);
41
39
 
42
40
 
43
41
  color : rgba(0, 0, 0, 0.85);
@@ -50,9 +48,9 @@
50
48
  }
51
49
 
52
50
  .file-ext {
53
- text-align : center;
54
- margin-top : 10px;
55
- font-size : 12x;
51
+ text-align: center;
52
+ margin-top: 10px;
53
+ font-size : var(--zaui-font-size-sm, 12px);
56
54
 
57
55
 
58
56
  color : #939599;
@@ -88,11 +86,11 @@
88
86
  }
89
87
 
90
88
  .file-name {
91
- display : box;
92
- overflow : hidden;
89
+ display : box;
90
+ overflow : hidden;
93
91
  line-clamp: 1;
94
92
  box-orient: vertical;
95
- word-break : break-all;
93
+ word-break: break-all;
96
94
  }
97
95
 
98
96
  .file-ext {
@@ -133,6 +131,7 @@
133
131
  width : 100%;
134
132
  display: block;
135
133
  }
134
+
136
135
  .pro-upload-button-inner {
137
136
  display: flex;
138
137
 
@@ -145,10 +144,10 @@
145
144
  .upload-tip-txt {
146
145
  margin-left: 10px;
147
146
  line-height: 32px;
148
- font-size : 12px;
147
+ font-size : var(--zaui-font-size-sm, 12px);
149
148
 
150
149
 
151
- color : #939599;
150
+ color: #939599;
152
151
  }
153
152
  }
154
153
 
@@ -182,20 +181,20 @@
182
181
  }
183
182
 
184
183
  .file-item-image {
185
- position : relative;
186
- overflow : hidden;
184
+ position : relative;
185
+ overflow : hidden;
187
186
  // height : 100%;
188
- height : 126px;
189
- width: 126px ;
190
- border : 1px dashed #d9d9d9;
191
- overflow : hidden;
192
- border-radius: 8px;
187
+ height : 126px;
188
+ width : 126px;
189
+ border : 1px dashed #d9d9d9;
190
+ overflow : hidden;
191
+ border-radius : 8px;
193
192
 
194
193
  .file-type-icon-img {
195
- position: absolute;
196
- width: 30px;
197
- top: 50%;
198
- left: 50%;
194
+ position : absolute;
195
+ width : 30px;
196
+ top : 50%;
197
+ left : 50%;
199
198
  transform: translate(-50%, -50%);
200
199
 
201
200
  }
@@ -238,10 +237,9 @@
238
237
 
239
238
  .action-item {
240
239
  color : #fff;
241
- font-size: 12px;
240
+ font-size: var(--zaui-font-size-sm, 12px);
242
241
  opacity : 0.8;
243
242
 
244
- // cursor: pointer;
245
243
  .action-icon {
246
244
  margin-right: 10px;
247
245
  transform : translate(0, 3px);
@@ -276,29 +274,33 @@
276
274
  .ant-space-item {
277
275
  display: inline-flex;
278
276
  }
279
- .pro-upload-image-footer{
277
+
278
+ .pro-upload-image-footer {
280
279
  margin-top: -8px;
281
280
  }
282
281
  }
282
+
283
283
  .file-actions {
284
284
  .file-action-item {
285
285
  padding-top: var(--zaui-space-size-xs, 4px) !important;
286
286
  }
287
+
287
288
  .action-icon {
288
- display: inline-flex;
289
- align-items: center;
290
- color: inherit;
291
- font-style: normal;
292
- text-align: center;
289
+ display : inline-flex;
290
+ align-items : center;
291
+ color : inherit;
292
+ font-style : normal;
293
+ text-align : center;
293
294
  text-transform: none;
294
295
  vertical-align: -0.15em;
295
296
  text-rendering: optimizeLegibility;
297
+
296
298
  span {
297
- display: inline-flex;
298
- align-items: center;
299
- color: inherit;
300
- font-style: normal;
301
- text-align: center;
299
+ display : inline-flex;
300
+ align-items : center;
301
+ color : inherit;
302
+ font-style : normal;
303
+ text-align : center;
302
304
  text-transform: none;
303
305
  vertical-align: -0.15em;
304
306
  text-rendering: optimizeLegibility;