ls-pro-common 3.0.5 → 3.0.6

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.
@@ -148,10 +148,12 @@ function ImageSelector(prop) {
148
148
  loadData(searchKey);
149
149
  }, [visible, searchKey]);
150
150
  useEffect(function () {
151
- var val = formRef.current.getFieldsValue();
151
+ var _formRef$current, _formRef$current$getF;
152
+ var val = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : (_formRef$current$getF = _formRef$current.getFieldsValue) === null || _formRef$current$getF === void 0 ? void 0 : _formRef$current$getF.call(_formRef$current)) || {};
152
153
  var url = val === null || val === void 0 ? void 0 : val[name];
153
154
  if (!url) {
154
- url = formRef.current.getFieldValue(name);
155
+ var _formRef$current2, _formRef$current2$get;
156
+ url = formRef === null || formRef === void 0 ? void 0 : (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : (_formRef$current2$get = _formRef$current2.getFieldValue) === null || _formRef$current2$get === void 0 ? void 0 : _formRef$current2$get.call(_formRef$current2, name);
155
157
  }
156
158
  if (url) {
157
159
  var urls = url.toString().split(',');
@@ -177,14 +179,14 @@ function ImageSelector(prop) {
177
179
  showSuccess(result.flag.retMsg);
178
180
  // 直接上传
179
181
  if (isDirect) {
180
- var _result$rows$;
182
+ var _result$rows$, _formRef$current3, _formRef$current3$get, _formRef$current4, _formRef$current4$set;
181
183
  var img = showImgApi + '?fileName=' + (result === null || result === void 0 ? void 0 : (_result$rows$ = result.rows[0]) === null || _result$rows$ === void 0 ? void 0 : _result$rows$.newFileId);
182
184
  setImgUrl(img);
183
- var formVal = formRef.current.getFieldsValue();
185
+ var formVal = formRef === null || formRef === void 0 ? void 0 : (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : (_formRef$current3$get = _formRef$current3.getFieldsValue) === null || _formRef$current3$get === void 0 ? void 0 : _formRef$current3$get.call(_formRef$current3);
184
186
  var val = _objectSpread({}, formVal);
185
187
  //@ts-ignore
186
188
  val[name] = img;
187
- formRef.current.setFieldsValue(val);
189
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : (_formRef$current4$set = _formRef$current4.setFieldsValue) === null || _formRef$current4$set === void 0 ? void 0 : _formRef$current4$set.call(_formRef$current4, val);
188
190
  }
189
191
  } else {
190
192
  var _result$flag2;
@@ -234,7 +236,8 @@ function ImageSelector(prop) {
234
236
  }
235
237
  };
236
238
  var confirmImage = function confirmImage() {
237
- var formVal = formRef.current.getFieldsValue();
239
+ var _formRef$current5, _formRef$current5$get;
240
+ var formVal = formRef === null || formRef === void 0 ? void 0 : (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 ? void 0 : (_formRef$current5$get = _formRef$current5.getFieldsValue) === null || _formRef$current5$get === void 0 ? void 0 : _formRef$current5$get.call(_formRef$current5);
238
241
  var val = _objectSpread({}, formVal);
239
242
  //@ts-ignore
240
243
  val[name] = selectedUrl.join(',');
@@ -244,9 +247,9 @@ function ImageSelector(prop) {
244
247
  };
245
248
  var clearValue = function clearValue(e) {
246
249
  if (!e || !e.target.value) {
247
- var _formRef$current;
250
+ var _formRef$current6, _formRef$current6$get;
248
251
  setImgUrl('');
249
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.getFieldsValue();
252
+ var formValue = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 ? void 0 : (_formRef$current6$get = _formRef$current6.getFieldsValue) === null || _formRef$current6$get === void 0 ? void 0 : _formRef$current6$get.call(_formRef$current6)) || {};
250
253
  formValue[name] = '';
251
254
  formRef.current.setFieldsValue(_objectSpread({}, formValue));
252
255
  }
@@ -53,10 +53,10 @@ var InputMultiLine = /*#__PURE__*/React.forwardRef(function (prop, ref) {
53
53
  useEffect(function () {
54
54
  if (defaultValue) {
55
55
  setText(defaultValue);
56
- } else if (name) {
57
- var _formRef$current;
58
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.getFieldsValue();
59
- setText(formValue[name]);
56
+ } else if (name && (formRef === null || formRef === void 0 ? void 0 : formRef.current)) {
57
+ var _formRef$current, _formRef$current$getF;
58
+ var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : (_formRef$current$getF = _formRef$current.getFieldValue) === null || _formRef$current$getF === void 0 ? void 0 : _formRef$current$getF.call(_formRef$current, name);
59
+ setText(formValue);
60
60
  }
61
61
  }, []);
62
62
  // 显示多行输入时,赋值给多行文本框
@@ -67,10 +67,10 @@ var InputMultiLine = /*#__PURE__*/React.forwardRef(function (prop, ref) {
67
67
  }, [visible, text]);
68
68
  // 输入框值变化时,赋值给表单项
69
69
  useEffect(function () {
70
- var _formRef$current2, _formRef$current3;
71
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldsValue();
70
+ var _formRef$current2, _formRef$current2$get, _formRef$current3, _formRef$current3$set;
71
+ var formValue = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : (_formRef$current2$get = _formRef$current2.getFieldsValue) === null || _formRef$current2$get === void 0 ? void 0 : _formRef$current2$get.call(_formRef$current2)) || {};
72
72
  formValue[name] = text;
73
- (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : _formRef$current3.setFieldsValue(_objectSpread({}, formValue));
73
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : (_formRef$current3$set = _formRef$current3.setFieldsValue) === null || _formRef$current3$set === void 0 ? void 0 : _formRef$current3$set.call(_formRef$current3, _objectSpread({}, formValue));
74
74
  }, [text]);
75
75
  var lineInput = function lineInput(e) {
76
76
  var line = (e.target.value || '').split('\n').filter(function (o, i) {
@@ -162,15 +162,15 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
162
162
  val = '';
163
163
  if (rowKey) {
164
164
  try {
165
- var _formRef$current, _formRef$current$getF;
166
- var row = formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : (_formRef$current$getF = _formRef$current.getFieldsValue()) === null || _formRef$current$getF === void 0 ? void 0 : _formRef$current$getF[rowKey];
165
+ var _formRef$current, _formRef$current$getF, _formRef$current$getF2;
166
+ var row = formRef === null || formRef === void 0 ? void 0 : (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : (_formRef$current$getF = _formRef$current.getFieldsValue) === null || _formRef$current$getF === void 0 ? void 0 : (_formRef$current$getF2 = _formRef$current$getF.call(_formRef$current)) === null || _formRef$current$getF2 === void 0 ? void 0 : _formRef$current$getF2[rowKey];
167
167
  txt = row === null || row === void 0 ? void 0 : row[textNameProp];
168
168
  val = row === null || row === void 0 ? void 0 : row[name];
169
169
  } catch (_unused) {}
170
170
  } else {
171
- var _formRef$current2, _formRef$current3;
172
- txt = formRef === null || formRef === void 0 ? void 0 : (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldValue(textNameProp);
173
- val = formRef === null || formRef === void 0 ? void 0 : (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : _formRef$current3.getFieldValue(name);
171
+ var _formRef$current2, _formRef$current2$get, _formRef$current3, _formRef$current3$get;
172
+ txt = formRef === null || formRef === void 0 ? void 0 : (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : (_formRef$current2$get = _formRef$current2.getFieldValue) === null || _formRef$current2$get === void 0 ? void 0 : _formRef$current2$get.call(_formRef$current2, textNameProp);
173
+ val = formRef === null || formRef === void 0 ? void 0 : (_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : (_formRef$current3$get = _formRef$current3.getFieldValue) === null || _formRef$current3$get === void 0 ? void 0 : _formRef$current3$get.call(_formRef$current3, name);
174
174
  }
175
175
  if (txt) {
176
176
  setText(txt);
@@ -181,8 +181,8 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
181
181
  }, [rowKey]);
182
182
  // 处理返回数据
183
183
  var handleValue = function handleValue(row) {
184
- var _formRef$current4;
185
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.getFieldsValue();
184
+ var _formRef$current4, _formRef$current4$get;
185
+ var formValue = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : (_formRef$current4$get = _formRef$current4.getFieldsValue) === null || _formRef$current4$get === void 0 ? void 0 : _formRef$current4$get.call(_formRef$current4)) || {};
186
186
  if (rowKey) {
187
187
  formValue = formValue[rowKey] || {};
188
188
  }
@@ -222,10 +222,11 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
222
222
  setText(txt);
223
223
  setVisible(false);
224
224
  if (rowKey) {
225
- formRef.current.setFieldsValue(_defineProperty({}, rowKey, formValue));
225
+ var _formRef$current5, _formRef$current5$set;
226
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 ? void 0 : (_formRef$current5$set = _formRef$current5.setFieldsValue) === null || _formRef$current5$set === void 0 ? void 0 : _formRef$current5$set.call(_formRef$current5, _defineProperty({}, rowKey, formValue));
226
227
  } else {
227
- var _formRef$current5;
228
- (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 ? void 0 : _formRef$current5.setFieldsValue(_objectSpread({}, formValue));
228
+ var _formRef$current6, _formRef$current6$set;
229
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 ? void 0 : (_formRef$current6$set = _formRef$current6.setFieldsValue) === null || _formRef$current6$set === void 0 ? void 0 : _formRef$current6$set.call(_formRef$current6, _objectSpread({}, formValue));
229
230
  }
230
231
  onSelectChange === null || onSelectChange === void 0 ? void 0 : onSelectChange(row, formRef);
231
232
  };
@@ -256,8 +257,8 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
256
257
  };
257
258
  //直接输入不回车,value 和 text 为同一个值
258
259
  var onInput = function onInput(e) {
259
- var _formRef$current6;
260
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 ? void 0 : _formRef$current6.getFieldsValue();
260
+ var _formRef$current7, _formRef$current7$get;
261
+ var formValue = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current7 = formRef.current) === null || _formRef$current7 === void 0 ? void 0 : (_formRef$current7$get = _formRef$current7.getFieldsValue) === null || _formRef$current7$get === void 0 ? void 0 : _formRef$current7$get.call(_formRef$current7)) || {};
261
262
  if (rowKey) {
262
263
  formValue = formValue[rowKey] || {};
263
264
  }
@@ -266,28 +267,30 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
266
267
  formValue[textNameProp] = val;
267
268
  setText(val);
268
269
  if (rowKey) {
269
- formRef.current.setFieldsValue(_defineProperty({}, rowKey, formValue));
270
+ var _formRef$current8, _formRef$current8$set;
271
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current8 = formRef.current) === null || _formRef$current8 === void 0 ? void 0 : (_formRef$current8$set = _formRef$current8.setFieldsValue) === null || _formRef$current8$set === void 0 ? void 0 : _formRef$current8$set.call(_formRef$current8, _defineProperty({}, rowKey, formValue));
270
272
  } else {
271
- var _formRef$current7;
272
- (_formRef$current7 = formRef.current) === null || _formRef$current7 === void 0 ? void 0 : _formRef$current7.setFieldsValue(_objectSpread({}, formValue));
273
+ var _formRef$current9, _formRef$current9$set;
274
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current9 = formRef.current) === null || _formRef$current9 === void 0 ? void 0 : (_formRef$current9$set = _formRef$current9.setFieldsValue) === null || _formRef$current9$set === void 0 ? void 0 : _formRef$current9$set.call(_formRef$current9, _objectSpread({}, formValue));
273
275
  }
274
276
  };
275
277
  // 当表单重置或点clear时,处理值
276
278
  var clearValue = function clearValue(e) {
277
279
  if (!e.target.value) {
278
- var _formRef$current8;
280
+ var _formRef$current10, _formRef$current10$ge;
279
281
  setText('');
280
- var formValue = formRef === null || formRef === void 0 ? void 0 : (_formRef$current8 = formRef.current) === null || _formRef$current8 === void 0 ? void 0 : _formRef$current8.getFieldsValue();
282
+ var formValue = (formRef === null || formRef === void 0 ? void 0 : (_formRef$current10 = formRef.current) === null || _formRef$current10 === void 0 ? void 0 : (_formRef$current10$ge = _formRef$current10.getFieldsValue) === null || _formRef$current10$ge === void 0 ? void 0 : _formRef$current10$ge.call(_formRef$current10)) || {};
281
283
  if (rowKey) {
282
284
  formValue = formValue[rowKey] || {};
283
285
  }
284
286
  formValue[name] = '';
285
287
  formValue[textNameProp] = '';
286
288
  if (rowKey) {
287
- formRef.current.setFieldsValue(_defineProperty({}, rowKey, formValue));
289
+ var _formRef$current11, _formRef$current11$se;
290
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current11 = formRef.current) === null || _formRef$current11 === void 0 ? void 0 : (_formRef$current11$se = _formRef$current11.setFieldsValue) === null || _formRef$current11$se === void 0 ? void 0 : _formRef$current11$se.call(_formRef$current11, _defineProperty({}, rowKey, formValue));
288
291
  } else {
289
- var _formRef$current9;
290
- (_formRef$current9 = formRef.current) === null || _formRef$current9 === void 0 ? void 0 : _formRef$current9.setFieldsValue(_objectSpread({}, formValue));
292
+ var _formRef$current12, _formRef$current12$se;
293
+ formRef === null || formRef === void 0 ? void 0 : (_formRef$current12 = formRef.current) === null || _formRef$current12 === void 0 ? void 0 : (_formRef$current12$se = _formRef$current12.setFieldsValue) === null || _formRef$current12$se === void 0 ? void 0 : _formRef$current12$se.call(_formRef$current12, _objectSpread({}, formValue));
291
294
  }
292
295
  }
293
296
  };
@@ -1,224 +1,241 @@
1
- .ant-timeline-item-tail {
2
- border-left: 2px dotted var(--ant-primary-color);
3
- }
4
-
5
- .ant-timeline-item-head-blue {
6
- background: var(--ant-primary-color);
7
- }
8
-
9
- .ant-row {
10
- width: 100%;
11
- }
12
-
13
- .ant-popover {
14
- max-width: min-content !important;
15
- }
16
-
17
-
18
-
19
- .ant-input-has-value:hover {
20
- .ant-input-clear-icon {
21
- visibility: visible;
22
- }
23
- }
24
-
25
- .ant-modal-confirm-body {
26
- .ant-modal-confirm-content {
27
- max-height: 60vh;
28
- overflow : auto;
29
- }
30
- }
31
-
32
- .ant-message-notice-content {
33
- border-radius: 4px !important;
34
- }
35
-
36
- .ant-modal-content {
37
- border-radius: 8px !important;
38
-
39
- .ant-modal-header {
40
- border-radius: 8px 8px 0 0 !important;
41
- }
42
- }
43
-
44
- .ant-input-number,
45
- .ant-input-affix-wrapper,
46
- .ant-picker,
47
- .ant-select-selector {
48
- border-radius: 4px !important;
49
- }
50
-
51
- .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
52
- border-top-right-radius : 0 !important;
53
- border-bottom-right-radius: 0 !important;
54
- }
55
-
56
- .ant-picker-range-separator {
57
- padding: 0 2px !important;
58
-
59
- .ant-picker-separator {
60
- font-size: 14px;
61
- }
62
- }
63
-
64
-
65
- .ant-btn {
66
- height : 32px;
67
- background-color: #E6F4FF;
68
- border-color : transparent;
69
- color : var(--ant-primary-color);
70
- border-radius : 4px;
71
-
72
- &.ant-btn-lg {
73
- height: 40px
74
- }
75
-
76
- &:hover,
77
- &:focus {
78
- background-color: #B5DBFF;
79
- border-color : transparent;
80
- color : var(--ant-primary-color);
81
- }
82
-
83
- &:active {
84
- background-color: #BDDFFF;
85
- border-color : transparent;
86
- color : var(--ant-primary-color);
87
- }
88
-
89
- &[disabled],
90
- &[disabled]:hover,
91
- &[disabled]:focus,
92
- &[disabled]:active {
93
- background-color: #EAEEF2;
94
- border-color : transparent;
95
- color : #D9D9D9;
96
- }
97
- }
98
-
99
- .ant-btn-primary {
100
- background-color: var(--ant-primary-color);
101
- border-color : transparent;
102
- color : #fff;
103
-
104
- &:hover,
105
- &:focus {
106
- background-color: var(--ant-primary-color-hover);
107
- border-color : transparent;
108
- color : #fff;
109
- }
110
-
111
- &:active {
112
- background-color: var(--ant-primary-color-active);
113
- border-color : transparent;
114
- color : #fff;
115
- }
116
-
117
- &[disabled],
118
- &[disabled]:hover,
119
- &[disabled]:focus,
120
- &[disabled]:active {
121
- background-color: rgba(24, 105, 237, 0.4);
122
- border-color : transparent;
123
- color : #fff;
124
- }
125
- }
126
-
127
- .ant-btn-dangerous {
128
- background-color: #FFCCC7;
129
- border-color : transparent;
130
- color : #F5222D;
131
-
132
- &:hover,
133
- &:focus {
134
- background-color: #FFF1F0;
135
- border-color : transparent;
136
- color : #F5222D;
137
- }
138
-
139
- &:active {
140
- background-color: #FFA39E;
141
- border-color : transparent;
142
- color : #F5222D;
143
- }
144
-
145
- &[disabled],
146
- &[disabled]:hover,
147
- &[disabled]:focus,
148
- &[disabled]:active {
149
- background-color: #FFCCC7;
150
- border-color : transparent;
151
- color : #FFA39E;
152
- }
153
- }
154
-
155
- .ant-btn-link {
156
- background-color: transparent;
157
- border-color : transparent;
158
- color : var(--ant-primary-color);
159
- padding : 4px 8px;
160
-
161
- &[disabled],
162
- &[disabled]:hover,
163
- &[disabled]:focus,
164
- &[disabled]:active,
165
- &:hover,
166
- &:focus,
167
- &:active {
168
- background-color: transparent;
169
- border-color : transparent;
170
- }
171
-
172
- &:hover,
173
- &:focus {
174
- color: var(--ant-primary-color-hover);
175
- }
176
-
177
- &:active {
178
- color: var(--ant-primary-color-active);
179
- }
180
-
181
- &[disabled],
182
- &[disabled]:hover,
183
- &[disabled]:focus,
184
- &[disabled]:active {
185
- color: #A7B5CC;
186
- }
187
- }
188
-
189
- .ant-btn-text {
190
- background-color: transparent;
191
- border-color : transparent;
192
- color : #8C8C8C;
193
- padding : 4px 8px;
194
-
195
- &[disabled],
196
- &[disabled]:hover,
197
- &[disabled]:focus,
198
- &[disabled]:active,
199
- &:hover,
200
- &:focus,
201
- &:active {
202
- background-color: transparent;
203
- border-color : transparent;
204
-
205
- }
206
-
207
- &:hover,
208
- &:active,
209
- &:focus {
210
- color: var(--ant-primary-color-hover);
211
- }
212
-
213
- &[disabled],
214
- &[disabled]:hover,
215
- &[disabled]:focus,
216
- &[disabled]:active {
217
- color: #d9d9d9;
218
- }
219
- }
220
-
221
- .ant-checkbox-checked::after {
222
- animation : none !important;
223
- animation-fill-mode: none !important;
1
+ .ant-timeline-item-tail {
2
+ border-left: 2px dotted var(--ant-primary-color);
3
+ }
4
+
5
+ .ant-timeline-item-head-blue {
6
+ background: var(--ant-primary-color);
7
+ }
8
+
9
+ .ant-row {
10
+ width: 100%;
11
+ }
12
+
13
+ .ant-popover {
14
+ max-width: min-content !important;
15
+ }
16
+
17
+
18
+
19
+ .ant-input-has-value:hover {
20
+ .ant-input-clear-icon {
21
+ visibility: visible;
22
+ }
23
+ }
24
+
25
+ .ant-modal-confirm-body {
26
+ .ant-modal-confirm-content {
27
+ max-height: 60vh;
28
+ overflow : auto;
29
+ }
30
+ }
31
+
32
+ .ant-message-notice-content {
33
+ border-radius: 4px !important;
34
+ }
35
+
36
+ .ant-modal-content {
37
+ border-radius: 8px !important;
38
+
39
+ .ant-modal-header {
40
+ border-radius: 8px 8px 0 0 !important;
41
+ }
42
+ }
43
+
44
+ .ant-input-number,
45
+ .ant-input-affix-wrapper,
46
+ .ant-picker,
47
+ .ant-select-selector {
48
+ border-radius: 4px !important;
49
+ }
50
+
51
+ .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
52
+ border-top-right-radius : 0 !important;
53
+ border-bottom-right-radius: 0 !important;
54
+ }
55
+
56
+ .ant-picker-range-separator {
57
+ padding: 0 2px !important;
58
+
59
+ .ant-picker-separator {
60
+ font-size: 14px;
61
+ }
62
+ }
63
+
64
+
65
+ .ant-btn {
66
+ height : 32px;
67
+ background-color: var(--ant-primary-1);
68
+ border-color : transparent;
69
+ color : var(--ant-primary-color);
70
+ border-radius : 4px;
71
+
72
+ &.ant-btn-lg {
73
+ height: 40px
74
+ }
75
+
76
+ &:hover,
77
+ &:focus {
78
+ background-color: var(--ant-primary-2);
79
+ border-color : transparent;
80
+ color : var(--ant-primary-color);
81
+ }
82
+
83
+ &:active {
84
+ background-color: var(--ant-primary-3);
85
+ border-color : transparent;
86
+ color : var(--ant-primary-color);
87
+ }
88
+
89
+ &[disabled],
90
+ &[disabled]:hover,
91
+ &[disabled]:focus,
92
+ &[disabled]:active {
93
+ background-color: #EAEEF2;
94
+ border-color : transparent;
95
+ color : #D9D9D9;
96
+ }
97
+ }
98
+
99
+ .ant-btn-primary {
100
+ background-color: var(--ant-primary-color);
101
+ border-color : transparent;
102
+ color : #fff;
103
+
104
+ &:hover,
105
+ &:focus {
106
+ background-color: var(--ant-primary-color-hover);
107
+ border-color : transparent;
108
+ color : #fff;
109
+ }
110
+
111
+ &:active {
112
+ background-color: var(--ant-primary-color-active);
113
+ border-color : transparent;
114
+ color : #fff;
115
+ }
116
+
117
+ &[disabled],
118
+ &[disabled]:hover,
119
+ &[disabled]:focus,
120
+ &[disabled]:active {
121
+ background-color: rgba(24, 105, 237, 0.4);
122
+ border-color : transparent;
123
+ color : #fff;
124
+ }
125
+ }
126
+
127
+ .ant-btn-dangerous {
128
+ background-color: #FFCCC7;
129
+ border-color : transparent;
130
+ color : #F5222D;
131
+
132
+ &:hover,
133
+ &:focus {
134
+ background-color: #FFF1F0;
135
+ border-color : transparent;
136
+ color : #F5222D;
137
+ }
138
+
139
+ &:active {
140
+ background-color: #FFA39E;
141
+ border-color : transparent;
142
+ color : #F5222D;
143
+ }
144
+
145
+ &[disabled],
146
+ &[disabled]:hover,
147
+ &[disabled]:focus,
148
+ &[disabled]:active {
149
+ background-color: #FFCCC7;
150
+ border-color : transparent;
151
+ color : #FFA39E;
152
+ }
153
+ }
154
+
155
+ .ant-btn-link {
156
+ background-color: transparent;
157
+ border-color : transparent;
158
+ color : var(--ant-primary-color);
159
+ padding : 4px 8px;
160
+
161
+ &[disabled],
162
+ &[disabled]:hover,
163
+ &[disabled]:focus,
164
+ &[disabled]:active,
165
+ &:hover,
166
+ &:focus,
167
+ &:active {
168
+ background-color: transparent;
169
+ border-color : transparent;
170
+ }
171
+
172
+ &:hover,
173
+ &:focus {
174
+ color: var(--ant-primary-color-hover);
175
+ }
176
+
177
+ &:active {
178
+ color: var(--ant-primary-color-active);
179
+ }
180
+
181
+ &[disabled],
182
+ &[disabled]:hover,
183
+ &[disabled]:focus,
184
+ &[disabled]:active {
185
+ color: #A7B5CC;
186
+ }
187
+ }
188
+
189
+ .ant-btn-text {
190
+ background-color: transparent;
191
+ border-color : transparent;
192
+ color : #8C8C8C;
193
+ padding : 4px 8px;
194
+
195
+ &[disabled],
196
+ &[disabled]:hover,
197
+ &[disabled]:focus,
198
+ &[disabled]:active,
199
+ &:hover,
200
+ &:focus,
201
+ &:active {
202
+ background-color: transparent;
203
+ border-color : transparent;
204
+
205
+ }
206
+
207
+ &:hover,
208
+ &:active,
209
+ &:focus {
210
+ color: var(--ant-primary-color-hover);
211
+ }
212
+
213
+ &[disabled],
214
+ &[disabled]:hover,
215
+ &[disabled]:focus,
216
+ &[disabled]:active {
217
+ color: #d9d9d9;
218
+ }
219
+ }
220
+
221
+ .ant-checkbox-checked::after {
222
+ animation : none !important;
223
+ animation-fill-mode: none !important;
224
+ }
225
+
226
+
227
+ .ant-descriptions-item-label {
228
+ color: #8c8c8c !important;
229
+
230
+ .ant-typography {
231
+ color: #8c8c8c;
232
+ }
233
+
234
+ &::after {
235
+ margin-right: 12px !important;
236
+ }
237
+ }
238
+
239
+ .ant-descriptions-item-content {
240
+ color: #1f1f1f !important;
224
241
  }
@@ -164,7 +164,8 @@ body.theme-yellow {
164
164
  // }
165
165
 
166
166
  .dtl-title {
167
- font-size: 14px;
167
+ font-size: 16px;
168
+ font-weight: 700;
168
169
  }
169
170
 
170
171
  .dtl-btns {
@@ -331,15 +332,7 @@ a:hover {
331
332
 
332
333
  .ant-pro-card-header-border {
333
334
  border-bottom: 1px solid #dbeafa;
334
- }
335
-
336
- .ant-descriptions-item-label {
337
- color: #595959;
338
- }
339
-
340
- .ant-descriptions-item-content {
341
- color: #262626;
342
- }
335
+ }
343
336
  }
344
337
 
345
338
  .has-background {