ls-pro-common 3.0.60 → 3.0.62
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/common.css +207 -111
- package/dist/common.js +1 -1
- package/dist/common.min.css +207 -111
- package/dist/common.min.js +1 -1
- package/es/components/InputMultiLine.d.ts +20 -14
- package/es/components/InputMultiLine.js +80 -64
- package/es/components/InputTable.d.ts +40 -38
- package/es/components/InputTable.js +43 -20
- package/es/components/TagCheck.d.ts +2 -0
- package/es/components/TagCheck.js +7 -5
- package/es/components/antd-custom.less +2 -2
- package/es/components/common.less +80 -81
- package/lib/components/InputMultiLine.d.ts +20 -14
- package/lib/components/InputMultiLine.js +80 -64
- package/lib/components/InputTable.d.ts +40 -38
- package/lib/components/InputTable.js +43 -20
- package/lib/components/TagCheck.d.ts +2 -0
- package/lib/components/TagCheck.js +7 -5
- package/lib/components/antd-custom.less +2 -2
- package/lib/components/common.less +80 -81
- package/package.json +3 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
body {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--ant-primary-color: #1869ED;
|
|
2
|
+
--bg-color: #f9fafb;
|
|
3
|
+
--ant-primary-color: #1869ed;
|
|
5
4
|
--ant-primary-color-hover: #418efa;
|
|
6
5
|
--ant-primary-color-active: #0a4cc7;
|
|
7
6
|
--ant-primary-color-outline: rgba(24, 105, 237, 0.4);
|
|
@@ -10,7 +9,7 @@ body {
|
|
|
10
9
|
--ant-primary-3: #94c8ff;
|
|
11
10
|
--ant-primary-4: #6baeff;
|
|
12
11
|
--ant-primary-5: #418efa;
|
|
13
|
-
--ant-primary-6: #
|
|
12
|
+
--ant-primary-6: #1869ed;
|
|
14
13
|
--ant-primary-7: #0a4cc7;
|
|
15
14
|
--ant-primary-color-deprecated-pure: #bed5fa;
|
|
16
15
|
--ant-primary-color-deprecated-l-35: #bed5fa;
|
|
@@ -38,10 +37,9 @@ body {
|
|
|
38
37
|
--ant-warning-color-outline: rgba(250, 173, 20, 0.2);
|
|
39
38
|
--ant-warning-color-deprecated-bg: #fffbe6;
|
|
40
39
|
--ant-warning-color-deprecated-border: #ffe58f;
|
|
41
|
-
--ant-info-color: #
|
|
40
|
+
--ant-info-color: #1869ed;
|
|
42
41
|
--ant-info-color-deprecated-bg: #e6f4ff;
|
|
43
42
|
--ant-info-color-deprecated-border: #94c8ff;
|
|
44
|
-
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
* ::-webkit-scrollbar-thumb {
|
|
@@ -64,7 +62,6 @@ body {
|
|
|
64
62
|
scrollbar-width: thin;
|
|
65
63
|
}
|
|
66
64
|
|
|
67
|
-
|
|
68
65
|
body.theme-yellow {
|
|
69
66
|
--ant-primary-color: #fa8500;
|
|
70
67
|
--ant-primary-color-hover: #ffa229;
|
|
@@ -130,13 +127,13 @@ body.theme-yellow {
|
|
|
130
127
|
.dtl-layout {
|
|
131
128
|
position: absolute;
|
|
132
129
|
top: 0;
|
|
133
|
-
left: 0;
|
|
134
130
|
right: 0;
|
|
135
131
|
bottom: 0;
|
|
136
|
-
|
|
132
|
+
left: 0;
|
|
133
|
+
z-index: 50;
|
|
137
134
|
display: flex;
|
|
138
135
|
flex-direction: column;
|
|
139
|
-
|
|
136
|
+
background: var(--bg-color, #f9fafb);
|
|
140
137
|
|
|
141
138
|
.dtl-header {
|
|
142
139
|
display: flex;
|
|
@@ -144,11 +141,10 @@ body.theme-yellow {
|
|
|
144
141
|
padding: 8px 20px;
|
|
145
142
|
background: #fff;
|
|
146
143
|
|
|
147
|
-
|
|
148
144
|
.dtl-title {
|
|
149
|
-
font-size: 16px;
|
|
150
|
-
font-weight: 700;
|
|
151
145
|
position: relative;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
font-size: 16px;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
150
|
.dtl-btns {
|
|
@@ -158,8 +154,8 @@ body.theme-yellow {
|
|
|
158
154
|
}
|
|
159
155
|
|
|
160
156
|
.dtl-body {
|
|
161
|
-
height: 0;
|
|
162
157
|
flex: 1;
|
|
158
|
+
height: 0;
|
|
163
159
|
overflow: auto;
|
|
164
160
|
}
|
|
165
161
|
|
|
@@ -194,40 +190,40 @@ body.theme-yellow {
|
|
|
194
190
|
.page404 {
|
|
195
191
|
width: 100%;
|
|
196
192
|
height: 100%;
|
|
197
|
-
text-align: center;
|
|
198
193
|
padding-top: 10%;
|
|
199
|
-
font-size: 15px;
|
|
200
|
-
font-weight: 600;
|
|
201
194
|
color: gray;
|
|
195
|
+
font-weight: 600;
|
|
196
|
+
font-size: 15px;
|
|
197
|
+
text-align: center;
|
|
202
198
|
background-color: #fff;
|
|
203
199
|
|
|
204
200
|
img {
|
|
205
|
-
vertical-align: bottom;
|
|
206
201
|
padding-right: 5px;
|
|
202
|
+
vertical-align: bottom;
|
|
207
203
|
}
|
|
208
204
|
}
|
|
209
205
|
|
|
210
206
|
.loading {
|
|
211
|
-
height: 100%;
|
|
212
|
-
width: 100%;
|
|
213
207
|
position: absolute;
|
|
214
208
|
display: flex;
|
|
215
209
|
align-items: center;
|
|
216
210
|
justify-content: center;
|
|
211
|
+
width: 100%;
|
|
212
|
+
height: 100%;
|
|
217
213
|
background: #fff;
|
|
218
214
|
}
|
|
219
215
|
|
|
220
216
|
#myloading {
|
|
221
217
|
position: fixed;
|
|
222
218
|
top: 0;
|
|
223
|
-
left: 0;
|
|
224
|
-
bottom: 0;
|
|
225
219
|
right: 0;
|
|
220
|
+
bottom: 0;
|
|
221
|
+
left: 0;
|
|
226
222
|
z-index: 9999;
|
|
227
223
|
display: flex;
|
|
228
224
|
align-items: center;
|
|
229
|
-
background-color: rgba(226, 227, 231, 0.35);
|
|
230
225
|
justify-content: center;
|
|
226
|
+
background-color: rgba(226, 227, 231, 0.35);
|
|
231
227
|
|
|
232
228
|
.load-text {
|
|
233
229
|
padding: 4px 20px;
|
|
@@ -236,7 +232,6 @@ body.theme-yellow {
|
|
|
236
232
|
}
|
|
237
233
|
}
|
|
238
234
|
|
|
239
|
-
|
|
240
235
|
a {
|
|
241
236
|
color: var(--ant-primary-color);
|
|
242
237
|
}
|
|
@@ -253,23 +248,22 @@ a:hover {
|
|
|
253
248
|
}
|
|
254
249
|
|
|
255
250
|
.ant-upload-select {
|
|
256
|
-
|
|
257
251
|
.img-wrapper {
|
|
258
252
|
position: relative;
|
|
259
253
|
|
|
260
254
|
.clear-btn {
|
|
261
255
|
position: absolute;
|
|
262
|
-
left: 0;
|
|
263
256
|
top: 0;
|
|
264
|
-
|
|
265
|
-
height: 100%;
|
|
266
|
-
background: rgba(199, 202, 212, 0.9);
|
|
257
|
+
left: 0;
|
|
267
258
|
display: flex;
|
|
259
|
+
display: none;
|
|
268
260
|
align-items: flex-start;
|
|
261
|
+
justify-content: end;
|
|
262
|
+
width: 100%;
|
|
263
|
+
height: 100%;
|
|
269
264
|
padding: 4px;
|
|
270
265
|
color: #1f4265;
|
|
271
|
-
|
|
272
|
-
display: none;
|
|
266
|
+
background: rgba(199, 202, 212, 0.9);
|
|
273
267
|
}
|
|
274
268
|
|
|
275
269
|
&:hover {
|
|
@@ -285,27 +279,23 @@ a:hover {
|
|
|
285
279
|
}
|
|
286
280
|
}
|
|
287
281
|
|
|
288
|
-
|
|
289
|
-
|
|
290
282
|
.img-choose {
|
|
291
283
|
margin: 8px 0;
|
|
292
284
|
}
|
|
293
285
|
|
|
294
286
|
.img-desc {
|
|
295
|
-
color: rgba(69, 77, 100, 0.7)
|
|
287
|
+
color: rgba(69, 77, 100, 0.7);
|
|
296
288
|
}
|
|
297
289
|
|
|
298
290
|
.ant-modal-body {
|
|
299
|
-
padding: 8px;
|
|
300
291
|
max-height: calc(100vh - 180px);
|
|
292
|
+
padding: 8px;
|
|
301
293
|
overflow-y: auto;
|
|
302
294
|
}
|
|
303
295
|
}
|
|
304
296
|
|
|
305
|
-
|
|
306
297
|
.description-card {
|
|
307
|
-
|
|
308
|
-
border: solid 1px #EAEEF2;
|
|
298
|
+
border: solid 1px #eaeef2;
|
|
309
299
|
|
|
310
300
|
&.ant-pro-card {
|
|
311
301
|
box-shadow: none;
|
|
@@ -314,18 +304,18 @@ a:hover {
|
|
|
314
304
|
.btn-expand {
|
|
315
305
|
margin: auto;
|
|
316
306
|
margin-left: 20px;
|
|
307
|
+
color: #8c8c8c;
|
|
317
308
|
font-size: 13px;
|
|
318
|
-
color: #8C8C8C;
|
|
319
309
|
|
|
320
310
|
:hover {
|
|
321
|
-
color: var(--ant-primary-color)
|
|
311
|
+
color: var(--ant-primary-color);
|
|
322
312
|
}
|
|
323
313
|
}
|
|
324
314
|
|
|
325
315
|
.ant-pro-card-header {
|
|
326
316
|
height: 38px;
|
|
327
317
|
padding: 12px;
|
|
328
|
-
background-color: #
|
|
318
|
+
background-color: #f4f7fd;
|
|
329
319
|
border-radius: 8px 8px 0 0;
|
|
330
320
|
}
|
|
331
321
|
|
|
@@ -334,28 +324,26 @@ a:hover {
|
|
|
334
324
|
}
|
|
335
325
|
|
|
336
326
|
.ant-pro-card-header-border {
|
|
337
|
-
border-bottom: 1px solid #
|
|
327
|
+
border-bottom: 1px solid #eaeef2;
|
|
338
328
|
}
|
|
339
329
|
|
|
340
|
-
.ant-descriptions-row>td,
|
|
341
|
-
.ant-descriptions-row>th {
|
|
342
|
-
padding-bottom: 12px
|
|
330
|
+
.ant-descriptions-row > td,
|
|
331
|
+
.ant-descriptions-row > th {
|
|
332
|
+
padding-bottom: 12px;
|
|
343
333
|
}
|
|
344
|
-
|
|
345
334
|
}
|
|
346
335
|
|
|
347
336
|
.has-background {
|
|
348
337
|
background: #f6fafe;
|
|
349
338
|
}
|
|
350
339
|
|
|
351
|
-
|
|
352
340
|
.ls-group-tip {
|
|
353
|
-
display: flex;
|
|
354
341
|
position: relative;
|
|
355
|
-
|
|
342
|
+
display: flex;
|
|
356
343
|
align-items: center;
|
|
357
|
-
|
|
344
|
+
width: 100%;
|
|
358
345
|
padding-bottom: 12px;
|
|
346
|
+
background: #fff;
|
|
359
347
|
|
|
360
348
|
.ls-group-divider {
|
|
361
349
|
height: 14px;
|
|
@@ -363,9 +351,9 @@ a:hover {
|
|
|
363
351
|
}
|
|
364
352
|
|
|
365
353
|
.ls-group-text {
|
|
366
|
-
font-size: 14px;
|
|
367
|
-
color: #181818;
|
|
368
354
|
padding-left: 8px;
|
|
355
|
+
color: #181818;
|
|
356
|
+
font-size: 14px;
|
|
369
357
|
}
|
|
370
358
|
}
|
|
371
359
|
|
|
@@ -375,29 +363,29 @@ a:hover {
|
|
|
375
363
|
gap: 5px;
|
|
376
364
|
|
|
377
365
|
.ant-tag-checkable {
|
|
366
|
+
position: relative;
|
|
367
|
+
margin-right: 0px;
|
|
378
368
|
background-color: #efefef;
|
|
379
369
|
border-color: #efefef;
|
|
380
|
-
margin-right: 0px;
|
|
381
|
-
position: relative;
|
|
382
370
|
}
|
|
383
371
|
|
|
384
372
|
.ant-tag-checkable-checked {
|
|
385
|
-
border-color: var(--ant-primary-color);
|
|
386
373
|
color: var(--ant-primary-color);
|
|
387
374
|
background-color: var(--ant-primary-1);
|
|
375
|
+
border-color: var(--ant-primary-color);
|
|
388
376
|
|
|
389
377
|
&::after {
|
|
390
|
-
content: '';
|
|
391
378
|
position: absolute;
|
|
392
|
-
width: 0;
|
|
393
|
-
height: 0;
|
|
394
379
|
right: 0;
|
|
395
380
|
bottom: 0;
|
|
396
|
-
|
|
397
|
-
|
|
381
|
+
width: 0;
|
|
382
|
+
height: 0;
|
|
398
383
|
border-color: transparent;
|
|
384
|
+
border-style: solid;
|
|
385
|
+
border-width: 4px;
|
|
399
386
|
border-right-color: var(--ant-primary-color);
|
|
400
387
|
border-bottom-color: var(--ant-primary-color);
|
|
388
|
+
content: '';
|
|
401
389
|
}
|
|
402
390
|
}
|
|
403
391
|
}
|
|
@@ -410,42 +398,54 @@ a:hover {
|
|
|
410
398
|
|
|
411
399
|
.ls-input-table {
|
|
412
400
|
.ant-pro-table-search {
|
|
413
|
-
|
|
401
|
+
margin-bottom: 0 !important;
|
|
414
402
|
padding: 0 !important;
|
|
403
|
+
border-bottom: 1px solid #e7e8e9;
|
|
404
|
+
border-radius: 0px !important;
|
|
405
|
+
box-shadow: none !important;
|
|
415
406
|
}
|
|
416
407
|
|
|
417
408
|
.ant-pro-table-list-toolbar {
|
|
418
|
-
|
|
419
|
-
|
|
409
|
+
min-height: 35px;
|
|
410
|
+
padding: 0 !important;
|
|
411
|
+
line-height: 35px;
|
|
412
|
+
.ant-pro-table-list-toolbar-container {
|
|
413
|
+
padding-bottom: 0 !important;
|
|
414
|
+
}
|
|
415
|
+
.ant-pro-table-list-toolbar-title {
|
|
416
|
+
font-size: 14px !important;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
.ant-form:not(.ant-form-large, .ant-form-sm) .ant-form-item {
|
|
420
|
+
margin-bottom: 6px !important;
|
|
420
421
|
}
|
|
421
422
|
}
|
|
422
423
|
|
|
423
|
-
|
|
424
424
|
//-------------------省市区组件样式-----------
|
|
425
425
|
//最外层盒子
|
|
426
426
|
.ls-area-cascaded-box {
|
|
427
|
-
width: 600px;
|
|
428
427
|
display: flex;
|
|
429
428
|
flex-direction: column;
|
|
429
|
+
width: 600px;
|
|
430
430
|
transition: all 0.3s;
|
|
431
431
|
|
|
432
432
|
.ls-area-cascaded-header {
|
|
433
|
-
width: 100%;
|
|
434
|
-
padding: 2px 0 6px;
|
|
435
|
-
border-bottom: 1px solid #f0f0f0;
|
|
436
433
|
display: flex;
|
|
437
434
|
flex-direction: row;
|
|
438
435
|
justify-content: space-around;
|
|
439
436
|
justify-content: center;
|
|
437
|
+
width: 100%;
|
|
438
|
+
padding: 2px 0 6px;
|
|
439
|
+
border-bottom: 1px solid #f0f0f0;
|
|
440
440
|
|
|
441
441
|
.ls-word-box-display {
|
|
442
442
|
margin: 0 10px;
|
|
443
|
-
font-size: 14px;
|
|
444
443
|
font-weight: 100;
|
|
444
|
+
font-size: 14px;
|
|
445
445
|
|
|
446
446
|
button {
|
|
447
|
-
border: none;
|
|
448
447
|
background-color: var(--ant-primary-2, #f0f9ff);
|
|
448
|
+
border: none;
|
|
449
449
|
|
|
450
450
|
&[disabled] {
|
|
451
451
|
background-color: #fafafa !important;
|
|
@@ -459,8 +459,8 @@ a:hover {
|
|
|
459
459
|
|
|
460
460
|
.ls-myself-select-title-style {
|
|
461
461
|
color: var(--ant-primary-color, rgb(69, 154, 220));
|
|
462
|
-
font-size: 14px;
|
|
463
462
|
font-weight: 600;
|
|
463
|
+
font-size: 14px;
|
|
464
464
|
transition: all 0.3s;
|
|
465
465
|
}
|
|
466
466
|
}
|
|
@@ -472,26 +472,26 @@ a:hover {
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
.ls-area-cascaded-body {
|
|
475
|
-
width: 100%;
|
|
476
|
-
min-height: 100px;
|
|
477
|
-
max-height: 350px;
|
|
478
|
-
overflow: auto;
|
|
479
|
-
padding: 8px 12px 4px;
|
|
480
475
|
display: grid;
|
|
481
476
|
grid-template-columns: repeat(4, 1fr);
|
|
482
477
|
gap: 4px;
|
|
483
|
-
justify-content: start;
|
|
484
478
|
align-content: flex-start;
|
|
485
479
|
align-items: center;
|
|
480
|
+
justify-content: start;
|
|
481
|
+
width: 100%;
|
|
482
|
+
min-height: 100px;
|
|
483
|
+
max-height: 350px;
|
|
484
|
+
padding: 8px 12px 4px;
|
|
485
|
+
overflow: auto;
|
|
486
486
|
|
|
487
487
|
.ls-area-cascaded-span {
|
|
488
|
-
text-align: center;
|
|
489
488
|
padding: 6px 10px;
|
|
490
489
|
|
|
491
490
|
//文字不换行,超出省略
|
|
492
491
|
overflow: hidden;
|
|
493
|
-
text-overflow: ellipsis;
|
|
494
492
|
white-space: nowrap;
|
|
493
|
+
text-align: center;
|
|
494
|
+
text-overflow: ellipsis;
|
|
495
495
|
cursor: pointer;
|
|
496
496
|
|
|
497
497
|
&.ls-area-selected,
|
|
@@ -510,7 +510,6 @@ a:hover {
|
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
|
|
514
513
|
@import url('./antd-custom.less');
|
|
515
514
|
|
|
516
|
-
//-------------------省市区组件样式-----------
|
|
515
|
+
//-------------------省市区组件样式-----------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ls-pro-common",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.62",
|
|
4
4
|
"description": "ls-pro-common",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ant-design/icons": "^4.3.0",
|
|
24
|
-
"ls-pro-table": "^3.0.
|
|
25
|
-
"ls-pro-form": "^3.0.
|
|
24
|
+
"ls-pro-table": "^3.0.44",
|
|
25
|
+
"ls-pro-form": "^3.0.18",
|
|
26
26
|
"ls-pro-field": "^3.0.6",
|
|
27
27
|
"ls-pro-descriptions": "^3.0.1",
|
|
28
28
|
"ls-pro-card": "^3.0.3",
|